Api-Roll 58: 2017-12-04 (#27)
diff --git a/generated/googleapis/CHANGELOG.md b/generated/googleapis/CHANGELOG.md
index 2e7a97e..3ece7df 100644
--- a/generated/googleapis/CHANGELOG.md
+++ b/generated/googleapis/CHANGELOG.md
@@ -1,3 +1,23 @@
+## 0.47.1
+
+* [api-new] oslogin:v1
+* [api-new] poly:v1
+* [api-new] serviceconsumermanagement:v1
+* [api] admin:directory_v1
+* [api] androidenterprise:v1
+* [api] androidmanagement:v1
+* [api] appengine:v1
+* [api] cloudbuild:v1
+* [api] content:v2
+* [api] content:v2sandbox
+* [api] fusiontables:v2
+* [api] ml:v1
+* [api] monitoring:v3
+* [api] pubsub:v1
+* [api] slides:v1
+* [api] speech:v1
+* [api] youtube:v3
+
## 0.47.0
* [api-new] dfareporting:v3_0
diff --git a/generated/googleapis/README.md b/generated/googleapis/README.md
index b4bb1f7..30404c3 100644
--- a/generated/googleapis/README.md
+++ b/generated/googleapis/README.md
@@ -542,6 +542,12 @@
Official API documentation: https://developers.google.com/accounts/docs/OAuth2
+####  Google Cloud OS Login API - oslogin v1
+
+Manages OS login configuration for Google account users.
+
+Official API documentation: https://cloud.google.com/compute/docs/oslogin/rest/
+
####  PageSpeed Insights API - pagespeedonline v1
Analyzes the performance of a web page and provides tailored suggestions to make that page faster.
@@ -584,6 +590,13 @@
Official API documentation: https://developers.google.com/+/domains/
+####  Poly API - poly v1
+
+The Poly API provides read-only access to assets hosted on <a href="https://poly.google.com">poly.google.com</a>.
+
+
+Official API documentation: https://devsite.googleplex.com/poly/
+
####  Prediction API - prediction v1.6
Lets you access a cloud hosted machine learning service that makes it easy to build smart apps
@@ -627,6 +640,12 @@
Official API documentation: https://developers.google.com/webmaster-tools/search-console-api/
+####  Service Consumer Management API - serviceconsumermanagement v1
+
+Provides management methods for configuring service producer resources on Google Cloud.
+
+Official API documentation: https://cloud.google.com/service-consumer-management/docs/overview
+
####  Google Service Control API - servicecontrol v1
Google Service Control provides control plane functionality to managed services, such as logging, monitoring, and status checks.
diff --git a/generated/googleapis/lib/admin/directory_v1.dart b/generated/googleapis/lib/admin/directory_v1.dart
index 73044d4..d50e6b5 100644
--- a/generated/googleapis/lib/admin/directory_v1.dart
+++ b/generated/googleapis/lib/admin/directory_v1.dart
@@ -507,7 +507,7 @@
/// - "status" : Chromebook status.
/// - "supportEndDate" : Chromebook support end date.
///
- /// [orgUnitPath] - Full path of the organization unit or its Id
+ /// [orgUnitPath] - Full path of the organizational unit or its ID
///
/// [pageToken] - Token to specify next page in the list
///
@@ -593,7 +593,7 @@
return _response.then((data) => new ChromeOsDevices.fromJson(data));
}
- /// Move or insert multiple Chrome OS Devices to Organization Unit
+ /// Move or insert multiple Chrome OS Devices to organizational unit
///
/// [request] - The metadata request object.
///
@@ -601,7 +601,7 @@
///
/// [customerId] - Immutable ID of the G Suite account
///
- /// [orgUnitPath] - Full path of the target organization unit or its Id
+ /// [orgUnitPath] - Full path of the target organizational unit or its ID
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1349,7 +1349,7 @@
///
/// Request parameters:
///
- /// [groupKey] - Email or immutable Id of the group
+ /// [groupKey] - Email or immutable ID of the group
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1391,7 +1391,7 @@
///
/// Request parameters:
///
- /// [groupKey] - Email or immutable Id of the group
+ /// [groupKey] - Email or immutable ID of the group
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1486,8 +1486,8 @@
///
/// [pageToken] - Token to specify next page in the list
///
- /// [userKey] - Email or immutable Id of the user if only those groups are to
- /// be listed, the given user is a member of. If Id, it should match with id
+ /// [userKey] - Email or immutable ID of the user if only those groups are to
+ /// be listed, the given user is a member of. If ID, it should match with id
/// of user object
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -1550,7 +1550,7 @@
///
/// Request parameters:
///
- /// [groupKey] - Email or immutable Id of the group. If Id, it should match
+ /// [groupKey] - Email or immutable ID of the group. If ID, it should match
/// with id of group object
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -1599,7 +1599,7 @@
///
/// Request parameters:
///
- /// [groupKey] - Email or immutable Id of the group. If Id, it should match
+ /// [groupKey] - Email or immutable ID of the group. If ID, it should match
/// with id of group object
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -1652,7 +1652,7 @@
///
/// Request parameters:
///
- /// [groupKey] - Email or immutable Id of the group
+ /// [groupKey] - Email or immutable ID of the group
///
/// [alias] - The alias to be removed
///
@@ -1705,7 +1705,7 @@
///
/// Request parameters:
///
- /// [groupKey] - Email or immutable Id of the group
+ /// [groupKey] - Email or immutable ID of the group
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1751,7 +1751,7 @@
///
/// Request parameters:
///
- /// [groupKey] - Email or immutable Id of the group
+ /// [groupKey] - Email or immutable ID of the group
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1799,9 +1799,9 @@
///
/// Request parameters:
///
- /// [groupKey] - Email or immutable Id of the group
+ /// [groupKey] - Email or immutable ID of the group
///
- /// [memberKey] - Email or immutable Id of the member
+ /// [memberKey] - Email or immutable ID of the member
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1850,9 +1850,9 @@
///
/// Request parameters:
///
- /// [groupKey] - Email or immutable Id of the group
+ /// [groupKey] - Email or immutable ID of the group
///
- /// [memberKey] - Email or immutable Id of the member
+ /// [memberKey] - Email or immutable ID of the member
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1897,13 +1897,65 @@
return _response.then((data) => new Member.fromJson(data));
}
+ /// Checks Membership of an user within a Group
+ ///
+ /// Request parameters:
+ ///
+ /// [groupKey] - Email or immutable Id of the group
+ ///
+ /// [memberKey] - Email or immutable Id of the member
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [MembersHasMember].
+ ///
+ /// 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<MembersHasMember> hasMember(
+ core.String groupKey, core.String memberKey,
+ {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (groupKey == null) {
+ throw new core.ArgumentError("Parameter groupKey is required.");
+ }
+ if (memberKey == null) {
+ throw new core.ArgumentError("Parameter memberKey is required.");
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'groups/' +
+ commons.Escaper.ecapeVariable('$groupKey') +
+ '/hasMember/' +
+ commons.Escaper.ecapeVariable('$memberKey');
+
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new MembersHasMember.fromJson(data));
+ }
+
/// Add user to the specified group.
///
/// [request] - The metadata request object.
///
/// Request parameters:
///
- /// [groupKey] - Email or immutable Id of the group
+ /// [groupKey] - Email or immutable ID of the group
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1949,7 +2001,7 @@
///
/// Request parameters:
///
- /// [groupKey] - Email or immutable Id of the group
+ /// [groupKey] - Email or immutable ID of the group
///
/// [maxResults] - Maximum number of results to return. Default is 200
///
@@ -2013,10 +2065,10 @@
///
/// Request parameters:
///
- /// [groupKey] - Email or immutable Id of the group. If Id, it should match
+ /// [groupKey] - Email or immutable ID of the group. If ID, it should match
/// with id of group object
///
- /// [memberKey] - Email or immutable Id of the user. If Id, it should match
+ /// [memberKey] - Email or immutable ID of the user. If ID, it should match
/// with id of member object
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -2072,10 +2124,10 @@
///
/// Request parameters:
///
- /// [groupKey] - Email or immutable Id of the group. If Id, it should match
+ /// [groupKey] - Email or immutable ID of the group. If ID, it should match
/// with id of group object
///
- /// [memberKey] - Email or immutable Id of the user. If Id, it should match
+ /// [memberKey] - Email or immutable ID of the user. If ID, it should match
/// with id of member object
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -2695,13 +2747,13 @@
OrgunitsResourceApi(commons.ApiRequester client) : _requester = client;
- /// Remove Organization Unit
+ /// Remove organizational unit
///
/// Request parameters:
///
/// [customerId] - Immutable ID of the G Suite account
///
- /// [orgUnitPath] - Full path of the organization unit or its Id
+ /// [orgUnitPath] - Full path of the organizational unit or its ID
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2750,13 +2802,13 @@
return _response.then((data) => null);
}
- /// Retrieve Organization Unit
+ /// Retrieve organizational unit
///
/// Request parameters:
///
/// [customerId] - Immutable ID of the G Suite account
///
- /// [orgUnitPath] - Full path of the organization unit or its Id
+ /// [orgUnitPath] - Full path of the organizational unit or its ID
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2805,7 +2857,7 @@
return _response.then((data) => new OrgUnit.fromJson(data));
}
- /// Add Organization Unit
+ /// Add organizational unit
///
/// [request] - The metadata request object.
///
@@ -2855,18 +2907,18 @@
return _response.then((data) => new OrgUnit.fromJson(data));
}
- /// Retrieve all Organization Units
+ /// Retrieve all organizational units
///
/// Request parameters:
///
/// [customerId] - Immutable ID of the G Suite account
///
- /// [orgUnitPath] - the URL-encoded organization unit's path or its Id
+ /// [orgUnitPath] - the URL-encoded organizational unit's path or its ID
///
/// [type] - Whether to return all sub-organizations or just immediate
/// children
/// Possible string values are:
- /// - "all" : All sub-organization units.
+ /// - "all" : All sub-organizational units.
/// - "children" : Immediate children only (default).
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -2914,7 +2966,7 @@
return _response.then((data) => new OrgUnits.fromJson(data));
}
- /// Update Organization Unit. This method supports patch semantics.
+ /// Update organizational unit. This method supports patch semantics.
///
/// [request] - The metadata request object.
///
@@ -2922,7 +2974,7 @@
///
/// [customerId] - Immutable ID of the G Suite account
///
- /// [orgUnitPath] - Full path of the organization unit or its Id
+ /// [orgUnitPath] - Full path of the organizational unit or its ID
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2974,7 +3026,7 @@
return _response.then((data) => new OrgUnit.fromJson(data));
}
- /// Update Organization Unit
+ /// Update organizational unit
///
/// [request] - The metadata request object.
///
@@ -2982,7 +3034,7 @@
///
/// [customerId] - Immutable ID of the G Suite account
///
- /// [orgUnitPath] - Full path of the organization unit or its Id
+ /// [orgUnitPath] - Full path of the organizational unit or its ID
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -4094,7 +4146,7 @@
///
/// [customerId] - Immutable ID of the G Suite account
///
- /// [schemaKey] - Name or immutable Id of the schema
+ /// [schemaKey] - Name or immutable ID of the schema
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -4145,7 +4197,7 @@
///
/// [customerId] - Immutable ID of the G Suite account
///
- /// [schemaKey] - Name or immutable Id of the schema
+ /// [schemaKey] - Name or immutable ID of the schema
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -4290,7 +4342,7 @@
///
/// [customerId] - Immutable ID of the G Suite account
///
- /// [schemaKey] - Name or immutable Id of the schema.
+ /// [schemaKey] - Name or immutable ID of the schema.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -4347,7 +4399,7 @@
///
/// [customerId] - Immutable ID of the G Suite account
///
- /// [schemaKey] - Name or immutable Id of the schema.
+ /// [schemaKey] - Name or immutable ID of the schema.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -4564,7 +4616,7 @@
///
/// Request parameters:
///
- /// [userKey] - Email or immutable Id of the user
+ /// [userKey] - Email or immutable ID of the user
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -4606,7 +4658,7 @@
///
/// Request parameters:
///
- /// [userKey] - Email or immutable Id of the user
+ /// [userKey] - Email or immutable ID 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.
@@ -4861,7 +4913,7 @@
///
/// Request parameters:
///
- /// [userKey] - Email or immutable Id of the user as admin
+ /// [userKey] - Email or immutable ID of the user as admin
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -4909,7 +4961,7 @@
///
/// Request parameters:
///
- /// [userKey] - Email or immutable Id of the user. If Id, it should match with
+ /// [userKey] - Email or immutable ID of the user. If ID, it should match with
/// id of user object
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -5006,7 +5058,7 @@
///
/// Request parameters:
///
- /// [userKey] - Email or immutable Id of the user. If Id, it should match with
+ /// [userKey] - Email or immutable ID of the user. If ID, it should match with
/// id of user object
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -5204,7 +5256,7 @@
///
/// Request parameters:
///
- /// [userKey] - Email or immutable Id of the user
+ /// [userKey] - Email or immutable ID of the user
///
/// [alias] - The alias to be removed
///
@@ -5257,7 +5309,7 @@
///
/// Request parameters:
///
- /// [userKey] - Email or immutable Id of the user
+ /// [userKey] - Email or immutable ID of the user
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -5303,7 +5355,7 @@
///
/// Request parameters:
///
- /// [userKey] - Email or immutable Id of the user
+ /// [userKey] - Email or immutable ID of the user
///
/// [event] - Event on which subscription is intended (if subscribing)
/// Possible string values are:
@@ -5356,7 +5408,7 @@
///
/// Request parameters:
///
- /// [userKey] - Email or immutable Id of the user
+ /// [userKey] - Email or immutable ID of the user
///
/// [event] - Event on which subscription is intended (if subscribing)
/// Possible string values are:
@@ -5417,7 +5469,7 @@
///
/// Request parameters:
///
- /// [userKey] - Email or immutable Id of the user
+ /// [userKey] - Email or immutable ID of the user
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -5461,7 +5513,7 @@
///
/// Request parameters:
///
- /// [userKey] - Email or immutable Id of the user
+ /// [userKey] - Email or immutable ID of the user
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -5507,7 +5559,7 @@
///
/// Request parameters:
///
- /// [userKey] - Email or immutable Id of the user
+ /// [userKey] - Email or immutable ID of the user
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -5557,7 +5609,7 @@
///
/// Request parameters:
///
- /// [userKey] - Email or immutable Id of the user
+ /// [userKey] - Email or immutable ID of the user
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -5612,7 +5664,7 @@
///
/// Request parameters:
///
- /// [userKey] - Email or immutable Id of the user
+ /// [userKey] - Email or immutable ID of the user
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -5656,7 +5708,7 @@
///
/// Request parameters:
///
- /// [userKey] - Email or immutable Id of the user
+ /// [userKey] - Email or immutable ID of the user
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -7446,6 +7498,29 @@
}
}
+/// JSON template for Has Member response in Directory API.
+class MembersHasMember {
+ /// Identifies whether given user is a member or not.
+ core.bool isMember;
+
+ MembersHasMember();
+
+ MembersHasMember.fromJson(core.Map _json) {
+ if (_json.containsKey("isMember")) {
+ isMember = _json["isMember"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (isMember != null) {
+ _json["isMember"] = isMember;
+ }
+ return _json;
+ }
+}
+
class MobileDeviceApplications {
/// Display name of application
core.String displayName;
@@ -10522,6 +10597,9 @@
/// JSON template for a POSIX account entry. Description of the field family:
/// go/fbs-posix.
class UserPosixAccount {
+ /// A POSIX account field identifier. (Read-only)
+ core.String accountId;
+
/// The GECOS (user information) for this account.
core.String gecos;
@@ -10549,6 +10627,9 @@
UserPosixAccount();
UserPosixAccount.fromJson(core.Map _json) {
+ if (_json.containsKey("accountId")) {
+ accountId = _json["accountId"];
+ }
if (_json.containsKey("gecos")) {
gecos = _json["gecos"];
}
@@ -10578,6 +10659,9 @@
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json =
new core.Map<core.String, core.Object>();
+ if (accountId != null) {
+ _json["accountId"] = accountId;
+ }
if (gecos != null) {
_json["gecos"] = gecos;
}
diff --git a/generated/googleapis/lib/androiddeviceprovisioning/v1.dart b/generated/googleapis/lib/androiddeviceprovisioning/v1.dart
index c8c7861..9d2cd75 100644
--- a/generated/googleapis/lib/androiddeviceprovisioning/v1.dart
+++ b/generated/googleapis/lib/androiddeviceprovisioning/v1.dart
@@ -107,7 +107,7 @@
///
/// Request parameters:
///
- /// [parent] - Required. The parent resource ID in format
+ /// [parent] - Required. The parent resource ID in the format
/// `partners/[PARTNER_ID]` that
/// identifies the reseller.
/// Value must have pattern "^partners/[^/]+$".
@@ -691,7 +691,7 @@
/// The section to claim.
/// Possible string values are:
/// - "SECTION_TYPE_UNSPECIFIED" : Unspecified section type.
- /// - "SECTION_TYPE_ZERO_TOUCH" : Zero touch section type.
+ /// - "SECTION_TYPE_ZERO_TOUCH" : Zero-touch enrollment section type.
core.String sectionType;
ClaimDeviceRequest();
@@ -877,25 +877,34 @@
}
}
-/// An Android device.
+/// An Android device registered for zero-touch enrollment.
class Device {
- /// Claims.
+ /// Output only. The provisioning claims for a device. Devices claimed for
+ /// zero-touch enrollment have a claim with the type
+ /// `SECTION_TYPE_ZERO_TOUCH`.
+ /// Call
+ /// `partners.devices.unclaim`
+ /// or
+ /// `partners.devices.unclaimAsync`
+ /// to remove the device from zero-touch enrollment.
core.List<DeviceClaim> claims;
- /// The resource name of the configuration.
- /// Only set for customers.
+ /// Not available to resellers.
core.String configuration;
- /// Device ID.
+ /// Output only. The ID of the device. Assigned by the server.
core.String deviceId;
- /// Device identifier.
+ /// The hardware IDs that identify a manufactured device. To learn more, read
+ /// [Identifiers](/zero-touch/guides/identifiers).
DeviceIdentifier deviceIdentifier;
- /// Device metadata.
+ /// The metadata attached to the device. Structured as key-value pairs. To
+ /// learn more, read [Device metadata](/zero-touch/guides/metadata).
DeviceMetadata deviceMetadata;
- /// Resource name in `partners/[PARTNER_ID]/devices/[DEVICE_ID]`.
+ /// Output only. The API resource name in the format
+ /// `partners/[PARTNER_ID]/devices/[DEVICE_ID]`. Assigned by the server.
core.String name;
Device();
@@ -949,15 +958,18 @@
}
}
-/// Information about a device claimed for a partner.
+/// A record of a device claimed by a reseller for a customer. Devices claimed
+/// for zero-touch enrollment have a claim with the type
+/// `SECTION_TYPE_ZERO_TOUCH`. To learn more, read
+/// [Claim devices for customers](/zero-touch/guides/how-it-works#claim).
class DeviceClaim {
- /// Owner ID.
+ /// The ID of the Customer that purchased the device.
core.String ownerCompanyId;
- /// Section type of the device claim.
+ /// Output only. The type of claim made on the device.
/// Possible string values are:
/// - "SECTION_TYPE_UNSPECIFIED" : Unspecified section type.
- /// - "SECTION_TYPE_ZERO_TOUCH" : Zero touch section type.
+ /// - "SECTION_TYPE_ZERO_TOUCH" : Zero-touch enrollment section type.
core.String sectionType;
DeviceClaim();
@@ -984,20 +996,22 @@
}
}
-/// Identifies a unique device.
+/// Encapsulates hardware and product IDs to identify a manufactured device. To
+/// learn more, read [Identifiers](/zero-touch/guides/identifiers).
class DeviceIdentifier {
- /// IMEI number.
+ /// The device’s IMEI number. Validated on input.
core.String imei;
- /// Manufacturer name to match `android.os.Build.MANUFACTURER` (required).
- /// Allowed values listed in
- /// [manufacturer names](/zero-touch/resources/manufacturer-names).
+ /// Required. The device manufacturer’s name. Matches the device's built-in
+ /// value returned from `android.os.Build.MANUFACTURER`. Allowed values are
+ /// listed in [manufacturer names](/zero-touch/resources/manufacturer-names).
core.String manufacturer;
- /// MEID number.
+ /// The device’s MEID number.
core.String meid;
- /// Serial number (optional).
+ /// The manufacturer's serial number for the device. This value might not be
+ /// unique.
core.String serialNumber;
DeviceIdentifier();
@@ -1036,9 +1050,10 @@
}
}
-/// A key-value pair of the device metadata.
+/// Metadata entries that can be attached to a `Device`. To learn more, read
+/// [Device metadata](/zero-touch/guides/metadata).
class DeviceMetadata {
- /// Metadata entries
+ /// Metadata entries recorded as key-value pairs.
core.Map<core.String, core.String> entries;
DeviceMetadata();
@@ -1254,7 +1269,7 @@
/// The section type.
/// Possible string values are:
/// - "SECTION_TYPE_UNSPECIFIED" : Unspecified section type.
- /// - "SECTION_TYPE_ZERO_TOUCH" : Zero touch section type.
+ /// - "SECTION_TYPE_ZERO_TOUCH" : Zero-touch enrollment section type.
core.String sectionType;
FindDevicesByOwnerRequest();
@@ -1494,7 +1509,7 @@
/// Section type to claim.
/// Possible string values are:
/// - "SECTION_TYPE_UNSPECIFIED" : Unspecified section type.
- /// - "SECTION_TYPE_ZERO_TOUCH" : Zero touch section type.
+ /// - "SECTION_TYPE_ZERO_TOUCH" : Zero-touch enrollment section type.
core.String sectionType;
PartnerClaim();
@@ -1545,7 +1560,7 @@
/// Section type to unclaim.
/// Possible string values are:
/// - "SECTION_TYPE_UNSPECIFIED" : Unspecified section type.
- /// - "SECTION_TYPE_ZERO_TOUCH" : Zero touch section type.
+ /// - "SECTION_TYPE_ZERO_TOUCH" : Zero-touch enrollment section type.
core.String sectionType;
PartnerUnclaim();
@@ -1756,7 +1771,7 @@
/// The section type to unclaim for.
/// Possible string values are:
/// - "SECTION_TYPE_UNSPECIFIED" : Unspecified section type.
- /// - "SECTION_TYPE_ZERO_TOUCH" : Zero touch section type.
+ /// - "SECTION_TYPE_ZERO_TOUCH" : Zero-touch enrollment section type.
core.String sectionType;
UnclaimDeviceRequest();
diff --git a/generated/googleapis/lib/androidenterprise/v1.dart b/generated/googleapis/lib/androidenterprise/v1.dart
index 77320d9..55778be 100644
--- a/generated/googleapis/lib/androidenterprise/v1.dart
+++ b/generated/googleapis/lib/androidenterprise/v1.dart
@@ -37,6 +37,8 @@
new ManagedconfigurationsfordeviceResourceApi(_requester);
ManagedconfigurationsforuserResourceApi get managedconfigurationsforuser =>
new ManagedconfigurationsforuserResourceApi(_requester);
+ ManagedconfigurationssettingsResourceApi get managedconfigurationssettings =>
+ new ManagedconfigurationssettingsResourceApi(_requester);
PermissionsResourceApi get permissions =>
new PermissionsResourceApi(_requester);
ProductsResourceApi get products => new ProductsResourceApi(_requester);
@@ -236,6 +238,79 @@
return _response.then((data) => new DevicesListResponse.fromJson(data));
}
+ /// Updates the device policy. This method supports patch semantics.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [enterpriseId] - The ID of the enterprise.
+ ///
+ /// [userId] - The ID of the user.
+ ///
+ /// [deviceId] - The ID of the device.
+ ///
+ /// [updateMask] - Mask that identifies which fields to update. If not set,
+ /// all modifiable fields will be modified.
+ ///
+ /// When set in a query parameter, this field should be specified as
+ /// updateMask=<field1>,<field2>,...
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [Device].
+ ///
+ /// 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<Device> patch(Device request, core.String enterpriseId,
+ core.String userId, core.String deviceId,
+ {core.String updateMask, core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (enterpriseId == null) {
+ throw new core.ArgumentError("Parameter enterpriseId is required.");
+ }
+ if (userId == null) {
+ throw new core.ArgumentError("Parameter userId is required.");
+ }
+ if (deviceId == null) {
+ throw new core.ArgumentError("Parameter deviceId is required.");
+ }
+ if (updateMask != null) {
+ _queryParams["updateMask"] = [updateMask];
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'enterprises/' +
+ commons.Escaper.ecapeVariable('$enterpriseId') +
+ '/users/' +
+ commons.Escaper.ecapeVariable('$userId') +
+ '/devices/' +
+ commons.Escaper.ecapeVariable('$deviceId');
+
+ var _response = _requester.request(_url, "PATCH",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Device.fromJson(data));
+ }
+
/// Sets whether a device's access to Google services is enabled or disabled.
/// The device state takes effect only if enforcing EMM policies on Android
/// devices is enabled in the Google Admin Console. Otherwise, the device
@@ -304,6 +379,79 @@
downloadOptions: _downloadOptions);
return _response.then((data) => new DeviceState.fromJson(data));
}
+
+ /// Updates the device policy
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [enterpriseId] - The ID of the enterprise.
+ ///
+ /// [userId] - The ID of the user.
+ ///
+ /// [deviceId] - The ID of the device.
+ ///
+ /// [updateMask] - Mask that identifies which fields to update. If not set,
+ /// all modifiable fields will be modified.
+ ///
+ /// When set in a query parameter, this field should be specified as
+ /// updateMask=<field1>,<field2>,...
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [Device].
+ ///
+ /// 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<Device> update(Device request, core.String enterpriseId,
+ core.String userId, core.String deviceId,
+ {core.String updateMask, core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (enterpriseId == null) {
+ throw new core.ArgumentError("Parameter enterpriseId is required.");
+ }
+ if (userId == null) {
+ throw new core.ArgumentError("Parameter userId is required.");
+ }
+ if (deviceId == null) {
+ throw new core.ArgumentError("Parameter deviceId is required.");
+ }
+ if (updateMask != null) {
+ _queryParams["updateMask"] = [updateMask];
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'enterprises/' +
+ commons.Escaper.ecapeVariable('$enterpriseId') +
+ '/users/' +
+ commons.Escaper.ecapeVariable('$userId') +
+ '/devices/' +
+ commons.Escaper.ecapeVariable('$deviceId');
+
+ var _response = _requester.request(_url, "PUT",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Device.fromJson(data));
+ }
}
class EnterprisesResourceApi {
@@ -2632,8 +2780,12 @@
(data) => new ManagedConfigurationsForUserListResponse.fromJson(data));
}
- /// Adds or updates a per-user managed configuration for an app for the
- /// specified user. This method supports patch semantics.
+ /// Adds or updates the managed configuration settings for an app for the
+ /// specified user. If you support the Managed configurations iframe, you can
+ /// apply managed configurations to a user by specifying an mcmId and its
+ /// associated configuration variables (if any) in the request. Alternatively,
+ /// all EMMs can apply managed configurations by passing a list of managed
+ /// properties. This method supports patch semantics.
///
/// [request] - The metadata request object.
///
@@ -2702,8 +2854,12 @@
return _response.then((data) => new ManagedConfiguration.fromJson(data));
}
- /// Adds or updates a per-user managed configuration for an app for the
- /// specified user.
+ /// Adds or updates the managed configuration settings for an app for the
+ /// specified user. If you support the Managed configurations iframe, you can
+ /// apply managed configurations to a user by specifying an mcmId and its
+ /// associated configuration variables (if any) in the request. Alternatively,
+ /// all EMMs can apply managed configurations by passing a list of managed
+ /// properties.
///
/// [request] - The metadata request object.
///
@@ -2773,6 +2929,69 @@
}
}
+class ManagedconfigurationssettingsResourceApi {
+ final commons.ApiRequester _requester;
+
+ ManagedconfigurationssettingsResourceApi(commons.ApiRequester client)
+ : _requester = client;
+
+ /// Lists all the managed configurations settings for the specified app. Only
+ /// the ID and the name is set.
+ ///
+ /// Request parameters:
+ ///
+ /// [enterpriseId] - The ID of the enterprise.
+ ///
+ /// [productId] - The ID of the product for which the managed configurations
+ /// settings applies to.
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [ManagedConfigurationsSettingsListResponse].
+ ///
+ /// 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<ManagedConfigurationsSettingsListResponse> list(
+ core.String enterpriseId, core.String productId,
+ {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (enterpriseId == null) {
+ throw new core.ArgumentError("Parameter enterpriseId is required.");
+ }
+ if (productId == null) {
+ throw new core.ArgumentError("Parameter productId is required.");
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'enterprises/' +
+ commons.Escaper.ecapeVariable('$enterpriseId') +
+ '/products/' +
+ commons.Escaper.ecapeVariable('$productId') +
+ '/managedConfigurationsSettings';
+
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then(
+ (data) => new ManagedConfigurationsSettingsListResponse.fromJson(data));
+ }
+}
+
class PermissionsResourceApi {
final commons.ApiRequester _requester;
@@ -5320,11 +5539,56 @@
}
}
+/// A configuration variables resource contains the managed configuration
+/// settings ID to be applied to a single user, as well as the variable set that
+/// is attributed to the user. The variable set will be used to replace
+/// placeholders in the managed configuration settings.
+class ConfigurationVariables {
+ /// Identifies what kind of resource this is. Value: the fixed string
+ /// "androidenterprise#configurationVariables".
+ core.String kind;
+
+ /// The ID of the managed configurations settings.
+ core.String mcmId;
+
+ /// The variable set that is attributed to the user.
+ core.List<VariableSet> variableSet;
+
+ ConfigurationVariables();
+
+ ConfigurationVariables.fromJson(core.Map _json) {
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("mcmId")) {
+ mcmId = _json["mcmId"];
+ }
+ if (_json.containsKey("variableSet")) {
+ variableSet = _json["variableSet"]
+ .map((value) => new VariableSet.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 (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (mcmId != null) {
+ _json["mcmId"] = mcmId;
+ }
+ if (variableSet != null) {
+ _json["variableSet"] =
+ variableSet.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
/// A Devices resource represents a mobile device managed by the EMM and
/// belonging to a specific enterprise user.
-///
-/// This collection cannot be modified via the API. It is automatically
-/// populated as devices are set up to be managed.
class Device {
/// The Google Play Services Android ID for the device encoded as a lowercase
/// hex string. For example, "123456789abcdef0".
@@ -5349,6 +5613,9 @@
/// Google Play, but the profile is itself not owned by a DPC.
core.String managementType;
+ /// The policy enforced on the device.
+ Policy policy;
+
Device();
Device.fromJson(core.Map _json) {
@@ -5361,6 +5628,9 @@
if (_json.containsKey("managementType")) {
managementType = _json["managementType"];
}
+ if (_json.containsKey("policy")) {
+ policy = new Policy.fromJson(_json["policy"]);
+ }
}
core.Map<core.String, core.Object> toJson() {
@@ -5375,6 +5645,9 @@
if (managementType != null) {
_json["managementType"] = managementType;
}
+ if (policy != null) {
+ _json["policy"] = (policy).toJson();
+ }
return _json;
}
}
@@ -6125,10 +6398,14 @@
}
}
-/// A managed configuration resource contains the set of managed properties that
-/// have been configured for an Android app. The app's developer would have
-/// defined configurable properties in the managed configurations schema.
+/// A managed configuration resource contains the set of managed properties
+/// defined by the app developer in the app's managed configurations schema, as
+/// well as any configuration variables defined for the user.
class ManagedConfiguration {
+ /// Contains the ID of the managed configuration profile and the set of
+ /// configuration variables (if any) defined for the user.
+ ConfigurationVariables configurationVariables;
+
/// Identifies what kind of resource this is. Value: the fixed string
/// "androidenterprise#managedConfiguration".
core.String kind;
@@ -6143,6 +6420,10 @@
ManagedConfiguration();
ManagedConfiguration.fromJson(core.Map _json) {
+ if (_json.containsKey("configurationVariables")) {
+ configurationVariables =
+ new ConfigurationVariables.fromJson(_json["configurationVariables"]);
+ }
if (_json.containsKey("kind")) {
kind = _json["kind"];
}
@@ -6159,6 +6440,9 @@
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json =
new core.Map<core.String, core.Object>();
+ if (configurationVariables != null) {
+ _json["configurationVariables"] = (configurationVariables).toJson();
+ }
if (kind != null) {
_json["kind"] = kind;
}
@@ -6246,6 +6530,101 @@
}
}
+/// A managed configurations settings resource contains the set of managed
+/// properties that have been configured for an Android app to be applied to a
+/// set of users. The app's developer would have defined configurable properties
+/// in the managed configurations schema.
+class ManagedConfigurationsSettings {
+ /// Identifies what kind of resource this is. Value: the fixed string
+ /// "androidenterprise#managedConfigurationsSettings".
+ core.String kind;
+
+ /// The set of managed properties for this configuration.
+ core.List<ManagedProperty> managedProperty;
+
+ /// The ID of the managed configurations settings.
+ core.String mcmId;
+
+ /// The name of the managed configurations settings.
+ core.String name;
+
+ ManagedConfigurationsSettings();
+
+ ManagedConfigurationsSettings.fromJson(core.Map _json) {
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("managedProperty")) {
+ managedProperty = _json["managedProperty"]
+ .map((value) => new ManagedProperty.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("mcmId")) {
+ mcmId = _json["mcmId"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (managedProperty != null) {
+ _json["managedProperty"] =
+ managedProperty.map((value) => (value).toJson()).toList();
+ }
+ if (mcmId != null) {
+ _json["mcmId"] = mcmId;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ return _json;
+ }
+}
+
+/// The managed configurations settings for a product.
+class ManagedConfigurationsSettingsListResponse {
+ /// Identifies what kind of resource this is. Value: the fixed string
+ /// "androidenterprise#managedConfigurationsSettingsListResponse".
+ core.String kind;
+
+ /// A managed configurations settings for an app that may be assigned to a
+ /// group of users in an enterprise.
+ core.List<ManagedConfigurationsSettings> managedConfigurationsSettings;
+
+ ManagedConfigurationsSettingsListResponse();
+
+ ManagedConfigurationsSettingsListResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("managedConfigurationsSettings")) {
+ managedConfigurationsSettings = _json["managedConfigurationsSettings"]
+ .map((value) => new ManagedConfigurationsSettings.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 (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (managedConfigurationsSettings != null) {
+ _json["managedConfigurationsSettings"] = managedConfigurationsSettings
+ .map((value) => (value).toJson())
+ .toList();
+ }
+ return _json;
+ }
+}
+
/// A managed property of a managed configuration. The property must match one
/// of the properties in the app restrictions schema of the product. Exactly one
/// of the value fields must be populated, and it must match the property's type
@@ -6711,6 +7090,49 @@
}
}
+/// The device policy for a given managed device.
+class Policy {
+ /// The availability granted to the device for the specified products. "all"
+ /// gives the device access to all products, regardless of approval status.
+ /// "allApproved" entitles the device to access all products that are approved
+ /// for the enterprise. "allApproved" and "all" do not enable automatic
+ /// visibility of "alpha" or "beta" tracks. "whitelist" grants the device
+ /// access the products specified in productPolicy[]. Only products that are
+ /// approved or products that were previously approved (products with revoked
+ /// approval) by the enterprise can be whitelisted. If no value is provided,
+ /// the availability set at the user level is applied by default.
+ core.String productAvailabilityPolicy;
+
+ /// The list of product policies.
+ core.List<ProductPolicy> productPolicy;
+
+ Policy();
+
+ Policy.fromJson(core.Map _json) {
+ if (_json.containsKey("productAvailabilityPolicy")) {
+ productAvailabilityPolicy = _json["productAvailabilityPolicy"];
+ }
+ if (_json.containsKey("productPolicy")) {
+ productPolicy = _json["productPolicy"]
+ .map((value) => new ProductPolicy.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 (productAvailabilityPolicy != null) {
+ _json["productAvailabilityPolicy"] = productAvailabilityPolicy;
+ }
+ if (productPolicy != null) {
+ _json["productPolicy"] =
+ productPolicy.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
/// A Products resource represents an app in the Google Play store that is
/// available to at least some users in the enterprise. (Some apps are
/// restricted to a single enterprise, and no information about them is made
@@ -7026,6 +7448,52 @@
}
}
+/// The policy for a product.
+class ProductPolicy {
+ /// The ID of the product. For example, "app:com.google.android.gm".
+ core.String productId;
+
+ /// Grants visibility to the specified track(s) of the product to the device.
+ /// The track available to the device is based on the following order of
+ /// preference: alpha, beta, production. For example, if an app has a prod
+ /// version, a beta version and an alpha version and the enterprise has been
+ /// granted visibility to both the alpha and beta tracks, if tracks is
+ /// {"beta", "production"} then the beta version of the app is made available
+ /// to the device. If there are no app versions in the specified track adding
+ /// the "alpha" and "beta" values to the list of tracks will have no effect.
+ /// Note that the enterprise requires access to alpha and/or beta tracks
+ /// before users can be granted visibility to apps in those tracks.
+ ///
+ /// The allowed sets are: {} (considered equivalent to {"production"})
+ /// {"production"} {"beta", "production"} {"alpha", "beta", "production"} The
+ /// order of elements is not relevant. Any other set of tracks will be
+ /// rejected with an error.
+ core.List<core.String> tracks;
+
+ ProductPolicy();
+
+ ProductPolicy.fromJson(core.Map _json) {
+ if (_json.containsKey("productId")) {
+ productId = _json["productId"];
+ }
+ if (_json.containsKey("tracks")) {
+ tracks = _json["tracks"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (productId != null) {
+ _json["productId"] = productId;
+ }
+ if (tracks != null) {
+ _json["tracks"] = tracks;
+ }
+ return _json;
+ }
+}
+
/// A set of products.
class ProductSet {
/// Identifies what kind of resource this is. Value: the fixed string
@@ -7941,3 +8409,48 @@
return _json;
}
}
+
+/// A variable set is a key-value pair of EMM-provided placeholders and its
+/// corresponding value, which is attributed to a user. For example, $FIRSTNAME
+/// could be a placeholder, and its value could be Alice. Placeholders should
+/// start with a '$' sign and should be alphanumeric only.
+class VariableSet {
+ /// Identifies what kind of resource this is. Value: the fixed string
+ /// "androidenterprise#variableSet".
+ core.String kind;
+
+ /// The placeholder string; defined by EMM.
+ core.String placeholder;
+
+ /// The value of the placeholder, specific to the user.
+ core.String userValue;
+
+ VariableSet();
+
+ VariableSet.fromJson(core.Map _json) {
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("placeholder")) {
+ placeholder = _json["placeholder"];
+ }
+ if (_json.containsKey("userValue")) {
+ userValue = _json["userValue"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (placeholder != null) {
+ _json["placeholder"] = placeholder;
+ }
+ if (userValue != null) {
+ _json["userValue"] = userValue;
+ }
+ return _json;
+ }
+}
diff --git a/generated/googleapis/lib/androidmanagement/v1.dart b/generated/googleapis/lib/androidmanagement/v1.dart
index 03ccd14..027613c 100644
--- a/generated/googleapis/lib/androidmanagement/v1.dart
+++ b/generated/googleapis/lib/androidmanagement/v1.dart
@@ -1192,6 +1192,38 @@
}
}
+/// Configuration for an always-on VPN connection.
+class AlwaysOnVpnPackage {
+ /// Disallows networking when the VPN is not connected.
+ core.bool lockdownEnabled;
+
+ /// The package name of the VPN app.
+ core.String packageName;
+
+ AlwaysOnVpnPackage();
+
+ AlwaysOnVpnPackage.fromJson(core.Map _json) {
+ if (_json.containsKey("lockdownEnabled")) {
+ lockdownEnabled = _json["lockdownEnabled"];
+ }
+ if (_json.containsKey("packageName")) {
+ packageName = _json["packageName"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (lockdownEnabled != null) {
+ _json["lockdownEnabled"] = lockdownEnabled;
+ }
+ if (packageName != null) {
+ _json["packageName"] = packageName;
+ }
+ return _json;
+ }
+}
+
/// A compliance rule condition which is satisfied if the Android Framework API
/// level on the device does not meet a minimum requirement. There can only be
/// one rule with this type of condition per policy.
@@ -3043,6 +3075,29 @@
}
}
+/// A list of package names.
+class PackageNameList {
+ /// A list of package names.
+ core.List<core.String> packageNames;
+
+ PackageNameList();
+
+ PackageNameList.fromJson(core.Map _json) {
+ if (_json.containsKey("packageNames")) {
+ packageNames = _json["packageNames"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (packageNames != null) {
+ _json["packageNames"] = packageNames;
+ }
+ return _json;
+ }
+}
+
/// Requirements for the password used to unlock a device.
class PasswordRequirements {
/// A device will be wiped after too many incorrect device-unlock passwords
@@ -3278,12 +3333,20 @@
/// A policy, which governs behavior for a device.
class Policy {
+ /// Account types that cannot be managed by the user. <i>Requires the beta
+ /// version of Android Cloud Policy.</i>
+ core.List<core.String> accountTypesWithManagementDisabled;
+
/// Whether adding new users and profiles is disabled.
core.bool addUserDisabled;
/// Whether adjusting the master volume is disabled.
core.bool adjustVolumeDisabled;
+ /// Configuration for an always-on VPN connection. <i>Requires the beta
+ /// version of Android Cloud Policy.</i>
+ AlwaysOnVpnPackage alwaysOnVpnPackage;
+
/// Policy applied to apps.
core.List<ApplicationPolicy> applications;
@@ -3297,15 +3360,45 @@
/// automatically uninstalled.
core.bool blockApplicationsEnabled;
+ /// Whether configuring bluetooth is disabled. <i>Requires the beta version of
+ /// Android Cloud Policy.</i>
+ core.bool bluetoothConfigDisabled;
+
+ /// Whether bluetooth contact sharing is disabled. <i>Requires the beta
+ /// version of Android Cloud Policy.</i>
+ core.bool bluetoothContactSharingDisabled;
+
+ /// Whether bluetooth is disabled. Prefer this setting over
+ /// bluetooth_config_disabled because bluetooth_config_disabled can be
+ /// bypassed by the user. <i>Requires the beta version of Android Cloud
+ /// Policy.</i>
+ core.bool bluetoothDisabled;
+
/// Whether all cameras on the device are disabled.
core.bool cameraDisabled;
+ /// Whether configuring cell broadcast is disabled. <i>Requires the beta
+ /// version of Android Cloud Policy.</i>
+ core.bool cellBroadcastsConfigDisabled;
+
/// Rules declaring which mitigating actions to take when a device is not
/// compliant with its policy. When the conditions for multiple rules are
/// satisfied, all of the mitigating actions for the rules are taken. There is
/// a maximum limit of 100 rules.
core.List<ComplianceRule> complianceRules;
+ /// Whether creating windows besides app windows is disabled. <i>Requires the
+ /// beta version of Android Cloud Policy.</i>
+ core.bool createWindowsDisabled;
+
+ /// Whether configuring user credentials is disabled. <i>Requires the beta
+ /// version of Android Cloud Policy.</i>
+ core.bool credentialsConfigDisabled;
+
+ /// Whether roaming data services are disabled. <i>Requires the beta version
+ /// of Android Cloud Policy.</i>
+ core.bool dataRoamingDisabled;
+
/// Whether the user is allowed to enable debugging features.
core.bool debuggingFeaturesAllowed;
@@ -3319,6 +3412,10 @@
/// - "DENY" : Automatically deny a permission.
core.String defaultPermissionPolicy;
+ /// Whether application verification is forced to be enabled. <i>Requires the
+ /// beta version of Android Cloud Policy.</i>
+ core.bool ensureVerifyAppsEnabled;
+
/// Whether factory resetting from settings is disabled.
core.bool factoryResetDisabled;
@@ -3333,6 +3430,10 @@
/// game in Settings is disabled.
core.bool funDisabled;
+ /// Whether user installation of apps is disabled. <i>Requires the beta
+ /// version of Android Cloud Policy.</i>
+ core.bool installAppsDisabled;
+
/// Whether the user is allowed to enable the "Unknown Sources" setting, which
/// allows installation of apps from unknown sources.
core.bool installUnknownSourcesAllowed;
@@ -3340,13 +3441,29 @@
/// Whether the keyguard is disabled.
core.bool keyguardDisabled;
+ /// Disabled keyguard customizations, such as widgets. <i>Requires the beta
+ /// version of Android Cloud Policy.</i>
+ core.List<core.String> keyguardDisabledFeatures;
+
+ /// A message displayed to the user in the device administators settings
+ /// screen. <i>Requires the beta version of Android Cloud Policy.</i>
+ UserFacingMessage longSupportMessage;
+
/// Maximum time in milliseconds for user activity until the device will lock.
/// A value of 0 means there is no restriction.
core.String maximumTimeToLock;
+ /// Whether configuring mobile networks is disabled. <i>Requires the beta
+ /// version of Android Cloud Policy.</i>
+ core.bool mobileNetworksConfigDisabled;
+
/// Whether adding or removing accounts is disabled.
core.bool modifyAccountsDisabled;
+ /// Whether the user mounting physical external media is disabled. <i>Requires
+ /// the beta version of Android Cloud Policy.</i>
+ core.bool mountPhysicalMediaDisabled;
+
/// The name of the policy in the form
/// enterprises/{enterpriseId}/policies/{policyId}
core.String name;
@@ -3361,6 +3478,10 @@
/// settings.
core.bool networkEscapeHatchEnabled;
+ /// Whether resetting network settings is disabled. <i>Requires the beta
+ /// version of Android Cloud Policy.</i>
+ core.bool networkResetDisabled;
+
/// Network configuration for the device. See configure networks for more
/// information.
///
@@ -3368,12 +3489,34 @@
/// `String`, `bool` and `null` as well as `Map` and `List` values.
core.Map<core.String, core.Object> openNetworkConfiguration;
+ /// Whether using NFC to beam out data from apps is disabled. <i>Requires the
+ /// beta version of Android Cloud Policy.</i>
+ core.bool outgoingBeamDisabled;
+
+ /// Whether outgoing calls are disabled. <i>Requires the beta version of
+ /// Android Cloud Policy.</i>
+ core.bool outgoingCallsDisabled;
+
/// Password requirements.
PasswordRequirements passwordRequirements;
+ /// If present, only input methods provided by packages in this list are
+ /// permitted. If this field is present, but the list is empty, then only
+ /// system input methods are permitted. <i>Requires the beta version of
+ /// Android Cloud Policy.</i>
+ PackageNameList permittedInputMethods;
+
/// Default intent handler activities.
core.List<PersistentPreferredActivity> persistentPreferredActivities;
+ /// The network-independent global HTTP proxy. Typically proxies should be
+ /// configured per-network in open_network_configuration. However for unusual
+ /// configurations like general internal filtering a global HTTP proxy may be
+ /// useful. If the proxy is not accessible, network access may break. The
+ /// global proxy is only a recommendation and some apps may ignore it.
+ /// <i>Requires the beta version of Android Cloud Policy.</i>
+ ProxyInfo recommendedGlobalProxy;
+
/// Whether removing other users is disabled.
core.bool removeUserDisabled;
@@ -3383,6 +3526,23 @@
/// Whether screen capture is disabled.
core.bool screenCaptureDisabled;
+ /// Whether changing the user icon is disabled. <i>Requires the beta version
+ /// of Android Cloud Policy.</i>
+ core.bool setUserIconDisabled;
+
+ /// Whether changing the wallpaper is disabled. <i>Requires the beta version
+ /// of Android Cloud Policy.</i>
+ core.bool setWallpaperDisabled;
+
+ /// A message displayed to the user in the settings screen wherever
+ /// functionality has been disabled by the admin. <i>Requires the beta version
+ /// of Android Cloud Policy.</i>
+ UserFacingMessage shortSupportMessage;
+
+ /// Whether sending or receiving SMS messages is disabled. <i>Requires the
+ /// beta version of Android Cloud Policy.</i>
+ core.bool smsDisabled;
+
/// Whether the status bar is disabled. This disables notifications, quick
/// settings and other screen overlays that allow escape from full-screen
/// mode.
@@ -3401,14 +3561,30 @@
/// Play app updates as well.
SystemUpdate systemUpdate;
+ /// Whether configuring tethering and portable hotspots is disabled.
+ /// <i>Requires the beta version of Android Cloud Policy.</i>
+ core.bool tetheringConfigDisabled;
+
+ /// Whether user uninstallation of applications is disabled. <i>Requires the
+ /// beta version of Android Cloud Policy.</i>
+ core.bool uninstallAppsDisabled;
+
/// Whether the microphone is muted and adjusting microphone volume is
/// disabled.
core.bool unmuteMicrophoneDisabled;
+ /// Whether transferring files over USB is disabled. <i>Requires the beta
+ /// version of Android Cloud Policy.</i>
+ core.bool usbFileTransferDisabled;
+
/// The version of the policy. This is a read-only field. The version is
/// incremented each time the policy is updated.
core.String version;
+ /// Whether configuring VPN is disabled. <i>Requires the beta version of
+ /// Android Cloud Policy.</i>
+ core.bool vpnConfigDisabled;
+
/// Whether configuring WiFi access points is disabled.
core.bool wifiConfigDisabled;
@@ -3419,12 +3595,20 @@
Policy();
Policy.fromJson(core.Map _json) {
+ if (_json.containsKey("accountTypesWithManagementDisabled")) {
+ accountTypesWithManagementDisabled =
+ _json["accountTypesWithManagementDisabled"];
+ }
if (_json.containsKey("addUserDisabled")) {
addUserDisabled = _json["addUserDisabled"];
}
if (_json.containsKey("adjustVolumeDisabled")) {
adjustVolumeDisabled = _json["adjustVolumeDisabled"];
}
+ if (_json.containsKey("alwaysOnVpnPackage")) {
+ alwaysOnVpnPackage =
+ new AlwaysOnVpnPackage.fromJson(_json["alwaysOnVpnPackage"]);
+ }
if (_json.containsKey("applications")) {
applications = _json["applications"]
.map((value) => new ApplicationPolicy.fromJson(value))
@@ -3436,20 +3620,45 @@
if (_json.containsKey("blockApplicationsEnabled")) {
blockApplicationsEnabled = _json["blockApplicationsEnabled"];
}
+ if (_json.containsKey("bluetoothConfigDisabled")) {
+ bluetoothConfigDisabled = _json["bluetoothConfigDisabled"];
+ }
+ if (_json.containsKey("bluetoothContactSharingDisabled")) {
+ bluetoothContactSharingDisabled =
+ _json["bluetoothContactSharingDisabled"];
+ }
+ if (_json.containsKey("bluetoothDisabled")) {
+ bluetoothDisabled = _json["bluetoothDisabled"];
+ }
if (_json.containsKey("cameraDisabled")) {
cameraDisabled = _json["cameraDisabled"];
}
+ if (_json.containsKey("cellBroadcastsConfigDisabled")) {
+ cellBroadcastsConfigDisabled = _json["cellBroadcastsConfigDisabled"];
+ }
if (_json.containsKey("complianceRules")) {
complianceRules = _json["complianceRules"]
.map((value) => new ComplianceRule.fromJson(value))
.toList();
}
+ if (_json.containsKey("createWindowsDisabled")) {
+ createWindowsDisabled = _json["createWindowsDisabled"];
+ }
+ if (_json.containsKey("credentialsConfigDisabled")) {
+ credentialsConfigDisabled = _json["credentialsConfigDisabled"];
+ }
+ if (_json.containsKey("dataRoamingDisabled")) {
+ dataRoamingDisabled = _json["dataRoamingDisabled"];
+ }
if (_json.containsKey("debuggingFeaturesAllowed")) {
debuggingFeaturesAllowed = _json["debuggingFeaturesAllowed"];
}
if (_json.containsKey("defaultPermissionPolicy")) {
defaultPermissionPolicy = _json["defaultPermissionPolicy"];
}
+ if (_json.containsKey("ensureVerifyAppsEnabled")) {
+ ensureVerifyAppsEnabled = _json["ensureVerifyAppsEnabled"];
+ }
if (_json.containsKey("factoryResetDisabled")) {
factoryResetDisabled = _json["factoryResetDisabled"];
}
@@ -3459,36 +3668,69 @@
if (_json.containsKey("funDisabled")) {
funDisabled = _json["funDisabled"];
}
+ if (_json.containsKey("installAppsDisabled")) {
+ installAppsDisabled = _json["installAppsDisabled"];
+ }
if (_json.containsKey("installUnknownSourcesAllowed")) {
installUnknownSourcesAllowed = _json["installUnknownSourcesAllowed"];
}
if (_json.containsKey("keyguardDisabled")) {
keyguardDisabled = _json["keyguardDisabled"];
}
+ if (_json.containsKey("keyguardDisabledFeatures")) {
+ keyguardDisabledFeatures = _json["keyguardDisabledFeatures"];
+ }
+ if (_json.containsKey("longSupportMessage")) {
+ longSupportMessage =
+ new UserFacingMessage.fromJson(_json["longSupportMessage"]);
+ }
if (_json.containsKey("maximumTimeToLock")) {
maximumTimeToLock = _json["maximumTimeToLock"];
}
+ if (_json.containsKey("mobileNetworksConfigDisabled")) {
+ mobileNetworksConfigDisabled = _json["mobileNetworksConfigDisabled"];
+ }
if (_json.containsKey("modifyAccountsDisabled")) {
modifyAccountsDisabled = _json["modifyAccountsDisabled"];
}
+ if (_json.containsKey("mountPhysicalMediaDisabled")) {
+ mountPhysicalMediaDisabled = _json["mountPhysicalMediaDisabled"];
+ }
if (_json.containsKey("name")) {
name = _json["name"];
}
if (_json.containsKey("networkEscapeHatchEnabled")) {
networkEscapeHatchEnabled = _json["networkEscapeHatchEnabled"];
}
+ if (_json.containsKey("networkResetDisabled")) {
+ networkResetDisabled = _json["networkResetDisabled"];
+ }
if (_json.containsKey("openNetworkConfiguration")) {
openNetworkConfiguration = _json["openNetworkConfiguration"];
}
+ if (_json.containsKey("outgoingBeamDisabled")) {
+ outgoingBeamDisabled = _json["outgoingBeamDisabled"];
+ }
+ if (_json.containsKey("outgoingCallsDisabled")) {
+ outgoingCallsDisabled = _json["outgoingCallsDisabled"];
+ }
if (_json.containsKey("passwordRequirements")) {
passwordRequirements =
new PasswordRequirements.fromJson(_json["passwordRequirements"]);
}
+ if (_json.containsKey("permittedInputMethods")) {
+ permittedInputMethods =
+ new PackageNameList.fromJson(_json["permittedInputMethods"]);
+ }
if (_json.containsKey("persistentPreferredActivities")) {
persistentPreferredActivities = _json["persistentPreferredActivities"]
.map((value) => new PersistentPreferredActivity.fromJson(value))
.toList();
}
+ if (_json.containsKey("recommendedGlobalProxy")) {
+ recommendedGlobalProxy =
+ new ProxyInfo.fromJson(_json["recommendedGlobalProxy"]);
+ }
if (_json.containsKey("removeUserDisabled")) {
removeUserDisabled = _json["removeUserDisabled"];
}
@@ -3498,6 +3740,19 @@
if (_json.containsKey("screenCaptureDisabled")) {
screenCaptureDisabled = _json["screenCaptureDisabled"];
}
+ if (_json.containsKey("setUserIconDisabled")) {
+ setUserIconDisabled = _json["setUserIconDisabled"];
+ }
+ if (_json.containsKey("setWallpaperDisabled")) {
+ setWallpaperDisabled = _json["setWallpaperDisabled"];
+ }
+ if (_json.containsKey("shortSupportMessage")) {
+ shortSupportMessage =
+ new UserFacingMessage.fromJson(_json["shortSupportMessage"]);
+ }
+ if (_json.containsKey("smsDisabled")) {
+ smsDisabled = _json["smsDisabled"];
+ }
if (_json.containsKey("statusBarDisabled")) {
statusBarDisabled = _json["statusBarDisabled"];
}
@@ -3511,12 +3766,24 @@
if (_json.containsKey("systemUpdate")) {
systemUpdate = new SystemUpdate.fromJson(_json["systemUpdate"]);
}
+ if (_json.containsKey("tetheringConfigDisabled")) {
+ tetheringConfigDisabled = _json["tetheringConfigDisabled"];
+ }
+ if (_json.containsKey("uninstallAppsDisabled")) {
+ uninstallAppsDisabled = _json["uninstallAppsDisabled"];
+ }
if (_json.containsKey("unmuteMicrophoneDisabled")) {
unmuteMicrophoneDisabled = _json["unmuteMicrophoneDisabled"];
}
+ if (_json.containsKey("usbFileTransferDisabled")) {
+ usbFileTransferDisabled = _json["usbFileTransferDisabled"];
+ }
if (_json.containsKey("version")) {
version = _json["version"];
}
+ if (_json.containsKey("vpnConfigDisabled")) {
+ vpnConfigDisabled = _json["vpnConfigDisabled"];
+ }
if (_json.containsKey("wifiConfigDisabled")) {
wifiConfigDisabled = _json["wifiConfigDisabled"];
}
@@ -3528,12 +3795,19 @@
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json =
new core.Map<core.String, core.Object>();
+ if (accountTypesWithManagementDisabled != null) {
+ _json["accountTypesWithManagementDisabled"] =
+ accountTypesWithManagementDisabled;
+ }
if (addUserDisabled != null) {
_json["addUserDisabled"] = addUserDisabled;
}
if (adjustVolumeDisabled != null) {
_json["adjustVolumeDisabled"] = adjustVolumeDisabled;
}
+ if (alwaysOnVpnPackage != null) {
+ _json["alwaysOnVpnPackage"] = (alwaysOnVpnPackage).toJson();
+ }
if (applications != null) {
_json["applications"] =
applications.map((value) => (value).toJson()).toList();
@@ -3544,19 +3818,44 @@
if (blockApplicationsEnabled != null) {
_json["blockApplicationsEnabled"] = blockApplicationsEnabled;
}
+ if (bluetoothConfigDisabled != null) {
+ _json["bluetoothConfigDisabled"] = bluetoothConfigDisabled;
+ }
+ if (bluetoothContactSharingDisabled != null) {
+ _json["bluetoothContactSharingDisabled"] =
+ bluetoothContactSharingDisabled;
+ }
+ if (bluetoothDisabled != null) {
+ _json["bluetoothDisabled"] = bluetoothDisabled;
+ }
if (cameraDisabled != null) {
_json["cameraDisabled"] = cameraDisabled;
}
+ if (cellBroadcastsConfigDisabled != null) {
+ _json["cellBroadcastsConfigDisabled"] = cellBroadcastsConfigDisabled;
+ }
if (complianceRules != null) {
_json["complianceRules"] =
complianceRules.map((value) => (value).toJson()).toList();
}
+ if (createWindowsDisabled != null) {
+ _json["createWindowsDisabled"] = createWindowsDisabled;
+ }
+ if (credentialsConfigDisabled != null) {
+ _json["credentialsConfigDisabled"] = credentialsConfigDisabled;
+ }
+ if (dataRoamingDisabled != null) {
+ _json["dataRoamingDisabled"] = dataRoamingDisabled;
+ }
if (debuggingFeaturesAllowed != null) {
_json["debuggingFeaturesAllowed"] = debuggingFeaturesAllowed;
}
if (defaultPermissionPolicy != null) {
_json["defaultPermissionPolicy"] = defaultPermissionPolicy;
}
+ if (ensureVerifyAppsEnabled != null) {
+ _json["ensureVerifyAppsEnabled"] = ensureVerifyAppsEnabled;
+ }
if (factoryResetDisabled != null) {
_json["factoryResetDisabled"] = factoryResetDisabled;
}
@@ -3566,35 +3865,65 @@
if (funDisabled != null) {
_json["funDisabled"] = funDisabled;
}
+ if (installAppsDisabled != null) {
+ _json["installAppsDisabled"] = installAppsDisabled;
+ }
if (installUnknownSourcesAllowed != null) {
_json["installUnknownSourcesAllowed"] = installUnknownSourcesAllowed;
}
if (keyguardDisabled != null) {
_json["keyguardDisabled"] = keyguardDisabled;
}
+ if (keyguardDisabledFeatures != null) {
+ _json["keyguardDisabledFeatures"] = keyguardDisabledFeatures;
+ }
+ if (longSupportMessage != null) {
+ _json["longSupportMessage"] = (longSupportMessage).toJson();
+ }
if (maximumTimeToLock != null) {
_json["maximumTimeToLock"] = maximumTimeToLock;
}
+ if (mobileNetworksConfigDisabled != null) {
+ _json["mobileNetworksConfigDisabled"] = mobileNetworksConfigDisabled;
+ }
if (modifyAccountsDisabled != null) {
_json["modifyAccountsDisabled"] = modifyAccountsDisabled;
}
+ if (mountPhysicalMediaDisabled != null) {
+ _json["mountPhysicalMediaDisabled"] = mountPhysicalMediaDisabled;
+ }
if (name != null) {
_json["name"] = name;
}
if (networkEscapeHatchEnabled != null) {
_json["networkEscapeHatchEnabled"] = networkEscapeHatchEnabled;
}
+ if (networkResetDisabled != null) {
+ _json["networkResetDisabled"] = networkResetDisabled;
+ }
if (openNetworkConfiguration != null) {
_json["openNetworkConfiguration"] = openNetworkConfiguration;
}
+ if (outgoingBeamDisabled != null) {
+ _json["outgoingBeamDisabled"] = outgoingBeamDisabled;
+ }
+ if (outgoingCallsDisabled != null) {
+ _json["outgoingCallsDisabled"] = outgoingCallsDisabled;
+ }
if (passwordRequirements != null) {
_json["passwordRequirements"] = (passwordRequirements).toJson();
}
+ if (permittedInputMethods != null) {
+ _json["permittedInputMethods"] = (permittedInputMethods).toJson();
+ }
if (persistentPreferredActivities != null) {
_json["persistentPreferredActivities"] = persistentPreferredActivities
.map((value) => (value).toJson())
.toList();
}
+ if (recommendedGlobalProxy != null) {
+ _json["recommendedGlobalProxy"] = (recommendedGlobalProxy).toJson();
+ }
if (removeUserDisabled != null) {
_json["removeUserDisabled"] = removeUserDisabled;
}
@@ -3604,6 +3933,18 @@
if (screenCaptureDisabled != null) {
_json["screenCaptureDisabled"] = screenCaptureDisabled;
}
+ if (setUserIconDisabled != null) {
+ _json["setUserIconDisabled"] = setUserIconDisabled;
+ }
+ if (setWallpaperDisabled != null) {
+ _json["setWallpaperDisabled"] = setWallpaperDisabled;
+ }
+ if (shortSupportMessage != null) {
+ _json["shortSupportMessage"] = (shortSupportMessage).toJson();
+ }
+ if (smsDisabled != null) {
+ _json["smsDisabled"] = smsDisabled;
+ }
if (statusBarDisabled != null) {
_json["statusBarDisabled"] = statusBarDisabled;
}
@@ -3616,12 +3957,24 @@
if (systemUpdate != null) {
_json["systemUpdate"] = (systemUpdate).toJson();
}
+ if (tetheringConfigDisabled != null) {
+ _json["tetheringConfigDisabled"] = tetheringConfigDisabled;
+ }
+ if (uninstallAppsDisabled != null) {
+ _json["uninstallAppsDisabled"] = uninstallAppsDisabled;
+ }
if (unmuteMicrophoneDisabled != null) {
_json["unmuteMicrophoneDisabled"] = unmuteMicrophoneDisabled;
}
+ if (usbFileTransferDisabled != null) {
+ _json["usbFileTransferDisabled"] = usbFileTransferDisabled;
+ }
if (version != null) {
_json["version"] = version;
}
+ if (vpnConfigDisabled != null) {
+ _json["vpnConfigDisabled"] = vpnConfigDisabled;
+ }
if (wifiConfigDisabled != null) {
_json["wifiConfigDisabled"] = wifiConfigDisabled;
}
@@ -3683,6 +4036,59 @@
}
}
+/// Configuration info for an HTTP proxy. For a direct proxy, set the host,
+/// port, and excluded_hosts fields. For a PAC script proxy, set the pac_uri
+/// field.
+class ProxyInfo {
+ /// For a direct proxy, the hosts for which the proxy is bypassed. The host
+ /// names may contain wildcards such as *.example.com.
+ core.List<core.String> excludedHosts;
+
+ /// The host of the direct proxy.
+ core.String host;
+
+ /// The URI of the PAC script used to configure the proxy.
+ core.String pacUri;
+
+ /// The port of the direct proxy.
+ core.int port;
+
+ ProxyInfo();
+
+ ProxyInfo.fromJson(core.Map _json) {
+ if (_json.containsKey("excludedHosts")) {
+ excludedHosts = _json["excludedHosts"];
+ }
+ if (_json.containsKey("host")) {
+ host = _json["host"];
+ }
+ if (_json.containsKey("pacUri")) {
+ pacUri = _json["pacUri"];
+ }
+ if (_json.containsKey("port")) {
+ port = _json["port"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (excludedHosts != null) {
+ _json["excludedHosts"] = excludedHosts;
+ }
+ if (host != null) {
+ _json["host"] = host;
+ }
+ if (pacUri != null) {
+ _json["pacUri"] = pacUri;
+ }
+ if (port != null) {
+ _json["port"] = port;
+ }
+ return _json;
+ }
+}
+
/// An enterprise signup URL.
class SignupUrl {
/// The name of the resource. This must be included in the create enterprise
diff --git a/generated/googleapis/lib/appengine/v1.dart b/generated/googleapis/lib/appengine/v1.dart
index f74eaf8..1df6545 100644
--- a/generated/googleapis/lib/appengine/v1.dart
+++ b/generated/googleapis/lib/appengine/v1.dart
@@ -828,10 +828,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.
///
@@ -843,7 +843,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<ListDomainMappingsResponse> list(core.String appsId,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -854,12 +854,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];
}
@@ -1493,12 +1493,12 @@
///
/// [appsId] - Part of `name`. The name of the operation's parent resource.
///
- /// [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.
///
@@ -1510,9 +1510,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 appsId,
- {core.String pageToken,
- core.int pageSize,
+ {core.int pageSize,
core.String filter,
+ core.String pageToken,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1524,15 +1524,15 @@
if (appsId == null) {
throw new core.ArgumentError("Parameter appsId 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];
}
@@ -1727,8 +1727,6 @@
///
/// [servicesId] - Part of `name`. See documentation of `appsId`.
///
- /// [updateMask] - Standard field mask for the set of fields to be updated.
- ///
/// [migrateTraffic] - Set to true to gradually shift traffic to one or more
/// versions that you specify. By default, traffic is shifted immediately. For
/// gradual traffic migration, the target versions must be located within
@@ -1743,6 +1741,8 @@
/// Splitting Traffic
/// (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).
///
+ /// [updateMask] - Standard field mask for the set of fields to be updated.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1755,7 +1755,7 @@
/// this method will complete with the same error.
async.Future<Operation> patch(
Service request, core.String appsId, core.String servicesId,
- {core.String updateMask, core.bool migrateTraffic, core.String $fields}) {
+ {core.bool migrateTraffic, core.String updateMask, core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1772,12 +1772,12 @@
if (servicesId == null) {
throw new core.ArgumentError("Parameter servicesId is required.");
}
- if (updateMask != null) {
- _queryParams["updateMask"] = [updateMask];
- }
if (migrateTraffic != null) {
_queryParams["migrateTraffic"] = ["${migrateTraffic}"];
}
+ if (updateMask != null) {
+ _queryParams["updateMask"] = [updateMask];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2926,6 +2926,9 @@
/// Target scaling by request utilization.
RequestUtilization requestUtilization;
+ /// Scheduler settings for standard environment.
+ StandardSchedulerSettings standardSchedulerSettings;
+
AutomaticScaling();
AutomaticScaling.fromJson(core.Map _json) {
@@ -2967,6 +2970,10 @@
requestUtilization =
new RequestUtilization.fromJson(_json["requestUtilization"]);
}
+ if (_json.containsKey("standardSchedulerSettings")) {
+ standardSchedulerSettings = new StandardSchedulerSettings.fromJson(
+ _json["standardSchedulerSettings"]);
+ }
}
core.Map<core.String, core.Object> toJson() {
@@ -3008,6 +3015,9 @@
if (requestUtilization != null) {
_json["requestUtilization"] = (requestUtilization).toJson();
}
+ if (standardSchedulerSettings != null) {
+ _json["standardSchedulerSettings"] = (standardSchedulerSettings).toJson();
+ }
return _json;
}
}
@@ -5367,6 +5377,58 @@
}
}
+/// Scheduler settings for standard environment.
+class StandardSchedulerSettings {
+ /// Maximum number of instances for an app version. Set to a non-positive
+ /// value (0 by convention) to disable max_instances configuration.
+ core.int maxInstances;
+
+ /// Minimum number of instances for an app version. Set to a non-positive
+ /// value (0 by convention) to disable min_instances configuration.
+ core.int minInstances;
+
+ /// Target CPU utilization ratio to maintain when scaling.
+ core.double targetCpuUtilization;
+
+ /// Target throughput utilization ratio to maintain when scaling
+ core.double targetThroughputUtilization;
+
+ StandardSchedulerSettings();
+
+ StandardSchedulerSettings.fromJson(core.Map _json) {
+ if (_json.containsKey("maxInstances")) {
+ maxInstances = _json["maxInstances"];
+ }
+ if (_json.containsKey("minInstances")) {
+ minInstances = _json["minInstances"];
+ }
+ if (_json.containsKey("targetCpuUtilization")) {
+ targetCpuUtilization = _json["targetCpuUtilization"];
+ }
+ if (_json.containsKey("targetThroughputUtilization")) {
+ targetThroughputUtilization = _json["targetThroughputUtilization"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (maxInstances != null) {
+ _json["maxInstances"] = maxInstances;
+ }
+ if (minInstances != null) {
+ _json["minInstances"] = minInstances;
+ }
+ if (targetCpuUtilization != null) {
+ _json["targetCpuUtilization"] = targetCpuUtilization;
+ }
+ if (targetThroughputUtilization != null) {
+ _json["targetThroughputUtilization"] = targetThroughputUtilization;
+ }
+ return _json;
+ }
+}
+
/// Files served directly to the user for a given URL, such as images, CSS
/// stylesheets, or JavaScript source files. Static file handlers describe which
/// files in the application directory are static files, and which URLs serve
diff --git a/generated/googleapis/lib/bigquerydatatransfer/v1.dart b/generated/googleapis/lib/bigquerydatatransfer/v1.dart
index 667332e..70536c2 100644
--- a/generated/googleapis/lib/bigquerydatatransfer/v1.dart
+++ b/generated/googleapis/lib/bigquerydatatransfer/v1.dart
@@ -289,12 +289,12 @@
/// [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.
///
/// [pageSize] - The standard list page size.
///
+ /// [filter] - The standard list filter.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -306,9 +306,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 pageToken,
core.int pageSize,
+ core.String filter,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -320,15 +320,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];
}
@@ -542,10 +542,8 @@
/// [parent] - The BigQuery project id where the transfer configuration should
/// be created.
/// Must be in the format /projects/{project_id}/locations/{location_id}
- /// or
- /// /projects/{project_id}/locations/-
- /// In case when '-' is specified as location_id, location is infered from
- /// the destination dataset region.
+ /// If specified location and location of the destination bigquery dataset
+ /// do not match - the request will fail.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
/// [authorizationCode] - Optional OAuth2 authorization code to use with this
@@ -713,6 +711,9 @@
/// should be returned: `projects/{project_id}`.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
+ /// [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
@@ -723,9 +724,6 @@
/// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -737,9 +735,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.List<core.String> dataSourceIds,
+ core.String pageToken,
core.int pageSize,
- core.List<core.String> dataSourceIds,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -751,15 +749,15 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (dataSourceIds != null) {
+ _queryParams["dataSourceIds"] = dataSourceIds;
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (dataSourceIds != null) {
- _queryParams["dataSourceIds"] = dataSourceIds;
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -794,10 +792,12 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$".
///
+ /// [updateMask] - 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
- /// gaia id of the authorizing user.
+ /// authorizing user.
/// In order to obtain authorization_code, please make a
/// request to
/// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri>
@@ -812,8 +812,6 @@
/// returned in the title bar of the browser, with the page text prompting
/// the user to copy the code and paste it in the application.
///
- /// [updateMask] - Required list of fields to be updated in this request.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -825,8 +823,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<TransferConfig> patch(TransferConfig request, core.String name,
- {core.String authorizationCode,
- core.String updateMask,
+ {core.String updateMask,
+ core.String authorizationCode,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -841,12 +839,12 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (authorizationCode != null) {
- _queryParams["authorizationCode"] = [authorizationCode];
- }
if (updateMask != null) {
_queryParams["updateMask"] = [updateMask];
}
+ if (authorizationCode != null) {
+ _queryParams["authorizationCode"] = [authorizationCode];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -862,7 +860,7 @@
return _response.then((data) => new TransferConfig.fromJson(data));
}
- /// Creates transfer runs for a time range [range_start_time, range_end_time].
+ /// Creates transfer runs for a time range [start_time, end_time].
/// For each date - or whatever granularity the data source supports - in the
/// range, one transfer run is created.
/// Note that runs are created per UTC time in the time range.
@@ -1035,11 +1033,6 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$".
///
- /// [runAttempt] - Indicates how run attempts are to be pulled.
- /// Possible string values are:
- /// - "RUN_ATTEMPT_UNSPECIFIED" : A RUN_ATTEMPT_UNSPECIFIED.
- /// - "LATEST" : A LATEST.
- ///
/// [pageToken] - Pagination token, which can be used to request a specific
/// page
/// of `ListTransferRunsRequest` list results. For multiple-page
@@ -1053,6 +1046,11 @@
/// [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" : A RUN_ATTEMPT_UNSPECIFIED.
+ /// - "LATEST" : A LATEST.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1064,10 +1062,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.String pageToken,
core.List<core.String> states,
core.int pageSize,
+ core.String runAttempt,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1079,9 +1077,6 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (runAttempt != null) {
- _queryParams["runAttempt"] = [runAttempt];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -1091,6 +1086,9 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (runAttempt != null) {
+ _queryParams["runAttempt"] = [runAttempt];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1209,10 +1207,8 @@
/// [parent] - The BigQuery project id where the transfer configuration should
/// be created.
/// Must be in the format /projects/{project_id}/locations/{location_id}
- /// or
- /// /projects/{project_id}/locations/-
- /// In case when '-' is specified as location_id, location is infered from
- /// the destination dataset region.
+ /// If specified location and location of the destination bigquery dataset
+ /// do not match - the request will fail.
/// Value must have pattern "^projects/[^/]+$".
///
/// [authorizationCode] - Optional OAuth2 authorization code to use with this
@@ -1461,7 +1457,7 @@
/// [authorizationCode] - Optional OAuth2 authorization code to use with this
/// transfer configuration.
/// If it is provided, the transfer configuration will be associated with the
- /// gaia id of the authorizing user.
+ /// authorizing user.
/// In order to obtain authorization_code, please make a
/// request to
/// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri>
@@ -1526,7 +1522,7 @@
return _response.then((data) => new TransferConfig.fromJson(data));
}
- /// Creates transfer runs for a time range [range_start_time, range_end_time].
+ /// Creates transfer runs for a time range [start_time, end_time].
/// For each date - or whatever granularity the data source supports - in the
/// range, one transfer run is created.
/// Note that runs are created per UTC time in the time range.
@@ -1695,11 +1691,6 @@
/// `projects/{project_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" : A RUN_ATTEMPT_UNSPECIFIED.
- /// - "LATEST" : A LATEST.
- ///
/// [pageToken] - Pagination token, which can be used to request a specific
/// page
/// of `ListTransferRunsRequest` list results. For multiple-page
@@ -1713,6 +1704,11 @@
/// [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" : A RUN_ATTEMPT_UNSPECIFIED.
+ /// - "LATEST" : A LATEST.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1724,10 +1720,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.String pageToken,
core.List<core.String> states,
core.int pageSize,
+ core.String runAttempt,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1739,9 +1735,6 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (runAttempt != null) {
- _queryParams["runAttempt"] = [runAttempt];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -1751,6 +1744,9 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (runAttempt != null) {
+ _queryParams["runAttempt"] = [runAttempt];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1784,10 +1780,6 @@
/// Value must have pattern
/// "^projects/[^/]+/transferConfigs/[^/]+/runs/[^/]+$".
///
- /// [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
@@ -1798,6 +1790,10 @@
/// [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.
///
@@ -1809,9 +1805,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.String pageToken,
core.int pageSize,
+ core.List<core.String> messageTypes,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1823,15 +1819,15 @@
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 (messageTypes != null) {
+ _queryParams["messageTypes"] = messageTypes;
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2776,7 +2772,6 @@
/// Output only. State of the most recently updated transfer run.
/// Possible string values are:
/// - "TRANSFER_STATE_UNSPECIFIED" : State placeholder.
- /// - "INACTIVE" : Data transfer is inactive.
/// - "PENDING" : Data transfer is scheduled and is waiting to be picked up by
/// data transfer backend.
/// - "RUNNING" : Data transfer is in progress.
@@ -2791,6 +2786,8 @@
/// Output only. Unique ID of the user on whose behalf transfer is done.
/// Applicable only to data sources that do not support service accounts.
/// When set to 0, the data source service account credentials are used.
+ /// May be negative. Note, that this identifier is not stable.
+ /// It may change over time even for the same user.
core.String userId;
TransferConfig();
@@ -2930,7 +2927,7 @@
}
/// Represents a data transfer run.
-/// Next id: 23
+/// Next id: 24
class TransferRun {
/// Output only. Data source id.
core.String dataSourceId;
@@ -2978,7 +2975,6 @@
/// Data transfer run state. Ignored for input requests.
/// Possible string values are:
/// - "TRANSFER_STATE_UNSPECIFIED" : State placeholder.
- /// - "INACTIVE" : Data transfer is inactive.
/// - "PENDING" : Data transfer is scheduled and is waiting to be picked up by
/// data transfer backend.
/// - "RUNNING" : Data transfer is in progress.
@@ -2993,7 +2989,8 @@
/// Output only. Unique ID of the user on whose behalf transfer is done.
/// Applicable only to data sources that do not support service accounts.
/// When set to 0, the data source service account credentials are used.
- /// May be negative.
+ /// May be negative. Note, that this identifier is not stable.
+ /// It may change over time even for the same user.
core.String userId;
TransferRun();
diff --git a/generated/googleapis/lib/classroom/v1.dart b/generated/googleapis/lib/classroom/v1.dart
index deb2795..c31af3e 100644
--- a/generated/googleapis/lib/classroom/v1.dart
+++ b/generated/googleapis/lib/classroom/v1.dart
@@ -295,6 +295,14 @@
///
/// Request parameters:
///
+ /// [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.
@@ -321,14 +329,6 @@
/// * the email address of the user
/// * the string literal `"me"`, indicating the requesting user
///
- /// [pageToken] - nextPageToken
- /// value returned from a previous
- /// list call,
- /// indicating that the subsequent page of results should be returned.
- ///
- /// The list request must be
- /// otherwise identical to the one that resulted in this token.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -340,11 +340,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.int pageSize,
+ {core.String pageToken,
+ core.int pageSize,
core.String teacherId,
core.List<core.String> courseStates,
core.String studentId,
- core.String pageToken,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -353,6 +353,9 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
@@ -365,9 +368,6 @@
if (studentId != null) {
_queryParams["studentId"] = [studentId];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -949,6 +949,12 @@
/// This identifier can be either the Classroom-assigned identifier or an
/// alias.
///
+ /// [pageSize] - Maximum number of items to return. Zero or unspecified
+ /// indicates that the
+ /// server may assign a maximum.
+ ///
+ /// The server may return fewer than the specified number of results.
+ ///
/// [announcementStates] - Restriction on the `state` of announcements
/// returned.
/// If this argument is left unspecified, the default value is `PUBLISHED`.
@@ -968,12 +974,6 @@
/// 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.
///
@@ -985,10 +985,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.List<core.String> announcementStates,
+ {core.int pageSize,
+ core.List<core.String> announcementStates,
core.String orderBy,
core.String pageToken,
- core.int pageSize,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1000,6 +1000,9 @@
if (courseId == null) {
throw new core.ArgumentError("Parameter courseId is required.");
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (announcementStates != null) {
_queryParams["announcementStates"] = announcementStates;
}
@@ -1009,9 +1012,6 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1774,6 +1774,15 @@
/// This may be set to the string literal `"-"` to request student work for
/// all course work in the specified course.
///
+ /// [userId] - Optional argument to restrict returned student work to those
+ /// owned by the
+ /// student with the specified identifier. The identifier can be one of the
+ /// following:
+ ///
+ /// * the numeric identifier for the user
+ /// * the email address of the user
+ /// * the string literal `"me"`, indicating the requesting user
+ ///
/// [late] - Requested lateness value. If specified, returned student
/// submissions are
/// restricted by the requested value.
@@ -1791,25 +1800,16 @@
/// The list request
/// must be otherwise identical to the one that resulted in this token.
///
+ /// [states] - Requested submission states. If specified, returned student
+ /// submissions
+ /// match one of the specified submission states.
+ ///
/// [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.
- ///
- /// [userId] - Optional argument to restrict returned student work to those
- /// owned by the
- /// student with the specified identifier. The identifier can be one of the
- /// following:
- ///
- /// * the numeric identifier for the user
- /// * the email address of the user
- /// * the string literal `"me"`, indicating the requesting user
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1822,11 +1822,11 @@
/// this method will complete with the same error.
async.Future<ListStudentSubmissionsResponse> list(
core.String courseId, core.String courseWorkId,
- {core.String late,
+ {core.String userId,
+ core.String late,
core.String pageToken,
- core.int pageSize,
core.List<core.String> states,
- core.String userId,
+ core.int pageSize,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1841,20 +1841,20 @@
if (courseWorkId == null) {
throw new core.ArgumentError("Parameter courseWorkId is required.");
}
+ if (userId != null) {
+ _queryParams["userId"] = [userId];
+ }
if (late != null) {
_queryParams["late"] = [late];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (states != null) {
_queryParams["states"] = states;
}
- if (userId != null) {
- _queryParams["userId"] = [userId];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2551,6 +2551,10 @@
/// This identifier can be either the Classroom-assigned identifier or an
/// alias.
///
+ /// [pageSize] - Maximum number of items to return. Zero means no maximum.
+ ///
+ /// The server may return fewer than the specified number of results.
+ ///
/// [pageToken] - nextPageToken
/// value returned from a previous
/// list call, indicating that
@@ -2559,10 +2563,6 @@
/// The list request must be
/// otherwise identical to the one that resulted in this token.
///
- /// [pageSize] - Maximum number of items to return. Zero means no maximum.
- ///
- /// The server may return fewer than the specified number of results.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2574,7 +2574,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<ListStudentsResponse> list(core.String courseId,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2585,12 +2585,12 @@
if (courseId == null) {
throw new core.ArgumentError("Parameter courseId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3109,6 +3109,10 @@
///
/// Request parameters:
///
+ /// [courseId] - Restricts returned invitations to those for a course with the
+ /// specified
+ /// identifier.
+ ///
/// [userId] - Restricts returned invitations to those for a specific user.
/// The identifier
/// can be one of the following:
@@ -3129,10 +3133,6 @@
///
/// The server may return fewer than the specified number of results.
///
- /// [courseId] - Restricts returned invitations to those for a course with the
- /// specified
- /// identifier.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3144,10 +3144,10 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListInvitationsResponse> list(
- {core.String userId,
+ {core.String courseId,
+ core.String userId,
core.String pageToken,
core.int pageSize,
- core.String courseId,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -3156,6 +3156,9 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (courseId != null) {
+ _queryParams["courseId"] = [courseId];
+ }
if (userId != null) {
_queryParams["userId"] = [userId];
}
@@ -3165,9 +3168,6 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (courseId != null) {
- _queryParams["courseId"] = [courseId];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3910,14 +3910,6 @@
/// * the string literal `"-"`, indicating that results should be returned for
/// all students that the requesting user has access to view.
///
- /// [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.
- ///
/// [invitedEmailAddress] - Filter results by the email address that the
/// original invitation was sent
/// to, resulting in this guardian link.
@@ -3929,6 +3921,14 @@
///
/// The server may return fewer than the specified number of results.
///
+ /// [pageToken] - nextPageToken
+ /// value returned from a previous
+ /// list call,
+ /// indicating that the subsequent page of results should be returned.
+ ///
+ /// The list request
+ /// must be otherwise identical to the one that resulted in this token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3940,9 +3940,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<ListGuardiansResponse> list(core.String studentId,
- {core.String pageToken,
- core.String invitedEmailAddress,
+ {core.String invitedEmailAddress,
core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -3954,15 +3954,15 @@
if (studentId == null) {
throw new core.ArgumentError("Parameter studentId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (invitedEmailAddress != null) {
_queryParams["invitedEmailAddress"] = [invitedEmailAddress];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/cloudbuild/v1.dart b/generated/googleapis/lib/cloudbuild/v1.dart
index d52f049..4c47b64 100644
--- a/generated/googleapis/lib/cloudbuild/v1.dart
+++ b/generated/googleapis/lib/cloudbuild/v1.dart
@@ -404,12 +404,12 @@
///
/// [projectId] - ID of the project.
///
- /// [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.
///
+ /// [filter] - The raw filter text to constrain the results.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -421,9 +421,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<ListBuildsResponse> list(core.String projectId,
- {core.String filter,
- core.String pageToken,
+ {core.String pageToken,
core.int pageSize,
+ core.String filter,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -435,15 +435,15 @@
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId 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];
}
@@ -1156,6 +1156,16 @@
/// Optional arguments to enable specific features of builds.
class BuildOptions {
+ /// Requested disk size for the VM that runs the build. Note that this is
+ /// *NOT*
+ /// "disk free"; some of the space will be used by the operating system and
+ /// build utilities. Also note that this is the minimum disk size that will be
+ /// allocated for the build -- the build may run with a larger disk than
+ /// requested. At present, the maximum disk size is 1000GB; builds that
+ /// request
+ /// more than the maximum are rejected with an error.
+ core.String diskSizeGb;
+
/// LogStreamingOption to define build log streaming behavior to Google Cloud
/// Storage.
/// Possible string values are:
@@ -1167,6 +1177,13 @@
/// written when the build is completed.
core.String logStreamingOption;
+ /// GCE VM size to run the build on.
+ /// Possible string values are:
+ /// - "UNSPECIFIED" : Standard machine type.
+ /// - "N1_HIGHCPU_8" : Highcpu machine with 8 CPUs.
+ /// - "N1_HIGHCPU_32" : Highcpu machine with 32 CPUs.
+ core.String machineType;
+
/// Requested verifiability options.
/// Possible string values are:
/// - "NOT_VERIFIED" : Not a verifiable build. (default)
@@ -1187,9 +1204,15 @@
BuildOptions();
BuildOptions.fromJson(core.Map _json) {
+ if (_json.containsKey("diskSizeGb")) {
+ diskSizeGb = _json["diskSizeGb"];
+ }
if (_json.containsKey("logStreamingOption")) {
logStreamingOption = _json["logStreamingOption"];
}
+ if (_json.containsKey("machineType")) {
+ machineType = _json["machineType"];
+ }
if (_json.containsKey("requestedVerifyOption")) {
requestedVerifyOption = _json["requestedVerifyOption"];
}
@@ -1204,9 +1227,15 @@
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json =
new core.Map<core.String, core.Object>();
+ if (diskSizeGb != null) {
+ _json["diskSizeGb"] = diskSizeGb;
+ }
if (logStreamingOption != null) {
_json["logStreamingOption"] = logStreamingOption;
}
+ if (machineType != null) {
+ _json["machineType"] = machineType;
+ }
if (requestedVerifyOption != null) {
_json["requestedVerifyOption"] = requestedVerifyOption;
}
diff --git a/generated/googleapis/lib/clouddebugger/v2.dart b/generated/googleapis/lib/clouddebugger/v2.dart
index 7976dad..16dfe93 100644
--- a/generated/googleapis/lib/clouddebugger/v2.dart
+++ b/generated/googleapis/lib/clouddebugger/v2.dart
@@ -288,16 +288,16 @@
///
/// Request parameters:
///
- /// [includeInactive] - When set to `true`, the result includes all debuggees.
- /// Otherwise, the
- /// result includes only debuggees that are active.
- ///
/// [project] - Project number of a Google Cloud project whose debuggees to
/// list.
///
/// [clientVersion] - The client version making the call.
/// Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).
///
+ /// [includeInactive] - When set to `true`, the result includes all debuggees.
+ /// Otherwise, the
+ /// result includes only debuggees that are active.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -309,9 +309,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.bool includeInactive,
- core.String project,
+ {core.String project,
core.String clientVersion,
+ core.bool includeInactive,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -320,15 +320,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (includeInactive != null) {
- _queryParams["includeInactive"] = ["${includeInactive}"];
- }
if (project != null) {
_queryParams["project"] = [project];
}
if (clientVersion != null) {
_queryParams["clientVersion"] = [clientVersion];
}
+ if (includeInactive != null) {
+ _queryParams["includeInactive"] = ["${includeInactive}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -472,6 +472,15 @@
///
/// [debuggeeId] - ID of the debuggee whose breakpoints to list.
///
+ /// [clientVersion] - The client version making the call.
+ /// Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).
+ ///
+ /// [action_value] - Only breakpoints with the specified action will pass the
+ /// filter.
+ /// Possible string values are:
+ /// - "CAPTURE" : A CAPTURE.
+ /// - "LOG" : A LOG.
+ ///
/// [includeInactive] - When set to `true`, the response includes active and
/// inactive
/// breakpoints. Otherwise, it includes only active breakpoints.
@@ -491,15 +500,6 @@
/// `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which
/// should be called again with the same `wait_token`.
///
- /// [clientVersion] - The client version making the call.
- /// Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).
- ///
- /// [action_value] - Only breakpoints with the specified action will pass the
- /// filter.
- /// Possible string values are:
- /// - "CAPTURE" : A CAPTURE.
- /// - "LOG" : A LOG.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -511,12 +511,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.bool includeInactive,
+ {core.String clientVersion,
+ core.String action_value,
+ core.bool includeInactive,
core.bool includeAllUsers,
core.bool stripResults,
core.String waitToken,
- core.String clientVersion,
- core.String action_value,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -528,6 +528,12 @@
if (debuggeeId == null) {
throw new core.ArgumentError("Parameter debuggeeId is required.");
}
+ if (clientVersion != null) {
+ _queryParams["clientVersion"] = [clientVersion];
+ }
+ if (action_value != null) {
+ _queryParams["action.value"] = [action_value];
+ }
if (includeInactive != null) {
_queryParams["includeInactive"] = ["${includeInactive}"];
}
@@ -540,12 +546,6 @@
if (waitToken != null) {
_queryParams["waitToken"] = [waitToken];
}
- if (clientVersion != null) {
- _queryParams["clientVersion"] = [clientVersion];
- }
- if (action_value != null) {
- _queryParams["action.value"] = [action_value];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/cloudfunctions/v1.dart b/generated/googleapis/lib/cloudfunctions/v1.dart
index f74ca5c..d576c72 100644
--- a/generated/googleapis/lib/cloudfunctions/v1.dart
+++ b/generated/googleapis/lib/cloudfunctions/v1.dart
@@ -97,14 +97,14 @@
///
/// Request parameters:
///
- /// [pageSize] - The standard list page size.
- ///
- /// [filter] - The standard list filter.
- ///
/// [name] - The name of the operation's parent resource.
///
/// [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.
///
@@ -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.int pageSize,
- core.String filter,
- core.String name,
+ {core.String name,
core.String pageToken,
+ core.int pageSize,
+ core.String filter,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -128,18 +128,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (name != null) {
_queryParams["name"] = [name];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -181,12 +181,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.
///
@@ -198,9 +198,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 = null;
var _queryParams = new core.Map();
@@ -212,15 +212,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];
}
@@ -573,13 +573,13 @@
/// location.
/// 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.
///
@@ -591,7 +591,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.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -602,12 +602,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/cloudiot/v1.dart b/generated/googleapis/lib/cloudiot/v1.dart
index bcacc88..0ca1801 100644
--- a/generated/googleapis/lib/cloudiot/v1.dart
+++ b/generated/googleapis/lib/cloudiot/v1.dart
@@ -683,6 +683,15 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/registries/[^/]+$".
///
+ /// [deviceIds] - A list of device string identifiers. If empty, it will
+ /// ignore this field.
+ /// For example, `['device0', 'device12']`. This field cannot hold more than
+ /// 10,000 entries.
+ ///
+ /// [deviceNumIds] - A list of device numerical ids. If empty, it will ignore
+ /// this field. This
+ /// field cannot hold more than 10,000 entries.
+ ///
/// [pageToken] - The value returned by the last `ListDevicesResponse`;
/// indicates
/// that this is a continuation of a prior `ListDevices` call, and
@@ -699,15 +708,6 @@
/// objects than requested, but if there is a non-empty `page_token`, it
/// indicates that more entries are available.
///
- /// [deviceIds] - A list of device string identifiers. If empty, it will
- /// ignore this field.
- /// For example, `['device0', 'device12']`. This field cannot hold more than
- /// 10,000 entries.
- ///
- /// [deviceNumIds] - A list of device numerical ids. If empty, it will ignore
- /// this field. This
- /// field cannot hold more than 10,000 entries.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -719,11 +719,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<ListDevicesResponse> list(core.String parent,
- {core.String pageToken,
+ {core.List<core.String> deviceIds,
+ core.List<core.String> deviceNumIds,
+ core.String pageToken,
core.String fieldMask,
core.int pageSize,
- core.List<core.String> deviceIds,
- core.List<core.String> deviceNumIds,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -735,6 +735,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (deviceIds != null) {
+ _queryParams["deviceIds"] = deviceIds;
+ }
+ if (deviceNumIds != null) {
+ _queryParams["deviceNumIds"] = deviceNumIds;
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -744,12 +750,6 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (deviceIds != null) {
- _queryParams["deviceIds"] = deviceIds;
- }
- if (deviceNumIds != null) {
- _queryParams["deviceNumIds"] = deviceNumIds;
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1576,7 +1576,11 @@
/// The configuration for notification of telemetry events received from the
/// device. All telemetry events that were successfully published by the
/// device and acknowledged by Cloud IoT Core are guaranteed to be
- /// delivered to Cloud Pub/Sub. Only the first configuration is used.
+ /// delivered to Cloud Pub/Sub. Only the first configuration is used. If you
+ /// try to publish a device telemetry event using MQTT without specifying a
+ /// Cloud Pub/Sub topic for the device's registry, the connection closes
+ /// automatically. If you try to do so using an HTTP connection, an error
+ /// is returned.
core.List<EventNotificationConfig> eventNotificationConfigs;
/// The DeviceService (HTTP) configuration for this device registry.
diff --git a/generated/googleapis/lib/cloudkms/v1.dart b/generated/googleapis/lib/cloudkms/v1.dart
index e2bcc98..af141e3 100644
--- a/generated/googleapis/lib/cloudkms/v1.dart
+++ b/generated/googleapis/lib/cloudkms/v1.dart
@@ -779,14 +779,14 @@
/// `projects / * /locations / * /keyRings / * `.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$".
///
- /// [pageToken] - Optional pagination token, returned earlier via
- /// ListCryptoKeysResponse.next_page_token.
- ///
/// [pageSize] - Optional limit on the number of CryptoKeys to include in the
/// response. Further CryptoKeys can subsequently be obtained by
/// including the ListCryptoKeysResponse.next_page_token in a subsequent
/// request. If unspecified, the server will pick an appropriate default.
///
+ /// [pageToken] - Optional pagination token, returned earlier via
+ /// ListCryptoKeysResponse.next_page_token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -798,7 +798,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<ListCryptoKeysResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -809,12 +809,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];
}
@@ -1648,7 +1648,8 @@
/// Output only. The time at which this CryptoKey was created.
core.String createTime;
- /// Labels with user defined metadata.
+ /// Labels with user-defined metadata. For more information, see
+ /// [Labeling Keys](/kms/docs/labeling-keys).
core.Map<core.String, core.String> labels;
/// Output only. The resource name for this CryptoKey in the format
diff --git a/generated/googleapis/lib/cloudresourcemanager/v2beta1.dart b/generated/googleapis/lib/cloudresourcemanager/v2beta1.dart
index 483c68c..5d4563f 100644
--- a/generated/googleapis/lib/cloudresourcemanager/v2beta1.dart
+++ b/generated/googleapis/lib/cloudresourcemanager/v2beta1.dart
@@ -281,11 +281,6 @@
///
/// Request parameters:
///
- /// [pageToken] - A pagination token returned from a previous call to
- /// `ListFolders`
- /// that indicates where this listing should continue from.
- /// This field is optional.
- ///
/// [pageSize] - The maximum number of Folders to return in the response.
/// This field is optional.
///
@@ -300,6 +295,11 @@
/// should
/// be returned.
///
+ /// [pageToken] - A pagination token returned from a previous call to
+ /// `ListFolders`
+ /// that indicates where this listing should continue from.
+ /// This field is optional.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -311,10 +311,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.String pageToken,
- core.int pageSize,
+ {core.int pageSize,
core.String parent,
core.bool showDeleted,
+ core.String pageToken,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -323,9 +323,6 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
@@ -335,6 +332,9 @@
if (showDeleted != null) {
_queryParams["showDeleted"] = ["${showDeleted}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/cloudtrace/v1.dart b/generated/googleapis/lib/cloudtrace/v1.dart
index 3863162..40608f3 100644
--- a/generated/googleapis/lib/cloudtrace/v1.dart
+++ b/generated/googleapis/lib/cloudtrace/v1.dart
@@ -204,14 +204,14 @@
/// data was
/// collected from the application.
///
- /// [startTime] - Start of the time interval (inclusive) during which the
- /// trace data was
- /// collected from the application.
- ///
/// [pageToken] - Token identifying the page of results to return. If
/// provided, use the
/// value of the `next_page_token` field from a previous request. Optional.
///
+ /// [startTime] - Start of the time interval (inclusive) during which the
+ /// trace data was
+ /// collected from the application.
+ ///
/// [pageSize] - Maximum number of traces to return. If not specified or <= 0,
/// the
/// implementation selects a reasonable value. The implementation may
@@ -253,8 +253,8 @@
async.Future<ListTracesResponse> list(core.String projectId,
{core.String filter,
core.String endTime,
- core.String startTime,
core.String pageToken,
+ core.String startTime,
core.int pageSize,
core.String view,
core.String orderBy,
@@ -275,12 +275,12 @@
if (endTime != null) {
_queryParams["endTime"] = [endTime];
}
- if (startTime != null) {
- _queryParams["startTime"] = [startTime];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (startTime != null) {
+ _queryParams["startTime"] = [startTime];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
diff --git a/generated/googleapis/lib/compute/v1.dart b/generated/googleapis/lib/compute/v1.dart
index c880eb7..d8cb616 100644
--- a/generated/googleapis/lib/compute/v1.dart
+++ b/generated/googleapis/lib/compute/v1.dart
@@ -7320,8 +7320,8 @@
return _response.then((data) => new Operation.fromJson(data));
}
- /// Retrieves the list of private images available to the specified project.
- /// Private images are images you create that belong to your project. This
+ /// Retrieves the list of custom images available to the specified project.
+ /// Custom images are images you create that belong to your project. This
/// method does not get any images that belong to other projects, including
/// publicly-available images, like Debian 8. If you want to get a list of
/// publicly-available images, use this method to make a request to the
@@ -26101,7 +26101,8 @@
/// The static IP address represented by this resource.
core.String address;
- /// The type of address to reserve. If unspecified, defaults to EXTERNAL.
+ /// The type of address to reserve, either INTERNAL or EXTERNAL. If
+ /// unspecified, defaults to EXTERNAL.
/// Possible string values are:
/// - "EXTERNAL"
/// - "INTERNAL"
@@ -27026,16 +27027,16 @@
///
/// projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD
///
- /// To create a disk with a private image that you created, specify the image
+ /// To create a disk with a custom image that you created, specify the image
/// name in the following format:
///
- /// global/images/my-private-image
+ /// global/images/my-custom-image
///
- /// You can also specify a private image by its image family, which returns
- /// the latest version of the image in that family. Replace the image name
- /// with family/family-name:
+ /// You can also specify a custom image by its image family, which returns the
+ /// latest version of the image in that family. Replace the image name with
+ /// family/family-name:
///
- /// global/images/family/my-private-family
+ /// global/images/family/my-image-family
///
/// If the source image is deleted later, this field will not be set.
core.String sourceImage;
@@ -30354,16 +30355,16 @@
///
/// projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD
///
- /// To create a disk with a private image that you created, specify the image
+ /// To create a disk with a custom image that you created, specify the image
/// name in the following format:
///
- /// global/images/my-private-image
+ /// global/images/my-custom-image
///
- /// You can also specify a private image by its image family, which returns
- /// the latest version of the image in that family. Replace the image name
- /// with family/family-name:
+ /// You can also specify a custom image by its image family, which returns the
+ /// latest version of the image in that family. Replace the image name with
+ /// family/family-name:
///
- /// global/images/family/my-private-family
+ /// global/images/family/my-image-family
core.String sourceImage;
/// The customer-supplied encryption key of the source image. Required if the
@@ -38407,14 +38408,14 @@
}
}
-/// Protocol definitions for Mixer API to support Interconnect. Next available
-/// tag: 25
+/// Represents an Interconnects resource. The Interconnects resource is a
+/// dedicated connection between Google's network and your on-premises network.
+/// For more information, see the Dedicated overview page.
class Interconnect {
- /// Administrative status of the interconnect. When this is set to ?true?, the
- /// Interconnect is functional and may carry traffic (assuming there are
- /// functional InterconnectAttachments and other requirements are satisfied).
- /// When set to ?false?, no packets will be carried over this Interconnect and
- /// no BGP routes will be exchanged over it. By default, it is set to ?true?.
+ /// Administrative status of the interconnect. When this is set to true, the
+ /// Interconnect is functional and can carry traffic. When set to false, no
+ /// packets can be carried over the interconnect and no BGP routes are
+ /// exchanged over it. By default, the status is set to true.
core.bool adminEnabled;
/// [Output Only] List of CircuitInfo objects, that describe the individual
@@ -38451,7 +38452,8 @@
/// to use this Interconnect.
core.List<core.String> interconnectAttachments;
- ///
+ /// Type of interconnect. Note that "IT_PRIVATE" has been deprecated in favor
+ /// of "DEDICATED"
/// Possible string values are:
/// - "DEDICATED"
/// - "IT_PRIVATE"
@@ -38461,7 +38463,9 @@
/// interconnects.
core.String kind;
- ///
+ /// Type of link requested. This field indicates speed of each of the links in
+ /// the bundle, not the entire bundle. Only 10G per link is allowed for a
+ /// dedicated interconnect. Options: Ethernet_10G_LR
/// Possible string values are:
/// - "LINK_TYPE_ETHERNET_10G_LR"
core.String linkType;
@@ -38488,10 +38492,8 @@
/// [Output Only] The current status of whether or not this Interconnect is
/// functional.
/// Possible string values are:
- /// - "ACTIVE"
/// - "OS_ACTIVE"
/// - "OS_UNPROVISIONED"
- /// - "UNPROVISIONED"
core.String operationalStatus;
/// [Output Only] IP address configured on the customer side of the
@@ -38653,8 +38655,8 @@
}
}
-/// Protocol definitions for Mixer API to support InterconnectAttachment. Next
-/// available tag: 23
+/// Represents an InterconnectAttachment (VLAN attachment) resource. For more
+/// information, see Creating VLAN Attachments.
class InterconnectAttachment {
/// [Output Only] IPv4 address + prefix length to be configured on Cloud
/// Router Interface for this interconnect attachment.
@@ -38667,8 +38669,7 @@
/// customer router subinterface for this interconnect attachment.
core.String customerRouterIpAddress;
- /// An optional description of this resource. Provide this property when you
- /// create the resource.
+ /// An optional description of this resource.
core.String description;
/// [Output Only] Google reference ID, to be used when raising support tickets
@@ -38699,15 +38700,13 @@
/// [Output Only] The current status of whether or not this interconnect
/// attachment is functional.
/// Possible string values are:
- /// - "ACTIVE"
/// - "OS_ACTIVE"
/// - "OS_UNPROVISIONED"
- /// - "UNPROVISIONED"
core.String operationalStatus;
- /// [Output Only] Information specific to a Private InterconnectAttachment.
- /// Only populated if the interconnect that this is attached is of type
- /// IT_PRIVATE.
+ /// [Output Only] Information specific to an InterconnectAttachment. This
+ /// property is populated if the interconnect that this is attached to is of
+ /// type DEDICATED.
InterconnectAttachmentPrivateInfo privateInterconnectInfo;
/// [Output Only] URL of the region where the regional interconnect attachment
@@ -39194,8 +39193,8 @@
}
}
-/// Private information for an interconnect attachment when this belongs to an
-/// interconnect of type IT_PRIVATE.
+/// Information for an interconnect attachment when this belongs to an
+/// interconnect of type DEDICATED.
class InterconnectAttachmentPrivateInfo {
/// [Output Only] 802.1q encapsulation tag to be used for traffic between
/// Google and the customer, going to and from this network and region.
@@ -39368,8 +39367,7 @@
/// CircuitInfo objects are created by Google, so all fields are output only.
/// Next id: 4
class InterconnectCircuitInfo {
- /// Customer-side demarc ID for this circuit. This will only be set if it was
- /// provided by the Customer to Google during circuit turn-up.
+ /// Customer-side demarc ID for this circuit.
core.String customerDemarcId;
/// Google-assigned unique ID for this circuit. Assigned at circuit turn-up.
@@ -39591,24 +39589,25 @@
}
}
-/// Protocol definitions for Mixer API to support InterconnectLocation.
+/// Represents an InterconnectLocations resource. The InterconnectLocations
+/// resource describes the locations where you can connect to Google's networks.
+/// For more information, see Colocation Facilities.
class InterconnectLocation {
/// [Output Only] The postal address of the Point of Presence, each line in
/// the address is separated by a newline character.
core.String address;
- /// Availability zone for this location. Within a city, maintenance will not
- /// be simultaneously scheduled in more than one availability zone. Example:
- /// "zone1" or "zone2".
+ /// [Output Only] Availability zone for this location. Within a metropolitan
+ /// area (metro), maintenance will not be simultaneously scheduled in more
+ /// than one availability zone. Example: "zone1" or "zone2".
core.String availabilityZone;
- /// City designator used by the Interconnect UI to locate this
- /// InterconnectLocation within the Continent. For example: "Chicago, IL",
- /// "Amsterdam, Netherlands".
+ /// [Output Only] Metropolitan area designator that indicates which city an
+ /// interconnect is located. For example: "Chicago, IL", "Amsterdam,
+ /// Netherlands".
core.String city;
- /// Continent for this location. Used by the location picker in the
- /// Interconnect UI.
+ /// [Output Only] Continent for this location.
/// Possible string values are:
/// - "AFRICA"
/// - "ASIA_PAC"
@@ -39995,11 +39994,14 @@
/// that will be affected.
core.List<core.String> affectedCircuits;
- /// Short user-visible description of the purpose of the outage.
+ /// A description about the purpose of the outage.
core.String description;
+
+ /// Scheduled end time for the outage (milliseconds since Unix epoch).
core.String endTime;
- ///
+ /// Form this outage is expected to take. Note that the "IT_" versions of this
+ /// enum have been deprecated in favor of the unprefixed values.
/// Possible string values are:
/// - "IT_OUTAGE"
/// - "IT_PARTIAL_OUTAGE"
@@ -40010,17 +40012,18 @@
/// Unique identifier for this outage notification.
core.String name;
- ///
+ /// The party that generated this notification. Note that "NSRC_GOOGLE" has
+ /// been deprecated in favor of "GOOGLE"
/// Possible string values are:
/// - "GOOGLE"
/// - "NSRC_GOOGLE"
core.String source;
- /// Scheduled start and end times for the outage (milliseconds since Unix
- /// epoch).
+ /// Scheduled start time for the outage (milliseconds since Unix epoch).
core.String startTime;
- ///
+ /// State of this notification. Note that the "NS_" versions of this enum have
+ /// been deprecated in favor of the unprefixed values.
/// Possible string values are:
/// - "ACTIVE"
/// - "CANCELLED"
@@ -43071,6 +43074,7 @@
/// - "INSTANCE_GROUP_MANAGERS"
/// - "INSTANCE_TEMPLATES"
/// - "INTERCONNECTS"
+ /// - "INTERNAL_ADDRESSES"
/// - "IN_USE_ADDRESSES"
/// - "LOCAL_SSD_TOTAL_GB"
/// - "NETWORKS"
@@ -43078,6 +43082,8 @@
/// - "NVIDIA_P100_GPUS"
/// - "PREEMPTIBLE_CPUS"
/// - "PREEMPTIBLE_LOCAL_SSD_GB"
+ /// - "PREEMPTIBLE_NVIDIA_K80_GPUS"
+ /// - "PREEMPTIBLE_NVIDIA_P100_GPUS"
/// - "REGIONAL_AUTOSCALERS"
/// - "REGIONAL_INSTANCE_GROUP_MANAGERS"
/// - "ROUTERS"
diff --git a/generated/googleapis/lib/container/v1.dart b/generated/googleapis/lib/container/v1.dart
index 959e9dc..829b787 100644
--- a/generated/googleapis/lib/container/v1.dart
+++ b/generated/googleapis/lib/container/v1.dart
@@ -2395,9 +2395,7 @@
/// auto-generated name. Do not use this and a node_pool at the same time.
core.int initialNodeCount;
- /// [Output only] The resource URLs of [instance
- /// groups](/compute/docs/instance-groups/) associated with this
- /// cluster.
+ /// Deprecated. Use node_pools.instance_group_urls.
core.List<core.String> instanceGroupUrls;
/// Configuration for cluster IP allocation.
@@ -3849,9 +3847,9 @@
/// firewall and routes quota.
core.int initialNodeCount;
- /// [Output only] The resource URLs of [instance
- /// groups](/compute/docs/instance-groups/) associated with this
- /// node pool.
+ /// [Output only] The resource URLs of the [managed instance
+ /// groups](/compute/docs/instance-groups/creating-groups-of-managed-instances)
+ /// associated with this node pool.
core.List<core.String> instanceGroupUrls;
/// NodeManagement configuration for this NodePool.
diff --git a/generated/googleapis/lib/content/v2.dart b/generated/googleapis/lib/content/v2.dart
index 7152a50..f00e9ce 100644
--- a/generated/googleapis/lib/content/v2.dart
+++ b/generated/googleapis/lib/content/v2.dart
@@ -91,8 +91,9 @@
///
/// Request parameters:
///
- /// [merchantId] - The ID of the managing account. If this account is not a
- /// multi-client account, then this parameter must be the same as accountId.
+ /// [merchantId] - The ID of the managing account. If this parameter is not
+ /// the same as accountId, then this account must be a multi-client account
+ /// and accountId must be the ID of a sub-account of this account.
///
/// [accountId] - The ID of the account whose website is claimed.
///
@@ -205,7 +206,7 @@
/// Request parameters:
///
/// [merchantId] - The ID of the managing account. This must be a multi-client
- /// account.
+ /// account, and accountId must be the ID of a sub-account of this account.
///
/// [accountId] - The ID of the account.
///
@@ -266,8 +267,9 @@
///
/// Request parameters:
///
- /// [merchantId] - The ID of the managing account. If this account is not a
- /// multi-client account, then this parameter must be the same as accountId.
+ /// [merchantId] - The ID of the managing account. If this parameter is not
+ /// the same as accountId, then this account must be a multi-client account
+ /// and accountId must be the ID of a sub-account of this account.
///
/// [accountId] - The ID of the account.
///
@@ -428,8 +430,9 @@
///
/// Request parameters:
///
- /// [merchantId] - The ID of the managing account. If this account is not a
- /// multi-client account, then this parameter must be the same as accountId.
+ /// [merchantId] - The ID of the managing account. If this parameter is not
+ /// the same as accountId, then this account must be a multi-client account
+ /// and accountId must be the ID of a sub-account of this account.
///
/// [accountId] - The ID of the account.
///
@@ -490,8 +493,9 @@
///
/// Request parameters:
///
- /// [merchantId] - The ID of the managing account. If this account is not a
- /// multi-client account, then this parameter must be the same as accountId.
+ /// [merchantId] - The ID of the managing account. If this parameter is not
+ /// the same as accountId, then this account must be a multi-client account
+ /// and accountId must be the ID of a sub-account of this account.
///
/// [accountId] - The ID of the account.
///
@@ -599,8 +603,9 @@
///
/// Request parameters:
///
- /// [merchantId] - The ID of the managing account. If this account is not a
- /// multi-client account, then this parameter must be the same as accountId.
+ /// [merchantId] - The ID of the managing account. If this parameter is not
+ /// the same as accountId, then this account must be a multi-client account
+ /// and accountId must be the ID of a sub-account of this account.
///
/// [accountId] - The ID of the account.
///
@@ -764,8 +769,9 @@
///
/// Request parameters:
///
- /// [merchantId] - The ID of the managing account. If this account is not a
- /// multi-client account, then this parameter must be the same as accountId.
+ /// [merchantId] - The ID of the managing account. If this parameter is not
+ /// the same as accountId, then this account must be a multi-client account
+ /// and accountId must be the ID of a sub-account of this account.
///
/// [accountId] - The ID of the account for which to get/update account tax
/// settings.
@@ -875,8 +881,9 @@
///
/// Request parameters:
///
- /// [merchantId] - The ID of the managing account. If this account is not a
- /// multi-client account, then this parameter must be the same as accountId.
+ /// [merchantId] - The ID of the managing account. If this parameter is not
+ /// the same as accountId, then this account must be a multi-client account
+ /// and accountId must be the ID of a sub-account of this account.
///
/// [accountId] - The ID of the account for which to get/update account tax
/// settings.
@@ -938,8 +945,9 @@
///
/// Request parameters:
///
- /// [merchantId] - The ID of the managing account. If this account is not a
- /// multi-client account, then this parameter must be the same as accountId.
+ /// [merchantId] - The ID of the managing account. If this parameter is not
+ /// the same as accountId, then this account must be a multi-client account
+ /// and accountId must be the ID of a sub-account of this account.
///
/// [accountId] - The ID of the account for which to get/update account tax
/// settings.
@@ -3147,8 +3155,9 @@
///
/// Request parameters:
///
- /// [merchantId] - The ID of the managing account. If this account is not a
- /// multi-client account, then this parameter must be the same as accountId.
+ /// [merchantId] - The ID of the managing account. If this parameter is not
+ /// the same as accountId, then this account must be a multi-client account
+ /// and accountId must be the ID of a sub-account of this account.
///
/// [accountId] - The ID of the account for which to get/update shipping
/// settings.
@@ -3305,8 +3314,9 @@
///
/// Request parameters:
///
- /// [merchantId] - The ID of the managing account. If this account is not a
- /// multi-client account, then this parameter must be the same as accountId.
+ /// [merchantId] - The ID of the managing account. If this parameter is not
+ /// the same as accountId, then this account must be a multi-client account
+ /// and accountId must be the ID of a sub-account of this account.
///
/// [accountId] - The ID of the account for which to get/update shipping
/// settings.
@@ -3368,8 +3378,9 @@
///
/// Request parameters:
///
- /// [merchantId] - The ID of the managing account. If this account is not a
- /// multi-client account, then this parameter must be the same as accountId.
+ /// [merchantId] - The ID of the managing account. If this parameter is not
+ /// the same as accountId, then this account must be a multi-client account
+ /// and accountId must be the ID of a sub-account of this account.
///
/// [accountId] - The ID of the account for which to get/update shipping
/// settings.
@@ -3438,6 +3449,10 @@
/// or to cancel a link request, remove it from the list.
core.List<AccountAdwordsLink> adwordsLinks;
+ /// The GMB account which is linked or in the process of being linked with the
+ /// Merchant Center accounnt.
+ AccountGoogleMyBusinessLink googleMyBusinessLink;
+
/// Merchant Center account ID.
core.String id;
@@ -3479,6 +3494,10 @@
.map((value) => new AccountAdwordsLink.fromJson(value))
.toList();
}
+ if (_json.containsKey("googleMyBusinessLink")) {
+ googleMyBusinessLink = new AccountGoogleMyBusinessLink.fromJson(
+ _json["googleMyBusinessLink"]);
+ }
if (_json.containsKey("id")) {
id = _json["id"];
}
@@ -3519,6 +3538,9 @@
_json["adwordsLinks"] =
adwordsLinks.map((value) => (value).toJson()).toList();
}
+ if (googleMyBusinessLink != null) {
+ _json["googleMyBusinessLink"] = (googleMyBusinessLink).toJson();
+ }
if (id != null) {
_json["id"] = id;
}
@@ -3588,6 +3610,38 @@
}
}
+class AccountGoogleMyBusinessLink {
+ /// The GMB email address.
+ core.String gmbEmail;
+
+ /// Status of the link between this Merchant Center account and the GMB
+ /// account.
+ core.String status;
+
+ AccountGoogleMyBusinessLink();
+
+ AccountGoogleMyBusinessLink.fromJson(core.Map _json) {
+ if (_json.containsKey("gmbEmail")) {
+ gmbEmail = _json["gmbEmail"];
+ }
+ 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 (gmbEmail != null) {
+ _json["gmbEmail"] = gmbEmail;
+ }
+ if (status != null) {
+ _json["status"] = status;
+ }
+ return _json;
+ }
+}
+
class AccountIdentifier {
/// The aggregator ID, set for aggregators and subaccounts (in that case, it
/// represents the aggregator of the subaccount).
@@ -7809,26 +7863,20 @@
/// Acceptable values are:
/// - "gsx"
/// - "ups"
- /// - "united parcel service"
/// - "usps"
- /// - "united states postal service"
/// - "fedex"
/// - "dhl"
/// - "ecourier"
/// - "cxt"
/// - "google"
- /// - "on trac"
/// - "ontrac"
- /// - "on-trac"
- /// - "on_trac"
- /// - "delvic"
+ /// - "emsy"
+ /// - "ont"
+ /// - "deliv"
/// - "dynamex"
/// - "lasership"
- /// - "smartpost"
- /// - "fedex smartpost"
/// - "mpx"
/// - "uds"
- /// - "united delivery service"
core.String carrier;
/// Date on which the shipment has been created, in ISO 8601 format.
@@ -7911,6 +7959,10 @@
/// required.
core.String lineItemId;
+ /// The ID of the product to ship. This is the REST ID used in the products
+ /// service. Either lineItemId or productId is required.
+ core.String productId;
+
/// The quantity that is shipped.
core.int quantity;
@@ -7920,6 +7972,9 @@
if (_json.containsKey("lineItemId")) {
lineItemId = _json["lineItemId"];
}
+ if (_json.containsKey("productId")) {
+ productId = _json["productId"];
+ }
if (_json.containsKey("quantity")) {
quantity = _json["quantity"];
}
@@ -7931,6 +7986,9 @@
if (lineItemId != null) {
_json["lineItemId"] = lineItemId;
}
+ if (productId != null) {
+ _json["productId"] = productId;
+ }
if (quantity != null) {
_json["quantity"] = quantity;
}
@@ -8021,6 +8079,14 @@
/// The amount must not be larger than the net amount left on the order.
Price amount;
+ /// Amount to refund for the cancelation. Optional. If not set, Google will
+ /// calculate the default based on the price and tax of the items involved.
+ /// The amount must not be larger than the net amount left on the order.
+ Price amountPretax;
+
+ /// Tax amount that correspond to cancellation amount in amountPretax.
+ Price amountTax;
+
/// The ID of the line item to cancel. Either lineItemId or productId is
/// required.
core.String lineItemId;
@@ -8028,6 +8094,10 @@
/// The ID of the operation. Unique across all operations for a given order.
core.String operationId;
+ /// The ID of the product to cancel. This is the REST ID used in the products
+ /// service. Either lineItemId or productId is required.
+ core.String productId;
+
/// The quantity to cancel.
core.int quantity;
@@ -8043,12 +8113,21 @@
if (_json.containsKey("amount")) {
amount = new Price.fromJson(_json["amount"]);
}
+ if (_json.containsKey("amountPretax")) {
+ amountPretax = new Price.fromJson(_json["amountPretax"]);
+ }
+ if (_json.containsKey("amountTax")) {
+ amountTax = new Price.fromJson(_json["amountTax"]);
+ }
if (_json.containsKey("lineItemId")) {
lineItemId = _json["lineItemId"];
}
if (_json.containsKey("operationId")) {
operationId = _json["operationId"];
}
+ if (_json.containsKey("productId")) {
+ productId = _json["productId"];
+ }
if (_json.containsKey("quantity")) {
quantity = _json["quantity"];
}
@@ -8066,12 +8145,21 @@
if (amount != null) {
_json["amount"] = (amount).toJson();
}
+ if (amountPretax != null) {
+ _json["amountPretax"] = (amountPretax).toJson();
+ }
+ if (amountTax != null) {
+ _json["amountTax"] = (amountTax).toJson();
+ }
if (lineItemId != null) {
_json["lineItemId"] = lineItemId;
}
if (operationId != null) {
_json["operationId"] = operationId;
}
+ if (productId != null) {
+ _json["productId"] = productId;
+ }
if (quantity != null) {
_json["quantity"] = quantity;
}
@@ -8444,10 +8532,22 @@
/// The amount must not be larger than the net amount left on the order.
Price amount;
+ /// Amount to refund for the cancelation. Optional. If not set, Google will
+ /// calculate the default based on the price and tax of the items involved.
+ /// The amount must not be larger than the net amount left on the order.
+ Price amountPretax;
+
+ /// Tax amount that correspond to cancellation amount in amountPretax.
+ Price amountTax;
+
/// The ID of the line item to cancel. Either lineItemId or productId is
/// required.
core.String lineItemId;
+ /// The ID of the product to cancel. This is the REST ID used in the products
+ /// service. Either lineItemId or productId is required.
+ core.String productId;
+
/// The quantity to cancel.
core.int quantity;
@@ -8463,9 +8563,18 @@
if (_json.containsKey("amount")) {
amount = new Price.fromJson(_json["amount"]);
}
+ if (_json.containsKey("amountPretax")) {
+ amountPretax = new Price.fromJson(_json["amountPretax"]);
+ }
+ if (_json.containsKey("amountTax")) {
+ amountTax = new Price.fromJson(_json["amountTax"]);
+ }
if (_json.containsKey("lineItemId")) {
lineItemId = _json["lineItemId"];
}
+ if (_json.containsKey("productId")) {
+ productId = _json["productId"];
+ }
if (_json.containsKey("quantity")) {
quantity = _json["quantity"];
}
@@ -8483,9 +8592,18 @@
if (amount != null) {
_json["amount"] = (amount).toJson();
}
+ if (amountPretax != null) {
+ _json["amountPretax"] = (amountPretax).toJson();
+ }
+ if (amountTax != null) {
+ _json["amountTax"] = (amountTax).toJson();
+ }
if (lineItemId != null) {
_json["lineItemId"] = lineItemId;
}
+ if (productId != null) {
+ _json["productId"] = productId;
+ }
if (quantity != null) {
_json["quantity"] = quantity;
}
@@ -8503,6 +8621,13 @@
/// The amount that is refunded.
Price amount;
+ /// The amount that is refunded. Either amount or amountPretax and amountTax
+ /// should be filled.
+ Price amountPretax;
+
+ /// Tax amount that correspond to refund amount in amountPretax.
+ Price amountTax;
+
/// The reason for the refund.
core.String reason;
@@ -8515,6 +8640,12 @@
if (_json.containsKey("amount")) {
amount = new Price.fromJson(_json["amount"]);
}
+ if (_json.containsKey("amountPretax")) {
+ amountPretax = new Price.fromJson(_json["amountPretax"]);
+ }
+ if (_json.containsKey("amountTax")) {
+ amountTax = new Price.fromJson(_json["amountTax"]);
+ }
if (_json.containsKey("reason")) {
reason = _json["reason"];
}
@@ -8529,6 +8660,12 @@
if (amount != null) {
_json["amount"] = (amount).toJson();
}
+ if (amountPretax != null) {
+ _json["amountPretax"] = (amountPretax).toJson();
+ }
+ if (amountTax != null) {
+ _json["amountTax"] = (amountTax).toJson();
+ }
if (reason != null) {
_json["reason"] = reason;
}
@@ -8544,6 +8681,10 @@
/// required.
core.String lineItemId;
+ /// The ID of the product to return. This is the REST ID used in the products
+ /// service. Either lineItemId or productId is required.
+ core.String productId;
+
/// The quantity to return.
core.int quantity;
@@ -8559,6 +8700,9 @@
if (_json.containsKey("lineItemId")) {
lineItemId = _json["lineItemId"];
}
+ if (_json.containsKey("productId")) {
+ productId = _json["productId"];
+ }
if (_json.containsKey("quantity")) {
quantity = _json["quantity"];
}
@@ -8576,6 +8720,9 @@
if (lineItemId != null) {
_json["lineItemId"] = lineItemId;
}
+ if (productId != null) {
+ _json["productId"] = productId;
+ }
if (quantity != null) {
_json["quantity"] = quantity;
}
@@ -8955,6 +9102,13 @@
/// The amount that is refunded.
Price amount;
+ /// The amount that is refunded. Either amount or amountPretax and amountTax
+ /// should be filled.
+ Price amountPretax;
+
+ /// Tax amount that correspond to refund amount in amountPretax.
+ Price amountTax;
+
/// The ID of the operation. Unique across all operations for a given order.
core.String operationId;
@@ -8970,6 +9124,12 @@
if (_json.containsKey("amount")) {
amount = new Price.fromJson(_json["amount"]);
}
+ if (_json.containsKey("amountPretax")) {
+ amountPretax = new Price.fromJson(_json["amountPretax"]);
+ }
+ if (_json.containsKey("amountTax")) {
+ amountTax = new Price.fromJson(_json["amountTax"]);
+ }
if (_json.containsKey("operationId")) {
operationId = _json["operationId"];
}
@@ -8987,6 +9147,12 @@
if (amount != null) {
_json["amount"] = (amount).toJson();
}
+ if (amountPretax != null) {
+ _json["amountPretax"] = (amountPretax).toJson();
+ }
+ if (amountTax != null) {
+ _json["amountTax"] = (amountTax).toJson();
+ }
if (operationId != null) {
_json["operationId"] = operationId;
}
@@ -9040,6 +9206,10 @@
/// The ID of the operation. Unique across all operations for a given order.
core.String operationId;
+ /// The ID of the product to return. This is the REST ID used in the products
+ /// service. Either lineItemId or productId is required.
+ core.String productId;
+
/// The quantity to return.
core.int quantity;
@@ -9058,6 +9228,9 @@
if (_json.containsKey("operationId")) {
operationId = _json["operationId"];
}
+ if (_json.containsKey("productId")) {
+ productId = _json["productId"];
+ }
if (_json.containsKey("quantity")) {
quantity = _json["quantity"];
}
@@ -9078,6 +9251,9 @@
if (operationId != null) {
_json["operationId"] = operationId;
}
+ if (productId != null) {
+ _json["productId"] = productId;
+ }
if (quantity != null) {
_json["quantity"] = quantity;
}
@@ -11860,6 +12036,10 @@
/// Line items that are ordered. At least one line item must be provided.
core.List<TestOrderLineItem> lineItems;
+ /// Determines if test order must be pulled by merchant or pushed to merchant
+ /// via push integration.
+ core.String notificationMode;
+
/// The details of the payment method.
TestOrderPaymentMethod paymentMethod;
@@ -11893,6 +12073,9 @@
.map((value) => new TestOrderLineItem.fromJson(value))
.toList();
}
+ if (_json.containsKey("notificationMode")) {
+ notificationMode = _json["notificationMode"];
+ }
if (_json.containsKey("paymentMethod")) {
paymentMethod =
new TestOrderPaymentMethod.fromJson(_json["paymentMethod"]);
@@ -11928,6 +12111,9 @@
if (lineItems != null) {
_json["lineItems"] = lineItems.map((value) => (value).toJson()).toList();
}
+ if (notificationMode != null) {
+ _json["notificationMode"] = notificationMode;
+ }
if (paymentMethod != null) {
_json["paymentMethod"] = (paymentMethod).toJson();
}
diff --git a/generated/googleapis/lib/content/v2sandbox.dart b/generated/googleapis/lib/content/v2sandbox.dart
index d6d07bc..3a3aba0 100644
--- a/generated/googleapis/lib/content/v2sandbox.dart
+++ b/generated/googleapis/lib/content/v2sandbox.dart
@@ -2263,26 +2263,20 @@
/// Acceptable values are:
/// - "gsx"
/// - "ups"
- /// - "united parcel service"
/// - "usps"
- /// - "united states postal service"
/// - "fedex"
/// - "dhl"
/// - "ecourier"
/// - "cxt"
/// - "google"
- /// - "on trac"
/// - "ontrac"
- /// - "on-trac"
- /// - "on_trac"
- /// - "delvic"
+ /// - "emsy"
+ /// - "ont"
+ /// - "deliv"
/// - "dynamex"
/// - "lasership"
- /// - "smartpost"
- /// - "fedex smartpost"
/// - "mpx"
/// - "uds"
- /// - "united delivery service"
core.String carrier;
/// Date on which the shipment has been created, in ISO 8601 format.
@@ -2365,6 +2359,10 @@
/// required.
core.String lineItemId;
+ /// The ID of the product to ship. This is the REST ID used in the products
+ /// service. Either lineItemId or productId is required.
+ core.String productId;
+
/// The quantity that is shipped.
core.int quantity;
@@ -2374,6 +2372,9 @@
if (_json.containsKey("lineItemId")) {
lineItemId = _json["lineItemId"];
}
+ if (_json.containsKey("productId")) {
+ productId = _json["productId"];
+ }
if (_json.containsKey("quantity")) {
quantity = _json["quantity"];
}
@@ -2385,6 +2386,9 @@
if (lineItemId != null) {
_json["lineItemId"] = lineItemId;
}
+ if (productId != null) {
+ _json["productId"] = productId;
+ }
if (quantity != null) {
_json["quantity"] = quantity;
}
@@ -2475,6 +2479,14 @@
/// The amount must not be larger than the net amount left on the order.
Price amount;
+ /// Amount to refund for the cancelation. Optional. If not set, Google will
+ /// calculate the default based on the price and tax of the items involved.
+ /// The amount must not be larger than the net amount left on the order.
+ Price amountPretax;
+
+ /// Tax amount that correspond to cancellation amount in amountPretax.
+ Price amountTax;
+
/// The ID of the line item to cancel. Either lineItemId or productId is
/// required.
core.String lineItemId;
@@ -2482,6 +2494,10 @@
/// The ID of the operation. Unique across all operations for a given order.
core.String operationId;
+ /// The ID of the product to cancel. This is the REST ID used in the products
+ /// service. Either lineItemId or productId is required.
+ core.String productId;
+
/// The quantity to cancel.
core.int quantity;
@@ -2497,12 +2513,21 @@
if (_json.containsKey("amount")) {
amount = new Price.fromJson(_json["amount"]);
}
+ if (_json.containsKey("amountPretax")) {
+ amountPretax = new Price.fromJson(_json["amountPretax"]);
+ }
+ if (_json.containsKey("amountTax")) {
+ amountTax = new Price.fromJson(_json["amountTax"]);
+ }
if (_json.containsKey("lineItemId")) {
lineItemId = _json["lineItemId"];
}
if (_json.containsKey("operationId")) {
operationId = _json["operationId"];
}
+ if (_json.containsKey("productId")) {
+ productId = _json["productId"];
+ }
if (_json.containsKey("quantity")) {
quantity = _json["quantity"];
}
@@ -2520,12 +2545,21 @@
if (amount != null) {
_json["amount"] = (amount).toJson();
}
+ if (amountPretax != null) {
+ _json["amountPretax"] = (amountPretax).toJson();
+ }
+ if (amountTax != null) {
+ _json["amountTax"] = (amountTax).toJson();
+ }
if (lineItemId != null) {
_json["lineItemId"] = lineItemId;
}
if (operationId != null) {
_json["operationId"] = operationId;
}
+ if (productId != null) {
+ _json["productId"] = productId;
+ }
if (quantity != null) {
_json["quantity"] = quantity;
}
@@ -2898,10 +2932,22 @@
/// The amount must not be larger than the net amount left on the order.
Price amount;
+ /// Amount to refund for the cancelation. Optional. If not set, Google will
+ /// calculate the default based on the price and tax of the items involved.
+ /// The amount must not be larger than the net amount left on the order.
+ Price amountPretax;
+
+ /// Tax amount that correspond to cancellation amount in amountPretax.
+ Price amountTax;
+
/// The ID of the line item to cancel. Either lineItemId or productId is
/// required.
core.String lineItemId;
+ /// The ID of the product to cancel. This is the REST ID used in the products
+ /// service. Either lineItemId or productId is required.
+ core.String productId;
+
/// The quantity to cancel.
core.int quantity;
@@ -2917,9 +2963,18 @@
if (_json.containsKey("amount")) {
amount = new Price.fromJson(_json["amount"]);
}
+ if (_json.containsKey("amountPretax")) {
+ amountPretax = new Price.fromJson(_json["amountPretax"]);
+ }
+ if (_json.containsKey("amountTax")) {
+ amountTax = new Price.fromJson(_json["amountTax"]);
+ }
if (_json.containsKey("lineItemId")) {
lineItemId = _json["lineItemId"];
}
+ if (_json.containsKey("productId")) {
+ productId = _json["productId"];
+ }
if (_json.containsKey("quantity")) {
quantity = _json["quantity"];
}
@@ -2937,9 +2992,18 @@
if (amount != null) {
_json["amount"] = (amount).toJson();
}
+ if (amountPretax != null) {
+ _json["amountPretax"] = (amountPretax).toJson();
+ }
+ if (amountTax != null) {
+ _json["amountTax"] = (amountTax).toJson();
+ }
if (lineItemId != null) {
_json["lineItemId"] = lineItemId;
}
+ if (productId != null) {
+ _json["productId"] = productId;
+ }
if (quantity != null) {
_json["quantity"] = quantity;
}
@@ -2957,6 +3021,13 @@
/// The amount that is refunded.
Price amount;
+ /// The amount that is refunded. Either amount or amountPretax and amountTax
+ /// should be filled.
+ Price amountPretax;
+
+ /// Tax amount that correspond to refund amount in amountPretax.
+ Price amountTax;
+
/// The reason for the refund.
core.String reason;
@@ -2969,6 +3040,12 @@
if (_json.containsKey("amount")) {
amount = new Price.fromJson(_json["amount"]);
}
+ if (_json.containsKey("amountPretax")) {
+ amountPretax = new Price.fromJson(_json["amountPretax"]);
+ }
+ if (_json.containsKey("amountTax")) {
+ amountTax = new Price.fromJson(_json["amountTax"]);
+ }
if (_json.containsKey("reason")) {
reason = _json["reason"];
}
@@ -2983,6 +3060,12 @@
if (amount != null) {
_json["amount"] = (amount).toJson();
}
+ if (amountPretax != null) {
+ _json["amountPretax"] = (amountPretax).toJson();
+ }
+ if (amountTax != null) {
+ _json["amountTax"] = (amountTax).toJson();
+ }
if (reason != null) {
_json["reason"] = reason;
}
@@ -2998,6 +3081,10 @@
/// required.
core.String lineItemId;
+ /// The ID of the product to return. This is the REST ID used in the products
+ /// service. Either lineItemId or productId is required.
+ core.String productId;
+
/// The quantity to return.
core.int quantity;
@@ -3013,6 +3100,9 @@
if (_json.containsKey("lineItemId")) {
lineItemId = _json["lineItemId"];
}
+ if (_json.containsKey("productId")) {
+ productId = _json["productId"];
+ }
if (_json.containsKey("quantity")) {
quantity = _json["quantity"];
}
@@ -3030,6 +3120,9 @@
if (lineItemId != null) {
_json["lineItemId"] = lineItemId;
}
+ if (productId != null) {
+ _json["productId"] = productId;
+ }
if (quantity != null) {
_json["quantity"] = quantity;
}
@@ -3409,6 +3502,13 @@
/// The amount that is refunded.
Price amount;
+ /// The amount that is refunded. Either amount or amountPretax and amountTax
+ /// should be filled.
+ Price amountPretax;
+
+ /// Tax amount that correspond to refund amount in amountPretax.
+ Price amountTax;
+
/// The ID of the operation. Unique across all operations for a given order.
core.String operationId;
@@ -3424,6 +3524,12 @@
if (_json.containsKey("amount")) {
amount = new Price.fromJson(_json["amount"]);
}
+ if (_json.containsKey("amountPretax")) {
+ amountPretax = new Price.fromJson(_json["amountPretax"]);
+ }
+ if (_json.containsKey("amountTax")) {
+ amountTax = new Price.fromJson(_json["amountTax"]);
+ }
if (_json.containsKey("operationId")) {
operationId = _json["operationId"];
}
@@ -3441,6 +3547,12 @@
if (amount != null) {
_json["amount"] = (amount).toJson();
}
+ if (amountPretax != null) {
+ _json["amountPretax"] = (amountPretax).toJson();
+ }
+ if (amountTax != null) {
+ _json["amountTax"] = (amountTax).toJson();
+ }
if (operationId != null) {
_json["operationId"] = operationId;
}
@@ -3494,6 +3606,10 @@
/// The ID of the operation. Unique across all operations for a given order.
core.String operationId;
+ /// The ID of the product to return. This is the REST ID used in the products
+ /// service. Either lineItemId or productId is required.
+ core.String productId;
+
/// The quantity to return.
core.int quantity;
@@ -3512,6 +3628,9 @@
if (_json.containsKey("operationId")) {
operationId = _json["operationId"];
}
+ if (_json.containsKey("productId")) {
+ productId = _json["productId"];
+ }
if (_json.containsKey("quantity")) {
quantity = _json["quantity"];
}
@@ -3532,6 +3651,9 @@
if (operationId != null) {
_json["operationId"] = operationId;
}
+ if (productId != null) {
+ _json["productId"] = productId;
+ }
if (quantity != null) {
_json["quantity"] = quantity;
}
@@ -3886,6 +4008,10 @@
/// Line items that are ordered. At least one line item must be provided.
core.List<TestOrderLineItem> lineItems;
+ /// Determines if test order must be pulled by merchant or pushed to merchant
+ /// via push integration.
+ core.String notificationMode;
+
/// The details of the payment method.
TestOrderPaymentMethod paymentMethod;
@@ -3919,6 +4045,9 @@
.map((value) => new TestOrderLineItem.fromJson(value))
.toList();
}
+ if (_json.containsKey("notificationMode")) {
+ notificationMode = _json["notificationMode"];
+ }
if (_json.containsKey("paymentMethod")) {
paymentMethod =
new TestOrderPaymentMethod.fromJson(_json["paymentMethod"]);
@@ -3954,6 +4083,9 @@
if (lineItems != null) {
_json["lineItems"] = lineItems.map((value) => (value).toJson()).toList();
}
+ if (notificationMode != null) {
+ _json["notificationMode"] = notificationMode;
+ }
if (paymentMethod != null) {
_json["paymentMethod"] = (paymentMethod).toJson();
}
diff --git a/generated/googleapis/lib/dataproc/v1.dart b/generated/googleapis/lib/dataproc/v1.dart
index 3cde3f8..233666b 100644
--- a/generated/googleapis/lib/dataproc/v1.dart
+++ b/generated/googleapis/lib/dataproc/v1.dart
@@ -703,9 +703,6 @@
/// [region] - Required. The Cloud Dataproc region in which to handle the
/// request.
///
- /// [clusterName] - Optional. If set, the returned jobs list includes only
- /// jobs that were submitted to the named cluster.
- ///
/// [filter] - Optional. A filter constraining the jobs to list. Filters are
/// case-sensitive and have the following syntax:field = value AND field =
/// value ...where field is status.state or labels.[KEY], and [KEY] is a label
@@ -728,6 +725,9 @@
///
/// [pageSize] - Optional. The number of results to return in each response.
///
+ /// [clusterName] - Optional. If set, the returned jobs list includes only
+ /// jobs that were submitted to the named cluster.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -739,11 +739,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.String clusterName,
- core.String filter,
+ {core.String filter,
core.String jobStateMatcher,
core.String pageToken,
core.int pageSize,
+ core.String clusterName,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -758,9 +758,6 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
- if (clusterName != null) {
- _queryParams["clusterName"] = [clusterName];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
@@ -773,6 +770,9 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (clusterName != null) {
+ _queryParams["clusterName"] = [clusterName];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/datastore/v1.dart b/generated/googleapis/lib/datastore/v1.dart
index b37b15f..fe5de16 100644
--- a/generated/googleapis/lib/datastore/v1.dart
+++ b/generated/googleapis/lib/datastore/v1.dart
@@ -574,12 +574,12 @@
/// [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.
///
/// [pageSize] - The standard list page size.
///
- /// [filter] - The standard list filter.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -591,9 +591,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.String filter,
+ core.String pageToken,
core.int pageSize,
- core.String filter,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -605,15 +605,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/firebaserules/v1.dart b/generated/googleapis/lib/firebaserules/v1.dart
index 634a09b..d27ad80 100644
--- a/generated/googleapis/lib/firebaserules/v1.dart
+++ b/generated/googleapis/lib/firebaserules/v1.dart
@@ -367,8 +367,6 @@
/// 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
@@ -402,6 +400,8 @@
/// 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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -413,9 +413,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 pageToken,
- core.int pageSize,
+ {core.int pageSize,
core.String filter,
+ core.String pageToken,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -427,15 +427,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];
}
@@ -753,11 +753,6 @@
/// Format: `projects/{project_id}`
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageSize] - Page size to load. Maximum of 100. Defaults to 10.
- /// Note: `page_size` is just a hint and the service may choose to load less
- /// than `page_size` due to the size of the output. To traverse all of the
- /// releases, caller should iterate until the `page_token` is empty.
- ///
/// [filter] - `Ruleset` filter. The list method supports filters with
/// restrictions on
/// `Ruleset.name`.
@@ -770,6 +765,11 @@
/// [pageToken] - Next page token for loading the next batch of `Ruleset`
/// instances.
///
+ /// [pageSize] - Page size to load. Maximum of 100. Defaults to 10.
+ /// Note: `page_size` is just a hint and the service may choose to load less
+ /// than `page_size` due to the size of the output. To traverse all of the
+ /// releases, caller should iterate until the `page_token` is empty.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -781,9 +781,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.int pageSize,
- core.String filter,
+ {core.String filter,
core.String pageToken,
+ core.int pageSize,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -795,15 +795,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];
}
diff --git a/generated/googleapis/lib/fusiontables/v2.dart b/generated/googleapis/lib/fusiontables/v2.dart
index 86e8538..8de057b 100644
--- a/generated/googleapis/lib/fusiontables/v2.dart
+++ b/generated/googleapis/lib/fusiontables/v2.dart
@@ -1336,6 +1336,50 @@
return _response.then((data) => new Table.fromJson(data));
}
+ /// Replaces rows of the table with the rows of the spreadsheet that is first
+ /// imported from. Current rows remain visible until all replacement rows are
+ /// ready.
+ ///
+ /// Request parameters:
+ ///
+ /// [tableId] - Table whose rows will be replaced from the spreadsheet.
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [Task].
+ ///
+ /// 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<Task> refetchSheet(core.String tableId, {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (tableId == null) {
+ throw new core.ArgumentError("Parameter tableId is required.");
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'tables/' + commons.Escaper.ecapeVariable('$tableId') + '/refetch';
+
+ var _response = _requester.request(_url, "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Task.fromJson(data));
+ }
+
/// Replaces rows of an existing table. Current rows remain visible until all
/// replacement rows are ready.
///
diff --git a/generated/googleapis/lib/genomics/v1.dart b/generated/googleapis/lib/genomics/v1.dart
index 98e756b..992eb53 100644
--- a/generated/googleapis/lib/genomics/v1.dart
+++ b/generated/googleapis/lib/genomics/v1.dart
@@ -1122,17 +1122,17 @@
///
/// Request parameters:
///
- /// [pageToken] - 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] - The maximum number of results to return in a single page. If
/// unspecified,
/// defaults to 50. The maximum value is 1024.
///
/// [projectId] - Required. The Google Cloud project ID to list datasets for.
///
+ /// [pageToken] - 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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1144,9 +1144,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<ListDatasetsResponse> list(
- {core.String pageToken,
- core.int pageSize,
+ {core.int pageSize,
core.String projectId,
+ core.String pageToken,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1155,15 +1155,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (projectId != null) {
_queryParams["projectId"] = [projectId];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1533,6 +1533,10 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^operations$".
///
+ /// [pageSize] - The maximum number of results to return. If unspecified,
+ /// defaults to
+ /// 256. The maximum value is 2048.
+ ///
/// [filter] - A string for filtering Operations.
/// The following filter fields are supported:
///
@@ -1555,10 +1559,6 @@
///
/// [pageToken] - The standard list page token.
///
- /// [pageSize] - The maximum number of results to return. If unspecified,
- /// defaults to
- /// 256. The maximum value is 2048.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1570,9 +1570,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.int pageSize,
+ core.String filter,
core.String pageToken,
- core.int pageSize,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1584,15 +1584,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];
}
@@ -1986,6 +1986,15 @@
/// [readGroupSetId] - Required. The ID of the read group set over which
/// coverage is requested.
///
+ /// [referenceName] - The name of the reference to query, within the reference
+ /// set associated
+ /// with this query. Optional.
+ ///
+ /// [end] - The end position of the range on the reference, 0-based exclusive.
+ /// If
+ /// specified, `referenceName` must also be specified. If unset or 0, defaults
+ /// to the length of the reference.
+ ///
/// [pageToken] - 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
@@ -2008,15 +2017,6 @@
/// `bucketWidth` is currently 2048 base pairs; this is subject to
/// change.
///
- /// [referenceName] - The name of the reference to query, within the reference
- /// set associated
- /// with this query. Optional.
- ///
- /// [end] - The end position of the range on the reference, 0-based exclusive.
- /// If
- /// specified, `referenceName` must also be specified. If unset or 0, defaults
- /// to the length of the reference.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2028,12 +2028,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<ListCoverageBucketsResponse> list(core.String readGroupSetId,
- {core.String pageToken,
+ {core.String referenceName,
+ core.String end,
+ core.String pageToken,
core.int pageSize,
core.String start,
core.String targetBucketWidth,
- core.String referenceName,
- core.String end,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -2045,6 +2045,12 @@
if (readGroupSetId == null) {
throw new core.ArgumentError("Parameter readGroupSetId is required.");
}
+ if (referenceName != null) {
+ _queryParams["referenceName"] = [referenceName];
+ }
+ if (end != null) {
+ _queryParams["end"] = [end];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -2057,12 +2063,6 @@
if (targetBucketWidth != null) {
_queryParams["targetBucketWidth"] = [targetBucketWidth];
}
- if (referenceName != null) {
- _queryParams["referenceName"] = [referenceName];
- }
- if (end != null) {
- _queryParams["end"] = [end];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2284,11 +2284,6 @@
///
/// [referenceId] - The ID of the reference.
///
- /// [pageToken] - 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] - The maximum number of bases to return in a single page. If
/// unspecified,
/// defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega
@@ -2301,6 +2296,11 @@
/// the length
/// of this reference.
///
+ /// [pageToken] - 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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2312,10 +2312,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<ListBasesResponse> list(core.String referenceId,
- {core.String pageToken,
- core.int pageSize,
+ {core.int pageSize,
core.String start,
core.String end,
+ core.String pageToken,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -2327,9 +2327,6 @@
if (referenceId == null) {
throw new core.ArgumentError("Parameter referenceId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
@@ -2339,6 +2336,9 @@
if (end != null) {
_queryParams["end"] = [end];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/iam/v1.dart b/generated/googleapis/lib/iam/v1.dart
index 4bdf176..9d6aacc 100644
--- a/generated/googleapis/lib/iam/v1.dart
+++ b/generated/googleapis/lib/iam/v1.dart
@@ -222,6 +222,8 @@
/// `projects/{PROJECT_ID}`
/// Value must have pattern "^organizations/[^/]+$".
///
+ /// [showDeleted] - Include Roles that have been deleted.
+ ///
/// [pageToken] - Optional pagination token returned in an earlier
/// ListRolesResponse.
///
@@ -233,8 +235,6 @@
/// - "BASIC" : A BASIC.
/// - "FULL" : A FULL.
///
- /// [showDeleted] - Include Roles that have been deleted.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -246,10 +246,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.bool showDeleted,
+ core.String pageToken,
core.int pageSize,
core.String view,
- core.bool showDeleted,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -261,6 +261,9 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (showDeleted != null) {
+ _queryParams["showDeleted"] = ["${showDeleted}"];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -270,9 +273,6 @@
if (view != null) {
_queryParams["view"] = [view];
}
- if (showDeleted != null) {
- _queryParams["showDeleted"] = ["${showDeleted}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1652,14 +1652,6 @@
///
/// Request parameters:
///
- /// [parent] - The resource name of the parent resource in one of the
- /// following formats:
- /// `` (empty string) -- this refers to curated roles.
- /// `organizations/{ORGANIZATION_ID}`
- /// `projects/{PROJECT_ID}`
- ///
- /// [showDeleted] - Include Roles that have been deleted.
- ///
/// [pageToken] - Optional pagination token returned in an earlier
/// ListRolesResponse.
///
@@ -1671,6 +1663,14 @@
/// - "BASIC" : A BASIC.
/// - "FULL" : A FULL.
///
+ /// [parent] - The resource name of the parent resource in one of the
+ /// following formats:
+ /// `` (empty string) -- this refers to curated roles.
+ /// `organizations/{ORGANIZATION_ID}`
+ /// `projects/{PROJECT_ID}`
+ ///
+ /// [showDeleted] - Include Roles that have been deleted.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1682,11 +1682,11 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListRolesResponse> list(
- {core.String parent,
- core.bool showDeleted,
- core.String pageToken,
+ {core.String pageToken,
core.int pageSize,
core.String view,
+ core.String parent,
+ core.bool showDeleted,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1695,12 +1695,6 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (parent != null) {
- _queryParams["parent"] = [parent];
- }
- if (showDeleted != null) {
- _queryParams["showDeleted"] = ["${showDeleted}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -1710,6 +1704,12 @@
if (view != null) {
_queryParams["view"] = [view];
}
+ if (parent != null) {
+ _queryParams["parent"] = [parent];
+ }
+ if (showDeleted != null) {
+ _queryParams["showDeleted"] = ["${showDeleted}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/kgsearch/v1.dart b/generated/googleapis/lib/kgsearch/v1.dart
index 6ab8e2d..67364b4 100644
--- a/generated/googleapis/lib/kgsearch/v1.dart
+++ b/generated/googleapis/lib/kgsearch/v1.dart
@@ -38,8 +38,6 @@
///
/// Request parameters:
///
- /// [limit] - Limits the number of entities to be returned.
- ///
/// [prefix] - Enables prefix match against names and aliases of entities
///
/// [query] - The literal query string for search.
@@ -59,6 +57,8 @@
/// To specify multiple ids in the HTTP request, repeat the parameter in the
/// URL as in ...?ids=A&ids=B
///
+ /// [limit] - Limits the number of entities to be returned.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -70,13 +70,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.int limit,
- core.bool prefix,
+ {core.bool prefix,
core.String query,
core.List<core.String> types,
core.bool indent,
core.List<core.String> languages,
core.List<core.String> ids,
+ core.int limit,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -85,9 +85,6 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (limit != null) {
- _queryParams["limit"] = ["${limit}"];
- }
if (prefix != null) {
_queryParams["prefix"] = ["${prefix}"];
}
@@ -106,6 +103,9 @@
if (ids != null) {
_queryParams["ids"] = ids;
}
+ if (limit != null) {
+ _queryParams["limit"] = ["${limit}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/logging/v2.dart b/generated/googleapis/lib/logging/v2.dart
index 2170905..6d2df7c 100644
--- a/generated/googleapis/lib/logging/v2.dart
+++ b/generated/googleapis/lib/logging/v2.dart
@@ -435,15 +435,15 @@
///
/// 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.
///
@@ -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<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 = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -466,12 +466,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];
}
@@ -1663,15 +1663,15 @@
///
/// 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.
///
@@ -1683,7 +1683,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 = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1694,12 +1694,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];
}
@@ -1902,15 +1902,15 @@
///
/// 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.
///
@@ -1922,7 +1922,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 = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1933,12 +1933,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];
}
@@ -2264,15 +2264,15 @@
///
/// Request parameters:
///
- /// [pageSize] - Optional. The maximum number of results to return from this
- /// request. Non-positive values are ignored. The presence of nextPageToken in
- /// the response indicates that more results might be available.
- ///
/// [pageToken] - Optional. If present, then retrieve the next batch of
/// results from the preceding call to this method. pageToken must be the
/// value of nextPageToken from the previous response. The values of other
/// method parameters should be identical to those in the previous call.
///
+ /// [pageSize] - Optional. The maximum number of results to return from this
+ /// request. Non-positive values are ignored. The presence of nextPageToken in
+ /// the response indicates that more results might be available.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2284,7 +2284,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<ListMonitoredResourceDescriptorsResponse> list(
- {core.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2292,12 +2292,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3536,15 +3536,15 @@
///
/// 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.
///
@@ -3556,7 +3556,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 = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -3567,12 +3567,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];
}
@@ -4038,15 +4038,15 @@
///
/// 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.
///
@@ -4058,7 +4058,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 = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -4069,12 +4069,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];
}
@@ -5394,10 +5394,10 @@
/// if any.
LogEntrySourceLocation sourceLocation;
- /// Optional. Id of the span within the trace associated with the log entry.
- /// e.g. "0000000000000042" For Stackdriver trace spans, this is the same
- /// format that the Stackdriver trace API uses. The ID is a 16-character
- /// hexadecimal encoding of an 8-byte array.
+ /// Optional. The span ID within the trace associated with the log entry. For
+ /// Stackdriver Trace spans, this is the same format that the Stackdriver
+ /// Trace API v2 uses: a 16-character hexadecimal encoding of an 8-byte array,
+ /// such as <code>"000000000000004a"</code>.
core.String spanId;
/// The log entry payload, represented as a Unicode string (UTF-8).
diff --git a/generated/googleapis/lib/ml/v1.dart b/generated/googleapis/lib/ml/v1.dart
index 02a852d..7091648 100644
--- a/generated/googleapis/lib/ml/v1.dart
+++ b/generated/googleapis/lib/ml/v1.dart
@@ -92,8 +92,9 @@
}
/// Performs prediction on the data in the request.
- ///
- /// **** REMOVE FROM GENERATED DOCUMENTATION
+ /// Cloud ML Engine implements a custom `predict` verb on top of an HTTP POST
+ /// method. For details of the format, see the **guide to the
+ /// [predict request format](/ml-engine/docs/v1/predict-request)**.
///
/// [request] - The metadata request object.
///
@@ -353,8 +354,6 @@
/// [parent] - Required. The name of the project for which to list jobs.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [filter] - Optional. Specifies the subset of jobs 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
@@ -367,6 +366,8 @@
///
/// The default value is 20, and the maximum page size is 100.
///
+ /// [filter] - Optional. Specifies the subset of jobs to retrieve.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -378,9 +379,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<GoogleCloudMlV1ListJobsResponse> list(core.String parent,
- {core.String filter,
- core.String pageToken,
+ {core.String pageToken,
core.int pageSize,
+ core.String filter,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -392,15 +393,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];
}
@@ -1266,8 +1267,6 @@
/// [parent] - Required. The name of the model for which to list the version.
/// Value must have pattern "^projects/[^/]+/models/[^/]+$".
///
- /// [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
@@ -1280,6 +1279,8 @@
///
/// The default value is 20, and the maximum page size is 100.
///
+ /// [filter] - Optional. Specifies the subset of versions to retrieve.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1291,9 +1292,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.String filter,
- core.String pageToken,
+ {core.String pageToken,
core.int pageSize,
+ core.String filter,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1305,15 +1306,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];
}
@@ -1638,12 +1639,12 @@
/// [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.
///
/// [pageSize] - The standard list page size.
///
+ /// [filter] - The standard list filter.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1655,9 +1656,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 pageToken,
core.int pageSize,
+ core.String filter,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1669,15 +1670,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];
}
@@ -2481,8 +2482,12 @@
/// - "DELETE_MODEL" : An operation to delete an existing model.
/// - "UPDATE_MODEL" : An operation to update an existing model.
/// - "UPDATE_VERSION" : An operation to update an existing version.
+ /// - "UPDATE_CONFIG" : An operation to update project configuration.
core.String operationType;
+ /// Contains the project number associated with the operation.
+ core.String projectNumber;
+
/// The time operation processing started.
core.String startTime;
@@ -2510,6 +2515,9 @@
if (_json.containsKey("operationType")) {
operationType = _json["operationType"];
}
+ if (_json.containsKey("projectNumber")) {
+ projectNumber = _json["projectNumber"];
+ }
if (_json.containsKey("startTime")) {
startTime = _json["startTime"];
}
@@ -2539,6 +2547,9 @@
if (operationType != null) {
_json["operationType"] = operationType;
}
+ if (projectNumber != null) {
+ _json["projectNumber"] = projectNumber;
+ }
if (startTime != null) {
_json["startTime"] = startTime;
}
@@ -2664,193 +2675,6 @@
}
/// Request for predictions to be issued against a trained model.
-///
-/// The body of the request is a single JSON object with a single top-level
-/// field:
-///
-/// <dl>
-/// <dt>instances</dt>
-/// <dd>A JSON array containing values representing the instances to use for
-/// prediction.</dd>
-/// </dl>
-///
-/// The structure of each element of the instances list is determined by your
-/// model's input definition. Instances can include named inputs or can contain
-/// only unlabeled values.
-///
-/// Not all data includes named inputs. Some instances will be simple
-/// JSON values (boolean, number, or string). However, instances are often lists
-/// of simple values, or complex nested lists. Here are some examples of request
-/// bodies:
-///
-/// CSV data with each row encoded as a string value:
-/// <pre>
-/// {"instances": ["1.0,true,\\"x\\"", "-2.0,false,\\"y\\""]}
-/// </pre>
-/// Plain text:
-/// <pre>
-/// {"instances": ["the quick brown fox", "la bruja le dio"]}
-/// </pre>
-/// Sentences encoded as lists of words (vectors of strings):
-/// <pre>
-/// {
-/// "instances": [
-/// ["the","quick","brown"],
-/// ["la","bruja","le"],
-/// ...
-/// ]
-/// }
-/// </pre>
-/// Floating point scalar values:
-/// <pre>
-/// {"instances": [0.0, 1.1, 2.2]}
-/// </pre>
-/// Vectors of integers:
-/// <pre>
-/// {
-/// "instances": [
-/// [0, 1, 2],
-/// [3, 4, 5],
-/// ...
-/// ]
-/// }
-/// </pre>
-/// Tensors (in this case, two-dimensional tensors):
-/// <pre>
-/// {
-/// "instances": [
-/// [
-/// [0, 1, 2],
-/// [3, 4, 5]
-/// ],
-/// ...
-/// ]
-/// }
-/// </pre>
-/// Images can be represented different ways. In this encoding scheme the first
-/// two dimensions represent the rows and columns of the image, and the third
-/// contains lists (vectors) of the R, G, and B values for each pixel.
-/// <pre>
-/// {
-/// "instances": [
-/// [
-/// [
-/// [138, 30, 66],
-/// [130, 20, 56],
-/// ...
-/// ],
-/// [
-/// [126, 38, 61],
-/// [122, 24, 57],
-/// ...
-/// ],
-/// ...
-/// ],
-/// ...
-/// ]
-/// }
-/// </pre>
-/// JSON strings must be encoded as UTF-8. To send binary data, you must
-/// base64-encode the data and mark it as binary. To mark a JSON string
-/// as binary, replace it with a JSON object with a single attribute named
-/// `b64`:
-/// <pre>{"b64": "..."} </pre>
-/// For example:
-///
-/// Two Serialized tf.Examples (fake data, for illustrative purposes only):
-/// <pre>
-/// {"instances": [{"b64": "X5ad6u"}, {"b64": "IA9j4nx"}]}
-/// </pre>
-/// Two JPEG image byte strings (fake data, for illustrative purposes only):
-/// <pre>
-/// {"instances": [{"b64": "ASa8asdf"}, {"b64": "JLK7ljk3"}]}
-/// </pre>
-/// If your data includes named references, format each instance as a JSON
-/// object
-/// with the named references as the keys:
-///
-/// JSON input data to be preprocessed:
-/// <pre>
-/// {
-/// "instances": [
-/// {
-/// "a": 1.0,
-/// "b": true,
-/// "c": "x"
-/// },
-/// {
-/// "a": -2.0,
-/// "b": false,
-/// "c": "y"
-/// }
-/// ]
-/// }
-/// </pre>
-/// Some models have an underlying TensorFlow graph that accepts multiple input
-/// tensors. In this case, you should use the names of JSON name/value pairs to
-/// identify the input tensors, as shown in the following exmaples:
-///
-/// For a graph with input tensor aliases "tag" (string) and "image"
-/// (base64-encoded string):
-/// <pre>
-/// {
-/// "instances": [
-/// {
-/// "tag": "beach",
-/// "image": {"b64": "ASa8asdf"}
-/// },
-/// {
-/// "tag": "car",
-/// "image": {"b64": "JLK7ljk3"}
-/// }
-/// ]
-/// }
-/// </pre>
-/// For a graph with input tensor aliases "tag" (string) and "image"
-/// (3-dimensional array of 8-bit ints):
-/// <pre>
-/// {
-/// "instances": [
-/// {
-/// "tag": "beach",
-/// "image": [
-/// [
-/// [138, 30, 66],
-/// [130, 20, 56],
-/// ...
-/// ],
-/// [
-/// [126, 38, 61],
-/// [122, 24, 57],
-/// ...
-/// ],
-/// ...
-/// ]
-/// },
-/// {
-/// "tag": "car",
-/// "image": [
-/// [
-/// [255, 0, 102],
-/// [255, 0, 97],
-/// ...
-/// ],
-/// [
-/// [254, 1, 101],
-/// [254, 2, 93],
-/// ...
-/// ],
-/// ...
-/// ]
-/// },
-/// ...
-/// ]
-/// }
-/// </pre>
-/// If the call is successful, the response body will contain one prediction
-/// entry per instance in the request body. If prediction fails for any
-/// instance, the response body will contain no predictions and will contian
-/// a single error entry instead.
class GoogleCloudMlV1PredictRequest {
///
/// Required. The prediction request body.
@@ -2919,6 +2743,16 @@
/// such as when the model is specified by uri.
core.String runtimeVersion;
+ /// Optional. The name of the signature defined in the SavedModel to use for
+ /// this job. Please refer to
+ /// [SavedModel](https://tensorflow.github.io/serving/serving_basic.html)
+ /// for information about how to use signatures.
+ ///
+ /// Defaults to
+ /// [DEFAULT_SERVING_SIGNATURE_DEF_KEY](https://www.tensorflow.org/api_docs/python/tf/saved_model/signature_constants)
+ /// , which is "serving_default".
+ core.String signatureName;
+
/// Use this field if you want to specify a Google Cloud Storage path for
/// the model to use.
core.String uri;
@@ -2957,6 +2791,9 @@
if (_json.containsKey("runtimeVersion")) {
runtimeVersion = _json["runtimeVersion"];
}
+ if (_json.containsKey("signatureName")) {
+ signatureName = _json["signatureName"];
+ }
if (_json.containsKey("uri")) {
uri = _json["uri"];
}
@@ -2992,6 +2829,9 @@
if (runtimeVersion != null) {
_json["runtimeVersion"] = runtimeVersion;
}
+ if (signatureName != null) {
+ _json["signatureName"] = signatureName;
+ }
if (uri != null) {
_json["uri"] = uri;
}
@@ -3176,6 +3016,10 @@
/// Required. The Python module name to run after installing the packages.
core.String pythonModule;
+ /// Optional. The version of Python used in training. If not set, the default
+ /// version is '2.7'.
+ core.String pythonVersion;
+
/// Required. The Google Compute Engine region to run the training job in.
core.String region;
@@ -3265,6 +3109,9 @@
if (_json.containsKey("pythonModule")) {
pythonModule = _json["pythonModule"];
}
+ if (_json.containsKey("pythonVersion")) {
+ pythonVersion = _json["pythonVersion"];
+ }
if (_json.containsKey("region")) {
region = _json["region"];
}
@@ -3309,6 +3156,9 @@
if (pythonModule != null) {
_json["pythonModule"] = pythonModule;
}
+ if (pythonVersion != null) {
+ _json["pythonVersion"] = pythonVersion;
+ }
if (region != null) {
_json["region"] = region;
}
diff --git a/generated/googleapis/lib/monitoring/v3.dart b/generated/googleapis/lib/monitoring/v3.dart
index ed193d3..7f6ab00 100644
--- a/generated/googleapis/lib/monitoring/v3.dart
+++ b/generated/googleapis/lib/monitoring/v3.dart
@@ -290,18 +290,6 @@
/// "projects/{project_id_or_number}".
/// Value must have pattern "^projects/[^/]+$".
///
- /// [ancestorsOfGroup] - A group name:
- /// "projects/{project_id_or_number}/groups/{group_id}". Returns groups that
- /// are ancestors of the specified group. The groups are returned in order,
- /// starting with the immediate parent and ending with the most distant
- /// ancestor. If the specified group has no immediate parent, the results are
- /// empty.
- ///
- /// [childrenOfGroup] - A group name:
- /// "projects/{project_id_or_number}/groups/{group_id}". Returns groups whose
- /// parentName field contains the group name. If no groups have this parent,
- /// the results are empty.
- ///
/// [descendantsOfGroup] - A group name:
/// "projects/{project_id_or_number}/groups/{group_id}". Returns the
/// descendants of the specified group. This is a superset of the results
@@ -316,6 +304,18 @@
/// [pageSize] - A positive number that is the maximum number of results to
/// return.
///
+ /// [ancestorsOfGroup] - A group name:
+ /// "projects/{project_id_or_number}/groups/{group_id}". Returns groups that
+ /// are ancestors of the specified group. The groups are returned in order,
+ /// starting with the immediate parent and ending with the most distant
+ /// ancestor. If the specified group has no immediate parent, the results are
+ /// empty.
+ ///
+ /// [childrenOfGroup] - A group name:
+ /// "projects/{project_id_or_number}/groups/{group_id}". Returns groups whose
+ /// parentName field contains the group name. If no groups have this parent,
+ /// the results are empty.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -327,11 +327,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 ancestorsOfGroup,
- core.String childrenOfGroup,
- core.String descendantsOfGroup,
+ {core.String descendantsOfGroup,
core.String pageToken,
core.int pageSize,
+ core.String ancestorsOfGroup,
+ core.String childrenOfGroup,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -343,12 +343,6 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (ancestorsOfGroup != null) {
- _queryParams["ancestorsOfGroup"] = [ancestorsOfGroup];
- }
- if (childrenOfGroup != null) {
- _queryParams["childrenOfGroup"] = [childrenOfGroup];
- }
if (descendantsOfGroup != null) {
_queryParams["descendantsOfGroup"] = [descendantsOfGroup];
}
@@ -358,6 +352,12 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (ancestorsOfGroup != null) {
+ _queryParams["ancestorsOfGroup"] = [ancestorsOfGroup];
+ }
+ if (childrenOfGroup != null) {
+ _queryParams["childrenOfGroup"] = [childrenOfGroup];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -461,13 +461,13 @@
/// 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.
///
+ /// [pageSize] - A positive number that is the maximum number of results to
+ /// return.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -482,8 +482,8 @@
{core.String interval_endTime,
core.String filter,
core.String pageToken,
- core.int pageSize,
core.String interval_startTime,
+ core.int pageSize,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -504,12 +504,12 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (interval_startTime != null) {
_queryParams["interval.startTime"] = [interval_startTime];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -689,6 +689,12 @@
/// "projects/{project_id_or_number}".
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [filter] - If this field is empty, all custom and system-defined metric
+ /// descriptors are returned. Otherwise, the filter specifies which metric
+ /// descriptors are to be returned. For example, the following filter matches
+ /// all custom metrics:
+ /// metric.type = starts_with("custom.googleapis.com/")
+ ///
/// [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
@@ -697,12 +703,6 @@
/// [pageSize] - A positive number that is the maximum number of results to
/// return.
///
- /// [filter] - If this field is empty, all custom and system-defined metric
- /// descriptors are returned. Otherwise, the filter specifies which metric
- /// descriptors are to be returned. For example, the following filter matches
- /// all custom metrics:
- /// metric.type = starts_with("custom.googleapis.com/")
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -714,9 +714,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<ListMetricDescriptorsResponse> list(core.String name,
- {core.String pageToken,
+ {core.String filter,
+ core.String pageToken,
core.int pageSize,
- core.String filter,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -728,15 +728,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];
}
@@ -956,6 +956,76 @@
/// "projects/{project_id_or_number}".
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [aggregation_crossSeriesReducer] - The approach to be used to combine time
+ /// series. Not all reducer functions may be applied to all time series,
+ /// depending on the metric type and the value type of the original time
+ /// series. Reduction may change the metric type of value type of the time
+ /// series.Time series data must be aligned in order to perform cross-time
+ /// series reduction. If crossSeriesReducer is specified, then
+ /// perSeriesAligner must be specified and not equal ALIGN_NONE and
+ /// alignmentPeriod must be specified; otherwise, an error is returned.
+ /// Possible string values are:
+ /// - "REDUCE_NONE" : A REDUCE_NONE.
+ /// - "REDUCE_MEAN" : A REDUCE_MEAN.
+ /// - "REDUCE_MIN" : A REDUCE_MIN.
+ /// - "REDUCE_MAX" : A REDUCE_MAX.
+ /// - "REDUCE_SUM" : A REDUCE_SUM.
+ /// - "REDUCE_STDDEV" : A REDUCE_STDDEV.
+ /// - "REDUCE_COUNT" : A REDUCE_COUNT.
+ /// - "REDUCE_COUNT_TRUE" : A REDUCE_COUNT_TRUE.
+ /// - "REDUCE_FRACTION_TRUE" : A REDUCE_FRACTION_TRUE.
+ /// - "REDUCE_PERCENTILE_99" : A REDUCE_PERCENTILE_99.
+ /// - "REDUCE_PERCENTILE_95" : A REDUCE_PERCENTILE_95.
+ /// - "REDUCE_PERCENTILE_50" : A REDUCE_PERCENTILE_50.
+ /// - "REDUCE_PERCENTILE_05" : A REDUCE_PERCENTILE_05.
+ ///
+ /// [filter] - A monitoring filter 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.label.instance_name = "my-instance-name"
+ ///
+ /// [aggregation_perSeriesAligner] - The approach to be used to align
+ /// individual time series. Not all alignment functions may be applied to all
+ /// time series, depending on the metric type and value type of the original
+ /// time series. Alignment may change the metric type or the value type of the
+ /// time series.Time series data must be aligned in order to perform
+ /// cross-time series reduction. If crossSeriesReducer is specified, then
+ /// perSeriesAligner must be specified and not equal ALIGN_NONE and
+ /// alignmentPeriod must be specified; otherwise, an error is returned.
+ /// Possible string values are:
+ /// - "ALIGN_NONE" : A ALIGN_NONE.
+ /// - "ALIGN_DELTA" : A ALIGN_DELTA.
+ /// - "ALIGN_RATE" : A ALIGN_RATE.
+ /// - "ALIGN_INTERPOLATE" : A ALIGN_INTERPOLATE.
+ /// - "ALIGN_NEXT_OLDER" : A ALIGN_NEXT_OLDER.
+ /// - "ALIGN_MIN" : A ALIGN_MIN.
+ /// - "ALIGN_MAX" : A ALIGN_MAX.
+ /// - "ALIGN_MEAN" : A ALIGN_MEAN.
+ /// - "ALIGN_COUNT" : A ALIGN_COUNT.
+ /// - "ALIGN_SUM" : A ALIGN_SUM.
+ /// - "ALIGN_STDDEV" : A ALIGN_STDDEV.
+ /// - "ALIGN_COUNT_TRUE" : A ALIGN_COUNT_TRUE.
+ /// - "ALIGN_FRACTION_TRUE" : A ALIGN_FRACTION_TRUE.
+ /// - "ALIGN_PERCENTILE_99" : A ALIGN_PERCENTILE_99.
+ /// - "ALIGN_PERCENTILE_95" : A ALIGN_PERCENTILE_95.
+ /// - "ALIGN_PERCENTILE_50" : A ALIGN_PERCENTILE_50.
+ /// - "ALIGN_PERCENTILE_05" : A ALIGN_PERCENTILE_05.
+ ///
+ /// [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.
+ ///
+ /// [view] - Specifies which information is returned about the time series.
+ /// Possible string values are:
+ /// - "FULL" : A FULL.
+ /// - "HEADERS" : A HEADERS.
+ ///
/// [aggregation_groupByFields] - The set of fields to preserve when
/// crossSeriesReducer is specified. The groupByFields determine how the time
/// series are partitioned into subsets prior to applying the aggregation
@@ -988,76 +1058,6 @@
/// should be returned. By default, results are not ordered. Currently, this
/// field must be left blank.
///
- /// [aggregation_crossSeriesReducer] - The approach to be used to combine time
- /// series. Not all reducer functions may be applied to all time series,
- /// depending on the metric type and the value type of the original time
- /// series. Reduction may change the metric type of value type of the time
- /// series.Time series data must be aligned in order to perform cross-time
- /// series reduction. If crossSeriesReducer is specified, then
- /// perSeriesAligner must be specified and not equal ALIGN_NONE and
- /// alignmentPeriod must be specified; otherwise, an error is returned.
- /// Possible string values are:
- /// - "REDUCE_NONE" : A REDUCE_NONE.
- /// - "REDUCE_MEAN" : A REDUCE_MEAN.
- /// - "REDUCE_MIN" : A REDUCE_MIN.
- /// - "REDUCE_MAX" : A REDUCE_MAX.
- /// - "REDUCE_SUM" : A REDUCE_SUM.
- /// - "REDUCE_STDDEV" : A REDUCE_STDDEV.
- /// - "REDUCE_COUNT" : A REDUCE_COUNT.
- /// - "REDUCE_COUNT_TRUE" : A REDUCE_COUNT_TRUE.
- /// - "REDUCE_FRACTION_TRUE" : A REDUCE_FRACTION_TRUE.
- /// - "REDUCE_PERCENTILE_99" : A REDUCE_PERCENTILE_99.
- /// - "REDUCE_PERCENTILE_95" : A REDUCE_PERCENTILE_95.
- /// - "REDUCE_PERCENTILE_50" : A REDUCE_PERCENTILE_50.
- /// - "REDUCE_PERCENTILE_05" : A REDUCE_PERCENTILE_05.
- ///
- /// [filter] - A monitoring filter 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.label.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.
- ///
- /// [aggregation_perSeriesAligner] - The approach to be used to align
- /// individual time series. Not all alignment functions may be applied to all
- /// time series, depending on the metric type and value type of the original
- /// time series. Alignment may change the metric type or the value type of the
- /// time series.Time series data must be aligned in order to perform
- /// cross-time series reduction. If crossSeriesReducer is specified, then
- /// perSeriesAligner must be specified and not equal ALIGN_NONE and
- /// alignmentPeriod must be specified; otherwise, an error is returned.
- /// Possible string values are:
- /// - "ALIGN_NONE" : A ALIGN_NONE.
- /// - "ALIGN_DELTA" : A ALIGN_DELTA.
- /// - "ALIGN_RATE" : A ALIGN_RATE.
- /// - "ALIGN_INTERPOLATE" : A ALIGN_INTERPOLATE.
- /// - "ALIGN_NEXT_OLDER" : A ALIGN_NEXT_OLDER.
- /// - "ALIGN_MIN" : A ALIGN_MIN.
- /// - "ALIGN_MAX" : A ALIGN_MAX.
- /// - "ALIGN_MEAN" : A ALIGN_MEAN.
- /// - "ALIGN_COUNT" : A ALIGN_COUNT.
- /// - "ALIGN_SUM" : A ALIGN_SUM.
- /// - "ALIGN_STDDEV" : A ALIGN_STDDEV.
- /// - "ALIGN_COUNT_TRUE" : A ALIGN_COUNT_TRUE.
- /// - "ALIGN_FRACTION_TRUE" : A ALIGN_FRACTION_TRUE.
- /// - "ALIGN_PERCENTILE_99" : A ALIGN_PERCENTILE_99.
- /// - "ALIGN_PERCENTILE_95" : A ALIGN_PERCENTILE_95.
- /// - "ALIGN_PERCENTILE_50" : A ALIGN_PERCENTILE_50.
- /// - "ALIGN_PERCENTILE_05" : A ALIGN_PERCENTILE_05.
- ///
- /// [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.
- ///
- /// [view] - Specifies which information is returned about the time series.
- /// Possible string values are:
- /// - "FULL" : A FULL.
- /// - "HEADERS" : A HEADERS.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1069,17 +1069,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.List<core.String> aggregation_groupByFields,
+ {core.String aggregation_crossSeriesReducer,
+ core.String filter,
+ core.String aggregation_perSeriesAligner,
+ core.String pageToken,
+ core.String interval_startTime,
+ core.String view,
+ core.List<core.String> aggregation_groupByFields,
core.String interval_endTime,
core.String aggregation_alignmentPeriod,
core.int pageSize,
core.String orderBy,
- core.String aggregation_crossSeriesReducer,
- core.String filter,
- core.String pageToken,
- core.String aggregation_perSeriesAligner,
- core.String interval_startTime,
- core.String view,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1091,6 +1091,28 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ if (aggregation_crossSeriesReducer != null) {
+ _queryParams["aggregation.crossSeriesReducer"] = [
+ aggregation_crossSeriesReducer
+ ];
+ }
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
+ if (aggregation_perSeriesAligner != null) {
+ _queryParams["aggregation.perSeriesAligner"] = [
+ aggregation_perSeriesAligner
+ ];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (interval_startTime != null) {
+ _queryParams["interval.startTime"] = [interval_startTime];
+ }
+ if (view != null) {
+ _queryParams["view"] = [view];
+ }
if (aggregation_groupByFields != null) {
_queryParams["aggregation.groupByFields"] = aggregation_groupByFields;
}
@@ -1108,28 +1130,6 @@
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
- if (aggregation_crossSeriesReducer != null) {
- _queryParams["aggregation.crossSeriesReducer"] = [
- aggregation_crossSeriesReducer
- ];
- }
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (aggregation_perSeriesAligner != null) {
- _queryParams["aggregation.perSeriesAligner"] = [
- aggregation_perSeriesAligner
- ];
- }
- if (interval_startTime != null) {
- _queryParams["interval.startTime"] = [interval_startTime];
- }
- if (view != null) {
- _queryParams["view"] = [view];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2424,6 +2424,67 @@
}
}
+/// Nimbus InternalCheckers.
+class InternalChecker {
+ /// The checker ID.
+ core.String checkerId;
+
+ /// The checker's human-readable name.
+ core.String displayName;
+
+ /// The GCP zone the uptime check should egress from. Only respected for
+ /// internal uptime checks, where internal_network is specified.
+ core.String gcpZone;
+
+ /// The internal network to perform this uptime check on.
+ core.String network;
+
+ /// The GCP project ID. Not necessarily the same as the project_id for the
+ /// config.
+ core.String projectId;
+
+ InternalChecker();
+
+ InternalChecker.fromJson(core.Map _json) {
+ if (_json.containsKey("checkerId")) {
+ checkerId = _json["checkerId"];
+ }
+ if (_json.containsKey("displayName")) {
+ displayName = _json["displayName"];
+ }
+ if (_json.containsKey("gcpZone")) {
+ gcpZone = _json["gcpZone"];
+ }
+ if (_json.containsKey("network")) {
+ network = _json["network"];
+ }
+ if (_json.containsKey("projectId")) {
+ projectId = _json["projectId"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (checkerId != null) {
+ _json["checkerId"] = checkerId;
+ }
+ if (displayName != null) {
+ _json["displayName"] = displayName;
+ }
+ if (gcpZone != null) {
+ _json["gcpZone"] = gcpZone;
+ }
+ if (network != null) {
+ _json["network"] = network;
+ }
+ if (projectId != null) {
+ _json["projectId"] = projectId;
+ }
+ return _json;
+ }
+}
+
/// A description of a label.
class LabelDescriptor {
/// A human-readable description for the label.
@@ -2865,54 +2926,11 @@
/// "appengine.googleapis.com/http/server/response_latencies"
core.String type;
- /// The unit in which the metric value is reported. It is only applicable if
- /// the value_type is INT64, DOUBLE, or DISTRIBUTION. The supported units are
- /// a subset of The Unified Code for Units of Measure
- /// (http://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT)
- /// bit bit
- /// By byte
- /// s second
- /// min minute
- /// h hour
- /// d dayPrefixes (PREFIX)
- /// k kilo (10**3)
- /// M mega (10**6)
- /// G giga (10**9)
- /// T tera (10**12)
- /// P peta (10**15)
- /// E exa (10**18)
- /// Z zetta (10**21)
- /// Y yotta (10**24)
- /// m milli (10**-3)
- /// u micro (10**-6)
- /// n nano (10**-9)
- /// p pico (10**-12)
- /// f femto (10**-15)
- /// a atto (10**-18)
- /// z zepto (10**-21)
- /// y yocto (10**-24)
- /// Ki kibi (2**10)
- /// Mi mebi (2**20)
- /// Gi gibi (2**30)
- /// Ti tebi (2**40)GrammarThe grammar includes the dimensionless unit 1, such
- /// as 1/s.The grammar also includes these connectors:
- /// / division (as an infix operator, e.g. 1/s).
- /// . multiplication (as an infix operator, e.g. GBy.d)The grammar for a unit
- /// is as follows:
- /// Expression = Component { "." Component } { "/" Component } ;
- ///
- /// Component = [ PREFIX ] UNIT [ Annotation ]
- /// | Annotation
- /// | "1"
- /// ;
- ///
- /// Annotation = "{" NAME "}" ;
- /// Notes:
- /// Annotation is just a comment if it follows a UNIT and is equivalent to 1
- /// if it is used alone. For examples, {requests}/s == 1/s, By{transmitted}/s
- /// == By/s.
- /// NAME is a sequence of non-blank printable ASCII characters not containing
- /// '{' or '}'.
+ /// Optional. The unit in which the metric value is reported. For example,
+ /// kBy/s means kilobytes/sec, and 1 is the dimensionless unit. The supported
+ /// units are a subset of The Unified Code for Units of Measure standard
+ /// (http://unitsofmeasure.org/ucum.html).<br><br> This field is part of the
+ /// metric's documentation, but it is ignored by Stackdriver.
core.String unit;
/// Whether the measurement is an integer, a floating-point number, etc. Some
@@ -3688,6 +3706,14 @@
/// Contains information needed to make an HTTP or HTTPS check.
HttpCheck httpCheck;
+ /// The internal checkers that this check will egress from. If is_internal is
+ /// true and this list is empty, the check will egress from all
+ /// InternalCheckers configured for the project that owns this CheckConfig.
+ core.List<InternalChecker> internalCheckers;
+
+ /// Denotes whether this check is a check that egresses from InternalCheckers.
+ core.bool isInternal;
+
/// The monitored resource associated with the configuration.
MonitoredResource monitoredResource;
@@ -3731,6 +3757,14 @@
if (_json.containsKey("httpCheck")) {
httpCheck = new HttpCheck.fromJson(_json["httpCheck"]);
}
+ if (_json.containsKey("internalCheckers")) {
+ internalCheckers = _json["internalCheckers"]
+ .map((value) => new InternalChecker.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("isInternal")) {
+ isInternal = _json["isInternal"];
+ }
if (_json.containsKey("monitoredResource")) {
monitoredResource =
new MonitoredResource.fromJson(_json["monitoredResource"]);
@@ -3768,6 +3802,13 @@
if (httpCheck != null) {
_json["httpCheck"] = (httpCheck).toJson();
}
+ if (internalCheckers != null) {
+ _json["internalCheckers"] =
+ internalCheckers.map((value) => (value).toJson()).toList();
+ }
+ if (isInternal != null) {
+ _json["isInternal"] = isInternal;
+ }
if (monitoredResource != null) {
_json["monitoredResource"] = (monitoredResource).toJson();
}
diff --git a/generated/googleapis/lib/oslogin/v1.dart b/generated/googleapis/lib/oslogin/v1.dart
new file mode 100644
index 0000000..08989f1
--- /dev/null
+++ b/generated/googleapis/lib/oslogin/v1.dart
@@ -0,0 +1,607 @@
+// This is a generated file (see the discoveryapis_generator project).
+
+library googleapis.oslogin.v1;
+
+import 'dart:core' as core;
+import 'dart:async' as async;
+import 'dart:convert' as convert;
+
+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 oslogin/v1';
+
+/// Manages OS login configuration for Google account users.
+class OsloginApi {
+ /// View and manage your data across Google Cloud Platform services
+ static const CloudPlatformScope =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ /// View and manage your Google Compute Engine resources
+ static const ComputeScope = "https://www.googleapis.com/auth/compute";
+
+ final commons.ApiRequester _requester;
+
+ UsersResourceApi get users => new UsersResourceApi(_requester);
+
+ OsloginApi(http.Client client,
+ {core.String rootUrl: "https://oslogin.googleapis.com/",
+ core.String servicePath: ""})
+ : _requester =
+ new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
+}
+
+class UsersResourceApi {
+ final commons.ApiRequester _requester;
+
+ UsersProjectsResourceApi get projects =>
+ new UsersProjectsResourceApi(_requester);
+ UsersSshPublicKeysResourceApi get sshPublicKeys =>
+ new UsersSshPublicKeysResourceApi(_requester);
+
+ UsersResourceApi(commons.ApiRequester client) : _requester = client;
+
+ /// Retrieves the profile information used for logging in to a virtual machine
+ /// on Google Compute Engine.
+ ///
+ /// Request parameters:
+ ///
+ /// [name] - The unique ID for the user in format `users/{user}`.
+ /// Value must have pattern "^users/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [LoginProfile].
+ ///
+ /// 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<LoginProfile> getLoginProfile(core.String name,
+ {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (name == null) {
+ throw new core.ArgumentError("Parameter name is required.");
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'v1/' +
+ commons.Escaper.ecapeVariableReserved('$name') +
+ '/loginProfile';
+
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new LoginProfile.fromJson(data));
+ }
+
+ /// Adds an SSH public key and returns the profile information. Default POSIX
+ /// account information is set when no username and UID exist as part of the
+ /// login profile.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [parent] - The unique ID for the user in format `users/{user}`.
+ /// Value must have pattern "^users/[^/]+$".
+ ///
+ /// [projectId] - The project ID of the Google Cloud Platform project.
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [ImportSshPublicKeyResponse].
+ ///
+ /// 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<ImportSshPublicKeyResponse> importSshPublicKey(
+ SshPublicKey request, core.String parent,
+ {core.String projectId, core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (parent == null) {
+ throw new core.ArgumentError("Parameter parent is required.");
+ }
+ if (projectId != null) {
+ _queryParams["projectId"] = [projectId];
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'v1/' +
+ commons.Escaper.ecapeVariableReserved('$parent') +
+ ':importSshPublicKey';
+
+ var _response = _requester.request(_url, "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response
+ .then((data) => new ImportSshPublicKeyResponse.fromJson(data));
+ }
+}
+
+class UsersProjectsResourceApi {
+ final commons.ApiRequester _requester;
+
+ UsersProjectsResourceApi(commons.ApiRequester client) : _requester = client;
+
+ /// Deletes a POSIX account.
+ ///
+ /// Request parameters:
+ ///
+ /// [name] - A reference to the POSIX account to update. POSIX accounts are
+ /// identified
+ /// by the project ID they are associated with. A reference to the POSIX
+ /// account is in format `users/{user}/projects/{project}`.
+ /// Value must have pattern "^users/[^/]+/projects/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [Empty].
+ ///
+ /// 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<Empty> delete(core.String name, {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ 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 Empty.fromJson(data));
+ }
+}
+
+class UsersSshPublicKeysResourceApi {
+ final commons.ApiRequester _requester;
+
+ UsersSshPublicKeysResourceApi(commons.ApiRequester client)
+ : _requester = client;
+
+ /// Deletes an SSH public key.
+ ///
+ /// Request parameters:
+ ///
+ /// [name] - The fingerprint of the public key to update. Public keys are
+ /// identified by
+ /// their SHA-256 fingerprint. The fingerprint of the public key is in format
+ /// `users/{user}/sshPublicKeys/{fingerprint}`.
+ /// Value must have pattern "^users/[^/]+/sshPublicKeys/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [Empty].
+ ///
+ /// 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<Empty> delete(core.String name, {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ 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 Empty.fromJson(data));
+ }
+
+ /// Retrieves an SSH public key.
+ ///
+ /// Request parameters:
+ ///
+ /// [name] - The fingerprint of the public key to retrieve. Public keys are
+ /// identified
+ /// by their SHA-256 fingerprint. The fingerprint of the public key is in
+ /// format `users/{user}/sshPublicKeys/{fingerprint}`.
+ /// Value must have pattern "^users/[^/]+/sshPublicKeys/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [SshPublicKey].
+ ///
+ /// 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<SshPublicKey> get(core.String name, {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ 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 SshPublicKey.fromJson(data));
+ }
+
+ /// Updates an SSH public key and returns the profile information. This method
+ /// supports patch semantics.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [name] - The fingerprint of the public key to update. Public keys are
+ /// identified by
+ /// their SHA-256 fingerprint. The fingerprint of the public key is in format
+ /// `users/{user}/sshPublicKeys/{fingerprint}`.
+ /// Value must have pattern "^users/[^/]+/sshPublicKeys/[^/]+$".
+ ///
+ /// [updateMask] - Mask to control which fields get updated. Updates all if
+ /// not present.
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [SshPublicKey].
+ ///
+ /// 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<SshPublicKey> patch(SshPublicKey request, core.String name,
+ {core.String updateMask, core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (name == null) {
+ throw new core.ArgumentError("Parameter name is required.");
+ }
+ if (updateMask != null) {
+ _queryParams["updateMask"] = [updateMask];
+ }
+ 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 SshPublicKey.fromJson(data));
+ }
+}
+
+/// A generic empty message that you can re-use to avoid defining duplicated
+/// empty messages in your APIs. A typical example is to use it as the request
+/// or the response type of an API method. For instance:
+///
+/// service Foo {
+/// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
+/// }
+///
+/// The JSON representation for `Empty` is empty JSON object `{}`.
+class Empty {
+ Empty();
+
+ Empty.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;
+ }
+}
+
+/// A response message for importing an SSH public key.
+class ImportSshPublicKeyResponse {
+ /// The login profile information for the user.
+ LoginProfile loginProfile;
+
+ ImportSshPublicKeyResponse();
+
+ ImportSshPublicKeyResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("loginProfile")) {
+ loginProfile = new LoginProfile.fromJson(_json["loginProfile"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (loginProfile != null) {
+ _json["loginProfile"] = (loginProfile).toJson();
+ }
+ return _json;
+ }
+}
+
+/// The user profile information used for logging in to a virtual machine on
+/// Google Compute Engine.
+class LoginProfile {
+ /// The primary email address that uniquely identifies the user.
+ core.String name;
+
+ /// The list of POSIX accounts associated with the user.
+ core.List<PosixAccount> posixAccounts;
+
+ /// A map from SSH public key fingerprint to the associated key object.
+ core.Map<core.String, SshPublicKey> sshPublicKeys;
+
+ /// Indicates if the user is suspended. A suspended user cannot log in but
+ /// their profile information is retained.
+ core.bool suspended;
+
+ LoginProfile();
+
+ LoginProfile.fromJson(core.Map _json) {
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("posixAccounts")) {
+ posixAccounts = _json["posixAccounts"]
+ .map((value) => new PosixAccount.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("sshPublicKeys")) {
+ sshPublicKeys =
+ commons.mapMap<core.Map<core.String, core.Object>, SshPublicKey>(
+ _json["sshPublicKeys"],
+ (core.Map<core.String, core.Object> item) =>
+ new SshPublicKey.fromJson(item));
+ }
+ if (_json.containsKey("suspended")) {
+ suspended = _json["suspended"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (posixAccounts != null) {
+ _json["posixAccounts"] =
+ posixAccounts.map((value) => (value).toJson()).toList();
+ }
+ if (sshPublicKeys != null) {
+ _json["sshPublicKeys"] =
+ commons.mapMap<SshPublicKey, core.Map<core.String, core.Object>>(
+ sshPublicKeys, (SshPublicKey item) => (item).toJson());
+ }
+ if (suspended != null) {
+ _json["suspended"] = suspended;
+ }
+ return _json;
+ }
+}
+
+/// The POSIX account information associated with a Google account.
+class PosixAccount {
+ /// Output only. A POSIX account identifier.
+ core.String accountId;
+
+ /// The GECOS (user information) entry for this account.
+ core.String gecos;
+
+ /// The default group ID.
+ core.String gid;
+
+ /// The path to the home directory for this account.
+ core.String homeDirectory;
+
+ /// Only one POSIX account can be marked as primary.
+ core.bool primary;
+
+ /// The path to the logic shell for this account.
+ core.String shell;
+
+ /// System identifier for which account the username or uid applies to.
+ /// By default, the empty value is used.
+ core.String systemId;
+
+ /// The user ID.
+ core.String uid;
+
+ /// The username of the POSIX account.
+ core.String username;
+
+ PosixAccount();
+
+ PosixAccount.fromJson(core.Map _json) {
+ if (_json.containsKey("accountId")) {
+ accountId = _json["accountId"];
+ }
+ if (_json.containsKey("gecos")) {
+ gecos = _json["gecos"];
+ }
+ if (_json.containsKey("gid")) {
+ gid = _json["gid"];
+ }
+ if (_json.containsKey("homeDirectory")) {
+ homeDirectory = _json["homeDirectory"];
+ }
+ if (_json.containsKey("primary")) {
+ primary = _json["primary"];
+ }
+ if (_json.containsKey("shell")) {
+ shell = _json["shell"];
+ }
+ if (_json.containsKey("systemId")) {
+ systemId = _json["systemId"];
+ }
+ if (_json.containsKey("uid")) {
+ uid = _json["uid"];
+ }
+ if (_json.containsKey("username")) {
+ username = _json["username"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (accountId != null) {
+ _json["accountId"] = accountId;
+ }
+ if (gecos != null) {
+ _json["gecos"] = gecos;
+ }
+ if (gid != null) {
+ _json["gid"] = gid;
+ }
+ if (homeDirectory != null) {
+ _json["homeDirectory"] = homeDirectory;
+ }
+ if (primary != null) {
+ _json["primary"] = primary;
+ }
+ if (shell != null) {
+ _json["shell"] = shell;
+ }
+ if (systemId != null) {
+ _json["systemId"] = systemId;
+ }
+ if (uid != null) {
+ _json["uid"] = uid;
+ }
+ if (username != null) {
+ _json["username"] = username;
+ }
+ return _json;
+ }
+}
+
+/// The SSH public key information associated with a Google account.
+class SshPublicKey {
+ /// An expiration time in microseconds since epoch.
+ core.String expirationTimeUsec;
+
+ /// Output only. The SHA-256 fingerprint of the SSH public key.
+ core.String fingerprint;
+
+ /// Public key text in SSH format, defined by
+ /// <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
+ /// section 6.6.
+ core.String key;
+
+ SshPublicKey();
+
+ SshPublicKey.fromJson(core.Map _json) {
+ if (_json.containsKey("expirationTimeUsec")) {
+ expirationTimeUsec = _json["expirationTimeUsec"];
+ }
+ if (_json.containsKey("fingerprint")) {
+ fingerprint = _json["fingerprint"];
+ }
+ if (_json.containsKey("key")) {
+ key = _json["key"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (expirationTimeUsec != null) {
+ _json["expirationTimeUsec"] = expirationTimeUsec;
+ }
+ if (fingerprint != null) {
+ _json["fingerprint"] = fingerprint;
+ }
+ if (key != null) {
+ _json["key"] = key;
+ }
+ return _json;
+ }
+}
diff --git a/generated/googleapis/lib/partners/v2.dart b/generated/googleapis/lib/partners/v2.dart
index e12d203..3c0af78 100644
--- a/generated/googleapis/lib/partners/v2.dart
+++ b/generated/googleapis/lib/partners/v2.dart
@@ -48,6 +48,11 @@
///
/// Request parameters:
///
+ /// [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
+ /// where the traffic comes from.
+ /// An identifier has multiple letters created by a team which redirected the
+ /// traffic to us.
+ ///
/// [requestMetadata_locale] - Locale to use for the current request.
///
/// [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
@@ -61,11 +66,11 @@
/// An identifier has multiple letters created by a team which redirected the
/// traffic to us.
///
+ /// [requestMetadata_partnersSessionId] - Google Partners session ID.
+ ///
/// [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
/// instead of the user's ID.
///
- /// [requestMetadata_partnersSessionId] - Google Partners session ID.
- ///
/// [pageToken] - A token identifying a page of results that the server
/// returns.
/// Typically, this is the value of `ListAnalyticsResponse.next_page_token`
@@ -84,11 +89,6 @@
/// of days BEFORE the end date.
/// Must be a non-negative integer.
///
- /// [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
- /// where the traffic comes from.
- /// An identifier has multiple letters created by a team which redirected the
- /// traffic to us.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -100,15 +100,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<ListAnalyticsResponse> list(
- {core.String requestMetadata_locale,
+ {core.String requestMetadata_trafficSource_trafficSourceId,
+ core.String requestMetadata_locale,
core.String requestMetadata_userOverrides_ipAddress,
core.List<core.String> requestMetadata_experimentIds,
core.String requestMetadata_trafficSource_trafficSubId,
- core.String requestMetadata_userOverrides_userId,
core.String requestMetadata_partnersSessionId,
+ core.String requestMetadata_userOverrides_userId,
core.String pageToken,
core.int pageSize,
- core.String requestMetadata_trafficSource_trafficSourceId,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -117,6 +117,11 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (requestMetadata_trafficSource_trafficSourceId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [
+ requestMetadata_trafficSource_trafficSourceId
+ ];
+ }
if (requestMetadata_locale != null) {
_queryParams["requestMetadata.locale"] = [requestMetadata_locale];
}
@@ -134,27 +139,22 @@
requestMetadata_trafficSource_trafficSubId
];
}
- if (requestMetadata_userOverrides_userId != null) {
- _queryParams["requestMetadata.userOverrides.userId"] = [
- requestMetadata_userOverrides_userId
- ];
- }
if (requestMetadata_partnersSessionId != null) {
_queryParams["requestMetadata.partnersSessionId"] = [
requestMetadata_partnersSessionId
];
}
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [
+ requestMetadata_userOverrides_userId
+ ];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (requestMetadata_trafficSource_trafficSourceId != null) {
- _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [
- requestMetadata_trafficSource_trafficSourceId
- ];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -236,29 +236,11 @@
///
/// [companyId] - The ID of the company to retrieve.
///
- /// [requestMetadata_experimentIds] - Experiment IDs the current request
- /// belongs to.
- ///
- /// [currencyCode] - If the company's budget is in a different currency code
- /// than this one, then
- /// the converted budget is converted to this currency code.
- ///
- /// [orderBy] - How to order addresses within the returned company. Currently,
- /// only
- /// `address` and `address desc` is supported which will sorted by closest to
- /// farthest in distance from given address and farthest to closest distance
- /// from given address respectively.
- ///
- /// [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
- /// indicate where the traffic comes from.
- /// An identifier has multiple letters created by a team which redirected the
- /// traffic to us.
+ /// [requestMetadata_partnersSessionId] - Google Partners session ID.
///
/// [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
/// instead of the user's ID.
///
- /// [requestMetadata_partnersSessionId] - Google Partners session ID.
- ///
/// [view] - The view of `Company` resource to be returned. This must not be
/// `COMPANY_VIEW_UNSPECIFIED`.
/// Possible string values are:
@@ -280,6 +262,24 @@
/// [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
/// the user's geo-located IP address.
///
+ /// [currencyCode] - If the company's budget is in a different currency code
+ /// than this one, then
+ /// the converted budget is converted to this currency code.
+ ///
+ /// [requestMetadata_experimentIds] - Experiment IDs the current request
+ /// belongs to.
+ ///
+ /// [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ /// indicate where the traffic comes from.
+ /// An identifier has multiple letters created by a team which redirected the
+ /// traffic to us.
+ ///
+ /// [orderBy] - How to order addresses within the returned company. Currently,
+ /// only
+ /// `address` and `address desc` is supported which will sorted by closest to
+ /// farthest in distance from given address and farthest to closest distance
+ /// from given address respectively.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -291,17 +291,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<GetCompanyResponse> get(core.String companyId,
- {core.List<core.String> requestMetadata_experimentIds,
- core.String currencyCode,
- core.String orderBy,
- core.String requestMetadata_trafficSource_trafficSubId,
+ {core.String requestMetadata_partnersSessionId,
core.String requestMetadata_userOverrides_userId,
- core.String requestMetadata_partnersSessionId,
core.String view,
core.String requestMetadata_locale,
core.String address,
core.String requestMetadata_trafficSource_trafficSourceId,
core.String requestMetadata_userOverrides_ipAddress,
+ core.String currencyCode,
+ core.List<core.String> requestMetadata_experimentIds,
+ core.String requestMetadata_trafficSource_trafficSubId,
+ core.String orderBy,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -313,19 +313,9 @@
if (companyId == null) {
throw new core.ArgumentError("Parameter companyId is required.");
}
- if (requestMetadata_experimentIds != null) {
- _queryParams["requestMetadata.experimentIds"] =
- requestMetadata_experimentIds;
- }
- if (currencyCode != null) {
- _queryParams["currencyCode"] = [currencyCode];
- }
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
- if (requestMetadata_trafficSource_trafficSubId != null) {
- _queryParams["requestMetadata.trafficSource.trafficSubId"] = [
- requestMetadata_trafficSource_trafficSubId
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [
+ requestMetadata_partnersSessionId
];
}
if (requestMetadata_userOverrides_userId != null) {
@@ -333,11 +323,6 @@
requestMetadata_userOverrides_userId
];
}
- if (requestMetadata_partnersSessionId != null) {
- _queryParams["requestMetadata.partnersSessionId"] = [
- requestMetadata_partnersSessionId
- ];
- }
if (view != null) {
_queryParams["view"] = [view];
}
@@ -357,6 +342,21 @@
requestMetadata_userOverrides_ipAddress
];
}
+ if (currencyCode != null) {
+ _queryParams["currencyCode"] = [currencyCode];
+ }
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] =
+ requestMetadata_experimentIds;
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [
+ requestMetadata_trafficSource_trafficSubId
+ ];
+ }
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -406,12 +406,12 @@
/// [maxMonthlyBudget_currencyCode] - The 3-letter currency code defined in
/// ISO 4217.
///
- /// [minMonthlyBudget_currencyCode] - The 3-letter currency code defined in
- /// ISO 4217.
- ///
/// [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
/// instead of the user's ID.
///
+ /// [minMonthlyBudget_currencyCode] - The 3-letter currency code defined in
+ /// ISO 4217.
+ ///
/// [view] - The view of the `Company` resource to be returned. This must not
/// be
/// `COMPANY_VIEW_UNSPECIFIED`.
@@ -447,11 +447,6 @@
/// [maxMonthlyBudget_units] - The whole units of the amount.
/// For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
///
- /// [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
- /// indicate where the traffic comes from.
- /// An identifier has multiple letters created by a team which redirected the
- /// traffic to us.
- ///
/// [minMonthlyBudget_nanos] - Number of nano (10^-9) units of the amount.
/// The value must be between -999,999,999 and +999,999,999 inclusive.
/// If `units` is positive, `nanos` must be positive or zero.
@@ -459,6 +454,11 @@
/// If `units` is negative, `nanos` must be negative or zero.
/// For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
///
+ /// [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ /// indicate where the traffic comes from.
+ /// An identifier has multiple letters created by a team which redirected the
+ /// traffic to us.
+ ///
/// [requestMetadata_partnersSessionId] - Google Partners session ID.
///
/// [companyName] - Company name to search for.
@@ -496,8 +496,8 @@
core.String orderBy,
core.List<core.String> specializations,
core.String maxMonthlyBudget_currencyCode,
- core.String minMonthlyBudget_currencyCode,
core.String requestMetadata_userOverrides_userId,
+ core.String minMonthlyBudget_currencyCode,
core.String view,
core.String requestMetadata_locale,
core.String address,
@@ -506,8 +506,8 @@
core.List<core.String> services,
core.String requestMetadata_trafficSource_trafficSourceId,
core.String maxMonthlyBudget_units,
- core.String requestMetadata_trafficSource_trafficSubId,
core.int minMonthlyBudget_nanos,
+ core.String requestMetadata_trafficSource_trafficSubId,
core.String requestMetadata_partnersSessionId,
core.String companyName,
core.String pageToken,
@@ -548,16 +548,16 @@
maxMonthlyBudget_currencyCode
];
}
- if (minMonthlyBudget_currencyCode != null) {
- _queryParams["minMonthlyBudget.currencyCode"] = [
- minMonthlyBudget_currencyCode
- ];
- }
if (requestMetadata_userOverrides_userId != null) {
_queryParams["requestMetadata.userOverrides.userId"] = [
requestMetadata_userOverrides_userId
];
}
+ if (minMonthlyBudget_currencyCode != null) {
+ _queryParams["minMonthlyBudget.currencyCode"] = [
+ minMonthlyBudget_currencyCode
+ ];
+ }
if (view != null) {
_queryParams["view"] = [view];
}
@@ -584,14 +584,14 @@
if (maxMonthlyBudget_units != null) {
_queryParams["maxMonthlyBudget.units"] = [maxMonthlyBudget_units];
}
+ if (minMonthlyBudget_nanos != null) {
+ _queryParams["minMonthlyBudget.nanos"] = ["${minMonthlyBudget_nanos}"];
+ }
if (requestMetadata_trafficSource_trafficSubId != null) {
_queryParams["requestMetadata.trafficSource.trafficSubId"] = [
requestMetadata_trafficSource_trafficSubId
];
}
- if (minMonthlyBudget_nanos != null) {
- _queryParams["minMonthlyBudget.nanos"] = ["${minMonthlyBudget_nanos}"];
- }
if (requestMetadata_partnersSessionId != null) {
_queryParams["requestMetadata.partnersSessionId"] = [
requestMetadata_partnersSessionId
@@ -710,9 +710,6 @@
/// - "CET_DIGITAL_SALES" : A CET_DIGITAL_SALES.
/// - "CET_MOBILE_SITES" : A CET_MOBILE_SITES.
///
- /// [requestMetadata_experimentIds] - Experiment IDs the current request
- /// belongs to.
- ///
/// [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
/// indicate where the traffic comes from.
/// An identifier has multiple letters created by a team which redirected the
@@ -733,6 +730,9 @@
/// [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
/// the user's geo-located IP address.
///
+ /// [requestMetadata_experimentIds] - Experiment IDs the current request
+ /// belongs to.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -744,13 +744,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<ExamToken> getToken(core.String examType,
- {core.List<core.String> requestMetadata_experimentIds,
- core.String requestMetadata_trafficSource_trafficSubId,
+ {core.String requestMetadata_trafficSource_trafficSubId,
core.String requestMetadata_userOverrides_userId,
core.String requestMetadata_partnersSessionId,
core.String requestMetadata_trafficSource_trafficSourceId,
core.String requestMetadata_locale,
core.String requestMetadata_userOverrides_ipAddress,
+ core.List<core.String> requestMetadata_experimentIds,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -762,10 +762,6 @@
if (examType == null) {
throw new core.ArgumentError("Parameter examType is required.");
}
- if (requestMetadata_experimentIds != null) {
- _queryParams["requestMetadata.experimentIds"] =
- requestMetadata_experimentIds;
- }
if (requestMetadata_trafficSource_trafficSubId != null) {
_queryParams["requestMetadata.trafficSource.trafficSubId"] = [
requestMetadata_trafficSource_trafficSubId
@@ -794,6 +790,10 @@
requestMetadata_userOverrides_ipAddress
];
}
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] =
+ requestMetadata_experimentIds;
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -820,22 +820,6 @@
///
/// Request parameters:
///
- /// [requestMetadata_experimentIds] - Experiment IDs the current request
- /// belongs to.
- ///
- /// [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
- /// indicate where the traffic comes from.
- /// An identifier has multiple letters created by a team which redirected the
- /// traffic to us.
- ///
- /// [orderBy] - How to order Leads. Currently, only `create_time`
- /// and `create_time desc` are supported
- ///
- /// [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
- /// instead of the user's ID.
- ///
- /// [requestMetadata_partnersSessionId] - Google Partners session ID.
- ///
/// [pageToken] - A token identifying a page of results that the server
/// returns.
/// Typically, this is the value of `ListLeadsResponse.next_page_token`
@@ -856,6 +840,22 @@
/// [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
/// the user's geo-located IP address.
///
+ /// [requestMetadata_experimentIds] - Experiment IDs the current request
+ /// belongs to.
+ ///
+ /// [orderBy] - How to order Leads. Currently, only `create_time`
+ /// and `create_time desc` are supported
+ ///
+ /// [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ /// indicate where the traffic comes from.
+ /// An identifier has multiple letters created by a team which redirected the
+ /// traffic to us.
+ ///
+ /// [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
+ /// instead of the user's ID.
+ ///
+ /// [requestMetadata_partnersSessionId] - Google Partners session ID.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -867,16 +867,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<ListLeadsResponse> list(
- {core.List<core.String> requestMetadata_experimentIds,
- core.String requestMetadata_trafficSource_trafficSubId,
- core.String orderBy,
- core.String requestMetadata_userOverrides_userId,
- core.String requestMetadata_partnersSessionId,
- core.String pageToken,
+ {core.String pageToken,
core.int pageSize,
core.String requestMetadata_trafficSource_trafficSourceId,
core.String requestMetadata_locale,
core.String requestMetadata_userOverrides_ipAddress,
+ core.List<core.String> requestMetadata_experimentIds,
+ core.String orderBy,
+ core.String requestMetadata_trafficSource_trafficSubId,
+ core.String requestMetadata_userOverrides_userId,
+ core.String requestMetadata_partnersSessionId,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -885,28 +885,6 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (requestMetadata_experimentIds != null) {
- _queryParams["requestMetadata.experimentIds"] =
- requestMetadata_experimentIds;
- }
- if (requestMetadata_trafficSource_trafficSubId != null) {
- _queryParams["requestMetadata.trafficSource.trafficSubId"] = [
- requestMetadata_trafficSource_trafficSubId
- ];
- }
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
- if (requestMetadata_userOverrides_userId != null) {
- _queryParams["requestMetadata.userOverrides.userId"] = [
- requestMetadata_userOverrides_userId
- ];
- }
- if (requestMetadata_partnersSessionId != null) {
- _queryParams["requestMetadata.partnersSessionId"] = [
- requestMetadata_partnersSessionId
- ];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -926,6 +904,28 @@
requestMetadata_userOverrides_ipAddress
];
}
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] =
+ requestMetadata_experimentIds;
+ }
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [
+ requestMetadata_trafficSource_trafficSubId
+ ];
+ }
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [
+ requestMetadata_userOverrides_userId
+ ];
+ }
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [
+ requestMetadata_partnersSessionId
+ ];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -954,11 +954,11 @@
///
/// Request parameters:
///
+ /// [requestMetadata_partnersSessionId] - Google Partners session ID.
+ ///
/// [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
/// instead of the user's ID.
///
- /// [requestMetadata_partnersSessionId] - Google Partners session ID.
- ///
/// [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
/// where the traffic comes from.
/// An identifier has multiple letters created by a team which redirected the
@@ -988,8 +988,8 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListOffersResponse> list(
- {core.String requestMetadata_userOverrides_userId,
- core.String requestMetadata_partnersSessionId,
+ {core.String requestMetadata_partnersSessionId,
+ core.String requestMetadata_userOverrides_userId,
core.String requestMetadata_trafficSource_trafficSourceId,
core.String requestMetadata_locale,
core.String requestMetadata_userOverrides_ipAddress,
@@ -1003,16 +1003,16 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (requestMetadata_userOverrides_userId != null) {
- _queryParams["requestMetadata.userOverrides.userId"] = [
- requestMetadata_userOverrides_userId
- ];
- }
if (requestMetadata_partnersSessionId != null) {
_queryParams["requestMetadata.partnersSessionId"] = [
requestMetadata_partnersSessionId
];
}
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [
+ requestMetadata_userOverrides_userId
+ ];
+ }
if (requestMetadata_trafficSource_trafficSourceId != null) {
_queryParams["requestMetadata.trafficSource.trafficSourceId"] = [
requestMetadata_trafficSource_trafficSourceId
@@ -1061,20 +1061,12 @@
///
/// Request parameters:
///
- /// [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
- /// the user's geo-located IP address.
- ///
/// [requestMetadata_experimentIds] - Experiment IDs the current request
/// belongs to.
///
/// [entireCompany] - if true, show history for the entire company. Requires
/// user to be admin.
///
- /// [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
- /// indicate where the traffic comes from.
- /// An identifier has multiple letters created by a team which redirected the
- /// traffic to us.
- ///
/// [orderBy] - Comma-separated list of fields to order by, e.g.:
/// "foo,bar,baz".
/// Use "foo desc" to sort descending.
@@ -1082,6 +1074,11 @@
/// last_modified_time, sender_name, creation_time, country_code,
/// offer_type.
///
+ /// [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ /// indicate where the traffic comes from.
+ /// An identifier has multiple letters created by a team which redirected the
+ /// traffic to us.
+ ///
/// [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
/// instead of the user's ID.
///
@@ -1098,6 +1095,9 @@
///
/// [requestMetadata_locale] - Locale to use for the current request.
///
+ /// [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
+ /// the user's geo-located IP address.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1109,17 +1109,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<ListOffersHistoryResponse> list(
- {core.String requestMetadata_userOverrides_ipAddress,
- core.List<core.String> requestMetadata_experimentIds,
+ {core.List<core.String> requestMetadata_experimentIds,
core.bool entireCompany,
- core.String requestMetadata_trafficSource_trafficSubId,
core.String orderBy,
+ core.String requestMetadata_trafficSource_trafficSubId,
core.String requestMetadata_userOverrides_userId,
core.String requestMetadata_partnersSessionId,
core.String pageToken,
core.int pageSize,
core.String requestMetadata_trafficSource_trafficSourceId,
core.String requestMetadata_locale,
+ core.String requestMetadata_userOverrides_ipAddress,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1128,11 +1128,6 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (requestMetadata_userOverrides_ipAddress != null) {
- _queryParams["requestMetadata.userOverrides.ipAddress"] = [
- requestMetadata_userOverrides_ipAddress
- ];
- }
if (requestMetadata_experimentIds != null) {
_queryParams["requestMetadata.experimentIds"] =
requestMetadata_experimentIds;
@@ -1140,14 +1135,14 @@
if (entireCompany != null) {
_queryParams["entireCompany"] = ["${entireCompany}"];
}
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
if (requestMetadata_trafficSource_trafficSubId != null) {
_queryParams["requestMetadata.trafficSource.trafficSubId"] = [
requestMetadata_trafficSource_trafficSubId
];
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
if (requestMetadata_userOverrides_userId != null) {
_queryParams["requestMetadata.userOverrides.userId"] = [
requestMetadata_userOverrides_userId
@@ -1172,6 +1167,11 @@
if (requestMetadata_locale != null) {
_queryParams["requestMetadata.locale"] = [requestMetadata_locale];
}
+ if (requestMetadata_userOverrides_ipAddress != null) {
+ _queryParams["requestMetadata.userOverrides.ipAddress"] = [
+ requestMetadata_userOverrides_ipAddress
+ ];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1247,6 +1247,11 @@
///
/// Request parameters:
///
+ /// [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
+ /// where the traffic comes from.
+ /// An identifier has multiple letters created by a team which redirected the
+ /// traffic to us.
+ ///
/// [requestMetadata_locale] - Locale to use for the current request.
///
/// [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
@@ -1265,11 +1270,6 @@
///
/// [requestMetadata_partnersSessionId] - Google Partners session ID.
///
- /// [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
- /// where the traffic comes from.
- /// An identifier has multiple letters created by a team which redirected the
- /// traffic to us.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1281,13 +1281,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<ListUserStatesResponse> list(
- {core.String requestMetadata_locale,
+ {core.String requestMetadata_trafficSource_trafficSourceId,
+ core.String requestMetadata_locale,
core.String requestMetadata_userOverrides_ipAddress,
core.List<core.String> requestMetadata_experimentIds,
core.String requestMetadata_trafficSource_trafficSubId,
core.String requestMetadata_userOverrides_userId,
core.String requestMetadata_partnersSessionId,
- core.String requestMetadata_trafficSource_trafficSourceId,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1296,6 +1296,11 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (requestMetadata_trafficSource_trafficSourceId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [
+ requestMetadata_trafficSource_trafficSourceId
+ ];
+ }
if (requestMetadata_locale != null) {
_queryParams["requestMetadata.locale"] = [requestMetadata_locale];
}
@@ -1323,11 +1328,6 @@
requestMetadata_partnersSessionId
];
}
- if (requestMetadata_trafficSource_trafficSourceId != null) {
- _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [
- requestMetadata_trafficSource_trafficSourceId
- ];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1358,19 +1358,11 @@
/// [userId] - The ID of the user. Can be set to <code>me</code> to mean
/// the currently authenticated user.
///
- /// [requestMetadata_experimentIds] - Experiment IDs the current request
- /// belongs to.
- ///
- /// [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
- /// indicate where the traffic comes from.
- /// An identifier has multiple letters created by a team which redirected the
- /// traffic to us.
- ///
- /// [requestMetadata_partnersSessionId] - Google Partners session ID.
- ///
/// [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
/// instead of the user's ID.
///
+ /// [requestMetadata_partnersSessionId] - Google Partners session ID.
+ ///
/// [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
/// where the traffic comes from.
/// An identifier has multiple letters created by a team which redirected the
@@ -1381,6 +1373,14 @@
/// [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
/// the user's geo-located IP address.
///
+ /// [requestMetadata_experimentIds] - Experiment IDs the current request
+ /// belongs to.
+ ///
+ /// [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ /// indicate where the traffic comes from.
+ /// An identifier has multiple letters created by a team which redirected the
+ /// traffic to us.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1393,13 +1393,13 @@
/// this method will complete with the same error.
async.Future<CompanyRelation> createCompanyRelation(
CompanyRelation request, core.String userId,
- {core.List<core.String> requestMetadata_experimentIds,
- core.String requestMetadata_trafficSource_trafficSubId,
+ {core.String requestMetadata_userOverrides_userId,
core.String requestMetadata_partnersSessionId,
- core.String requestMetadata_userOverrides_userId,
core.String requestMetadata_trafficSource_trafficSourceId,
core.String requestMetadata_locale,
core.String requestMetadata_userOverrides_ipAddress,
+ core.List<core.String> requestMetadata_experimentIds,
+ core.String requestMetadata_trafficSource_trafficSubId,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1414,13 +1414,9 @@
if (userId == null) {
throw new core.ArgumentError("Parameter userId is required.");
}
- if (requestMetadata_experimentIds != null) {
- _queryParams["requestMetadata.experimentIds"] =
- requestMetadata_experimentIds;
- }
- if (requestMetadata_trafficSource_trafficSubId != null) {
- _queryParams["requestMetadata.trafficSource.trafficSubId"] = [
- requestMetadata_trafficSource_trafficSubId
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [
+ requestMetadata_userOverrides_userId
];
}
if (requestMetadata_partnersSessionId != null) {
@@ -1428,11 +1424,6 @@
requestMetadata_partnersSessionId
];
}
- if (requestMetadata_userOverrides_userId != null) {
- _queryParams["requestMetadata.userOverrides.userId"] = [
- requestMetadata_userOverrides_userId
- ];
- }
if (requestMetadata_trafficSource_trafficSourceId != null) {
_queryParams["requestMetadata.trafficSource.trafficSourceId"] = [
requestMetadata_trafficSource_trafficSourceId
@@ -1446,6 +1437,15 @@
requestMetadata_userOverrides_ipAddress
];
}
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] =
+ requestMetadata_experimentIds;
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [
+ requestMetadata_trafficSource_trafficSubId
+ ];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1470,11 +1470,11 @@
/// [userId] - The ID of the user. Can be set to <code>me</code> to mean
/// the currently authenticated user.
///
+ /// [requestMetadata_partnersSessionId] - Google Partners session ID.
+ ///
/// [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
/// instead of the user's ID.
///
- /// [requestMetadata_partnersSessionId] - Google Partners session ID.
- ///
/// [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
/// where the traffic comes from.
/// An identifier has multiple letters created by a team which redirected the
@@ -1504,8 +1504,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> deleteCompanyRelation(core.String userId,
- {core.String requestMetadata_userOverrides_userId,
- core.String requestMetadata_partnersSessionId,
+ {core.String requestMetadata_partnersSessionId,
+ core.String requestMetadata_userOverrides_userId,
core.String requestMetadata_trafficSource_trafficSourceId,
core.String requestMetadata_locale,
core.String requestMetadata_userOverrides_ipAddress,
@@ -1522,16 +1522,16 @@
if (userId == null) {
throw new core.ArgumentError("Parameter userId is required.");
}
- if (requestMetadata_userOverrides_userId != null) {
- _queryParams["requestMetadata.userOverrides.userId"] = [
- requestMetadata_userOverrides_userId
- ];
- }
if (requestMetadata_partnersSessionId != null) {
_queryParams["requestMetadata.partnersSessionId"] = [
requestMetadata_partnersSessionId
];
}
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [
+ requestMetadata_userOverrides_userId
+ ];
+ }
if (requestMetadata_trafficSource_trafficSourceId != null) {
_queryParams["requestMetadata.trafficSource.trafficSourceId"] = [
requestMetadata_trafficSource_trafficSourceId
@@ -1579,19 +1579,6 @@
/// the currently
/// authenticated user.
///
- /// [requestMetadata_experimentIds] - Experiment IDs the current request
- /// belongs to.
- ///
- /// [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
- /// indicate where the traffic comes from.
- /// An identifier has multiple letters created by a team which redirected the
- /// traffic to us.
- ///
- /// [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
- /// instead of the user's ID.
- ///
- /// [requestMetadata_partnersSessionId] - Google Partners session ID.
- ///
/// [userView] - Specifies what parts of the user information to return.
/// Possible string values are:
/// - "BASIC" : A BASIC.
@@ -1608,6 +1595,19 @@
/// [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
/// the user's geo-located IP address.
///
+ /// [requestMetadata_experimentIds] - Experiment IDs the current request
+ /// belongs to.
+ ///
+ /// [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ /// indicate where the traffic comes from.
+ /// An identifier has multiple letters created by a team which redirected the
+ /// traffic to us.
+ ///
+ /// [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
+ /// instead of the user's ID.
+ ///
+ /// [requestMetadata_partnersSessionId] - Google Partners session ID.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1619,14 +1619,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<User> get(core.String userId,
- {core.List<core.String> requestMetadata_experimentIds,
- core.String requestMetadata_trafficSource_trafficSubId,
- core.String requestMetadata_userOverrides_userId,
- core.String requestMetadata_partnersSessionId,
- core.String userView,
+ {core.String userView,
core.String requestMetadata_trafficSource_trafficSourceId,
core.String requestMetadata_locale,
core.String requestMetadata_userOverrides_ipAddress,
+ core.List<core.String> requestMetadata_experimentIds,
+ core.String requestMetadata_trafficSource_trafficSubId,
+ core.String requestMetadata_userOverrides_userId,
+ core.String requestMetadata_partnersSessionId,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1638,6 +1638,22 @@
if (userId == null) {
throw new core.ArgumentError("Parameter userId is required.");
}
+ if (userView != null) {
+ _queryParams["userView"] = [userView];
+ }
+ if (requestMetadata_trafficSource_trafficSourceId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [
+ requestMetadata_trafficSource_trafficSourceId
+ ];
+ }
+ if (requestMetadata_locale != null) {
+ _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
+ }
+ if (requestMetadata_userOverrides_ipAddress != null) {
+ _queryParams["requestMetadata.userOverrides.ipAddress"] = [
+ requestMetadata_userOverrides_ipAddress
+ ];
+ }
if (requestMetadata_experimentIds != null) {
_queryParams["requestMetadata.experimentIds"] =
requestMetadata_experimentIds;
@@ -1657,22 +1673,6 @@
requestMetadata_partnersSessionId
];
}
- if (userView != null) {
- _queryParams["userView"] = [userView];
- }
- if (requestMetadata_trafficSource_trafficSourceId != null) {
- _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [
- requestMetadata_trafficSource_trafficSourceId
- ];
- }
- if (requestMetadata_locale != null) {
- _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
- }
- if (requestMetadata_userOverrides_ipAddress != null) {
- _queryParams["requestMetadata.userOverrides.ipAddress"] = [
- requestMetadata_userOverrides_ipAddress
- ];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1713,11 +1713,11 @@
/// An identifier has multiple letters created by a team which redirected the
/// traffic to us.
///
+ /// [requestMetadata_partnersSessionId] - Google Partners session ID.
+ ///
/// [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
/// instead of the user's ID.
///
- /// [requestMetadata_partnersSessionId] - Google Partners session ID.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1734,8 +1734,8 @@
core.String requestMetadata_userOverrides_ipAddress,
core.List<core.String> requestMetadata_experimentIds,
core.String requestMetadata_trafficSource_trafficSubId,
- core.String requestMetadata_userOverrides_userId,
core.String requestMetadata_partnersSessionId,
+ core.String requestMetadata_userOverrides_userId,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1769,16 +1769,16 @@
requestMetadata_trafficSource_trafficSubId
];
}
- if (requestMetadata_userOverrides_userId != null) {
- _queryParams["requestMetadata.userOverrides.userId"] = [
- requestMetadata_userOverrides_userId
- ];
- }
if (requestMetadata_partnersSessionId != null) {
_queryParams["requestMetadata.partnersSessionId"] = [
requestMetadata_partnersSessionId
];
}
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [
+ requestMetadata_userOverrides_userId
+ ];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1805,17 +1805,6 @@
///
/// Request parameters:
///
- /// [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
- /// the user's geo-located IP address.
- ///
- /// [requestMetadata_experimentIds] - Experiment IDs the current request
- /// belongs to.
- ///
- /// [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
- /// indicate where the traffic comes from.
- /// An identifier has multiple letters created by a team which redirected the
- /// traffic to us.
- ///
/// [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
/// instead of the user's ID.
///
@@ -1828,6 +1817,17 @@
///
/// [requestMetadata_locale] - Locale to use for the current request.
///
+ /// [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
+ /// the user's geo-located IP address.
+ ///
+ /// [requestMetadata_experimentIds] - Experiment IDs the current request
+ /// belongs to.
+ ///
+ /// [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ /// indicate where the traffic comes from.
+ /// An identifier has multiple letters created by a team which redirected the
+ /// traffic to us.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1839,13 +1839,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<GetPartnersStatusResponse> getPartnersstatus(
- {core.String requestMetadata_userOverrides_ipAddress,
- core.List<core.String> requestMetadata_experimentIds,
- core.String requestMetadata_trafficSource_trafficSubId,
- core.String requestMetadata_userOverrides_userId,
+ {core.String requestMetadata_userOverrides_userId,
core.String requestMetadata_partnersSessionId,
core.String requestMetadata_trafficSource_trafficSourceId,
core.String requestMetadata_locale,
+ core.String requestMetadata_userOverrides_ipAddress,
+ core.List<core.String> requestMetadata_experimentIds,
+ core.String requestMetadata_trafficSource_trafficSubId,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1854,20 +1854,6 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (requestMetadata_userOverrides_ipAddress != null) {
- _queryParams["requestMetadata.userOverrides.ipAddress"] = [
- requestMetadata_userOverrides_ipAddress
- ];
- }
- if (requestMetadata_experimentIds != null) {
- _queryParams["requestMetadata.experimentIds"] =
- requestMetadata_experimentIds;
- }
- if (requestMetadata_trafficSource_trafficSubId != null) {
- _queryParams["requestMetadata.trafficSource.trafficSubId"] = [
- requestMetadata_trafficSource_trafficSubId
- ];
- }
if (requestMetadata_userOverrides_userId != null) {
_queryParams["requestMetadata.userOverrides.userId"] = [
requestMetadata_userOverrides_userId
@@ -1886,6 +1872,20 @@
if (requestMetadata_locale != null) {
_queryParams["requestMetadata.locale"] = [requestMetadata_locale];
}
+ if (requestMetadata_userOverrides_ipAddress != null) {
+ _queryParams["requestMetadata.userOverrides.ipAddress"] = [
+ requestMetadata_userOverrides_ipAddress
+ ];
+ }
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] =
+ requestMetadata_experimentIds;
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [
+ requestMetadata_trafficSource_trafficSubId
+ ];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1909,14 +1909,6 @@
///
/// Request parameters:
///
- /// [requestMetadata_experimentIds] - Experiment IDs the current request
- /// belongs to.
- ///
- /// [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
- /// indicate where the traffic comes from.
- /// An identifier has multiple letters created by a team which redirected the
- /// traffic to us.
- ///
/// [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
/// instead of the user's ID.
///
@@ -1935,6 +1927,14 @@
/// [updateMask] - Standard field mask for the set of fields to be updated.
/// Required with at least 1 value in FieldMask's paths.
///
+ /// [requestMetadata_experimentIds] - Experiment IDs the current request
+ /// belongs to.
+ ///
+ /// [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
+ /// indicate where the traffic comes from.
+ /// An identifier has multiple letters created by a team which redirected the
+ /// traffic to us.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1946,14 +1946,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<Company> updateCompanies(Company request,
- {core.List<core.String> requestMetadata_experimentIds,
- core.String requestMetadata_trafficSource_trafficSubId,
- core.String requestMetadata_userOverrides_userId,
+ {core.String requestMetadata_userOverrides_userId,
core.String requestMetadata_partnersSessionId,
core.String requestMetadata_trafficSource_trafficSourceId,
core.String requestMetadata_locale,
core.String requestMetadata_userOverrides_ipAddress,
core.String updateMask,
+ core.List<core.String> requestMetadata_experimentIds,
+ core.String requestMetadata_trafficSource_trafficSubId,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1965,15 +1965,6 @@
if (request != null) {
_body = convert.JSON.encode((request).toJson());
}
- if (requestMetadata_experimentIds != null) {
- _queryParams["requestMetadata.experimentIds"] =
- requestMetadata_experimentIds;
- }
- if (requestMetadata_trafficSource_trafficSubId != null) {
- _queryParams["requestMetadata.trafficSource.trafficSubId"] = [
- requestMetadata_trafficSource_trafficSubId
- ];
- }
if (requestMetadata_userOverrides_userId != null) {
_queryParams["requestMetadata.userOverrides.userId"] = [
requestMetadata_userOverrides_userId
@@ -2000,6 +1991,15 @@
if (updateMask != null) {
_queryParams["updateMask"] = [updateMask];
}
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] =
+ requestMetadata_experimentIds;
+ }
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [
+ requestMetadata_trafficSource_trafficSubId
+ ];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2021,6 +2021,11 @@
///
/// Request parameters:
///
+ /// [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
+ /// instead of the user's ID.
+ ///
+ /// [requestMetadata_partnersSessionId] - Google Partners session ID.
+ ///
/// [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
/// where the traffic comes from.
/// An identifier has multiple letters created by a team which redirected the
@@ -2043,11 +2048,6 @@
/// An identifier has multiple letters created by a team which redirected the
/// traffic to us.
///
- /// [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
- /// instead of the user's ID.
- ///
- /// [requestMetadata_partnersSessionId] - Google Partners session ID.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2059,14 +2059,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<Lead> updateLeads(Lead request,
- {core.String requestMetadata_trafficSource_trafficSourceId,
+ {core.String requestMetadata_userOverrides_userId,
+ core.String requestMetadata_partnersSessionId,
+ core.String requestMetadata_trafficSource_trafficSourceId,
core.String requestMetadata_locale,
core.String requestMetadata_userOverrides_ipAddress,
core.String updateMask,
core.List<core.String> requestMetadata_experimentIds,
core.String requestMetadata_trafficSource_trafficSubId,
- core.String requestMetadata_userOverrides_userId,
- core.String requestMetadata_partnersSessionId,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -2078,6 +2078,16 @@
if (request != null) {
_body = convert.JSON.encode((request).toJson());
}
+ if (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [
+ requestMetadata_userOverrides_userId
+ ];
+ }
+ if (requestMetadata_partnersSessionId != null) {
+ _queryParams["requestMetadata.partnersSessionId"] = [
+ requestMetadata_partnersSessionId
+ ];
+ }
if (requestMetadata_trafficSource_trafficSourceId != null) {
_queryParams["requestMetadata.trafficSource.trafficSourceId"] = [
requestMetadata_trafficSource_trafficSourceId
@@ -2103,16 +2113,6 @@
requestMetadata_trafficSource_trafficSubId
];
}
- if (requestMetadata_userOverrides_userId != null) {
- _queryParams["requestMetadata.userOverrides.userId"] = [
- requestMetadata_userOverrides_userId
- ];
- }
- if (requestMetadata_partnersSessionId != null) {
- _queryParams["requestMetadata.partnersSessionId"] = [
- requestMetadata_partnersSessionId
- ];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/people/v1.dart b/generated/googleapis/lib/people/v1.dart
index b349512..05a9032 100644
--- a/generated/googleapis/lib/people/v1.dart
+++ b/generated/googleapis/lib/people/v1.dart
@@ -653,6 +653,23 @@
///
/// Request parameters:
///
+ /// [requestMask_includeField] - **Required.** Comma-separated list of person
+ /// fields to be included in the
+ /// response. Each path should start with `person.`: for example,
+ /// `person.names` or `person.photos`.
+ ///
+ /// [resourceNames] - The resource names of the people to provide information
+ /// about.
+ ///
+ /// - To get information about the authenticated user, specify `people/me`.
+ /// - To get information about a google account, specify
+ /// `people/`<var>account_id</var>.
+ /// - 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.
+ ///
/// [personFields] - **Required.** A field mask to restrict which fields on
/// each person are
/// returned. Valid values are:
@@ -684,23 +701,6 @@
/// * taglines
/// * urls
///
- /// [requestMask_includeField] - **Required.** Comma-separated list of person
- /// fields to be included in the
- /// response. Each path should start with `person.`: for example,
- /// `person.names` or `person.photos`.
- ///
- /// [resourceNames] - The resource names of the people to provide information
- /// about.
- ///
- /// - To get information about the authenticated user, specify `people/me`.
- /// - To get information about a google account, specify
- /// `people/`<var>account_id</var>.
- /// - 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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -712,9 +712,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<GetPeopleResponse> getBatchGet(
- {core.String personFields,
- core.String requestMask_includeField,
+ {core.String requestMask_includeField,
core.List<core.String> resourceNames,
+ core.String personFields,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -723,15 +723,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (personFields != null) {
- _queryParams["personFields"] = [personFields];
- }
if (requestMask_includeField != null) {
_queryParams["requestMask.includeField"] = [requestMask_includeField];
}
if (resourceNames != null) {
_queryParams["resourceNames"] = resourceNames;
}
+ if (personFields != null) {
+ _queryParams["personFields"] = [personFields];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -856,6 +856,33 @@
/// `people/me` is valid.
/// Value must have pattern "^people/[^/]+$".
///
+ /// [sortOrder] - The order in which the connections should be sorted.
+ /// Defaults to
+ /// `LAST_MODIFIED_ASCENDING`.
+ /// Possible string values are:
+ /// - "LAST_MODIFIED_ASCENDING" : A LAST_MODIFIED_ASCENDING.
+ /// - "FIRST_NAME_ASCENDING" : A FIRST_NAME_ASCENDING.
+ /// - "LAST_NAME_ASCENDING" : A LAST_NAME_ASCENDING.
+ ///
+ /// [requestSyncToken] - Whether the response should include a sync token,
+ /// which can be used to get
+ /// all changes since the last request.
+ ///
+ /// [pageToken] - The token of the page to be returned.
+ ///
+ /// [pageSize] - The number of connections to include in the response. Valid
+ /// values are
+ /// between 1 and 2000, inclusive. Defaults to 100.
+ ///
+ /// [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`.
+ ///
+ /// [syncToken] - A sync token, returned by a previous call to
+ /// `people.connections.list`.
+ /// Only resources changed since the sync token was created will be returned.
+ ///
/// [personFields] - **Required.** A field mask to restrict which fields on
/// each person are
/// returned. Valid values are:
@@ -887,33 +914,6 @@
/// * taglines
/// * urls
///
- /// [sortOrder] - The order in which the connections should be sorted.
- /// Defaults to
- /// `LAST_MODIFIED_ASCENDING`.
- /// Possible string values are:
- /// - "LAST_MODIFIED_ASCENDING" : A LAST_MODIFIED_ASCENDING.
- /// - "FIRST_NAME_ASCENDING" : A FIRST_NAME_ASCENDING.
- /// - "LAST_NAME_ASCENDING" : A LAST_NAME_ASCENDING.
- ///
- /// [requestSyncToken] - Whether the response should include a sync token,
- /// which can be used to get
- /// all changes since the last request.
- ///
- /// [pageToken] - The token of the page to be returned.
- ///
- /// [pageSize] - The number of connections to include in the response. Valid
- /// values are
- /// between 1 and 2000, inclusive. Defaults to 100.
- ///
- /// [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`.
- ///
- /// [syncToken] - A sync token, returned by a previous call to
- /// `people.connections.list`.
- /// Only resources changed since the sync token was created will be returned.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -925,13 +925,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<ListConnectionsResponse> list(core.String resourceName,
- {core.String personFields,
- core.String sortOrder,
+ {core.String sortOrder,
core.bool requestSyncToken,
core.String pageToken,
core.int pageSize,
core.String requestMask_includeField,
core.String syncToken,
+ core.String personFields,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -943,9 +943,6 @@
if (resourceName == null) {
throw new core.ArgumentError("Parameter resourceName is required.");
}
- if (personFields != null) {
- _queryParams["personFields"] = [personFields];
- }
if (sortOrder != null) {
_queryParams["sortOrder"] = [sortOrder];
}
@@ -964,6 +961,9 @@
if (syncToken != null) {
_queryParams["syncToken"] = [syncToken];
}
+ if (personFields != null) {
+ _queryParams["personFields"] = [personFields];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/poly/v1.dart b/generated/googleapis/lib/poly/v1.dart
new file mode 100644
index 0000000..8361f9c
--- /dev/null
+++ b/generated/googleapis/lib/poly/v1.dart
@@ -0,0 +1,972 @@
+// This is a generated file (see the discoveryapis_generator project).
+
+library googleapis.poly.v1;
+
+import 'dart:core' as core;
+import 'dart:async' as async;
+import 'dart:convert' as convert;
+
+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 poly/v1';
+
+/// The Poly API provides read-only access to assets hosted on <a
+/// href="https://poly.google.com">poly.google.com</a>.
+class PolyApi {
+ final commons.ApiRequester _requester;
+
+ AssetsResourceApi get assets => new AssetsResourceApi(_requester);
+ UsersResourceApi get users => new UsersResourceApi(_requester);
+
+ PolyApi(http.Client client,
+ {core.String rootUrl: "https://poly.googleapis.com/",
+ core.String servicePath: ""})
+ : _requester =
+ new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
+}
+
+class AssetsResourceApi {
+ final commons.ApiRequester _requester;
+
+ AssetsResourceApi(commons.ApiRequester client) : _requester = client;
+
+ /// Returns detailed information about an asset given its name.
+ /// PRIVATE assets are returned only if
+ /// the currently authenticated user (via OAuth token) is the author of the
+ /// asset.
+ ///
+ /// Request parameters:
+ ///
+ /// [name] - Required. An asset's name in the form `assets/{ASSET_ID}`.
+ /// Value must have pattern "^assets/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [Asset].
+ ///
+ /// 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<Asset> get(core.String name, {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ 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 Asset.fromJson(data));
+ }
+
+ /// Lists all public, remixable assets. These are assets with an access level
+ /// of
+ /// PUBLIC and published under the
+ /// CC-By license.
+ ///
+ /// Request parameters:
+ ///
+ /// [keywords] - One or more search terms to be matched against all text that
+ /// Poly has
+ /// indexed for assets, which includes display_name,
+ /// description, and tags. Multiple keywords should be
+ /// separated by spaces.
+ ///
+ /// [orderBy] - Specifies an ordering for assets. Acceptable values are:
+ /// `BEST`, `NEWEST`, `OLDEST`. Defaults to `BEST`, which ranks assets
+ /// based on a combination of popularity and other features.
+ ///
+ /// [format] - Return only assets with the matching format. Acceptable values
+ /// are:
+ /// `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`.
+ ///
+ /// [curated] - Return only assets that have been curated by the Poly team.
+ ///
+ /// [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
+ /// MEDIUM assets also includes
+ /// SIMPLE assets.
+ /// Possible string values are:
+ /// - "COMPLEXITY_UNSPECIFIED" : A COMPLEXITY_UNSPECIFIED.
+ /// - "COMPLEX" : A COMPLEX.
+ /// - "MEDIUM" : A MEDIUM.
+ /// - "SIMPLE" : A SIMPLE.
+ ///
+ /// [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.
+ ///
+ /// Completes with a [ListAssetsResponse].
+ ///
+ /// 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<ListAssetsResponse> list(
+ {core.String keywords,
+ core.String orderBy,
+ core.String format,
+ core.bool curated,
+ core.String category,
+ core.String pageToken,
+ core.String maxComplexity,
+ core.int pageSize,
+ core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (keywords != null) {
+ _queryParams["keywords"] = [keywords];
+ }
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
+ if (format != null) {
+ _queryParams["format"] = [format];
+ }
+ if (curated != null) {
+ _queryParams["curated"] = ["${curated}"];
+ }
+ if (category != null) {
+ _queryParams["category"] = [category];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (maxComplexity != null) {
+ _queryParams["maxComplexity"] = [maxComplexity];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'v1/assets';
+
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListAssetsResponse.fromJson(data));
+ }
+}
+
+class UsersResourceApi {
+ final commons.ApiRequester _requester;
+
+ UsersAssetsResourceApi get assets => new UsersAssetsResourceApi(_requester);
+ UsersLikedassetsResourceApi get likedassets =>
+ new UsersLikedassetsResourceApi(_requester);
+
+ UsersResourceApi(commons.ApiRequester client) : _requester = client;
+}
+
+class UsersAssetsResourceApi {
+ final commons.ApiRequester _requester;
+
+ UsersAssetsResourceApi(commons.ApiRequester client) : _requester = client;
+
+ /// Lists assets authored by the given user. Only the value 'me', representing
+ /// the currently-authenticated user, is supported. May include assets with an
+ /// access level of PRIVATE or
+ /// UNLISTED and assets which are
+ /// All Rights Reserved for the
+ /// currently-authenticated user.
+ ///
+ /// Request parameters:
+ ///
+ /// [name] - A valid user id. Currently, only the special value 'me',
+ /// representing the
+ /// currently-authenticated user is supported. To use 'me', you must pass
+ /// an OAuth token with the request.
+ /// Value must have pattern "^users/[^/]+$".
+ ///
+ /// [pageSize] - The maximum number of assets to be returned. This value must
+ /// be between `1`
+ /// and `100`. Defaults to `20`.
+ ///
+ /// [visibility] - The visibility of the assets to be returned.
+ /// Defaults to VISIBILITY_UNSPECIFIED which returns all assets.
+ /// Possible string values are:
+ /// - "VISIBILITY_UNSPECIFIED" : A VISIBILITY_UNSPECIFIED.
+ /// - "PUBLISHED" : A PUBLISHED.
+ /// - "PRIVATE" : A PRIVATE.
+ ///
+ /// [orderBy] - Specifies an ordering for assets. Acceptable values are:
+ /// `BEST`, `NEWEST`, `OLDEST`. Defaults to `BEST`, which ranks assets
+ /// based on a combination of popularity and other features.
+ ///
+ /// [format] - Return only assets with the matching format. Acceptable values
+ /// are:
+ /// `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`.
+ ///
+ /// [pageToken] - Specifies a continuation token from a previous search whose
+ /// results were
+ /// split into multiple pages. To get the next page, submit the same request
+ /// specifying the value from
+ /// next_page_token.
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [ListUserAssetsResponse].
+ ///
+ /// 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<ListUserAssetsResponse> list(core.String name,
+ {core.int pageSize,
+ core.String visibility,
+ core.String orderBy,
+ core.String format,
+ core.String pageToken,
+ core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (name == null) {
+ throw new core.ArgumentError("Parameter name is required.");
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (visibility != null) {
+ _queryParams["visibility"] = [visibility];
+ }
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
+ if (format != null) {
+ _queryParams["format"] = [format];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + '/assets';
+
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListUserAssetsResponse.fromJson(data));
+ }
+}
+
+class UsersLikedassetsResourceApi {
+ final commons.ApiRequester _requester;
+
+ UsersLikedassetsResourceApi(commons.ApiRequester client)
+ : _requester = client;
+
+ /// Lists assets that the user has liked. Only the value 'me', representing
+ /// the currently-authenticated user, is supported. May include assets with an
+ /// access level of UNLISTED.
+ ///
+ /// Request parameters:
+ ///
+ /// [name] - A valid user id. Currently, only the special value 'me',
+ /// representing the
+ /// currently-authenticated user is supported. To use 'me', you must pass
+ /// 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.
+ ///
+ /// [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`.
+ ///
+ /// [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.
+ ///
+ /// Completes with a [ListLikedAssetsResponse].
+ ///
+ /// 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<ListLikedAssetsResponse> list(core.String name,
+ {core.String orderBy,
+ core.String pageToken,
+ core.int pageSize,
+ core.String format,
+ core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (name == null) {
+ throw new core.ArgumentError("Parameter name is required.");
+ }
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (format != null) {
+ _queryParams["format"] = [format];
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url =
+ 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + '/likedassets';
+
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListLikedAssetsResponse.fromJson(data));
+ }
+}
+
+/// Represents and describes an asset in the Poly library. An asset is a 3D
+/// model
+/// or scene created using [Tilt Brush](//www.tiltbrush.com),
+/// [Blocks](//vr.google.com/blocks/), or any 3D program that produces a file
+/// that can be upload to Poly.
+class Asset {
+ /// The author's publicly visible name. Use this name when giving credit to
+ /// the
+ /// author. For more information, see [Licensing](/poly/discover/licensing).
+ core.String authorName;
+
+ /// For published assets, the time when the asset was published.
+ /// For unpublished assets, the time when the asset was created.
+ core.String createTime;
+
+ /// The human-readable description, set by the asset's author.
+ core.String description;
+
+ /// The human-readable name, set by the asset's author.
+ core.String displayName;
+
+ /// A list of Formats where each
+ /// format describes one representation of the asset.
+ core.List<Format> formats;
+
+ /// Whether this asset has been curated by the Poly team.
+ core.bool isCurated;
+
+ /// The license under which the author has made the asset available
+ /// for use, if any.
+ /// Possible string values are:
+ /// - "UNKNOWN" : Unknown license value.
+ /// - "CREATIVE_COMMONS_BY" : Creative Commons CC-BY 3.0.
+ /// https://creativecommons.org/licenses/by/3.0/
+ /// - "ALL_RIGHTS_RESERVED" : Unlicensed: All Rights Reserved by the author.
+ /// Unlicensed assets are
+ /// **not** returned by List Assets.
+ core.String license;
+
+ /// The unique identifier for the asset in the form:
+ /// `assets/{ASSET_ID}`.
+ core.String name;
+
+ /// Hints for displaying the asset. Note that these parameters are not
+ /// immutable; the author of an asset may change them post-publication.
+ PresentationParams presentationParams;
+
+ /// The thumbnail image for the asset.
+ File thumbnail;
+
+ /// The time when the asset was last modified. For published assets, whose
+ /// contents are immutable, the update time changes only when metadata
+ /// properties, such as visibility, are updated.
+ core.String updateTime;
+
+ /// The visibility of the asset and who can access it.
+ /// Possible string values are:
+ /// - "VISIBILITY_UNSPECIFIED" : Unknown (and invalid) visibility.
+ /// - "PRIVATE" : Access to the asset and its underlying files and resources
+ /// is restricted to
+ /// the author.
+ /// **Authentication:** You must supply an OAuth token that corresponds to the
+ /// author's account.
+ /// - "UNLISTED" : Access to the asset and its underlying files and resources
+ /// is available to
+ /// anyone with the asset's name. Unlisted assets are **not**
+ /// returned by List Assets.
+ /// - "PUBLIC" : Access to the asset and its underlying files and resources is
+ /// available
+ /// to anyone.
+ core.String visibility;
+
+ Asset();
+
+ Asset.fromJson(core.Map _json) {
+ if (_json.containsKey("authorName")) {
+ authorName = _json["authorName"];
+ }
+ if (_json.containsKey("createTime")) {
+ createTime = _json["createTime"];
+ }
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("displayName")) {
+ displayName = _json["displayName"];
+ }
+ if (_json.containsKey("formats")) {
+ formats =
+ _json["formats"].map((value) => new Format.fromJson(value)).toList();
+ }
+ if (_json.containsKey("isCurated")) {
+ isCurated = _json["isCurated"];
+ }
+ if (_json.containsKey("license")) {
+ license = _json["license"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("presentationParams")) {
+ presentationParams =
+ new PresentationParams.fromJson(_json["presentationParams"]);
+ }
+ if (_json.containsKey("thumbnail")) {
+ thumbnail = new File.fromJson(_json["thumbnail"]);
+ }
+ if (_json.containsKey("updateTime")) {
+ updateTime = _json["updateTime"];
+ }
+ if (_json.containsKey("visibility")) {
+ visibility = _json["visibility"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (authorName != null) {
+ _json["authorName"] = authorName;
+ }
+ if (createTime != null) {
+ _json["createTime"] = createTime;
+ }
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (displayName != null) {
+ _json["displayName"] = displayName;
+ }
+ if (formats != null) {
+ _json["formats"] = formats.map((value) => (value).toJson()).toList();
+ }
+ if (isCurated != null) {
+ _json["isCurated"] = isCurated;
+ }
+ if (license != null) {
+ _json["license"] = license;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (presentationParams != null) {
+ _json["presentationParams"] = (presentationParams).toJson();
+ }
+ if (thumbnail != null) {
+ _json["thumbnail"] = (thumbnail).toJson();
+ }
+ if (updateTime != null) {
+ _json["updateTime"] = updateTime;
+ }
+ if (visibility != null) {
+ _json["visibility"] = visibility;
+ }
+ return _json;
+ }
+}
+
+/// Represents a file in Poly, which can be a root,
+/// resource, or thumbnail file.
+class File {
+ /// The MIME content-type, such as `image/png`.
+ /// For more information, see
+ /// [MIME
+ /// types](//developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types).
+ core.String contentType;
+
+ /// The path of the resource file relative to the root file.
+ /// For root or thumbnail files, this is just the filename.
+ core.String relativePath;
+
+ /// The URL where the file data can be retrieved.
+ core.String url;
+
+ File();
+
+ File.fromJson(core.Map _json) {
+ if (_json.containsKey("contentType")) {
+ contentType = _json["contentType"];
+ }
+ if (_json.containsKey("relativePath")) {
+ relativePath = _json["relativePath"];
+ }
+ if (_json.containsKey("url")) {
+ url = _json["url"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (contentType != null) {
+ _json["contentType"] = contentType;
+ }
+ if (relativePath != null) {
+ _json["relativePath"] = relativePath;
+ }
+ if (url != null) {
+ _json["url"] = url;
+ }
+ return _json;
+ }
+}
+
+/// The same asset can be represented in different formats, for example,
+/// a [WaveFront .obj](//en.wikipedia.org/wiki/Wavefront_.obj_file) file with
+/// its
+/// corresponding .mtl file or a [Khronos glTF](//www.khronos.org/gltf) file
+/// with its corresponding .glb binary data. A format refers to a specific
+/// representation of an asset and contains all information needed to
+/// retrieve and describe this representation.
+class Format {
+ /// Complexity stats about this representation of the asset.
+ FormatComplexity formatComplexity;
+
+ /// A short string that identifies the format type of this representation.
+ /// Possible values are: `FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`.
+ core.String formatType;
+
+ /// A list of dependencies of the root element. May include, but is not
+ /// limited to, materials, textures, and shader programs.
+ core.List<File> resources;
+
+ /// The root of the file hierarchy. This will always be populated.
+ /// For some format_types - such as `TILT`, which are self-contained -
+ /// this is all of the data.
+ ///
+ /// Other types - such as `OBJ` - often reference other data elements.
+ /// These are contained in the resources field.
+ File root;
+
+ Format();
+
+ Format.fromJson(core.Map _json) {
+ if (_json.containsKey("formatComplexity")) {
+ formatComplexity =
+ new FormatComplexity.fromJson(_json["formatComplexity"]);
+ }
+ if (_json.containsKey("formatType")) {
+ formatType = _json["formatType"];
+ }
+ if (_json.containsKey("resources")) {
+ resources =
+ _json["resources"].map((value) => new File.fromJson(value)).toList();
+ }
+ if (_json.containsKey("root")) {
+ root = new File.fromJson(_json["root"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (formatComplexity != null) {
+ _json["formatComplexity"] = (formatComplexity).toJson();
+ }
+ if (formatType != null) {
+ _json["formatType"] = formatType;
+ }
+ if (resources != null) {
+ _json["resources"] = resources.map((value) => (value).toJson()).toList();
+ }
+ if (root != null) {
+ _json["root"] = (root).toJson();
+ }
+ return _json;
+ }
+}
+
+/// Information on the complexity of this Format.
+class FormatComplexity {
+ /// A non-negative integer that represents the level of detail (LOD) of this
+ /// format relative to other formats of the same asset with the same
+ /// format_type.
+ /// This hint allows you to sort formats from the most-detailed (0) to
+ /// least-detailed (integers greater than 0).
+ core.int lodHint;
+
+ /// The estimated number of triangles.
+ core.String triangleCount;
+
+ FormatComplexity();
+
+ FormatComplexity.fromJson(core.Map _json) {
+ if (_json.containsKey("lodHint")) {
+ lodHint = _json["lodHint"];
+ }
+ if (_json.containsKey("triangleCount")) {
+ triangleCount = _json["triangleCount"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (lodHint != null) {
+ _json["lodHint"] = lodHint;
+ }
+ if (triangleCount != null) {
+ _json["triangleCount"] = triangleCount;
+ }
+ return _json;
+ }
+}
+
+/// A response message from a request to list.
+class ListAssetsResponse {
+ /// A list of assets that match the criteria specified in the request.
+ core.List<Asset> assets;
+
+ /// The continuation token for retrieving the next page. If empty,
+ /// indicates that there are no more pages. To get the next page, submit the
+ /// same request specifying this value as the
+ /// page_token.
+ core.String nextPageToken;
+
+ /// The total number of assets in the list, without pagination.
+ core.int totalSize;
+
+ ListAssetsResponse();
+
+ ListAssetsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("assets")) {
+ assets =
+ _json["assets"].map((value) => new Asset.fromJson(value)).toList();
+ }
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("totalSize")) {
+ totalSize = _json["totalSize"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (assets != null) {
+ _json["assets"] = assets.map((value) => (value).toJson()).toList();
+ }
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ if (totalSize != null) {
+ _json["totalSize"] = totalSize;
+ }
+ return _json;
+ }
+}
+
+/// A response message from a request to list.
+class ListLikedAssetsResponse {
+ /// A list of assets that match the criteria specified in the request.
+ core.List<Asset> assets;
+
+ /// The continuation token for retrieving the next page. If empty,
+ /// indicates that there are no more pages. To get the next page, submit the
+ /// same request specifying this value as the
+ /// page_token.
+ core.String nextPageToken;
+
+ /// The total number of assets in the list, without pagination.
+ core.int totalSize;
+
+ ListLikedAssetsResponse();
+
+ ListLikedAssetsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("assets")) {
+ assets =
+ _json["assets"].map((value) => new Asset.fromJson(value)).toList();
+ }
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("totalSize")) {
+ totalSize = _json["totalSize"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (assets != null) {
+ _json["assets"] = assets.map((value) => (value).toJson()).toList();
+ }
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ if (totalSize != null) {
+ _json["totalSize"] = totalSize;
+ }
+ return _json;
+ }
+}
+
+/// A response message from a request to list.
+class ListUserAssetsResponse {
+ /// The continuation token for retrieving the next page. If empty,
+ /// indicates that there are no more pages. To get the next page, submit the
+ /// same request specifying this value as the
+ /// page_token.
+ core.String nextPageToken;
+
+ /// The total number of assets in the list, without pagination.
+ core.int totalSize;
+
+ /// A list of UserAssets matching the request.
+ core.List<UserAsset> userAssets;
+
+ ListUserAssetsResponse();
+
+ ListUserAssetsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("totalSize")) {
+ totalSize = _json["totalSize"];
+ }
+ if (_json.containsKey("userAssets")) {
+ userAssets = _json["userAssets"]
+ .map((value) => new UserAsset.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 (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ if (totalSize != null) {
+ _json["totalSize"] = totalSize;
+ }
+ if (userAssets != null) {
+ _json["userAssets"] =
+ userAssets.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/// Hints for displaying the asset, based on information available when the
+/// asset
+/// was uploaded.
+class PresentationParams {
+ /// The materials' diffuse/albedo color. This does not apply to vertex colors
+ /// or texture maps.
+ /// Possible string values are:
+ /// - "UNKNOWN" : Invalid color value.
+ /// - "LINEAR" : Linear color values. Default.
+ /// - "GAMMA" : Colors should be converted to linear by assuming gamma = 2.0.
+ core.String colorSpace;
+
+ /// A rotation that should be applied to the object root to make it upright.
+ /// More precisely, this quaternion transforms from "object space" (the space
+ /// in which the object is defined) to "presentation space", a coordinate
+ /// system where +Y is up, +X is right, -Z is forward. For example, if
+ /// the object is the Eiffel Tower, in its local coordinate system the
+ /// object might be laid out such that the base of the tower is on the
+ /// YZ plane and the tip of the tower is towards positive X. In this case
+ /// this quaternion would specify a rotation (of 90 degrees about the Z
+ /// axis) such that in the presentation space the base of the tower is
+ /// aligned with the XZ plane, and the tip of the tower lies towards +Y.
+ ///
+ /// This rotation is unrelated to the object's pose in the web preview,
+ /// which is just a camera position setting and is *not* reflected in this
+ /// rotation.
+ ///
+ /// Please note: this is applicable only to the gLTF.
+ Quaternion orientingRotation;
+
+ PresentationParams();
+
+ PresentationParams.fromJson(core.Map _json) {
+ if (_json.containsKey("colorSpace")) {
+ colorSpace = _json["colorSpace"];
+ }
+ if (_json.containsKey("orientingRotation")) {
+ orientingRotation = new Quaternion.fromJson(_json["orientingRotation"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (colorSpace != null) {
+ _json["colorSpace"] = colorSpace;
+ }
+ if (orientingRotation != null) {
+ _json["orientingRotation"] = (orientingRotation).toJson();
+ }
+ return _json;
+ }
+}
+
+/// A [Quaternion](//en.wikipedia.org/wiki/Quaternion). Please note: if in the
+/// response you see "w: 1" and nothing else this is the default value of
+/// [0, 0, 0, 1] where x,y, and z are 0.
+class Quaternion {
+ /// The scalar component.
+ core.double w;
+
+ /// The x component.
+ core.double x;
+
+ /// The y component.
+ core.double y;
+
+ /// The z component.
+ core.double z;
+
+ Quaternion();
+
+ Quaternion.fromJson(core.Map _json) {
+ if (_json.containsKey("w")) {
+ w = _json["w"];
+ }
+ if (_json.containsKey("x")) {
+ x = _json["x"];
+ }
+ if (_json.containsKey("y")) {
+ y = _json["y"];
+ }
+ if (_json.containsKey("z")) {
+ z = _json["z"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (w != null) {
+ _json["w"] = w;
+ }
+ if (x != null) {
+ _json["x"] = x;
+ }
+ if (y != null) {
+ _json["y"] = y;
+ }
+ if (z != null) {
+ _json["z"] = z;
+ }
+ return _json;
+ }
+}
+
+/// Data about the user's asset.
+class UserAsset {
+ /// An Asset.
+ Asset asset;
+
+ UserAsset();
+
+ UserAsset.fromJson(core.Map _json) {
+ if (_json.containsKey("asset")) {
+ asset = new Asset.fromJson(_json["asset"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (asset != null) {
+ _json["asset"] = (asset).toJson();
+ }
+ return _json;
+ }
+}
diff --git a/generated/googleapis/lib/pubsub/v1.dart b/generated/googleapis/lib/pubsub/v1.dart
index 0607ce4..26c4f9f 100644
--- a/generated/googleapis/lib/pubsub/v1.dart
+++ b/generated/googleapis/lib/pubsub/v1.dart
@@ -54,6 +54,125 @@
ProjectsSnapshotsResourceApi(commons.ApiRequester client)
: _requester = client;
+ /// Creates a snapshot from the requested subscription.
+ /// If the snapshot already exists, returns `ALREADY_EXISTS`.
+ /// If the requested subscription doesn't exist, returns `NOT_FOUND`.
+ /// If the backlog in the subscription is too old -- and the resulting
+ /// snapshot
+ /// would expire in less than 1 hour -- then `FAILED_PRECONDITION` is
+ /// returned.
+ /// See also the `Snapshot.expire_time` field.
+ ///
+ /// If the name is not provided in the request, the server will assign a
+ /// random
+ /// name for this snapshot on the same project as the subscription, conforming
+ /// to the
+ /// [resource name
+ /// format](https://cloud.google.com/pubsub/docs/overview#names). The
+ /// generated
+ /// name is populated in the returned Snapshot object. Note that for REST API
+ /// requests, you must specify a name in the request.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [name] - Optional user-provided name for this snapshot.
+ /// If the name is not provided in the request, the server will assign a
+ /// random
+ /// name for this snapshot on the same project as the subscription.
+ /// Note that for REST API requests, you must specify a name.
+ /// Format is `projects/{project}/snapshots/{snap}`.
+ /// Value must have pattern "^projects/[^/]+/snapshots/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [Snapshot].
+ ///
+ /// 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<Snapshot> create(CreateSnapshotRequest request, core.String name,
+ {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ 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, "PUT",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Snapshot.fromJson(data));
+ }
+
+ /// Removes an existing snapshot. All messages retained in the snapshot
+ /// are immediately dropped. After a snapshot is deleted, a new one may be
+ /// created with the same name, but the new one has no association with the
+ /// old
+ /// snapshot or its subscription, unless the same subscription is specified.
+ ///
+ /// Request parameters:
+ ///
+ /// [snapshot] - The name of the snapshot to delete.
+ /// Format is `projects/{project}/snapshots/{snap}`.
+ /// Value must have pattern "^projects/[^/]+/snapshots/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [Empty].
+ ///
+ /// 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<Empty> delete(core.String snapshot, {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (snapshot == null) {
+ throw new core.ArgumentError("Parameter snapshot is required.");
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$snapshot');
+
+ var _response = _requester.request(_url, "DELETE",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Empty.fromJson(data));
+ }
+
/// Gets the access control policy for a resource.
/// Returns an empty policy if the resource exists and does not have a policy
/// set.
@@ -104,6 +223,116 @@
return _response.then((data) => new Policy.fromJson(data));
}
+ /// Lists the existing snapshots.
+ ///
+ /// Request parameters:
+ ///
+ /// [project] - The name of the cloud project that snapshots belong to.
+ /// Format is `projects/{project}`.
+ /// Value must have pattern "^projects/[^/]+$".
+ ///
+ /// [pageToken] - The value returned by the last `ListSnapshotsResponse`;
+ /// indicates that this
+ /// is a continuation of a prior `ListSnapshots` call, and that the system
+ /// should return the next page of data.
+ ///
+ /// [pageSize] - Maximum number of snapshots to return.
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [ListSnapshotsResponse].
+ ///
+ /// 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<ListSnapshotsResponse> list(core.String project,
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (project == null) {
+ throw new core.ArgumentError("Parameter project is required.");
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'v1/' +
+ commons.Escaper.ecapeVariableReserved('$project') +
+ '/snapshots';
+
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListSnapshotsResponse.fromJson(data));
+ }
+
+ /// Updates an existing snapshot. Note that certain properties of a
+ /// snapshot are not modifiable.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [name] - The name of the snapshot.
+ /// Value must have pattern "^projects/[^/]+/snapshots/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [Snapshot].
+ ///
+ /// 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<Snapshot> patch(UpdateSnapshotRequest request, core.String name,
+ {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ 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 Snapshot.fromJson(data));
+ }
+
/// Sets the access control policy on the specified resource. Replaces any
/// existing policy.
///
@@ -672,6 +901,62 @@
return _response.then((data) => new Empty.fromJson(data));
}
+ /// Updates an existing subscription. Note that certain properties of a
+ /// subscription, such as its topic, are not modifiable.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [name] - The name of the subscription. It must have the format
+ /// `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must
+ /// start with a letter, and contain only letters (`[A-Za-z]`), numbers
+ /// (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
+ /// plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters
+ /// in length, and it must not start with `"goog"`.
+ /// Value must have pattern "^projects/[^/]+/subscriptions/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [Subscription].
+ ///
+ /// 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<Subscription> patch(
+ UpdateSubscriptionRequest request, core.String name,
+ {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ 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 Subscription.fromJson(data));
+ }
+
/// Pulls messages from the server. Returns an empty list if there are no
/// messages available in the backlog. The server may return `UNAVAILABLE` if
/// there are too many concurrent pull requests pending for the given
@@ -727,6 +1012,58 @@
return _response.then((data) => new PullResponse.fromJson(data));
}
+ /// Seeks an existing subscription to a point in time or to a given snapshot,
+ /// whichever is provided in the request.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [subscription] - The subscription to affect.
+ /// Value must have pattern "^projects/[^/]+/subscriptions/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [SeekResponse].
+ ///
+ /// 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<SeekResponse> seek(SeekRequest request, core.String subscription,
+ {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (request != null) {
+ _body = convert.JSON.encode((request).toJson());
+ }
+ if (subscription == null) {
+ throw new core.ArgumentError("Parameter subscription is required.");
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'v1/' +
+ commons.Escaper.ecapeVariableReserved('$subscription') +
+ ':seek';
+
+ var _response = _requester.request(_url, "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new SeekResponse.fromJson(data));
+ }
+
/// Sets the access control policy on the specified resource. Replaces any
/// existing policy.
///
@@ -847,6 +1184,8 @@
class ProjectsTopicsResourceApi {
final commons.ApiRequester _requester;
+ ProjectsTopicsSnapshotsResourceApi get snapshots =>
+ new ProjectsTopicsSnapshotsResourceApi(_requester);
ProjectsTopicsSubscriptionsResourceApi get subscriptions =>
new ProjectsTopicsSubscriptionsResourceApi(_requester);
@@ -1277,13 +1616,80 @@
}
}
+class ProjectsTopicsSnapshotsResourceApi {
+ final commons.ApiRequester _requester;
+
+ ProjectsTopicsSnapshotsResourceApi(commons.ApiRequester client)
+ : _requester = client;
+
+ /// Lists the names of the snapshots on this topic.
+ ///
+ /// Request parameters:
+ ///
+ /// [topic] - The name of the topic that snapshots are attached to.
+ /// Format is `projects/{project}/topics/{topic}`.
+ /// Value must have pattern "^projects/[^/]+/topics/[^/]+$".
+ ///
+ /// [pageToken] - The value returned by the last `ListTopicSnapshotsResponse`;
+ /// indicates
+ /// that this is a continuation of a prior `ListTopicSnapshots` call, and
+ /// that the system should return the next page of data.
+ ///
+ /// [pageSize] - Maximum number of snapshot names to return.
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [ListTopicSnapshotsResponse].
+ ///
+ /// 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<ListTopicSnapshotsResponse> list(core.String topic,
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (topic == null) {
+ throw new core.ArgumentError("Parameter topic is required.");
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url =
+ 'v1/' + commons.Escaper.ecapeVariableReserved('$topic') + '/snapshots';
+
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response
+ .then((data) => new ListTopicSnapshotsResponse.fromJson(data));
+ }
+}
+
class ProjectsTopicsSubscriptionsResourceApi {
final commons.ApiRequester _requester;
ProjectsTopicsSubscriptionsResourceApi(commons.ApiRequester client)
: _requester = client;
- /// Lists the name of the subscriptions for this topic.
+ /// Lists the names of the subscriptions on this topic.
///
/// Request parameters:
///
@@ -1425,6 +1831,37 @@
}
}
+/// Request for the `CreateSnapshot` method.
+class CreateSnapshotRequest {
+ /// The subscription whose backlog the snapshot retains.
+ /// Specifically, the created snapshot is guaranteed to retain:
+ /// (a) The existing backlog on the subscription. More precisely, this is
+ /// defined as the messages in the subscription's backlog that are
+ /// unacknowledged upon the successful completion of the
+ /// `CreateSnapshot` request; as well as:
+ /// (b) Any messages published to the subscription's topic following the
+ /// successful completion of the CreateSnapshot request.
+ /// Format is `projects/{project}/subscriptions/{sub}`.
+ core.String subscription;
+
+ CreateSnapshotRequest();
+
+ CreateSnapshotRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("subscription")) {
+ subscription = _json["subscription"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (subscription != null) {
+ _json["subscription"] = subscription;
+ }
+ return _json;
+ }
+}
+
/// A generic empty message that you can re-use to avoid defining duplicated
/// empty messages in your APIs. A typical example is to use it as the request
/// or the response type of an API method. For instance:
@@ -1446,6 +1883,41 @@
}
}
+/// Response for the `ListSnapshots` method.
+class ListSnapshotsResponse {
+ /// If not empty, indicates that there may be more snapshot that match the
+ /// request; this value should be passed in a new `ListSnapshotsRequest`.
+ core.String nextPageToken;
+
+ /// The resulting snapshots.
+ core.List<Snapshot> snapshots;
+
+ ListSnapshotsResponse();
+
+ ListSnapshotsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("snapshots")) {
+ snapshots = _json["snapshots"]
+ .map((value) => new Snapshot.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 (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ if (snapshots != null) {
+ _json["snapshots"] = snapshots.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
/// Response for the `ListSubscriptions` method.
class ListSubscriptionsResponse {
/// If not empty, indicates that there may be more subscriptions that match
@@ -1483,6 +1955,40 @@
}
}
+/// Response for the `ListTopicSnapshots` method.
+class ListTopicSnapshotsResponse {
+ /// If not empty, indicates that there may be more snapshots that match
+ /// the request; this value should be passed in a new
+ /// `ListTopicSnapshotsRequest` to get more snapshots.
+ core.String nextPageToken;
+
+ /// The names of the snapshots that match the request.
+ core.List<core.String> snapshots;
+
+ ListTopicSnapshotsResponse();
+
+ ListTopicSnapshotsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("snapshots")) {
+ snapshots = _json["snapshots"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ if (snapshots != null) {
+ _json["snapshots"] = snapshots;
+ }
+ return _json;
+ }
+}
+
/// Response for the `ListTopicSubscriptions` method.
class ListTopicSubscriptionsResponse {
/// If not empty, indicates that there may be more subscriptions that match
@@ -1977,6 +2483,62 @@
}
}
+/// Request for the `Seek` method.
+class SeekRequest {
+ /// The snapshot to seek to. The snapshot's topic must be the same as that of
+ /// the provided subscription.
+ /// Format is `projects/{project}/snapshots/{snap}`.
+ core.String snapshot;
+
+ /// The time to seek to.
+ /// Messages retained in the subscription that were published before this
+ /// time are marked as acknowledged, and messages retained in the
+ /// subscription that were published after this time are marked as
+ /// unacknowledged. Note that this operation affects only those messages
+ /// retained in the subscription (configured by the combination of
+ /// `message_retention_duration` and `retain_acked_messages`). For example,
+ /// if `time` corresponds to a point before the message retention
+ /// window (or to a point before the system's notion of the subscription
+ /// creation time), only retained messages will be marked as unacknowledged,
+ /// and already-expunged messages will not be restored.
+ core.String time;
+
+ SeekRequest();
+
+ SeekRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("snapshot")) {
+ snapshot = _json["snapshot"];
+ }
+ if (_json.containsKey("time")) {
+ time = _json["time"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (snapshot != null) {
+ _json["snapshot"] = snapshot;
+ }
+ if (time != null) {
+ _json["time"] = time;
+ }
+ return _json;
+ }
+}
+
+class SeekResponse {
+ SeekResponse();
+
+ SeekResponse.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;
+ }
+}
+
/// Request message for `SetIamPolicy` method.
class SetIamPolicyRequest {
/// REQUIRED: The complete policy to be applied to the `resource`. The size of
@@ -2003,6 +2565,59 @@
}
}
+/// A snapshot resource.
+class Snapshot {
+ /// The snapshot is guaranteed to exist up until this time.
+ /// A newly-created snapshot expires no later than 7 days from the time of its
+ /// creation. Its exact lifetime is determined at creation by the existing
+ /// backlog in the source subscription. Specifically, the lifetime of the
+ /// snapshot is `7 days - (age of oldest unacked message in the
+ /// subscription)`.
+ /// For example, consider a subscription whose oldest unacked message is 3
+ /// days
+ /// old. If a snapshot is created from this subscription, the snapshot --
+ /// which
+ /// will always capture this 3-day-old backlog as long as the snapshot
+ /// exists -- will expire in 4 days. The service will refuse to create a
+ /// snapshot that would expire in less than 1 hour after creation.
+ core.String expireTime;
+
+ /// The name of the snapshot.
+ core.String name;
+
+ /// The name of the topic from which this snapshot is retaining messages.
+ core.String topic;
+
+ Snapshot();
+
+ Snapshot.fromJson(core.Map _json) {
+ if (_json.containsKey("expireTime")) {
+ expireTime = _json["expireTime"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("topic")) {
+ topic = _json["topic"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (expireTime != null) {
+ _json["expireTime"] = expireTime;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (topic != null) {
+ _json["topic"] = topic;
+ }
+ return _json;
+ }
+}
+
/// A subscription resource.
class Subscription {
/// This value is the maximum time after a subscriber receives a message
@@ -2028,6 +2643,17 @@
/// system will eventually redeliver the message.
core.int ackDeadlineSeconds;
+ /// How long to retain unacknowledged messages in the subscription's backlog,
+ /// from the moment a message is published.
+ /// If `retain_acked_messages` is true, then this also configures the
+ /// retention
+ /// of acknowledged messages, and thus configures how far back in time a
+ /// `Seek`
+ /// can be done. Defaults to 7 days. Cannot be more than 7 days or less than
+ /// 10
+ /// minutes.
+ core.String messageRetentionDuration;
+
/// The name of the subscription. It must have the format
/// `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must
/// start with a letter, and contain only letters (`[A-Za-z]`), numbers
@@ -2041,6 +2667,13 @@
/// will pull and ack messages using API methods.
PushConfig pushConfig;
+ /// Indicates whether to retain acknowledged messages. If true, then
+ /// messages are not expunged from the subscription's backlog, even if they
+ /// are
+ /// acknowledged, until they fall out of the `message_retention_duration`
+ /// window.
+ core.bool retainAckedMessages;
+
/// The name of the topic from which this subscription is receiving messages.
/// Format is `projects/{project}/topics/{topic}`.
/// The value of this field will be `_deleted-topic_` if the topic has been
@@ -2053,12 +2686,18 @@
if (_json.containsKey("ackDeadlineSeconds")) {
ackDeadlineSeconds = _json["ackDeadlineSeconds"];
}
+ if (_json.containsKey("messageRetentionDuration")) {
+ messageRetentionDuration = _json["messageRetentionDuration"];
+ }
if (_json.containsKey("name")) {
name = _json["name"];
}
if (_json.containsKey("pushConfig")) {
pushConfig = new PushConfig.fromJson(_json["pushConfig"]);
}
+ if (_json.containsKey("retainAckedMessages")) {
+ retainAckedMessages = _json["retainAckedMessages"];
+ }
if (_json.containsKey("topic")) {
topic = _json["topic"];
}
@@ -2070,12 +2709,18 @@
if (ackDeadlineSeconds != null) {
_json["ackDeadlineSeconds"] = ackDeadlineSeconds;
}
+ if (messageRetentionDuration != null) {
+ _json["messageRetentionDuration"] = messageRetentionDuration;
+ }
if (name != null) {
_json["name"] = name;
}
if (pushConfig != null) {
_json["pushConfig"] = (pushConfig).toJson();
}
+ if (retainAckedMessages != null) {
+ _json["retainAckedMessages"] = retainAckedMessages;
+ }
if (topic != null) {
_json["topic"] = topic;
}
@@ -2160,3 +2805,69 @@
return _json;
}
}
+
+/// Request for the UpdateSnapshot method.
+class UpdateSnapshotRequest {
+ /// The updated snpashot object.
+ Snapshot snapshot;
+
+ /// Indicates which fields in the provided snapshot to update.
+ /// Must be specified and non-empty.
+ core.String updateMask;
+
+ UpdateSnapshotRequest();
+
+ UpdateSnapshotRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("snapshot")) {
+ snapshot = new Snapshot.fromJson(_json["snapshot"]);
+ }
+ if (_json.containsKey("updateMask")) {
+ updateMask = _json["updateMask"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (snapshot != null) {
+ _json["snapshot"] = (snapshot).toJson();
+ }
+ if (updateMask != null) {
+ _json["updateMask"] = updateMask;
+ }
+ return _json;
+ }
+}
+
+/// Request for the UpdateSubscription method.
+class UpdateSubscriptionRequest {
+ /// The updated subscription object.
+ Subscription subscription;
+
+ /// Indicates which fields in the provided subscription to update.
+ /// Must be specified and non-empty.
+ core.String updateMask;
+
+ UpdateSubscriptionRequest();
+
+ UpdateSubscriptionRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("subscription")) {
+ subscription = new Subscription.fromJson(_json["subscription"]);
+ }
+ if (_json.containsKey("updateMask")) {
+ updateMask = _json["updateMask"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (subscription != null) {
+ _json["subscription"] = (subscription).toJson();
+ }
+ if (updateMask != null) {
+ _json["updateMask"] = updateMask;
+ }
+ return _json;
+ }
+}
diff --git a/generated/googleapis/lib/runtimeconfig/v1.dart b/generated/googleapis/lib/runtimeconfig/v1.dart
index 635905c..ab24087 100644
--- a/generated/googleapis/lib/runtimeconfig/v1.dart
+++ b/generated/googleapis/lib/runtimeconfig/v1.dart
@@ -164,12 +164,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^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.
///
@@ -181,9 +181,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 = null;
var _queryParams = new core.Map();
@@ -195,15 +195,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];
}
diff --git a/generated/googleapis/lib/safebrowsing/v4.dart b/generated/googleapis/lib/safebrowsing/v4.dart
index 004df63..0c540d7 100644
--- a/generated/googleapis/lib/safebrowsing/v4.dart
+++ b/generated/googleapis/lib/safebrowsing/v4.dart
@@ -48,12 +48,12 @@
///
/// [encodedRequest] - A serialized FindFullHashesRequest proto.
///
+ /// [clientVersion] - The version of the client implementation.
+ ///
/// [clientId] - A client ID that (hopefully) uniquely identifies the client
/// implementation
/// of the Safe Browsing API.
///
- /// [clientVersion] - The version of the client implementation.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -65,7 +65,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<FindFullHashesResponse> get(core.String encodedRequest,
- {core.String clientId, core.String clientVersion, core.String $fields}) {
+ {core.String clientVersion, core.String clientId, core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -76,12 +76,12 @@
if (encodedRequest == null) {
throw new core.ArgumentError("Parameter encodedRequest is required.");
}
- if (clientId != null) {
- _queryParams["clientId"] = [clientId];
- }
if (clientVersion != null) {
_queryParams["clientVersion"] = [clientVersion];
}
+ if (clientId != null) {
+ _queryParams["clientId"] = [clientId];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/script/v1.dart b/generated/googleapis/lib/script/v1.dart
index 92c8c45..09d7125 100644
--- a/generated/googleapis/lib/script/v1.dart
+++ b/generated/googleapis/lib/script/v1.dart
@@ -133,8 +133,7 @@
/// An object that provides information about the nature of an error resulting
/// from an attempted execution of a script function using the Apps Script API.
-/// If a run or
-/// runAsync call
+/// If a run call
/// succeeds but the script function (or Apps Script itself) throws an
/// exception,
/// the response body's error field
@@ -297,9 +296,9 @@
}
/// A representation of a execution of an Apps Script function that is started
-/// using run or runAsync. The execution response does not arrive until the
-/// function finishes executing. The maximum execution runtime is listed in the
-/// [Apps Script quotas
+/// using run. The execution response does not arrive until the function
+/// finishes executing. The maximum execution runtime is listed in the [Apps
+/// Script quotas
/// guide](/apps-script/guides/services/quotas#current_limitations). <p>After
/// the execution is started, it can have one of four outcomes:</p> <ul> <li> If
/// the script function returns successfully, the
@@ -312,27 +311,25 @@
/// field contains an array with a single
/// ExecutionError object that
/// provides information about the nature of the error.</li>
-/// <li> If the execution was asynchronous and has not yet completed,
+/// <li> If the execution has not yet completed,
/// the done field is `false` and
/// the neither the `response` nor `error` fields are present.</li>
-/// <li> If the `run` or `runAsync` call itself fails (for example, because of a
+/// <li> If the `run` call itself fails (for example, because of a
/// malformed request or an authorization error), the method returns an HTTP
/// response code in the 4XX range with a different format for the response
/// body. Client libraries automatically convert a 4XX response into an
/// exception class.</li>
/// </ul>
class Operation {
- /// This field is only used with asynchronous executions. It indicates whether
- /// the script execution has completed. A completed execution has a populated
- /// `response` field containing the ExecutionResponse from function that was
- /// executed.
+ /// This field indicates whether the script execution has completed. A
+ /// completed execution has a populated `response` field containing the
+ /// ExecutionResponse from function that was executed.
core.bool done;
- /// If a `run` or `runAsync` call succeeds but the script function (or Apps
- /// Script itself) throws an exception, this field contains a Status object.
- /// The `Status` object's `details` field contains an array with a single
- /// ExecutionError object that provides information about the nature of the
- /// error.
+ /// If a `run` call succeeds but the script function (or Apps Script itself)
+ /// throws an exception, this field contains a Status object. The `Status`
+ /// object's `details` field contains an array with a single ExecutionError
+ /// object that provides information about the nature of the error.
Status error;
/// If the script function returns successfully, this field contains an
@@ -404,13 +401,13 @@
}
}
-/// If a `run` or `runAsync` call succeeds but the script function (or Apps
-/// Script itself) throws an exception, the response body's error field contains
-/// this `Status` object.
+/// If a `run` call succeeds but the script function (or Apps Script itself)
+/// throws an exception, the response body's error field contains this `Status`
+/// object.
class Status {
/// The status code. For this API, this value either: <ul> <li> 3, indicating
/// an `INVALID_ARGUMENT` error, or</li> <li> 1, indicating a `CANCELLED`
- /// asynchronous execution.</li> </ul>
+ /// execution.</li> </ul>
core.int code;
/// An array that contains a single ExecutionError object that provides
diff --git a/generated/googleapis/lib/serviceconsumermanagement/v1.dart b/generated/googleapis/lib/serviceconsumermanagement/v1.dart
new file mode 100644
index 0000000..ee0f683
--- /dev/null
+++ b/generated/googleapis/lib/serviceconsumermanagement/v1.dart
@@ -0,0 +1,5540 @@
+// This is a generated file (see the discoveryapis_generator project).
+
+library googleapis.serviceconsumermanagement.v1;
+
+import 'dart:core' as core;
+import 'dart:async' as async;
+import 'dart:convert' as convert;
+
+import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
+import 'package:http/http.dart' as http_1;
+
+export 'package:_discoveryapis_commons/_discoveryapis_commons.dart'
+ show ApiRequestError, DetailedApiRequestError;
+
+const core.String USER_AGENT = 'dart-api-client serviceconsumermanagement/v1';
+
+/// Provides management methods for configuring service producer resources on
+/// Google Cloud.
+class ServiceconsumermanagementApi {
+ /// View and manage your data across Google Cloud Platform services
+ static const CloudPlatformScope =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ /// Manage your Google API service configuration
+ static const ServiceManagementScope =
+ "https://www.googleapis.com/auth/service.management";
+
+ final commons.ApiRequester _requester;
+
+ OperationsResourceApi get operations => new OperationsResourceApi(_requester);
+ ServicesResourceApi get services => new ServicesResourceApi(_requester);
+
+ ServiceconsumermanagementApi(http_1.Client client,
+ {core.String rootUrl: "https://serviceconsumermanagement.googleapis.com/",
+ core.String servicePath: ""})
+ : _requester =
+ new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
+}
+
+class OperationsResourceApi {
+ final commons.ApiRequester _requester;
+
+ OperationsResourceApi(commons.ApiRequester client) : _requester = client;
+
+ /// Starts asynchronous cancellation on a long-running operation. The server
+ /// makes a best effort to cancel the operation, but success is not
+ /// guaranteed. If the server doesn't support this method, it returns
+ /// `google.rpc.Code.UNIMPLEMENTED`. Clients can use
+ /// Operations.GetOperation or
+ /// other methods to check whether the cancellation succeeded or whether the
+ /// operation completed despite cancellation. On successful cancellation,
+ /// the operation is not deleted; instead, it becomes an operation with
+ /// an Operation.error value with a google.rpc.Status.code of 1,
+ /// corresponding to `Code.CANCELLED`.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [name] - The name of the operation resource to be cancelled.
+ /// Value must have pattern "^operations/.+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [Empty].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// 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<Empty> cancel(CancelOperationRequest request, core.String name,
+ {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ 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') + ':cancel';
+
+ var _response = _requester.request(_url, "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Empty.fromJson(data));
+ }
+
+ /// Deletes a long-running operation. This method indicates that the client is
+ /// no longer interested in the operation result. It does not cancel the
+ /// operation. If the server doesn't support this method, it returns
+ /// `google.rpc.Code.UNIMPLEMENTED`.
+ ///
+ /// Request parameters:
+ ///
+ /// [name] - The name of the operation resource to be deleted.
+ /// Value must have pattern "^operations/.+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [Empty].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// 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<Empty> delete(core.String name, {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ 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 Empty.fromJson(data));
+ }
+
+ /// Gets the latest state of a long-running operation. Clients can use this
+ /// method to poll the operation result at intervals as recommended by the API
+ /// service.
+ ///
+ /// Request parameters:
+ ///
+ /// [name] - The name of the operation resource.
+ /// Value must have pattern "^operations/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [Operation].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// 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<Operation> get(core.String name, {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ 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 Operation.fromJson(data));
+ }
+
+ /// Lists operations that match the specified filter in the request. If the
+ /// server doesn't support this method, it returns `UNIMPLEMENTED`.
+ ///
+ /// NOTE: the `name` binding allows API services to override the binding
+ /// to use different resource name schemes, such as `users / * /operations`.
+ /// To
+ /// override the binding, API services can add a binding such as
+ /// `"/v1/{name=users / * }/operations"` to their service configuration.
+ /// For backwards compatibility, the default name includes the operations
+ /// collection id, however overriding users must ensure the name binding
+ /// is the parent resource, without the operations collection id.
+ ///
+ /// Request parameters:
+ ///
+ /// [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.
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [ListOperationsResponse].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// 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.String filter,
+ core.String pageToken,
+ core.int pageSize,
+ core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ 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 ($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 ListOperationsResponse.fromJson(data));
+ }
+}
+
+class ServicesResourceApi {
+ final commons.ApiRequester _requester;
+
+ ServicesTenancyUnitsResourceApi get tenancyUnits =>
+ new ServicesTenancyUnitsResourceApi(_requester);
+
+ ServicesResourceApi(commons.ApiRequester client) : _requester = client;
+
+ /// Search tenancy units for a service.
+ ///
+ /// Request parameters:
+ ///
+ /// [parent] - Service for which search is performed.
+ /// services/{service}
+ /// {service} the name of a service, for example 'service.googleapis.com'.
+ /// Value must have pattern "^services/[^/]+$".
+ ///
+ /// [pageToken] - 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.
+ ///
+ /// Optional.
+ ///
+ /// [pageSize] - The maximum number of results returned by this request.
+ /// Currently, the
+ /// default maximum is set to 1000. If page_size is not provided or provided a
+ /// number larger than 1000, it will be automatically set to 1000.
+ ///
+ /// Optional.
+ ///
+ /// [query] - Set a query `{expression}` for querying tenancy units. Your
+ /// `{expression}`
+ /// must be in the format: `field_name=literal_string`. The `field_name` is
+ /// the
+ /// name of the field you want to compare. Supported fields are
+ /// `tenant_resources.tag` and`tenant_resources.resource`.
+ ///
+ /// For example, to search tenancy units that contain at least one tenant
+ /// resource with given tag 'xyz', use query `tenant_resources.tag=xyz`.
+ /// To search tenancy units that contain at least one tenant resource with
+ /// given resource name 'projects/123456', use query
+ /// `tenant_resources.resource=projects/123456`.
+ ///
+ /// Multiple expressions can be joined with `AND`s. Tenancy units must match
+ /// all expressions to be included in the result set. For example,
+ /// `tenant_resources.tag=xyz AND tenant_resources.resource=projects/123456`
+ ///
+ /// Optional.
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [SearchTenancyUnitsResponse].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// 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 query,
+ core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (parent == null) {
+ throw new core.ArgumentError("Parameter parent is required.");
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (query != null) {
+ _queryParams["query"] = [query];
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + ':search';
+
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response
+ .then((data) => new SearchTenancyUnitsResponse.fromJson(data));
+ }
+}
+
+class ServicesTenancyUnitsResourceApi {
+ final commons.ApiRequester _requester;
+
+ ServicesTenancyUnitsResourceApi(commons.ApiRequester client)
+ : _requester = client;
+
+ /// Add a new tenant project to the tenancy unit.
+ /// If there are previously failed AddTenantProject calls, you might need to
+ /// call RemoveTenantProject first to clean them before you can make another
+ /// AddTenantProject with the same tag.
+ /// Operation<response: Empty>.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [parent] - Name of the tenancy unit.
+ /// Value must have pattern "^services/[^/]+/[^/]+/[^/]+/tenancyUnits/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [Operation].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// 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<Operation> addProject(
+ AddTenantProjectRequest request, core.String parent,
+ {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ 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') +
+ ':addProject';
+
+ var _response = _requester.request(_url, "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+
+ /// Creates a tenancy unit with no tenant resources.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [parent] - services/{service}/{collection id}/{resource id}
+ /// {collection id} is the cloud resource collection type representing the
+ /// service consumer, for example 'projects', or 'organizations'.
+ /// {resource id} is the consumer numeric id, such as project number:
+ /// '123456'.
+ /// {service} the name of a service, for example 'service.googleapis.com'.
+ /// Enabled service binding using the new tenancy unit.
+ /// Value must have pattern "^services/[^/]+/[^/]+/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [TenancyUnit].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// 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<TenancyUnit> create(
+ CreateTenancyUnitRequest request, core.String parent,
+ {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ 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') +
+ '/tenancyUnits';
+
+ var _response = _requester.request(_url, "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new TenancyUnit.fromJson(data));
+ }
+
+ /// Delete tenancy unit. Before the tenancy unit is deleted, there should be
+ /// no tenant resource in it.
+ /// Operation<response: Empty>.
+ ///
+ /// Request parameters:
+ ///
+ /// [name] - Name of the tenancy unit to be deleted.
+ /// Value must have pattern "^services/[^/]+/[^/]+/[^/]+/tenancyUnits/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [Operation].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// 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<Operation> delete(core.String name, {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ 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 Operation.fromJson(data));
+ }
+
+ /// Find tenancy unit for a service and consumer.
+ /// This method should not be used in producers' runtime path, e.g. finding
+ /// the tenant project number when creating VMs. Producers should persist
+ /// the tenant project information after the project is created.
+ ///
+ /// Request parameters:
+ ///
+ /// [parent] - Service and consumer. Required.
+ /// services/{service}/{collection id}/{resource id}
+ /// {collection id} is the cloud resource collection type representing the
+ /// service consumer, for example 'projects', or 'organizations'.
+ /// {resource id} is the consumer numeric id, such as project number:
+ /// '123456'.
+ /// {service} the name of a service, for example 'service.googleapis.com'.
+ /// Value must have pattern "^services/[^/]+/[^/]+/[^/]+$".
+ ///
+ /// [pageToken] - 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] - The maximum number of results returned by this request.
+ ///
+ /// [filter] - Filter expression over tenancy resources field. Optional.
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [ListTenancyUnitsResponse].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// 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<ListTenancyUnitsResponse> list(core.String parent,
+ {core.String pageToken,
+ core.int pageSize,
+ core.String filter,
+ core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ 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 ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'v1/' +
+ commons.Escaper.ecapeVariableReserved('$parent') +
+ '/tenancyUnits';
+
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response
+ .then((data) => new ListTenancyUnitsResponse.fromJson(data));
+ }
+
+ /// Removes specified project resource identified by tenant resource tag.
+ /// It will remove project lien with 'TenantManager' origin if that was added.
+ /// It will then attempt to delete the project.
+ /// If that operation fails, this method fails.
+ /// Operation<response: Empty>.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [name] - Name of the tenancy unit.
+ /// Such as
+ /// 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
+ /// Value must have pattern "^services/[^/]+/[^/]+/[^/]+/tenancyUnits/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [Operation].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// 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<Operation> removeProject(
+ RemoveTenantProjectRequest request, core.String name,
+ {core.String $fields}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ 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') +
+ ':removeProject';
+
+ var _response = _requester.request(_url, "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Operation.fromJson(data));
+ }
+}
+
+/// Request to add a newly created and configured tenant project to tenancy
+/// unit.
+class AddTenantProjectRequest {
+ /// Configuration of the new tenant project that will be added to tenancy unit
+ /// resources.
+ TenantProjectConfig projectConfig;
+
+ /// Tag of the added project. Must be less than 128 characters. Required.
+ core.String tag;
+
+ AddTenantProjectRequest();
+
+ AddTenantProjectRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("projectConfig")) {
+ projectConfig = new TenantProjectConfig.fromJson(_json["projectConfig"]);
+ }
+ if (_json.containsKey("tag")) {
+ tag = _json["tag"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (projectConfig != null) {
+ _json["projectConfig"] = (projectConfig).toJson();
+ }
+ if (tag != null) {
+ _json["tag"] = tag;
+ }
+ return _json;
+ }
+}
+
+/// Api is a light-weight descriptor for an API Interface.
+///
+/// Interfaces are also described as "protocol buffer services" in some
+/// contexts,
+/// such as by the "service" keyword in a .proto file, but they are different
+/// from API Services, which represent a concrete implementation of an interface
+/// as opposed to simply a description of methods and bindings. They are also
+/// sometimes simply referred to as "APIs" in other contexts, such as the name
+/// of
+/// this message itself. See https://cloud.google.com/apis/design/glossary for
+/// detailed terminology.
+class Api {
+ /// The methods of this interface, in unspecified order.
+ core.List<Method> methods;
+
+ /// Included interfaces. See Mixin.
+ core.List<Mixin> mixins;
+
+ /// The fully qualified name of this interface, including package name
+ /// followed by the interface's simple name.
+ core.String name;
+
+ /// Any metadata attached to the interface.
+ core.List<Option> options;
+
+ /// Source context for the protocol buffer service represented by this
+ /// message.
+ SourceContext sourceContext;
+
+ /// The source syntax of the service.
+ /// Possible string values are:
+ /// - "SYNTAX_PROTO2" : Syntax `proto2`.
+ /// - "SYNTAX_PROTO3" : Syntax `proto3`.
+ core.String syntax;
+
+ /// A version string for this interface. If specified, must have the form
+ /// `major-version.minor-version`, as in `1.10`. If the minor version is
+ /// omitted, it defaults to zero. If the entire version field is empty, the
+ /// major version is derived from the package name, as outlined below. If the
+ /// field is not empty, the version in the package name will be verified to be
+ /// consistent with what is provided here.
+ ///
+ /// The versioning schema uses [semantic
+ /// versioning](http://semver.org) where the major version number
+ /// indicates a breaking change and the minor version an additive,
+ /// non-breaking change. Both version numbers are signals to users
+ /// what to expect from different versions, and should be carefully
+ /// chosen based on the product plan.
+ ///
+ /// The major version is also reflected in the package name of the
+ /// interface, which must end in `v<major-version>`, as in
+ /// `google.feature.v1`. For major versions 0 and 1, the suffix can
+ /// be omitted. Zero major versions must only be used for
+ /// experimental, non-GA interfaces.
+ core.String version;
+
+ Api();
+
+ Api.fromJson(core.Map _json) {
+ if (_json.containsKey("methods")) {
+ methods =
+ _json["methods"].map((value) => new Method.fromJson(value)).toList();
+ }
+ if (_json.containsKey("mixins")) {
+ mixins =
+ _json["mixins"].map((value) => new Mixin.fromJson(value)).toList();
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("options")) {
+ options =
+ _json["options"].map((value) => new Option.fromJson(value)).toList();
+ }
+ if (_json.containsKey("sourceContext")) {
+ sourceContext = new SourceContext.fromJson(_json["sourceContext"]);
+ }
+ if (_json.containsKey("syntax")) {
+ syntax = _json["syntax"];
+ }
+ 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 (methods != null) {
+ _json["methods"] = methods.map((value) => (value).toJson()).toList();
+ }
+ if (mixins != null) {
+ _json["mixins"] = mixins.map((value) => (value).toJson()).toList();
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (options != null) {
+ _json["options"] = options.map((value) => (value).toJson()).toList();
+ }
+ if (sourceContext != null) {
+ _json["sourceContext"] = (sourceContext).toJson();
+ }
+ if (syntax != null) {
+ _json["syntax"] = syntax;
+ }
+ if (version != null) {
+ _json["version"] = version;
+ }
+ return _json;
+ }
+}
+
+/// Configuration for an anthentication provider, including support for
+/// [JSON Web Token
+/// (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
+class AuthProvider {
+ /// The list of JWT
+ /// [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
+ /// that are allowed to access. A JWT containing any of these audiences will
+ /// be accepted. When this setting is absent, only JWTs with audience
+ /// "https://Service_name/API_name"
+ /// will be accepted. For example, if no audiences are in the setting,
+ /// LibraryService API will only accept JWTs with the following audience
+ /// "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
+ ///
+ /// Example:
+ ///
+ /// audiences: bookstore_android.apps.googleusercontent.com,
+ /// bookstore_web.apps.googleusercontent.com
+ core.String audiences;
+
+ /// Redirect URL if JWT token is required but no present or is expired.
+ /// Implement authorizationUrl of securityDefinitions in OpenAPI spec.
+ core.String authorizationUrl;
+
+ /// The unique identifier of the auth provider. It will be referred to by
+ /// `AuthRequirement.provider_id`.
+ ///
+ /// Example: "bookstore_auth".
+ core.String id;
+
+ /// Identifies the principal that issued the JWT. See
+ /// https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1
+ /// Usually a URL or an email address.
+ ///
+ /// Example: https://securetoken.google.com
+ /// Example: 1234567-compute@developer.gserviceaccount.com
+ core.String issuer;
+
+ /// URL of the provider's public key set to validate signature of the JWT. See
+ /// [OpenID
+ /// Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
+ /// Optional if the key set document:
+ /// - can be retrieved from
+ /// [OpenID
+ /// Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html
+ /// of the issuer.
+ /// - can be inferred from the email domain of the issuer (e.g. a Google
+ /// service account).
+ ///
+ /// Example: https://www.googleapis.com/oauth2/v1/certs
+ core.String jwksUri;
+
+ AuthProvider();
+
+ AuthProvider.fromJson(core.Map _json) {
+ if (_json.containsKey("audiences")) {
+ audiences = _json["audiences"];
+ }
+ if (_json.containsKey("authorizationUrl")) {
+ authorizationUrl = _json["authorizationUrl"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("issuer")) {
+ issuer = _json["issuer"];
+ }
+ if (_json.containsKey("jwksUri")) {
+ jwksUri = _json["jwksUri"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (audiences != null) {
+ _json["audiences"] = audiences;
+ }
+ if (authorizationUrl != null) {
+ _json["authorizationUrl"] = authorizationUrl;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (issuer != null) {
+ _json["issuer"] = issuer;
+ }
+ if (jwksUri != null) {
+ _json["jwksUri"] = jwksUri;
+ }
+ return _json;
+ }
+}
+
+/// User-defined authentication requirements, including support for
+/// [JSON Web Token
+/// (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
+class AuthRequirement {
+ /// NOTE: This will be deprecated soon, once AuthProvider.audiences is
+ /// implemented and accepted in all the runtime components.
+ ///
+ /// The list of JWT
+ /// [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
+ /// that are allowed to access. A JWT containing any of these audiences will
+ /// be accepted. When this setting is absent, only JWTs with audience
+ /// "https://Service_name/API_name"
+ /// will be accepted. For example, if no audiences are in the setting,
+ /// LibraryService API will only accept JWTs with the following audience
+ /// "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
+ ///
+ /// Example:
+ ///
+ /// audiences: bookstore_android.apps.googleusercontent.com,
+ /// bookstore_web.apps.googleusercontent.com
+ core.String audiences;
+
+ /// id from authentication provider.
+ ///
+ /// Example:
+ ///
+ /// provider_id: bookstore_auth
+ core.String providerId;
+
+ AuthRequirement();
+
+ AuthRequirement.fromJson(core.Map _json) {
+ if (_json.containsKey("audiences")) {
+ audiences = _json["audiences"];
+ }
+ if (_json.containsKey("providerId")) {
+ providerId = _json["providerId"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (audiences != null) {
+ _json["audiences"] = audiences;
+ }
+ if (providerId != null) {
+ _json["providerId"] = providerId;
+ }
+ return _json;
+ }
+}
+
+/// `Authentication` defines the authentication configuration for an API.
+///
+/// Example for an API targeted for external use:
+///
+/// name: calendar.googleapis.com
+/// authentication:
+/// providers:
+/// - id: google_calendar_auth
+/// jwks_uri: https://www.googleapis.com/oauth2/v1/certs
+/// issuer: https://securetoken.google.com
+/// rules:
+/// - selector: "*"
+/// requirements:
+/// provider_id: google_calendar_auth
+class Authentication {
+ /// Defines a set of authentication providers that a service supports.
+ core.List<AuthProvider> providers;
+
+ /// A list of authentication rules that apply to individual API methods.
+ ///
+ /// **NOTE:** All service configuration rules follow "last one wins" order.
+ core.List<AuthenticationRule> rules;
+
+ Authentication();
+
+ Authentication.fromJson(core.Map _json) {
+ if (_json.containsKey("providers")) {
+ providers = _json["providers"]
+ .map((value) => new AuthProvider.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("rules")) {
+ rules = _json["rules"]
+ .map((value) => new AuthenticationRule.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 (providers != null) {
+ _json["providers"] = providers.map((value) => (value).toJson()).toList();
+ }
+ if (rules != null) {
+ _json["rules"] = rules.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/// Authentication rules for the service.
+///
+/// By default, if a method has any authentication requirements, every request
+/// must include a valid credential matching one of the requirements.
+/// It's an error to include more than one kind of credential in a single
+/// request.
+///
+/// If a method doesn't have any auth requirements, request credentials will be
+/// ignored.
+class AuthenticationRule {
+ /// Whether to allow requests without a credential. The credential can be
+ /// an OAuth token, Google cookies (first-party auth) or EndUserCreds.
+ ///
+ /// For requests without credentials, if the service control environment is
+ /// specified, each incoming request **must** be associated with a service
+ /// consumer. This can be done by passing an API key that belongs to a
+ /// consumer
+ /// project.
+ core.bool allowWithoutCredential;
+
+ /// Configuration for custom authentication.
+ CustomAuthRequirements customAuth;
+
+ /// The requirements for OAuth credentials.
+ OAuthRequirements oauth;
+
+ /// Requirements for additional authentication providers.
+ core.List<AuthRequirement> requirements;
+
+ /// Selects the methods to which this rule applies.
+ ///
+ /// Refer to selector for syntax details.
+ core.String selector;
+
+ AuthenticationRule();
+
+ AuthenticationRule.fromJson(core.Map _json) {
+ if (_json.containsKey("allowWithoutCredential")) {
+ allowWithoutCredential = _json["allowWithoutCredential"];
+ }
+ if (_json.containsKey("customAuth")) {
+ customAuth = new CustomAuthRequirements.fromJson(_json["customAuth"]);
+ }
+ if (_json.containsKey("oauth")) {
+ oauth = new OAuthRequirements.fromJson(_json["oauth"]);
+ }
+ if (_json.containsKey("requirements")) {
+ requirements = _json["requirements"]
+ .map((value) => new AuthRequirement.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("selector")) {
+ selector = _json["selector"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (allowWithoutCredential != null) {
+ _json["allowWithoutCredential"] = allowWithoutCredential;
+ }
+ if (customAuth != null) {
+ _json["customAuth"] = (customAuth).toJson();
+ }
+ if (oauth != null) {
+ _json["oauth"] = (oauth).toJson();
+ }
+ if (requirements != null) {
+ _json["requirements"] =
+ requirements.map((value) => (value).toJson()).toList();
+ }
+ if (selector != null) {
+ _json["selector"] = selector;
+ }
+ return _json;
+ }
+}
+
+/// Configuration of authorization.
+///
+/// This section determines the authorization provider, if unspecified, then no
+/// authorization check will be done.
+///
+/// Example:
+///
+/// experimental:
+/// authorization:
+/// provider: firebaserules.googleapis.com
+class AuthorizationConfig {
+ /// The name of the authorization provider, such as
+ /// firebaserules.googleapis.com.
+ core.String provider;
+
+ AuthorizationConfig();
+
+ AuthorizationConfig.fromJson(core.Map _json) {
+ if (_json.containsKey("provider")) {
+ provider = _json["provider"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (provider != null) {
+ _json["provider"] = provider;
+ }
+ return _json;
+ }
+}
+
+/// Authorization rule for API services.
+///
+/// It specifies the permission(s) required for an API element for the overall
+/// API request to succeed. It is typically used to mark request message fields
+/// that contain the name of the resource and indicates the permissions that
+/// will be checked on that resource.
+///
+/// For example:
+///
+/// package google.storage.v1;
+///
+/// message CopyObjectRequest {
+/// string source = 1 [
+/// (google.api.authz).permissions = "storage.objects.get"];
+///
+/// string destination = 2 [
+/// (google.api.authz).permissions =
+/// "storage.objects.create,storage.objects.update"];
+/// }
+class AuthorizationRule {
+ /// The required permissions. The acceptable values vary depend on the
+ /// authorization system used. For Google APIs, it should be a comma-separated
+ /// Google IAM permission values. When multiple permissions are listed, the
+ /// semantics is not defined by the system. Additional documentation must
+ /// be provided manually.
+ core.String permissions;
+
+ /// Selects the API elements to which this rule applies.
+ ///
+ /// Refer to selector for syntax details.
+ core.String selector;
+
+ AuthorizationRule();
+
+ AuthorizationRule.fromJson(core.Map _json) {
+ if (_json.containsKey("permissions")) {
+ permissions = _json["permissions"];
+ }
+ if (_json.containsKey("selector")) {
+ selector = _json["selector"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (permissions != null) {
+ _json["permissions"] = permissions;
+ }
+ if (selector != null) {
+ _json["selector"] = selector;
+ }
+ return _json;
+ }
+}
+
+/// `Backend` defines the backend configuration for a service.
+class Backend {
+ /// A list of API backend rules that apply to individual API methods.
+ ///
+ /// **NOTE:** All service configuration rules follow "last one wins" order.
+ core.List<BackendRule> rules;
+
+ Backend();
+
+ Backend.fromJson(core.Map _json) {
+ if (_json.containsKey("rules")) {
+ rules = _json["rules"]
+ .map((value) => new BackendRule.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 (rules != null) {
+ _json["rules"] = rules.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/// A backend rule provides configuration for an individual API element.
+class BackendRule {
+ /// The address of the API backend.
+ core.String address;
+
+ /// The number of seconds to wait for a response from a request. The default
+ /// deadline for gRPC is infinite (no deadline) and HTTP requests is 5
+ /// seconds.
+ core.double deadline;
+
+ /// Minimum deadline in seconds needed for this method. Calls having deadline
+ /// value lower than this will be rejected.
+ core.double minDeadline;
+
+ /// Selects the methods to which this rule applies.
+ ///
+ /// Refer to selector for syntax details.
+ core.String selector;
+
+ BackendRule();
+
+ BackendRule.fromJson(core.Map _json) {
+ if (_json.containsKey("address")) {
+ address = _json["address"];
+ }
+ if (_json.containsKey("deadline")) {
+ deadline = _json["deadline"];
+ }
+ if (_json.containsKey("minDeadline")) {
+ minDeadline = _json["minDeadline"];
+ }
+ if (_json.containsKey("selector")) {
+ selector = _json["selector"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (address != null) {
+ _json["address"] = address;
+ }
+ if (deadline != null) {
+ _json["deadline"] = deadline;
+ }
+ if (minDeadline != null) {
+ _json["minDeadline"] = minDeadline;
+ }
+ if (selector != null) {
+ _json["selector"] = selector;
+ }
+ return _json;
+ }
+}
+
+/// Billing related configuration of the service.
+///
+/// The following example shows how to configure monitored resources and metrics
+/// for billing:
+///
+/// monitored_resources:
+/// - type: library.googleapis.com/branch
+/// labels:
+/// - key: /city
+/// description: The city where the library branch is located in.
+/// - key: /name
+/// description: The name of the branch.
+/// metrics:
+/// - name: library.googleapis.com/book/borrowed_count
+/// metric_kind: DELTA
+/// value_type: INT64
+/// billing:
+/// consumer_destinations:
+/// - monitored_resource: library.googleapis.com/branch
+/// metrics:
+/// - library.googleapis.com/book/borrowed_count
+class Billing {
+ /// Billing configurations for sending metrics to the consumer project.
+ /// There can be multiple consumer destinations per service, each one must
+ /// have
+ /// a different monitored resource type. A metric can be used in at most
+ /// one consumer destination.
+ core.List<BillingDestination> consumerDestinations;
+
+ Billing();
+
+ Billing.fromJson(core.Map _json) {
+ if (_json.containsKey("consumerDestinations")) {
+ consumerDestinations = _json["consumerDestinations"]
+ .map((value) => new BillingDestination.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 (consumerDestinations != null) {
+ _json["consumerDestinations"] =
+ consumerDestinations.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/// Describes billing configuration for new a Tenant Project
+class BillingConfig {
+ /// Name of the billing account.
+ /// For example `billingAccounts/012345-567890-ABCDEF`.
+ core.String billingAccount;
+
+ BillingConfig();
+
+ BillingConfig.fromJson(core.Map _json) {
+ if (_json.containsKey("billingAccount")) {
+ billingAccount = _json["billingAccount"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (billingAccount != null) {
+ _json["billingAccount"] = billingAccount;
+ }
+ return _json;
+ }
+}
+
+/// Configuration of a specific billing destination (Currently only support
+/// bill against consumer project).
+class BillingDestination {
+ /// Names of the metrics to report to this billing destination.
+ /// Each name must be defined in Service.metrics section.
+ core.List<core.String> metrics;
+
+ /// The monitored resource type. The type must be defined in
+ /// Service.monitored_resources section.
+ core.String monitoredResource;
+
+ BillingDestination();
+
+ BillingDestination.fromJson(core.Map _json) {
+ if (_json.containsKey("metrics")) {
+ metrics = _json["metrics"];
+ }
+ if (_json.containsKey("monitoredResource")) {
+ monitoredResource = _json["monitoredResource"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (metrics != null) {
+ _json["metrics"] = metrics;
+ }
+ if (monitoredResource != null) {
+ _json["monitoredResource"] = monitoredResource;
+ }
+ return _json;
+ }
+}
+
+/// 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;
+ }
+}
+
+/// `Context` defines which contexts an API requests.
+///
+/// Example:
+///
+/// context:
+/// rules:
+/// - selector: "*"
+/// requested:
+/// - google.rpc.context.ProjectContext
+/// - google.rpc.context.OriginContext
+///
+/// The above specifies that all methods in the API request
+/// `google.rpc.context.ProjectContext` and
+/// `google.rpc.context.OriginContext`.
+///
+/// Available context types are defined in package
+/// `google.rpc.context`.
+class Context {
+ /// A list of RPC context rules that apply to individual API methods.
+ ///
+ /// **NOTE:** All service configuration rules follow "last one wins" order.
+ core.List<ContextRule> rules;
+
+ Context();
+
+ Context.fromJson(core.Map _json) {
+ if (_json.containsKey("rules")) {
+ rules = _json["rules"]
+ .map((value) => new ContextRule.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 (rules != null) {
+ _json["rules"] = rules.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/// A context rule provides information about the context for an individual API
+/// element.
+class ContextRule {
+ /// A list of full type names of provided contexts.
+ core.List<core.String> provided;
+
+ /// A list of full type names of requested contexts.
+ core.List<core.String> requested;
+
+ /// Selects the methods to which this rule applies.
+ ///
+ /// Refer to selector for syntax details.
+ core.String selector;
+
+ ContextRule();
+
+ ContextRule.fromJson(core.Map _json) {
+ if (_json.containsKey("provided")) {
+ provided = _json["provided"];
+ }
+ if (_json.containsKey("requested")) {
+ requested = _json["requested"];
+ }
+ if (_json.containsKey("selector")) {
+ selector = _json["selector"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (provided != null) {
+ _json["provided"] = provided;
+ }
+ if (requested != null) {
+ _json["requested"] = requested;
+ }
+ if (selector != null) {
+ _json["selector"] = selector;
+ }
+ return _json;
+ }
+}
+
+/// Selects and configures the service controller used by the service. The
+/// service controller handles features like abuse, quota, billing, logging,
+/// monitoring, etc.
+class Control {
+ /// The service control environment to use. If empty, no control plane
+ /// feature (like quota and billing) will be enabled.
+ core.String environment;
+
+ Control();
+
+ Control.fromJson(core.Map _json) {
+ if (_json.containsKey("environment")) {
+ environment = _json["environment"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (environment != null) {
+ _json["environment"] = environment;
+ }
+ return _json;
+ }
+}
+
+/// Request to create a tenancy unit for a consumer of a service.
+class CreateTenancyUnitRequest {
+ /// Optional producer provided identifier of the tenancy unit
+ /// Must be no longer than 40 characters and preferably URI friendly
+ /// If it is not provided, UID for the tenancy unit will be auto generated
+ /// It must be unique across a service.
+ /// If the tenancy unit already exists for the service and consumer pair,
+ /// CreateTenancyUnit will return existing tenancy unit if provided identifier
+ /// is identical or empty, otherwise the call will fail.
+ core.String tenancyUnitId;
+
+ CreateTenancyUnitRequest();
+
+ CreateTenancyUnitRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("tenancyUnitId")) {
+ tenancyUnitId = _json["tenancyUnitId"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (tenancyUnitId != null) {
+ _json["tenancyUnitId"] = tenancyUnitId;
+ }
+ return _json;
+ }
+}
+
+/// Configuration for a custom authentication provider.
+class CustomAuthRequirements {
+ /// A configuration string containing connection information for the
+ /// authentication provider, typically formatted as a SmartService string
+ /// (go/smartservice).
+ core.String provider;
+
+ CustomAuthRequirements();
+
+ CustomAuthRequirements.fromJson(core.Map _json) {
+ if (_json.containsKey("provider")) {
+ provider = _json["provider"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (provider != null) {
+ _json["provider"] = provider;
+ }
+ return _json;
+ }
+}
+
+/// Customize service error responses. For example, list any service
+/// specific protobuf types that can appear in error detail lists of
+/// error responses.
+///
+/// Example:
+///
+/// custom_error:
+/// types:
+/// - google.foo.v1.CustomError
+/// - google.foo.v1.AnotherError
+class CustomError {
+ /// The list of custom error rules that apply to individual API messages.
+ ///
+ /// **NOTE:** All service configuration rules follow "last one wins" order.
+ core.List<CustomErrorRule> rules;
+
+ /// The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.
+ core.List<core.String> types;
+
+ CustomError();
+
+ CustomError.fromJson(core.Map _json) {
+ if (_json.containsKey("rules")) {
+ rules = _json["rules"]
+ .map((value) => new CustomErrorRule.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("types")) {
+ types = _json["types"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (rules != null) {
+ _json["rules"] = rules.map((value) => (value).toJson()).toList();
+ }
+ if (types != null) {
+ _json["types"] = types;
+ }
+ return _json;
+ }
+}
+
+/// A custom error rule.
+class CustomErrorRule {
+ /// Mark this message as possible payload in error response. Otherwise,
+ /// objects of this type will be filtered when they appear in error payload.
+ core.bool isErrorType;
+
+ /// Selects messages to which this rule applies.
+ ///
+ /// Refer to selector for syntax details.
+ core.String selector;
+
+ CustomErrorRule();
+
+ CustomErrorRule.fromJson(core.Map _json) {
+ if (_json.containsKey("isErrorType")) {
+ isErrorType = _json["isErrorType"];
+ }
+ if (_json.containsKey("selector")) {
+ selector = _json["selector"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (isErrorType != null) {
+ _json["isErrorType"] = isErrorType;
+ }
+ if (selector != null) {
+ _json["selector"] = selector;
+ }
+ return _json;
+ }
+}
+
+/// A custom pattern is used for defining custom HTTP verb.
+class CustomHttpPattern {
+ /// The name of this custom HTTP verb.
+ core.String kind;
+
+ /// The path matched by this custom verb.
+ core.String path;
+
+ CustomHttpPattern();
+
+ CustomHttpPattern.fromJson(core.Map _json) {
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("path")) {
+ path = _json["path"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (path != null) {
+ _json["path"] = path;
+ }
+ return _json;
+ }
+}
+
+/// `Documentation` provides the information for describing a service.
+///
+/// Example:
+/// <pre><code>documentation:
+/// summary: >
+/// The Google Calendar API gives access
+/// to most calendar features.
+/// pages:
+/// - name: Overview
+/// content: (== include google/foo/overview.md ==)
+/// - name: Tutorial
+/// content: (== include google/foo/tutorial.md ==)
+/// subpages;
+/// - name: Java
+/// content: (== include google/foo/tutorial_java.md ==)
+/// rules:
+/// - selector: google.calendar.Calendar.Get
+/// description: >
+/// ...
+/// - selector: google.calendar.Calendar.Put
+/// description: >
+/// ...
+/// </code></pre>
+/// Documentation is provided in markdown syntax. In addition to
+/// standard markdown features, definition lists, tables and fenced
+/// code blocks are supported. Section headers can be provided and are
+/// interpreted relative to the section nesting of the context where
+/// a documentation fragment is embedded.
+///
+/// Documentation from the IDL is merged with documentation defined
+/// via the config at normalization time, where documentation provided
+/// by config rules overrides IDL provided.
+///
+/// A number of constructs specific to the API platform are supported
+/// in documentation text.
+///
+/// In order to reference a proto element, the following
+/// notation can be used:
+/// <pre><code>[fully.qualified.proto.name][]</code></pre>
+/// To override the display text used for the link, this can be used:
+/// <pre><code>[display text][fully.qualified.proto.name]</code></pre>
+/// Text can be excluded from doc using the following notation:
+/// <pre><code>(-- internal comment --)</code></pre>
+/// Comments can be made conditional using a visibility label. The below
+/// text will be only rendered if the `BETA` label is available:
+/// <pre><code>(--BETA: comment for BETA users --)</code></pre>
+/// A few directives are available in documentation. Note that
+/// directives must appear on a single line to be properly
+/// identified. The `include` directive includes a markdown file from
+/// an external source:
+/// <pre><code>(== include path/to/file ==)</code></pre>
+/// The `resource_for` directive marks a message to be the resource of
+/// a collection in REST view. If it is not specified, tools attempt
+/// to infer the resource from the operations in a collection:
+/// <pre><code>(== resource_for v1.shelves.books ==)</code></pre>
+/// The directive `suppress_warning` does not directly affect documentation
+/// and is documented together with service config validation.
+class Documentation {
+ /// The URL to the root of documentation.
+ core.String documentationRootUrl;
+
+ /// Declares a single overview page. For example:
+ /// <pre><code>documentation:
+ /// summary: ...
+ /// overview: (== include overview.md ==)
+ /// </code></pre>
+ /// This is a shortcut for the following declaration (using pages style):
+ /// <pre><code>documentation:
+ /// summary: ...
+ /// pages:
+ /// - name: Overview
+ /// content: (== include overview.md ==)
+ /// </code></pre>
+ /// Note: you cannot specify both `overview` field and `pages` field.
+ core.String overview;
+
+ /// The top level pages for the documentation set.
+ core.List<Page> pages;
+
+ /// A list of documentation rules that apply to individual API elements.
+ ///
+ /// **NOTE:** All service configuration rules follow "last one wins" order.
+ core.List<DocumentationRule> rules;
+
+ /// A short summary of what the service does. Can only be provided by
+ /// plain text.
+ core.String summary;
+
+ Documentation();
+
+ Documentation.fromJson(core.Map _json) {
+ if (_json.containsKey("documentationRootUrl")) {
+ documentationRootUrl = _json["documentationRootUrl"];
+ }
+ if (_json.containsKey("overview")) {
+ overview = _json["overview"];
+ }
+ if (_json.containsKey("pages")) {
+ pages = _json["pages"].map((value) => new Page.fromJson(value)).toList();
+ }
+ if (_json.containsKey("rules")) {
+ rules = _json["rules"]
+ .map((value) => new DocumentationRule.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("summary")) {
+ summary = _json["summary"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (documentationRootUrl != null) {
+ _json["documentationRootUrl"] = documentationRootUrl;
+ }
+ if (overview != null) {
+ _json["overview"] = overview;
+ }
+ if (pages != null) {
+ _json["pages"] = pages.map((value) => (value).toJson()).toList();
+ }
+ if (rules != null) {
+ _json["rules"] = rules.map((value) => (value).toJson()).toList();
+ }
+ if (summary != null) {
+ _json["summary"] = summary;
+ }
+ return _json;
+ }
+}
+
+/// A documentation rule provides information about individual API elements.
+class DocumentationRule {
+ /// Deprecation description of the selected element(s). It can be provided if
+ /// an
+ /// element is marked as `deprecated`.
+ core.String deprecationDescription;
+
+ /// Description of the selected API(s).
+ core.String description;
+
+ /// The selector is a comma-separated list of patterns. Each pattern is a
+ /// qualified name of the element which may end in "*", indicating a wildcard.
+ /// Wildcards are only allowed at the end and for a whole component of the
+ /// qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To
+ /// specify a default for all applicable elements, the whole pattern "*"
+ /// is used.
+ core.String selector;
+
+ DocumentationRule();
+
+ DocumentationRule.fromJson(core.Map _json) {
+ if (_json.containsKey("deprecationDescription")) {
+ deprecationDescription = _json["deprecationDescription"];
+ }
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("selector")) {
+ selector = _json["selector"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (deprecationDescription != null) {
+ _json["deprecationDescription"] = deprecationDescription;
+ }
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (selector != null) {
+ _json["selector"] = selector;
+ }
+ return _json;
+ }
+}
+
+/// A generic empty message that you can re-use to avoid defining duplicated
+/// empty messages in your APIs. A typical example is to use it as the request
+/// or the response type of an API method. For instance:
+///
+/// service Foo {
+/// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
+/// }
+///
+/// The JSON representation for `Empty` is empty JSON object `{}`.
+class Empty {
+ Empty();
+
+ Empty.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;
+ }
+}
+
+/// `Endpoint` describes a network endpoint that serves a set of APIs.
+/// A service may expose any number of endpoints, and all endpoints share the
+/// same service configuration, such as quota configuration and monitoring
+/// configuration.
+///
+/// Example service configuration:
+///
+/// name: library-example.googleapis.com
+/// endpoints:
+/// # Below entry makes 'google.example.library.v1.Library'
+/// # API be served from endpoint address library-example.googleapis.com.
+/// # It also allows HTTP OPTIONS calls to be passed to the backend, for
+/// # it to decide whether the subsequent cross-origin request is
+/// # allowed to proceed.
+/// - name: library-example.googleapis.com
+/// allow_cors: true
+class Endpoint {
+ /// DEPRECATED: This field is no longer supported. Instead of using aliases,
+ /// please specify multiple google.api.Endpoint for each of the intended
+ /// aliases.
+ ///
+ /// Additional names that this endpoint will be hosted on.
+ core.List<core.String> aliases;
+
+ /// Allowing
+ /// [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka
+ /// cross-domain traffic, would allow the backends served from this endpoint
+ /// to
+ /// receive and respond to HTTP OPTIONS requests. The response will be used by
+ /// the browser to determine whether the subsequent cross-origin request is
+ /// allowed to proceed.
+ core.bool allowCors;
+
+ /// The list of features enabled on this endpoint.
+ core.List<core.String> features;
+
+ /// The canonical name of this endpoint.
+ core.String name;
+
+ /// The specification of an Internet routable address of API frontend that
+ /// will
+ /// handle requests to this [API
+ /// Endpoint](https://cloud.google.com/apis/design/glossary).
+ /// It should be either a valid IPv4 address or a fully-qualified domain name.
+ /// For example, "8.8.8.8" or "myservice.appspot.com".
+ core.String target;
+
+ Endpoint();
+
+ Endpoint.fromJson(core.Map _json) {
+ if (_json.containsKey("aliases")) {
+ aliases = _json["aliases"];
+ }
+ if (_json.containsKey("allowCors")) {
+ allowCors = _json["allowCors"];
+ }
+ if (_json.containsKey("features")) {
+ features = _json["features"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("target")) {
+ target = _json["target"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (aliases != null) {
+ _json["aliases"] = aliases;
+ }
+ if (allowCors != null) {
+ _json["allowCors"] = allowCors;
+ }
+ if (features != null) {
+ _json["features"] = features;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (target != null) {
+ _json["target"] = target;
+ }
+ return _json;
+ }
+}
+
+/// Enum type definition.
+class Enum {
+ /// Enum value definitions.
+ core.List<EnumValue> enumvalue;
+
+ /// Enum type name.
+ core.String name;
+
+ /// Protocol buffer options.
+ core.List<Option> options;
+
+ /// The source context.
+ SourceContext sourceContext;
+
+ /// The source syntax.
+ /// Possible string values are:
+ /// - "SYNTAX_PROTO2" : Syntax `proto2`.
+ /// - "SYNTAX_PROTO3" : Syntax `proto3`.
+ core.String syntax;
+
+ Enum();
+
+ Enum.fromJson(core.Map _json) {
+ if (_json.containsKey("enumvalue")) {
+ enumvalue = _json["enumvalue"]
+ .map((value) => new EnumValue.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("options")) {
+ options =
+ _json["options"].map((value) => new Option.fromJson(value)).toList();
+ }
+ if (_json.containsKey("sourceContext")) {
+ sourceContext = new SourceContext.fromJson(_json["sourceContext"]);
+ }
+ if (_json.containsKey("syntax")) {
+ syntax = _json["syntax"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (enumvalue != null) {
+ _json["enumvalue"] = enumvalue.map((value) => (value).toJson()).toList();
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (options != null) {
+ _json["options"] = options.map((value) => (value).toJson()).toList();
+ }
+ if (sourceContext != null) {
+ _json["sourceContext"] = (sourceContext).toJson();
+ }
+ if (syntax != null) {
+ _json["syntax"] = syntax;
+ }
+ return _json;
+ }
+}
+
+/// Enum value definition.
+class EnumValue {
+ /// Enum value name.
+ core.String name;
+
+ /// Enum value number.
+ core.int number;
+
+ /// Protocol buffer options.
+ core.List<Option> options;
+
+ EnumValue();
+
+ EnumValue.fromJson(core.Map _json) {
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("number")) {
+ number = _json["number"];
+ }
+ if (_json.containsKey("options")) {
+ options =
+ _json["options"].map((value) => new Option.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 (name != null) {
+ _json["name"] = name;
+ }
+ if (number != null) {
+ _json["number"] = number;
+ }
+ if (options != null) {
+ _json["options"] = options.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/// Experimental service configuration. These configuration options can
+/// only be used by whitelisted users.
+class Experimental {
+ /// Authorization configuration.
+ AuthorizationConfig authorization;
+
+ Experimental();
+
+ Experimental.fromJson(core.Map _json) {
+ if (_json.containsKey("authorization")) {
+ authorization = new AuthorizationConfig.fromJson(_json["authorization"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (authorization != null) {
+ _json["authorization"] = (authorization).toJson();
+ }
+ return _json;
+ }
+}
+
+/// A single field of a message type.
+class Field {
+ /// The field cardinality.
+ /// Possible string values are:
+ /// - "CARDINALITY_UNKNOWN" : For fields with unknown cardinality.
+ /// - "CARDINALITY_OPTIONAL" : For optional fields.
+ /// - "CARDINALITY_REQUIRED" : For required fields. Proto2 syntax only.
+ /// - "CARDINALITY_REPEATED" : For repeated fields.
+ core.String cardinality;
+
+ /// The string value of the default value of this field. Proto2 syntax only.
+ core.String defaultValue;
+
+ /// The field JSON name.
+ core.String jsonName;
+
+ /// The field type.
+ /// Possible string values are:
+ /// - "TYPE_UNKNOWN" : Field type unknown.
+ /// - "TYPE_DOUBLE" : Field type double.
+ /// - "TYPE_FLOAT" : Field type float.
+ /// - "TYPE_INT64" : Field type int64.
+ /// - "TYPE_UINT64" : Field type uint64.
+ /// - "TYPE_INT32" : Field type int32.
+ /// - "TYPE_FIXED64" : Field type fixed64.
+ /// - "TYPE_FIXED32" : Field type fixed32.
+ /// - "TYPE_BOOL" : Field type bool.
+ /// - "TYPE_STRING" : Field type string.
+ /// - "TYPE_GROUP" : Field type group. Proto2 syntax only, and deprecated.
+ /// - "TYPE_MESSAGE" : Field type message.
+ /// - "TYPE_BYTES" : Field type bytes.
+ /// - "TYPE_UINT32" : Field type uint32.
+ /// - "TYPE_ENUM" : Field type enum.
+ /// - "TYPE_SFIXED32" : Field type sfixed32.
+ /// - "TYPE_SFIXED64" : Field type sfixed64.
+ /// - "TYPE_SINT32" : Field type sint32.
+ /// - "TYPE_SINT64" : Field type sint64.
+ core.String kind;
+
+ /// The field name.
+ core.String name;
+
+ /// The field number.
+ core.int number;
+
+ /// The index of the field type in `Type.oneofs`, for message or enumeration
+ /// types. The first type has index 1; zero means the type is not in the list.
+ core.int oneofIndex;
+
+ /// The protocol buffer options.
+ core.List<Option> options;
+
+ /// Whether to use alternative packed wire representation.
+ core.bool packed;
+
+ /// The field type URL, without the scheme, for message or enumeration
+ /// types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
+ core.String typeUrl;
+
+ Field();
+
+ Field.fromJson(core.Map _json) {
+ if (_json.containsKey("cardinality")) {
+ cardinality = _json["cardinality"];
+ }
+ if (_json.containsKey("defaultValue")) {
+ defaultValue = _json["defaultValue"];
+ }
+ if (_json.containsKey("jsonName")) {
+ jsonName = _json["jsonName"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("number")) {
+ number = _json["number"];
+ }
+ if (_json.containsKey("oneofIndex")) {
+ oneofIndex = _json["oneofIndex"];
+ }
+ if (_json.containsKey("options")) {
+ options =
+ _json["options"].map((value) => new Option.fromJson(value)).toList();
+ }
+ if (_json.containsKey("packed")) {
+ packed = _json["packed"];
+ }
+ if (_json.containsKey("typeUrl")) {
+ typeUrl = _json["typeUrl"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (cardinality != null) {
+ _json["cardinality"] = cardinality;
+ }
+ if (defaultValue != null) {
+ _json["defaultValue"] = defaultValue;
+ }
+ if (jsonName != null) {
+ _json["jsonName"] = jsonName;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (number != null) {
+ _json["number"] = number;
+ }
+ if (oneofIndex != null) {
+ _json["oneofIndex"] = oneofIndex;
+ }
+ if (options != null) {
+ _json["options"] = options.map((value) => (value).toJson()).toList();
+ }
+ if (packed != null) {
+ _json["packed"] = packed;
+ }
+ if (typeUrl != null) {
+ _json["typeUrl"] = typeUrl;
+ }
+ return _json;
+ }
+}
+
+/// Defines the HTTP configuration for an API service. It contains a list of
+/// HttpRule, each specifying the mapping of an RPC method
+/// to one or more HTTP REST API methods.
+class Http {
+ /// When set to true, URL path parmeters will be fully URI-decoded except in
+ /// cases of single segment matches in reserved expansion, where "%2F" will be
+ /// left encoded.
+ ///
+ /// The default behavior is to not decode RFC 6570 reserved characters in
+ /// multi
+ /// segment matches.
+ core.bool fullyDecodeReservedExpansion;
+
+ /// A list of HTTP configuration rules that apply to individual API methods.
+ ///
+ /// **NOTE:** All service configuration rules follow "last one wins" order.
+ core.List<HttpRule> rules;
+
+ Http();
+
+ Http.fromJson(core.Map _json) {
+ if (_json.containsKey("fullyDecodeReservedExpansion")) {
+ fullyDecodeReservedExpansion = _json["fullyDecodeReservedExpansion"];
+ }
+ if (_json.containsKey("rules")) {
+ rules =
+ _json["rules"].map((value) => new HttpRule.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 (fullyDecodeReservedExpansion != null) {
+ _json["fullyDecodeReservedExpansion"] = fullyDecodeReservedExpansion;
+ }
+ if (rules != null) {
+ _json["rules"] = rules.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/// `HttpRule` defines the mapping of an RPC method to one or more HTTP
+/// REST API methods. The mapping specifies how different portions of the RPC
+/// request message are mapped to URL path, URL query parameters, and
+/// HTTP request body. The mapping is typically specified as an
+/// `google.api.http` annotation on the RPC method,
+/// see "google/api/annotations.proto" for details.
+///
+/// The mapping consists of a field specifying the path template and
+/// method kind. The path template can refer to fields in the request
+/// message, as in the example below which describes a REST GET
+/// operation on a resource collection of messages:
+///
+///
+/// service Messaging {
+/// rpc GetMessage(GetMessageRequest) returns (Message) {
+/// option (google.api.http).get = "/v1/messages/{message_id}/{sub.subfield}";
+/// }
+/// }
+/// message GetMessageRequest {
+/// message SubMessage {
+/// string subfield = 1;
+/// }
+/// string message_id = 1; // mapped to the URL
+/// SubMessage sub = 2; // `sub.subfield` is url-mapped
+/// }
+/// message Message {
+/// string text = 1; // content of the resource
+/// }
+///
+/// The same http annotation can alternatively be expressed inside the
+/// `GRPC API Configuration` YAML file.
+///
+/// http:
+/// rules:
+/// - selector: <proto_package_name>.Messaging.GetMessage
+/// get: /v1/messages/{message_id}/{sub.subfield}
+///
+/// This definition enables an automatic, bidrectional mapping of HTTP
+/// JSON to RPC. Example:
+///
+/// HTTP | RPC
+/// -----|-----
+/// `GET /v1/messages/123456/foo` | `GetMessage(message_id: "123456" sub:
+/// SubMessage(subfield: "foo"))`
+///
+/// In general, not only fields but also field paths can be referenced
+/// from a path pattern. Fields mapped to the path pattern cannot be
+/// repeated and must have a primitive (non-message) type.
+///
+/// Any fields in the request message which are not bound by the path
+/// pattern automatically become (optional) HTTP query
+/// parameters. Assume the following definition of the request message:
+///
+///
+/// service Messaging {
+/// rpc GetMessage(GetMessageRequest) returns (Message) {
+/// option (google.api.http).get = "/v1/messages/{message_id}";
+/// }
+/// }
+/// message GetMessageRequest {
+/// message SubMessage {
+/// string subfield = 1;
+/// }
+/// string message_id = 1; // mapped to the URL
+/// int64 revision = 2; // becomes a parameter
+/// SubMessage sub = 3; // `sub.subfield` becomes a parameter
+/// }
+///
+///
+/// This enables a HTTP JSON to RPC mapping as below:
+///
+/// HTTP | RPC
+/// -----|-----
+/// `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
+/// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
+/// "foo"))`
+///
+/// Note that fields which are mapped to HTTP parameters must have a
+/// primitive type or a repeated primitive type. Message types are not
+/// allowed. In the case of a repeated type, the parameter can be
+/// repeated in the URL, as in `...?param=A¶m=B`.
+///
+/// For HTTP method kinds which allow a request body, the `body` field
+/// specifies the mapping. Consider a REST update method on the
+/// message resource collection:
+///
+///
+/// service Messaging {
+/// rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
+/// option (google.api.http) = {
+/// put: "/v1/messages/{message_id}"
+/// body: "message"
+/// };
+/// }
+/// }
+/// message UpdateMessageRequest {
+/// string message_id = 1; // mapped to the URL
+/// Message message = 2; // mapped to the body
+/// }
+///
+///
+/// The following HTTP JSON to RPC mapping is enabled, where the
+/// representation of the JSON in the request body is determined by
+/// protos JSON encoding:
+///
+/// HTTP | RPC
+/// -----|-----
+/// `PUT /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
+/// "123456" message { text: "Hi!" })`
+///
+/// The special name `*` can be used in the body mapping to define that
+/// every field not bound by the path template should be mapped to the
+/// request body. This enables the following alternative definition of
+/// the update method:
+///
+/// service Messaging {
+/// rpc UpdateMessage(Message) returns (Message) {
+/// option (google.api.http) = {
+/// put: "/v1/messages/{message_id}"
+/// body: "*"
+/// };
+/// }
+/// }
+/// message Message {
+/// string message_id = 1;
+/// string text = 2;
+/// }
+///
+///
+/// The following HTTP JSON to RPC mapping is enabled:
+///
+/// HTTP | RPC
+/// -----|-----
+/// `PUT /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
+/// "123456" text: "Hi!")`
+///
+/// Note that when using `*` in the body mapping, it is not possible to
+/// have HTTP parameters, as all fields not bound by the path end in
+/// the body. This makes this option more rarely used in practice of
+/// defining REST APIs. The common usage of `*` is in custom methods
+/// which don't use the URL at all for transferring data.
+///
+/// It is possible to define multiple HTTP methods for one RPC by using
+/// the `additional_bindings` option. Example:
+///
+/// service Messaging {
+/// rpc GetMessage(GetMessageRequest) returns (Message) {
+/// option (google.api.http) = {
+/// get: "/v1/messages/{message_id}"
+/// additional_bindings {
+/// get: "/v1/users/{user_id}/messages/{message_id}"
+/// }
+/// };
+/// }
+/// }
+/// message GetMessageRequest {
+/// string message_id = 1;
+/// string user_id = 2;
+/// }
+///
+///
+/// This enables the following two alternative HTTP JSON to RPC
+/// mappings:
+///
+/// HTTP | RPC
+/// -----|-----
+/// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
+/// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
+/// "123456")`
+///
+/// # Rules for HTTP mapping
+///
+/// The rules for mapping HTTP path, query parameters, and body fields
+/// to the request message are as follows:
+///
+/// 1. The `body` field specifies either `*` or a field path, or is
+/// omitted. If omitted, it indicates there is no HTTP request body.
+/// 2. Leaf fields (recursive expansion of nested messages in the
+/// request) can be classified into three types:
+/// (a) Matched in the URL template.
+/// (b) Covered by body (if body is `*`, everything except (a) fields;
+/// else everything under the body field)
+/// (c) All other fields.
+/// 3. URL query parameters found in the HTTP request are mapped to (c) fields.
+/// 4. Any body sent with an HTTP request can contain only (b) fields.
+///
+/// The syntax of the path template is as follows:
+///
+/// Template = "/" Segments [ Verb ] ;
+/// Segments = Segment { "/" Segment } ;
+/// Segment = "*" | "**" | LITERAL | Variable ;
+/// Variable = "{" FieldPath [ "=" Segments ] "}" ;
+/// FieldPath = IDENT { "." IDENT } ;
+/// Verb = ":" LITERAL ;
+///
+/// The syntax `*` matches a single path segment. The syntax `**` matches zero
+/// or more path segments, which must be the last part of the path except the
+/// `Verb`. The syntax `LITERAL` matches literal text in the path.
+///
+/// The syntax `Variable` matches part of the URL path as specified by its
+/// template. A variable template must not contain other variables. If a
+/// variable
+/// matches a single path segment, its template may be omitted, e.g. `{var}`
+/// is equivalent to `{var=*}`.
+///
+/// If a variable contains exactly one path segment, such as `"{var}"` or
+/// `"{var=*}"`, when such a variable is expanded into a URL path, all
+/// characters
+/// except `[-_.~0-9a-zA-Z]` are percent-encoded. Such variables show up in the
+/// Discovery Document as `{var}`.
+///
+/// If a variable contains one or more path segments, such as `"{var=foo / * }"`
+/// or `"{var=**}"`, when such a variable is expanded into a URL path, all
+/// characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. Such variables
+/// show up in the Discovery Document as `{+var}`.
+///
+/// NOTE: While the single segment variable matches the semantics of
+/// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2
+/// Simple String Expansion, the multi segment variable **does not** match
+/// RFC 6570 Reserved Expansion. The reason is that the Reserved Expansion
+/// does not expand special characters like `?` and `#`, which would lead
+/// to invalid URLs.
+///
+/// NOTE: the field paths in variables and in the `body` must not refer to
+/// repeated fields or map fields.
+class HttpRule {
+ /// Additional HTTP bindings for the selector. Nested bindings must
+ /// not contain an `additional_bindings` field themselves (that is,
+ /// the nesting may only be one level deep).
+ core.List<HttpRule> additionalBindings;
+
+ /// Specifies the permission(s) required for an API element for the overall
+ /// API request to succeed. It is typically used to mark request message
+ /// fields
+ /// that contain the name of the resource and indicates the permissions that
+ /// will be checked on that resource.
+ core.List<AuthorizationRule> authorizations;
+
+ /// The name of the request field whose value is mapped to the HTTP body, or
+ /// `*` for mapping all fields not captured by the path pattern to the HTTP
+ /// body. NOTE: the referred field must not be a repeated field and must be
+ /// present at the top-level of request message type.
+ core.String body;
+
+ /// The custom pattern is used for specifying an HTTP method that is not
+ /// included in the `pattern` field, such as HEAD, or "*" to leave the
+ /// HTTP method unspecified for this rule. The wild-card rule is useful
+ /// for services that provide content to Web (HTML) clients.
+ CustomHttpPattern custom;
+
+ /// Used for deleting a resource.
+ core.String delete;
+
+ /// Used for listing and getting information about resources.
+ core.String get;
+
+ /// Use this only for Scotty Requests. Do not use this for bytestream methods.
+ /// For media support, add instead [][google.bytestream.RestByteStream] as an
+ /// API to your configuration.
+ MediaDownload mediaDownload;
+
+ /// Use this only for Scotty Requests. Do not use this for media support using
+ /// Bytestream, add instead
+ /// [][google.bytestream.RestByteStream] as an API to your
+ /// configuration for Bytestream methods.
+ MediaUpload mediaUpload;
+
+ /// Used for updating a resource.
+ core.String patch;
+
+ /// Used for creating a resource.
+ core.String post;
+
+ /// Used for updating a resource.
+ core.String put;
+
+ /// The name of the response field whose value is mapped to the HTTP body of
+ /// response. Other response fields are ignored. This field is optional. When
+ /// not set, the response message will be used as HTTP body of response.
+ /// NOTE: the referred field must be not a repeated field and must be present
+ /// at the top-level of response message type.
+ core.String responseBody;
+
+ /// DO NOT USE. This is an experimental field.
+ ///
+ /// Optional. The REST collection name is by default derived from the URL
+ /// pattern. If specified, this field overrides the default collection name.
+ /// Example:
+ ///
+ /// rpc AddressesAggregatedList(AddressesAggregatedListRequest)
+ /// returns (AddressesAggregatedListResponse) {
+ /// option (google.api.http) = {
+ /// get: "/v1/projects/{project_id}/aggregated/addresses"
+ /// rest_collection: "projects.addresses"
+ /// };
+ /// }
+ ///
+ /// This method has the automatically derived collection name
+ /// "projects.aggregated". Because, semantically, this rpc is actually an
+ /// operation on the "projects.addresses" collection, the `rest_collection`
+ /// field is configured to override the derived collection name.
+ core.String restCollection;
+
+ /// DO NOT USE. This is an experimental field.
+ ///
+ /// Optional. The rest method name is by default derived from the URL
+ /// pattern. If specified, this field overrides the default method name.
+ /// Example:
+ ///
+ /// rpc CreateResource(CreateResourceRequest)
+ /// returns (CreateResourceResponse) {
+ /// option (google.api.http) = {
+ /// post: "/v1/resources",
+ /// body: "resource",
+ /// rest_method_name: "insert"
+ /// };
+ /// }
+ ///
+ /// This method has the automatically derived rest method name
+ /// "create", but for backwards compatibility with apiary, it is specified as
+ /// insert.
+ core.String restMethodName;
+
+ /// Selects methods to which this rule applies.
+ ///
+ /// Refer to selector for syntax details.
+ core.String selector;
+
+ HttpRule();
+
+ HttpRule.fromJson(core.Map _json) {
+ if (_json.containsKey("additionalBindings")) {
+ additionalBindings = _json["additionalBindings"]
+ .map((value) => new HttpRule.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("authorizations")) {
+ authorizations = _json["authorizations"]
+ .map((value) => new AuthorizationRule.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("body")) {
+ body = _json["body"];
+ }
+ if (_json.containsKey("custom")) {
+ custom = new CustomHttpPattern.fromJson(_json["custom"]);
+ }
+ if (_json.containsKey("delete")) {
+ delete = _json["delete"];
+ }
+ if (_json.containsKey("get")) {
+ get = _json["get"];
+ }
+ if (_json.containsKey("mediaDownload")) {
+ mediaDownload = new MediaDownload.fromJson(_json["mediaDownload"]);
+ }
+ if (_json.containsKey("mediaUpload")) {
+ mediaUpload = new MediaUpload.fromJson(_json["mediaUpload"]);
+ }
+ if (_json.containsKey("patch")) {
+ patch = _json["patch"];
+ }
+ if (_json.containsKey("post")) {
+ post = _json["post"];
+ }
+ if (_json.containsKey("put")) {
+ put = _json["put"];
+ }
+ if (_json.containsKey("responseBody")) {
+ responseBody = _json["responseBody"];
+ }
+ if (_json.containsKey("restCollection")) {
+ restCollection = _json["restCollection"];
+ }
+ if (_json.containsKey("restMethodName")) {
+ restMethodName = _json["restMethodName"];
+ }
+ if (_json.containsKey("selector")) {
+ selector = _json["selector"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (additionalBindings != null) {
+ _json["additionalBindings"] =
+ additionalBindings.map((value) => (value).toJson()).toList();
+ }
+ if (authorizations != null) {
+ _json["authorizations"] =
+ authorizations.map((value) => (value).toJson()).toList();
+ }
+ if (body != null) {
+ _json["body"] = body;
+ }
+ if (custom != null) {
+ _json["custom"] = (custom).toJson();
+ }
+ if (delete != null) {
+ _json["delete"] = delete;
+ }
+ if (get != null) {
+ _json["get"] = get;
+ }
+ if (mediaDownload != null) {
+ _json["mediaDownload"] = (mediaDownload).toJson();
+ }
+ if (mediaUpload != null) {
+ _json["mediaUpload"] = (mediaUpload).toJson();
+ }
+ if (patch != null) {
+ _json["patch"] = patch;
+ }
+ if (post != null) {
+ _json["post"] = post;
+ }
+ if (put != null) {
+ _json["put"] = put;
+ }
+ if (responseBody != null) {
+ _json["responseBody"] = responseBody;
+ }
+ if (restCollection != null) {
+ _json["restCollection"] = restCollection;
+ }
+ if (restMethodName != null) {
+ _json["restMethodName"] = restMethodName;
+ }
+ if (selector != null) {
+ _json["selector"] = selector;
+ }
+ return _json;
+ }
+}
+
+/// A description of a label.
+class LabelDescriptor {
+ /// A human-readable description for the label.
+ core.String description;
+
+ /// The label key.
+ core.String key;
+
+ /// The type of data that can be assigned to the label.
+ /// Possible string values are:
+ /// - "STRING" : A variable-length string. This is the default.
+ /// - "BOOL" : Boolean; true or false.
+ /// - "INT64" : A 64-bit signed integer.
+ core.String valueType;
+
+ LabelDescriptor();
+
+ LabelDescriptor.fromJson(core.Map _json) {
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("key")) {
+ key = _json["key"];
+ }
+ if (_json.containsKey("valueType")) {
+ valueType = _json["valueType"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (key != null) {
+ _json["key"] = key;
+ }
+ if (valueType != null) {
+ _json["valueType"] = valueType;
+ }
+ return _json;
+ }
+}
+
+/// The response message for Operations.ListOperations.
+class ListOperationsResponse {
+ /// The standard List next-page token.
+ core.String nextPageToken;
+
+ /// A list of operations that matches the specified filter in the request.
+ core.List<Operation> operations;
+
+ ListOperationsResponse();
+
+ ListOperationsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("operations")) {
+ operations = _json["operations"]
+ .map((value) => new Operation.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 (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ if (operations != null) {
+ _json["operations"] =
+ operations.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/// Response for the list request.
+class ListTenancyUnitsResponse {
+ /// Pagination token for large results.
+ core.String nextPageToken;
+
+ /// Tenancy Units matching the request.
+ core.List<TenancyUnit> tenancyUnits;
+
+ ListTenancyUnitsResponse();
+
+ ListTenancyUnitsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("tenancyUnits")) {
+ tenancyUnits = _json["tenancyUnits"]
+ .map((value) => new TenancyUnit.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 (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ if (tenancyUnits != null) {
+ _json["tenancyUnits"] =
+ tenancyUnits.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/// A description of a log type. Example in YAML format:
+///
+/// - name: library.googleapis.com/activity_history
+/// description: The history of borrowing and returning library items.
+/// display_name: Activity
+/// labels:
+/// - key: /customer_id
+/// description: Identifier of a library customer
+class LogDescriptor {
+ /// A human-readable description of this log. This information appears in
+ /// the documentation and can contain details.
+ core.String description;
+
+ /// The human-readable name for this log. This information appears on
+ /// the user interface and should be concise.
+ core.String displayName;
+
+ /// The set of labels that are available to describe a specific log entry.
+ /// Runtime requests that contain labels not specified here are
+ /// considered invalid.
+ core.List<LabelDescriptor> labels;
+
+ /// The name of the log. It must be less than 512 characters long and can
+ /// include the following characters: upper- and lower-case alphanumeric
+ /// characters [A-Za-z0-9], and punctuation characters including
+ /// slash, underscore, hyphen, period [/_-.].
+ core.String name;
+
+ LogDescriptor();
+
+ LogDescriptor.fromJson(core.Map _json) {
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("displayName")) {
+ displayName = _json["displayName"];
+ }
+ if (_json.containsKey("labels")) {
+ labels = _json["labels"]
+ .map((value) => new LabelDescriptor.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (displayName != null) {
+ _json["displayName"] = displayName;
+ }
+ if (labels != null) {
+ _json["labels"] = labels.map((value) => (value).toJson()).toList();
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ return _json;
+ }
+}
+
+/// Logging configuration of the service.
+///
+/// The following example shows how to configure logs to be sent to the
+/// producer and consumer projects. In the example, the `activity_history`
+/// log is sent to both the producer and consumer projects, whereas the
+/// `purchase_history` log is only sent to the producer project.
+///
+/// monitored_resources:
+/// - type: library.googleapis.com/branch
+/// labels:
+/// - key: /city
+/// description: The city where the library branch is located in.
+/// - key: /name
+/// description: The name of the branch.
+/// logs:
+/// - name: activity_history
+/// labels:
+/// - key: /customer_id
+/// - name: purchase_history
+/// logging:
+/// producer_destinations:
+/// - monitored_resource: library.googleapis.com/branch
+/// logs:
+/// - activity_history
+/// - purchase_history
+/// consumer_destinations:
+/// - monitored_resource: library.googleapis.com/branch
+/// logs:
+/// - activity_history
+class Logging {
+ /// Logging configurations for sending logs to the consumer project.
+ /// There can be multiple consumer destinations, each one must have a
+ /// different monitored resource type. A log can be used in at most
+ /// one consumer destination.
+ core.List<LoggingDestination> consumerDestinations;
+
+ /// Logging configurations for sending logs to the producer project.
+ /// There can be multiple producer destinations, each one must have a
+ /// different monitored resource type. A log can be used in at most
+ /// one producer destination.
+ core.List<LoggingDestination> producerDestinations;
+
+ Logging();
+
+ Logging.fromJson(core.Map _json) {
+ if (_json.containsKey("consumerDestinations")) {
+ consumerDestinations = _json["consumerDestinations"]
+ .map((value) => new LoggingDestination.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("producerDestinations")) {
+ producerDestinations = _json["producerDestinations"]
+ .map((value) => new LoggingDestination.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 (consumerDestinations != null) {
+ _json["consumerDestinations"] =
+ consumerDestinations.map((value) => (value).toJson()).toList();
+ }
+ if (producerDestinations != null) {
+ _json["producerDestinations"] =
+ producerDestinations.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/// Configuration of a specific logging destination (the producer project
+/// or the consumer project).
+class LoggingDestination {
+ /// Names of the logs to be sent to this destination. Each name must
+ /// be defined in the Service.logs section. If the log name is
+ /// not a domain scoped name, it will be automatically prefixed with
+ /// the service name followed by "/".
+ core.List<core.String> logs;
+
+ /// The monitored resource type. The type must be defined in the
+ /// Service.monitored_resources section.
+ core.String monitoredResource;
+
+ LoggingDestination();
+
+ LoggingDestination.fromJson(core.Map _json) {
+ if (_json.containsKey("logs")) {
+ logs = _json["logs"];
+ }
+ if (_json.containsKey("monitoredResource")) {
+ monitoredResource = _json["monitoredResource"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (logs != null) {
+ _json["logs"] = logs;
+ }
+ if (monitoredResource != null) {
+ _json["monitoredResource"] = monitoredResource;
+ }
+ return _json;
+ }
+}
+
+/// Defines the Media configuration for a service in case of a download.
+/// Use this only for Scotty Requests. Do not use this for media support using
+/// Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
+/// your configuration for Bytestream methods.
+class MediaDownload {
+ /// A boolean that determines whether a notification for the completion of a
+ /// download should be sent to the backend.
+ core.bool completeNotification;
+
+ /// DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED.
+ ///
+ /// Specify name of the download service if one is used for download.
+ core.String downloadService;
+
+ /// Name of the Scotty dropzone to use for the current API.
+ core.String dropzone;
+
+ /// Whether download is enabled.
+ core.bool enabled;
+
+ /// Optional maximum acceptable size for direct download.
+ /// The size is specified in bytes.
+ core.String maxDirectDownloadSize;
+
+ /// A boolean that determines if direct download from ESF should be used for
+ /// download of this media.
+ core.bool useDirectDownload;
+
+ MediaDownload();
+
+ MediaDownload.fromJson(core.Map _json) {
+ if (_json.containsKey("completeNotification")) {
+ completeNotification = _json["completeNotification"];
+ }
+ if (_json.containsKey("downloadService")) {
+ downloadService = _json["downloadService"];
+ }
+ if (_json.containsKey("dropzone")) {
+ dropzone = _json["dropzone"];
+ }
+ if (_json.containsKey("enabled")) {
+ enabled = _json["enabled"];
+ }
+ if (_json.containsKey("maxDirectDownloadSize")) {
+ maxDirectDownloadSize = _json["maxDirectDownloadSize"];
+ }
+ if (_json.containsKey("useDirectDownload")) {
+ useDirectDownload = _json["useDirectDownload"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (completeNotification != null) {
+ _json["completeNotification"] = completeNotification;
+ }
+ if (downloadService != null) {
+ _json["downloadService"] = downloadService;
+ }
+ if (dropzone != null) {
+ _json["dropzone"] = dropzone;
+ }
+ if (enabled != null) {
+ _json["enabled"] = enabled;
+ }
+ if (maxDirectDownloadSize != null) {
+ _json["maxDirectDownloadSize"] = maxDirectDownloadSize;
+ }
+ if (useDirectDownload != null) {
+ _json["useDirectDownload"] = useDirectDownload;
+ }
+ return _json;
+ }
+}
+
+/// Defines the Media configuration for a service in case of an upload.
+/// Use this only for Scotty Requests. Do not use this for media support using
+/// Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
+/// your configuration for Bytestream methods.
+class MediaUpload {
+ /// A boolean that determines whether a notification for the completion of an
+ /// upload should be sent to the backend. These notifications will not be seen
+ /// by the client and will not consume quota.
+ core.bool completeNotification;
+
+ /// Name of the Scotty dropzone to use for the current API.
+ core.String dropzone;
+
+ /// Whether upload is enabled.
+ core.bool enabled;
+
+ /// Optional maximum acceptable size for an upload.
+ /// The size is specified in bytes.
+ core.String maxSize;
+
+ /// An array of mimetype patterns. Esf will only accept uploads that match one
+ /// of the given patterns.
+ core.List<core.String> mimeTypes;
+
+ /// Whether to receive a notification for progress changes of media upload.
+ core.bool progressNotification;
+
+ /// Whether to receive a notification on the start of media upload.
+ core.bool startNotification;
+
+ /// DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED.
+ ///
+ /// Specify name of the upload service if one is used for upload.
+ core.String uploadService;
+
+ MediaUpload();
+
+ MediaUpload.fromJson(core.Map _json) {
+ if (_json.containsKey("completeNotification")) {
+ completeNotification = _json["completeNotification"];
+ }
+ if (_json.containsKey("dropzone")) {
+ dropzone = _json["dropzone"];
+ }
+ if (_json.containsKey("enabled")) {
+ enabled = _json["enabled"];
+ }
+ if (_json.containsKey("maxSize")) {
+ maxSize = _json["maxSize"];
+ }
+ if (_json.containsKey("mimeTypes")) {
+ mimeTypes = _json["mimeTypes"];
+ }
+ if (_json.containsKey("progressNotification")) {
+ progressNotification = _json["progressNotification"];
+ }
+ if (_json.containsKey("startNotification")) {
+ startNotification = _json["startNotification"];
+ }
+ if (_json.containsKey("uploadService")) {
+ uploadService = _json["uploadService"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (completeNotification != null) {
+ _json["completeNotification"] = completeNotification;
+ }
+ if (dropzone != null) {
+ _json["dropzone"] = dropzone;
+ }
+ if (enabled != null) {
+ _json["enabled"] = enabled;
+ }
+ if (maxSize != null) {
+ _json["maxSize"] = maxSize;
+ }
+ if (mimeTypes != null) {
+ _json["mimeTypes"] = mimeTypes;
+ }
+ if (progressNotification != null) {
+ _json["progressNotification"] = progressNotification;
+ }
+ if (startNotification != null) {
+ _json["startNotification"] = startNotification;
+ }
+ if (uploadService != null) {
+ _json["uploadService"] = uploadService;
+ }
+ return _json;
+ }
+}
+
+/// Method represents a method of an API interface.
+class Method {
+ /// The simple name of this method.
+ core.String name;
+
+ /// Any metadata attached to the method.
+ core.List<Option> options;
+
+ /// If true, the request is streamed.
+ core.bool requestStreaming;
+
+ /// A URL of the input message type.
+ core.String requestTypeUrl;
+
+ /// If true, the response is streamed.
+ core.bool responseStreaming;
+
+ /// The URL of the output message type.
+ core.String responseTypeUrl;
+
+ /// The source syntax of this method.
+ /// Possible string values are:
+ /// - "SYNTAX_PROTO2" : Syntax `proto2`.
+ /// - "SYNTAX_PROTO3" : Syntax `proto3`.
+ core.String syntax;
+
+ Method();
+
+ Method.fromJson(core.Map _json) {
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("options")) {
+ options =
+ _json["options"].map((value) => new Option.fromJson(value)).toList();
+ }
+ if (_json.containsKey("requestStreaming")) {
+ requestStreaming = _json["requestStreaming"];
+ }
+ if (_json.containsKey("requestTypeUrl")) {
+ requestTypeUrl = _json["requestTypeUrl"];
+ }
+ if (_json.containsKey("responseStreaming")) {
+ responseStreaming = _json["responseStreaming"];
+ }
+ if (_json.containsKey("responseTypeUrl")) {
+ responseTypeUrl = _json["responseTypeUrl"];
+ }
+ if (_json.containsKey("syntax")) {
+ syntax = _json["syntax"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (options != null) {
+ _json["options"] = options.map((value) => (value).toJson()).toList();
+ }
+ if (requestStreaming != null) {
+ _json["requestStreaming"] = requestStreaming;
+ }
+ if (requestTypeUrl != null) {
+ _json["requestTypeUrl"] = requestTypeUrl;
+ }
+ if (responseStreaming != null) {
+ _json["responseStreaming"] = responseStreaming;
+ }
+ if (responseTypeUrl != null) {
+ _json["responseTypeUrl"] = responseTypeUrl;
+ }
+ if (syntax != null) {
+ _json["syntax"] = syntax;
+ }
+ return _json;
+ }
+}
+
+/// Defines a metric type and its schema. Once a metric descriptor is created,
+/// deleting or altering it stops data collection and makes the metric type's
+/// existing data unusable.
+class MetricDescriptor {
+ /// A detailed description of the metric, which can be used in documentation.
+ core.String description;
+
+ /// A concise name for the metric, which can be displayed in user interfaces.
+ /// Use sentence case without an ending period, for example "Request count".
+ /// This field is optional but it is recommended to be set for any metrics
+ /// associated with user-visible concepts, such as Quota.
+ core.String displayName;
+
+ /// The set of labels that can be used to describe a specific
+ /// instance of this metric type. For example, the
+ /// `appengine.googleapis.com/http/server/response_latencies` metric
+ /// type has a label for the HTTP response code, `response_code`, so
+ /// you can look at latencies for successful responses or just
+ /// for responses that failed.
+ core.List<LabelDescriptor> labels;
+
+ /// Whether the metric records instantaneous values, changes to a value, etc.
+ /// Some combinations of `metric_kind` and `value_type` might not be
+ /// supported.
+ /// Possible string values are:
+ /// - "METRIC_KIND_UNSPECIFIED" : Do not use this default value.
+ /// - "GAUGE" : An instantaneous measurement of a value.
+ /// - "DELTA" : The change in a value during a time interval.
+ /// - "CUMULATIVE" : A value accumulated over a time interval. Cumulative
+ /// measurements in a time series should have the same start time
+ /// and increasing end times, until an event resets the cumulative
+ /// value to zero and sets a new start time for the following
+ /// points.
+ core.String metricKind;
+
+ /// The resource name of the metric descriptor.
+ core.String name;
+
+ /// The metric type, including its DNS name prefix. The type is not
+ /// URL-encoded. All user-defined custom metric types have the DNS name
+ /// `custom.googleapis.com`. Metric types should use a natural hierarchical
+ /// grouping. For example:
+ ///
+ /// "custom.googleapis.com/invoice/paid/amount"
+ /// "appengine.googleapis.com/http/server/response_latencies"
+ core.String type;
+
+ /// The unit in which the metric value is reported. It is only applicable
+ /// if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The
+ /// supported units are a subset of [The Unified Code for Units of
+ /// Measure](http://unitsofmeasure.org/ucum.html) standard:
+ ///
+ /// **Basic units (UNIT)**
+ ///
+ /// * `bit` bit
+ /// * `By` byte
+ /// * `s` second
+ /// * `min` minute
+ /// * `h` hour
+ /// * `d` day
+ ///
+ /// **Prefixes (PREFIX)**
+ ///
+ /// * `k` kilo (10**3)
+ /// * `M` mega (10**6)
+ /// * `G` giga (10**9)
+ /// * `T` tera (10**12)
+ /// * `P` peta (10**15)
+ /// * `E` exa (10**18)
+ /// * `Z` zetta (10**21)
+ /// * `Y` yotta (10**24)
+ /// * `m` milli (10**-3)
+ /// * `u` micro (10**-6)
+ /// * `n` nano (10**-9)
+ /// * `p` pico (10**-12)
+ /// * `f` femto (10**-15)
+ /// * `a` atto (10**-18)
+ /// * `z` zepto (10**-21)
+ /// * `y` yocto (10**-24)
+ /// * `Ki` kibi (2**10)
+ /// * `Mi` mebi (2**20)
+ /// * `Gi` gibi (2**30)
+ /// * `Ti` tebi (2**40)
+ ///
+ /// **Grammar**
+ ///
+ /// The grammar includes the dimensionless unit `1`, such as `1/s`.
+ ///
+ /// The grammar also includes these connectors:
+ ///
+ /// * `/` division (as an infix operator, e.g. `1/s`).
+ /// * `.` multiplication (as an infix operator, e.g. `GBy.d`)
+ ///
+ /// The grammar for a unit is as follows:
+ ///
+ /// Expression = Component { "." Component } { "/" Component } ;
+ ///
+ /// Component = [ PREFIX ] UNIT [ Annotation ]
+ /// | Annotation
+ /// | "1"
+ /// ;
+ ///
+ /// Annotation = "{" NAME "}" ;
+ ///
+ /// Notes:
+ ///
+ /// * `Annotation` is just a comment if it follows a `UNIT` and is
+ /// equivalent to `1` if it is used alone. For examples,
+ /// `{requests}/s == 1/s`, `By{transmitted}/s == By/s`.
+ /// * `NAME` is a sequence of non-blank printable ASCII characters not
+ /// containing '{' or '}'.
+ core.String unit;
+
+ /// Whether the measurement is an integer, a floating-point number, etc.
+ /// Some combinations of `metric_kind` and `value_type` might not be
+ /// supported.
+ /// Possible string values are:
+ /// - "VALUE_TYPE_UNSPECIFIED" : Do not use this default value.
+ /// - "BOOL" : The value is a boolean.
+ /// This value type can be used only if the metric kind is `GAUGE`.
+ /// - "INT64" : The value is a signed 64-bit integer.
+ /// - "DOUBLE" : The value is a double precision floating point number.
+ /// - "STRING" : The value is a text string.
+ /// This value type can be used only if the metric kind is `GAUGE`.
+ /// - "DISTRIBUTION" : The value is a `Distribution`.
+ /// - "MONEY" : The value is money.
+ core.String valueType;
+
+ MetricDescriptor();
+
+ MetricDescriptor.fromJson(core.Map _json) {
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("displayName")) {
+ displayName = _json["displayName"];
+ }
+ if (_json.containsKey("labels")) {
+ labels = _json["labels"]
+ .map((value) => new LabelDescriptor.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("metricKind")) {
+ metricKind = _json["metricKind"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("type")) {
+ type = _json["type"];
+ }
+ if (_json.containsKey("unit")) {
+ unit = _json["unit"];
+ }
+ if (_json.containsKey("valueType")) {
+ valueType = _json["valueType"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (displayName != null) {
+ _json["displayName"] = displayName;
+ }
+ if (labels != null) {
+ _json["labels"] = labels.map((value) => (value).toJson()).toList();
+ }
+ if (metricKind != null) {
+ _json["metricKind"] = metricKind;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (type != null) {
+ _json["type"] = type;
+ }
+ if (unit != null) {
+ _json["unit"] = unit;
+ }
+ if (valueType != null) {
+ _json["valueType"] = valueType;
+ }
+ return _json;
+ }
+}
+
+/// Bind API methods to metrics. Binding a method to a metric causes that
+/// metric's configured quota behaviors to apply to the method call.
+class MetricRule {
+ /// Metrics to update when the selected methods are called, and the associated
+ /// cost applied to each metric.
+ ///
+ /// The key of the map is the metric name, and the values are the amount
+ /// increased for the metric against which the quota limits are defined.
+ /// The value must not be negative.
+ core.Map<core.String, core.String> metricCosts;
+
+ /// Selects the methods to which this rule applies.
+ ///
+ /// Refer to selector for syntax details.
+ core.String selector;
+
+ MetricRule();
+
+ MetricRule.fromJson(core.Map _json) {
+ if (_json.containsKey("metricCosts")) {
+ metricCosts = _json["metricCosts"];
+ }
+ if (_json.containsKey("selector")) {
+ selector = _json["selector"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (metricCosts != null) {
+ _json["metricCosts"] = metricCosts;
+ }
+ if (selector != null) {
+ _json["selector"] = selector;
+ }
+ return _json;
+ }
+}
+
+/// Declares an API Interface to be included in this interface. The including
+/// interface must redeclare all the methods from the included interface, but
+/// documentation and options are inherited as follows:
+///
+/// - If after comment and whitespace stripping, the documentation
+/// string of the redeclared method is empty, it will be inherited
+/// from the original method.
+///
+/// - Each annotation belonging to the service config (http,
+/// visibility) which is not set in the redeclared method will be
+/// inherited.
+///
+/// - If an http annotation is inherited, the path pattern will be
+/// modified as follows. Any version prefix will be replaced by the
+/// version of the including interface plus the root path if
+/// specified.
+///
+/// Example of a simple mixin:
+///
+/// package google.acl.v1;
+/// service AccessControl {
+/// // Get the underlying ACL object.
+/// rpc GetAcl(GetAclRequest) returns (Acl) {
+/// option (google.api.http).get = "/v1/{resource=**}:getAcl";
+/// }
+/// }
+///
+/// package google.storage.v2;
+/// service Storage {
+/// // rpc GetAcl(GetAclRequest) returns (Acl);
+///
+/// // Get a data record.
+/// rpc GetData(GetDataRequest) returns (Data) {
+/// option (google.api.http).get = "/v2/{resource=**}";
+/// }
+/// }
+///
+/// Example of a mixin configuration:
+///
+/// apis:
+/// - name: google.storage.v2.Storage
+/// mixins:
+/// - name: google.acl.v1.AccessControl
+///
+/// The mixin construct implies that all methods in `AccessControl` are
+/// also declared with same name and request/response types in
+/// `Storage`. A documentation generator or annotation processor will
+/// see the effective `Storage.GetAcl` method after inherting
+/// documentation and annotations as follows:
+///
+/// service Storage {
+/// // Get the underlying ACL object.
+/// rpc GetAcl(GetAclRequest) returns (Acl) {
+/// option (google.api.http).get = "/v2/{resource=**}:getAcl";
+/// }
+/// ...
+/// }
+///
+/// Note how the version in the path pattern changed from `v1` to `v2`.
+///
+/// If the `root` field in the mixin is specified, it should be a
+/// relative path under which inherited HTTP paths are placed. Example:
+///
+/// apis:
+/// - name: google.storage.v2.Storage
+/// mixins:
+/// - name: google.acl.v1.AccessControl
+/// root: acls
+///
+/// This implies the following inherited HTTP annotation:
+///
+/// service Storage {
+/// // Get the underlying ACL object.
+/// rpc GetAcl(GetAclRequest) returns (Acl) {
+/// option (google.api.http).get = "/v2/acls/{resource=**}:getAcl";
+/// }
+/// ...
+/// }
+class Mixin {
+ /// The fully qualified name of the interface which is included.
+ core.String name;
+
+ /// If non-empty specifies a path under which inherited HTTP paths
+ /// are rooted.
+ core.String root;
+
+ Mixin();
+
+ Mixin.fromJson(core.Map _json) {
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("root")) {
+ root = _json["root"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (root != null) {
+ _json["root"] = root;
+ }
+ return _json;
+ }
+}
+
+/// An object that describes the schema of a MonitoredResource object using a
+/// type name and a set of labels. For example, the monitored resource
+/// descriptor for Google Compute Engine VM instances has a type of
+/// `"gce_instance"` and specifies the use of the labels `"instance_id"` and
+/// `"zone"` to identify particular VM instances.
+///
+/// Different APIs can support different monitored resource types. APIs
+/// generally
+/// provide a `list` method that returns the monitored resource descriptors used
+/// by the API.
+class MonitoredResourceDescriptor {
+ /// Optional. A detailed description of the monitored resource type that might
+ /// be used in documentation.
+ core.String description;
+
+ /// Optional. A concise name for the monitored resource type that might be
+ /// displayed in user interfaces. It should be a Title Cased Noun Phrase,
+ /// without any article or other determiners. For example,
+ /// `"Google Cloud SQL Database"`.
+ core.String displayName;
+
+ /// Required. A set of labels used to describe instances of this monitored
+ /// resource type. For example, an individual Google Cloud SQL database is
+ /// identified by values for the labels `"database_id"` and `"zone"`.
+ core.List<LabelDescriptor> labels;
+
+ /// Optional. The resource name of the monitored resource descriptor:
+ /// `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where
+ /// {type} is the value of the `type` field in this object and
+ /// {project_id} is a project ID that provides API-specific context for
+ /// accessing the type. APIs that do not use project information can use the
+ /// resource name format `"monitoredResourceDescriptors/{type}"`.
+ core.String name;
+
+ /// Required. The monitored resource type. For example, the type
+ /// `"cloudsql_database"` represents databases in Google Cloud SQL.
+ /// The maximum length of this value is 256 characters.
+ core.String type;
+
+ MonitoredResourceDescriptor();
+
+ MonitoredResourceDescriptor.fromJson(core.Map _json) {
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("displayName")) {
+ displayName = _json["displayName"];
+ }
+ if (_json.containsKey("labels")) {
+ labels = _json["labels"]
+ .map((value) => new LabelDescriptor.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("type")) {
+ type = _json["type"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (displayName != null) {
+ _json["displayName"] = displayName;
+ }
+ if (labels != null) {
+ _json["labels"] = labels.map((value) => (value).toJson()).toList();
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (type != null) {
+ _json["type"] = type;
+ }
+ return _json;
+ }
+}
+
+/// Monitoring configuration of the service.
+///
+/// The example below shows how to configure monitored resources and metrics
+/// for monitoring. In the example, a monitored resource and two metrics are
+/// defined. The `library.googleapis.com/book/returned_count` metric is sent
+/// to both producer and consumer projects, whereas the
+/// `library.googleapis.com/book/overdue_count` metric is only sent to the
+/// consumer project.
+///
+/// monitored_resources:
+/// - type: library.googleapis.com/branch
+/// labels:
+/// - key: /city
+/// description: The city where the library branch is located in.
+/// - key: /name
+/// description: The name of the branch.
+/// metrics:
+/// - name: library.googleapis.com/book/returned_count
+/// metric_kind: DELTA
+/// value_type: INT64
+/// labels:
+/// - key: /customer_id
+/// - name: library.googleapis.com/book/overdue_count
+/// metric_kind: GAUGE
+/// value_type: INT64
+/// labels:
+/// - key: /customer_id
+/// monitoring:
+/// producer_destinations:
+/// - monitored_resource: library.googleapis.com/branch
+/// metrics:
+/// - library.googleapis.com/book/returned_count
+/// consumer_destinations:
+/// - monitored_resource: library.googleapis.com/branch
+/// metrics:
+/// - library.googleapis.com/book/returned_count
+/// - library.googleapis.com/book/overdue_count
+class Monitoring {
+ /// Monitoring configurations for sending metrics to the consumer project.
+ /// There can be multiple consumer destinations, each one must have a
+ /// different monitored resource type. A metric can be used in at most
+ /// one consumer destination.
+ core.List<MonitoringDestination> consumerDestinations;
+
+ /// Monitoring configurations for sending metrics to the producer project.
+ /// There can be multiple producer destinations, each one must have a
+ /// different monitored resource type. A metric can be used in at most
+ /// one producer destination.
+ core.List<MonitoringDestination> producerDestinations;
+
+ Monitoring();
+
+ Monitoring.fromJson(core.Map _json) {
+ if (_json.containsKey("consumerDestinations")) {
+ consumerDestinations = _json["consumerDestinations"]
+ .map((value) => new MonitoringDestination.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("producerDestinations")) {
+ producerDestinations = _json["producerDestinations"]
+ .map((value) => new MonitoringDestination.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 (consumerDestinations != null) {
+ _json["consumerDestinations"] =
+ consumerDestinations.map((value) => (value).toJson()).toList();
+ }
+ if (producerDestinations != null) {
+ _json["producerDestinations"] =
+ producerDestinations.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/// Configuration of a specific monitoring destination (the producer project
+/// or the consumer project).
+class MonitoringDestination {
+ /// Names of the metrics to report to this monitoring destination.
+ /// Each name must be defined in Service.metrics section.
+ core.List<core.String> metrics;
+
+ /// The monitored resource type. The type must be defined in
+ /// Service.monitored_resources section.
+ core.String monitoredResource;
+
+ MonitoringDestination();
+
+ MonitoringDestination.fromJson(core.Map _json) {
+ if (_json.containsKey("metrics")) {
+ metrics = _json["metrics"];
+ }
+ if (_json.containsKey("monitoredResource")) {
+ monitoredResource = _json["monitoredResource"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (metrics != null) {
+ _json["metrics"] = metrics;
+ }
+ if (monitoredResource != null) {
+ _json["monitoredResource"] = monitoredResource;
+ }
+ return _json;
+ }
+}
+
+/// OAuth scopes are a way to define data and permissions on data. For example,
+/// there are scopes defined for "Read-only access to Google Calendar" and
+/// "Access to Cloud Platform". Users can consent to a scope for an application,
+/// giving it permission to access that data on their behalf.
+///
+/// OAuth scope specifications should be fairly coarse grained; a user will need
+/// to see and understand the text description of what your scope means.
+///
+/// In most cases: use one or at most two OAuth scopes for an entire family of
+/// products. If your product has multiple APIs, you should probably be sharing
+/// the OAuth scope across all of those APIs.
+///
+/// When you need finer grained OAuth consent screens: talk with your product
+/// management about how developers will use them in practice.
+///
+/// Please note that even though each of the canonical scopes is enough for a
+/// request to be accepted and passed to the backend, a request can still fail
+/// due to the backend requiring additional scopes or permissions.
+class OAuthRequirements {
+ /// The list of publicly documented OAuth scopes that are allowed access. An
+ /// OAuth token containing any of these scopes will be accepted.
+ ///
+ /// Example:
+ ///
+ /// canonical_scopes: https://www.googleapis.com/auth/calendar,
+ /// https://www.googleapis.com/auth/calendar.read
+ core.String canonicalScopes;
+
+ OAuthRequirements();
+
+ OAuthRequirements.fromJson(core.Map _json) {
+ if (_json.containsKey("canonicalScopes")) {
+ canonicalScopes = _json["canonicalScopes"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (canonicalScopes != null) {
+ _json["canonicalScopes"] = canonicalScopes;
+ }
+ return _json;
+ }
+}
+
+/// This resource represents a long-running operation that is the result of a
+/// network API call.
+class Operation {
+ /// If the value is `false`, it means the operation is still in progress.
+ /// If `true`, the operation is completed, and either `error` or `response` is
+ /// available.
+ core.bool done;
+
+ /// The error result of the operation in case of failure or cancellation.
+ Status error;
+
+ /// Service-specific metadata associated with the operation. It typically
+ /// contains progress information and common metadata such as create time.
+ /// Some services might not provide such metadata. Any method that returns a
+ /// long-running operation should document the metadata type, if any.
+ ///
+ /// The values for Object must be JSON objects. It can consist of `num`,
+ /// `String`, `bool` and `null` as well as `Map` and `List` values.
+ core.Map<core.String, core.Object> metadata;
+
+ /// The server-assigned name, which is only unique within the same service
+ /// that
+ /// originally returns it. If you use the default HTTP mapping, the
+ /// `name` should have the format of `operations/some/unique/name`.
+ core.String name;
+
+ /// The normal response of the operation in case of success. If the original
+ /// method returns no data on success, such as `Delete`, the response is
+ /// `google.protobuf.Empty`. If the original method is standard
+ /// `Get`/`Create`/`Update`, the response should be the resource. For other
+ /// methods, the response should have the type `XxxResponse`, where `Xxx`
+ /// is the original method name. For example, if the original method name
+ /// is `TakeSnapshot()`, the inferred response type is
+ /// `TakeSnapshotResponse`.
+ ///
+ /// The values for Object must be JSON objects. It can consist of `num`,
+ /// `String`, `bool` and `null` as well as `Map` and `List` values.
+ core.Map<core.String, core.Object> response;
+
+ Operation();
+
+ Operation.fromJson(core.Map _json) {
+ if (_json.containsKey("done")) {
+ done = _json["done"];
+ }
+ if (_json.containsKey("error")) {
+ error = new Status.fromJson(_json["error"]);
+ }
+ if (_json.containsKey("metadata")) {
+ metadata = _json["metadata"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("response")) {
+ response = _json["response"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (done != null) {
+ _json["done"] = done;
+ }
+ if (error != null) {
+ _json["error"] = (error).toJson();
+ }
+ if (metadata != null) {
+ _json["metadata"] = metadata;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (response != null) {
+ _json["response"] = response;
+ }
+ return _json;
+ }
+}
+
+/// A protocol buffer option, which can be attached to a message, field,
+/// enumeration, etc.
+class Option {
+ /// The option's name. For protobuf built-in options (options defined in
+ /// descriptor.proto), this is the short name. For example, `"map_entry"`.
+ /// For custom options, it should be the fully-qualified name. For example,
+ /// `"google.api.http"`.
+ core.String name;
+
+ /// The option's value packed in an Any message. If the value is a primitive,
+ /// the corresponding wrapper type defined in google/protobuf/wrappers.proto
+ /// should be used. If the value is an enum, it should be stored as an int32
+ /// value using the google.protobuf.Int32Value type.
+ ///
+ /// The values for Object must be JSON objects. It can consist of `num`,
+ /// `String`, `bool` and `null` as well as `Map` and `List` values.
+ core.Map<core.String, core.Object> value;
+
+ Option();
+
+ Option.fromJson(core.Map _json) {
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("value")) {
+ value = _json["value"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (value != null) {
+ _json["value"] = value;
+ }
+ return _json;
+ }
+}
+
+/// Represents a documentation page. A page can contain subpages to represent
+/// nested documentation set structure.
+class Page {
+ /// The Markdown content of the page. You can use <code>(== include {path}
+ /// ==)</code>
+ /// to include content from a Markdown file.
+ core.String content;
+
+ /// The name of the page. It will be used as an identity of the page to
+ /// generate URI of the page, text of the link to this page in navigation,
+ /// etc. The full page name (start from the root page name to this page
+ /// concatenated with `.`) can be used as reference to the page in your
+ /// documentation. For example:
+ /// <pre><code>pages:
+ /// - name: Tutorial
+ /// content: (== include tutorial.md ==)
+ /// subpages:
+ /// - name: Java
+ /// content: (== include tutorial_java.md ==)
+ /// </code></pre>
+ /// You can reference `Java` page using Markdown reference link syntax:
+ /// `Java`.
+ core.String name;
+
+ /// Subpages of this page. The order of subpages specified here will be
+ /// honored in the generated docset.
+ core.List<Page> subpages;
+
+ Page();
+
+ Page.fromJson(core.Map _json) {
+ if (_json.containsKey("content")) {
+ content = _json["content"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("subpages")) {
+ subpages =
+ _json["subpages"].map((value) => new Page.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 (content != null) {
+ _json["content"] = content;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (subpages != null) {
+ _json["subpages"] = subpages.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/// Translates to IAM Policy bindings (without auditing at this level)
+class PolicyBinding {
+ /// Uses the same format as in IAM policy.
+ /// `member` must include both prefix and id. E.g., `user:{emailId}`,
+ /// `serviceAccount:{emailId}`, `group:{emailId}`.
+ core.List<core.String> members;
+
+ /// Role. (https://cloud.google.com/iam/docs/understanding-roles)
+ /// For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
+ core.String role;
+
+ PolicyBinding();
+
+ PolicyBinding.fromJson(core.Map _json) {
+ if (_json.containsKey("members")) {
+ members = _json["members"];
+ }
+ if (_json.containsKey("role")) {
+ role = _json["role"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (members != null) {
+ _json["members"] = members;
+ }
+ if (role != null) {
+ _json["role"] = role;
+ }
+ return _json;
+ }
+}
+
+/// Quota configuration helps to achieve fairness and budgeting in service
+/// usage.
+///
+/// The quota configuration works this way:
+/// - The service configuration defines a set of metrics.
+/// - For API calls, the quota.metric_rules maps methods to metrics with
+/// corresponding costs.
+/// - The quota.limits defines limits on the metrics, which will be used for
+/// quota checks at runtime.
+///
+/// An example quota configuration in yaml format:
+///
+/// quota:
+///
+/// - name: apiWriteQpsPerProject
+/// metric: library.googleapis.com/write_calls
+/// unit: "1/min/{project}" # rate limit for consumer projects
+/// values:
+/// STANDARD: 10000
+///
+///
+/// # The metric rules bind all methods to the read_calls metric,
+/// # except for the UpdateBook and DeleteBook methods. These two methods
+/// # are mapped to the write_calls metric, with the UpdateBook method
+/// # consuming at twice rate as the DeleteBook method.
+/// metric_rules:
+/// - selector: "*"
+/// metric_costs:
+/// library.googleapis.com/read_calls: 1
+/// - selector: google.example.library.v1.LibraryService.UpdateBook
+/// metric_costs:
+/// library.googleapis.com/write_calls: 2
+/// - selector: google.example.library.v1.LibraryService.DeleteBook
+/// metric_costs:
+/// library.googleapis.com/write_calls: 1
+///
+/// Corresponding Metric definition:
+///
+/// metrics:
+/// - name: library.googleapis.com/read_calls
+/// display_name: Read requests
+/// metric_kind: DELTA
+/// value_type: INT64
+///
+/// - name: library.googleapis.com/write_calls
+/// display_name: Write requests
+/// metric_kind: DELTA
+/// value_type: INT64
+class Quota {
+ /// List of `QuotaLimit` definitions for the service.
+ core.List<QuotaLimit> limits;
+
+ /// List of `MetricRule` definitions, each one mapping a selected method to
+ /// one
+ /// or more metrics.
+ core.List<MetricRule> metricRules;
+
+ Quota();
+
+ Quota.fromJson(core.Map _json) {
+ if (_json.containsKey("limits")) {
+ limits = _json["limits"]
+ .map((value) => new QuotaLimit.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("metricRules")) {
+ metricRules = _json["metricRules"]
+ .map((value) => new MetricRule.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 (limits != null) {
+ _json["limits"] = limits.map((value) => (value).toJson()).toList();
+ }
+ if (metricRules != null) {
+ _json["metricRules"] =
+ metricRules.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/// `QuotaLimit` defines a specific limit that applies over a specified duration
+/// for a limit type. There can be at most one limit for a duration and limit
+/// type combination defined within a `QuotaGroup`.
+class QuotaLimit {
+ /// Default number of tokens that can be consumed during the specified
+ /// duration. This is the number of tokens assigned when a client
+ /// application developer activates the service for his/her project.
+ ///
+ /// Specifying a value of 0 will block all requests. This can be used if you
+ /// are provisioning quota to selected consumers and blocking others.
+ /// Similarly, a value of -1 will indicate an unlimited quota. No other
+ /// negative values are allowed.
+ ///
+ /// Used by group-based quotas only.
+ core.String defaultLimit;
+
+ /// Optional. User-visible, extended description for this quota limit.
+ /// Should be used only when more context is needed to understand this limit
+ /// than provided by the limit's display name (see: `display_name`).
+ core.String description;
+
+ /// User-visible display name for this limit.
+ /// Optional. If not set, the UI will provide a default display name based on
+ /// the quota configuration. This field can be used to override the default
+ /// display name generated from the configuration.
+ core.String displayName;
+
+ /// Duration of this limit in textual notation. Example: "100s", "24h", "1d".
+ /// For duration longer than a day, only multiple of days is supported. We
+ /// support only "100s" and "1d" for now. Additional support will be added in
+ /// the future. "0" indicates indefinite duration.
+ ///
+ /// Used by group-based quotas only.
+ core.String duration;
+
+ /// Free tier value displayed in the Developers Console for this limit.
+ /// The free tier is the number of tokens that will be subtracted from the
+ /// billed amount when billing is enabled.
+ /// This field can only be set on a limit with duration "1d", in a billable
+ /// group; it is invalid on any other limit. If this field is not set, it
+ /// defaults to 0, indicating that there is no free tier for this service.
+ ///
+ /// Used by group-based quotas only.
+ core.String freeTier;
+
+ /// Maximum number of tokens that can be consumed during the specified
+ /// duration. Client application developers can override the default limit up
+ /// to this maximum. If specified, this value cannot be set to a value less
+ /// than the default limit. If not specified, it is set to the default limit.
+ ///
+ /// To allow clients to apply overrides with no upper bound, set this to -1,
+ /// indicating unlimited maximum quota.
+ ///
+ /// Used by group-based quotas only.
+ core.String maxLimit;
+
+ /// The name of the metric this quota limit applies to. The quota limits with
+ /// the same metric will be checked together during runtime. The metric must
+ /// be
+ /// defined within the service config.
+ core.String metric;
+
+ /// Name of the quota limit.
+ ///
+ /// The name must be provided, and it must be unique within the service. The
+ /// name can only include alphanumeric characters as well as '-'.
+ ///
+ /// The maximum length of the limit name is 64 characters.
+ core.String name;
+
+ /// Specify the unit of the quota limit. It uses the same syntax as
+ /// Metric.unit. The supported unit kinds are determined by the quota
+ /// backend system.
+ ///
+ /// Here are some examples:
+ /// * "1/min/{project}" for quota per minute per project.
+ ///
+ /// Note: the order of unit components is insignificant.
+ /// The "1" at the beginning is required to follow the metric unit syntax.
+ core.String unit;
+
+ /// Tiered limit values. You must specify this as a key:value pair, with an
+ /// integer value that is the maximum number of requests allowed for the
+ /// specified unit. Currently only STANDARD is supported.
+ core.Map<core.String, core.String> values;
+
+ QuotaLimit();
+
+ QuotaLimit.fromJson(core.Map _json) {
+ if (_json.containsKey("defaultLimit")) {
+ defaultLimit = _json["defaultLimit"];
+ }
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("displayName")) {
+ displayName = _json["displayName"];
+ }
+ if (_json.containsKey("duration")) {
+ duration = _json["duration"];
+ }
+ if (_json.containsKey("freeTier")) {
+ freeTier = _json["freeTier"];
+ }
+ if (_json.containsKey("maxLimit")) {
+ maxLimit = _json["maxLimit"];
+ }
+ if (_json.containsKey("metric")) {
+ metric = _json["metric"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("unit")) {
+ unit = _json["unit"];
+ }
+ if (_json.containsKey("values")) {
+ values = _json["values"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (defaultLimit != null) {
+ _json["defaultLimit"] = defaultLimit;
+ }
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (displayName != null) {
+ _json["displayName"] = displayName;
+ }
+ if (duration != null) {
+ _json["duration"] = duration;
+ }
+ if (freeTier != null) {
+ _json["freeTier"] = freeTier;
+ }
+ if (maxLimit != null) {
+ _json["maxLimit"] = maxLimit;
+ }
+ if (metric != null) {
+ _json["metric"] = metric;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (unit != null) {
+ _json["unit"] = unit;
+ }
+ if (values != null) {
+ _json["values"] = values;
+ }
+ return _json;
+ }
+}
+
+/// Request message to remove tenant project resource from the tenancy unit.
+class RemoveTenantProjectRequest {
+ /// Tag of the resource within the tenancy unit.
+ core.String tag;
+
+ RemoveTenantProjectRequest();
+
+ RemoveTenantProjectRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("tag")) {
+ tag = _json["tag"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (tag != null) {
+ _json["tag"] = tag;
+ }
+ return _json;
+ }
+}
+
+/// Response for the search query.
+class SearchTenancyUnitsResponse {
+ /// Pagination token for large results.
+ core.String nextPageToken;
+
+ /// Tenancy Units matching the request.
+ core.List<TenancyUnit> tenancyUnits;
+
+ SearchTenancyUnitsResponse();
+
+ SearchTenancyUnitsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("tenancyUnits")) {
+ tenancyUnits = _json["tenancyUnits"]
+ .map((value) => new TenancyUnit.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 (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ if (tenancyUnits != null) {
+ _json["tenancyUnits"] =
+ tenancyUnits.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/// `Service` is the root object of Google service configuration schema. It
+/// describes basic information about a service, such as the name and the
+/// title, and delegates other aspects to sub-sections. Each sub-section is
+/// either a proto message or a repeated proto message that configures a
+/// specific aspect, such as auth. See each proto message definition for
+/// details.
+///
+/// Example:
+///
+/// type: google.api.Service
+/// config_version: 3
+/// name: calendar.googleapis.com
+/// title: Google Calendar API
+/// apis:
+/// - name: google.calendar.v3.Calendar
+/// authentication:
+/// providers:
+/// - id: google_calendar_auth
+/// jwks_uri: https://www.googleapis.com/oauth2/v1/certs
+/// issuer: https://securetoken.google.com
+/// rules:
+/// - selector: "*"
+/// requirements:
+/// provider_id: google_calendar_auth
+class Service {
+ /// A list of API interfaces exported by this service. Only the `name` field
+ /// of the google.protobuf.Api needs to be provided by the configuration
+ /// author, as the remaining fields will be derived from the IDL during the
+ /// normalization process. It is an error to specify an API interface here
+ /// which cannot be resolved against the associated IDL files.
+ core.List<Api> apis;
+
+ /// Auth configuration.
+ Authentication authentication;
+
+ /// API backend configuration.
+ Backend backend;
+
+ /// Billing configuration.
+ Billing billing;
+
+ /// The semantic version of the service configuration. The config version
+ /// affects the interpretation of the service configuration. For example,
+ /// certain features are enabled by default for certain config versions.
+ /// The latest config version is `3`.
+ core.int configVersion;
+
+ /// Context configuration.
+ Context context;
+
+ /// Configuration for the service control plane.
+ Control control;
+
+ /// Custom error configuration.
+ CustomError customError;
+
+ /// Additional API documentation.
+ Documentation documentation;
+
+ /// Configuration for network endpoints. If this is empty, then an endpoint
+ /// with the same name as the service is automatically generated to service
+ /// all
+ /// defined APIs.
+ core.List<Endpoint> endpoints;
+
+ /// A list of all enum types included in this API service. Enums
+ /// referenced directly or indirectly by the `apis` are automatically
+ /// included. Enums which are not referenced but shall be included
+ /// should be listed here by name. Example:
+ ///
+ /// enums:
+ /// - name: google.someapi.v1.SomeEnum
+ core.List<Enum> enums;
+
+ /// Experimental configuration.
+ Experimental experimental;
+
+ /// HTTP configuration.
+ Http http;
+
+ /// A unique ID for a specific instance of this message, typically assigned
+ /// by the client for tracking purpose. If empty, the server may choose to
+ /// generate one instead.
+ core.String id;
+
+ /// Logging configuration.
+ Logging logging;
+
+ /// Defines the logs used by this service.
+ core.List<LogDescriptor> logs;
+
+ /// Defines the metrics used by this service.
+ core.List<MetricDescriptor> metrics;
+
+ /// Defines the monitored resources used by this service. This is required
+ /// by the Service.monitoring and Service.logging configurations.
+ core.List<MonitoredResourceDescriptor> monitoredResources;
+
+ /// Monitoring configuration.
+ Monitoring monitoring;
+
+ /// The DNS address at which this service is available,
+ /// e.g. `calendar.googleapis.com`.
+ core.String name;
+
+ /// The Google project that owns this service.
+ core.String producerProjectId;
+
+ /// Quota configuration.
+ Quota quota;
+
+ /// Output only. The source information for this configuration if available.
+ SourceInfo sourceInfo;
+
+ /// System parameter configuration.
+ SystemParameters systemParameters;
+
+ /// A list of all proto message types included in this API service.
+ /// It serves similar purpose as [google.api.Service.types], except that
+ /// these types are not needed by user-defined APIs. Therefore, they will not
+ /// show up in the generated discovery doc. This field should only be used
+ /// to define system APIs in ESF.
+ core.List<Type> systemTypes;
+
+ /// The product title for this service.
+ core.String title;
+
+ /// A list of all proto message types included in this API service.
+ /// Types referenced directly or indirectly by the `apis` are
+ /// automatically included. Messages which are not referenced but
+ /// shall be included, such as types used by the `google.protobuf.Any` type,
+ /// should be listed here by name. Example:
+ ///
+ /// types:
+ /// - name: google.protobuf.Int32
+ core.List<Type> types;
+
+ /// Configuration controlling usage of this service.
+ Usage usage;
+
+ /// API visibility configuration.
+ Visibility visibility;
+
+ Service();
+
+ Service.fromJson(core.Map _json) {
+ if (_json.containsKey("apis")) {
+ apis = _json["apis"].map((value) => new Api.fromJson(value)).toList();
+ }
+ if (_json.containsKey("authentication")) {
+ authentication = new Authentication.fromJson(_json["authentication"]);
+ }
+ if (_json.containsKey("backend")) {
+ backend = new Backend.fromJson(_json["backend"]);
+ }
+ if (_json.containsKey("billing")) {
+ billing = new Billing.fromJson(_json["billing"]);
+ }
+ if (_json.containsKey("configVersion")) {
+ configVersion = _json["configVersion"];
+ }
+ if (_json.containsKey("context")) {
+ context = new Context.fromJson(_json["context"]);
+ }
+ if (_json.containsKey("control")) {
+ control = new Control.fromJson(_json["control"]);
+ }
+ if (_json.containsKey("customError")) {
+ customError = new CustomError.fromJson(_json["customError"]);
+ }
+ if (_json.containsKey("documentation")) {
+ documentation = new Documentation.fromJson(_json["documentation"]);
+ }
+ if (_json.containsKey("endpoints")) {
+ endpoints = _json["endpoints"]
+ .map((value) => new Endpoint.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("enums")) {
+ enums = _json["enums"].map((value) => new Enum.fromJson(value)).toList();
+ }
+ if (_json.containsKey("experimental")) {
+ experimental = new Experimental.fromJson(_json["experimental"]);
+ }
+ if (_json.containsKey("http")) {
+ http = new Http.fromJson(_json["http"]);
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("logging")) {
+ logging = new Logging.fromJson(_json["logging"]);
+ }
+ if (_json.containsKey("logs")) {
+ logs = _json["logs"]
+ .map((value) => new LogDescriptor.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("metrics")) {
+ metrics = _json["metrics"]
+ .map((value) => new MetricDescriptor.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("monitoredResources")) {
+ monitoredResources = _json["monitoredResources"]
+ .map((value) => new MonitoredResourceDescriptor.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("monitoring")) {
+ monitoring = new Monitoring.fromJson(_json["monitoring"]);
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("producerProjectId")) {
+ producerProjectId = _json["producerProjectId"];
+ }
+ if (_json.containsKey("quota")) {
+ quota = new Quota.fromJson(_json["quota"]);
+ }
+ if (_json.containsKey("sourceInfo")) {
+ sourceInfo = new SourceInfo.fromJson(_json["sourceInfo"]);
+ }
+ if (_json.containsKey("systemParameters")) {
+ systemParameters =
+ new SystemParameters.fromJson(_json["systemParameters"]);
+ }
+ if (_json.containsKey("systemTypes")) {
+ systemTypes = _json["systemTypes"]
+ .map((value) => new Type.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("title")) {
+ title = _json["title"];
+ }
+ if (_json.containsKey("types")) {
+ types = _json["types"].map((value) => new Type.fromJson(value)).toList();
+ }
+ if (_json.containsKey("usage")) {
+ usage = new Usage.fromJson(_json["usage"]);
+ }
+ if (_json.containsKey("visibility")) {
+ visibility = new Visibility.fromJson(_json["visibility"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (apis != null) {
+ _json["apis"] = apis.map((value) => (value).toJson()).toList();
+ }
+ if (authentication != null) {
+ _json["authentication"] = (authentication).toJson();
+ }
+ if (backend != null) {
+ _json["backend"] = (backend).toJson();
+ }
+ if (billing != null) {
+ _json["billing"] = (billing).toJson();
+ }
+ if (configVersion != null) {
+ _json["configVersion"] = configVersion;
+ }
+ if (context != null) {
+ _json["context"] = (context).toJson();
+ }
+ if (control != null) {
+ _json["control"] = (control).toJson();
+ }
+ if (customError != null) {
+ _json["customError"] = (customError).toJson();
+ }
+ if (documentation != null) {
+ _json["documentation"] = (documentation).toJson();
+ }
+ if (endpoints != null) {
+ _json["endpoints"] = endpoints.map((value) => (value).toJson()).toList();
+ }
+ if (enums != null) {
+ _json["enums"] = enums.map((value) => (value).toJson()).toList();
+ }
+ if (experimental != null) {
+ _json["experimental"] = (experimental).toJson();
+ }
+ if (http != null) {
+ _json["http"] = (http).toJson();
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (logging != null) {
+ _json["logging"] = (logging).toJson();
+ }
+ if (logs != null) {
+ _json["logs"] = logs.map((value) => (value).toJson()).toList();
+ }
+ if (metrics != null) {
+ _json["metrics"] = metrics.map((value) => (value).toJson()).toList();
+ }
+ if (monitoredResources != null) {
+ _json["monitoredResources"] =
+ monitoredResources.map((value) => (value).toJson()).toList();
+ }
+ if (monitoring != null) {
+ _json["monitoring"] = (monitoring).toJson();
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (producerProjectId != null) {
+ _json["producerProjectId"] = producerProjectId;
+ }
+ if (quota != null) {
+ _json["quota"] = (quota).toJson();
+ }
+ if (sourceInfo != null) {
+ _json["sourceInfo"] = (sourceInfo).toJson();
+ }
+ if (systemParameters != null) {
+ _json["systemParameters"] = (systemParameters).toJson();
+ }
+ if (systemTypes != null) {
+ _json["systemTypes"] =
+ systemTypes.map((value) => (value).toJson()).toList();
+ }
+ if (title != null) {
+ _json["title"] = title;
+ }
+ if (types != null) {
+ _json["types"] = types.map((value) => (value).toJson()).toList();
+ }
+ if (usage != null) {
+ _json["usage"] = (usage).toJson();
+ }
+ if (visibility != null) {
+ _json["visibility"] = (visibility).toJson();
+ }
+ return _json;
+ }
+}
+
+/// Describes service account configuration for the tenant project.
+class ServiceAccountConfig {
+ /// ID of the IAM service account to be created in tenant project.
+ /// The email format of the service account will be
+ /// "<account-id>@<tenant-project-id>.iam.gserviceaccount.com".
+ /// This account id has to be unique within tenant project and producers
+ /// have to guarantee it.
+ core.String accountId;
+
+ /// Roles for the service account above on tenant project.
+ core.List<core.String> tenantProjectRoles;
+
+ ServiceAccountConfig();
+
+ ServiceAccountConfig.fromJson(core.Map _json) {
+ if (_json.containsKey("accountId")) {
+ accountId = _json["accountId"];
+ }
+ if (_json.containsKey("tenantProjectRoles")) {
+ tenantProjectRoles = _json["tenantProjectRoles"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (accountId != null) {
+ _json["accountId"] = accountId;
+ }
+ if (tenantProjectRoles != null) {
+ _json["tenantProjectRoles"] = tenantProjectRoles;
+ }
+ return _json;
+ }
+}
+
+/// `SourceContext` represents information about the source of a
+/// protobuf element, like the file in which it is defined.
+class SourceContext {
+ /// The path-qualified name of the .proto file that contained the associated
+ /// protobuf element. For example: `"google/protobuf/source_context.proto"`.
+ core.String fileName;
+
+ SourceContext();
+
+ SourceContext.fromJson(core.Map _json) {
+ if (_json.containsKey("fileName")) {
+ fileName = _json["fileName"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (fileName != null) {
+ _json["fileName"] = fileName;
+ }
+ return _json;
+ }
+}
+
+/// Source information used to create a Service Config
+class SourceInfo {
+ /// All files used during config generation.
+ ///
+ /// The values for Object must be JSON objects. It can consist of `num`,
+ /// `String`, `bool` and `null` as well as `Map` and `List` values.
+ core.List<core.Map<core.String, core.Object>> sourceFiles;
+
+ SourceInfo();
+
+ SourceInfo.fromJson(core.Map _json) {
+ if (_json.containsKey("sourceFiles")) {
+ sourceFiles = _json["sourceFiles"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (sourceFiles != null) {
+ _json["sourceFiles"] = sourceFiles;
+ }
+ return _json;
+ }
+}
+
+/// The `Status` type defines a logical error model that is suitable for
+/// different
+/// programming environments, including REST APIs and RPC APIs. It is used by
+/// [gRPC](https://github.com/grpc). The error model is designed to be:
+///
+/// - Simple to use and understand for most users
+/// - Flexible enough to meet unexpected needs
+///
+/// # Overview
+///
+/// The `Status` message contains three pieces of data: error code, error
+/// message,
+/// and error details. The error code should be an enum value of
+/// google.rpc.Code, but it may accept additional error codes if needed. The
+/// error message should be a developer-facing English message that helps
+/// developers *understand* and *resolve* the error. If a localized user-facing
+/// error message is needed, put the localized message in the error details or
+/// localize it in the client. The optional error details may contain arbitrary
+/// information about the error. There is a predefined set of error detail types
+/// in the package `google.rpc` that can be used for common error conditions.
+///
+/// # Language mapping
+///
+/// The `Status` message is the logical representation of the error model, but
+/// it
+/// is not necessarily the actual wire format. When the `Status` message is
+/// exposed in different client libraries and different wire protocols, it can
+/// be
+/// mapped differently. For example, it will likely be mapped to some exceptions
+/// in Java, but more likely mapped to some error codes in C.
+///
+/// # Other uses
+///
+/// The error model and the `Status` message can be used in a variety of
+/// environments, either with or without APIs, to provide a
+/// consistent developer experience across different environments.
+///
+/// Example uses of this error model include:
+///
+/// - Partial errors. If a service needs to return partial errors to the client,
+/// it may embed the `Status` in the normal response to indicate the partial
+/// errors.
+///
+/// - Workflow errors. A typical workflow has multiple steps. Each step may
+/// have a `Status` message for error reporting.
+///
+/// - Batch operations. If a client uses batch request and batch response, the
+/// `Status` message should be used directly inside batch response, one for
+/// each error sub-response.
+///
+/// - Asynchronous operations. If an API call embeds asynchronous operation
+/// results in its response, the status of those operations should be
+/// represented directly using the `Status` message.
+///
+/// - Logging. If some API errors are stored in logs, the message `Status` could
+/// be used directly after any stripping needed for security/privacy reasons.
+class Status {
+ /// The status code, which should be an enum value of google.rpc.Code.
+ core.int code;
+
+ /// A list of messages that carry the error details. There is a common set of
+ /// message types for APIs to use.
+ ///
+ /// The values for Object must be JSON objects. It can consist of `num`,
+ /// `String`, `bool` and `null` as well as `Map` and `List` values.
+ core.List<core.Map<core.String, core.Object>> details;
+
+ /// A developer-facing error message, which should be in English. Any
+ /// user-facing error message should be localized and sent in the
+ /// google.rpc.Status.details field, or localized by the client.
+ core.String message;
+
+ Status();
+
+ Status.fromJson(core.Map _json) {
+ if (_json.containsKey("code")) {
+ code = _json["code"];
+ }
+ if (_json.containsKey("details")) {
+ details = _json["details"];
+ }
+ if (_json.containsKey("message")) {
+ message = _json["message"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (code != null) {
+ _json["code"] = code;
+ }
+ if (details != null) {
+ _json["details"] = details;
+ }
+ if (message != null) {
+ _json["message"] = message;
+ }
+ return _json;
+ }
+}
+
+/// Define a parameter's name and location. The parameter may be passed as
+/// either
+/// an HTTP header or a URL query parameter, and if both are passed the behavior
+/// is implementation-dependent.
+class SystemParameter {
+ /// Define the HTTP header name to use for the parameter. It is case
+ /// insensitive.
+ core.String httpHeader;
+
+ /// Define the name of the parameter, such as "api_key" . It is case
+ /// sensitive.
+ core.String name;
+
+ /// Define the URL query parameter name to use for the parameter. It is case
+ /// sensitive.
+ core.String urlQueryParameter;
+
+ SystemParameter();
+
+ SystemParameter.fromJson(core.Map _json) {
+ if (_json.containsKey("httpHeader")) {
+ httpHeader = _json["httpHeader"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("urlQueryParameter")) {
+ urlQueryParameter = _json["urlQueryParameter"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (httpHeader != null) {
+ _json["httpHeader"] = httpHeader;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (urlQueryParameter != null) {
+ _json["urlQueryParameter"] = urlQueryParameter;
+ }
+ return _json;
+ }
+}
+
+/// Define a system parameter rule mapping system parameter definitions to
+/// methods.
+class SystemParameterRule {
+ /// Define parameters. Multiple names may be defined for a parameter.
+ /// For a given method call, only one of them should be used. If multiple
+ /// names are used the behavior is implementation-dependent.
+ /// If none of the specified names are present the behavior is
+ /// parameter-dependent.
+ core.List<SystemParameter> parameters;
+
+ /// Selects the methods to which this rule applies. Use '*' to indicate all
+ /// methods in all APIs.
+ ///
+ /// Refer to selector for syntax details.
+ core.String selector;
+
+ SystemParameterRule();
+
+ SystemParameterRule.fromJson(core.Map _json) {
+ if (_json.containsKey("parameters")) {
+ parameters = _json["parameters"]
+ .map((value) => new SystemParameter.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("selector")) {
+ selector = _json["selector"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (parameters != null) {
+ _json["parameters"] =
+ parameters.map((value) => (value).toJson()).toList();
+ }
+ if (selector != null) {
+ _json["selector"] = selector;
+ }
+ return _json;
+ }
+}
+
+/// ### System parameter configuration
+///
+/// A system parameter is a special kind of parameter defined by the API
+/// system, not by an individual API. It is typically mapped to an HTTP header
+/// and/or a URL query parameter. This configuration specifies which methods
+/// change the names of the system parameters.
+class SystemParameters {
+ /// Define system parameters.
+ ///
+ /// The parameters defined here will override the default parameters
+ /// implemented by the system. If this field is missing from the service
+ /// config, default system parameters will be used. Default system parameters
+ /// and names is implementation-dependent.
+ ///
+ /// Example: define api key for all methods
+ ///
+ /// system_parameters
+ /// rules:
+ /// - selector: "*"
+ /// parameters:
+ /// - name: api_key
+ /// url_query_parameter: api_key
+ ///
+ ///
+ /// Example: define 2 api key names for a specific method.
+ ///
+ /// system_parameters
+ /// rules:
+ /// - selector: "/ListShelves"
+ /// parameters:
+ /// - name: api_key
+ /// http_header: Api-Key1
+ /// - name: api_key
+ /// http_header: Api-Key2
+ ///
+ /// **NOTE:** All service configuration rules follow "last one wins" order.
+ core.List<SystemParameterRule> rules;
+
+ SystemParameters();
+
+ SystemParameters.fromJson(core.Map _json) {
+ if (_json.containsKey("rules")) {
+ rules = _json["rules"]
+ .map((value) => new SystemParameterRule.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 (rules != null) {
+ _json["rules"] = rules.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/// Representation of a tenancy unit.
+class TenancyUnit {
+ /// @OutputOnly Cloud resource One Platform Name of the consumer of this
+ /// service. For example 'projects/123456'.
+ core.String consumer;
+
+ /// @OutputOnly The time this tenancy unit was created.
+ core.String createTime;
+
+ /// Globally unique identifier of this tenancy unit
+ /// "services/{service}/{collection id}/{resource id}/tenancyUnits/{unit}"
+ core.String name;
+
+ /// @OutputOnly Google Cloud API name of the service owning this tenancy unit.
+ /// For example 'serviceconsumermanagement.googleapis.com'.
+ core.String service;
+
+ /// Resources constituting the tenancy unit.
+ core.List<TenantResource> tenantResources;
+
+ TenancyUnit();
+
+ TenancyUnit.fromJson(core.Map _json) {
+ if (_json.containsKey("consumer")) {
+ consumer = _json["consumer"];
+ }
+ if (_json.containsKey("createTime")) {
+ createTime = _json["createTime"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("service")) {
+ service = _json["service"];
+ }
+ if (_json.containsKey("tenantResources")) {
+ tenantResources = _json["tenantResources"]
+ .map((value) => new TenantResource.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 (consumer != null) {
+ _json["consumer"] = consumer;
+ }
+ if (createTime != null) {
+ _json["createTime"] = createTime;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (service != null) {
+ _json["service"] = service;
+ }
+ if (tenantResources != null) {
+ _json["tenantResources"] =
+ tenantResources.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/// This structure defines a tenant project to be added to the specified tenancy
+/// unit and its initial configuration and properties. A project lien will be
+/// created for the tenant project to prevent the tenant project from being
+/// deleted accidentally. The lien will be deleted as part of tenant project
+/// removal.
+class TenantProjectConfig {
+ /// Billing account properties.
+ /// It may be specified explicitly, or created from the specified group
+ /// during provisioning
+ BillingConfig billingConfig;
+
+ /// Folder where project in this tenancy unit must be located
+ /// This folder must have been previously created with proper
+ /// permissions for the caller to create and configure a project in it.
+ /// Valid folder resource names have the format `folders/{folder_number}`
+ /// (for example, `folders/123456`).
+ core.String folder;
+
+ /// Labels that will be applied to this project.
+ core.Map<core.String, core.String> labels;
+
+ /// Configuration for IAM service account on tenant project.
+ ServiceAccountConfig serviceAccountConfig;
+
+ /// Google Cloud API names of services that will be activated on this project
+ /// during provisioning. If any of these services can not be activated,
+ /// addTenantProject method will fail.
+ /// For example: 'compute.googleapis.com','cloudfunctions.googleapis.com'
+ core.List<core.String> services;
+
+ /// Describes ownership and policies for the new tenant project. Required.
+ TenantProjectPolicy tenantProjectPolicy;
+
+ TenantProjectConfig();
+
+ TenantProjectConfig.fromJson(core.Map _json) {
+ if (_json.containsKey("billingConfig")) {
+ billingConfig = new BillingConfig.fromJson(_json["billingConfig"]);
+ }
+ if (_json.containsKey("folder")) {
+ folder = _json["folder"];
+ }
+ if (_json.containsKey("labels")) {
+ labels = _json["labels"];
+ }
+ if (_json.containsKey("serviceAccountConfig")) {
+ serviceAccountConfig =
+ new ServiceAccountConfig.fromJson(_json["serviceAccountConfig"]);
+ }
+ if (_json.containsKey("services")) {
+ services = _json["services"];
+ }
+ if (_json.containsKey("tenantProjectPolicy")) {
+ tenantProjectPolicy =
+ new TenantProjectPolicy.fromJson(_json["tenantProjectPolicy"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (billingConfig != null) {
+ _json["billingConfig"] = (billingConfig).toJson();
+ }
+ if (folder != null) {
+ _json["folder"] = folder;
+ }
+ if (labels != null) {
+ _json["labels"] = labels;
+ }
+ if (serviceAccountConfig != null) {
+ _json["serviceAccountConfig"] = (serviceAccountConfig).toJson();
+ }
+ if (services != null) {
+ _json["services"] = services;
+ }
+ if (tenantProjectPolicy != null) {
+ _json["tenantProjectPolicy"] = (tenantProjectPolicy).toJson();
+ }
+ return _json;
+ }
+}
+
+/// Describes policy settings that need to be applied to a newly
+/// created Tenant Project.
+class TenantProjectPolicy {
+ /// Additional policy bindings to be applied on the tenant
+ /// project.
+ /// At least one owner must be set in the bindings. Among the list of members
+ /// as owners, at least one of them must be either `user` or `group` based.
+ core.List<PolicyBinding> policyBindings;
+
+ TenantProjectPolicy();
+
+ TenantProjectPolicy.fromJson(core.Map _json) {
+ if (_json.containsKey("policyBindings")) {
+ policyBindings = _json["policyBindings"]
+ .map((value) => new PolicyBinding.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 (policyBindings != null) {
+ _json["policyBindings"] =
+ policyBindings.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/// Resource constituting the TenancyUnit.
+class TenantResource {
+ /// @OutputOnly Identifier of the tenant resource.
+ /// For cloud projects it is in the form 'projects/{number}'.
+ /// For example 'projects/123456'.
+ core.String resource;
+
+ /// Status of tenant resource.
+ /// Possible string values are:
+ /// - "STATUS_UNSPECIFIED" : Unspecified status is the default unset value.
+ /// - "PENDING_CREATE" : Creation of the tenant resource is ongoing.
+ /// - "ACTIVE" : Active resource.
+ /// - "PENDING_DELETE" : Deletion of the resource is ongoing.
+ /// - "FAILED" : Tenant resource creation or deletion has failed.
+ core.String status;
+
+ /// Unique per single tenancy unit.
+ core.String tag;
+
+ TenantResource();
+
+ TenantResource.fromJson(core.Map _json) {
+ if (_json.containsKey("resource")) {
+ resource = _json["resource"];
+ }
+ if (_json.containsKey("status")) {
+ status = _json["status"];
+ }
+ if (_json.containsKey("tag")) {
+ tag = _json["tag"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (resource != null) {
+ _json["resource"] = resource;
+ }
+ if (status != null) {
+ _json["status"] = status;
+ }
+ if (tag != null) {
+ _json["tag"] = tag;
+ }
+ return _json;
+ }
+}
+
+/// A protocol buffer message type.
+class Type {
+ /// The list of fields.
+ core.List<Field> fields;
+
+ /// The fully qualified message name.
+ core.String name;
+
+ /// The list of types appearing in `oneof` definitions in this type.
+ core.List<core.String> oneofs;
+
+ /// The protocol buffer options.
+ core.List<Option> options;
+
+ /// The source context.
+ SourceContext sourceContext;
+
+ /// The source syntax.
+ /// Possible string values are:
+ /// - "SYNTAX_PROTO2" : Syntax `proto2`.
+ /// - "SYNTAX_PROTO3" : Syntax `proto3`.
+ core.String syntax;
+
+ Type();
+
+ Type.fromJson(core.Map _json) {
+ if (_json.containsKey("fields")) {
+ fields =
+ _json["fields"].map((value) => new Field.fromJson(value)).toList();
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("oneofs")) {
+ oneofs = _json["oneofs"];
+ }
+ if (_json.containsKey("options")) {
+ options =
+ _json["options"].map((value) => new Option.fromJson(value)).toList();
+ }
+ if (_json.containsKey("sourceContext")) {
+ sourceContext = new SourceContext.fromJson(_json["sourceContext"]);
+ }
+ if (_json.containsKey("syntax")) {
+ syntax = _json["syntax"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (fields != null) {
+ _json["fields"] = fields.map((value) => (value).toJson()).toList();
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (oneofs != null) {
+ _json["oneofs"] = oneofs;
+ }
+ if (options != null) {
+ _json["options"] = options.map((value) => (value).toJson()).toList();
+ }
+ if (sourceContext != null) {
+ _json["sourceContext"] = (sourceContext).toJson();
+ }
+ if (syntax != null) {
+ _json["syntax"] = syntax;
+ }
+ return _json;
+ }
+}
+
+/// Configuration controlling usage of a service.
+class Usage {
+ /// The full resource name of a channel used for sending notifications to the
+ /// service producer.
+ ///
+ /// Google Service Management currently only supports
+ /// [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
+ /// channel. To use Google Cloud Pub/Sub as the channel, this must be the name
+ /// of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format
+ /// documented in https://cloud.google.com/pubsub/docs/overview.
+ core.String producerNotificationChannel;
+
+ /// Requirements that must be satisfied before a consumer project can use the
+ /// service. Each requirement is of the form <service.name>/<requirement-id>;
+ /// for example 'serviceusage.googleapis.com/billing-enabled'.
+ core.List<core.String> requirements;
+
+ /// A list of usage rules that apply to individual API methods.
+ ///
+ /// **NOTE:** All service configuration rules follow "last one wins" order.
+ core.List<UsageRule> rules;
+
+ Usage();
+
+ Usage.fromJson(core.Map _json) {
+ if (_json.containsKey("producerNotificationChannel")) {
+ producerNotificationChannel = _json["producerNotificationChannel"];
+ }
+ if (_json.containsKey("requirements")) {
+ requirements = _json["requirements"];
+ }
+ if (_json.containsKey("rules")) {
+ rules =
+ _json["rules"].map((value) => new UsageRule.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 (producerNotificationChannel != null) {
+ _json["producerNotificationChannel"] = producerNotificationChannel;
+ }
+ if (requirements != null) {
+ _json["requirements"] = requirements;
+ }
+ if (rules != null) {
+ _json["rules"] = rules.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/// Usage configuration rules for the service.
+///
+/// NOTE: Under development.
+///
+///
+/// Use this rule to configure unregistered calls for the service. Unregistered
+/// calls are calls that do not contain consumer project identity.
+/// (Example: calls that do not contain an API key).
+/// By default, API methods do not allow unregistered calls, and each method
+/// call
+/// must be identified by a consumer project identity. Use this rule to
+/// allow/disallow unregistered calls.
+///
+/// Example of an API that wants to allow unregistered calls for entire service.
+///
+/// usage:
+/// rules:
+/// - selector: "*"
+/// allow_unregistered_calls: true
+///
+/// Example of a method that wants to allow unregistered calls.
+///
+/// usage:
+/// rules:
+/// - selector: "google.example.library.v1.LibraryService.CreateBook"
+/// allow_unregistered_calls: true
+class UsageRule {
+ /// True, if the method allows unregistered calls; false otherwise.
+ core.bool allowUnregisteredCalls;
+
+ /// Selects the methods to which this rule applies. Use '*' to indicate all
+ /// methods in all APIs.
+ ///
+ /// Refer to selector for syntax details.
+ core.String selector;
+
+ /// True, if the method should skip service control. If so, no control plane
+ /// feature (like quota and billing) will be enabled.
+ /// This flag is used by ESP to allow some Endpoints customers to bypass
+ /// Google internal checks.
+ core.bool skipServiceControl;
+
+ UsageRule();
+
+ UsageRule.fromJson(core.Map _json) {
+ if (_json.containsKey("allowUnregisteredCalls")) {
+ allowUnregisteredCalls = _json["allowUnregisteredCalls"];
+ }
+ if (_json.containsKey("selector")) {
+ selector = _json["selector"];
+ }
+ if (_json.containsKey("skipServiceControl")) {
+ skipServiceControl = _json["skipServiceControl"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (allowUnregisteredCalls != null) {
+ _json["allowUnregisteredCalls"] = allowUnregisteredCalls;
+ }
+ if (selector != null) {
+ _json["selector"] = selector;
+ }
+ if (skipServiceControl != null) {
+ _json["skipServiceControl"] = skipServiceControl;
+ }
+ return _json;
+ }
+}
+
+/// `Visibility` defines restrictions for the visibility of service
+/// elements. Restrictions are specified using visibility labels
+/// (e.g., TRUSTED_TESTER) that are elsewhere linked to users and projects.
+///
+/// Users and projects can have access to more than one visibility label. The
+/// effective visibility for multiple labels is the union of each label's
+/// elements, plus any unrestricted elements.
+///
+/// If an element and its parents have no restrictions, visibility is
+/// unconditionally granted.
+///
+/// Example:
+///
+/// visibility:
+/// rules:
+/// - selector: google.calendar.Calendar.EnhancedSearch
+/// restriction: TRUSTED_TESTER
+/// - selector: google.calendar.Calendar.Delegate
+/// restriction: GOOGLE_INTERNAL
+///
+/// Here, all methods are publicly visible except for the restricted methods
+/// EnhancedSearch and Delegate.
+class Visibility {
+ /// A list of visibility rules that apply to individual API elements.
+ ///
+ /// **NOTE:** All service configuration rules follow "last one wins" order.
+ core.List<VisibilityRule> rules;
+
+ Visibility();
+
+ Visibility.fromJson(core.Map _json) {
+ if (_json.containsKey("rules")) {
+ rules = _json["rules"]
+ .map((value) => new VisibilityRule.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 (rules != null) {
+ _json["rules"] = rules.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/// A visibility rule provides visibility configuration for an individual API
+/// element.
+class VisibilityRule {
+ /// A comma-separated list of visibility labels that apply to the `selector`.
+ /// Any of the listed labels can be used to grant the visibility.
+ ///
+ /// If a rule has multiple labels, removing one of the labels but not all of
+ /// them can break clients.
+ ///
+ /// Example:
+ ///
+ /// visibility:
+ /// rules:
+ /// - selector: google.calendar.Calendar.EnhancedSearch
+ /// restriction: GOOGLE_INTERNAL, TRUSTED_TESTER
+ ///
+ /// Removing GOOGLE_INTERNAL from this restriction will break clients that
+ /// rely on this method and only had access to it through GOOGLE_INTERNAL.
+ core.String restriction;
+
+ /// Selects methods, messages, fields, enums, etc. to which this rule applies.
+ ///
+ /// Refer to selector for syntax details.
+ core.String selector;
+
+ VisibilityRule();
+
+ VisibilityRule.fromJson(core.Map _json) {
+ if (_json.containsKey("restriction")) {
+ restriction = _json["restriction"];
+ }
+ if (_json.containsKey("selector")) {
+ selector = _json["selector"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (restriction != null) {
+ _json["restriction"] = restriction;
+ }
+ if (selector != null) {
+ _json["selector"] = selector;
+ }
+ return _json;
+ }
+}
diff --git a/generated/googleapis/lib/servicemanagement/v1.dart b/generated/googleapis/lib/servicemanagement/v1.dart
index 09aaaca..256673c 100644
--- a/generated/googleapis/lib/servicemanagement/v1.dart
+++ b/generated/googleapis/lib/servicemanagement/v1.dart
@@ -636,6 +636,10 @@
///
/// Request parameters:
///
+ /// [pageSize] - Requested size of the next page of data.
+ ///
+ /// [producerProjectId] - Include services produced by the specified project.
+ ///
/// [consumerId] - Include services consumed by the specified consumer.
///
/// The Google Service Management implementation accepts the following
@@ -646,10 +650,6 @@
/// previous list
/// call.
///
- /// [pageSize] - Requested size of the next page of data.
- ///
- /// [producerProjectId] - Include services produced by the specified project.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -661,10 +661,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 pageToken,
- core.int pageSize,
+ {core.int pageSize,
core.String producerProjectId,
+ core.String consumerId,
+ core.String pageToken,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -673,18 +673,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (consumerId != null) {
- _queryParams["consumerId"] = [consumerId];
- }
- 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 (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/serviceuser/v1.dart b/generated/googleapis/lib/serviceuser/v1.dart
index 5d2aa07..e262f19 100644
--- a/generated/googleapis/lib/serviceuser/v1.dart
+++ b/generated/googleapis/lib/serviceuser/v1.dart
@@ -250,12 +250,12 @@
///
/// Request parameters:
///
+ /// [pageSize] - Requested size of the next page of data.
+ ///
/// [pageToken] - Token identifying which result to start with; returned by a
/// previous list
/// call.
///
- /// [pageSize] - Requested size of the next page of data.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -267,7 +267,7 @@
/// 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<SearchServicesResponse> search(
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -275,12 +275,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/sheets/v4.dart b/generated/googleapis/lib/sheets/v4.dart
index cc21e8d..81e9158 100644
--- a/generated/googleapis/lib/sheets/v4.dart
+++ b/generated/googleapis/lib/sheets/v4.dart
@@ -536,14 +536,6 @@
/// data.
/// Values will be 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" : A FORMATTED_VALUE.
- /// - "UNFORMATTED_VALUE" : A UNFORMATTED_VALUE.
- /// - "FORMULA" : A FORMULA.
- ///
/// [insertDataOption] - How the input data should be inserted.
/// Possible string values are:
/// - "OVERWRITE" : A OVERWRITE.
@@ -570,6 +562,14 @@
/// 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" : A FORMATTED_VALUE.
+ /// - "UNFORMATTED_VALUE" : A UNFORMATTED_VALUE.
+ /// - "FORMULA" : A FORMULA.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -582,11 +582,11 @@
/// this method will complete with the same error.
async.Future<AppendValuesResponse> append(
ValueRange request, core.String spreadsheetId, core.String range,
- {core.String responseValueRenderOption,
- core.String insertDataOption,
+ {core.String insertDataOption,
core.String valueInputOption,
core.String responseDateTimeRenderOption,
core.bool includeValuesInResponse,
+ core.String responseValueRenderOption,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -604,9 +604,6 @@
if (range == null) {
throw new core.ArgumentError("Parameter range is required.");
}
- if (responseValueRenderOption != null) {
- _queryParams["responseValueRenderOption"] = [responseValueRenderOption];
- }
if (insertDataOption != null) {
_queryParams["insertDataOption"] = [insertDataOption];
}
@@ -621,6 +618,9 @@
if (includeValuesInResponse != null) {
_queryParams["includeValuesInResponse"] = ["${includeValuesInResponse}"];
}
+ if (responseValueRenderOption != null) {
+ _queryParams["responseValueRenderOption"] = [responseValueRenderOption];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1176,14 +1176,6 @@
///
/// [range] - The A1 notation of the values to update.
///
- /// [includeValuesInResponse] - Determines if the update response should
- /// include the values
- /// of the cells that were updated. By default, responses
- /// do not include the updated values.
- /// If the range to write was larger than than the range actually written,
- /// the response will include all values in the requested range (excluding
- /// trailing empty rows and columns).
- ///
/// [responseValueRenderOption] - Determines how values in the response should
/// be rendered.
/// The default render option is ValueRenderOption.FORMATTED_VALUE.
@@ -1208,6 +1200,14 @@
/// - "SERIAL_NUMBER" : A SERIAL_NUMBER.
/// - "FORMATTED_STRING" : A FORMATTED_STRING.
///
+ /// [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 than the range actually written,
+ /// the response will include all values in the requested range (excluding
+ /// trailing empty rows and columns).
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1220,10 +1220,10 @@
/// this method will complete with the same error.
async.Future<UpdateValuesResponse> update(
ValueRange request, core.String spreadsheetId, core.String range,
- {core.bool includeValuesInResponse,
- core.String responseValueRenderOption,
+ {core.String responseValueRenderOption,
core.String valueInputOption,
core.String responseDateTimeRenderOption,
+ core.bool includeValuesInResponse,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -1241,9 +1241,6 @@
if (range == null) {
throw new core.ArgumentError("Parameter range is required.");
}
- if (includeValuesInResponse != null) {
- _queryParams["includeValuesInResponse"] = ["${includeValuesInResponse}"];
- }
if (responseValueRenderOption != null) {
_queryParams["responseValueRenderOption"] = [responseValueRenderOption];
}
@@ -1255,6 +1252,9 @@
responseDateTimeRenderOption
];
}
+ 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 8f20e2d..5786a36 100644
--- a/generated/googleapis/lib/slides/v1.dart
+++ b/generated/googleapis/lib/slides/v1.dart
@@ -5737,6 +5737,26 @@
/// Determining the rendered value of the property depends on the corresponding
/// property_state field value.
class ShapeProperties {
+ /// The alignment of the content in the shape. If unspecified,
+ /// the alignment is inherited from a parent placeholder if it exists. If the
+ /// shape has no parent, the default alignment matches the alignment for new
+ /// shapes created in the Slides editor.
+ /// Possible string values are:
+ /// - "CONTENT_ALIGNMENT_UNSPECIFIED" : An unspecified content alignment. The
+ /// content alignment is inherited from
+ /// the parent if it exists.
+ /// - "CONTENT_ALIGNMENT_UNSUPPORTED" : An unsupported content alignment.
+ /// - "TOP" : An alignment that aligns the content to the top of the content
+ /// holder.
+ /// Corresponds to ECMA-376 ST_TextAnchoringType 't'.
+ /// - "MIDDLE" : An alignment that aligns the content to the middle of the
+ /// content
+ /// holder. Corresponds to ECMA-376 ST_TextAnchoringType 'ctr'.
+ /// - "BOTTOM" : An alignment that aligns the content to the bottom of the
+ /// content
+ /// holder. Corresponds to ECMA-376 ST_TextAnchoringType 'b'.
+ core.String contentAlignment;
+
/// The hyperlink destination of the shape. If unset, there is no link. Links
/// are not inherited from parent placeholders.
Link link;
@@ -5762,6 +5782,9 @@
ShapeProperties();
ShapeProperties.fromJson(core.Map _json) {
+ if (_json.containsKey("contentAlignment")) {
+ contentAlignment = _json["contentAlignment"];
+ }
if (_json.containsKey("link")) {
link = new Link.fromJson(_json["link"]);
}
@@ -5780,6 +5803,9 @@
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json =
new core.Map<core.String, core.Object>();
+ if (contentAlignment != null) {
+ _json["contentAlignment"] = contentAlignment;
+ }
if (link != null) {
_json["link"] = (link).toJson();
}
@@ -6471,6 +6497,24 @@
/// The properties of the TableCell.
class TableCellProperties {
+ /// The alignment of the content in the table cell. The default alignment
+ /// matches the alignment for newly created table cells in the Slides editor.
+ /// Possible string values are:
+ /// - "CONTENT_ALIGNMENT_UNSPECIFIED" : An unspecified content alignment. The
+ /// content alignment is inherited from
+ /// the parent if it exists.
+ /// - "CONTENT_ALIGNMENT_UNSUPPORTED" : An unsupported content alignment.
+ /// - "TOP" : An alignment that aligns the content to the top of the content
+ /// holder.
+ /// Corresponds to ECMA-376 ST_TextAnchoringType 't'.
+ /// - "MIDDLE" : An alignment that aligns the content to the middle of the
+ /// content
+ /// holder. Corresponds to ECMA-376 ST_TextAnchoringType 'ctr'.
+ /// - "BOTTOM" : An alignment that aligns the content to the bottom of the
+ /// content
+ /// holder. Corresponds to ECMA-376 ST_TextAnchoringType 'b'.
+ core.String contentAlignment;
+
/// The background fill of the table cell. The default fill matches the fill
/// for newly created table cells in the Slides editor.
TableCellBackgroundFill tableCellBackgroundFill;
@@ -6478,6 +6522,9 @@
TableCellProperties();
TableCellProperties.fromJson(core.Map _json) {
+ if (_json.containsKey("contentAlignment")) {
+ contentAlignment = _json["contentAlignment"];
+ }
if (_json.containsKey("tableCellBackgroundFill")) {
tableCellBackgroundFill = new TableCellBackgroundFill.fromJson(
_json["tableCellBackgroundFill"]);
@@ -6487,6 +6534,9 @@
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json =
new core.Map<core.String, core.Object>();
+ if (contentAlignment != null) {
+ _json["contentAlignment"] = contentAlignment;
+ }
if (tableCellBackgroundFill != null) {
_json["tableCellBackgroundFill"] = (tableCellBackgroundFill).toJson();
}
diff --git a/generated/googleapis/lib/sourcerepo/v1.dart b/generated/googleapis/lib/sourcerepo/v1.dart
index f174fd1..705c180 100644
--- a/generated/googleapis/lib/sourcerepo/v1.dart
+++ b/generated/googleapis/lib/sourcerepo/v1.dart
@@ -258,13 +258,13 @@
/// `projects/<project>`.
/// 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.
///
@@ -276,7 +276,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.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -287,12 +287,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];
}
@@ -922,6 +922,7 @@
/// A repository (or repo) is a Git repository storing versioned source content.
class Repo {
/// How this repository mirrors a repository managed by another service.
+ /// Read-only field.
MirrorConfig mirrorConfig;
/// Resource name of the repository, of the form
@@ -929,11 +930,12 @@
/// eg, `projects/myproject/repos/name/with/slash`
core.String name;
- /// The disk usage of the repo, in bytes.
- /// Only returned by GetRepo.
+ /// The disk usage of the repo, in bytes. Read-only field. Size is only
+ /// returned by GetRepo.
core.String size;
/// URL to clone the repository from Google Cloud Source Repositories.
+ /// Read-only field.
core.String url;
Repo();
diff --git a/generated/googleapis/lib/spanner/v1.dart b/generated/googleapis/lib/spanner/v1.dart
index 1b4feca..95d779b 100644
--- a/generated/googleapis/lib/spanner/v1.dart
+++ b/generated/googleapis/lib/spanner/v1.dart
@@ -1407,12 +1407,12 @@
/// Value must have pattern
/// "^projects/[^/]+/instances/[^/]+/databases/[^/]+/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.
///
@@ -1424,9 +1424,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 = null;
var _queryParams = new core.Map();
@@ -1438,15 +1438,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];
}
@@ -2296,12 +2296,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+/instances/[^/]+/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.
///
@@ -2313,9 +2313,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 pageToken,
core.int pageSize,
- core.String filter,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -2327,15 +2327,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/speech/v1.dart b/generated/googleapis/lib/speech/v1.dart
index 178962e..d87effc 100644
--- a/generated/googleapis/lib/speech/v1.dart
+++ b/generated/googleapis/lib/speech/v1.dart
@@ -20,6 +20,10 @@
static const CloudPlatformScope =
"https://www.googleapis.com/auth/cloud-platform";
+ /// Convert speech to text using Google speech recognition technology
+ static const CloudSpeechScope =
+ "https://www.googleapis.com/auth/cloud-speech";
+
final commons.ApiRequester _requester;
OperationsResourceApi get operations => new OperationsResourceApi(_requester);
@@ -202,14 +206,14 @@
///
/// Request parameters:
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [filter] - The standard list filter.
///
/// [name] - The name of the operation's parent resource.
///
/// [pageToken] - The standard list page token.
///
- /// [pageSize] - The standard list page size.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -221,10 +225,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.int pageSize,
+ core.String filter,
core.String name,
core.String pageToken,
- core.int pageSize,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -233,6 +237,9 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (filter != null) {
_queryParams["filter"] = [filter];
}
@@ -242,9 +249,6 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/storagetransfer/v1.dart b/generated/googleapis/lib/storagetransfer/v1.dart
index 1c982b1..cb1437d 100644
--- a/generated/googleapis/lib/storagetransfer/v1.dart
+++ b/generated/googleapis/lib/storagetransfer/v1.dart
@@ -201,8 +201,6 @@
///
/// Request parameters:
///
- /// [pageToken] - The list page token.
- ///
/// [pageSize] - The list page size. The max allowed value is 256.
///
/// [filter] - A list of query parameters specified as JSON text in the form
@@ -216,6 +214,8 @@
/// and `job_statuses` are optional. The valid values for `job_statuses` are
/// case-insensitive: `ENABLED`, `DISABLED`, and `DELETED`.
///
+ /// [pageToken] - The list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -227,9 +227,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<ListTransferJobsResponse> list(
- {core.String pageToken,
- core.int pageSize,
+ {core.int pageSize,
core.String filter,
+ core.String pageToken,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -238,15 +238,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- 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];
}
@@ -1609,8 +1609,8 @@
core.String bytesFailedToDeleteFromSink;
/// Bytes found in the data source that are scheduled to be transferred,
- /// which will be copied, excluded based on conditions, or skipped due to
- /// failures.
+ /// excluding any that are filtered based on object conditions or skipped due
+ /// to sync.
core.String bytesFoundFromSource;
/// Bytes found only in the data sink that are scheduled to be deleted.
@@ -1636,8 +1636,8 @@
core.String objectsFailedToDeleteFromSink;
/// Objects found in the data source that are scheduled to be transferred,
- /// which will be copied, excluded based on conditions, or skipped due to
- /// failures.
+ /// excluding any that are filtered based on object conditions or skipped due
+ /// to sync.
core.String objectsFoundFromSource;
/// Objects found only in the data sink that are scheduled to be deleted.
diff --git a/generated/googleapis/lib/streetviewpublish/v1.dart b/generated/googleapis/lib/streetviewpublish/v1.dart
index c21c83b..860878b 100644
--- a/generated/googleapis/lib/streetviewpublish/v1.dart
+++ b/generated/googleapis/lib/streetviewpublish/v1.dart
@@ -455,10 +455,6 @@
///
/// Request parameters:
///
- /// [photoIds] - Required. IDs of the Photos. For HTTP
- /// GET requests, the URL query parameter should be
- /// `photoIds=<id1>&photoIds=<id2>&...`.
- ///
/// [view] - Specifies if a download URL for the photo bytes should be
/// returned in the
/// Photo response.
@@ -466,6 +462,10 @@
/// - "BASIC" : A BASIC.
/// - "INCLUDE_DOWNLOAD_URL" : A INCLUDE_DOWNLOAD_URL.
///
+ /// [photoIds] - Required. IDs of the Photos. For HTTP
+ /// GET requests, the URL query parameter should be
+ /// `photoIds=<id1>&photoIds=<id2>&...`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -477,8 +477,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<BatchGetPhotosResponse> batchGet(
- {core.List<core.String> photoIds,
- core.String view,
+ {core.String view,
+ core.List<core.String> photoIds,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -487,12 +487,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (photoIds != null) {
- _queryParams["photoIds"] = photoIds;
- }
if (view != null) {
_queryParams["view"] = [view];
}
+ if (photoIds != null) {
+ _queryParams["photoIds"] = photoIds;
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -585,6 +585,11 @@
///
/// Request parameters:
///
+ /// [filter] - The filter expression. For example:
+ /// `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`.
+ ///
+ /// The only filter supported at the moment is `placeId`.
+ ///
/// [pageToken] - The
/// nextPageToken
/// value returned from a previous
@@ -604,11 +609,6 @@
/// - "BASIC" : A BASIC.
/// - "INCLUDE_DOWNLOAD_URL" : A INCLUDE_DOWNLOAD_URL.
///
- /// [filter] - The filter expression. For example:
- /// `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`.
- ///
- /// The only filter supported at the moment is `placeId`.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -620,10 +620,10 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListPhotosResponse> list(
- {core.String pageToken,
+ {core.String filter,
+ core.String pageToken,
core.int pageSize,
core.String view,
- core.String filter,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -632,6 +632,9 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -641,9 +644,6 @@
if (view != null) {
_queryParams["view"] = [view];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/testing/v1.dart b/generated/googleapis/lib/testing/v1.dart
index 8e1d32f..f7a12ac 100644
--- a/generated/googleapis/lib/testing/v1.dart
+++ b/generated/googleapis/lib/testing/v1.dart
@@ -1494,7 +1494,7 @@
/// @OutputOnly
core.String name;
- /// A human-friendy string representing the region for this locale.
+ /// A human-friendly string representing the region for this locale.
/// Example: "United States"
/// Not present for every locale.
/// @OutputOnly
diff --git a/generated/googleapis/lib/vault/v1.dart b/generated/googleapis/lib/vault/v1.dart
index f5b240c..dbc0377 100644
--- a/generated/googleapis/lib/vault/v1.dart
+++ b/generated/googleapis/lib/vault/v1.dart
@@ -285,15 +285,6 @@
///
/// Request parameters:
///
- /// [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" : A VIEW_UNSPECIFIED.
- /// - "BASIC" : A BASIC.
- /// - "FULL" : A FULL.
- ///
/// [state] - If set, list only matters with that specific state. The default
/// is listing
/// matters of all states.
@@ -305,6 +296,15 @@
///
/// [pageToken] - The pagination token as returned in the response.
///
+ /// [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" : A VIEW_UNSPECIFIED.
+ /// - "BASIC" : A BASIC.
+ /// - "FULL" : A FULL.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -316,10 +316,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<ListMattersResponse> list(
- {core.int pageSize,
- core.String view,
- core.String state,
+ {core.String state,
core.String pageToken,
+ core.int pageSize,
+ core.String view,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -328,18 +328,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
- if (view != null) {
- _queryParams["view"] = [view];
- }
if (state != null) {
_queryParams["state"] = [state];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (view != null) {
+ _queryParams["view"] = [view];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -725,13 +725,13 @@
///
/// [matterId] - The matter ID.
///
+ /// [pageToken] - The pagination token as returned in the response.
+ /// An empty token means start from the beginning.
+ ///
/// [pageSize] - The number of holds to return in the response, between 0 and
/// 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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -743,7 +743,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<ListHoldsResponse> list(core.String matterId,
- {core.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -754,12 +754,12 @@
if (matterId == null) {
throw new core.ArgumentError("Parameter matterId 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];
}
@@ -1224,11 +1224,11 @@
/// Query options for group holds.
class HeldGroupsQuery {
- /// The end date range for the search query. These timestamps are in GMT and
+ /// The end time range for the search query. These timestamps are in GMT and
/// rounded down to the start of the given date.
core.String endTime;
- /// The start date range for the search query. These timestamps are in GMT and
+ /// The start time range for the search query. These timestamps are in GMT and
/// rounded down to the start of the given date.
core.String startTime;
@@ -1267,11 +1267,11 @@
/// Query options for mail holds.
class HeldMailQuery {
- /// The end date range for the search query. These timestamps are in GMT and
+ /// The end time range for the search query. These timestamps are in GMT and
/// rounded down to the start of the given date.
core.String endTime;
- /// The start date range for the search query. These timestamps are in GMT and
+ /// The start time range for the search query. These timestamps are in GMT and
/// rounded down to the start of the given date.
core.String startTime;
diff --git a/generated/googleapis/lib/youtube/v3.dart b/generated/googleapis/lib/youtube/v3.dart
index 4400d49..8218112 100644
--- a/generated/googleapis/lib/youtube/v3.dart
+++ b/generated/googleapis/lib/youtube/v3.dart
@@ -7781,6 +7781,7 @@
/// Possible string values are:
/// - "30fps"
/// - "60fps"
+ /// - "variable"
core.String frameRate;
/// The ingestionInfo object contains information that YouTube provides that
@@ -7802,6 +7803,7 @@
/// - "360p"
/// - "480p"
/// - "720p"
+ /// - "variable"
core.String resolution;
CdnSettings();
@@ -12358,6 +12360,9 @@
/// - "closedCaptionsHttpPost"
core.String closedCaptionsType;
+ /// This setting indicates whether auto start is enabled for this broadcast.
+ core.bool enableAutoStart;
+
/// This setting indicates whether HTTP POST closed captioning is enabled for
/// this broadcast. The ingestion URL of the closed captions is returned
/// through the liveStreams API. This is mutually exclusive with using the
@@ -12453,6 +12458,9 @@
if (_json.containsKey("closedCaptionsType")) {
closedCaptionsType = _json["closedCaptionsType"];
}
+ if (_json.containsKey("enableAutoStart")) {
+ enableAutoStart = _json["enableAutoStart"];
+ }
if (_json.containsKey("enableClosedCaptions")) {
enableClosedCaptions = _json["enableClosedCaptions"];
}
@@ -12501,6 +12509,9 @@
if (closedCaptionsType != null) {
_json["closedCaptionsType"] = closedCaptionsType;
}
+ if (enableAutoStart != null) {
+ _json["enableAutoStart"] = enableAutoStart;
+ }
if (enableClosedCaptions != null) {
_json["enableClosedCaptions"] = enableClosedCaptions;
}
@@ -16760,6 +16771,9 @@
/// A video resource represents a YouTube video.
class Video {
+ /// The access token to uniquely identify a revocable unlisted video.
+ core.String accessToken;
+
/// Age restriction details related to a video. This data can only be
/// retrieved by the video owner.
VideoAgeGating ageGating;
@@ -16843,6 +16857,9 @@
Video();
Video.fromJson(core.Map _json) {
+ if (_json.containsKey("accessToken")) {
+ accessToken = _json["accessToken"];
+ }
if (_json.containsKey("ageGating")) {
ageGating = new VideoAgeGating.fromJson(_json["ageGating"]);
}
@@ -16912,6 +16929,9 @@
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json =
new core.Map<core.String, core.Object>();
+ if (accessToken != null) {
+ _json["accessToken"] = accessToken;
+ }
if (ageGating != null) {
_json["ageGating"] = (ageGating).toJson();
}
diff --git a/generated/googleapis/lib/youtubereporting/v1.dart b/generated/googleapis/lib/youtubereporting/v1.dart
index f3a97b0..6e96bfa 100644
--- a/generated/googleapis/lib/youtubereporting/v1.dart
+++ b/generated/googleapis/lib/youtubereporting/v1.dart
@@ -209,6 +209,14 @@
///
/// Request parameters:
///
+ /// [pageSize] - Requested page size. Server may return fewer jobs 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).
+ ///
/// [pageToken] - A token identifying a page of results the server should
/// return. Typically,
/// this is the value of
@@ -220,14 +228,6 @@
/// user-created jobs will be returned. System-managed jobs can neither be
/// modified nor deleted.
///
- /// [pageSize] - Requested page size. Server may return fewer jobs 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).
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -239,10 +239,10 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListJobsResponse> list(
- {core.String pageToken,
- core.bool includeSystemManaged,
- core.int pageSize,
+ {core.int pageSize,
core.String onBehalfOfContentOwner,
+ core.String pageToken,
+ core.bool includeSystemManaged,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -251,18 +251,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (includeSystemManaged != null) {
- _queryParams["includeSystemManaged"] = ["${includeSystemManaged}"];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (onBehalfOfContentOwner != null) {
_queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (includeSystemManaged != null) {
+ _queryParams["includeSystemManaged"] = ["${includeSystemManaged}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -349,19 +349,6 @@
///
/// [jobId] - The ID of the job.
///
- /// [createdAfter] - If set, only reports created after the specified
- /// date/time are returned.
- ///
- /// [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.
- ///
- /// [startTimeAtOrAfter] - If set, only reports whose start time is greater
- /// than or equal the
- /// specified date/time are returned.
- ///
/// [pageSize] - Requested page size. Server may return fewer report types
/// than requested.
/// If unspecified, server will pick an appropriate default.
@@ -374,6 +361,19 @@
/// the specified
/// date/time are returned.
///
+ /// [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.
+ ///
+ /// [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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -385,12 +385,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.String startTimeAtOrAfter,
- core.int pageSize,
+ {core.int pageSize,
core.String onBehalfOfContentOwner,
core.String startTimeBefore,
+ core.String createdAfter,
+ core.String startTimeAtOrAfter,
+ core.String pageToken,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -402,15 +402,6 @@
if (jobId == null) {
throw new core.ArgumentError("Parameter jobId is required.");
}
- if (createdAfter != null) {
- _queryParams["createdAfter"] = [createdAfter];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (startTimeAtOrAfter != null) {
- _queryParams["startTimeAtOrAfter"] = [startTimeAtOrAfter];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
@@ -420,6 +411,15 @@
if (startTimeBefore != null) {
_queryParams["startTimeBefore"] = [startTimeBefore];
}
+ if (createdAfter != null) {
+ _queryParams["createdAfter"] = [createdAfter];
+ }
+ if (startTimeAtOrAfter != null) {
+ _queryParams["startTimeAtOrAfter"] = [startTimeAtOrAfter];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -514,6 +514,14 @@
///
/// Request parameters:
///
+ /// [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).
+ ///
/// [pageToken] - A token identifying a page of results the server should
/// return. Typically,
/// this is the value of
@@ -525,14 +533,6 @@
/// 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).
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -544,10 +544,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.int pageSize,
core.String onBehalfOfContentOwner,
+ core.String pageToken,
+ core.bool includeSystemManaged,
core.String $fields}) {
var _url = null;
var _queryParams = new core.Map();
@@ -556,18 +556,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (includeSystemManaged != null) {
- _queryParams["includeSystemManaged"] = ["${includeSystemManaged}"];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (onBehalfOfContentOwner != null) {
_queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (includeSystemManaged != null) {
+ _queryParams["includeSystemManaged"] = ["${includeSystemManaged}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/pubspec.yaml b/generated/googleapis/pubspec.yaml
index e868b6d..e29688c 100644
--- a/generated/googleapis/pubspec.yaml
+++ b/generated/googleapis/pubspec.yaml
@@ -1,7 +1,7 @@
name: googleapis
-version: 0.47.0
+version: 0.47.1
author: Dart Team <misc@dartlang.org>
-description: "Auto-generated client libraries for accessing the following APIs:acceleratedmobilepageurl:v1, adexchangebuyer:v1.3, adexchangebuyer:v1.4, adexchangeseller:v1.1, adexchangeseller:v2.0, adexperiencereport:v1, admin:datatransfer_v1, admin:directory_v1, admin:reports_v1, adsense:v1.4, adsensehost:v4.1, analytics:v3, analyticsreporting:v4, androiddeviceprovisioning:v1, androidenterprise:v1, androidmanagement:v1, androidpublisher:v2, appengine:v1, appsactivity:v1, appstate:v1, bigquery:v2, bigquerydatatransfer:v1, blogger:v3, books:v1, calendar:v3, civicinfo:v2, classroom:v1, cloudbilling:v1, cloudbuild:v1, clouddebugger:v2, cloudfunctions:v1, cloudiot:v1, cloudkms:v1, cloudresourcemanager:v1, cloudresourcemanager:v2beta1, cloudtrace:v1, cloudtrace:v2, compute:v1, consumersurveys:v2, container:v1, content:v2, content:v2sandbox, customsearch:v1, dataproc:v1, datastore:v1, deploymentmanager:v2, dfareporting:v2.8, dfareporting:v3.0, discovery:v1, dns:v1, doubleclickbidmanager:v1, doubleclicksearch:v2, drive:v2, drive:v3, firebasedynamiclinks:v1, firebaseremoteconfig:v1, firebaserules:v1, fitness:v1, fusiontables:v1, fusiontables:v2, games:v1, gamesConfiguration:v1configuration, gamesManagement:v1management, genomics:v1, gmail:v1, groupsmigration:v1, groupssettings:v1, iam:v1, identitytoolkit:v3, kgsearch:v1, language:v1, licensing:v1, logging:v2, manufacturers:v1, mirror:v1, ml:v1, monitoring:v3, oauth2:v2, pagespeedonline:v1, pagespeedonline:v2, partners:v2, people:v1, playcustomapp:v1, plus:v1, plusDomains:v1, prediction:v1.6, pubsub:v1, reseller:v1, runtimeconfig:v1, safebrowsing:v4, script:v1, searchconsole:v1, servicecontrol:v1, servicemanagement:v1, serviceuser:v1, sheets:v4, siteVerification:v1, slides:v1, sourcerepo:v1, spanner:v1, speech:v1, storage:v1, storagetransfer:v1, streetviewpublish:v1, surveys:v2, tagmanager:v1, tagmanager:v2, tasks:v1, testing:v1, translate:v2, urlshortener:v1, vault:v1, vision:v1, webfonts:v1, webmasters:v3, youtube:v3, youtubeAnalytics:v1, youtubereporting:v1"
+description: "Auto-generated client libraries for accessing the following APIs:acceleratedmobilepageurl:v1, adexchangebuyer:v1.3, adexchangebuyer:v1.4, adexchangeseller:v1.1, adexchangeseller:v2.0, adexperiencereport:v1, admin:datatransfer_v1, admin:directory_v1, admin:reports_v1, adsense:v1.4, adsensehost:v4.1, analytics:v3, analyticsreporting:v4, androiddeviceprovisioning:v1, androidenterprise:v1, androidmanagement:v1, androidpublisher:v2, appengine:v1, appsactivity:v1, appstate:v1, bigquery:v2, bigquerydatatransfer:v1, blogger:v3, books:v1, calendar:v3, civicinfo:v2, classroom:v1, cloudbilling:v1, cloudbuild:v1, clouddebugger:v2, cloudfunctions:v1, cloudiot:v1, cloudkms:v1, cloudresourcemanager:v1, cloudresourcemanager:v2beta1, cloudtrace:v1, cloudtrace:v2, compute:v1, consumersurveys:v2, container:v1, content:v2, content:v2sandbox, customsearch:v1, dataproc:v1, datastore:v1, deploymentmanager:v2, dfareporting:v2.8, dfareporting:v3.0, discovery:v1, dns:v1, doubleclickbidmanager:v1, doubleclicksearch:v2, drive:v2, drive:v3, firebasedynamiclinks:v1, firebaseremoteconfig:v1, firebaserules:v1, fitness:v1, fusiontables:v1, fusiontables:v2, games:v1, gamesConfiguration:v1configuration, gamesManagement:v1management, genomics:v1, gmail:v1, groupsmigration:v1, groupssettings:v1, iam:v1, identitytoolkit:v3, kgsearch:v1, language:v1, licensing:v1, logging:v2, manufacturers:v1, mirror:v1, ml:v1, monitoring:v3, oauth2:v2, oslogin:v1, pagespeedonline:v1, pagespeedonline:v2, partners:v2, people:v1, playcustomapp:v1, plus:v1, plusDomains:v1, poly:v1, prediction:v1.6, pubsub:v1, reseller:v1, runtimeconfig:v1, safebrowsing:v4, script:v1, searchconsole:v1, serviceconsumermanagement:v1, servicecontrol:v1, servicemanagement:v1, serviceuser:v1, sheets:v4, siteVerification:v1, slides:v1, sourcerepo:v1, spanner:v1, speech:v1, storage:v1, storagetransfer:v1, streetviewpublish:v1, surveys:v2, tagmanager:v1, tagmanager:v2, tasks:v1, testing:v1, translate:v2, urlshortener:v1, vault:v1, vision:v1, webfonts:v1, webmasters:v3, youtube:v3, youtubeAnalytics:v1, youtubereporting:v1"
homepage: http://www.dartlang.org/googleapis/
environment:
sdk: '>=1.22.0 <2.0.0'
diff --git a/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart b/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart
index ac2e761..9c2e443 100644
--- a/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart
+++ b/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart
@@ -96,14 +96,14 @@
buildCounterAmpUrlError--;
}
-buildUnnamed1291() {
+buildUnnamed1298() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1291(core.List<core.String> o) {
+checkUnnamed1298(core.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 = buildUnnamed1291();
+ o.urls = buildUnnamed1298();
}
buildCounterBatchGetAmpUrlsRequest--;
return o;
@@ -125,32 +125,32 @@
buildCounterBatchGetAmpUrlsRequest++;
if (buildCounterBatchGetAmpUrlsRequest < 3) {
unittest.expect(o.lookupStrategy, unittest.equals('foo'));
- checkUnnamed1291(o.urls);
+ checkUnnamed1298(o.urls);
}
buildCounterBatchGetAmpUrlsRequest--;
}
-buildUnnamed1292() {
+buildUnnamed1299() {
var o = new core.List<api.AmpUrl>();
o.add(buildAmpUrl());
o.add(buildAmpUrl());
return o;
}
-checkUnnamed1292(core.List<api.AmpUrl> o) {
+checkUnnamed1299(core.List<api.AmpUrl> o) {
unittest.expect(o, unittest.hasLength(2));
checkAmpUrl(o[0]);
checkAmpUrl(o[1]);
}
-buildUnnamed1293() {
+buildUnnamed1300() {
var o = new core.List<api.AmpUrlError>();
o.add(buildAmpUrlError());
o.add(buildAmpUrlError());
return o;
}
-checkUnnamed1293(core.List<api.AmpUrlError> o) {
+checkUnnamed1300(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 = buildUnnamed1292();
- o.urlErrors = buildUnnamed1293();
+ o.ampUrls = buildUnnamed1299();
+ o.urlErrors = buildUnnamed1300();
}
buildCounterBatchGetAmpUrlsResponse--;
return o;
@@ -171,8 +171,8 @@
checkBatchGetAmpUrlsResponse(api.BatchGetAmpUrlsResponse o) {
buildCounterBatchGetAmpUrlsResponse++;
if (buildCounterBatchGetAmpUrlsResponse < 3) {
- checkUnnamed1292(o.ampUrls);
- checkUnnamed1293(o.urlErrors);
+ checkUnnamed1299(o.ampUrls);
+ checkUnnamed1300(o.urlErrors);
}
buildCounterBatchGetAmpUrlsResponse--;
}
diff --git a/generated/googleapis/test/adexchangebuyer/v1_3_test.dart b/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
index 904135b..179585a 100644
--- a/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
+++ b/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
@@ -73,14 +73,14 @@
buildCounterAccountBidderLocation--;
}
-buildUnnamed990() {
+buildUnnamed997() {
var o = new core.List<api.AccountBidderLocation>();
o.add(buildAccountBidderLocation());
o.add(buildAccountBidderLocation());
return o;
}
-checkUnnamed990(core.List<api.AccountBidderLocation> o) {
+checkUnnamed997(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 = buildUnnamed990();
+ o.bidderLocation = buildUnnamed997();
o.cookieMatchingNid = "foo";
o.cookieMatchingUrl = "foo";
o.id = 42;
@@ -107,7 +107,7 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed990(o.bidderLocation);
+ checkUnnamed997(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--;
}
-buildUnnamed991() {
+buildUnnamed998() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed991(core.List<api.Account> o) {
+checkUnnamed998(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 = buildUnnamed991();
+ o.items = buildUnnamed998();
o.kind = "foo";
}
buildCounterAccountsList--;
@@ -147,20 +147,20 @@
checkAccountsList(api.AccountsList o) {
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- checkUnnamed991(o.items);
+ checkUnnamed998(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsList--;
}
-buildUnnamed992() {
+buildUnnamed999() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed992(core.List<core.String> 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'));
@@ -173,7 +173,7 @@
if (buildCounterBillingInfo < 3) {
o.accountId = 42;
o.accountName = "foo";
- o.billingId = buildUnnamed992();
+ o.billingId = buildUnnamed999();
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'));
- checkUnnamed992(o.billingId);
+ checkUnnamed999(o.billingId);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfo--;
}
-buildUnnamed993() {
+buildUnnamed1000() {
var o = new core.List<api.BillingInfo>();
o.add(buildBillingInfo());
o.add(buildBillingInfo());
return o;
}
-checkUnnamed993(core.List<api.BillingInfo> o) {
+checkUnnamed1000(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 = buildUnnamed993();
+ o.items = buildUnnamed1000();
o.kind = "foo";
}
buildCounterBillingInfoList--;
@@ -219,7 +219,7 @@
checkBillingInfoList(api.BillingInfoList o) {
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- checkUnnamed993(o.items);
+ checkUnnamed1000(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfoList--;
@@ -254,53 +254,53 @@
buildCounterBudget--;
}
-buildUnnamed994() {
+buildUnnamed1001() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed994(core.List<core.String> o) {
+checkUnnamed1001(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed995() {
+buildUnnamed1002() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed995(core.List<core.int> o) {
+checkUnnamed1002(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));
}
-buildUnnamed996() {
+buildUnnamed1003() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed996(core.List<core.String> o) {
+checkUnnamed1003(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed997() {
+buildUnnamed1004() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed997(core.List<core.String> o) {
+checkUnnamed1004(core.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 @@
var o = new api.CreativeCorrections();
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- o.details = buildUnnamed997();
+ o.details = buildUnnamed1004();
o.reason = "foo";
}
buildCounterCreativeCorrections--;
@@ -321,33 +321,33 @@
checkCreativeCorrections(api.CreativeCorrections o) {
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- checkUnnamed997(o.details);
+ checkUnnamed1004(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeCorrections--;
}
-buildUnnamed998() {
+buildUnnamed1005() {
var o = new core.List<api.CreativeCorrections>();
o.add(buildCreativeCorrections());
o.add(buildCreativeCorrections());
return o;
}
-checkUnnamed998(core.List<api.CreativeCorrections> o) {
+checkUnnamed1005(core.List<api.CreativeCorrections> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCorrections(o[0]);
checkCreativeCorrections(o[1]);
}
-buildUnnamed999() {
+buildUnnamed1006() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed999(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'));
@@ -358,7 +358,7 @@
var o = new api.CreativeDisapprovalReasons();
buildCounterCreativeDisapprovalReasons++;
if (buildCounterCreativeDisapprovalReasons < 3) {
- o.details = buildUnnamed999();
+ o.details = buildUnnamed1006();
o.reason = "foo";
}
buildCounterCreativeDisapprovalReasons--;
@@ -368,20 +368,20 @@
checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) {
buildCounterCreativeDisapprovalReasons++;
if (buildCounterCreativeDisapprovalReasons < 3) {
- checkUnnamed999(o.details);
+ checkUnnamed1006(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeDisapprovalReasons--;
}
-buildUnnamed1000() {
+buildUnnamed1007() {
var o = new core.List<api.CreativeDisapprovalReasons>();
o.add(buildCreativeDisapprovalReasons());
o.add(buildCreativeDisapprovalReasons());
return o;
}
-checkUnnamed1000(core.List<api.CreativeDisapprovalReasons> o) {
+checkUnnamed1007(core.List<api.CreativeDisapprovalReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeDisapprovalReasons(o[0]);
checkCreativeDisapprovalReasons(o[1]);
@@ -408,14 +408,14 @@
buildCounterCreativeFilteringReasonsReasons--;
}
-buildUnnamed1001() {
+buildUnnamed1008() {
var o = new core.List<api.CreativeFilteringReasonsReasons>();
o.add(buildCreativeFilteringReasonsReasons());
o.add(buildCreativeFilteringReasonsReasons());
return o;
}
-checkUnnamed1001(core.List<api.CreativeFilteringReasonsReasons> o) {
+checkUnnamed1008(core.List<api.CreativeFilteringReasonsReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFilteringReasonsReasons(o[0]);
checkCreativeFilteringReasonsReasons(o[1]);
@@ -427,7 +427,7 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
o.date = "foo";
- o.reasons = buildUnnamed1001();
+ o.reasons = buildUnnamed1008();
}
buildCounterCreativeFilteringReasons--;
return o;
@@ -437,19 +437,19 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
unittest.expect(o.date, unittest.equals('foo'));
- checkUnnamed1001(o.reasons);
+ checkUnnamed1008(o.reasons);
}
buildCounterCreativeFilteringReasons--;
}
-buildUnnamed1002() {
+buildUnnamed1009() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1002(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'));
@@ -501,14 +501,14 @@
buildCounterCreativeNativeAdImage--;
}
-buildUnnamed1003() {
+buildUnnamed1010() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1003(core.List<core.String> 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'));
@@ -549,7 +549,7 @@
o.clickTrackingUrl = "foo";
o.headline = "foo";
o.image = buildCreativeNativeAdImage();
- o.impressionTrackingUrl = buildUnnamed1003();
+ o.impressionTrackingUrl = buildUnnamed1010();
o.logo = buildCreativeNativeAdLogo();
o.price = "foo";
o.starRating = 42.0;
@@ -569,7 +569,7 @@
unittest.expect(o.clickTrackingUrl, unittest.equals('foo'));
unittest.expect(o.headline, unittest.equals('foo'));
checkCreativeNativeAdImage(o.image);
- checkUnnamed1003(o.impressionTrackingUrl);
+ checkUnnamed1010(o.impressionTrackingUrl);
checkCreativeNativeAdLogo(o.logo);
unittest.expect(o.price, unittest.equals('foo'));
unittest.expect(o.starRating, unittest.equals(42.0));
@@ -578,53 +578,53 @@
buildCounterCreativeNativeAd--;
}
-buildUnnamed1004() {
+buildUnnamed1011() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1004(core.List<core.int> o) {
+checkUnnamed1011(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));
}
-buildUnnamed1005() {
+buildUnnamed1012() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1005(core.List<core.int> o) {
+checkUnnamed1012(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));
}
-buildUnnamed1006() {
+buildUnnamed1013() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1006(core.List<core.int> o) {
+checkUnnamed1013(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));
}
-buildUnnamed1007() {
+buildUnnamed1014() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1007(core.List<core.int> o) {
+checkUnnamed1014(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));
@@ -637,25 +637,25 @@
if (buildCounterCreative < 3) {
o.HTMLSnippet = "foo";
o.accountId = 42;
- o.advertiserId = buildUnnamed994();
+ o.advertiserId = buildUnnamed1001();
o.advertiserName = "foo";
o.agencyId = "foo";
o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02");
- o.attribute = buildUnnamed995();
+ o.attribute = buildUnnamed1002();
o.buyerCreativeId = "foo";
- o.clickThroughUrl = buildUnnamed996();
- o.corrections = buildUnnamed998();
- o.disapprovalReasons = buildUnnamed1000();
+ o.clickThroughUrl = buildUnnamed1003();
+ o.corrections = buildUnnamed1005();
+ o.disapprovalReasons = buildUnnamed1007();
o.filteringReasons = buildCreativeFilteringReasons();
o.height = 42;
- o.impressionTrackingUrl = buildUnnamed1002();
+ o.impressionTrackingUrl = buildUnnamed1009();
o.kind = "foo";
o.nativeAd = buildCreativeNativeAd();
- o.productCategories = buildUnnamed1004();
- o.restrictedCategories = buildUnnamed1005();
- o.sensitiveCategories = buildUnnamed1006();
+ o.productCategories = buildUnnamed1011();
+ o.restrictedCategories = buildUnnamed1012();
+ o.sensitiveCategories = buildUnnamed1013();
o.status = "foo";
- o.vendorType = buildUnnamed1007();
+ o.vendorType = buildUnnamed1014();
o.version = 42;
o.videoURL = "foo";
o.width = 42;
@@ -669,26 +669,26 @@
if (buildCounterCreative < 3) {
unittest.expect(o.HTMLSnippet, unittest.equals('foo'));
unittest.expect(o.accountId, unittest.equals(42));
- checkUnnamed994(o.advertiserId);
+ checkUnnamed1001(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")));
- checkUnnamed995(o.attribute);
+ checkUnnamed1002(o.attribute);
unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
- checkUnnamed996(o.clickThroughUrl);
- checkUnnamed998(o.corrections);
- checkUnnamed1000(o.disapprovalReasons);
+ checkUnnamed1003(o.clickThroughUrl);
+ checkUnnamed1005(o.corrections);
+ checkUnnamed1007(o.disapprovalReasons);
checkCreativeFilteringReasons(o.filteringReasons);
unittest.expect(o.height, unittest.equals(42));
- checkUnnamed1002(o.impressionTrackingUrl);
+ checkUnnamed1009(o.impressionTrackingUrl);
unittest.expect(o.kind, unittest.equals('foo'));
checkCreativeNativeAd(o.nativeAd);
- checkUnnamed1004(o.productCategories);
- checkUnnamed1005(o.restrictedCategories);
- checkUnnamed1006(o.sensitiveCategories);
+ checkUnnamed1011(o.productCategories);
+ checkUnnamed1012(o.restrictedCategories);
+ checkUnnamed1013(o.sensitiveCategories);
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed1007(o.vendorType);
+ checkUnnamed1014(o.vendorType);
unittest.expect(o.version, unittest.equals(42));
unittest.expect(o.videoURL, unittest.equals('foo'));
unittest.expect(o.width, unittest.equals(42));
@@ -696,14 +696,14 @@
buildCounterCreative--;
}
-buildUnnamed1008() {
+buildUnnamed1015() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed1008(core.List<api.Creative> o) {
+checkUnnamed1015(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -714,7 +714,7 @@
var o = new api.CreativesList();
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- o.items = buildUnnamed1008();
+ o.items = buildUnnamed1015();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -725,7 +725,7 @@
checkCreativesList(api.CreativesList o) {
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- checkUnnamed1008(o.items);
+ checkUnnamed1015(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -779,14 +779,14 @@
buildCounterDirectDeal--;
}
-buildUnnamed1009() {
+buildUnnamed1016() {
var o = new core.List<api.DirectDeal>();
o.add(buildDirectDeal());
o.add(buildDirectDeal());
return o;
}
-checkUnnamed1009(core.List<api.DirectDeal> o) {
+checkUnnamed1016(core.List<api.DirectDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectDeal(o[0]);
checkDirectDeal(o[1]);
@@ -797,7 +797,7 @@
var o = new api.DirectDealsList();
buildCounterDirectDealsList++;
if (buildCounterDirectDealsList < 3) {
- o.directDeals = buildUnnamed1009();
+ o.directDeals = buildUnnamed1016();
o.kind = "foo";
}
buildCounterDirectDealsList--;
@@ -807,13 +807,13 @@
checkDirectDealsList(api.DirectDealsList o) {
buildCounterDirectDealsList++;
if (buildCounterDirectDealsList < 3) {
- checkUnnamed1009(o.directDeals);
+ checkUnnamed1016(o.directDeals);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDirectDealsList--;
}
-buildUnnamed1010() {
+buildUnnamed1017() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -828,7 +828,7 @@
return o;
}
-checkUnnamed1010(core.List<core.Object> o) {
+checkUnnamed1017(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -842,7 +842,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1011() {
+buildUnnamed1018() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -857,7 +857,7 @@
return o;
}
-checkUnnamed1011(core.List<core.Object> o) {
+checkUnnamed1018(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -871,7 +871,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed1012() {
+buildUnnamed1019() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -886,7 +886,7 @@
return o;
}
-checkUnnamed1012(core.List<core.Object> o) {
+checkUnnamed1019(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -900,7 +900,7 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed1013() {
+buildUnnamed1020() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -915,7 +915,7 @@
return o;
}
-checkUnnamed1013(core.List<core.Object> o) {
+checkUnnamed1020(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o[0]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -936,11 +936,11 @@
if (buildCounterPerformanceReport < 3) {
o.bidRate = 42.0;
o.bidRequestRate = 42.0;
- o.calloutStatusRate = buildUnnamed1010();
- o.cookieMatcherStatusRate = buildUnnamed1011();
- o.creativeStatusRate = buildUnnamed1012();
+ o.calloutStatusRate = buildUnnamed1017();
+ o.cookieMatcherStatusRate = buildUnnamed1018();
+ o.creativeStatusRate = buildUnnamed1019();
o.filteredBidRate = 42.0;
- o.hostedMatchStatusRate = buildUnnamed1013();
+ o.hostedMatchStatusRate = buildUnnamed1020();
o.inventoryMatchRate = 42.0;
o.kind = "foo";
o.latency50thPercentile = 42.0;
@@ -966,11 +966,11 @@
if (buildCounterPerformanceReport < 3) {
unittest.expect(o.bidRate, unittest.equals(42.0));
unittest.expect(o.bidRequestRate, unittest.equals(42.0));
- checkUnnamed1010(o.calloutStatusRate);
- checkUnnamed1011(o.cookieMatcherStatusRate);
- checkUnnamed1012(o.creativeStatusRate);
+ checkUnnamed1017(o.calloutStatusRate);
+ checkUnnamed1018(o.cookieMatcherStatusRate);
+ checkUnnamed1019(o.creativeStatusRate);
unittest.expect(o.filteredBidRate, unittest.equals(42.0));
- checkUnnamed1013(o.hostedMatchStatusRate);
+ checkUnnamed1020(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));
@@ -990,14 +990,14 @@
buildCounterPerformanceReport--;
}
-buildUnnamed1014() {
+buildUnnamed1021() {
var o = new core.List<api.PerformanceReport>();
o.add(buildPerformanceReport());
o.add(buildPerformanceReport());
return o;
}
-checkUnnamed1014(core.List<api.PerformanceReport> o) {
+checkUnnamed1021(core.List<api.PerformanceReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerformanceReport(o[0]);
checkPerformanceReport(o[1]);
@@ -1009,7 +1009,7 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
o.kind = "foo";
- o.performanceReport = buildUnnamed1014();
+ o.performanceReport = buildUnnamed1021();
}
buildCounterPerformanceReportList--;
return o;
@@ -1019,19 +1019,19 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1014(o.performanceReport);
+ checkUnnamed1021(o.performanceReport);
}
buildCounterPerformanceReportList--;
}
-buildUnnamed1015() {
+buildUnnamed1022() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1015(core.List<core.String> o) {
+checkUnnamed1022(core.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,132 +1058,19 @@
buildCounterPretargetingConfigDimensions--;
}
-buildUnnamed1016() {
+buildUnnamed1023() {
var o = new core.List<api.PretargetingConfigDimensions>();
o.add(buildPretargetingConfigDimensions());
o.add(buildPretargetingConfigDimensions());
return o;
}
-checkUnnamed1016(core.List<api.PretargetingConfigDimensions> o) {
+checkUnnamed1023(core.List<api.PretargetingConfigDimensions> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigDimensions(o[0]);
checkPretargetingConfigDimensions(o[1]);
}
-buildUnnamed1017() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1017(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-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 buildCounterPretargetingConfigExcludedPlacements = 0;
-buildPretargetingConfigExcludedPlacements() {
- var o = new api.PretargetingConfigExcludedPlacements();
- buildCounterPretargetingConfigExcludedPlacements++;
- if (buildCounterPretargetingConfigExcludedPlacements < 3) {
- o.token = "foo";
- o.type = "foo";
- }
- buildCounterPretargetingConfigExcludedPlacements--;
- return o;
-}
-
-checkPretargetingConfigExcludedPlacements(
- api.PretargetingConfigExcludedPlacements o) {
- buildCounterPretargetingConfigExcludedPlacements++;
- if (buildCounterPretargetingConfigExcludedPlacements < 3) {
- unittest.expect(o.token, unittest.equals('foo'));
- unittest.expect(o.type, unittest.equals('foo'));
- }
- buildCounterPretargetingConfigExcludedPlacements--;
-}
-
-buildUnnamed1019() {
- var o = new core.List<api.PretargetingConfigExcludedPlacements>();
- o.add(buildPretargetingConfigExcludedPlacements());
- o.add(buildPretargetingConfigExcludedPlacements());
- return o;
-}
-
-checkUnnamed1019(core.List<api.PretargetingConfigExcludedPlacements> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkPretargetingConfigExcludedPlacements(o[0]);
- checkPretargetingConfigExcludedPlacements(o[1]);
-}
-
-buildUnnamed1020() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1020(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-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'));
-}
-
-buildUnnamed1022() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1022(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1023() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
buildUnnamed1024() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1210,53 +1097,54 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterPretargetingConfigExcludedPlacements = 0;
+buildPretargetingConfigExcludedPlacements() {
+ var o = new api.PretargetingConfigExcludedPlacements();
+ buildCounterPretargetingConfigExcludedPlacements++;
+ if (buildCounterPretargetingConfigExcludedPlacements < 3) {
+ o.token = "foo";
+ o.type = "foo";
+ }
+ buildCounterPretargetingConfigExcludedPlacements--;
+ return o;
+}
+
+checkPretargetingConfigExcludedPlacements(
+ api.PretargetingConfigExcludedPlacements o) {
+ buildCounterPretargetingConfigExcludedPlacements++;
+ if (buildCounterPretargetingConfigExcludedPlacements < 3) {
+ unittest.expect(o.token, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterPretargetingConfigExcludedPlacements--;
+}
+
buildUnnamed1026() {
+ var o = new core.List<api.PretargetingConfigExcludedPlacements>();
+ o.add(buildPretargetingConfigExcludedPlacements());
+ o.add(buildPretargetingConfigExcludedPlacements());
+ return o;
+}
+
+checkUnnamed1026(core.List<api.PretargetingConfigExcludedPlacements> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPretargetingConfigExcludedPlacements(o[0]);
+ checkPretargetingConfigExcludedPlacements(o[1]);
+}
+
+buildUnnamed1027() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1026(core.List<core.String> o) {
+checkUnnamed1027(core.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();
- buildCounterPretargetingConfigPlacements++;
- if (buildCounterPretargetingConfigPlacements < 3) {
- o.token = "foo";
- o.type = "foo";
- }
- buildCounterPretargetingConfigPlacements--;
- return o;
-}
-
-checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
- buildCounterPretargetingConfigPlacements++;
- if (buildCounterPretargetingConfigPlacements < 3) {
- unittest.expect(o.token, unittest.equals('foo'));
- unittest.expect(o.type, unittest.equals('foo'));
- }
- buildCounterPretargetingConfigPlacements--;
-}
-
-buildUnnamed1027() {
- var o = new core.List<api.PretargetingConfigPlacements>();
- o.add(buildPretargetingConfigPlacements());
- o.add(buildPretargetingConfigPlacements());
- return o;
-}
-
-checkUnnamed1027(core.List<api.PretargetingConfigPlacements> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkPretargetingConfigPlacements(o[0]);
- checkPretargetingConfigPlacements(o[1]);
-}
-
buildUnnamed1028() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1322,6 +1210,118 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1033() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1033(core.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();
+ buildCounterPretargetingConfigPlacements++;
+ if (buildCounterPretargetingConfigPlacements < 3) {
+ o.token = "foo";
+ o.type = "foo";
+ }
+ buildCounterPretargetingConfigPlacements--;
+ return o;
+}
+
+checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
+ buildCounterPretargetingConfigPlacements++;
+ if (buildCounterPretargetingConfigPlacements < 3) {
+ unittest.expect(o.token, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterPretargetingConfigPlacements--;
+}
+
+buildUnnamed1034() {
+ var o = new core.List<api.PretargetingConfigPlacements>();
+ o.add(buildPretargetingConfigPlacements());
+ o.add(buildPretargetingConfigPlacements());
+ return o;
+}
+
+checkUnnamed1034(core.List<api.PretargetingConfigPlacements> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPretargetingConfigPlacements(o[0]);
+ checkPretargetingConfigPlacements(o[1]);
+}
+
+buildUnnamed1035() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1035(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1036() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1036(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1037() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1037(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1038() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1038(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+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 buildCounterPretargetingConfig = 0;
buildPretargetingConfig() {
var o = new api.PretargetingConfig();
@@ -1330,26 +1330,26 @@
o.billingId = "foo";
o.configId = "foo";
o.configName = "foo";
- o.creativeType = buildUnnamed1015();
- o.dimensions = buildUnnamed1016();
- o.excludedContentLabels = buildUnnamed1017();
- o.excludedGeoCriteriaIds = buildUnnamed1018();
- o.excludedPlacements = buildUnnamed1019();
- o.excludedUserLists = buildUnnamed1020();
- o.excludedVerticals = buildUnnamed1021();
- o.geoCriteriaIds = buildUnnamed1022();
+ o.creativeType = buildUnnamed1022();
+ o.dimensions = buildUnnamed1023();
+ o.excludedContentLabels = buildUnnamed1024();
+ o.excludedGeoCriteriaIds = buildUnnamed1025();
+ o.excludedPlacements = buildUnnamed1026();
+ o.excludedUserLists = buildUnnamed1027();
+ o.excludedVerticals = buildUnnamed1028();
+ o.geoCriteriaIds = buildUnnamed1029();
o.isActive = true;
o.kind = "foo";
- o.languages = buildUnnamed1023();
- o.mobileCarriers = buildUnnamed1024();
- o.mobileDevices = buildUnnamed1025();
- o.mobileOperatingSystemVersions = buildUnnamed1026();
- o.placements = buildUnnamed1027();
- o.platforms = buildUnnamed1028();
- o.supportedCreativeAttributes = buildUnnamed1029();
- o.userLists = buildUnnamed1030();
- o.vendorTypes = buildUnnamed1031();
- o.verticals = buildUnnamed1032();
+ o.languages = buildUnnamed1030();
+ o.mobileCarriers = buildUnnamed1031();
+ o.mobileDevices = buildUnnamed1032();
+ o.mobileOperatingSystemVersions = buildUnnamed1033();
+ o.placements = buildUnnamed1034();
+ o.platforms = buildUnnamed1035();
+ o.supportedCreativeAttributes = buildUnnamed1036();
+ o.userLists = buildUnnamed1037();
+ o.vendorTypes = buildUnnamed1038();
+ o.verticals = buildUnnamed1039();
}
buildCounterPretargetingConfig--;
return o;
@@ -1361,38 +1361,38 @@
unittest.expect(o.billingId, unittest.equals('foo'));
unittest.expect(o.configId, unittest.equals('foo'));
unittest.expect(o.configName, unittest.equals('foo'));
- checkUnnamed1015(o.creativeType);
- checkUnnamed1016(o.dimensions);
- checkUnnamed1017(o.excludedContentLabels);
- checkUnnamed1018(o.excludedGeoCriteriaIds);
- checkUnnamed1019(o.excludedPlacements);
- checkUnnamed1020(o.excludedUserLists);
- checkUnnamed1021(o.excludedVerticals);
- checkUnnamed1022(o.geoCriteriaIds);
+ checkUnnamed1022(o.creativeType);
+ checkUnnamed1023(o.dimensions);
+ checkUnnamed1024(o.excludedContentLabels);
+ checkUnnamed1025(o.excludedGeoCriteriaIds);
+ checkUnnamed1026(o.excludedPlacements);
+ checkUnnamed1027(o.excludedUserLists);
+ checkUnnamed1028(o.excludedVerticals);
+ checkUnnamed1029(o.geoCriteriaIds);
unittest.expect(o.isActive, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1023(o.languages);
- checkUnnamed1024(o.mobileCarriers);
- checkUnnamed1025(o.mobileDevices);
- checkUnnamed1026(o.mobileOperatingSystemVersions);
- checkUnnamed1027(o.placements);
- checkUnnamed1028(o.platforms);
- checkUnnamed1029(o.supportedCreativeAttributes);
- checkUnnamed1030(o.userLists);
- checkUnnamed1031(o.vendorTypes);
- checkUnnamed1032(o.verticals);
+ checkUnnamed1030(o.languages);
+ checkUnnamed1031(o.mobileCarriers);
+ checkUnnamed1032(o.mobileDevices);
+ checkUnnamed1033(o.mobileOperatingSystemVersions);
+ checkUnnamed1034(o.placements);
+ checkUnnamed1035(o.platforms);
+ checkUnnamed1036(o.supportedCreativeAttributes);
+ checkUnnamed1037(o.userLists);
+ checkUnnamed1038(o.vendorTypes);
+ checkUnnamed1039(o.verticals);
}
buildCounterPretargetingConfig--;
}
-buildUnnamed1033() {
+buildUnnamed1040() {
var o = new core.List<api.PretargetingConfig>();
o.add(buildPretargetingConfig());
o.add(buildPretargetingConfig());
return o;
}
-checkUnnamed1033(core.List<api.PretargetingConfig> o) {
+checkUnnamed1040(core.List<api.PretargetingConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfig(o[0]);
checkPretargetingConfig(o[1]);
@@ -1403,7 +1403,7 @@
var o = new api.PretargetingConfigList();
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- o.items = buildUnnamed1033();
+ o.items = buildUnnamed1040();
o.kind = "foo";
}
buildCounterPretargetingConfigList--;
@@ -1413,33 +1413,33 @@
checkPretargetingConfigList(api.PretargetingConfigList o) {
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- checkUnnamed1033(o.items);
+ checkUnnamed1040(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPretargetingConfigList--;
}
-buildUnnamed1034() {
+buildUnnamed1041() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1034(core.List<core.int> o) {
+checkUnnamed1041(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));
}
-buildUnnamed1035() {
+buildUnnamed1042() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1035(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'));
@@ -2325,8 +2325,8 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
- var arg_accountId = buildUnnamed1034();
- var arg_buyerCreativeId = buildUnnamed1035();
+ var arg_accountId = buildUnnamed1041();
+ var arg_buyerCreativeId = buildUnnamed1042();
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 f24b229..6680ef3 100644
--- a/generated/googleapis/test/adexchangebuyer/v1_4_test.dart
+++ b/generated/googleapis/test/adexchangebuyer/v1_4_test.dart
@@ -75,14 +75,14 @@
buildCounterAccountBidderLocation--;
}
-buildUnnamed2068() {
+buildUnnamed2082() {
var o = new core.List<api.AccountBidderLocation>();
o.add(buildAccountBidderLocation());
o.add(buildAccountBidderLocation());
return o;
}
-checkUnnamed2068(core.List<api.AccountBidderLocation> o) {
+checkUnnamed2082(core.List<api.AccountBidderLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountBidderLocation(o[0]);
checkAccountBidderLocation(o[1]);
@@ -93,7 +93,7 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.bidderLocation = buildUnnamed2068();
+ o.bidderLocation = buildUnnamed2082();
o.cookieMatchingNid = "foo";
o.cookieMatchingUrl = "foo";
o.id = 42;
@@ -109,7 +109,7 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed2068(o.bidderLocation);
+ checkUnnamed2082(o.bidderLocation);
unittest.expect(o.cookieMatchingNid, unittest.equals('foo'));
unittest.expect(o.cookieMatchingUrl, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals(42));
@@ -121,14 +121,14 @@
buildCounterAccount--;
}
-buildUnnamed2069() {
+buildUnnamed2083() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed2069(core.List<api.Account> o) {
+checkUnnamed2083(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -139,7 +139,7 @@
var o = new api.AccountsList();
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- o.items = buildUnnamed2069();
+ o.items = buildUnnamed2083();
o.kind = "foo";
}
buildCounterAccountsList--;
@@ -149,20 +149,20 @@
checkAccountsList(api.AccountsList o) {
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- checkUnnamed2069(o.items);
+ checkUnnamed2083(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsList--;
}
-buildUnnamed2070() {
+buildUnnamed2084() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed2070(core.List<api.MarketplaceDeal> o) {
+checkUnnamed2084(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -173,7 +173,7 @@
var o = new api.AddOrderDealsRequest();
buildCounterAddOrderDealsRequest++;
if (buildCounterAddOrderDealsRequest < 3) {
- o.deals = buildUnnamed2070();
+ o.deals = buildUnnamed2084();
o.proposalRevisionNumber = "foo";
o.updateAction = "foo";
}
@@ -184,21 +184,21 @@
checkAddOrderDealsRequest(api.AddOrderDealsRequest o) {
buildCounterAddOrderDealsRequest++;
if (buildCounterAddOrderDealsRequest < 3) {
- checkUnnamed2070(o.deals);
+ checkUnnamed2084(o.deals);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
unittest.expect(o.updateAction, unittest.equals('foo'));
}
buildCounterAddOrderDealsRequest--;
}
-buildUnnamed2071() {
+buildUnnamed2085() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed2071(core.List<api.MarketplaceDeal> o) {
+checkUnnamed2085(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -209,7 +209,7 @@
var o = new api.AddOrderDealsResponse();
buildCounterAddOrderDealsResponse++;
if (buildCounterAddOrderDealsResponse < 3) {
- o.deals = buildUnnamed2071();
+ o.deals = buildUnnamed2085();
o.proposalRevisionNumber = "foo";
}
buildCounterAddOrderDealsResponse--;
@@ -219,20 +219,20 @@
checkAddOrderDealsResponse(api.AddOrderDealsResponse o) {
buildCounterAddOrderDealsResponse++;
if (buildCounterAddOrderDealsResponse < 3) {
- checkUnnamed2071(o.deals);
+ checkUnnamed2085(o.deals);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
}
buildCounterAddOrderDealsResponse--;
}
-buildUnnamed2072() {
+buildUnnamed2086() {
var o = new core.List<api.MarketplaceNote>();
o.add(buildMarketplaceNote());
o.add(buildMarketplaceNote());
return o;
}
-checkUnnamed2072(core.List<api.MarketplaceNote> o) {
+checkUnnamed2086(core.List<api.MarketplaceNote> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceNote(o[0]);
checkMarketplaceNote(o[1]);
@@ -243,7 +243,7 @@
var o = new api.AddOrderNotesRequest();
buildCounterAddOrderNotesRequest++;
if (buildCounterAddOrderNotesRequest < 3) {
- o.notes = buildUnnamed2072();
+ o.notes = buildUnnamed2086();
}
buildCounterAddOrderNotesRequest--;
return o;
@@ -252,19 +252,19 @@
checkAddOrderNotesRequest(api.AddOrderNotesRequest o) {
buildCounterAddOrderNotesRequest++;
if (buildCounterAddOrderNotesRequest < 3) {
- checkUnnamed2072(o.notes);
+ checkUnnamed2086(o.notes);
}
buildCounterAddOrderNotesRequest--;
}
-buildUnnamed2073() {
+buildUnnamed2087() {
var o = new core.List<api.MarketplaceNote>();
o.add(buildMarketplaceNote());
o.add(buildMarketplaceNote());
return o;
}
-checkUnnamed2073(core.List<api.MarketplaceNote> o) {
+checkUnnamed2087(core.List<api.MarketplaceNote> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceNote(o[0]);
checkMarketplaceNote(o[1]);
@@ -275,7 +275,7 @@
var o = new api.AddOrderNotesResponse();
buildCounterAddOrderNotesResponse++;
if (buildCounterAddOrderNotesResponse < 3) {
- o.notes = buildUnnamed2073();
+ o.notes = buildUnnamed2087();
}
buildCounterAddOrderNotesResponse--;
return o;
@@ -284,19 +284,19 @@
checkAddOrderNotesResponse(api.AddOrderNotesResponse o) {
buildCounterAddOrderNotesResponse++;
if (buildCounterAddOrderNotesResponse < 3) {
- checkUnnamed2073(o.notes);
+ checkUnnamed2087(o.notes);
}
buildCounterAddOrderNotesResponse--;
}
-buildUnnamed2074() {
+buildUnnamed2088() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2074(core.List<core.String> o) {
+checkUnnamed2088(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -309,7 +309,7 @@
if (buildCounterBillingInfo < 3) {
o.accountId = 42;
o.accountName = "foo";
- o.billingId = buildUnnamed2074();
+ o.billingId = buildUnnamed2088();
o.kind = "foo";
}
buildCounterBillingInfo--;
@@ -321,20 +321,20 @@
if (buildCounterBillingInfo < 3) {
unittest.expect(o.accountId, unittest.equals(42));
unittest.expect(o.accountName, unittest.equals('foo'));
- checkUnnamed2074(o.billingId);
+ checkUnnamed2088(o.billingId);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfo--;
}
-buildUnnamed2075() {
+buildUnnamed2089() {
var o = new core.List<api.BillingInfo>();
o.add(buildBillingInfo());
o.add(buildBillingInfo());
return o;
}
-checkUnnamed2075(core.List<api.BillingInfo> o) {
+checkUnnamed2089(core.List<api.BillingInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingInfo(o[0]);
checkBillingInfo(o[1]);
@@ -345,7 +345,7 @@
var o = new api.BillingInfoList();
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- o.items = buildUnnamed2075();
+ o.items = buildUnnamed2089();
o.kind = "foo";
}
buildCounterBillingInfoList--;
@@ -355,7 +355,7 @@
checkBillingInfoList(api.BillingInfoList o) {
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- checkUnnamed2075(o.items);
+ checkUnnamed2089(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfoList--;
@@ -430,14 +430,14 @@
buildCounterContactInformation--;
}
-buildUnnamed2076() {
+buildUnnamed2090() {
var o = new core.List<api.Proposal>();
o.add(buildProposal());
o.add(buildProposal());
return o;
}
-checkUnnamed2076(core.List<api.Proposal> o) {
+checkUnnamed2090(core.List<api.Proposal> o) {
unittest.expect(o, unittest.hasLength(2));
checkProposal(o[0]);
checkProposal(o[1]);
@@ -448,7 +448,7 @@
var o = new api.CreateOrdersRequest();
buildCounterCreateOrdersRequest++;
if (buildCounterCreateOrdersRequest < 3) {
- o.proposals = buildUnnamed2076();
+ o.proposals = buildUnnamed2090();
o.webPropertyCode = "foo";
}
buildCounterCreateOrdersRequest--;
@@ -458,20 +458,20 @@
checkCreateOrdersRequest(api.CreateOrdersRequest o) {
buildCounterCreateOrdersRequest++;
if (buildCounterCreateOrdersRequest < 3) {
- checkUnnamed2076(o.proposals);
+ checkUnnamed2090(o.proposals);
unittest.expect(o.webPropertyCode, unittest.equals('foo'));
}
buildCounterCreateOrdersRequest--;
}
-buildUnnamed2077() {
+buildUnnamed2091() {
var o = new core.List<api.Proposal>();
o.add(buildProposal());
o.add(buildProposal());
return o;
}
-checkUnnamed2077(core.List<api.Proposal> o) {
+checkUnnamed2091(core.List<api.Proposal> o) {
unittest.expect(o, unittest.hasLength(2));
checkProposal(o[0]);
checkProposal(o[1]);
@@ -482,7 +482,7 @@
var o = new api.CreateOrdersResponse();
buildCounterCreateOrdersResponse++;
if (buildCounterCreateOrdersResponse < 3) {
- o.proposals = buildUnnamed2077();
+ o.proposals = buildUnnamed2091();
}
buildCounterCreateOrdersResponse--;
return o;
@@ -491,84 +491,84 @@
checkCreateOrdersResponse(api.CreateOrdersResponse o) {
buildCounterCreateOrdersResponse++;
if (buildCounterCreateOrdersResponse < 3) {
- checkUnnamed2077(o.proposals);
+ checkUnnamed2091(o.proposals);
}
buildCounterCreateOrdersResponse--;
}
-buildUnnamed2078() {
+buildUnnamed2092() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2078(core.List<core.String> o) {
+checkUnnamed2092(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2079() {
+buildUnnamed2093() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2079(core.List<core.int> o) {
+checkUnnamed2093(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));
}
-buildUnnamed2080() {
+buildUnnamed2094() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2080(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'));
}
-buildUnnamed2081() {
+buildUnnamed2095() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2081(core.List<core.String> o) {
+checkUnnamed2095(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2082() {
+buildUnnamed2096() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2082(core.List<core.int> o) {
+checkUnnamed2096(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));
}
-buildUnnamed2083() {
+buildUnnamed2097() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2083(core.List<core.String> o) {
+checkUnnamed2097(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -579,10 +579,10 @@
var o = new api.CreativeCorrectionsContexts();
buildCounterCreativeCorrectionsContexts++;
if (buildCounterCreativeCorrectionsContexts < 3) {
- o.auctionType = buildUnnamed2081();
+ o.auctionType = buildUnnamed2095();
o.contextType = "foo";
- o.geoCriteriaId = buildUnnamed2082();
- o.platform = buildUnnamed2083();
+ o.geoCriteriaId = buildUnnamed2096();
+ o.platform = buildUnnamed2097();
}
buildCounterCreativeCorrectionsContexts--;
return o;
@@ -591,35 +591,35 @@
checkCreativeCorrectionsContexts(api.CreativeCorrectionsContexts o) {
buildCounterCreativeCorrectionsContexts++;
if (buildCounterCreativeCorrectionsContexts < 3) {
- checkUnnamed2081(o.auctionType);
+ checkUnnamed2095(o.auctionType);
unittest.expect(o.contextType, unittest.equals('foo'));
- checkUnnamed2082(o.geoCriteriaId);
- checkUnnamed2083(o.platform);
+ checkUnnamed2096(o.geoCriteriaId);
+ checkUnnamed2097(o.platform);
}
buildCounterCreativeCorrectionsContexts--;
}
-buildUnnamed2084() {
+buildUnnamed2098() {
var o = new core.List<api.CreativeCorrectionsContexts>();
o.add(buildCreativeCorrectionsContexts());
o.add(buildCreativeCorrectionsContexts());
return o;
}
-checkUnnamed2084(core.List<api.CreativeCorrectionsContexts> o) {
+checkUnnamed2098(core.List<api.CreativeCorrectionsContexts> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCorrectionsContexts(o[0]);
checkCreativeCorrectionsContexts(o[1]);
}
-buildUnnamed2085() {
+buildUnnamed2099() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2085(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'));
@@ -630,8 +630,8 @@
var o = new api.CreativeCorrections();
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- o.contexts = buildUnnamed2084();
- o.details = buildUnnamed2085();
+ o.contexts = buildUnnamed2098();
+ o.details = buildUnnamed2099();
o.reason = "foo";
}
buildCounterCreativeCorrections--;
@@ -641,34 +641,34 @@
checkCreativeCorrections(api.CreativeCorrections o) {
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- checkUnnamed2084(o.contexts);
- checkUnnamed2085(o.details);
+ checkUnnamed2098(o.contexts);
+ checkUnnamed2099(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeCorrections--;
}
-buildUnnamed2086() {
+buildUnnamed2100() {
var o = new core.List<api.CreativeCorrections>();
o.add(buildCreativeCorrections());
o.add(buildCreativeCorrections());
return o;
}
-checkUnnamed2086(core.List<api.CreativeCorrections> o) {
+checkUnnamed2100(core.List<api.CreativeCorrections> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCorrections(o[0]);
checkCreativeCorrections(o[1]);
}
-buildUnnamed2087() {
+buildUnnamed2101() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2087(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'));
@@ -695,14 +695,14 @@
buildCounterCreativeFilteringReasonsReasons--;
}
-buildUnnamed2088() {
+buildUnnamed2102() {
var o = new core.List<api.CreativeFilteringReasonsReasons>();
o.add(buildCreativeFilteringReasonsReasons());
o.add(buildCreativeFilteringReasonsReasons());
return o;
}
-checkUnnamed2088(core.List<api.CreativeFilteringReasonsReasons> o) {
+checkUnnamed2102(core.List<api.CreativeFilteringReasonsReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFilteringReasonsReasons(o[0]);
checkCreativeFilteringReasonsReasons(o[1]);
@@ -714,7 +714,7 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
o.date = "foo";
- o.reasons = buildUnnamed2088();
+ o.reasons = buildUnnamed2102();
}
buildCounterCreativeFilteringReasons--;
return o;
@@ -724,32 +724,32 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
unittest.expect(o.date, unittest.equals('foo'));
- checkUnnamed2088(o.reasons);
+ checkUnnamed2102(o.reasons);
}
buildCounterCreativeFilteringReasons--;
}
-buildUnnamed2089() {
+buildUnnamed2103() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2089(core.List<core.String> o) {
+checkUnnamed2103(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2090() {
+buildUnnamed2104() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2090(core.List<core.String> o) {
+checkUnnamed2104(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -801,14 +801,14 @@
buildCounterCreativeNativeAdImage--;
}
-buildUnnamed2091() {
+buildUnnamed2105() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2091(core.List<core.String> o) {
+checkUnnamed2105(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -850,7 +850,7 @@
o.clickTrackingUrl = "foo";
o.headline = "foo";
o.image = buildCreativeNativeAdImage();
- o.impressionTrackingUrl = buildUnnamed2091();
+ o.impressionTrackingUrl = buildUnnamed2105();
o.logo = buildCreativeNativeAdLogo();
o.price = "foo";
o.starRating = 42.0;
@@ -872,7 +872,7 @@
unittest.expect(o.clickTrackingUrl, unittest.equals('foo'));
unittest.expect(o.headline, unittest.equals('foo'));
checkCreativeNativeAdImage(o.image);
- checkUnnamed2091(o.impressionTrackingUrl);
+ checkUnnamed2105(o.impressionTrackingUrl);
checkCreativeNativeAdLogo(o.logo);
unittest.expect(o.price, unittest.equals('foo'));
unittest.expect(o.starRating, unittest.equals(42.0));
@@ -882,79 +882,79 @@
buildCounterCreativeNativeAd--;
}
-buildUnnamed2092() {
+buildUnnamed2106() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2092(core.List<core.int> o) {
+checkUnnamed2106(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));
}
-buildUnnamed2093() {
+buildUnnamed2107() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2093(core.List<core.int> o) {
+checkUnnamed2107(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));
}
-buildUnnamed2094() {
+buildUnnamed2108() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2094(core.List<core.int> o) {
+checkUnnamed2108(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));
}
-buildUnnamed2095() {
+buildUnnamed2109() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2095(core.List<core.String> o) {
+checkUnnamed2109(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2096() {
+buildUnnamed2110() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2096(core.List<core.int> o) {
+checkUnnamed2110(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));
}
-buildUnnamed2097() {
+buildUnnamed2111() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2097(core.List<core.String> o) {
+checkUnnamed2111(core.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,10 +965,10 @@
var o = new api.CreativeServingRestrictionsContexts();
buildCounterCreativeServingRestrictionsContexts++;
if (buildCounterCreativeServingRestrictionsContexts < 3) {
- o.auctionType = buildUnnamed2095();
+ o.auctionType = buildUnnamed2109();
o.contextType = "foo";
- o.geoCriteriaId = buildUnnamed2096();
- o.platform = buildUnnamed2097();
+ o.geoCriteriaId = buildUnnamed2110();
+ o.platform = buildUnnamed2111();
}
buildCounterCreativeServingRestrictionsContexts--;
return o;
@@ -978,35 +978,35 @@
api.CreativeServingRestrictionsContexts o) {
buildCounterCreativeServingRestrictionsContexts++;
if (buildCounterCreativeServingRestrictionsContexts < 3) {
- checkUnnamed2095(o.auctionType);
+ checkUnnamed2109(o.auctionType);
unittest.expect(o.contextType, unittest.equals('foo'));
- checkUnnamed2096(o.geoCriteriaId);
- checkUnnamed2097(o.platform);
+ checkUnnamed2110(o.geoCriteriaId);
+ checkUnnamed2111(o.platform);
}
buildCounterCreativeServingRestrictionsContexts--;
}
-buildUnnamed2098() {
+buildUnnamed2112() {
var o = new core.List<api.CreativeServingRestrictionsContexts>();
o.add(buildCreativeServingRestrictionsContexts());
o.add(buildCreativeServingRestrictionsContexts());
return o;
}
-checkUnnamed2098(core.List<api.CreativeServingRestrictionsContexts> o) {
+checkUnnamed2112(core.List<api.CreativeServingRestrictionsContexts> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeServingRestrictionsContexts(o[0]);
checkCreativeServingRestrictionsContexts(o[1]);
}
-buildUnnamed2099() {
+buildUnnamed2113() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2099(core.List<core.String> o) {
+checkUnnamed2113(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1017,7 +1017,7 @@
var o = new api.CreativeServingRestrictionsDisapprovalReasons();
buildCounterCreativeServingRestrictionsDisapprovalReasons++;
if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) {
- o.details = buildUnnamed2099();
+ o.details = buildUnnamed2113();
o.reason = "foo";
}
buildCounterCreativeServingRestrictionsDisapprovalReasons--;
@@ -1028,20 +1028,20 @@
api.CreativeServingRestrictionsDisapprovalReasons o) {
buildCounterCreativeServingRestrictionsDisapprovalReasons++;
if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) {
- checkUnnamed2099(o.details);
+ checkUnnamed2113(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeServingRestrictionsDisapprovalReasons--;
}
-buildUnnamed2100() {
+buildUnnamed2114() {
var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>();
o.add(buildCreativeServingRestrictionsDisapprovalReasons());
o.add(buildCreativeServingRestrictionsDisapprovalReasons());
return o;
}
-checkUnnamed2100(
+checkUnnamed2114(
core.List<api.CreativeServingRestrictionsDisapprovalReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeServingRestrictionsDisapprovalReasons(o[0]);
@@ -1053,8 +1053,8 @@
var o = new api.CreativeServingRestrictions();
buildCounterCreativeServingRestrictions++;
if (buildCounterCreativeServingRestrictions < 3) {
- o.contexts = buildUnnamed2098();
- o.disapprovalReasons = buildUnnamed2100();
+ o.contexts = buildUnnamed2112();
+ o.disapprovalReasons = buildUnnamed2114();
o.reason = "foo";
}
buildCounterCreativeServingRestrictions--;
@@ -1064,34 +1064,34 @@
checkCreativeServingRestrictions(api.CreativeServingRestrictions o) {
buildCounterCreativeServingRestrictions++;
if (buildCounterCreativeServingRestrictions < 3) {
- checkUnnamed2098(o.contexts);
- checkUnnamed2100(o.disapprovalReasons);
+ checkUnnamed2112(o.contexts);
+ checkUnnamed2114(o.disapprovalReasons);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeServingRestrictions--;
}
-buildUnnamed2101() {
+buildUnnamed2115() {
var o = new core.List<api.CreativeServingRestrictions>();
o.add(buildCreativeServingRestrictions());
o.add(buildCreativeServingRestrictions());
return o;
}
-checkUnnamed2101(core.List<api.CreativeServingRestrictions> o) {
+checkUnnamed2115(core.List<api.CreativeServingRestrictions> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeServingRestrictions(o[0]);
checkCreativeServingRestrictions(o[1]);
}
-buildUnnamed2102() {
+buildUnnamed2116() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2102(core.List<core.int> o) {
+checkUnnamed2116(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));
@@ -1105,28 +1105,28 @@
o.HTMLSnippet = "foo";
o.accountId = 42;
o.adChoicesDestinationUrl = "foo";
- o.advertiserId = buildUnnamed2078();
+ o.advertiserId = buildUnnamed2092();
o.advertiserName = "foo";
o.agencyId = "foo";
o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02");
- o.attribute = buildUnnamed2079();
+ o.attribute = buildUnnamed2093();
o.buyerCreativeId = "foo";
- o.clickThroughUrl = buildUnnamed2080();
- o.corrections = buildUnnamed2086();
+ o.clickThroughUrl = buildUnnamed2094();
+ o.corrections = buildUnnamed2100();
o.dealsStatus = "foo";
- o.detectedDomains = buildUnnamed2087();
+ o.detectedDomains = buildUnnamed2101();
o.filteringReasons = buildCreativeFilteringReasons();
o.height = 42;
- o.impressionTrackingUrl = buildUnnamed2089();
+ o.impressionTrackingUrl = buildUnnamed2103();
o.kind = "foo";
- o.languages = buildUnnamed2090();
+ o.languages = buildUnnamed2104();
o.nativeAd = buildCreativeNativeAd();
o.openAuctionStatus = "foo";
- o.productCategories = buildUnnamed2092();
- o.restrictedCategories = buildUnnamed2093();
- o.sensitiveCategories = buildUnnamed2094();
- o.servingRestrictions = buildUnnamed2101();
- o.vendorType = buildUnnamed2102();
+ o.productCategories = buildUnnamed2106();
+ o.restrictedCategories = buildUnnamed2107();
+ o.sensitiveCategories = buildUnnamed2108();
+ o.servingRestrictions = buildUnnamed2115();
+ o.vendorType = buildUnnamed2116();
o.version = 42;
o.videoURL = "foo";
o.width = 42;
@@ -1141,29 +1141,29 @@
unittest.expect(o.HTMLSnippet, unittest.equals('foo'));
unittest.expect(o.accountId, unittest.equals(42));
unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo'));
- checkUnnamed2078(o.advertiserId);
+ checkUnnamed2092(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")));
- checkUnnamed2079(o.attribute);
+ checkUnnamed2093(o.attribute);
unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
- checkUnnamed2080(o.clickThroughUrl);
- checkUnnamed2086(o.corrections);
+ checkUnnamed2094(o.clickThroughUrl);
+ checkUnnamed2100(o.corrections);
unittest.expect(o.dealsStatus, unittest.equals('foo'));
- checkUnnamed2087(o.detectedDomains);
+ checkUnnamed2101(o.detectedDomains);
checkCreativeFilteringReasons(o.filteringReasons);
unittest.expect(o.height, unittest.equals(42));
- checkUnnamed2089(o.impressionTrackingUrl);
+ checkUnnamed2103(o.impressionTrackingUrl);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2090(o.languages);
+ checkUnnamed2104(o.languages);
checkCreativeNativeAd(o.nativeAd);
unittest.expect(o.openAuctionStatus, unittest.equals('foo'));
- checkUnnamed2092(o.productCategories);
- checkUnnamed2093(o.restrictedCategories);
- checkUnnamed2094(o.sensitiveCategories);
- checkUnnamed2101(o.servingRestrictions);
- checkUnnamed2102(o.vendorType);
+ checkUnnamed2106(o.productCategories);
+ checkUnnamed2107(o.restrictedCategories);
+ checkUnnamed2108(o.sensitiveCategories);
+ checkUnnamed2115(o.servingRestrictions);
+ checkUnnamed2116(o.vendorType);
unittest.expect(o.version, unittest.equals(42));
unittest.expect(o.videoURL, unittest.equals('foo'));
unittest.expect(o.width, unittest.equals(42));
@@ -1194,14 +1194,14 @@
buildCounterCreativeDealIdsDealStatuses--;
}
-buildUnnamed2103() {
+buildUnnamed2117() {
var o = new core.List<api.CreativeDealIdsDealStatuses>();
o.add(buildCreativeDealIdsDealStatuses());
o.add(buildCreativeDealIdsDealStatuses());
return o;
}
-checkUnnamed2103(core.List<api.CreativeDealIdsDealStatuses> o) {
+checkUnnamed2117(core.List<api.CreativeDealIdsDealStatuses> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeDealIdsDealStatuses(o[0]);
checkCreativeDealIdsDealStatuses(o[1]);
@@ -1212,7 +1212,7 @@
var o = new api.CreativeDealIds();
buildCounterCreativeDealIds++;
if (buildCounterCreativeDealIds < 3) {
- o.dealStatuses = buildUnnamed2103();
+ o.dealStatuses = buildUnnamed2117();
o.kind = "foo";
}
buildCounterCreativeDealIds--;
@@ -1222,20 +1222,20 @@
checkCreativeDealIds(api.CreativeDealIds o) {
buildCounterCreativeDealIds++;
if (buildCounterCreativeDealIds < 3) {
- checkUnnamed2103(o.dealStatuses);
+ checkUnnamed2117(o.dealStatuses);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCreativeDealIds--;
}
-buildUnnamed2104() {
+buildUnnamed2118() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed2104(core.List<api.Creative> o) {
+checkUnnamed2118(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -1246,7 +1246,7 @@
var o = new api.CreativesList();
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- o.items = buildUnnamed2104();
+ o.items = buildUnnamed2118();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1257,7 +1257,7 @@
checkCreativesList(api.CreativesList o) {
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- checkUnnamed2104(o.items);
+ checkUnnamed2118(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1351,14 +1351,14 @@
buildCounterDealTerms--;
}
-buildUnnamed2105() {
+buildUnnamed2119() {
var o = new core.List<api.PricePerBuyer>();
o.add(buildPricePerBuyer());
o.add(buildPricePerBuyer());
return o;
}
-checkUnnamed2105(core.List<api.PricePerBuyer> o) {
+checkUnnamed2119(core.List<api.PricePerBuyer> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricePerBuyer(o[0]);
checkPricePerBuyer(o[1]);
@@ -1370,7 +1370,7 @@
buildCounterDealTermsGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) {
o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo();
- o.fixedPrices = buildUnnamed2105();
+ o.fixedPrices = buildUnnamed2119();
o.guaranteedImpressions = "foo";
o.guaranteedLooks = "foo";
o.minimumDailyLooks = "foo";
@@ -1384,7 +1384,7 @@
buildCounterDealTermsGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) {
checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo);
- checkUnnamed2105(o.fixedPrices);
+ checkUnnamed2119(o.fixedPrices);
unittest.expect(o.guaranteedImpressions, unittest.equals('foo'));
unittest.expect(o.guaranteedLooks, unittest.equals('foo'));
unittest.expect(o.minimumDailyLooks, unittest.equals('foo'));
@@ -1418,14 +1418,14 @@
buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--;
}
-buildUnnamed2106() {
+buildUnnamed2120() {
var o = new core.List<api.PricePerBuyer>();
o.add(buildPricePerBuyer());
o.add(buildPricePerBuyer());
return o;
}
-checkUnnamed2106(core.List<api.PricePerBuyer> o) {
+checkUnnamed2120(core.List<api.PricePerBuyer> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricePerBuyer(o[0]);
checkPricePerBuyer(o[1]);
@@ -1437,7 +1437,7 @@
buildCounterDealTermsNonGuaranteedAuctionTerms++;
if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) {
o.autoOptimizePrivateAuction = true;
- o.reservePricePerBuyers = buildUnnamed2106();
+ o.reservePricePerBuyers = buildUnnamed2120();
}
buildCounterDealTermsNonGuaranteedAuctionTerms--;
return o;
@@ -1448,19 +1448,19 @@
buildCounterDealTermsNonGuaranteedAuctionTerms++;
if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) {
unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue);
- checkUnnamed2106(o.reservePricePerBuyers);
+ checkUnnamed2120(o.reservePricePerBuyers);
}
buildCounterDealTermsNonGuaranteedAuctionTerms--;
}
-buildUnnamed2107() {
+buildUnnamed2121() {
var o = new core.List<api.PricePerBuyer>();
o.add(buildPricePerBuyer());
o.add(buildPricePerBuyer());
return o;
}
-checkUnnamed2107(core.List<api.PricePerBuyer> o) {
+checkUnnamed2121(core.List<api.PricePerBuyer> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricePerBuyer(o[0]);
checkPricePerBuyer(o[1]);
@@ -1471,7 +1471,7 @@
var o = new api.DealTermsNonGuaranteedFixedPriceTerms();
buildCounterDealTermsNonGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) {
- o.fixedPrices = buildUnnamed2107();
+ o.fixedPrices = buildUnnamed2121();
}
buildCounterDealTermsNonGuaranteedFixedPriceTerms--;
return o;
@@ -1481,7 +1481,7 @@
api.DealTermsNonGuaranteedFixedPriceTerms o) {
buildCounterDealTermsNonGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) {
- checkUnnamed2107(o.fixedPrices);
+ checkUnnamed2121(o.fixedPrices);
}
buildCounterDealTermsNonGuaranteedFixedPriceTerms--;
}
@@ -1508,14 +1508,14 @@
buildCounterDealTermsRubiconNonGuaranteedTerms--;
}
-buildUnnamed2108() {
+buildUnnamed2122() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2108(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'));
@@ -1526,7 +1526,7 @@
var o = new api.DeleteOrderDealsRequest();
buildCounterDeleteOrderDealsRequest++;
if (buildCounterDeleteOrderDealsRequest < 3) {
- o.dealIds = buildUnnamed2108();
+ o.dealIds = buildUnnamed2122();
o.proposalRevisionNumber = "foo";
o.updateAction = "foo";
}
@@ -1537,21 +1537,21 @@
checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) {
buildCounterDeleteOrderDealsRequest++;
if (buildCounterDeleteOrderDealsRequest < 3) {
- checkUnnamed2108(o.dealIds);
+ checkUnnamed2122(o.dealIds);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
unittest.expect(o.updateAction, unittest.equals('foo'));
}
buildCounterDeleteOrderDealsRequest--;
}
-buildUnnamed2109() {
+buildUnnamed2123() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed2109(core.List<api.MarketplaceDeal> o) {
+checkUnnamed2123(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -1562,7 +1562,7 @@
var o = new api.DeleteOrderDealsResponse();
buildCounterDeleteOrderDealsResponse++;
if (buildCounterDeleteOrderDealsResponse < 3) {
- o.deals = buildUnnamed2109();
+ o.deals = buildUnnamed2123();
o.proposalRevisionNumber = "foo";
}
buildCounterDeleteOrderDealsResponse--;
@@ -1572,20 +1572,20 @@
checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) {
buildCounterDeleteOrderDealsResponse++;
if (buildCounterDeleteOrderDealsResponse < 3) {
- checkUnnamed2109(o.deals);
+ checkUnnamed2123(o.deals);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
}
buildCounterDeleteOrderDealsResponse--;
}
-buildUnnamed2110() {
+buildUnnamed2124() {
var o = new core.List<api.DeliveryControlFrequencyCap>();
o.add(buildDeliveryControlFrequencyCap());
o.add(buildDeliveryControlFrequencyCap());
return o;
}
-checkUnnamed2110(core.List<api.DeliveryControlFrequencyCap> o) {
+checkUnnamed2124(core.List<api.DeliveryControlFrequencyCap> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeliveryControlFrequencyCap(o[0]);
checkDeliveryControlFrequencyCap(o[1]);
@@ -1598,7 +1598,7 @@
if (buildCounterDeliveryControl < 3) {
o.creativeBlockingLevel = "foo";
o.deliveryRateType = "foo";
- o.frequencyCaps = buildUnnamed2110();
+ o.frequencyCaps = buildUnnamed2124();
}
buildCounterDeliveryControl--;
return o;
@@ -1609,7 +1609,7 @@
if (buildCounterDeliveryControl < 3) {
unittest.expect(o.creativeBlockingLevel, unittest.equals('foo'));
unittest.expect(o.deliveryRateType, unittest.equals('foo'));
- checkUnnamed2110(o.frequencyCaps);
+ checkUnnamed2124(o.frequencyCaps);
}
buildCounterDeliveryControl--;
}
@@ -1637,14 +1637,14 @@
buildCounterDeliveryControlFrequencyCap--;
}
-buildUnnamed2111() {
+buildUnnamed2125() {
var o = new core.List<api.DimensionDimensionValue>();
o.add(buildDimensionDimensionValue());
o.add(buildDimensionDimensionValue());
return o;
}
-checkUnnamed2111(core.List<api.DimensionDimensionValue> o) {
+checkUnnamed2125(core.List<api.DimensionDimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionDimensionValue(o[0]);
checkDimensionDimensionValue(o[1]);
@@ -1656,7 +1656,7 @@
buildCounterDimension++;
if (buildCounterDimension < 3) {
o.dimensionType = "foo";
- o.dimensionValues = buildUnnamed2111();
+ o.dimensionValues = buildUnnamed2125();
}
buildCounterDimension--;
return o;
@@ -1666,7 +1666,7 @@
buildCounterDimension++;
if (buildCounterDimension < 3) {
unittest.expect(o.dimensionType, unittest.equals('foo'));
- checkUnnamed2111(o.dimensionValues);
+ checkUnnamed2125(o.dimensionValues);
}
buildCounterDimension--;
}
@@ -1694,14 +1694,14 @@
buildCounterDimensionDimensionValue--;
}
-buildUnnamed2112() {
+buildUnnamed2126() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed2112(core.List<api.MarketplaceDeal> o) {
+checkUnnamed2126(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -1712,7 +1712,7 @@
var o = new api.EditAllOrderDealsRequest();
buildCounterEditAllOrderDealsRequest++;
if (buildCounterEditAllOrderDealsRequest < 3) {
- o.deals = buildUnnamed2112();
+ o.deals = buildUnnamed2126();
o.proposal = buildProposal();
o.proposalRevisionNumber = "foo";
o.updateAction = "foo";
@@ -1724,7 +1724,7 @@
checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) {
buildCounterEditAllOrderDealsRequest++;
if (buildCounterEditAllOrderDealsRequest < 3) {
- checkUnnamed2112(o.deals);
+ checkUnnamed2126(o.deals);
checkProposal(o.proposal);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
unittest.expect(o.updateAction, unittest.equals('foo'));
@@ -1732,14 +1732,14 @@
buildCounterEditAllOrderDealsRequest--;
}
-buildUnnamed2113() {
+buildUnnamed2127() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed2113(core.List<api.MarketplaceDeal> o) {
+checkUnnamed2127(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -1750,7 +1750,7 @@
var o = new api.EditAllOrderDealsResponse();
buildCounterEditAllOrderDealsResponse++;
if (buildCounterEditAllOrderDealsResponse < 3) {
- o.deals = buildUnnamed2113();
+ o.deals = buildUnnamed2127();
o.orderRevisionNumber = "foo";
}
buildCounterEditAllOrderDealsResponse--;
@@ -1760,20 +1760,20 @@
checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) {
buildCounterEditAllOrderDealsResponse++;
if (buildCounterEditAllOrderDealsResponse < 3) {
- checkUnnamed2113(o.deals);
+ checkUnnamed2127(o.deals);
unittest.expect(o.orderRevisionNumber, unittest.equals('foo'));
}
buildCounterEditAllOrderDealsResponse--;
}
-buildUnnamed2114() {
+buildUnnamed2128() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed2114(core.List<api.Product> o) {
+checkUnnamed2128(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -1784,7 +1784,7 @@
var o = new api.GetOffersResponse();
buildCounterGetOffersResponse++;
if (buildCounterGetOffersResponse < 3) {
- o.products = buildUnnamed2114();
+ o.products = buildUnnamed2128();
}
buildCounterGetOffersResponse--;
return o;
@@ -1793,19 +1793,19 @@
checkGetOffersResponse(api.GetOffersResponse o) {
buildCounterGetOffersResponse++;
if (buildCounterGetOffersResponse < 3) {
- checkUnnamed2114(o.products);
+ checkUnnamed2128(o.products);
}
buildCounterGetOffersResponse--;
}
-buildUnnamed2115() {
+buildUnnamed2129() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed2115(core.List<api.MarketplaceDeal> o) {
+checkUnnamed2129(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -1816,7 +1816,7 @@
var o = new api.GetOrderDealsResponse();
buildCounterGetOrderDealsResponse++;
if (buildCounterGetOrderDealsResponse < 3) {
- o.deals = buildUnnamed2115();
+ o.deals = buildUnnamed2129();
}
buildCounterGetOrderDealsResponse--;
return o;
@@ -1825,19 +1825,19 @@
checkGetOrderDealsResponse(api.GetOrderDealsResponse o) {
buildCounterGetOrderDealsResponse++;
if (buildCounterGetOrderDealsResponse < 3) {
- checkUnnamed2115(o.deals);
+ checkUnnamed2129(o.deals);
}
buildCounterGetOrderDealsResponse--;
}
-buildUnnamed2116() {
+buildUnnamed2130() {
var o = new core.List<api.MarketplaceNote>();
o.add(buildMarketplaceNote());
o.add(buildMarketplaceNote());
return o;
}
-checkUnnamed2116(core.List<api.MarketplaceNote> o) {
+checkUnnamed2130(core.List<api.MarketplaceNote> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceNote(o[0]);
checkMarketplaceNote(o[1]);
@@ -1848,7 +1848,7 @@
var o = new api.GetOrderNotesResponse();
buildCounterGetOrderNotesResponse++;
if (buildCounterGetOrderNotesResponse < 3) {
- o.notes = buildUnnamed2116();
+ o.notes = buildUnnamed2130();
}
buildCounterGetOrderNotesResponse--;
return o;
@@ -1857,19 +1857,19 @@
checkGetOrderNotesResponse(api.GetOrderNotesResponse o) {
buildCounterGetOrderNotesResponse++;
if (buildCounterGetOrderNotesResponse < 3) {
- checkUnnamed2116(o.notes);
+ checkUnnamed2130(o.notes);
}
buildCounterGetOrderNotesResponse--;
}
-buildUnnamed2117() {
+buildUnnamed2131() {
var o = new core.List<api.Proposal>();
o.add(buildProposal());
o.add(buildProposal());
return o;
}
-checkUnnamed2117(core.List<api.Proposal> o) {
+checkUnnamed2131(core.List<api.Proposal> o) {
unittest.expect(o, unittest.hasLength(2));
checkProposal(o[0]);
checkProposal(o[1]);
@@ -1880,7 +1880,7 @@
var o = new api.GetOrdersResponse();
buildCounterGetOrdersResponse++;
if (buildCounterGetOrdersResponse < 3) {
- o.proposals = buildUnnamed2117();
+ o.proposals = buildUnnamed2131();
}
buildCounterGetOrdersResponse--;
return o;
@@ -1889,19 +1889,19 @@
checkGetOrdersResponse(api.GetOrdersResponse o) {
buildCounterGetOrdersResponse++;
if (buildCounterGetOrdersResponse < 3) {
- checkUnnamed2117(o.proposals);
+ checkUnnamed2131(o.proposals);
}
buildCounterGetOrdersResponse--;
}
-buildUnnamed2118() {
+buildUnnamed2132() {
var o = new core.List<api.PublisherProfileApiProto>();
o.add(buildPublisherProfileApiProto());
o.add(buildPublisherProfileApiProto());
return o;
}
-checkUnnamed2118(core.List<api.PublisherProfileApiProto> o) {
+checkUnnamed2132(core.List<api.PublisherProfileApiProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkPublisherProfileApiProto(o[0]);
checkPublisherProfileApiProto(o[1]);
@@ -1912,7 +1912,7 @@
var o = new api.GetPublisherProfilesByAccountIdResponse();
buildCounterGetPublisherProfilesByAccountIdResponse++;
if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) {
- o.profiles = buildUnnamed2118();
+ o.profiles = buildUnnamed2132();
}
buildCounterGetPublisherProfilesByAccountIdResponse--;
return o;
@@ -1922,32 +1922,32 @@
api.GetPublisherProfilesByAccountIdResponse o) {
buildCounterGetPublisherProfilesByAccountIdResponse++;
if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) {
- checkUnnamed2118(o.profiles);
+ checkUnnamed2132(o.profiles);
}
buildCounterGetPublisherProfilesByAccountIdResponse--;
}
-buildUnnamed2119() {
+buildUnnamed2133() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed2119(core.List<api.ContactInformation> o) {
+checkUnnamed2133(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
}
-buildUnnamed2120() {
+buildUnnamed2134() {
var o = new core.List<api.SharedTargeting>();
o.add(buildSharedTargeting());
o.add(buildSharedTargeting());
return o;
}
-checkUnnamed2120(core.List<api.SharedTargeting> o) {
+checkUnnamed2134(core.List<api.SharedTargeting> o) {
unittest.expect(o, unittest.hasLength(2));
checkSharedTargeting(o[0]);
checkSharedTargeting(o[1]);
@@ -1978,8 +1978,8 @@
o.productRevisionNumber = "foo";
o.programmaticCreativeSource = "foo";
o.proposalId = "foo";
- o.sellerContacts = buildUnnamed2119();
- o.sharedTargetings = buildUnnamed2120();
+ o.sellerContacts = buildUnnamed2133();
+ o.sharedTargetings = buildUnnamed2134();
o.syndicationProduct = "foo";
o.terms = buildDealTerms();
o.webPropertyCode = "foo";
@@ -2011,8 +2011,8 @@
unittest.expect(o.productRevisionNumber, unittest.equals('foo'));
unittest.expect(o.programmaticCreativeSource, unittest.equals('foo'));
unittest.expect(o.proposalId, unittest.equals('foo'));
- checkUnnamed2119(o.sellerContacts);
- checkUnnamed2120(o.sharedTargetings);
+ checkUnnamed2133(o.sellerContacts);
+ checkUnnamed2134(o.sharedTargetings);
unittest.expect(o.syndicationProduct, unittest.equals('foo'));
checkDealTerms(o.terms);
unittest.expect(o.webPropertyCode, unittest.equals('foo'));
@@ -2099,7 +2099,7 @@
buildCounterMarketplaceNote--;
}
-buildUnnamed2121() {
+buildUnnamed2135() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -2114,7 +2114,7 @@
return o;
}
-checkUnnamed2121(core.List<core.Object> o) {
+checkUnnamed2135(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -2128,7 +2128,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed2122() {
+buildUnnamed2136() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -2143,7 +2143,7 @@
return o;
}
-checkUnnamed2122(core.List<core.Object> o) {
+checkUnnamed2136(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -2157,7 +2157,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed2123() {
+buildUnnamed2137() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -2172,7 +2172,7 @@
return o;
}
-checkUnnamed2123(core.List<core.Object> o) {
+checkUnnamed2137(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -2186,7 +2186,7 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed2124() {
+buildUnnamed2138() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -2201,7 +2201,7 @@
return o;
}
-checkUnnamed2124(core.List<core.Object> o) {
+checkUnnamed2138(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o[0]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -2222,11 +2222,11 @@
if (buildCounterPerformanceReport < 3) {
o.bidRate = 42.0;
o.bidRequestRate = 42.0;
- o.calloutStatusRate = buildUnnamed2121();
- o.cookieMatcherStatusRate = buildUnnamed2122();
- o.creativeStatusRate = buildUnnamed2123();
+ o.calloutStatusRate = buildUnnamed2135();
+ o.cookieMatcherStatusRate = buildUnnamed2136();
+ o.creativeStatusRate = buildUnnamed2137();
o.filteredBidRate = 42.0;
- o.hostedMatchStatusRate = buildUnnamed2124();
+ o.hostedMatchStatusRate = buildUnnamed2138();
o.inventoryMatchRate = 42.0;
o.kind = "foo";
o.latency50thPercentile = 42.0;
@@ -2252,11 +2252,11 @@
if (buildCounterPerformanceReport < 3) {
unittest.expect(o.bidRate, unittest.equals(42.0));
unittest.expect(o.bidRequestRate, unittest.equals(42.0));
- checkUnnamed2121(o.calloutStatusRate);
- checkUnnamed2122(o.cookieMatcherStatusRate);
- checkUnnamed2123(o.creativeStatusRate);
+ checkUnnamed2135(o.calloutStatusRate);
+ checkUnnamed2136(o.cookieMatcherStatusRate);
+ checkUnnamed2137(o.creativeStatusRate);
unittest.expect(o.filteredBidRate, unittest.equals(42.0));
- checkUnnamed2124(o.hostedMatchStatusRate);
+ checkUnnamed2138(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));
@@ -2276,14 +2276,14 @@
buildCounterPerformanceReport--;
}
-buildUnnamed2125() {
+buildUnnamed2139() {
var o = new core.List<api.PerformanceReport>();
o.add(buildPerformanceReport());
o.add(buildPerformanceReport());
return o;
}
-checkUnnamed2125(core.List<api.PerformanceReport> o) {
+checkUnnamed2139(core.List<api.PerformanceReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerformanceReport(o[0]);
checkPerformanceReport(o[1]);
@@ -2295,7 +2295,7 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
o.kind = "foo";
- o.performanceReport = buildUnnamed2125();
+ o.performanceReport = buildUnnamed2139();
}
buildCounterPerformanceReportList--;
return o;
@@ -2305,19 +2305,19 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2125(o.performanceReport);
+ checkUnnamed2139(o.performanceReport);
}
buildCounterPerformanceReportList--;
}
-buildUnnamed2126() {
+buildUnnamed2140() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2126(core.List<core.String> o) {
+checkUnnamed2140(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2344,244 +2344,19 @@
buildCounterPretargetingConfigDimensions--;
}
-buildUnnamed2127() {
+buildUnnamed2141() {
var o = new core.List<api.PretargetingConfigDimensions>();
o.add(buildPretargetingConfigDimensions());
o.add(buildPretargetingConfigDimensions());
return o;
}
-checkUnnamed2127(core.List<api.PretargetingConfigDimensions> o) {
+checkUnnamed2141(core.List<api.PretargetingConfigDimensions> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigDimensions(o[0]);
checkPretargetingConfigDimensions(o[1]);
}
-buildUnnamed2128() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2128(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2129() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2129(core.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();
- buildCounterPretargetingConfigExcludedPlacements++;
- if (buildCounterPretargetingConfigExcludedPlacements < 3) {
- o.token = "foo";
- o.type = "foo";
- }
- buildCounterPretargetingConfigExcludedPlacements--;
- return o;
-}
-
-checkPretargetingConfigExcludedPlacements(
- api.PretargetingConfigExcludedPlacements o) {
- buildCounterPretargetingConfigExcludedPlacements++;
- if (buildCounterPretargetingConfigExcludedPlacements < 3) {
- unittest.expect(o.token, unittest.equals('foo'));
- unittest.expect(o.type, unittest.equals('foo'));
- }
- buildCounterPretargetingConfigExcludedPlacements--;
-}
-
-buildUnnamed2130() {
- var o = new core.List<api.PretargetingConfigExcludedPlacements>();
- o.add(buildPretargetingConfigExcludedPlacements());
- o.add(buildPretargetingConfigExcludedPlacements());
- return o;
-}
-
-checkUnnamed2130(core.List<api.PretargetingConfigExcludedPlacements> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkPretargetingConfigExcludedPlacements(o[0]);
- checkPretargetingConfigExcludedPlacements(o[1]);
-}
-
-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'));
-}
-
-buildUnnamed2133() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2133(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-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<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2135(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2136() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2136(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2137() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2137(core.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();
- buildCounterPretargetingConfigPlacements++;
- if (buildCounterPretargetingConfigPlacements < 3) {
- o.token = "foo";
- o.type = "foo";
- }
- buildCounterPretargetingConfigPlacements--;
- return o;
-}
-
-checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
- buildCounterPretargetingConfigPlacements++;
- if (buildCounterPretargetingConfigPlacements < 3) {
- unittest.expect(o.token, unittest.equals('foo'));
- unittest.expect(o.type, unittest.equals('foo'));
- }
- buildCounterPretargetingConfigPlacements--;
-}
-
-buildUnnamed2138() {
- var o = new core.List<api.PretargetingConfigPlacements>();
- o.add(buildPretargetingConfigPlacements());
- o.add(buildPretargetingConfigPlacements());
- return o;
-}
-
-checkUnnamed2138(core.List<api.PretargetingConfigPlacements> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkPretargetingConfigPlacements(o[0]);
- checkPretargetingConfigPlacements(o[1]);
-}
-
-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'));
-}
-
-buildUnnamed2140() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2140(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2141() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
buildUnnamed2142() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2608,14 +2383,239 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterPretargetingConfigExcludedPlacements = 0;
+buildPretargetingConfigExcludedPlacements() {
+ var o = new api.PretargetingConfigExcludedPlacements();
+ buildCounterPretargetingConfigExcludedPlacements++;
+ if (buildCounterPretargetingConfigExcludedPlacements < 3) {
+ o.token = "foo";
+ o.type = "foo";
+ }
+ buildCounterPretargetingConfigExcludedPlacements--;
+ return o;
+}
+
+checkPretargetingConfigExcludedPlacements(
+ api.PretargetingConfigExcludedPlacements o) {
+ buildCounterPretargetingConfigExcludedPlacements++;
+ if (buildCounterPretargetingConfigExcludedPlacements < 3) {
+ unittest.expect(o.token, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterPretargetingConfigExcludedPlacements--;
+}
+
buildUnnamed2144() {
+ var o = new core.List<api.PretargetingConfigExcludedPlacements>();
+ o.add(buildPretargetingConfigExcludedPlacements());
+ o.add(buildPretargetingConfigExcludedPlacements());
+ return o;
+}
+
+checkUnnamed2144(core.List<api.PretargetingConfigExcludedPlacements> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPretargetingConfigExcludedPlacements(o[0]);
+ checkPretargetingConfigExcludedPlacements(o[1]);
+}
+
+buildUnnamed2145() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2144(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'));
+}
+
+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");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2148(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ 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'));
+}
+
+buildUnnamed2151() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2151(core.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();
+ buildCounterPretargetingConfigPlacements++;
+ if (buildCounterPretargetingConfigPlacements < 3) {
+ o.token = "foo";
+ o.type = "foo";
+ }
+ buildCounterPretargetingConfigPlacements--;
+ return o;
+}
+
+checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
+ buildCounterPretargetingConfigPlacements++;
+ if (buildCounterPretargetingConfigPlacements < 3) {
+ unittest.expect(o.token, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterPretargetingConfigPlacements--;
+}
+
+buildUnnamed2152() {
+ var o = new core.List<api.PretargetingConfigPlacements>();
+ o.add(buildPretargetingConfigPlacements());
+ o.add(buildPretargetingConfigPlacements());
+ return o;
+}
+
+checkUnnamed2152(core.List<api.PretargetingConfigPlacements> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPretargetingConfigPlacements(o[0]);
+ checkPretargetingConfigPlacements(o[1]);
+}
+
+buildUnnamed2153() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2153(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2154() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+buildUnnamed2155() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2155(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2156() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+buildUnnamed2157() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2157(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2158() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2158(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2645,14 +2645,14 @@
buildCounterPretargetingConfigVideoPlayerSizes--;
}
-buildUnnamed2145() {
+buildUnnamed2159() {
var o = new core.List<api.PretargetingConfigVideoPlayerSizes>();
o.add(buildPretargetingConfigVideoPlayerSizes());
o.add(buildPretargetingConfigVideoPlayerSizes());
return o;
}
-checkUnnamed2145(core.List<api.PretargetingConfigVideoPlayerSizes> o) {
+checkUnnamed2159(core.List<api.PretargetingConfigVideoPlayerSizes> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigVideoPlayerSizes(o[0]);
checkPretargetingConfigVideoPlayerSizes(o[1]);
@@ -2666,29 +2666,29 @@
o.billingId = "foo";
o.configId = "foo";
o.configName = "foo";
- o.creativeType = buildUnnamed2126();
- o.dimensions = buildUnnamed2127();
- o.excludedContentLabels = buildUnnamed2128();
- o.excludedGeoCriteriaIds = buildUnnamed2129();
- o.excludedPlacements = buildUnnamed2130();
- o.excludedUserLists = buildUnnamed2131();
- o.excludedVerticals = buildUnnamed2132();
- o.geoCriteriaIds = buildUnnamed2133();
+ o.creativeType = buildUnnamed2140();
+ o.dimensions = buildUnnamed2141();
+ o.excludedContentLabels = buildUnnamed2142();
+ o.excludedGeoCriteriaIds = buildUnnamed2143();
+ o.excludedPlacements = buildUnnamed2144();
+ o.excludedUserLists = buildUnnamed2145();
+ o.excludedVerticals = buildUnnamed2146();
+ o.geoCriteriaIds = buildUnnamed2147();
o.isActive = true;
o.kind = "foo";
- o.languages = buildUnnamed2134();
+ o.languages = buildUnnamed2148();
o.minimumViewabilityDecile = 42;
- o.mobileCarriers = buildUnnamed2135();
- o.mobileDevices = buildUnnamed2136();
- o.mobileOperatingSystemVersions = buildUnnamed2137();
- o.placements = buildUnnamed2138();
- o.platforms = buildUnnamed2139();
- o.supportedCreativeAttributes = buildUnnamed2140();
- o.userIdentifierDataRequired = buildUnnamed2141();
- o.userLists = buildUnnamed2142();
- o.vendorTypes = buildUnnamed2143();
- o.verticals = buildUnnamed2144();
- o.videoPlayerSizes = buildUnnamed2145();
+ o.mobileCarriers = buildUnnamed2149();
+ o.mobileDevices = buildUnnamed2150();
+ o.mobileOperatingSystemVersions = buildUnnamed2151();
+ o.placements = buildUnnamed2152();
+ o.platforms = buildUnnamed2153();
+ o.supportedCreativeAttributes = buildUnnamed2154();
+ o.userIdentifierDataRequired = buildUnnamed2155();
+ o.userLists = buildUnnamed2156();
+ o.vendorTypes = buildUnnamed2157();
+ o.verticals = buildUnnamed2158();
+ o.videoPlayerSizes = buildUnnamed2159();
}
buildCounterPretargetingConfig--;
return o;
@@ -2700,41 +2700,41 @@
unittest.expect(o.billingId, unittest.equals('foo'));
unittest.expect(o.configId, unittest.equals('foo'));
unittest.expect(o.configName, unittest.equals('foo'));
- checkUnnamed2126(o.creativeType);
- checkUnnamed2127(o.dimensions);
- checkUnnamed2128(o.excludedContentLabels);
- checkUnnamed2129(o.excludedGeoCriteriaIds);
- checkUnnamed2130(o.excludedPlacements);
- checkUnnamed2131(o.excludedUserLists);
- checkUnnamed2132(o.excludedVerticals);
- checkUnnamed2133(o.geoCriteriaIds);
+ checkUnnamed2140(o.creativeType);
+ checkUnnamed2141(o.dimensions);
+ checkUnnamed2142(o.excludedContentLabels);
+ checkUnnamed2143(o.excludedGeoCriteriaIds);
+ checkUnnamed2144(o.excludedPlacements);
+ checkUnnamed2145(o.excludedUserLists);
+ checkUnnamed2146(o.excludedVerticals);
+ checkUnnamed2147(o.geoCriteriaIds);
unittest.expect(o.isActive, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2134(o.languages);
+ checkUnnamed2148(o.languages);
unittest.expect(o.minimumViewabilityDecile, unittest.equals(42));
- checkUnnamed2135(o.mobileCarriers);
- checkUnnamed2136(o.mobileDevices);
- checkUnnamed2137(o.mobileOperatingSystemVersions);
- checkUnnamed2138(o.placements);
- checkUnnamed2139(o.platforms);
- checkUnnamed2140(o.supportedCreativeAttributes);
- checkUnnamed2141(o.userIdentifierDataRequired);
- checkUnnamed2142(o.userLists);
- checkUnnamed2143(o.vendorTypes);
- checkUnnamed2144(o.verticals);
- checkUnnamed2145(o.videoPlayerSizes);
+ checkUnnamed2149(o.mobileCarriers);
+ checkUnnamed2150(o.mobileDevices);
+ checkUnnamed2151(o.mobileOperatingSystemVersions);
+ checkUnnamed2152(o.placements);
+ checkUnnamed2153(o.platforms);
+ checkUnnamed2154(o.supportedCreativeAttributes);
+ checkUnnamed2155(o.userIdentifierDataRequired);
+ checkUnnamed2156(o.userLists);
+ checkUnnamed2157(o.vendorTypes);
+ checkUnnamed2158(o.verticals);
+ checkUnnamed2159(o.videoPlayerSizes);
}
buildCounterPretargetingConfig--;
}
-buildUnnamed2146() {
+buildUnnamed2160() {
var o = new core.List<api.PretargetingConfig>();
o.add(buildPretargetingConfig());
o.add(buildPretargetingConfig());
return o;
}
-checkUnnamed2146(core.List<api.PretargetingConfig> o) {
+checkUnnamed2160(core.List<api.PretargetingConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfig(o[0]);
checkPretargetingConfig(o[1]);
@@ -2745,7 +2745,7 @@
var o = new api.PretargetingConfigList();
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- o.items = buildUnnamed2146();
+ o.items = buildUnnamed2160();
o.kind = "foo";
}
buildCounterPretargetingConfigList--;
@@ -2755,7 +2755,7 @@
checkPretargetingConfigList(api.PretargetingConfigList o) {
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- checkUnnamed2146(o.items);
+ checkUnnamed2160(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPretargetingConfigList--;
@@ -2832,40 +2832,40 @@
buildCounterPrivateData--;
}
-buildUnnamed2147() {
+buildUnnamed2161() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed2147(core.List<api.ContactInformation> o) {
+checkUnnamed2161(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
}
-buildUnnamed2148() {
+buildUnnamed2162() {
var o = new core.List<api.MarketplaceLabel>();
o.add(buildMarketplaceLabel());
o.add(buildMarketplaceLabel());
return o;
}
-checkUnnamed2148(core.List<api.MarketplaceLabel> o) {
+checkUnnamed2162(core.List<api.MarketplaceLabel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceLabel(o[0]);
checkMarketplaceLabel(o[1]);
}
-buildUnnamed2149() {
+buildUnnamed2163() {
var o = new core.List<api.SharedTargeting>();
o.add(buildSharedTargeting());
o.add(buildSharedTargeting());
return o;
}
-checkUnnamed2149(core.List<api.SharedTargeting> o) {
+checkUnnamed2163(core.List<api.SharedTargeting> o) {
unittest.expect(o, unittest.hasLength(2));
checkSharedTargeting(o[0]);
checkSharedTargeting(o[1]);
@@ -2879,7 +2879,7 @@
o.billedBuyer = buildBuyer();
o.buyer = buildBuyer();
o.creationTimeMs = "foo";
- o.creatorContacts = buildUnnamed2147();
+ o.creatorContacts = buildUnnamed2161();
o.creatorRole = "foo";
o.deliveryControl = buildDeliveryControl();
o.flightEndTimeMs = "foo";
@@ -2887,7 +2887,7 @@
o.hasCreatorSignedOff = true;
o.inventorySource = "foo";
o.kind = "foo";
- o.labels = buildUnnamed2148();
+ o.labels = buildUnnamed2162();
o.lastUpdateTimeMs = "foo";
o.legacyOfferId = "foo";
o.marketplacePublisherProfileId = "foo";
@@ -2898,7 +2898,7 @@
o.publisherProvidedForecast = buildPublisherProvidedForecast();
o.revisionNumber = "foo";
o.seller = buildSeller();
- o.sharedTargetings = buildUnnamed2149();
+ o.sharedTargetings = buildUnnamed2163();
o.state = "foo";
o.syndicationProduct = "foo";
o.terms = buildDealTerms();
@@ -2914,7 +2914,7 @@
checkBuyer(o.billedBuyer);
checkBuyer(o.buyer);
unittest.expect(o.creationTimeMs, unittest.equals('foo'));
- checkUnnamed2147(o.creatorContacts);
+ checkUnnamed2161(o.creatorContacts);
unittest.expect(o.creatorRole, unittest.equals('foo'));
checkDeliveryControl(o.deliveryControl);
unittest.expect(o.flightEndTimeMs, unittest.equals('foo'));
@@ -2922,7 +2922,7 @@
unittest.expect(o.hasCreatorSignedOff, unittest.isTrue);
unittest.expect(o.inventorySource, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2148(o.labels);
+ checkUnnamed2162(o.labels);
unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo'));
unittest.expect(o.legacyOfferId, unittest.equals('foo'));
unittest.expect(o.marketplacePublisherProfileId, unittest.equals('foo'));
@@ -2933,7 +2933,7 @@
checkPublisherProvidedForecast(o.publisherProvidedForecast);
unittest.expect(o.revisionNumber, unittest.equals('foo'));
checkSeller(o.seller);
- checkUnnamed2149(o.sharedTargetings);
+ checkUnnamed2163(o.sharedTargetings);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.syndicationProduct, unittest.equals('foo'));
checkDealTerms(o.terms);
@@ -2942,53 +2942,53 @@
buildCounterProduct--;
}
-buildUnnamed2150() {
+buildUnnamed2164() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed2150(core.List<api.ContactInformation> o) {
+checkUnnamed2164(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
}
-buildUnnamed2151() {
+buildUnnamed2165() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2151(core.List<core.String> 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'));
}
-buildUnnamed2152() {
+buildUnnamed2166() {
var o = new core.List<api.MarketplaceLabel>();
o.add(buildMarketplaceLabel());
o.add(buildMarketplaceLabel());
return o;
}
-checkUnnamed2152(core.List<api.MarketplaceLabel> o) {
+checkUnnamed2166(core.List<api.MarketplaceLabel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceLabel(o[0]);
checkMarketplaceLabel(o[1]);
}
-buildUnnamed2153() {
+buildUnnamed2167() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed2153(core.List<api.ContactInformation> o) {
+checkUnnamed2167(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
@@ -3001,16 +3001,16 @@
if (buildCounterProposal < 3) {
o.billedBuyer = buildBuyer();
o.buyer = buildBuyer();
- o.buyerContacts = buildUnnamed2150();
+ o.buyerContacts = buildUnnamed2164();
o.buyerPrivateData = buildPrivateData();
- o.dbmAdvertiserIds = buildUnnamed2151();
+ o.dbmAdvertiserIds = buildUnnamed2165();
o.hasBuyerSignedOff = true;
o.hasSellerSignedOff = true;
o.inventorySource = "foo";
o.isRenegotiating = true;
o.isSetupComplete = true;
o.kind = "foo";
- o.labels = buildUnnamed2152();
+ o.labels = buildUnnamed2166();
o.lastUpdaterOrCommentorRole = "foo";
o.name = "foo";
o.negotiationId = "foo";
@@ -3021,7 +3021,7 @@
o.revisionNumber = "foo";
o.revisionTimeMs = "foo";
o.seller = buildSeller();
- o.sellerContacts = buildUnnamed2153();
+ o.sellerContacts = buildUnnamed2167();
}
buildCounterProposal--;
return o;
@@ -3032,16 +3032,16 @@
if (buildCounterProposal < 3) {
checkBuyer(o.billedBuyer);
checkBuyer(o.buyer);
- checkUnnamed2150(o.buyerContacts);
+ checkUnnamed2164(o.buyerContacts);
checkPrivateData(o.buyerPrivateData);
- checkUnnamed2151(o.dbmAdvertiserIds);
+ checkUnnamed2165(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'));
- checkUnnamed2152(o.labels);
+ checkUnnamed2166(o.labels);
unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.negotiationId, unittest.equals('foo'));
@@ -3052,32 +3052,32 @@
unittest.expect(o.revisionNumber, unittest.equals('foo'));
unittest.expect(o.revisionTimeMs, unittest.equals('foo'));
checkSeller(o.seller);
- checkUnnamed2153(o.sellerContacts);
+ checkUnnamed2167(o.sellerContacts);
}
buildCounterProposal--;
}
-buildUnnamed2154() {
+buildUnnamed2168() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2154(core.List<core.String> 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'));
}
-buildUnnamed2155() {
+buildUnnamed2169() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2155(core.List<core.String> o) {
+checkUnnamed2169(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3103,14 +3103,14 @@
o.overview = "foo";
o.profileId = 42;
o.programmaticContact = "foo";
- o.publisherDomains = buildUnnamed2154();
+ o.publisherDomains = buildUnnamed2168();
o.publisherProfileId = "foo";
o.publisherProvidedForecast = buildPublisherProvidedForecast();
o.rateCardInfoLink = "foo";
o.samplePageLink = "foo";
o.seller = buildSeller();
o.state = "foo";
- o.topHeadlines = buildUnnamed2155();
+ o.topHeadlines = buildUnnamed2169();
}
buildCounterPublisherProfileApiProto--;
return o;
@@ -3134,26 +3134,26 @@
unittest.expect(o.overview, unittest.equals('foo'));
unittest.expect(o.profileId, unittest.equals(42));
unittest.expect(o.programmaticContact, unittest.equals('foo'));
- checkUnnamed2154(o.publisherDomains);
+ checkUnnamed2168(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'));
- checkUnnamed2155(o.topHeadlines);
+ checkUnnamed2169(o.topHeadlines);
}
buildCounterPublisherProfileApiProto--;
}
-buildUnnamed2156() {
+buildUnnamed2170() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2156(core.List<api.Dimension> o) {
+checkUnnamed2170(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
@@ -3164,7 +3164,7 @@
var o = new api.PublisherProvidedForecast();
buildCounterPublisherProvidedForecast++;
if (buildCounterPublisherProvidedForecast < 3) {
- o.dimensions = buildUnnamed2156();
+ o.dimensions = buildUnnamed2170();
o.weeklyImpressions = "foo";
o.weeklyUniques = "foo";
}
@@ -3175,7 +3175,7 @@
checkPublisherProvidedForecast(api.PublisherProvidedForecast o) {
buildCounterPublisherProvidedForecast++;
if (buildCounterPublisherProvidedForecast < 3) {
- checkUnnamed2156(o.dimensions);
+ checkUnnamed2170(o.dimensions);
unittest.expect(o.weeklyImpressions, unittest.equals('foo'));
unittest.expect(o.weeklyUniques, unittest.equals('foo'));
}
@@ -3203,27 +3203,27 @@
buildCounterSeller--;
}
-buildUnnamed2157() {
+buildUnnamed2171() {
var o = new core.List<api.TargetingValue>();
o.add(buildTargetingValue());
o.add(buildTargetingValue());
return o;
}
-checkUnnamed2157(core.List<api.TargetingValue> o) {
+checkUnnamed2171(core.List<api.TargetingValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingValue(o[0]);
checkTargetingValue(o[1]);
}
-buildUnnamed2158() {
+buildUnnamed2172() {
var o = new core.List<api.TargetingValue>();
o.add(buildTargetingValue());
o.add(buildTargetingValue());
return o;
}
-checkUnnamed2158(core.List<api.TargetingValue> o) {
+checkUnnamed2172(core.List<api.TargetingValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingValue(o[0]);
checkTargetingValue(o[1]);
@@ -3234,8 +3234,8 @@
var o = new api.SharedTargeting();
buildCounterSharedTargeting++;
if (buildCounterSharedTargeting < 3) {
- o.exclusions = buildUnnamed2157();
- o.inclusions = buildUnnamed2158();
+ o.exclusions = buildUnnamed2171();
+ o.inclusions = buildUnnamed2172();
o.key = "foo";
}
buildCounterSharedTargeting--;
@@ -3245,8 +3245,8 @@
checkSharedTargeting(api.SharedTargeting o) {
buildCounterSharedTargeting++;
if (buildCounterSharedTargeting < 3) {
- checkUnnamed2157(o.exclusions);
- checkUnnamed2158(o.inclusions);
+ checkUnnamed2171(o.exclusions);
+ checkUnnamed2172(o.inclusions);
unittest.expect(o.key, unittest.equals('foo'));
}
buildCounterSharedTargeting--;
@@ -3277,14 +3277,14 @@
buildCounterTargetingValue--;
}
-buildUnnamed2159() {
+buildUnnamed2173() {
var o = new core.List<api.TargetingValueSize>();
o.add(buildTargetingValueSize());
o.add(buildTargetingValueSize());
return o;
}
-checkUnnamed2159(core.List<api.TargetingValueSize> o) {
+checkUnnamed2173(core.List<api.TargetingValueSize> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingValueSize(o[0]);
checkTargetingValueSize(o[1]);
@@ -3295,7 +3295,7 @@
var o = new api.TargetingValueCreativeSize();
buildCounterTargetingValueCreativeSize++;
if (buildCounterTargetingValueCreativeSize < 3) {
- o.companionSizes = buildUnnamed2159();
+ o.companionSizes = buildUnnamed2173();
o.creativeSizeType = "foo";
o.nativeTemplate = "foo";
o.size = buildTargetingValueSize();
@@ -3308,7 +3308,7 @@
checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) {
buildCounterTargetingValueCreativeSize++;
if (buildCounterTargetingValueCreativeSize < 3) {
- checkUnnamed2159(o.companionSizes);
+ checkUnnamed2173(o.companionSizes);
unittest.expect(o.creativeSizeType, unittest.equals('foo'));
unittest.expect(o.nativeTemplate, unittest.equals('foo'));
checkTargetingValueSize(o.size);
@@ -3317,14 +3317,14 @@
buildCounterTargetingValueCreativeSize--;
}
-buildUnnamed2160() {
+buildUnnamed2174() {
var o = new core.List<api.TargetingValueDayPartTargetingDayPart>();
o.add(buildTargetingValueDayPartTargetingDayPart());
o.add(buildTargetingValueDayPartTargetingDayPart());
return o;
}
-checkUnnamed2160(core.List<api.TargetingValueDayPartTargetingDayPart> o) {
+checkUnnamed2174(core.List<api.TargetingValueDayPartTargetingDayPart> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingValueDayPartTargetingDayPart(o[0]);
checkTargetingValueDayPartTargetingDayPart(o[1]);
@@ -3335,7 +3335,7 @@
var o = new api.TargetingValueDayPartTargeting();
buildCounterTargetingValueDayPartTargeting++;
if (buildCounterTargetingValueDayPartTargeting < 3) {
- o.dayParts = buildUnnamed2160();
+ o.dayParts = buildUnnamed2174();
o.timeZoneType = "foo";
}
buildCounterTargetingValueDayPartTargeting--;
@@ -3345,7 +3345,7 @@
checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) {
buildCounterTargetingValueDayPartTargeting++;
if (buildCounterTargetingValueDayPartTargeting < 3) {
- checkUnnamed2160(o.dayParts);
+ checkUnnamed2174(o.dayParts);
unittest.expect(o.timeZoneType, unittest.equals('foo'));
}
buildCounterTargetingValueDayPartTargeting--;
@@ -3426,27 +3426,27 @@
buildCounterUpdatePrivateAuctionProposalRequest--;
}
-buildUnnamed2161() {
+buildUnnamed2175() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2161(core.List<core.int> o) {
+checkUnnamed2175(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));
}
-buildUnnamed2162() {
+buildUnnamed2176() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2162(core.List<core.String> o) {
+checkUnnamed2176(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4840,8 +4840,8 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
- var arg_accountId = buildUnnamed2161();
- var arg_buyerCreativeId = buildUnnamed2162();
+ var arg_accountId = buildUnnamed2175();
+ var arg_buyerCreativeId = buildUnnamed2176();
var arg_dealsStatusFilter = "foo";
var arg_maxResults = 42;
var arg_openAuctionStatusFilter = "foo";
diff --git a/generated/googleapis/test/adexchangeseller/v2_0_test.dart b/generated/googleapis/test/adexchangeseller/v2_0_test.dart
index 698dcc9..7c4e375 100644
--- a/generated/googleapis/test/adexchangeseller/v2_0_test.dart
+++ b/generated/googleapis/test/adexchangeseller/v2_0_test.dart
@@ -73,14 +73,14 @@
buildCounterAccount--;
}
-buildUnnamed1808() {
+buildUnnamed1822() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1808(core.List<api.Account> o) {
+checkUnnamed1822(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -92,7 +92,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
o.etag = "foo";
- o.items = buildUnnamed1808();
+ o.items = buildUnnamed1822();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -104,7 +104,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1808(o.items);
+ checkUnnamed1822(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -138,14 +138,14 @@
buildCounterAdClient--;
}
-buildUnnamed1809() {
+buildUnnamed1823() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed1809(core.List<api.AdClient> o) {
+checkUnnamed1823(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 = buildUnnamed1809();
+ o.items = buildUnnamed1823();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -169,7 +169,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1809(o.items);
+ checkUnnamed1823(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -203,14 +203,14 @@
buildCounterAlert--;
}
-buildUnnamed1810() {
+buildUnnamed1824() {
var o = new core.List<api.Alert>();
o.add(buildAlert());
o.add(buildAlert());
return o;
}
-checkUnnamed1810(core.List<api.Alert> o) {
+checkUnnamed1824(core.List<api.Alert> o) {
unittest.expect(o, unittest.hasLength(2));
checkAlert(o[0]);
checkAlert(o[1]);
@@ -221,7 +221,7 @@
var o = new api.Alerts();
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- o.items = buildUnnamed1810();
+ o.items = buildUnnamed1824();
o.kind = "foo";
}
buildCounterAlerts--;
@@ -231,7 +231,7 @@
checkAlerts(api.Alerts o) {
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- checkUnnamed1810(o.items);
+ checkUnnamed1824(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAlerts--;
@@ -289,14 +289,14 @@
buildCounterCustomChannel--;
}
-buildUnnamed1811() {
+buildUnnamed1825() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed1811(core.List<api.CustomChannel> o) {
+checkUnnamed1825(core.List<api.CustomChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomChannel(o[0]);
checkCustomChannel(o[1]);
@@ -308,7 +308,7 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed1811();
+ o.items = buildUnnamed1825();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -320,21 +320,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1811(o.items);
+ checkUnnamed1825(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed1812() {
+buildUnnamed1826() {
var o = new core.List<api.ReportingMetadataEntry>();
o.add(buildReportingMetadataEntry());
o.add(buildReportingMetadataEntry());
return o;
}
-checkUnnamed1812(core.List<api.ReportingMetadataEntry> o) {
+checkUnnamed1826(core.List<api.ReportingMetadataEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportingMetadataEntry(o[0]);
checkReportingMetadataEntry(o[1]);
@@ -345,7 +345,7 @@
var o = new api.Metadata();
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- o.items = buildUnnamed1812();
+ o.items = buildUnnamed1826();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -355,7 +355,7 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed1812(o.items);
+ checkUnnamed1826(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -394,14 +394,14 @@
buildCounterPreferredDeal--;
}
-buildUnnamed1813() {
+buildUnnamed1827() {
var o = new core.List<api.PreferredDeal>();
o.add(buildPreferredDeal());
o.add(buildPreferredDeal());
return o;
}
-checkUnnamed1813(core.List<api.PreferredDeal> o) {
+checkUnnamed1827(core.List<api.PreferredDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkPreferredDeal(o[0]);
checkPreferredDeal(o[1]);
@@ -412,7 +412,7 @@
var o = new api.PreferredDeals();
buildCounterPreferredDeals++;
if (buildCounterPreferredDeals < 3) {
- o.items = buildUnnamed1813();
+ o.items = buildUnnamed1827();
o.kind = "foo";
}
buildCounterPreferredDeals--;
@@ -422,20 +422,20 @@
checkPreferredDeals(api.PreferredDeals o) {
buildCounterPreferredDeals++;
if (buildCounterPreferredDeals < 3) {
- checkUnnamed1813(o.items);
+ checkUnnamed1827(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPreferredDeals--;
}
-buildUnnamed1814() {
+buildUnnamed1828() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1814(core.List<core.String> o) {
+checkUnnamed1828(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -464,66 +464,66 @@
buildCounterReportHeaders--;
}
-buildUnnamed1815() {
+buildUnnamed1829() {
var o = new core.List<api.ReportHeaders>();
o.add(buildReportHeaders());
o.add(buildReportHeaders());
return o;
}
-checkUnnamed1815(core.List<api.ReportHeaders> o) {
+checkUnnamed1829(core.List<api.ReportHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportHeaders(o[0]);
checkReportHeaders(o[1]);
}
-buildUnnamed1816() {
+buildUnnamed1830() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1816(core.List<core.String> 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'));
}
-buildUnnamed1817() {
+buildUnnamed1831() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed1816());
- o.add(buildUnnamed1816());
+ o.add(buildUnnamed1830());
+ o.add(buildUnnamed1830());
return o;
}
-checkUnnamed1817(core.List<core.List<core.String>> o) {
+checkUnnamed1831(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1816(o[0]);
- checkUnnamed1816(o[1]);
+ checkUnnamed1830(o[0]);
+ checkUnnamed1830(o[1]);
}
-buildUnnamed1818() {
+buildUnnamed1832() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1818(core.List<core.String> o) {
+checkUnnamed1832(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1819() {
+buildUnnamed1833() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1819(core.List<core.String> o) {
+checkUnnamed1833(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -534,13 +534,13 @@
var o = new api.Report();
buildCounterReport++;
if (buildCounterReport < 3) {
- o.averages = buildUnnamed1814();
- o.headers = buildUnnamed1815();
+ o.averages = buildUnnamed1828();
+ o.headers = buildUnnamed1829();
o.kind = "foo";
- o.rows = buildUnnamed1817();
+ o.rows = buildUnnamed1831();
o.totalMatchedRows = "foo";
- o.totals = buildUnnamed1818();
- o.warnings = buildUnnamed1819();
+ o.totals = buildUnnamed1832();
+ o.warnings = buildUnnamed1833();
}
buildCounterReport--;
return o;
@@ -549,77 +549,77 @@
checkReport(api.Report o) {
buildCounterReport++;
if (buildCounterReport < 3) {
- checkUnnamed1814(o.averages);
- checkUnnamed1815(o.headers);
+ checkUnnamed1828(o.averages);
+ checkUnnamed1829(o.headers);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1817(o.rows);
+ checkUnnamed1831(o.rows);
unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed1818(o.totals);
- checkUnnamed1819(o.warnings);
+ checkUnnamed1832(o.totals);
+ checkUnnamed1833(o.warnings);
}
buildCounterReport--;
}
-buildUnnamed1820() {
+buildUnnamed1834() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1820(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'));
}
-buildUnnamed1821() {
+buildUnnamed1835() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1821(core.List<core.String> o) {
+checkUnnamed1835(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1822() {
+buildUnnamed1836() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1822(core.List<core.String> o) {
+checkUnnamed1836(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1823() {
+buildUnnamed1837() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1823(core.List<core.String> o) {
+checkUnnamed1837(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1824() {
+buildUnnamed1838() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1824(core.List<core.String> o) {
+checkUnnamed1838(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -630,13 +630,13 @@
var o = new api.ReportingMetadataEntry();
buildCounterReportingMetadataEntry++;
if (buildCounterReportingMetadataEntry < 3) {
- o.compatibleDimensions = buildUnnamed1820();
- o.compatibleMetrics = buildUnnamed1821();
+ o.compatibleDimensions = buildUnnamed1834();
+ o.compatibleMetrics = buildUnnamed1835();
o.id = "foo";
o.kind = "foo";
- o.requiredDimensions = buildUnnamed1822();
- o.requiredMetrics = buildUnnamed1823();
- o.supportedProducts = buildUnnamed1824();
+ o.requiredDimensions = buildUnnamed1836();
+ o.requiredMetrics = buildUnnamed1837();
+ o.supportedProducts = buildUnnamed1838();
}
buildCounterReportingMetadataEntry--;
return o;
@@ -645,13 +645,13 @@
checkReportingMetadataEntry(api.ReportingMetadataEntry o) {
buildCounterReportingMetadataEntry++;
if (buildCounterReportingMetadataEntry < 3) {
- checkUnnamed1820(o.compatibleDimensions);
- checkUnnamed1821(o.compatibleMetrics);
+ checkUnnamed1834(o.compatibleDimensions);
+ checkUnnamed1835(o.compatibleMetrics);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1822(o.requiredDimensions);
- checkUnnamed1823(o.requiredMetrics);
- checkUnnamed1824(o.supportedProducts);
+ checkUnnamed1836(o.requiredDimensions);
+ checkUnnamed1837(o.requiredMetrics);
+ checkUnnamed1838(o.supportedProducts);
}
buildCounterReportingMetadataEntry--;
}
@@ -679,14 +679,14 @@
buildCounterSavedReport--;
}
-buildUnnamed1825() {
+buildUnnamed1839() {
var o = new core.List<api.SavedReport>();
o.add(buildSavedReport());
o.add(buildSavedReport());
return o;
}
-checkUnnamed1825(core.List<api.SavedReport> o) {
+checkUnnamed1839(core.List<api.SavedReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkSavedReport(o[0]);
checkSavedReport(o[1]);
@@ -698,7 +698,7 @@
buildCounterSavedReports++;
if (buildCounterSavedReports < 3) {
o.etag = "foo";
- o.items = buildUnnamed1825();
+ o.items = buildUnnamed1839();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -710,7 +710,7 @@
buildCounterSavedReports++;
if (buildCounterSavedReports < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1825(o.items);
+ checkUnnamed1839(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -740,14 +740,14 @@
buildCounterUrlChannel--;
}
-buildUnnamed1826() {
+buildUnnamed1840() {
var o = new core.List<api.UrlChannel>();
o.add(buildUrlChannel());
o.add(buildUrlChannel());
return o;
}
-checkUnnamed1826(core.List<api.UrlChannel> o) {
+checkUnnamed1840(core.List<api.UrlChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlChannel(o[0]);
checkUrlChannel(o[1]);
@@ -759,7 +759,7 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed1826();
+ o.items = buildUnnamed1840();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -771,60 +771,60 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1826(o.items);
+ checkUnnamed1840(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterUrlChannels--;
}
-buildUnnamed1827() {
+buildUnnamed1841() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1827(core.List<core.String> o) {
+checkUnnamed1841(core.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() {
+buildUnnamed1842() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1828(core.List<core.String> o) {
+checkUnnamed1842(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1829() {
+buildUnnamed1843() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1829(core.List<core.String> 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'));
}
-buildUnnamed1830() {
+buildUnnamed1844() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1830(core.List<core.String> o) {
+checkUnnamed1844(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1678,12 +1678,12 @@
var arg_accountId = "foo";
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_dimension = buildUnnamed1827();
- var arg_filter = buildUnnamed1828();
+ var arg_dimension = buildUnnamed1841();
+ var arg_filter = buildUnnamed1842();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed1829();
- var arg_sort = buildUnnamed1830();
+ var arg_metric = buildUnnamed1843();
+ var arg_sort = buildUnnamed1844();
var arg_startIndex = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
diff --git a/generated/googleapis/test/adexperiencereport/v1_test.dart b/generated/googleapis/test/adexperiencereport/v1_test.dart
index 88dfe70..44bf04d 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);
}
-buildUnnamed1831() {
+buildUnnamed1845() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1831(core.List<core.String> o) {
+checkUnnamed1845(core.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 = buildUnnamed1831();
+ o.region = buildUnnamed1845();
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'));
- checkUnnamed1831(o.region);
+ checkUnnamed1845(o.region);
unittest.expect(o.reportUrl, unittest.equals('foo'));
unittest.expect(o.underReview, unittest.isTrue);
}
@@ -117,14 +117,14 @@
buildCounterSiteSummaryResponse--;
}
-buildUnnamed1832() {
+buildUnnamed1846() {
var o = new core.List<api.SiteSummaryResponse>();
o.add(buildSiteSummaryResponse());
o.add(buildSiteSummaryResponse());
return o;
}
-checkUnnamed1832(core.List<api.SiteSummaryResponse> o) {
+checkUnnamed1846(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 = buildUnnamed1832();
+ o.violatingSites = buildUnnamed1846();
}
buildCounterViolatingSitesResponse--;
return o;
@@ -144,7 +144,7 @@
checkViolatingSitesResponse(api.ViolatingSitesResponse o) {
buildCounterViolatingSitesResponse++;
if (buildCounterViolatingSitesResponse < 3) {
- checkUnnamed1832(o.violatingSites);
+ checkUnnamed1846(o.violatingSites);
}
buildCounterViolatingSitesResponse--;
}
diff --git a/generated/googleapis/test/admin/directory_v1_test.dart b/generated/googleapis/test/admin/directory_v1_test.dart
index 8a7fac8..ee4d698 100644
--- a/generated/googleapis/test/admin/directory_v1_test.dart
+++ b/generated/googleapis/test/admin/directory_v1_test.dart
@@ -77,7 +77,7 @@
buildCounterAlias--;
}
-buildUnnamed841() {
+buildUnnamed848() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -92,7 +92,7 @@
return o;
}
-checkUnnamed841(core.List<core.Object> o) {
+checkUnnamed848(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 = buildUnnamed841();
+ o.aliases = buildUnnamed848();
o.etag = "foo";
o.kind = "foo";
}
@@ -122,21 +122,21 @@
checkAliases(api.Aliases o) {
buildCounterAliases++;
if (buildCounterAliases < 3) {
- checkUnnamed841(o.aliases);
+ checkUnnamed848(o.aliases);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAliases--;
}
-buildUnnamed842() {
+buildUnnamed849() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed842(core.List<core.String> o) {
+checkUnnamed849(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -147,7 +147,7 @@
var o = new api.AppAccessCollections();
buildCounterAppAccessCollections++;
if (buildCounterAppAccessCollections < 3) {
- o.blockedApiAccessBuckets = buildUnnamed842();
+ o.blockedApiAccessBuckets = buildUnnamed849();
o.enforceSettingsForAndroidDrive = true;
o.errorMessage = "foo";
o.etag = "foo";
@@ -163,7 +163,7 @@
checkAppAccessCollections(api.AppAccessCollections o) {
buildCounterAppAccessCollections++;
if (buildCounterAppAccessCollections < 3) {
- checkUnnamed842(o.blockedApiAccessBuckets);
+ checkUnnamed849(o.blockedApiAccessBuckets);
unittest.expect(o.enforceSettingsForAndroidDrive, unittest.isTrue);
unittest.expect(o.errorMessage, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
@@ -206,14 +206,14 @@
buildCounterAsp--;
}
-buildUnnamed843() {
+buildUnnamed850() {
var o = new core.List<api.Asp>();
o.add(buildAsp());
o.add(buildAsp());
return o;
}
-checkUnnamed843(core.List<api.Asp> o) {
+checkUnnamed850(core.List<api.Asp> o) {
unittest.expect(o, unittest.hasLength(2));
checkAsp(o[0]);
checkAsp(o[1]);
@@ -225,7 +225,7 @@
buildCounterAsps++;
if (buildCounterAsps < 3) {
o.etag = "foo";
- o.items = buildUnnamed843();
+ o.items = buildUnnamed850();
o.kind = "foo";
}
buildCounterAsps--;
@@ -236,7 +236,7 @@
buildCounterAsps++;
if (buildCounterAsps < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed843(o.items);
+ checkUnnamed850(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAsps--;
@@ -275,14 +275,14 @@
buildCounterCalendarResource--;
}
-buildUnnamed844() {
+buildUnnamed851() {
var o = new core.List<api.CalendarResource>();
o.add(buildCalendarResource());
o.add(buildCalendarResource());
return o;
}
-checkUnnamed844(core.List<api.CalendarResource> o) {
+checkUnnamed851(core.List<api.CalendarResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkCalendarResource(o[0]);
checkCalendarResource(o[1]);
@@ -294,7 +294,7 @@
buildCounterCalendarResources++;
if (buildCounterCalendarResources < 3) {
o.etag = "foo";
- o.items = buildUnnamed844();
+ o.items = buildUnnamed851();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -306,21 +306,21 @@
buildCounterCalendarResources++;
if (buildCounterCalendarResources < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed844(o.items);
+ checkUnnamed851(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCalendarResources--;
}
-buildUnnamed845() {
+buildUnnamed852() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed845(core.Map<core.String, core.String> o) {
+checkUnnamed852(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'));
@@ -335,7 +335,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed845();
+ o.params = buildUnnamed852();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -353,7 +353,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed845(o.params);
+ checkUnnamed852(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -385,14 +385,14 @@
buildCounterChromeOsDeviceActiveTimeRanges--;
}
-buildUnnamed846() {
+buildUnnamed853() {
var o = new core.List<api.ChromeOsDeviceActiveTimeRanges>();
o.add(buildChromeOsDeviceActiveTimeRanges());
o.add(buildChromeOsDeviceActiveTimeRanges());
return o;
}
-checkUnnamed846(core.List<api.ChromeOsDeviceActiveTimeRanges> o) {
+checkUnnamed853(core.List<api.ChromeOsDeviceActiveTimeRanges> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDeviceActiveTimeRanges(o[0]);
checkChromeOsDeviceActiveTimeRanges(o[1]);
@@ -419,14 +419,14 @@
buildCounterChromeOsDeviceRecentUsers--;
}
-buildUnnamed847() {
+buildUnnamed854() {
var o = new core.List<api.ChromeOsDeviceRecentUsers>();
o.add(buildChromeOsDeviceRecentUsers());
o.add(buildChromeOsDeviceRecentUsers());
return o;
}
-checkUnnamed847(core.List<api.ChromeOsDeviceRecentUsers> o) {
+checkUnnamed854(core.List<api.ChromeOsDeviceRecentUsers> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDeviceRecentUsers(o[0]);
checkChromeOsDeviceRecentUsers(o[1]);
@@ -437,7 +437,7 @@
var o = new api.ChromeOsDevice();
buildCounterChromeOsDevice++;
if (buildCounterChromeOsDevice < 3) {
- o.activeTimeRanges = buildUnnamed846();
+ o.activeTimeRanges = buildUnnamed853();
o.annotatedAssetId = "foo";
o.annotatedLocation = "foo";
o.annotatedUser = "foo";
@@ -457,7 +457,7 @@
o.orgUnitPath = "foo";
o.osVersion = "foo";
o.platformVersion = "foo";
- o.recentUsers = buildUnnamed847();
+ o.recentUsers = buildUnnamed854();
o.serialNumber = "foo";
o.status = "foo";
o.supportEndDate = core.DateTime.parse("2002-02-27T14:01:02");
@@ -470,7 +470,7 @@
checkChromeOsDevice(api.ChromeOsDevice o) {
buildCounterChromeOsDevice++;
if (buildCounterChromeOsDevice < 3) {
- checkUnnamed846(o.activeTimeRanges);
+ checkUnnamed853(o.activeTimeRanges);
unittest.expect(o.annotatedAssetId, unittest.equals('foo'));
unittest.expect(o.annotatedLocation, unittest.equals('foo'));
unittest.expect(o.annotatedUser, unittest.equals('foo'));
@@ -492,7 +492,7 @@
unittest.expect(o.orgUnitPath, unittest.equals('foo'));
unittest.expect(o.osVersion, unittest.equals('foo'));
unittest.expect(o.platformVersion, unittest.equals('foo'));
- checkUnnamed847(o.recentUsers);
+ checkUnnamed854(o.recentUsers);
unittest.expect(o.serialNumber, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.supportEndDate,
@@ -523,14 +523,14 @@
buildCounterChromeOsDeviceAction--;
}
-buildUnnamed848() {
+buildUnnamed855() {
var o = new core.List<api.ChromeOsDevice>();
o.add(buildChromeOsDevice());
o.add(buildChromeOsDevice());
return o;
}
-checkUnnamed848(core.List<api.ChromeOsDevice> o) {
+checkUnnamed855(core.List<api.ChromeOsDevice> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDevice(o[0]);
checkChromeOsDevice(o[1]);
@@ -541,7 +541,7 @@
var o = new api.ChromeOsDevices();
buildCounterChromeOsDevices++;
if (buildCounterChromeOsDevices < 3) {
- o.chromeosdevices = buildUnnamed848();
+ o.chromeosdevices = buildUnnamed855();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -553,7 +553,7 @@
checkChromeOsDevices(api.ChromeOsDevices o) {
buildCounterChromeOsDevices++;
if (buildCounterChromeOsDevices < 3) {
- checkUnnamed848(o.chromeosdevices);
+ checkUnnamed855(o.chromeosdevices);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -561,14 +561,14 @@
buildCounterChromeOsDevices--;
}
-buildUnnamed849() {
+buildUnnamed856() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed849(core.List<core.String> o) {
+checkUnnamed856(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -579,7 +579,7 @@
var o = new api.ChromeOsMoveDevicesToOu();
buildCounterChromeOsMoveDevicesToOu++;
if (buildCounterChromeOsMoveDevicesToOu < 3) {
- o.deviceIds = buildUnnamed849();
+ o.deviceIds = buildUnnamed856();
}
buildCounterChromeOsMoveDevicesToOu--;
return o;
@@ -588,7 +588,7 @@
checkChromeOsMoveDevicesToOu(api.ChromeOsMoveDevicesToOu o) {
buildCounterChromeOsMoveDevicesToOu++;
if (buildCounterChromeOsMoveDevicesToOu < 3) {
- checkUnnamed849(o.deviceIds);
+ checkUnnamed856(o.deviceIds);
}
buildCounterChromeOsMoveDevicesToOu--;
}
@@ -693,14 +693,14 @@
buildCounterDomainAlias--;
}
-buildUnnamed850() {
+buildUnnamed857() {
var o = new core.List<api.DomainAlias>();
o.add(buildDomainAlias());
o.add(buildDomainAlias());
return o;
}
-checkUnnamed850(core.List<api.DomainAlias> o) {
+checkUnnamed857(core.List<api.DomainAlias> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomainAlias(o[0]);
checkDomainAlias(o[1]);
@@ -711,7 +711,7 @@
var o = new api.DomainAliases();
buildCounterDomainAliases++;
if (buildCounterDomainAliases < 3) {
- o.domainAliases = buildUnnamed850();
+ o.domainAliases = buildUnnamed857();
o.etag = "foo";
o.kind = "foo";
}
@@ -722,21 +722,21 @@
checkDomainAliases(api.DomainAliases o) {
buildCounterDomainAliases++;
if (buildCounterDomainAliases < 3) {
- checkUnnamed850(o.domainAliases);
+ checkUnnamed857(o.domainAliases);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDomainAliases--;
}
-buildUnnamed851() {
+buildUnnamed858() {
var o = new core.List<api.DomainAlias>();
o.add(buildDomainAlias());
o.add(buildDomainAlias());
return o;
}
-checkUnnamed851(core.List<api.DomainAlias> o) {
+checkUnnamed858(core.List<api.DomainAlias> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomainAlias(o[0]);
checkDomainAlias(o[1]);
@@ -748,7 +748,7 @@
buildCounterDomains++;
if (buildCounterDomains < 3) {
o.creationTime = "foo";
- o.domainAliases = buildUnnamed851();
+ o.domainAliases = buildUnnamed858();
o.domainName = "foo";
o.etag = "foo";
o.isPrimary = true;
@@ -763,7 +763,7 @@
buildCounterDomains++;
if (buildCounterDomains < 3) {
unittest.expect(o.creationTime, unittest.equals('foo'));
- checkUnnamed851(o.domainAliases);
+ checkUnnamed858(o.domainAliases);
unittest.expect(o.domainName, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.isPrimary, unittest.isTrue);
@@ -773,14 +773,14 @@
buildCounterDomains--;
}
-buildUnnamed852() {
+buildUnnamed859() {
var o = new core.List<api.Domains>();
o.add(buildDomains());
o.add(buildDomains());
return o;
}
-checkUnnamed852(core.List<api.Domains> o) {
+checkUnnamed859(core.List<api.Domains> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomains(o[0]);
checkDomains(o[1]);
@@ -791,7 +791,7 @@
var o = new api.Domains2();
buildCounterDomains2++;
if (buildCounterDomains2 < 3) {
- o.domains = buildUnnamed852();
+ o.domains = buildUnnamed859();
o.etag = "foo";
o.kind = "foo";
}
@@ -802,34 +802,34 @@
checkDomains2(api.Domains2 o) {
buildCounterDomains2++;
if (buildCounterDomains2 < 3) {
- checkUnnamed852(o.domains);
+ checkUnnamed859(o.domains);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDomains2--;
}
-buildUnnamed853() {
+buildUnnamed860() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed853(core.List<core.String> o) {
+checkUnnamed860(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed854() {
+buildUnnamed861() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed854(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'));
@@ -841,7 +841,7 @@
buildCounterGroup++;
if (buildCounterGroup < 3) {
o.adminCreated = true;
- o.aliases = buildUnnamed853();
+ o.aliases = buildUnnamed860();
o.description = "foo";
o.directMembersCount = "foo";
o.email = "foo";
@@ -849,7 +849,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.nonEditableAliases = buildUnnamed854();
+ o.nonEditableAliases = buildUnnamed861();
}
buildCounterGroup--;
return o;
@@ -859,7 +859,7 @@
buildCounterGroup++;
if (buildCounterGroup < 3) {
unittest.expect(o.adminCreated, unittest.isTrue);
- checkUnnamed853(o.aliases);
+ checkUnnamed860(o.aliases);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.directMembersCount, unittest.equals('foo'));
unittest.expect(o.email, unittest.equals('foo'));
@@ -867,19 +867,19 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed854(o.nonEditableAliases);
+ checkUnnamed861(o.nonEditableAliases);
}
buildCounterGroup--;
}
-buildUnnamed855() {
+buildUnnamed862() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed855(core.List<api.Group> o) {
+checkUnnamed862(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -891,7 +891,7 @@
buildCounterGroups++;
if (buildCounterGroups < 3) {
o.etag = "foo";
- o.groups = buildUnnamed855();
+ o.groups = buildUnnamed862();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -903,7 +903,7 @@
buildCounterGroups++;
if (buildCounterGroups < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed855(o.groups);
+ checkUnnamed862(o.groups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -941,14 +941,14 @@
buildCounterMember--;
}
-buildUnnamed856() {
+buildUnnamed863() {
var o = new core.List<api.Member>();
o.add(buildMember());
o.add(buildMember());
return o;
}
-checkUnnamed856(core.List<api.Member> o) {
+checkUnnamed863(core.List<api.Member> o) {
unittest.expect(o, unittest.hasLength(2));
checkMember(o[0]);
checkMember(o[1]);
@@ -961,7 +961,7 @@
if (buildCounterMembers < 3) {
o.etag = "foo";
o.kind = "foo";
- o.members = buildUnnamed856();
+ o.members = buildUnnamed863();
o.nextPageToken = "foo";
}
buildCounterMembers--;
@@ -973,20 +973,39 @@
if (buildCounterMembers < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed856(o.members);
+ checkUnnamed863(o.members);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterMembers--;
}
-buildUnnamed857() {
+core.int buildCounterMembersHasMember = 0;
+buildMembersHasMember() {
+ var o = new api.MembersHasMember();
+ buildCounterMembersHasMember++;
+ if (buildCounterMembersHasMember < 3) {
+ o.isMember = true;
+ }
+ buildCounterMembersHasMember--;
+ return o;
+}
+
+checkMembersHasMember(api.MembersHasMember o) {
+ buildCounterMembersHasMember++;
+ if (buildCounterMembersHasMember < 3) {
+ unittest.expect(o.isMember, unittest.isTrue);
+ }
+ buildCounterMembersHasMember--;
+}
+
+buildUnnamed864() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed857(core.List<core.String> o) {
+checkUnnamed864(core.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,7 +1018,7 @@
if (buildCounterMobileDeviceApplications < 3) {
o.displayName = "foo";
o.packageName = "foo";
- o.permission = buildUnnamed857();
+ o.permission = buildUnnamed864();
o.versionCode = 42;
o.versionName = "foo";
}
@@ -1012,60 +1031,60 @@
if (buildCounterMobileDeviceApplications < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed857(o.permission);
+ checkUnnamed864(o.permission);
unittest.expect(o.versionCode, unittest.equals(42));
unittest.expect(o.versionName, unittest.equals('foo'));
}
buildCounterMobileDeviceApplications--;
}
-buildUnnamed858() {
+buildUnnamed865() {
var o = new core.List<api.MobileDeviceApplications>();
o.add(buildMobileDeviceApplications());
o.add(buildMobileDeviceApplications());
return o;
}
-checkUnnamed858(core.List<api.MobileDeviceApplications> o) {
+checkUnnamed865(core.List<api.MobileDeviceApplications> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileDeviceApplications(o[0]);
checkMobileDeviceApplications(o[1]);
}
-buildUnnamed859() {
+buildUnnamed866() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed859(core.List<core.String> o) {
+checkUnnamed866(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed860() {
+buildUnnamed867() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed860(core.List<core.String> o) {
+checkUnnamed867(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed861() {
+buildUnnamed868() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed861(core.List<core.String> o) {
+checkUnnamed868(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1077,7 +1096,7 @@
buildCounterMobileDevice++;
if (buildCounterMobileDevice < 3) {
o.adbStatus = true;
- o.applications = buildUnnamed858();
+ o.applications = buildUnnamed865();
o.basebandVersion = "foo";
o.bootloaderVersion = "foo";
o.brand = "foo";
@@ -1087,7 +1106,7 @@
o.deviceCompromisedStatus = "foo";
o.deviceId = "foo";
o.devicePasswordStatus = "foo";
- o.email = buildUnnamed859();
+ o.email = buildUnnamed866();
o.encryptionStatus = "foo";
o.etag = "foo";
o.firstSync = core.DateTime.parse("2002-02-27T14:01:02");
@@ -1101,10 +1120,10 @@
o.manufacturer = "foo";
o.meid = "foo";
o.model = "foo";
- o.name = buildUnnamed860();
+ o.name = buildUnnamed867();
o.networkOperator = "foo";
o.os = "foo";
- o.otherAccountsInfo = buildUnnamed861();
+ o.otherAccountsInfo = buildUnnamed868();
o.privilege = "foo";
o.releaseVersion = "foo";
o.resourceId = "foo";
@@ -1125,7 +1144,7 @@
buildCounterMobileDevice++;
if (buildCounterMobileDevice < 3) {
unittest.expect(o.adbStatus, unittest.isTrue);
- checkUnnamed858(o.applications);
+ checkUnnamed865(o.applications);
unittest.expect(o.basebandVersion, unittest.equals('foo'));
unittest.expect(o.bootloaderVersion, unittest.equals('foo'));
unittest.expect(o.brand, unittest.equals('foo'));
@@ -1135,7 +1154,7 @@
unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo'));
unittest.expect(o.deviceId, unittest.equals('foo'));
unittest.expect(o.devicePasswordStatus, unittest.equals('foo'));
- checkUnnamed859(o.email);
+ checkUnnamed866(o.email);
unittest.expect(o.encryptionStatus, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.firstSync,
@@ -1151,10 +1170,10 @@
unittest.expect(o.manufacturer, unittest.equals('foo'));
unittest.expect(o.meid, unittest.equals('foo'));
unittest.expect(o.model, unittest.equals('foo'));
- checkUnnamed860(o.name);
+ checkUnnamed867(o.name);
unittest.expect(o.networkOperator, unittest.equals('foo'));
unittest.expect(o.os, unittest.equals('foo'));
- checkUnnamed861(o.otherAccountsInfo);
+ checkUnnamed868(o.otherAccountsInfo);
unittest.expect(o.privilege, unittest.equals('foo'));
unittest.expect(o.releaseVersion, unittest.equals('foo'));
unittest.expect(o.resourceId, unittest.equals('foo'));
@@ -1189,14 +1208,14 @@
buildCounterMobileDeviceAction--;
}
-buildUnnamed862() {
+buildUnnamed869() {
var o = new core.List<api.MobileDevice>();
o.add(buildMobileDevice());
o.add(buildMobileDevice());
return o;
}
-checkUnnamed862(core.List<api.MobileDevice> o) {
+checkUnnamed869(core.List<api.MobileDevice> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileDevice(o[0]);
checkMobileDevice(o[1]);
@@ -1209,7 +1228,7 @@
if (buildCounterMobileDevices < 3) {
o.etag = "foo";
o.kind = "foo";
- o.mobiledevices = buildUnnamed862();
+ o.mobiledevices = buildUnnamed869();
o.nextPageToken = "foo";
}
buildCounterMobileDevices--;
@@ -1221,7 +1240,7 @@
if (buildCounterMobileDevices < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed862(o.mobiledevices);
+ checkUnnamed869(o.mobiledevices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterMobileDevices--;
@@ -1261,14 +1280,14 @@
buildCounterNotification--;
}
-buildUnnamed863() {
+buildUnnamed870() {
var o = new core.List<api.Notification>();
o.add(buildNotification());
o.add(buildNotification());
return o;
}
-checkUnnamed863(core.List<api.Notification> o) {
+checkUnnamed870(core.List<api.Notification> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotification(o[0]);
checkNotification(o[1]);
@@ -1280,7 +1299,7 @@
buildCounterNotifications++;
if (buildCounterNotifications < 3) {
o.etag = "foo";
- o.items = buildUnnamed863();
+ o.items = buildUnnamed870();
o.kind = "foo";
o.nextPageToken = "foo";
o.unreadNotificationsCount = 42;
@@ -1293,7 +1312,7 @@
buildCounterNotifications++;
if (buildCounterNotifications < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed863(o.items);
+ checkUnnamed870(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.unreadNotificationsCount, unittest.equals(42));
@@ -1336,14 +1355,14 @@
buildCounterOrgUnit--;
}
-buildUnnamed864() {
+buildUnnamed871() {
var o = new core.List<api.OrgUnit>();
o.add(buildOrgUnit());
o.add(buildOrgUnit());
return o;
}
-checkUnnamed864(core.List<api.OrgUnit> o) {
+checkUnnamed871(core.List<api.OrgUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrgUnit(o[0]);
checkOrgUnit(o[1]);
@@ -1356,7 +1375,7 @@
if (buildCounterOrgUnits < 3) {
o.etag = "foo";
o.kind = "foo";
- o.organizationUnits = buildUnnamed864();
+ o.organizationUnits = buildUnnamed871();
}
buildCounterOrgUnits--;
return o;
@@ -1367,19 +1386,19 @@
if (buildCounterOrgUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed864(o.organizationUnits);
+ checkUnnamed871(o.organizationUnits);
}
buildCounterOrgUnits--;
}
-buildUnnamed865() {
+buildUnnamed872() {
var o = new core.List<api.Privilege>();
o.add(buildPrivilege());
o.add(buildPrivilege());
return o;
}
-checkUnnamed865(core.List<api.Privilege> o) {
+checkUnnamed872(core.List<api.Privilege> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrivilege(o[0]);
checkPrivilege(o[1]);
@@ -1390,7 +1409,7 @@
var o = new api.Privilege();
buildCounterPrivilege++;
if (buildCounterPrivilege < 3) {
- o.childPrivileges = buildUnnamed865();
+ o.childPrivileges = buildUnnamed872();
o.etag = "foo";
o.isOuScopable = true;
o.kind = "foo";
@@ -1405,7 +1424,7 @@
checkPrivilege(api.Privilege o) {
buildCounterPrivilege++;
if (buildCounterPrivilege < 3) {
- checkUnnamed865(o.childPrivileges);
+ checkUnnamed872(o.childPrivileges);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.isOuScopable, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1416,14 +1435,14 @@
buildCounterPrivilege--;
}
-buildUnnamed866() {
+buildUnnamed873() {
var o = new core.List<api.Privilege>();
o.add(buildPrivilege());
o.add(buildPrivilege());
return o;
}
-checkUnnamed866(core.List<api.Privilege> o) {
+checkUnnamed873(core.List<api.Privilege> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrivilege(o[0]);
checkPrivilege(o[1]);
@@ -1435,7 +1454,7 @@
buildCounterPrivileges++;
if (buildCounterPrivileges < 3) {
o.etag = "foo";
- o.items = buildUnnamed866();
+ o.items = buildUnnamed873();
o.kind = "foo";
}
buildCounterPrivileges--;
@@ -1446,7 +1465,7 @@
buildCounterPrivileges++;
if (buildCounterPrivileges < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed866(o.items);
+ checkUnnamed873(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPrivileges--;
@@ -1473,14 +1492,14 @@
buildCounterRoleRolePrivileges--;
}
-buildUnnamed867() {
+buildUnnamed874() {
var o = new core.List<api.RoleRolePrivileges>();
o.add(buildRoleRolePrivileges());
o.add(buildRoleRolePrivileges());
return o;
}
-checkUnnamed867(core.List<api.RoleRolePrivileges> o) {
+checkUnnamed874(core.List<api.RoleRolePrivileges> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoleRolePrivileges(o[0]);
checkRoleRolePrivileges(o[1]);
@@ -1498,7 +1517,7 @@
o.roleDescription = "foo";
o.roleId = "foo";
o.roleName = "foo";
- o.rolePrivileges = buildUnnamed867();
+ o.rolePrivileges = buildUnnamed874();
}
buildCounterRole--;
return o;
@@ -1514,7 +1533,7 @@
unittest.expect(o.roleDescription, unittest.equals('foo'));
unittest.expect(o.roleId, unittest.equals('foo'));
unittest.expect(o.roleName, unittest.equals('foo'));
- checkUnnamed867(o.rolePrivileges);
+ checkUnnamed874(o.rolePrivileges);
}
buildCounterRole--;
}
@@ -1550,14 +1569,14 @@
buildCounterRoleAssignment--;
}
-buildUnnamed868() {
+buildUnnamed875() {
var o = new core.List<api.RoleAssignment>();
o.add(buildRoleAssignment());
o.add(buildRoleAssignment());
return o;
}
-checkUnnamed868(core.List<api.RoleAssignment> o) {
+checkUnnamed875(core.List<api.RoleAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoleAssignment(o[0]);
checkRoleAssignment(o[1]);
@@ -1569,7 +1588,7 @@
buildCounterRoleAssignments++;
if (buildCounterRoleAssignments < 3) {
o.etag = "foo";
- o.items = buildUnnamed868();
+ o.items = buildUnnamed875();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1581,21 +1600,21 @@
buildCounterRoleAssignments++;
if (buildCounterRoleAssignments < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed868(o.items);
+ checkUnnamed875(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterRoleAssignments--;
}
-buildUnnamed869() {
+buildUnnamed876() {
var o = new core.List<api.Role>();
o.add(buildRole());
o.add(buildRole());
return o;
}
-checkUnnamed869(core.List<api.Role> o) {
+checkUnnamed876(core.List<api.Role> o) {
unittest.expect(o, unittest.hasLength(2));
checkRole(o[0]);
checkRole(o[1]);
@@ -1607,7 +1626,7 @@
buildCounterRoles++;
if (buildCounterRoles < 3) {
o.etag = "foo";
- o.items = buildUnnamed869();
+ o.items = buildUnnamed876();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1619,21 +1638,21 @@
buildCounterRoles++;
if (buildCounterRoles < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed869(o.items);
+ checkUnnamed876(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterRoles--;
}
-buildUnnamed870() {
+buildUnnamed877() {
var o = new core.List<api.SchemaFieldSpec>();
o.add(buildSchemaFieldSpec());
o.add(buildSchemaFieldSpec());
return o;
}
-checkUnnamed870(core.List<api.SchemaFieldSpec> o) {
+checkUnnamed877(core.List<api.SchemaFieldSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkSchemaFieldSpec(o[0]);
checkSchemaFieldSpec(o[1]);
@@ -1645,7 +1664,7 @@
buildCounterSchema++;
if (buildCounterSchema < 3) {
o.etag = "foo";
- o.fields = buildUnnamed870();
+ o.fields = buildUnnamed877();
o.kind = "foo";
o.schemaId = "foo";
o.schemaName = "foo";
@@ -1658,7 +1677,7 @@
buildCounterSchema++;
if (buildCounterSchema < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed870(o.fields);
+ checkUnnamed877(o.fields);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.schemaId, unittest.equals('foo'));
unittest.expect(o.schemaName, unittest.equals('foo'));
@@ -1723,14 +1742,14 @@
buildCounterSchemaFieldSpec--;
}
-buildUnnamed871() {
+buildUnnamed878() {
var o = new core.List<api.Schema>();
o.add(buildSchema());
o.add(buildSchema());
return o;
}
-checkUnnamed871(core.List<api.Schema> o) {
+checkUnnamed878(core.List<api.Schema> o) {
unittest.expect(o, unittest.hasLength(2));
checkSchema(o[0]);
checkSchema(o[1]);
@@ -1743,7 +1762,7 @@
if (buildCounterSchemas < 3) {
o.etag = "foo";
o.kind = "foo";
- o.schemas = buildUnnamed871();
+ o.schemas = buildUnnamed878();
}
buildCounterSchemas--;
return o;
@@ -1754,19 +1773,19 @@
if (buildCounterSchemas < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed871(o.schemas);
+ checkUnnamed878(o.schemas);
}
buildCounterSchemas--;
}
-buildUnnamed872() {
+buildUnnamed879() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed872(core.List<core.String> o) {
+checkUnnamed879(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1783,7 +1802,7 @@
o.etag = "foo";
o.kind = "foo";
o.nativeApp = true;
- o.scopes = buildUnnamed872();
+ o.scopes = buildUnnamed879();
o.userKey = "foo";
}
buildCounterToken--;
@@ -1799,20 +1818,20 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nativeApp, unittest.isTrue);
- checkUnnamed872(o.scopes);
+ checkUnnamed879(o.scopes);
unittest.expect(o.userKey, unittest.equals('foo'));
}
buildCounterToken--;
}
-buildUnnamed873() {
+buildUnnamed880() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed873(core.List<api.Token> o) {
+checkUnnamed880(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -1824,7 +1843,7 @@
buildCounterTokens++;
if (buildCounterTokens < 3) {
o.etag = "foo";
- o.items = buildUnnamed873();
+ o.items = buildUnnamed880();
o.kind = "foo";
}
buildCounterTokens--;
@@ -1835,7 +1854,7 @@
buildCounterTokens++;
if (buildCounterTokens < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed873(o.items);
+ checkUnnamed880(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTokens--;
@@ -1868,14 +1887,14 @@
buildCounterTrustedAppId--;
}
-buildUnnamed874() {
+buildUnnamed881() {
var o = new core.List<api.TrustedAppId>();
o.add(buildTrustedAppId());
o.add(buildTrustedAppId());
return o;
}
-checkUnnamed874(core.List<api.TrustedAppId> o) {
+checkUnnamed881(core.List<api.TrustedAppId> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrustedAppId(o[0]);
checkTrustedAppId(o[1]);
@@ -1889,7 +1908,7 @@
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.trustedApps = buildUnnamed874();
+ o.trustedApps = buildUnnamed881();
}
buildCounterTrustedApps--;
return o;
@@ -1901,45 +1920,45 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed874(o.trustedApps);
+ checkUnnamed881(o.trustedApps);
}
buildCounterTrustedApps--;
}
-buildUnnamed875() {
+buildUnnamed882() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed875(core.List<core.String> o) {
+checkUnnamed882(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed876() {
+buildUnnamed883() {
var o = new core.Map<core.String, api.UserCustomProperties>();
o["x"] = buildUserCustomProperties();
o["y"] = buildUserCustomProperties();
return o;
}
-checkUnnamed876(core.Map<core.String, api.UserCustomProperties> o) {
+checkUnnamed883(core.Map<core.String, api.UserCustomProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserCustomProperties(o["x"]);
checkUserCustomProperties(o["y"]);
}
-buildUnnamed877() {
+buildUnnamed884() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed877(core.List<core.String> o) {
+checkUnnamed884(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1956,10 +1975,10 @@
'string': 'foo'
};
o.agreedToTerms = true;
- o.aliases = buildUnnamed875();
+ o.aliases = buildUnnamed882();
o.changePasswordAtNextLogin = true;
o.creationTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.customSchemas = buildUnnamed876();
+ o.customSchemas = buildUnnamed883();
o.customerId = "foo";
o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02");
o.emails = {
@@ -2010,7 +2029,7 @@
'string': 'foo'
};
o.name = buildUserName();
- o.nonEditableAliases = buildUnnamed877();
+ o.nonEditableAliases = buildUnnamed884();
o.notes = {
'list': [1, 2, 3],
'bool': true,
@@ -2067,11 +2086,11 @@
unittest.expect(casted3["bool"], unittest.equals(true));
unittest.expect(casted3["string"], unittest.equals('foo'));
unittest.expect(o.agreedToTerms, unittest.isTrue);
- checkUnnamed875(o.aliases);
+ checkUnnamed882(o.aliases);
unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue);
unittest.expect(o.creationTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed876(o.customSchemas);
+ checkUnnamed883(o.customSchemas);
unittest.expect(o.customerId, unittest.equals('foo'));
unittest.expect(o.deletionTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -2124,7 +2143,7 @@
unittest.expect(casted10["bool"], unittest.equals(true));
unittest.expect(casted10["string"], unittest.equals('foo'));
checkUserName(o.name);
- checkUnnamed877(o.nonEditableAliases);
+ checkUnnamed884(o.nonEditableAliases);
var casted11 = (o.notes) as core.Map;
unittest.expect(casted11, unittest.hasLength(3));
unittest.expect(casted11["list"], unittest.equals([1, 2, 3]));
@@ -2585,6 +2604,7 @@
var o = new api.UserPosixAccount();
buildCounterUserPosixAccount++;
if (buildCounterUserPosixAccount < 3) {
+ o.accountId = "foo";
o.gecos = "foo";
o.gid = "foo";
o.homeDirectory = "foo";
@@ -2601,6 +2621,7 @@
checkUserPosixAccount(api.UserPosixAccount o) {
buildCounterUserPosixAccount++;
if (buildCounterUserPosixAccount < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.gecos, unittest.equals('foo'));
unittest.expect(o.gid, unittest.equals('foo'));
unittest.expect(o.homeDirectory, unittest.equals('foo'));
@@ -2703,14 +2724,14 @@
buildCounterUserWebsite--;
}
-buildUnnamed878() {
+buildUnnamed885() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed878(core.List<api.User> o) {
+checkUnnamed885(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -2725,7 +2746,7 @@
o.kind = "foo";
o.nextPageToken = "foo";
o.triggerEvent = "foo";
- o.users = buildUnnamed878();
+ o.users = buildUnnamed885();
}
buildCounterUsers--;
return o;
@@ -2738,7 +2759,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.triggerEvent, unittest.equals('foo'));
- checkUnnamed878(o.users);
+ checkUnnamed885(o.users);
}
buildCounterUsers--;
}
@@ -2768,14 +2789,14 @@
buildCounterVerificationCode--;
}
-buildUnnamed879() {
+buildUnnamed886() {
var o = new core.List<api.VerificationCode>();
o.add(buildVerificationCode());
o.add(buildVerificationCode());
return o;
}
-checkUnnamed879(core.List<api.VerificationCode> o) {
+checkUnnamed886(core.List<api.VerificationCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkVerificationCode(o[0]);
checkVerificationCode(o[1]);
@@ -2787,7 +2808,7 @@
buildCounterVerificationCodes++;
if (buildCounterVerificationCodes < 3) {
o.etag = "foo";
- o.items = buildUnnamed879();
+ o.items = buildUnnamed886();
o.kind = "foo";
}
buildCounterVerificationCodes--;
@@ -2798,59 +2819,59 @@
buildCounterVerificationCodes++;
if (buildCounterVerificationCodes < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed879(o.items);
+ checkUnnamed886(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterVerificationCodes--;
}
-buildUnnamed880() {
+buildUnnamed887() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed880(core.List<core.String> o) {
+checkUnnamed887(core.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() {
+buildUnnamed888() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed881(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'));
}
-buildUnnamed882() {
+buildUnnamed889() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed882(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'));
}
-buildUnnamed883() {
+buildUnnamed890() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed883(core.List<core.String> o) {
+checkUnnamed890(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3049,6 +3070,14 @@
});
});
+ unittest.group("obj-schema-MembersHasMember", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMembersHasMember();
+ var od = new api.MembersHasMember.fromJson(o.toJson());
+ checkMembersHasMember(od);
+ });
+ });
+
unittest.group("obj-schema-MobileDeviceApplications", () {
unittest.test("to-json--from-json", () {
var o = buildMobileDeviceApplications();
@@ -5518,6 +5547,72 @@
})));
});
+ unittest.test("method--hasMember", () {
+ var mock = new HttpServerMock();
+ api.MembersResourceApi res = new api.AdminApi(mock).members;
+ var arg_groupKey = "foo";
+ var arg_memberKey = "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("admin/directory/v1/"));
+ pathOffset += 19;
+ unittest.expect(path.substring(pathOffset, pathOffset + 7),
+ unittest.equals("groups/"));
+ pathOffset += 7;
+ index = path.indexOf("/hasMember/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_groupKey"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 11),
+ unittest.equals("/hasMember/"));
+ pathOffset += 11;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_memberKey"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ 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(buildMembersHasMember());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .hasMember(arg_groupKey, arg_memberKey, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.MembersHasMember response) {
+ checkMembersHasMember(response);
+ })));
+ });
+
unittest.test("method--insert", () {
var mock = new HttpServerMock();
api.MembersResourceApi res = new api.AdminApi(mock).members;
@@ -6451,7 +6546,7 @@
var mock = new HttpServerMock();
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed880();
+ var arg_orgUnitPath = buildUnnamed887();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6519,7 +6614,7 @@
var mock = new HttpServerMock();
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed881();
+ var arg_orgUnitPath = buildUnnamed888();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6726,7 +6821,7 @@
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_request = buildOrgUnit();
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed882();
+ var arg_orgUnitPath = buildUnnamed889();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.OrgUnit.fromJson(json);
@@ -6801,7 +6896,7 @@
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_request = buildOrgUnit();
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed883();
+ var arg_orgUnitPath = buildUnnamed890();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.OrgUnit.fromJson(json);
diff --git a/generated/googleapis/test/admin/reports_v1_test.dart b/generated/googleapis/test/admin/reports_v1_test.dart
index 2eb5090..19c83c7 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);
}
-buildUnnamed718() {
+buildUnnamed723() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed718(core.List<api.Activity> o) {
+checkUnnamed723(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 = buildUnnamed718();
+ o.items = buildUnnamed723();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -81,7 +81,7 @@
buildCounterActivities++;
if (buildCounterActivities < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed718(o.items);
+ checkUnnamed723(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -113,27 +113,27 @@
buildCounterActivityActor--;
}
-buildUnnamed719() {
+buildUnnamed724() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed719(core.List<core.String> o) {
+checkUnnamed724(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed720() {
+buildUnnamed725() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed720(core.List<core.String> 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'));
@@ -146,8 +146,8 @@
if (buildCounterActivityEventsParameters < 3) {
o.boolValue = true;
o.intValue = "foo";
- o.multiIntValue = buildUnnamed719();
- o.multiValue = buildUnnamed720();
+ o.multiIntValue = buildUnnamed724();
+ o.multiValue = buildUnnamed725();
o.name = "foo";
o.value = "foo";
}
@@ -160,22 +160,22 @@
if (buildCounterActivityEventsParameters < 3) {
unittest.expect(o.boolValue, unittest.isTrue);
unittest.expect(o.intValue, unittest.equals('foo'));
- checkUnnamed719(o.multiIntValue);
- checkUnnamed720(o.multiValue);
+ checkUnnamed724(o.multiIntValue);
+ checkUnnamed725(o.multiValue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterActivityEventsParameters--;
}
-buildUnnamed721() {
+buildUnnamed726() {
var o = new core.List<api.ActivityEventsParameters>();
o.add(buildActivityEventsParameters());
o.add(buildActivityEventsParameters());
return o;
}
-checkUnnamed721(core.List<api.ActivityEventsParameters> o) {
+checkUnnamed726(core.List<api.ActivityEventsParameters> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityEventsParameters(o[0]);
checkActivityEventsParameters(o[1]);
@@ -187,7 +187,7 @@
buildCounterActivityEvents++;
if (buildCounterActivityEvents < 3) {
o.name = "foo";
- o.parameters = buildUnnamed721();
+ o.parameters = buildUnnamed726();
o.type = "foo";
}
buildCounterActivityEvents--;
@@ -198,20 +198,20 @@
buildCounterActivityEvents++;
if (buildCounterActivityEvents < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed721(o.parameters);
+ checkUnnamed726(o.parameters);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterActivityEvents--;
}
-buildUnnamed722() {
+buildUnnamed727() {
var o = new core.List<api.ActivityEvents>();
o.add(buildActivityEvents());
o.add(buildActivityEvents());
return o;
}
-checkUnnamed722(core.List<api.ActivityEvents> o) {
+checkUnnamed727(core.List<api.ActivityEvents> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityEvents(o[0]);
checkActivityEvents(o[1]);
@@ -250,7 +250,7 @@
if (buildCounterActivity < 3) {
o.actor = buildActivityActor();
o.etag = "foo";
- o.events = buildUnnamed722();
+ o.events = buildUnnamed727();
o.id = buildActivityId();
o.ipAddress = "foo";
o.kind = "foo";
@@ -265,7 +265,7 @@
if (buildCounterActivity < 3) {
checkActivityActor(o.actor);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed722(o.events);
+ checkUnnamed727(o.events);
checkActivityId(o.id);
unittest.expect(o.ipAddress, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -274,14 +274,14 @@
buildCounterActivity--;
}
-buildUnnamed723() {
+buildUnnamed728() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed723(core.Map<core.String, core.String> o) {
+checkUnnamed728(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 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed723();
+ o.params = buildUnnamed728();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -314,7 +314,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed723(o.params);
+ checkUnnamed728(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -349,7 +349,7 @@
buildCounterUsageReportEntity--;
}
-buildUnnamed724() {
+buildUnnamed729() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -364,7 +364,7 @@
return o;
}
-checkUnnamed724(core.Map<core.String, core.Object> o) {
+checkUnnamed729(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));
@@ -378,17 +378,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed725() {
+buildUnnamed730() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed724());
- o.add(buildUnnamed724());
+ o.add(buildUnnamed729());
+ o.add(buildUnnamed729());
return o;
}
-checkUnnamed725(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed730(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed724(o[0]);
- checkUnnamed724(o[1]);
+ checkUnnamed729(o[0]);
+ checkUnnamed729(o[1]);
}
core.int buildCounterUsageReportParameters = 0;
@@ -399,7 +399,7 @@
o.boolValue = true;
o.datetimeValue = core.DateTime.parse("2002-02-27T14:01:02");
o.intValue = "foo";
- o.msgValue = buildUnnamed725();
+ o.msgValue = buildUnnamed730();
o.name = "foo";
o.stringValue = "foo";
}
@@ -414,21 +414,21 @@
unittest.expect(o.datetimeValue,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.intValue, unittest.equals('foo'));
- checkUnnamed725(o.msgValue);
+ checkUnnamed730(o.msgValue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.stringValue, unittest.equals('foo'));
}
buildCounterUsageReportParameters--;
}
-buildUnnamed726() {
+buildUnnamed731() {
var o = new core.List<api.UsageReportParameters>();
o.add(buildUsageReportParameters());
o.add(buildUsageReportParameters());
return o;
}
-checkUnnamed726(core.List<api.UsageReportParameters> o) {
+checkUnnamed731(core.List<api.UsageReportParameters> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReportParameters(o[0]);
checkUsageReportParameters(o[1]);
@@ -443,7 +443,7 @@
o.entity = buildUsageReportEntity();
o.etag = "foo";
o.kind = "foo";
- o.parameters = buildUnnamed726();
+ o.parameters = buildUnnamed731();
}
buildCounterUsageReport--;
return o;
@@ -456,19 +456,19 @@
checkUsageReportEntity(o.entity);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed726(o.parameters);
+ checkUnnamed731(o.parameters);
}
buildCounterUsageReport--;
}
-buildUnnamed727() {
+buildUnnamed732() {
var o = new core.List<api.UsageReport>();
o.add(buildUsageReport());
o.add(buildUsageReport());
return o;
}
-checkUnnamed727(core.List<api.UsageReport> o) {
+checkUnnamed732(core.List<api.UsageReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReport(o[0]);
checkUsageReport(o[1]);
@@ -495,14 +495,14 @@
buildCounterUsageReportsWarningsData--;
}
-buildUnnamed728() {
+buildUnnamed733() {
var o = new core.List<api.UsageReportsWarningsData>();
o.add(buildUsageReportsWarningsData());
o.add(buildUsageReportsWarningsData());
return o;
}
-checkUnnamed728(core.List<api.UsageReportsWarningsData> o) {
+checkUnnamed733(core.List<api.UsageReportsWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReportsWarningsData(o[0]);
checkUsageReportsWarningsData(o[1]);
@@ -514,7 +514,7 @@
buildCounterUsageReportsWarnings++;
if (buildCounterUsageReportsWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed728();
+ o.data = buildUnnamed733();
o.message = "foo";
}
buildCounterUsageReportsWarnings--;
@@ -525,20 +525,20 @@
buildCounterUsageReportsWarnings++;
if (buildCounterUsageReportsWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed728(o.data);
+ checkUnnamed733(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterUsageReportsWarnings--;
}
-buildUnnamed729() {
+buildUnnamed734() {
var o = new core.List<api.UsageReportsWarnings>();
o.add(buildUsageReportsWarnings());
o.add(buildUsageReportsWarnings());
return o;
}
-checkUnnamed729(core.List<api.UsageReportsWarnings> o) {
+checkUnnamed734(core.List<api.UsageReportsWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReportsWarnings(o[0]);
checkUsageReportsWarnings(o[1]);
@@ -552,8 +552,8 @@
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.usageReports = buildUnnamed727();
- o.warnings = buildUnnamed729();
+ o.usageReports = buildUnnamed732();
+ o.warnings = buildUnnamed734();
}
buildCounterUsageReports--;
return o;
@@ -565,8 +565,8 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed727(o.usageReports);
- checkUnnamed729(o.warnings);
+ checkUnnamed732(o.usageReports);
+ checkUnnamed734(o.warnings);
}
buildCounterUsageReports--;
}
diff --git a/generated/googleapis/test/adsense/v1_4_test.dart b/generated/googleapis/test/adsense/v1_4_test.dart
index c09d9fa..390457d 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);
}
-buildUnnamed1959() {
+buildUnnamed1973() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1959(core.List<api.Account> o) {
+checkUnnamed1973(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 = buildUnnamed1959();
+ o.subAccounts = buildUnnamed1973();
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);
- checkUnnamed1959(o.subAccounts);
+ checkUnnamed1973(o.subAccounts);
unittest.expect(o.timezone, unittest.equals('foo'));
}
buildCounterAccount--;
}
-buildUnnamed1960() {
+buildUnnamed1974() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1960(core.List<api.Account> o) {
+checkUnnamed1974(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 = buildUnnamed1960();
+ o.items = buildUnnamed1974();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -125,7 +125,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1960(o.items);
+ checkUnnamed1974(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -159,14 +159,14 @@
buildCounterAdClient--;
}
-buildUnnamed1961() {
+buildUnnamed1975() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed1961(core.List<api.AdClient> o) {
+checkUnnamed1975(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 = buildUnnamed1961();
+ o.items = buildUnnamed1975();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -190,7 +190,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1961(o.items);
+ checkUnnamed1975(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -425,14 +425,14 @@
buildCounterAdUnit--;
}
-buildUnnamed1962() {
+buildUnnamed1976() {
var o = new core.List<api.AdUnit>();
o.add(buildAdUnit());
o.add(buildAdUnit());
return o;
}
-checkUnnamed1962(core.List<api.AdUnit> o) {
+checkUnnamed1976(core.List<api.AdUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdUnit(o[0]);
checkAdUnit(o[1]);
@@ -444,7 +444,7 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
o.etag = "foo";
- o.items = buildUnnamed1962();
+ o.items = buildUnnamed1976();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -456,21 +456,21 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1962(o.items);
+ checkUnnamed1976(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdUnits--;
}
-buildUnnamed1963() {
+buildUnnamed1977() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1963(core.List<core.String> o) {
+checkUnnamed1977(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -500,66 +500,66 @@
buildCounterAdsenseReportsGenerateResponseHeaders--;
}
-buildUnnamed1964() {
+buildUnnamed1978() {
var o = new core.List<api.AdsenseReportsGenerateResponseHeaders>();
o.add(buildAdsenseReportsGenerateResponseHeaders());
o.add(buildAdsenseReportsGenerateResponseHeaders());
return o;
}
-checkUnnamed1964(core.List<api.AdsenseReportsGenerateResponseHeaders> o) {
+checkUnnamed1978(core.List<api.AdsenseReportsGenerateResponseHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdsenseReportsGenerateResponseHeaders(o[0]);
checkAdsenseReportsGenerateResponseHeaders(o[1]);
}
-buildUnnamed1965() {
+buildUnnamed1979() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1965(core.List<core.String> o) {
+checkUnnamed1979(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1966() {
+buildUnnamed1980() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed1965());
- o.add(buildUnnamed1965());
+ o.add(buildUnnamed1979());
+ o.add(buildUnnamed1979());
return o;
}
-checkUnnamed1966(core.List<core.List<core.String>> o) {
+checkUnnamed1980(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1965(o[0]);
- checkUnnamed1965(o[1]);
+ checkUnnamed1979(o[0]);
+ checkUnnamed1979(o[1]);
}
-buildUnnamed1967() {
+buildUnnamed1981() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1967(core.List<core.String> o) {
+checkUnnamed1981(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1968() {
+buildUnnamed1982() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1968(core.List<core.String> o) {
+checkUnnamed1982(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -570,15 +570,15 @@
var o = new api.AdsenseReportsGenerateResponse();
buildCounterAdsenseReportsGenerateResponse++;
if (buildCounterAdsenseReportsGenerateResponse < 3) {
- o.averages = buildUnnamed1963();
+ o.averages = buildUnnamed1977();
o.endDate = "foo";
- o.headers = buildUnnamed1964();
+ o.headers = buildUnnamed1978();
o.kind = "foo";
- o.rows = buildUnnamed1966();
+ o.rows = buildUnnamed1980();
o.startDate = "foo";
o.totalMatchedRows = "foo";
- o.totals = buildUnnamed1967();
- o.warnings = buildUnnamed1968();
+ o.totals = buildUnnamed1981();
+ o.warnings = buildUnnamed1982();
}
buildCounterAdsenseReportsGenerateResponse--;
return o;
@@ -587,15 +587,15 @@
checkAdsenseReportsGenerateResponse(api.AdsenseReportsGenerateResponse o) {
buildCounterAdsenseReportsGenerateResponse++;
if (buildCounterAdsenseReportsGenerateResponse < 3) {
- checkUnnamed1963(o.averages);
+ checkUnnamed1977(o.averages);
unittest.expect(o.endDate, unittest.equals('foo'));
- checkUnnamed1964(o.headers);
+ checkUnnamed1978(o.headers);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1966(o.rows);
+ checkUnnamed1980(o.rows);
unittest.expect(o.startDate, unittest.equals('foo'));
unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed1967(o.totals);
- checkUnnamed1968(o.warnings);
+ checkUnnamed1981(o.totals);
+ checkUnnamed1982(o.warnings);
}
buildCounterAdsenseReportsGenerateResponse--;
}
@@ -629,14 +629,14 @@
buildCounterAlert--;
}
-buildUnnamed1969() {
+buildUnnamed1983() {
var o = new core.List<api.Alert>();
o.add(buildAlert());
o.add(buildAlert());
return o;
}
-checkUnnamed1969(core.List<api.Alert> o) {
+checkUnnamed1983(core.List<api.Alert> o) {
unittest.expect(o, unittest.hasLength(2));
checkAlert(o[0]);
checkAlert(o[1]);
@@ -647,7 +647,7 @@
var o = new api.Alerts();
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- o.items = buildUnnamed1969();
+ o.items = buildUnnamed1983();
o.kind = "foo";
}
buildCounterAlerts--;
@@ -657,7 +657,7 @@
checkAlerts(api.Alerts o) {
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- checkUnnamed1969(o.items);
+ checkUnnamed1983(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAlerts--;
@@ -715,14 +715,14 @@
buildCounterCustomChannel--;
}
-buildUnnamed1970() {
+buildUnnamed1984() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed1970(core.List<api.CustomChannel> o) {
+checkUnnamed1984(core.List<api.CustomChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomChannel(o[0]);
checkCustomChannel(o[1]);
@@ -734,7 +734,7 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed1970();
+ o.items = buildUnnamed1984();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -746,21 +746,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1970(o.items);
+ checkUnnamed1984(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed1971() {
+buildUnnamed1985() {
var o = new core.List<api.ReportingMetadataEntry>();
o.add(buildReportingMetadataEntry());
o.add(buildReportingMetadataEntry());
return o;
}
-checkUnnamed1971(core.List<api.ReportingMetadataEntry> o) {
+checkUnnamed1985(core.List<api.ReportingMetadataEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportingMetadataEntry(o[0]);
checkReportingMetadataEntry(o[1]);
@@ -771,7 +771,7 @@
var o = new api.Metadata();
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- o.items = buildUnnamed1971();
+ o.items = buildUnnamed1985();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -781,7 +781,7 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed1971(o.items);
+ checkUnnamed1985(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -814,14 +814,14 @@
buildCounterPayment--;
}
-buildUnnamed1972() {
+buildUnnamed1986() {
var o = new core.List<api.Payment>();
o.add(buildPayment());
o.add(buildPayment());
return o;
}
-checkUnnamed1972(core.List<api.Payment> o) {
+checkUnnamed1986(core.List<api.Payment> o) {
unittest.expect(o, unittest.hasLength(2));
checkPayment(o[0]);
checkPayment(o[1]);
@@ -832,7 +832,7 @@
var o = new api.Payments();
buildCounterPayments++;
if (buildCounterPayments < 3) {
- o.items = buildUnnamed1972();
+ o.items = buildUnnamed1986();
o.kind = "foo";
}
buildCounterPayments--;
@@ -842,371 +842,12 @@
checkPayments(api.Payments o) {
buildCounterPayments++;
if (buildCounterPayments < 3) {
- checkUnnamed1972(o.items);
+ checkUnnamed1986(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPayments--;
}
-buildUnnamed1973() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-buildUnnamed1974() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1974(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1975() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1975(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1976() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1976(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1977() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1977(core.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 = buildUnnamed1973();
- o.compatibleMetrics = buildUnnamed1974();
- o.id = "foo";
- o.kind = "foo";
- o.requiredDimensions = buildUnnamed1975();
- o.requiredMetrics = buildUnnamed1976();
- o.supportedProducts = buildUnnamed1977();
- }
- buildCounterReportingMetadataEntry--;
- return o;
-}
-
-checkReportingMetadataEntry(api.ReportingMetadataEntry o) {
- buildCounterReportingMetadataEntry++;
- if (buildCounterReportingMetadataEntry < 3) {
- checkUnnamed1973(o.compatibleDimensions);
- checkUnnamed1974(o.compatibleMetrics);
- unittest.expect(o.id, unittest.equals('foo'));
- unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1975(o.requiredDimensions);
- checkUnnamed1976(o.requiredMetrics);
- checkUnnamed1977(o.supportedProducts);
- }
- buildCounterReportingMetadataEntry--;
-}
-
-core.int buildCounterSavedAdStyle = 0;
-buildSavedAdStyle() {
- var o = new api.SavedAdStyle();
- buildCounterSavedAdStyle++;
- if (buildCounterSavedAdStyle < 3) {
- o.adStyle = buildAdStyle();
- o.id = "foo";
- o.kind = "foo";
- o.name = "foo";
- }
- buildCounterSavedAdStyle--;
- return o;
-}
-
-checkSavedAdStyle(api.SavedAdStyle o) {
- buildCounterSavedAdStyle++;
- if (buildCounterSavedAdStyle < 3) {
- checkAdStyle(o.adStyle);
- unittest.expect(o.id, unittest.equals('foo'));
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.name, unittest.equals('foo'));
- }
- buildCounterSavedAdStyle--;
-}
-
-buildUnnamed1978() {
- var o = new core.List<api.SavedAdStyle>();
- o.add(buildSavedAdStyle());
- o.add(buildSavedAdStyle());
- return o;
-}
-
-checkUnnamed1978(core.List<api.SavedAdStyle> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkSavedAdStyle(o[0]);
- checkSavedAdStyle(o[1]);
-}
-
-core.int buildCounterSavedAdStyles = 0;
-buildSavedAdStyles() {
- var o = new api.SavedAdStyles();
- buildCounterSavedAdStyles++;
- if (buildCounterSavedAdStyles < 3) {
- o.etag = "foo";
- o.items = buildUnnamed1978();
- o.kind = "foo";
- o.nextPageToken = "foo";
- }
- buildCounterSavedAdStyles--;
- return o;
-}
-
-checkSavedAdStyles(api.SavedAdStyles o) {
- buildCounterSavedAdStyles++;
- if (buildCounterSavedAdStyles < 3) {
- unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1978(o.items);
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterSavedAdStyles--;
-}
-
-core.int buildCounterSavedReport = 0;
-buildSavedReport() {
- var o = new api.SavedReport();
- buildCounterSavedReport++;
- if (buildCounterSavedReport < 3) {
- o.id = "foo";
- o.kind = "foo";
- o.name = "foo";
- }
- buildCounterSavedReport--;
- return o;
-}
-
-checkSavedReport(api.SavedReport o) {
- buildCounterSavedReport++;
- if (buildCounterSavedReport < 3) {
- unittest.expect(o.id, unittest.equals('foo'));
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.name, unittest.equals('foo'));
- }
- buildCounterSavedReport--;
-}
-
-buildUnnamed1979() {
- var o = new core.List<api.SavedReport>();
- o.add(buildSavedReport());
- o.add(buildSavedReport());
- return o;
-}
-
-checkUnnamed1979(core.List<api.SavedReport> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkSavedReport(o[0]);
- checkSavedReport(o[1]);
-}
-
-core.int buildCounterSavedReports = 0;
-buildSavedReports() {
- var o = new api.SavedReports();
- buildCounterSavedReports++;
- if (buildCounterSavedReports < 3) {
- o.etag = "foo";
- o.items = buildUnnamed1979();
- o.kind = "foo";
- o.nextPageToken = "foo";
- }
- buildCounterSavedReports--;
- return o;
-}
-
-checkSavedReports(api.SavedReports o) {
- buildCounterSavedReports++;
- if (buildCounterSavedReports < 3) {
- unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1979(o.items);
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterSavedReports--;
-}
-
-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--;
-}
-
-buildUnnamed1980() {
- var o = new core.List<api.UrlChannel>();
- o.add(buildUrlChannel());
- o.add(buildUrlChannel());
- return o;
-}
-
-checkUnnamed1980(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 = buildUnnamed1980();
- o.kind = "foo";
- o.nextPageToken = "foo";
- }
- buildCounterUrlChannels--;
- return o;
-}
-
-checkUrlChannels(api.UrlChannels o) {
- buildCounterUrlChannels++;
- if (buildCounterUrlChannels < 3) {
- unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1980(o.items);
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterUrlChannels--;
-}
-
-buildUnnamed1981() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1981(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1982() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1982(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1983() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1983(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1984() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1984(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1985() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1985(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1986() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1986(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1987() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1246,6 +887,365 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1990() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1990(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1991() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1991(core.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 = buildUnnamed1987();
+ o.compatibleMetrics = buildUnnamed1988();
+ o.id = "foo";
+ o.kind = "foo";
+ o.requiredDimensions = buildUnnamed1989();
+ o.requiredMetrics = buildUnnamed1990();
+ o.supportedProducts = buildUnnamed1991();
+ }
+ buildCounterReportingMetadataEntry--;
+ return o;
+}
+
+checkReportingMetadataEntry(api.ReportingMetadataEntry o) {
+ buildCounterReportingMetadataEntry++;
+ if (buildCounterReportingMetadataEntry < 3) {
+ checkUnnamed1987(o.compatibleDimensions);
+ checkUnnamed1988(o.compatibleMetrics);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed1989(o.requiredDimensions);
+ checkUnnamed1990(o.requiredMetrics);
+ checkUnnamed1991(o.supportedProducts);
+ }
+ buildCounterReportingMetadataEntry--;
+}
+
+core.int buildCounterSavedAdStyle = 0;
+buildSavedAdStyle() {
+ var o = new api.SavedAdStyle();
+ buildCounterSavedAdStyle++;
+ if (buildCounterSavedAdStyle < 3) {
+ o.adStyle = buildAdStyle();
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterSavedAdStyle--;
+ return o;
+}
+
+checkSavedAdStyle(api.SavedAdStyle o) {
+ buildCounterSavedAdStyle++;
+ if (buildCounterSavedAdStyle < 3) {
+ checkAdStyle(o.adStyle);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterSavedAdStyle--;
+}
+
+buildUnnamed1992() {
+ var o = new core.List<api.SavedAdStyle>();
+ o.add(buildSavedAdStyle());
+ o.add(buildSavedAdStyle());
+ return o;
+}
+
+checkUnnamed1992(core.List<api.SavedAdStyle> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSavedAdStyle(o[0]);
+ checkSavedAdStyle(o[1]);
+}
+
+core.int buildCounterSavedAdStyles = 0;
+buildSavedAdStyles() {
+ var o = new api.SavedAdStyles();
+ buildCounterSavedAdStyles++;
+ if (buildCounterSavedAdStyles < 3) {
+ o.etag = "foo";
+ o.items = buildUnnamed1992();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterSavedAdStyles--;
+ return o;
+}
+
+checkSavedAdStyles(api.SavedAdStyles o) {
+ buildCounterSavedAdStyles++;
+ if (buildCounterSavedAdStyles < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed1992(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterSavedAdStyles--;
+}
+
+core.int buildCounterSavedReport = 0;
+buildSavedReport() {
+ var o = new api.SavedReport();
+ buildCounterSavedReport++;
+ if (buildCounterSavedReport < 3) {
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterSavedReport--;
+ return o;
+}
+
+checkSavedReport(api.SavedReport o) {
+ buildCounterSavedReport++;
+ if (buildCounterSavedReport < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterSavedReport--;
+}
+
+buildUnnamed1993() {
+ var o = new core.List<api.SavedReport>();
+ o.add(buildSavedReport());
+ o.add(buildSavedReport());
+ return o;
+}
+
+checkUnnamed1993(core.List<api.SavedReport> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSavedReport(o[0]);
+ checkSavedReport(o[1]);
+}
+
+core.int buildCounterSavedReports = 0;
+buildSavedReports() {
+ var o = new api.SavedReports();
+ buildCounterSavedReports++;
+ if (buildCounterSavedReports < 3) {
+ o.etag = "foo";
+ o.items = buildUnnamed1993();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterSavedReports--;
+ return o;
+}
+
+checkSavedReports(api.SavedReports o) {
+ buildCounterSavedReports++;
+ if (buildCounterSavedReports < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed1993(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterSavedReports--;
+}
+
+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--;
+}
+
+buildUnnamed1994() {
+ var o = new core.List<api.UrlChannel>();
+ o.add(buildUrlChannel());
+ o.add(buildUrlChannel());
+ return o;
+}
+
+checkUnnamed1994(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 = buildUnnamed1994();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterUrlChannels--;
+ return o;
+}
+
+checkUrlChannels(api.UrlChannels o) {
+ buildCounterUrlChannels++;
+ if (buildCounterUrlChannels < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed1994(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterUrlChannels--;
+}
+
+buildUnnamed1995() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1995(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1996() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1996(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1997() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1997(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1998() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1998(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1999() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1999(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2000() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2000(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2001() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+buildUnnamed2002() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2002(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2003() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2003(core.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", () {
@@ -2505,12 +2505,12 @@
var arg_startDate = "foo";
var arg_endDate = "foo";
var arg_currency = "foo";
- var arg_dimension = buildUnnamed1981();
- var arg_filter = buildUnnamed1982();
+ var arg_dimension = buildUnnamed1995();
+ var arg_filter = buildUnnamed1996();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed1983();
- var arg_sort = buildUnnamed1984();
+ var arg_metric = buildUnnamed1997();
+ var arg_sort = buildUnnamed1998();
var arg_startIndex = 42;
var arg_useTimezoneReporting = true;
var arg_$fields = "foo";
@@ -3853,14 +3853,14 @@
api.ReportsResourceApi res = new api.AdsenseApi(mock).reports;
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_accountId = buildUnnamed1985();
+ var arg_accountId = buildUnnamed1999();
var arg_currency = "foo";
- var arg_dimension = buildUnnamed1986();
- var arg_filter = buildUnnamed1987();
+ var arg_dimension = buildUnnamed2000();
+ var arg_filter = buildUnnamed2001();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed1988();
- var arg_sort = buildUnnamed1989();
+ var arg_metric = buildUnnamed2002();
+ var arg_sort = buildUnnamed2003();
var arg_startIndex = 42;
var arg_useTimezoneReporting = true;
var arg_$fields = "foo";
diff --git a/generated/googleapis/test/adsensehost/v4_1_test.dart b/generated/googleapis/test/adsensehost/v4_1_test.dart
index d9ecf1b..f95166a 100644
--- a/generated/googleapis/test/adsensehost/v4_1_test.dart
+++ b/generated/googleapis/test/adsensehost/v4_1_test.dart
@@ -75,14 +75,14 @@
buildCounterAccount--;
}
-buildUnnamed3051() {
+buildUnnamed3070() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed3051(core.List<api.Account> o) {
+checkUnnamed3070(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 = buildUnnamed3051();
+ o.items = buildUnnamed3070();
o.kind = "foo";
}
buildCounterAccounts--;
@@ -105,7 +105,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3051(o.items);
+ checkUnnamed3070(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccounts--;
@@ -138,14 +138,14 @@
buildCounterAdClient--;
}
-buildUnnamed3052() {
+buildUnnamed3071() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed3052(core.List<api.AdClient> o) {
+checkUnnamed3071(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 = buildUnnamed3052();
+ o.items = buildUnnamed3071();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -169,7 +169,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3052(o.items);
+ checkUnnamed3071(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -375,14 +375,14 @@
buildCounterAdUnit--;
}
-buildUnnamed3053() {
+buildUnnamed3072() {
var o = new core.List<api.AdUnit>();
o.add(buildAdUnit());
o.add(buildAdUnit());
return o;
}
-checkUnnamed3053(core.List<api.AdUnit> o) {
+checkUnnamed3072(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 = buildUnnamed3053();
+ o.items = buildUnnamed3072();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -406,21 +406,21 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3053(o.items);
+ checkUnnamed3072(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdUnits--;
}
-buildUnnamed3054() {
+buildUnnamed3073() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3054(core.List<core.String> o) {
+checkUnnamed3073(core.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 = buildUnnamed3054();
+ o.productCodes = buildUnnamed3073();
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'));
- checkUnnamed3054(o.productCodes);
+ checkUnnamed3073(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--;
}
-buildUnnamed3055() {
+buildUnnamed3074() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed3055(core.List<api.CustomChannel> o) {
+checkUnnamed3074(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 = buildUnnamed3055();
+ o.items = buildUnnamed3074();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -517,21 +517,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3055(o.items);
+ checkUnnamed3074(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed3056() {
+buildUnnamed3075() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3056(core.List<core.String> o) {
+checkUnnamed3075(core.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,66 +560,66 @@
buildCounterReportHeaders--;
}
-buildUnnamed3057() {
+buildUnnamed3076() {
var o = new core.List<api.ReportHeaders>();
o.add(buildReportHeaders());
o.add(buildReportHeaders());
return o;
}
-checkUnnamed3057(core.List<api.ReportHeaders> o) {
+checkUnnamed3076(core.List<api.ReportHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportHeaders(o[0]);
checkReportHeaders(o[1]);
}
-buildUnnamed3058() {
+buildUnnamed3077() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3058(core.List<core.String> o) {
+checkUnnamed3077(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3059() {
+buildUnnamed3078() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed3058());
- o.add(buildUnnamed3058());
+ o.add(buildUnnamed3077());
+ o.add(buildUnnamed3077());
return o;
}
-checkUnnamed3059(core.List<core.List<core.String>> o) {
+checkUnnamed3078(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3058(o[0]);
- checkUnnamed3058(o[1]);
+ checkUnnamed3077(o[0]);
+ checkUnnamed3077(o[1]);
}
-buildUnnamed3060() {
+buildUnnamed3079() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3060(core.List<core.String> o) {
+checkUnnamed3079(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3061() {
+buildUnnamed3080() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3061(core.List<core.String> o) {
+checkUnnamed3080(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -630,13 +630,13 @@
var o = new api.Report();
buildCounterReport++;
if (buildCounterReport < 3) {
- o.averages = buildUnnamed3056();
- o.headers = buildUnnamed3057();
+ o.averages = buildUnnamed3075();
+ o.headers = buildUnnamed3076();
o.kind = "foo";
- o.rows = buildUnnamed3059();
+ o.rows = buildUnnamed3078();
o.totalMatchedRows = "foo";
- o.totals = buildUnnamed3060();
- o.warnings = buildUnnamed3061();
+ o.totals = buildUnnamed3079();
+ o.warnings = buildUnnamed3080();
}
buildCounterReport--;
return o;
@@ -645,13 +645,13 @@
checkReport(api.Report o) {
buildCounterReport++;
if (buildCounterReport < 3) {
- checkUnnamed3056(o.averages);
- checkUnnamed3057(o.headers);
+ checkUnnamed3075(o.averages);
+ checkUnnamed3076(o.headers);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3059(o.rows);
+ checkUnnamed3078(o.rows);
unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed3060(o.totals);
- checkUnnamed3061(o.warnings);
+ checkUnnamed3079(o.totals);
+ checkUnnamed3080(o.warnings);
}
buildCounterReport--;
}
@@ -679,14 +679,14 @@
buildCounterUrlChannel--;
}
-buildUnnamed3062() {
+buildUnnamed3081() {
var o = new core.List<api.UrlChannel>();
o.add(buildUrlChannel());
o.add(buildUrlChannel());
return o;
}
-checkUnnamed3062(core.List<api.UrlChannel> o) {
+checkUnnamed3081(core.List<api.UrlChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlChannel(o[0]);
checkUrlChannel(o[1]);
@@ -698,7 +698,7 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed3062();
+ o.items = buildUnnamed3081();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -710,151 +710,151 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3062(o.items);
+ checkUnnamed3081(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterUrlChannels--;
}
-buildUnnamed3063() {
+buildUnnamed3082() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3063(core.List<core.String> o) {
+checkUnnamed3082(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3064() {
+buildUnnamed3083() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3064(core.List<core.String> o) {
+checkUnnamed3083(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3065() {
+buildUnnamed3084() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3065(core.List<core.String> o) {
+checkUnnamed3084(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3066() {
+buildUnnamed3085() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3066(core.List<core.String> o) {
+checkUnnamed3085(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3067() {
+buildUnnamed3086() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3067(core.List<core.String> o) {
+checkUnnamed3086(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3068() {
+buildUnnamed3087() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3068(core.List<core.String> o) {
+checkUnnamed3087(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3069() {
+buildUnnamed3088() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3069(core.List<core.String> o) {
+checkUnnamed3088(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3070() {
+buildUnnamed3089() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3070(core.List<core.String> o) {
+checkUnnamed3089(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3071() {
+buildUnnamed3090() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3071(core.List<core.String> o) {
+checkUnnamed3090(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3072() {
+buildUnnamed3091() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3072(core.List<core.String> o) {
+checkUnnamed3091(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3073() {
+buildUnnamed3092() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3073(core.List<core.String> o) {
+checkUnnamed3092(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1082,7 +1082,7 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.AccountsResourceApi res = new api.AdsensehostApi(mock).accounts;
- var arg_filterAdClientId = buildUnnamed3063();
+ var arg_filterAdClientId = buildUnnamed3082();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1440,7 +1440,7 @@
var arg_accountId = "foo";
var arg_adClientId = "foo";
var arg_adUnitId = "foo";
- var arg_hostCustomChannelId = buildUnnamed3064();
+ var arg_hostCustomChannelId = buildUnnamed3083();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1853,12 +1853,12 @@
var arg_accountId = "foo";
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_dimension = buildUnnamed3065();
- var arg_filter = buildUnnamed3066();
+ var arg_dimension = buildUnnamed3084();
+ var arg_filter = buildUnnamed3085();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed3067();
- var arg_sort = buildUnnamed3068();
+ var arg_metric = buildUnnamed3086();
+ var arg_sort = buildUnnamed3087();
var arg_startIndex = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -2064,7 +2064,7 @@
var mock = new HttpServerMock();
api.AssociationsessionsResourceApi res =
new api.AdsensehostApi(mock).associationsessions;
- var arg_productCode = buildUnnamed3069();
+ var arg_productCode = buildUnnamed3088();
var arg_websiteUrl = "foo";
var arg_userLocale = "foo";
var arg_websiteLocale = "foo";
@@ -2603,12 +2603,12 @@
api.ReportsResourceApi res = new api.AdsensehostApi(mock).reports;
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_dimension = buildUnnamed3070();
- var arg_filter = buildUnnamed3071();
+ var arg_dimension = buildUnnamed3089();
+ var arg_filter = buildUnnamed3090();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed3072();
- var arg_sort = buildUnnamed3073();
+ var arg_metric = buildUnnamed3091();
+ var arg_sort = buildUnnamed3092();
var arg_startIndex = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
diff --git a/generated/googleapis/test/analytics/v3_test.dart b/generated/googleapis/test/analytics/v3_test.dart
index b7344fe..ee789c9 100644
--- a/generated/googleapis/test/analytics/v3_test.dart
+++ b/generated/googleapis/test/analytics/v3_test.dart
@@ -71,14 +71,14 @@
buildCounterAccountChildLink--;
}
-buildUnnamed1040() {
+buildUnnamed1047() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1040(core.List<core.String> o) {
+checkUnnamed1047(core.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 = buildUnnamed1040();
+ o.effective = buildUnnamed1047();
}
buildCounterAccountPermissions--;
return o;
@@ -98,7 +98,7 @@
checkAccountPermissions(api.AccountPermissions o) {
buildCounterAccountPermissions++;
if (buildCounterAccountPermissions < 3) {
- checkUnnamed1040(o.effective);
+ checkUnnamed1047(o.effective);
}
buildCounterAccountPermissions--;
}
@@ -165,14 +165,14 @@
buildCounterAccountRef--;
}
-buildUnnamed1041() {
+buildUnnamed1048() {
var o = new core.List<api.AccountSummary>();
o.add(buildAccountSummary());
o.add(buildAccountSummary());
return o;
}
-checkUnnamed1041(core.List<api.AccountSummary> o) {
+checkUnnamed1048(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 = buildUnnamed1041();
+ o.items = buildUnnamed1048();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -199,7 +199,7 @@
checkAccountSummaries(api.AccountSummaries o) {
buildCounterAccountSummaries++;
if (buildCounterAccountSummaries < 3) {
- checkUnnamed1041(o.items);
+ checkUnnamed1048(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--;
}
-buildUnnamed1042() {
+buildUnnamed1049() {
var o = new core.List<api.WebPropertySummary>();
o.add(buildWebPropertySummary());
o.add(buildWebPropertySummary());
return o;
}
-checkUnnamed1042(core.List<api.WebPropertySummary> o) {
+checkUnnamed1049(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 = buildUnnamed1042();
+ o.webProperties = buildUnnamed1049();
}
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);
- checkUnnamed1042(o.webProperties);
+ checkUnnamed1049(o.webProperties);
}
buildCounterAccountSummary--;
}
@@ -280,14 +280,14 @@
buildCounterAccountTicket--;
}
-buildUnnamed1043() {
+buildUnnamed1050() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1043(core.List<api.Account> o) {
+checkUnnamed1050(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -298,7 +298,7 @@
var o = new api.Accounts();
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
- o.items = buildUnnamed1043();
+ o.items = buildUnnamed1050();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -314,7 +314,7 @@
checkAccounts(api.Accounts o) {
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
- checkUnnamed1043(o.items);
+ checkUnnamed1050(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -349,14 +349,14 @@
buildCounterAdWordsAccount--;
}
-buildUnnamed1044() {
+buildUnnamed1051() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1044(core.List<core.String> o) {
+checkUnnamed1051(core.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 @@
var o = new api.AnalyticsDataimportDeleteUploadDataRequest();
buildCounterAnalyticsDataimportDeleteUploadDataRequest++;
if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) {
- o.customDataImportUids = buildUnnamed1044();
+ o.customDataImportUids = buildUnnamed1051();
}
buildCounterAnalyticsDataimportDeleteUploadDataRequest--;
return o;
@@ -377,19 +377,19 @@
api.AnalyticsDataimportDeleteUploadDataRequest o) {
buildCounterAnalyticsDataimportDeleteUploadDataRequest++;
if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) {
- checkUnnamed1044(o.customDataImportUids);
+ checkUnnamed1051(o.customDataImportUids);
}
buildCounterAnalyticsDataimportDeleteUploadDataRequest--;
}
-buildUnnamed1045() {
+buildUnnamed1052() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1045(core.Map<core.String, core.String> o) {
+checkUnnamed1052(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 @@
var o = new api.Column();
buildCounterColumn++;
if (buildCounterColumn < 3) {
- o.attributes = buildUnnamed1045();
+ o.attributes = buildUnnamed1052();
o.id = "foo";
o.kind = "foo";
}
@@ -411,34 +411,34 @@
checkColumn(api.Column o) {
buildCounterColumn++;
if (buildCounterColumn < 3) {
- checkUnnamed1045(o.attributes);
+ checkUnnamed1052(o.attributes);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterColumn--;
}
-buildUnnamed1046() {
+buildUnnamed1053() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1046(core.List<core.String> o) {
+checkUnnamed1053(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1047() {
+buildUnnamed1054() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed1047(core.List<api.Column> o) {
+checkUnnamed1054(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -449,9 +449,9 @@
var o = new api.Columns();
buildCounterColumns++;
if (buildCounterColumns < 3) {
- o.attributeNames = buildUnnamed1046();
+ o.attributeNames = buildUnnamed1053();
o.etag = "foo";
- o.items = buildUnnamed1047();
+ o.items = buildUnnamed1054();
o.kind = "foo";
o.totalResults = 42;
}
@@ -462,9 +462,9 @@
checkColumns(api.Columns o) {
buildCounterColumns++;
if (buildCounterColumns < 3) {
- checkUnnamed1046(o.attributeNames);
+ checkUnnamed1053(o.attributeNames);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1047(o.items);
+ checkUnnamed1054(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
}
@@ -513,27 +513,27 @@
buildCounterCustomDataSourceParentLink--;
}
-buildUnnamed1048() {
+buildUnnamed1055() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1048(core.List<core.String> o) {
+checkUnnamed1055(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1049() {
+buildUnnamed1056() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1049(core.List<core.String> o) {
+checkUnnamed1056(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -553,8 +553,8 @@
o.kind = "foo";
o.name = "foo";
o.parentLink = buildCustomDataSourceParentLink();
- o.profilesLinked = buildUnnamed1048();
- o.schema = buildUnnamed1049();
+ o.profilesLinked = buildUnnamed1055();
+ o.schema = buildUnnamed1056();
o.selfLink = "foo";
o.type = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
@@ -578,8 +578,8 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkCustomDataSourceParentLink(o.parentLink);
- checkUnnamed1048(o.profilesLinked);
- checkUnnamed1049(o.schema);
+ checkUnnamed1055(o.profilesLinked);
+ checkUnnamed1056(o.schema);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(
@@ -590,14 +590,14 @@
buildCounterCustomDataSource--;
}
-buildUnnamed1050() {
+buildUnnamed1057() {
var o = new core.List<api.CustomDataSource>();
o.add(buildCustomDataSource());
o.add(buildCustomDataSource());
return o;
}
-checkUnnamed1050(core.List<api.CustomDataSource> o) {
+checkUnnamed1057(core.List<api.CustomDataSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDataSource(o[0]);
checkCustomDataSource(o[1]);
@@ -608,7 +608,7 @@
var o = new api.CustomDataSources();
buildCounterCustomDataSources++;
if (buildCounterCustomDataSources < 3) {
- o.items = buildUnnamed1050();
+ o.items = buildUnnamed1057();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -624,7 +624,7 @@
checkCustomDataSources(api.CustomDataSources o) {
buildCounterCustomDataSources++;
if (buildCounterCustomDataSources < 3) {
- checkUnnamed1050(o.items);
+ checkUnnamed1057(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -700,14 +700,14 @@
buildCounterCustomDimension--;
}
-buildUnnamed1051() {
+buildUnnamed1058() {
var o = new core.List<api.CustomDimension>();
o.add(buildCustomDimension());
o.add(buildCustomDimension());
return o;
}
-checkUnnamed1051(core.List<api.CustomDimension> o) {
+checkUnnamed1058(core.List<api.CustomDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDimension(o[0]);
checkCustomDimension(o[1]);
@@ -718,7 +718,7 @@
var o = new api.CustomDimensions();
buildCounterCustomDimensions++;
if (buildCounterCustomDimensions < 3) {
- o.items = buildUnnamed1051();
+ o.items = buildUnnamed1058();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -734,7 +734,7 @@
checkCustomDimensions(api.CustomDimensions o) {
buildCounterCustomDimensions++;
if (buildCounterCustomDimensions < 3) {
- checkUnnamed1051(o.items);
+ checkUnnamed1058(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -816,14 +816,14 @@
buildCounterCustomMetric--;
}
-buildUnnamed1052() {
+buildUnnamed1059() {
var o = new core.List<api.CustomMetric>();
o.add(buildCustomMetric());
o.add(buildCustomMetric());
return o;
}
-checkUnnamed1052(core.List<api.CustomMetric> o) {
+checkUnnamed1059(core.List<api.CustomMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomMetric(o[0]);
checkCustomMetric(o[1]);
@@ -834,7 +834,7 @@
var o = new api.CustomMetrics();
buildCounterCustomMetrics++;
if (buildCounterCustomMetrics < 3) {
- o.items = buildUnnamed1052();
+ o.items = buildUnnamed1059();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -850,7 +850,7 @@
checkCustomMetrics(api.CustomMetrics o) {
buildCounterCustomMetrics++;
if (buildCounterCustomMetrics < 3) {
- checkUnnamed1052(o.items);
+ checkUnnamed1059(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -862,14 +862,14 @@
buildCounterCustomMetrics--;
}
-buildUnnamed1053() {
+buildUnnamed1060() {
var o = new core.List<api.AdWordsAccount>();
o.add(buildAdWordsAccount());
o.add(buildAdWordsAccount());
return o;
}
-checkUnnamed1053(core.List<api.AdWordsAccount> o) {
+checkUnnamed1060(core.List<api.AdWordsAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdWordsAccount(o[0]);
checkAdWordsAccount(o[1]);
@@ -894,14 +894,14 @@
buildCounterEntityAdWordsLinkEntity--;
}
-buildUnnamed1054() {
+buildUnnamed1061() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1054(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'));
@@ -912,12 +912,12 @@
var o = new api.EntityAdWordsLink();
buildCounterEntityAdWordsLink++;
if (buildCounterEntityAdWordsLink < 3) {
- o.adWordsAccounts = buildUnnamed1053();
+ o.adWordsAccounts = buildUnnamed1060();
o.entity = buildEntityAdWordsLinkEntity();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.profileIds = buildUnnamed1054();
+ o.profileIds = buildUnnamed1061();
o.selfLink = "foo";
}
buildCounterEntityAdWordsLink--;
@@ -927,25 +927,25 @@
checkEntityAdWordsLink(api.EntityAdWordsLink o) {
buildCounterEntityAdWordsLink++;
if (buildCounterEntityAdWordsLink < 3) {
- checkUnnamed1053(o.adWordsAccounts);
+ checkUnnamed1060(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'));
- checkUnnamed1054(o.profileIds);
+ checkUnnamed1061(o.profileIds);
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterEntityAdWordsLink--;
}
-buildUnnamed1055() {
+buildUnnamed1062() {
var o = new core.List<api.EntityAdWordsLink>();
o.add(buildEntityAdWordsLink());
o.add(buildEntityAdWordsLink());
return o;
}
-checkUnnamed1055(core.List<api.EntityAdWordsLink> o) {
+checkUnnamed1062(core.List<api.EntityAdWordsLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAdWordsLink(o[0]);
checkEntityAdWordsLink(o[1]);
@@ -956,7 +956,7 @@
var o = new api.EntityAdWordsLinks();
buildCounterEntityAdWordsLinks++;
if (buildCounterEntityAdWordsLinks < 3) {
- o.items = buildUnnamed1055();
+ o.items = buildUnnamed1062();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -971,7 +971,7 @@
checkEntityAdWordsLinks(api.EntityAdWordsLinks o) {
buildCounterEntityAdWordsLinks++;
if (buildCounterEntityAdWordsLinks < 3) {
- checkUnnamed1055(o.items);
+ checkUnnamed1062(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1005,27 +1005,27 @@
buildCounterEntityUserLinkEntity--;
}
-buildUnnamed1056() {
+buildUnnamed1063() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1056(core.List<core.String> 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'));
}
-buildUnnamed1057() {
+buildUnnamed1064() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1057(core.List<core.String> o) {
+checkUnnamed1064(core.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.EntityUserLinkPermissions();
buildCounterEntityUserLinkPermissions++;
if (buildCounterEntityUserLinkPermissions < 3) {
- o.effective = buildUnnamed1056();
- o.local = buildUnnamed1057();
+ o.effective = buildUnnamed1063();
+ o.local = buildUnnamed1064();
}
buildCounterEntityUserLinkPermissions--;
return o;
@@ -1046,8 +1046,8 @@
checkEntityUserLinkPermissions(api.EntityUserLinkPermissions o) {
buildCounterEntityUserLinkPermissions++;
if (buildCounterEntityUserLinkPermissions < 3) {
- checkUnnamed1056(o.effective);
- checkUnnamed1057(o.local);
+ checkUnnamed1063(o.effective);
+ checkUnnamed1064(o.local);
}
buildCounterEntityUserLinkPermissions--;
}
@@ -1081,14 +1081,14 @@
buildCounterEntityUserLink--;
}
-buildUnnamed1058() {
+buildUnnamed1065() {
var o = new core.List<api.EntityUserLink>();
o.add(buildEntityUserLink());
o.add(buildEntityUserLink());
return o;
}
-checkUnnamed1058(core.List<api.EntityUserLink> o) {
+checkUnnamed1065(core.List<api.EntityUserLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityUserLink(o[0]);
checkEntityUserLink(o[1]);
@@ -1099,7 +1099,7 @@
var o = new api.EntityUserLinks();
buildCounterEntityUserLinks++;
if (buildCounterEntityUserLinks < 3) {
- o.items = buildUnnamed1058();
+ o.items = buildUnnamed1065();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1114,7 +1114,7 @@
checkEntityUserLinks(api.EntityUserLinks o) {
buildCounterEntityUserLinks++;
if (buildCounterEntityUserLinks < 3) {
- checkUnnamed1058(o.items);
+ checkUnnamed1065(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1173,14 +1173,14 @@
buildCounterExperimentVariations--;
}
-buildUnnamed1059() {
+buildUnnamed1066() {
var o = new core.List<api.ExperimentVariations>();
o.add(buildExperimentVariations());
o.add(buildExperimentVariations());
return o;
}
-checkUnnamed1059(core.List<api.ExperimentVariations> o) {
+checkUnnamed1066(core.List<api.ExperimentVariations> o) {
unittest.expect(o, unittest.hasLength(2));
checkExperimentVariations(o[0]);
checkExperimentVariations(o[1]);
@@ -1215,7 +1215,7 @@
o.status = "foo";
o.trafficCoverage = 42.0;
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
- o.variations = buildUnnamed1059();
+ o.variations = buildUnnamed1066();
o.webPropertyId = "foo";
o.winnerConfidenceLevel = 42.0;
o.winnerFound = true;
@@ -1255,7 +1255,7 @@
unittest.expect(o.trafficCoverage, unittest.equals(42.0));
unittest.expect(
o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed1059(o.variations);
+ checkUnnamed1066(o.variations);
unittest.expect(o.webPropertyId, unittest.equals('foo'));
unittest.expect(o.winnerConfidenceLevel, unittest.equals(42.0));
unittest.expect(o.winnerFound, unittest.isTrue);
@@ -1263,14 +1263,14 @@
buildCounterExperiment--;
}
-buildUnnamed1060() {
+buildUnnamed1067() {
var o = new core.List<api.Experiment>();
o.add(buildExperiment());
o.add(buildExperiment());
return o;
}
-checkUnnamed1060(core.List<api.Experiment> o) {
+checkUnnamed1067(core.List<api.Experiment> o) {
unittest.expect(o, unittest.hasLength(2));
checkExperiment(o[0]);
checkExperiment(o[1]);
@@ -1281,7 +1281,7 @@
var o = new api.Experiments();
buildCounterExperiments++;
if (buildCounterExperiments < 3) {
- o.items = buildUnnamed1060();
+ o.items = buildUnnamed1067();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1297,7 +1297,7 @@
checkExperiments(api.Experiments o) {
buildCounterExperiments++;
if (buildCounterExperiments < 3) {
- checkUnnamed1060(o.items);
+ checkUnnamed1067(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1547,14 +1547,14 @@
buildCounterFilterRef--;
}
-buildUnnamed1061() {
+buildUnnamed1068() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed1061(core.List<api.Filter> o) {
+checkUnnamed1068(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -1565,7 +1565,7 @@
var o = new api.Filters();
buildCounterFilters++;
if (buildCounterFilters < 3) {
- o.items = buildUnnamed1061();
+ o.items = buildUnnamed1068();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1581,7 +1581,7 @@
checkFilters(api.Filters o) {
buildCounterFilters++;
if (buildCounterFilters < 3) {
- checkUnnamed1061(o.items);
+ checkUnnamed1068(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1616,14 +1616,14 @@
buildCounterGaDataColumnHeaders--;
}
-buildUnnamed1062() {
+buildUnnamed1069() {
var o = new core.List<api.GaDataColumnHeaders>();
o.add(buildGaDataColumnHeaders());
o.add(buildGaDataColumnHeaders());
return o;
}
-checkUnnamed1062(core.List<api.GaDataColumnHeaders> o) {
+checkUnnamed1069(core.List<api.GaDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataColumnHeaders(o[0]);
checkGaDataColumnHeaders(o[1]);
@@ -1652,14 +1652,14 @@
buildCounterGaDataDataTableCols--;
}
-buildUnnamed1063() {
+buildUnnamed1070() {
var o = new core.List<api.GaDataDataTableCols>();
o.add(buildGaDataDataTableCols());
o.add(buildGaDataDataTableCols());
return o;
}
-checkUnnamed1063(core.List<api.GaDataDataTableCols> o) {
+checkUnnamed1070(core.List<api.GaDataDataTableCols> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableCols(o[0]);
checkGaDataDataTableCols(o[1]);
@@ -1684,14 +1684,14 @@
buildCounterGaDataDataTableRowsC--;
}
-buildUnnamed1064() {
+buildUnnamed1071() {
var o = new core.List<api.GaDataDataTableRowsC>();
o.add(buildGaDataDataTableRowsC());
o.add(buildGaDataDataTableRowsC());
return o;
}
-checkUnnamed1064(core.List<api.GaDataDataTableRowsC> o) {
+checkUnnamed1071(core.List<api.GaDataDataTableRowsC> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableRowsC(o[0]);
checkGaDataDataTableRowsC(o[1]);
@@ -1702,7 +1702,7 @@
var o = new api.GaDataDataTableRows();
buildCounterGaDataDataTableRows++;
if (buildCounterGaDataDataTableRows < 3) {
- o.c = buildUnnamed1064();
+ o.c = buildUnnamed1071();
}
buildCounterGaDataDataTableRows--;
return o;
@@ -1711,19 +1711,19 @@
checkGaDataDataTableRows(api.GaDataDataTableRows o) {
buildCounterGaDataDataTableRows++;
if (buildCounterGaDataDataTableRows < 3) {
- checkUnnamed1064(o.c);
+ checkUnnamed1071(o.c);
}
buildCounterGaDataDataTableRows--;
}
-buildUnnamed1065() {
+buildUnnamed1072() {
var o = new core.List<api.GaDataDataTableRows>();
o.add(buildGaDataDataTableRows());
o.add(buildGaDataDataTableRows());
return o;
}
-checkUnnamed1065(core.List<api.GaDataDataTableRows> o) {
+checkUnnamed1072(core.List<api.GaDataDataTableRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableRows(o[0]);
checkGaDataDataTableRows(o[1]);
@@ -1734,8 +1734,8 @@
var o = new api.GaDataDataTable();
buildCounterGaDataDataTable++;
if (buildCounterGaDataDataTable < 3) {
- o.cols = buildUnnamed1063();
- o.rows = buildUnnamed1065();
+ o.cols = buildUnnamed1070();
+ o.rows = buildUnnamed1072();
}
buildCounterGaDataDataTable--;
return o;
@@ -1744,8 +1744,8 @@
checkGaDataDataTable(api.GaDataDataTable o) {
buildCounterGaDataDataTable++;
if (buildCounterGaDataDataTable < 3) {
- checkUnnamed1063(o.cols);
- checkUnnamed1065(o.rows);
+ checkUnnamed1070(o.cols);
+ checkUnnamed1072(o.rows);
}
buildCounterGaDataDataTable--;
}
@@ -1779,27 +1779,27 @@
buildCounterGaDataProfileInfo--;
}
-buildUnnamed1066() {
+buildUnnamed1073() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1066(core.List<core.String> o) {
+checkUnnamed1073(core.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() {
+buildUnnamed1074() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1067(core.List<core.String> o) {
+checkUnnamed1074(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1815,10 +1815,10 @@
o.filters = "foo";
o.ids = "foo";
o.max_results = 42;
- o.metrics = buildUnnamed1066();
+ o.metrics = buildUnnamed1073();
o.samplingLevel = "foo";
o.segment = "foo";
- o.sort = buildUnnamed1067();
+ o.sort = buildUnnamed1074();
o.start_date = "foo";
o.start_index = 42;
}
@@ -1834,50 +1834,50 @@
unittest.expect(o.filters, unittest.equals('foo'));
unittest.expect(o.ids, unittest.equals('foo'));
unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed1066(o.metrics);
+ checkUnnamed1073(o.metrics);
unittest.expect(o.samplingLevel, unittest.equals('foo'));
unittest.expect(o.segment, unittest.equals('foo'));
- checkUnnamed1067(o.sort);
+ checkUnnamed1074(o.sort);
unittest.expect(o.start_date, unittest.equals('foo'));
unittest.expect(o.start_index, unittest.equals(42));
}
buildCounterGaDataQuery--;
}
-buildUnnamed1068() {
+buildUnnamed1075() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1068(core.List<core.String> o) {
+checkUnnamed1075(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1069() {
+buildUnnamed1076() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed1068());
- o.add(buildUnnamed1068());
+ o.add(buildUnnamed1075());
+ o.add(buildUnnamed1075());
return o;
}
-checkUnnamed1069(core.List<core.List<core.String>> o) {
+checkUnnamed1076(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1068(o[0]);
- checkUnnamed1068(o[1]);
+ checkUnnamed1075(o[0]);
+ checkUnnamed1075(o[1]);
}
-buildUnnamed1070() {
+buildUnnamed1077() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1070(core.Map<core.String, core.String> o) {
+checkUnnamed1077(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'));
@@ -1888,7 +1888,7 @@
var o = new api.GaData();
buildCounterGaData++;
if (buildCounterGaData < 3) {
- o.columnHeaders = buildUnnamed1062();
+ o.columnHeaders = buildUnnamed1069();
o.containsSampledData = true;
o.dataLastRefreshed = "foo";
o.dataTable = buildGaDataDataTable();
@@ -1899,12 +1899,12 @@
o.previousLink = "foo";
o.profileInfo = buildGaDataProfileInfo();
o.query = buildGaDataQuery();
- o.rows = buildUnnamed1069();
+ o.rows = buildUnnamed1076();
o.sampleSize = "foo";
o.sampleSpace = "foo";
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed1070();
+ o.totalsForAllResults = buildUnnamed1077();
}
buildCounterGaData--;
return o;
@@ -1913,7 +1913,7 @@
checkGaData(api.GaData o) {
buildCounterGaData++;
if (buildCounterGaData < 3) {
- checkUnnamed1062(o.columnHeaders);
+ checkUnnamed1069(o.columnHeaders);
unittest.expect(o.containsSampledData, unittest.isTrue);
unittest.expect(o.dataLastRefreshed, unittest.equals('foo'));
checkGaDataDataTable(o.dataTable);
@@ -1924,12 +1924,12 @@
unittest.expect(o.previousLink, unittest.equals('foo'));
checkGaDataProfileInfo(o.profileInfo);
checkGaDataQuery(o.query);
- checkUnnamed1069(o.rows);
+ checkUnnamed1076(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));
- checkUnnamed1070(o.totalsForAllResults);
+ checkUnnamed1077(o.totalsForAllResults);
}
buildCounterGaData--;
}
@@ -1961,14 +1961,14 @@
buildCounterGoalEventDetailsEventConditions--;
}
-buildUnnamed1071() {
+buildUnnamed1078() {
var o = new core.List<api.GoalEventDetailsEventConditions>();
o.add(buildGoalEventDetailsEventConditions());
o.add(buildGoalEventDetailsEventConditions());
return o;
}
-checkUnnamed1071(core.List<api.GoalEventDetailsEventConditions> o) {
+checkUnnamed1078(core.List<api.GoalEventDetailsEventConditions> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoalEventDetailsEventConditions(o[0]);
checkGoalEventDetailsEventConditions(o[1]);
@@ -1979,7 +1979,7 @@
var o = new api.GoalEventDetails();
buildCounterGoalEventDetails++;
if (buildCounterGoalEventDetails < 3) {
- o.eventConditions = buildUnnamed1071();
+ o.eventConditions = buildUnnamed1078();
o.useEventValue = true;
}
buildCounterGoalEventDetails--;
@@ -1989,7 +1989,7 @@
checkGoalEventDetails(api.GoalEventDetails o) {
buildCounterGoalEventDetails++;
if (buildCounterGoalEventDetails < 3) {
- checkUnnamed1071(o.eventConditions);
+ checkUnnamed1078(o.eventConditions);
unittest.expect(o.useEventValue, unittest.isTrue);
}
buildCounterGoalEventDetails--;
@@ -2039,14 +2039,14 @@
buildCounterGoalUrlDestinationDetailsSteps--;
}
-buildUnnamed1072() {
+buildUnnamed1079() {
var o = new core.List<api.GoalUrlDestinationDetailsSteps>();
o.add(buildGoalUrlDestinationDetailsSteps());
o.add(buildGoalUrlDestinationDetailsSteps());
return o;
}
-checkUnnamed1072(core.List<api.GoalUrlDestinationDetailsSteps> o) {
+checkUnnamed1079(core.List<api.GoalUrlDestinationDetailsSteps> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoalUrlDestinationDetailsSteps(o[0]);
checkGoalUrlDestinationDetailsSteps(o[1]);
@@ -2060,7 +2060,7 @@
o.caseSensitive = true;
o.firstStepRequired = true;
o.matchType = "foo";
- o.steps = buildUnnamed1072();
+ o.steps = buildUnnamed1079();
o.url = "foo";
}
buildCounterGoalUrlDestinationDetails--;
@@ -2073,7 +2073,7 @@
unittest.expect(o.caseSensitive, unittest.isTrue);
unittest.expect(o.firstStepRequired, unittest.isTrue);
unittest.expect(o.matchType, unittest.equals('foo'));
- checkUnnamed1072(o.steps);
+ checkUnnamed1079(o.steps);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterGoalUrlDestinationDetails--;
@@ -2176,14 +2176,14 @@
buildCounterGoal--;
}
-buildUnnamed1073() {
+buildUnnamed1080() {
var o = new core.List<api.Goal>();
o.add(buildGoal());
o.add(buildGoal());
return o;
}
-checkUnnamed1073(core.List<api.Goal> o) {
+checkUnnamed1080(core.List<api.Goal> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoal(o[0]);
checkGoal(o[1]);
@@ -2194,7 +2194,7 @@
var o = new api.Goals();
buildCounterGoals++;
if (buildCounterGoals < 3) {
- o.items = buildUnnamed1073();
+ o.items = buildUnnamed1080();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2210,7 +2210,7 @@
checkGoals(api.Goals o) {
buildCounterGoals++;
if (buildCounterGoals < 3) {
- checkUnnamed1073(o.items);
+ checkUnnamed1080(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2309,14 +2309,14 @@
buildCounterMcfDataColumnHeaders--;
}
-buildUnnamed1074() {
+buildUnnamed1081() {
var o = new core.List<api.McfDataColumnHeaders>();
o.add(buildMcfDataColumnHeaders());
o.add(buildMcfDataColumnHeaders());
return o;
}
-checkUnnamed1074(core.List<api.McfDataColumnHeaders> o) {
+checkUnnamed1081(core.List<api.McfDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataColumnHeaders(o[0]);
checkMcfDataColumnHeaders(o[1]);
@@ -2351,27 +2351,27 @@
buildCounterMcfDataProfileInfo--;
}
-buildUnnamed1075() {
+buildUnnamed1082() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1075(core.List<core.String> o) {
+checkUnnamed1082(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1076() {
+buildUnnamed1083() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1076(core.List<core.String> o) {
+checkUnnamed1083(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2387,10 +2387,10 @@
o.filters = "foo";
o.ids = "foo";
o.max_results = 42;
- o.metrics = buildUnnamed1075();
+ o.metrics = buildUnnamed1082();
o.samplingLevel = "foo";
o.segment = "foo";
- o.sort = buildUnnamed1076();
+ o.sort = buildUnnamed1083();
o.start_date = "foo";
o.start_index = 42;
}
@@ -2406,10 +2406,10 @@
unittest.expect(o.filters, unittest.equals('foo'));
unittest.expect(o.ids, unittest.equals('foo'));
unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed1075(o.metrics);
+ checkUnnamed1082(o.metrics);
unittest.expect(o.samplingLevel, unittest.equals('foo'));
unittest.expect(o.segment, unittest.equals('foo'));
- checkUnnamed1076(o.sort);
+ checkUnnamed1083(o.sort);
unittest.expect(o.start_date, unittest.equals('foo'));
unittest.expect(o.start_index, unittest.equals(42));
}
@@ -2437,14 +2437,14 @@
buildCounterMcfDataRowsConversionPathValue--;
}
-buildUnnamed1077() {
+buildUnnamed1084() {
var o = new core.List<api.McfDataRowsConversionPathValue>();
o.add(buildMcfDataRowsConversionPathValue());
o.add(buildMcfDataRowsConversionPathValue());
return o;
}
-checkUnnamed1077(core.List<api.McfDataRowsConversionPathValue> o) {
+checkUnnamed1084(core.List<api.McfDataRowsConversionPathValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataRowsConversionPathValue(o[0]);
checkMcfDataRowsConversionPathValue(o[1]);
@@ -2455,7 +2455,7 @@
var o = new api.McfDataRows();
buildCounterMcfDataRows++;
if (buildCounterMcfDataRows < 3) {
- o.conversionPathValue = buildUnnamed1077();
+ o.conversionPathValue = buildUnnamed1084();
o.primitiveValue = "foo";
}
buildCounterMcfDataRows--;
@@ -2465,46 +2465,46 @@
checkMcfDataRows(api.McfDataRows o) {
buildCounterMcfDataRows++;
if (buildCounterMcfDataRows < 3) {
- checkUnnamed1077(o.conversionPathValue);
+ checkUnnamed1084(o.conversionPathValue);
unittest.expect(o.primitiveValue, unittest.equals('foo'));
}
buildCounterMcfDataRows--;
}
-buildUnnamed1078() {
+buildUnnamed1085() {
var o = new core.List<api.McfDataRows>();
o.add(buildMcfDataRows());
o.add(buildMcfDataRows());
return o;
}
-checkUnnamed1078(core.List<api.McfDataRows> o) {
+checkUnnamed1085(core.List<api.McfDataRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataRows(o[0]);
checkMcfDataRows(o[1]);
}
-buildUnnamed1079() {
+buildUnnamed1086() {
var o = new core.List<core.List<api.McfDataRows>>();
- o.add(buildUnnamed1078());
- o.add(buildUnnamed1078());
+ o.add(buildUnnamed1085());
+ o.add(buildUnnamed1085());
return o;
}
-checkUnnamed1079(core.List<core.List<api.McfDataRows>> o) {
+checkUnnamed1086(core.List<core.List<api.McfDataRows>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1078(o[0]);
- checkUnnamed1078(o[1]);
+ checkUnnamed1085(o[0]);
+ checkUnnamed1085(o[1]);
}
-buildUnnamed1080() {
+buildUnnamed1087() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1080(core.Map<core.String, core.String> o) {
+checkUnnamed1087(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'));
@@ -2515,7 +2515,7 @@
var o = new api.McfData();
buildCounterMcfData++;
if (buildCounterMcfData < 3) {
- o.columnHeaders = buildUnnamed1074();
+ o.columnHeaders = buildUnnamed1081();
o.containsSampledData = true;
o.id = "foo";
o.itemsPerPage = 42;
@@ -2524,12 +2524,12 @@
o.previousLink = "foo";
o.profileInfo = buildMcfDataProfileInfo();
o.query = buildMcfDataQuery();
- o.rows = buildUnnamed1079();
+ o.rows = buildUnnamed1086();
o.sampleSize = "foo";
o.sampleSpace = "foo";
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed1080();
+ o.totalsForAllResults = buildUnnamed1087();
}
buildCounterMcfData--;
return o;
@@ -2538,7 +2538,7 @@
checkMcfData(api.McfData o) {
buildCounterMcfData++;
if (buildCounterMcfData < 3) {
- checkUnnamed1074(o.columnHeaders);
+ checkUnnamed1081(o.columnHeaders);
unittest.expect(o.containsSampledData, unittest.isTrue);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.itemsPerPage, unittest.equals(42));
@@ -2547,12 +2547,12 @@
unittest.expect(o.previousLink, unittest.equals('foo'));
checkMcfDataProfileInfo(o.profileInfo);
checkMcfDataQuery(o.query);
- checkUnnamed1079(o.rows);
+ checkUnnamed1086(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));
- checkUnnamed1080(o.totalsForAllResults);
+ checkUnnamed1087(o.totalsForAllResults);
}
buildCounterMcfData--;
}
@@ -2599,14 +2599,14 @@
buildCounterProfileParentLink--;
}
-buildUnnamed1081() {
+buildUnnamed1088() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1081(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'));
@@ -2617,7 +2617,7 @@
var o = new api.ProfilePermissions();
buildCounterProfilePermissions++;
if (buildCounterProfilePermissions < 3) {
- o.effective = buildUnnamed1081();
+ o.effective = buildUnnamed1088();
}
buildCounterProfilePermissions--;
return o;
@@ -2626,7 +2626,7 @@
checkProfilePermissions(api.ProfilePermissions o) {
buildCounterProfilePermissions++;
if (buildCounterProfilePermissions < 3) {
- checkUnnamed1081(o.effective);
+ checkUnnamed1088(o.effective);
}
buildCounterProfilePermissions--;
}
@@ -2731,14 +2731,14 @@
buildCounterProfileFilterLink--;
}
-buildUnnamed1082() {
+buildUnnamed1089() {
var o = new core.List<api.ProfileFilterLink>();
o.add(buildProfileFilterLink());
o.add(buildProfileFilterLink());
return o;
}
-checkUnnamed1082(core.List<api.ProfileFilterLink> o) {
+checkUnnamed1089(core.List<api.ProfileFilterLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfileFilterLink(o[0]);
checkProfileFilterLink(o[1]);
@@ -2749,7 +2749,7 @@
var o = new api.ProfileFilterLinks();
buildCounterProfileFilterLinks++;
if (buildCounterProfileFilterLinks < 3) {
- o.items = buildUnnamed1082();
+ o.items = buildUnnamed1089();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2765,7 +2765,7 @@
checkProfileFilterLinks(api.ProfileFilterLinks o) {
buildCounterProfileFilterLinks++;
if (buildCounterProfileFilterLinks < 3) {
- checkUnnamed1082(o.items);
+ checkUnnamed1089(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2835,14 +2835,14 @@
buildCounterProfileSummary--;
}
-buildUnnamed1083() {
+buildUnnamed1090() {
var o = new core.List<api.Profile>();
o.add(buildProfile());
o.add(buildProfile());
return o;
}
-checkUnnamed1083(core.List<api.Profile> o) {
+checkUnnamed1090(core.List<api.Profile> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfile(o[0]);
checkProfile(o[1]);
@@ -2853,7 +2853,7 @@
var o = new api.Profiles();
buildCounterProfiles++;
if (buildCounterProfiles < 3) {
- o.items = buildUnnamed1083();
+ o.items = buildUnnamed1090();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2869,7 +2869,7 @@
checkProfiles(api.Profiles o) {
buildCounterProfiles++;
if (buildCounterProfiles < 3) {
- checkUnnamed1083(o.items);
+ checkUnnamed1090(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2904,14 +2904,14 @@
buildCounterRealtimeDataColumnHeaders--;
}
-buildUnnamed1084() {
+buildUnnamed1091() {
var o = new core.List<api.RealtimeDataColumnHeaders>();
o.add(buildRealtimeDataColumnHeaders());
o.add(buildRealtimeDataColumnHeaders());
return o;
}
-checkUnnamed1084(core.List<api.RealtimeDataColumnHeaders> o) {
+checkUnnamed1091(core.List<api.RealtimeDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkRealtimeDataColumnHeaders(o[0]);
checkRealtimeDataColumnHeaders(o[1]);
@@ -2946,27 +2946,27 @@
buildCounterRealtimeDataProfileInfo--;
}
-buildUnnamed1085() {
+buildUnnamed1092() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1085(core.List<core.String> 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'));
}
-buildUnnamed1086() {
+buildUnnamed1093() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1086(core.List<core.String> o) {
+checkUnnamed1093(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2981,8 +2981,8 @@
o.filters = "foo";
o.ids = "foo";
o.max_results = 42;
- o.metrics = buildUnnamed1085();
- o.sort = buildUnnamed1086();
+ o.metrics = buildUnnamed1092();
+ o.sort = buildUnnamed1093();
}
buildCounterRealtimeDataQuery--;
return o;
@@ -2995,46 +2995,46 @@
unittest.expect(o.filters, unittest.equals('foo'));
unittest.expect(o.ids, unittest.equals('foo'));
unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed1085(o.metrics);
- checkUnnamed1086(o.sort);
+ checkUnnamed1092(o.metrics);
+ checkUnnamed1093(o.sort);
}
buildCounterRealtimeDataQuery--;
}
-buildUnnamed1087() {
+buildUnnamed1094() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1087(core.List<core.String> o) {
+checkUnnamed1094(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1088() {
+buildUnnamed1095() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed1087());
- o.add(buildUnnamed1087());
+ o.add(buildUnnamed1094());
+ o.add(buildUnnamed1094());
return o;
}
-checkUnnamed1088(core.List<core.List<core.String>> o) {
+checkUnnamed1095(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1087(o[0]);
- checkUnnamed1087(o[1]);
+ checkUnnamed1094(o[0]);
+ checkUnnamed1094(o[1]);
}
-buildUnnamed1089() {
+buildUnnamed1096() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1089(core.Map<core.String, core.String> o) {
+checkUnnamed1096(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'));
@@ -3045,15 +3045,15 @@
var o = new api.RealtimeData();
buildCounterRealtimeData++;
if (buildCounterRealtimeData < 3) {
- o.columnHeaders = buildUnnamed1084();
+ o.columnHeaders = buildUnnamed1091();
o.id = "foo";
o.kind = "foo";
o.profileInfo = buildRealtimeDataProfileInfo();
o.query = buildRealtimeDataQuery();
- o.rows = buildUnnamed1088();
+ o.rows = buildUnnamed1095();
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed1089();
+ o.totalsForAllResults = buildUnnamed1096();
}
buildCounterRealtimeData--;
return o;
@@ -3062,15 +3062,15 @@
checkRealtimeData(api.RealtimeData o) {
buildCounterRealtimeData++;
if (buildCounterRealtimeData < 3) {
- checkUnnamed1084(o.columnHeaders);
+ checkUnnamed1091(o.columnHeaders);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkRealtimeDataProfileInfo(o.profileInfo);
checkRealtimeDataQuery(o.query);
- checkUnnamed1088(o.rows);
+ checkUnnamed1095(o.rows);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
- checkUnnamed1089(o.totalsForAllResults);
+ checkUnnamed1096(o.totalsForAllResults);
}
buildCounterRealtimeData--;
}
@@ -3095,27 +3095,27 @@
buildCounterRemarketingAudienceAudienceDefinition--;
}
-buildUnnamed1090() {
+buildUnnamed1097() {
var o = new core.List<api.LinkedForeignAccount>();
o.add(buildLinkedForeignAccount());
o.add(buildLinkedForeignAccount());
return o;
}
-checkUnnamed1090(core.List<api.LinkedForeignAccount> o) {
+checkUnnamed1097(core.List<api.LinkedForeignAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkLinkedForeignAccount(o[0]);
checkLinkedForeignAccount(o[1]);
}
-buildUnnamed1091() {
+buildUnnamed1098() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1091(core.List<core.String> o) {
+checkUnnamed1098(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3185,8 +3185,8 @@
o.id = "foo";
o.internalWebPropertyId = "foo";
o.kind = "foo";
- o.linkedAdAccounts = buildUnnamed1090();
- o.linkedViews = buildUnnamed1091();
+ o.linkedAdAccounts = buildUnnamed1097();
+ o.linkedViews = buildUnnamed1098();
o.name = "foo";
o.stateBasedAudienceDefinition =
buildRemarketingAudienceStateBasedAudienceDefinition();
@@ -3209,8 +3209,8 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.internalWebPropertyId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1090(o.linkedAdAccounts);
- checkUnnamed1091(o.linkedViews);
+ checkUnnamed1097(o.linkedAdAccounts);
+ checkUnnamed1098(o.linkedViews);
unittest.expect(o.name, unittest.equals('foo'));
checkRemarketingAudienceStateBasedAudienceDefinition(
o.stateBasedAudienceDefinition);
@@ -3221,14 +3221,14 @@
buildCounterRemarketingAudience--;
}
-buildUnnamed1092() {
+buildUnnamed1099() {
var o = new core.List<api.RemarketingAudience>();
o.add(buildRemarketingAudience());
o.add(buildRemarketingAudience());
return o;
}
-checkUnnamed1092(core.List<api.RemarketingAudience> o) {
+checkUnnamed1099(core.List<api.RemarketingAudience> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemarketingAudience(o[0]);
checkRemarketingAudience(o[1]);
@@ -3239,7 +3239,7 @@
var o = new api.RemarketingAudiences();
buildCounterRemarketingAudiences++;
if (buildCounterRemarketingAudiences < 3) {
- o.items = buildUnnamed1092();
+ o.items = buildUnnamed1099();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3255,7 +3255,7 @@
checkRemarketingAudiences(api.RemarketingAudiences o) {
buildCounterRemarketingAudiences++;
if (buildCounterRemarketingAudiences < 3) {
- checkUnnamed1092(o.items);
+ checkUnnamed1099(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3304,14 +3304,14 @@
buildCounterSegment--;
}
-buildUnnamed1093() {
+buildUnnamed1100() {
var o = new core.List<api.Segment>();
o.add(buildSegment());
o.add(buildSegment());
return o;
}
-checkUnnamed1093(core.List<api.Segment> o) {
+checkUnnamed1100(core.List<api.Segment> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegment(o[0]);
checkSegment(o[1]);
@@ -3322,7 +3322,7 @@
var o = new api.Segments();
buildCounterSegments++;
if (buildCounterSegments < 3) {
- o.items = buildUnnamed1093();
+ o.items = buildUnnamed1100();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3338,7 +3338,7 @@
checkSegments(api.Segments o) {
buildCounterSegments++;
if (buildCounterSegments < 3) {
- checkUnnamed1093(o.items);
+ checkUnnamed1100(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3451,14 +3451,14 @@
buildCounterUnsampledReport--;
}
-buildUnnamed1094() {
+buildUnnamed1101() {
var o = new core.List<api.UnsampledReport>();
o.add(buildUnsampledReport());
o.add(buildUnsampledReport());
return o;
}
-checkUnnamed1094(core.List<api.UnsampledReport> o) {
+checkUnnamed1101(core.List<api.UnsampledReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkUnsampledReport(o[0]);
checkUnsampledReport(o[1]);
@@ -3469,7 +3469,7 @@
var o = new api.UnsampledReports();
buildCounterUnsampledReports++;
if (buildCounterUnsampledReports < 3) {
- o.items = buildUnnamed1094();
+ o.items = buildUnnamed1101();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3485,7 +3485,7 @@
checkUnsampledReports(api.UnsampledReports o) {
buildCounterUnsampledReports++;
if (buildCounterUnsampledReports < 3) {
- checkUnnamed1094(o.items);
+ checkUnnamed1101(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3497,14 +3497,14 @@
buildCounterUnsampledReports--;
}
-buildUnnamed1095() {
+buildUnnamed1102() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1095(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'));
@@ -3517,7 +3517,7 @@
if (buildCounterUpload < 3) {
o.accountId = "foo";
o.customDataSourceId = "foo";
- o.errors = buildUnnamed1095();
+ o.errors = buildUnnamed1102();
o.id = "foo";
o.kind = "foo";
o.status = "foo";
@@ -3532,7 +3532,7 @@
if (buildCounterUpload < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.customDataSourceId, unittest.equals('foo'));
- checkUnnamed1095(o.errors);
+ checkUnnamed1102(o.errors);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
@@ -3542,14 +3542,14 @@
buildCounterUpload--;
}
-buildUnnamed1096() {
+buildUnnamed1103() {
var o = new core.List<api.Upload>();
o.add(buildUpload());
o.add(buildUpload());
return o;
}
-checkUnnamed1096(core.List<api.Upload> o) {
+checkUnnamed1103(core.List<api.Upload> o) {
unittest.expect(o, unittest.hasLength(2));
checkUpload(o[0]);
checkUpload(o[1]);
@@ -3560,7 +3560,7 @@
var o = new api.Uploads();
buildCounterUploads++;
if (buildCounterUploads < 3) {
- o.items = buildUnnamed1096();
+ o.items = buildUnnamed1103();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3575,7 +3575,7 @@
checkUploads(api.Uploads o) {
buildCounterUploads++;
if (buildCounterUploads < 3) {
- checkUnnamed1096(o.items);
+ checkUnnamed1103(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3638,14 +3638,14 @@
buildCounterWebPropertyRef--;
}
-buildUnnamed1097() {
+buildUnnamed1104() {
var o = new core.List<api.ProfileSummary>();
o.add(buildProfileSummary());
o.add(buildProfileSummary());
return o;
}
-checkUnnamed1097(core.List<api.ProfileSummary> o) {
+checkUnnamed1104(core.List<api.ProfileSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfileSummary(o[0]);
checkProfileSummary(o[1]);
@@ -3661,7 +3661,7 @@
o.kind = "foo";
o.level = "foo";
o.name = "foo";
- o.profiles = buildUnnamed1097();
+ o.profiles = buildUnnamed1104();
o.starred = true;
o.websiteUrl = "foo";
}
@@ -3677,21 +3677,21 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1097(o.profiles);
+ checkUnnamed1104(o.profiles);
unittest.expect(o.starred, unittest.isTrue);
unittest.expect(o.websiteUrl, unittest.equals('foo'));
}
buildCounterWebPropertySummary--;
}
-buildUnnamed1098() {
+buildUnnamed1105() {
var o = new core.List<api.Webproperty>();
o.add(buildWebproperty());
o.add(buildWebproperty());
return o;
}
-checkUnnamed1098(core.List<api.Webproperty> o) {
+checkUnnamed1105(core.List<api.Webproperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebproperty(o[0]);
checkWebproperty(o[1]);
@@ -3702,7 +3702,7 @@
var o = new api.Webproperties();
buildCounterWebproperties++;
if (buildCounterWebproperties < 3) {
- o.items = buildUnnamed1098();
+ o.items = buildUnnamed1105();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3718,7 +3718,7 @@
checkWebproperties(api.Webproperties o) {
buildCounterWebproperties++;
if (buildCounterWebproperties < 3) {
- checkUnnamed1098(o.items);
+ checkUnnamed1105(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3772,14 +3772,14 @@
buildCounterWebpropertyParentLink--;
}
-buildUnnamed1099() {
+buildUnnamed1106() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1099(core.List<core.String> o) {
+checkUnnamed1106(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3790,7 +3790,7 @@
var o = new api.WebpropertyPermissions();
buildCounterWebpropertyPermissions++;
if (buildCounterWebpropertyPermissions < 3) {
- o.effective = buildUnnamed1099();
+ o.effective = buildUnnamed1106();
}
buildCounterWebpropertyPermissions--;
return o;
@@ -3799,7 +3799,7 @@
checkWebpropertyPermissions(api.WebpropertyPermissions o) {
buildCounterWebpropertyPermissions++;
if (buildCounterWebpropertyPermissions < 3) {
- checkUnnamed1099(o.effective);
+ checkUnnamed1106(o.effective);
}
buildCounterWebpropertyPermissions--;
}
diff --git a/generated/googleapis/test/androidenterprise/v1_test.dart b/generated/googleapis/test/androidenterprise/v1_test.dart
index b77ce30..fc6b148 100644
--- a/generated/googleapis/test/androidenterprise/v1_test.dart
+++ b/generated/googleapis/test/androidenterprise/v1_test.dart
@@ -90,14 +90,14 @@
buildCounterAdministratorWebToken--;
}
-buildUnnamed2208() {
+buildUnnamed2222() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2208(core.List<core.String> o) {
+checkUnnamed2222(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -110,7 +110,7 @@
if (buildCounterAdministratorWebTokenSpec < 3) {
o.kind = "foo";
o.parent = "foo";
- o.permission = buildUnnamed2208();
+ o.permission = buildUnnamed2222();
}
buildCounterAdministratorWebTokenSpec--;
return o;
@@ -121,7 +121,7 @@
if (buildCounterAdministratorWebTokenSpec < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
- checkUnnamed2208(o.permission);
+ checkUnnamed2222(o.permission);
}
buildCounterAdministratorWebTokenSpec--;
}
@@ -147,14 +147,14 @@
buildCounterAndroidDevicePolicyConfig--;
}
-buildUnnamed2209() {
+buildUnnamed2223() {
var o = new core.List<api.AppRestrictionsSchemaRestriction>();
o.add(buildAppRestrictionsSchemaRestriction());
o.add(buildAppRestrictionsSchemaRestriction());
return o;
}
-checkUnnamed2209(core.List<api.AppRestrictionsSchemaRestriction> o) {
+checkUnnamed2223(core.List<api.AppRestrictionsSchemaRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppRestrictionsSchemaRestriction(o[0]);
checkAppRestrictionsSchemaRestriction(o[1]);
@@ -166,7 +166,7 @@
buildCounterAppRestrictionsSchema++;
if (buildCounterAppRestrictionsSchema < 3) {
o.kind = "foo";
- o.restrictions = buildUnnamed2209();
+ o.restrictions = buildUnnamed2223();
}
buildCounterAppRestrictionsSchema--;
return o;
@@ -176,7 +176,7 @@
buildCounterAppRestrictionsSchema++;
if (buildCounterAppRestrictionsSchema < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2209(o.restrictions);
+ checkUnnamed2223(o.restrictions);
}
buildCounterAppRestrictionsSchema--;
}
@@ -200,40 +200,40 @@
buildCounterAppRestrictionsSchemaChangeEvent--;
}
-buildUnnamed2210() {
+buildUnnamed2224() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2210(core.List<core.String> o) {
+checkUnnamed2224(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2211() {
+buildUnnamed2225() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2211(core.List<core.String> o) {
+checkUnnamed2225(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2212() {
+buildUnnamed2226() {
var o = new core.List<api.AppRestrictionsSchemaRestriction>();
o.add(buildAppRestrictionsSchemaRestriction());
o.add(buildAppRestrictionsSchemaRestriction());
return o;
}
-checkUnnamed2212(core.List<api.AppRestrictionsSchemaRestriction> o) {
+checkUnnamed2226(core.List<api.AppRestrictionsSchemaRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppRestrictionsSchemaRestriction(o[0]);
checkAppRestrictionsSchemaRestriction(o[1]);
@@ -246,10 +246,10 @@
if (buildCounterAppRestrictionsSchemaRestriction < 3) {
o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue();
o.description = "foo";
- o.entry = buildUnnamed2210();
- o.entryValue = buildUnnamed2211();
+ o.entry = buildUnnamed2224();
+ o.entryValue = buildUnnamed2225();
o.key = "foo";
- o.nestedRestriction = buildUnnamed2212();
+ o.nestedRestriction = buildUnnamed2226();
o.restrictionType = "foo";
o.title = "foo";
}
@@ -262,24 +262,24 @@
if (buildCounterAppRestrictionsSchemaRestriction < 3) {
checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2210(o.entry);
- checkUnnamed2211(o.entryValue);
+ checkUnnamed2224(o.entry);
+ checkUnnamed2225(o.entryValue);
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed2212(o.nestedRestriction);
+ checkUnnamed2226(o.nestedRestriction);
unittest.expect(o.restrictionType, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterAppRestrictionsSchemaRestriction--;
}
-buildUnnamed2213() {
+buildUnnamed2227() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2213(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'));
@@ -293,7 +293,7 @@
o.type = "foo";
o.valueBool = true;
o.valueInteger = 42;
- o.valueMultiselect = buildUnnamed2213();
+ o.valueMultiselect = buildUnnamed2227();
o.valueString = "foo";
}
buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
@@ -307,7 +307,7 @@
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.valueBool, unittest.isTrue);
unittest.expect(o.valueInteger, unittest.equals(42));
- checkUnnamed2213(o.valueMultiselect);
+ checkUnnamed2227(o.valueMultiselect);
unittest.expect(o.valueString, unittest.equals('foo'));
}
buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
@@ -397,6 +397,42 @@
buildCounterAuthenticationToken--;
}
+buildUnnamed2228() {
+ var o = new core.List<api.VariableSet>();
+ o.add(buildVariableSet());
+ o.add(buildVariableSet());
+ return o;
+}
+
+checkUnnamed2228(core.List<api.VariableSet> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkVariableSet(o[0]);
+ checkVariableSet(o[1]);
+}
+
+core.int buildCounterConfigurationVariables = 0;
+buildConfigurationVariables() {
+ var o = new api.ConfigurationVariables();
+ buildCounterConfigurationVariables++;
+ if (buildCounterConfigurationVariables < 3) {
+ o.kind = "foo";
+ o.mcmId = "foo";
+ o.variableSet = buildUnnamed2228();
+ }
+ buildCounterConfigurationVariables--;
+ return o;
+}
+
+checkConfigurationVariables(api.ConfigurationVariables o) {
+ buildCounterConfigurationVariables++;
+ if (buildCounterConfigurationVariables < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.mcmId, unittest.equals('foo'));
+ checkUnnamed2228(o.variableSet);
+ }
+ buildCounterConfigurationVariables--;
+}
+
core.int buildCounterDevice = 0;
buildDevice() {
var o = new api.Device();
@@ -405,6 +441,7 @@
o.androidId = "foo";
o.kind = "foo";
o.managementType = "foo";
+ o.policy = buildPolicy();
}
buildCounterDevice--;
return o;
@@ -416,6 +453,7 @@
unittest.expect(o.androidId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.managementType, unittest.equals('foo'));
+ checkPolicy(o.policy);
}
buildCounterDevice--;
}
@@ -441,14 +479,14 @@
buildCounterDeviceState--;
}
-buildUnnamed2214() {
+buildUnnamed2229() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed2214(core.List<api.Device> o) {
+checkUnnamed2229(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -459,7 +497,7 @@
var o = new api.DevicesListResponse();
buildCounterDevicesListResponse++;
if (buildCounterDevicesListResponse < 3) {
- o.device = buildUnnamed2214();
+ o.device = buildUnnamed2229();
o.kind = "foo";
}
buildCounterDevicesListResponse--;
@@ -469,20 +507,20 @@
checkDevicesListResponse(api.DevicesListResponse o) {
buildCounterDevicesListResponse++;
if (buildCounterDevicesListResponse < 3) {
- checkUnnamed2214(o.device);
+ checkUnnamed2229(o.device);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDevicesListResponse--;
}
-buildUnnamed2215() {
+buildUnnamed2230() {
var o = new core.List<api.Administrator>();
o.add(buildAdministrator());
o.add(buildAdministrator());
return o;
}
-checkUnnamed2215(core.List<api.Administrator> o) {
+checkUnnamed2230(core.List<api.Administrator> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdministrator(o[0]);
checkAdministrator(o[1]);
@@ -493,7 +531,7 @@
var o = new api.Enterprise();
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
- o.administrator = buildUnnamed2215();
+ o.administrator = buildUnnamed2230();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -506,7 +544,7 @@
checkEnterprise(api.Enterprise o) {
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
- checkUnnamed2215(o.administrator);
+ checkUnnamed2230(o.administrator);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -536,14 +574,14 @@
buildCounterEnterpriseAccount--;
}
-buildUnnamed2216() {
+buildUnnamed2231() {
var o = new core.List<api.Enterprise>();
o.add(buildEnterprise());
o.add(buildEnterprise());
return o;
}
-checkUnnamed2216(core.List<api.Enterprise> o) {
+checkUnnamed2231(core.List<api.Enterprise> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnterprise(o[0]);
checkEnterprise(o[1]);
@@ -554,7 +592,7 @@
var o = new api.EnterprisesListResponse();
buildCounterEnterprisesListResponse++;
if (buildCounterEnterprisesListResponse < 3) {
- o.enterprise = buildUnnamed2216();
+ o.enterprise = buildUnnamed2231();
o.kind = "foo";
}
buildCounterEnterprisesListResponse--;
@@ -564,7 +602,7 @@
checkEnterprisesListResponse(api.EnterprisesListResponse o) {
buildCounterEnterprisesListResponse++;
if (buildCounterEnterprisesListResponse < 3) {
- checkUnnamed2216(o.enterprise);
+ checkUnnamed2231(o.enterprise);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEnterprisesListResponse--;
@@ -615,14 +653,14 @@
buildCounterEntitlement--;
}
-buildUnnamed2217() {
+buildUnnamed2232() {
var o = new core.List<api.Entitlement>();
o.add(buildEntitlement());
o.add(buildEntitlement());
return o;
}
-checkUnnamed2217(core.List<api.Entitlement> o) {
+checkUnnamed2232(core.List<api.Entitlement> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntitlement(o[0]);
checkEntitlement(o[1]);
@@ -633,7 +671,7 @@
var o = new api.EntitlementsListResponse();
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
- o.entitlement = buildUnnamed2217();
+ o.entitlement = buildUnnamed2232();
o.kind = "foo";
}
buildCounterEntitlementsListResponse--;
@@ -643,7 +681,7 @@
checkEntitlementsListResponse(api.EntitlementsListResponse o) {
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
- checkUnnamed2217(o.entitlement);
+ checkUnnamed2232(o.entitlement);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEntitlementsListResponse--;
@@ -680,14 +718,14 @@
buildCounterGroupLicense--;
}
-buildUnnamed2218() {
+buildUnnamed2233() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed2218(core.List<api.User> o) {
+checkUnnamed2233(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -699,7 +737,7 @@
buildCounterGroupLicenseUsersListResponse++;
if (buildCounterGroupLicenseUsersListResponse < 3) {
o.kind = "foo";
- o.user = buildUnnamed2218();
+ o.user = buildUnnamed2233();
}
buildCounterGroupLicenseUsersListResponse--;
return o;
@@ -709,19 +747,19 @@
buildCounterGroupLicenseUsersListResponse++;
if (buildCounterGroupLicenseUsersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2218(o.user);
+ checkUnnamed2233(o.user);
}
buildCounterGroupLicenseUsersListResponse--;
}
-buildUnnamed2219() {
+buildUnnamed2234() {
var o = new core.List<api.GroupLicense>();
o.add(buildGroupLicense());
o.add(buildGroupLicense());
return o;
}
-checkUnnamed2219(core.List<api.GroupLicense> o) {
+checkUnnamed2234(core.List<api.GroupLicense> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroupLicense(o[0]);
checkGroupLicense(o[1]);
@@ -732,7 +770,7 @@
var o = new api.GroupLicensesListResponse();
buildCounterGroupLicensesListResponse++;
if (buildCounterGroupLicensesListResponse < 3) {
- o.groupLicense = buildUnnamed2219();
+ o.groupLicense = buildUnnamed2234();
o.kind = "foo";
}
buildCounterGroupLicensesListResponse--;
@@ -742,7 +780,7 @@
checkGroupLicensesListResponse(api.GroupLicensesListResponse o) {
buildCounterGroupLicensesListResponse++;
if (buildCounterGroupLicensesListResponse < 3) {
- checkUnnamed2219(o.groupLicense);
+ checkUnnamed2234(o.groupLicense);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterGroupLicensesListResponse--;
@@ -800,14 +838,14 @@
buildCounterInstallFailureEvent--;
}
-buildUnnamed2220() {
+buildUnnamed2235() {
var o = new core.List<api.Install>();
o.add(buildInstall());
o.add(buildInstall());
return o;
}
-checkUnnamed2220(core.List<api.Install> o) {
+checkUnnamed2235(core.List<api.Install> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstall(o[0]);
checkInstall(o[1]);
@@ -818,7 +856,7 @@
var o = new api.InstallsListResponse();
buildCounterInstallsListResponse++;
if (buildCounterInstallsListResponse < 3) {
- o.install = buildUnnamed2220();
+ o.install = buildUnnamed2235();
o.kind = "foo";
}
buildCounterInstallsListResponse--;
@@ -828,7 +866,7 @@
checkInstallsListResponse(api.InstallsListResponse o) {
buildCounterInstallsListResponse++;
if (buildCounterInstallsListResponse < 3) {
- checkUnnamed2220(o.install);
+ checkUnnamed2235(o.install);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterInstallsListResponse--;
@@ -855,14 +893,14 @@
buildCounterLocalizedText--;
}
-buildUnnamed2221() {
+buildUnnamed2236() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed2221(core.List<api.ManagedProperty> o) {
+checkUnnamed2236(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
@@ -873,8 +911,9 @@
var o = new api.ManagedConfiguration();
buildCounterManagedConfiguration++;
if (buildCounterManagedConfiguration < 3) {
+ o.configurationVariables = buildConfigurationVariables();
o.kind = "foo";
- o.managedProperty = buildUnnamed2221();
+ o.managedProperty = buildUnnamed2236();
o.productId = "foo";
}
buildCounterManagedConfiguration--;
@@ -884,21 +923,22 @@
checkManagedConfiguration(api.ManagedConfiguration o) {
buildCounterManagedConfiguration++;
if (buildCounterManagedConfiguration < 3) {
+ checkConfigurationVariables(o.configurationVariables);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2221(o.managedProperty);
+ checkUnnamed2236(o.managedProperty);
unittest.expect(o.productId, unittest.equals('foo'));
}
buildCounterManagedConfiguration--;
}
-buildUnnamed2222() {
+buildUnnamed2237() {
var o = new core.List<api.ManagedConfiguration>();
o.add(buildManagedConfiguration());
o.add(buildManagedConfiguration());
return o;
}
-checkUnnamed2222(core.List<api.ManagedConfiguration> o) {
+checkUnnamed2237(core.List<api.ManagedConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedConfiguration(o[0]);
checkManagedConfiguration(o[1]);
@@ -910,7 +950,7 @@
buildCounterManagedConfigurationsForDeviceListResponse++;
if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
o.kind = "foo";
- o.managedConfigurationForDevice = buildUnnamed2222();
+ o.managedConfigurationForDevice = buildUnnamed2237();
}
buildCounterManagedConfigurationsForDeviceListResponse--;
return o;
@@ -921,19 +961,19 @@
buildCounterManagedConfigurationsForDeviceListResponse++;
if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2222(o.managedConfigurationForDevice);
+ checkUnnamed2237(o.managedConfigurationForDevice);
}
buildCounterManagedConfigurationsForDeviceListResponse--;
}
-buildUnnamed2223() {
+buildUnnamed2238() {
var o = new core.List<api.ManagedConfiguration>();
o.add(buildManagedConfiguration());
o.add(buildManagedConfiguration());
return o;
}
-checkUnnamed2223(core.List<api.ManagedConfiguration> o) {
+checkUnnamed2238(core.List<api.ManagedConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedConfiguration(o[0]);
checkManagedConfiguration(o[1]);
@@ -945,7 +985,7 @@
buildCounterManagedConfigurationsForUserListResponse++;
if (buildCounterManagedConfigurationsForUserListResponse < 3) {
o.kind = "foo";
- o.managedConfigurationForUser = buildUnnamed2223();
+ o.managedConfigurationForUser = buildUnnamed2238();
}
buildCounterManagedConfigurationsForUserListResponse--;
return o;
@@ -956,32 +996,105 @@
buildCounterManagedConfigurationsForUserListResponse++;
if (buildCounterManagedConfigurationsForUserListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2223(o.managedConfigurationForUser);
+ checkUnnamed2238(o.managedConfigurationForUser);
}
buildCounterManagedConfigurationsForUserListResponse--;
}
-buildUnnamed2224() {
+buildUnnamed2239() {
+ var o = new core.List<api.ManagedProperty>();
+ o.add(buildManagedProperty());
+ o.add(buildManagedProperty());
+ return o;
+}
+
+checkUnnamed2239(core.List<api.ManagedProperty> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkManagedProperty(o[0]);
+ checkManagedProperty(o[1]);
+}
+
+core.int buildCounterManagedConfigurationsSettings = 0;
+buildManagedConfigurationsSettings() {
+ var o = new api.ManagedConfigurationsSettings();
+ buildCounterManagedConfigurationsSettings++;
+ if (buildCounterManagedConfigurationsSettings < 3) {
+ o.kind = "foo";
+ o.managedProperty = buildUnnamed2239();
+ o.mcmId = "foo";
+ o.name = "foo";
+ }
+ buildCounterManagedConfigurationsSettings--;
+ return o;
+}
+
+checkManagedConfigurationsSettings(api.ManagedConfigurationsSettings o) {
+ buildCounterManagedConfigurationsSettings++;
+ if (buildCounterManagedConfigurationsSettings < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2239(o.managedProperty);
+ unittest.expect(o.mcmId, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterManagedConfigurationsSettings--;
+}
+
+buildUnnamed2240() {
+ var o = new core.List<api.ManagedConfigurationsSettings>();
+ o.add(buildManagedConfigurationsSettings());
+ o.add(buildManagedConfigurationsSettings());
+ return o;
+}
+
+checkUnnamed2240(core.List<api.ManagedConfigurationsSettings> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkManagedConfigurationsSettings(o[0]);
+ checkManagedConfigurationsSettings(o[1]);
+}
+
+core.int buildCounterManagedConfigurationsSettingsListResponse = 0;
+buildManagedConfigurationsSettingsListResponse() {
+ var o = new api.ManagedConfigurationsSettingsListResponse();
+ buildCounterManagedConfigurationsSettingsListResponse++;
+ if (buildCounterManagedConfigurationsSettingsListResponse < 3) {
+ o.kind = "foo";
+ o.managedConfigurationsSettings = buildUnnamed2240();
+ }
+ buildCounterManagedConfigurationsSettingsListResponse--;
+ return o;
+}
+
+checkManagedConfigurationsSettingsListResponse(
+ api.ManagedConfigurationsSettingsListResponse o) {
+ buildCounterManagedConfigurationsSettingsListResponse++;
+ if (buildCounterManagedConfigurationsSettingsListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2240(o.managedConfigurationsSettings);
+ }
+ buildCounterManagedConfigurationsSettingsListResponse--;
+}
+
+buildUnnamed2241() {
var o = new core.List<api.ManagedPropertyBundle>();
o.add(buildManagedPropertyBundle());
o.add(buildManagedPropertyBundle());
return o;
}
-checkUnnamed2224(core.List<api.ManagedPropertyBundle> o) {
+checkUnnamed2241(core.List<api.ManagedPropertyBundle> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedPropertyBundle(o[0]);
checkManagedPropertyBundle(o[1]);
}
-buildUnnamed2225() {
+buildUnnamed2242() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2225(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'));
@@ -995,10 +1108,10 @@
o.key = "foo";
o.valueBool = true;
o.valueBundle = buildManagedPropertyBundle();
- o.valueBundleArray = buildUnnamed2224();
+ o.valueBundleArray = buildUnnamed2241();
o.valueInteger = 42;
o.valueString = "foo";
- o.valueStringArray = buildUnnamed2225();
+ o.valueStringArray = buildUnnamed2242();
}
buildCounterManagedProperty--;
return o;
@@ -1010,22 +1123,22 @@
unittest.expect(o.key, unittest.equals('foo'));
unittest.expect(o.valueBool, unittest.isTrue);
checkManagedPropertyBundle(o.valueBundle);
- checkUnnamed2224(o.valueBundleArray);
+ checkUnnamed2241(o.valueBundleArray);
unittest.expect(o.valueInteger, unittest.equals(42));
unittest.expect(o.valueString, unittest.equals('foo'));
- checkUnnamed2225(o.valueStringArray);
+ checkUnnamed2242(o.valueStringArray);
}
buildCounterManagedProperty--;
}
-buildUnnamed2226() {
+buildUnnamed2243() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed2226(core.List<api.ManagedProperty> o) {
+checkUnnamed2243(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
@@ -1036,7 +1149,7 @@
var o = new api.ManagedPropertyBundle();
buildCounterManagedPropertyBundle++;
if (buildCounterManagedPropertyBundle < 3) {
- o.managedProperty = buildUnnamed2226();
+ o.managedProperty = buildUnnamed2243();
}
buildCounterManagedPropertyBundle--;
return o;
@@ -1045,7 +1158,7 @@
checkManagedPropertyBundle(api.ManagedPropertyBundle o) {
buildCounterManagedPropertyBundle++;
if (buildCounterManagedPropertyBundle < 3) {
- checkUnnamed2226(o.managedProperty);
+ checkUnnamed2243(o.managedProperty);
}
buildCounterManagedPropertyBundle--;
}
@@ -1073,27 +1186,27 @@
buildCounterNewDeviceEvent--;
}
-buildUnnamed2227() {
+buildUnnamed2244() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2227(core.List<core.String> o) {
+checkUnnamed2244(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2228() {
+buildUnnamed2245() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2228(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'));
@@ -1104,9 +1217,9 @@
var o = new api.NewPermissionsEvent();
buildCounterNewPermissionsEvent++;
if (buildCounterNewPermissionsEvent < 3) {
- o.approvedPermissions = buildUnnamed2227();
+ o.approvedPermissions = buildUnnamed2244();
o.productId = "foo";
- o.requestedPermissions = buildUnnamed2228();
+ o.requestedPermissions = buildUnnamed2245();
}
buildCounterNewPermissionsEvent--;
return o;
@@ -1115,9 +1228,9 @@
checkNewPermissionsEvent(api.NewPermissionsEvent o) {
buildCounterNewPermissionsEvent++;
if (buildCounterNewPermissionsEvent < 3) {
- checkUnnamed2227(o.approvedPermissions);
+ checkUnnamed2244(o.approvedPermissions);
unittest.expect(o.productId, unittest.equals('foo'));
- checkUnnamed2228(o.requestedPermissions);
+ checkUnnamed2245(o.requestedPermissions);
}
buildCounterNewPermissionsEvent--;
}
@@ -1160,14 +1273,14 @@
buildCounterNotification--;
}
-buildUnnamed2229() {
+buildUnnamed2246() {
var o = new core.List<api.Notification>();
o.add(buildNotification());
o.add(buildNotification());
return o;
}
-checkUnnamed2229(core.List<api.Notification> o) {
+checkUnnamed2246(core.List<api.Notification> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotification(o[0]);
checkNotification(o[1]);
@@ -1179,7 +1292,7 @@
buildCounterNotificationSet++;
if (buildCounterNotificationSet < 3) {
o.kind = "foo";
- o.notification = buildUnnamed2229();
+ o.notification = buildUnnamed2246();
o.notificationSetId = "foo";
}
buildCounterNotificationSet--;
@@ -1190,7 +1303,7 @@
buildCounterNotificationSet++;
if (buildCounterNotificationSet < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2229(o.notification);
+ checkUnnamed2246(o.notification);
unittest.expect(o.notificationSetId, unittest.equals('foo'));
}
buildCounterNotificationSet--;
@@ -1244,27 +1357,61 @@
buildCounterPermission--;
}
-buildUnnamed2230() {
+buildUnnamed2247() {
+ var o = new core.List<api.ProductPolicy>();
+ o.add(buildProductPolicy());
+ o.add(buildProductPolicy());
+ return o;
+}
+
+checkUnnamed2247(core.List<api.ProductPolicy> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkProductPolicy(o[0]);
+ checkProductPolicy(o[1]);
+}
+
+core.int buildCounterPolicy = 0;
+buildPolicy() {
+ var o = new api.Policy();
+ buildCounterPolicy++;
+ if (buildCounterPolicy < 3) {
+ o.productAvailabilityPolicy = "foo";
+ o.productPolicy = buildUnnamed2247();
+ }
+ buildCounterPolicy--;
+ return o;
+}
+
+checkPolicy(api.Policy o) {
+ buildCounterPolicy++;
+ if (buildCounterPolicy < 3) {
+ unittest.expect(o.productAvailabilityPolicy, unittest.equals('foo'));
+ checkUnnamed2247(o.productPolicy);
+ }
+ buildCounterPolicy--;
+}
+
+buildUnnamed2248() {
var o = new core.List<api.AppVersion>();
o.add(buildAppVersion());
o.add(buildAppVersion());
return o;
}
-checkUnnamed2230(core.List<api.AppVersion> o) {
+checkUnnamed2248(core.List<api.AppVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppVersion(o[0]);
checkAppVersion(o[1]);
}
-buildUnnamed2231() {
+buildUnnamed2249() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2231(core.List<core.String> o) {
+checkUnnamed2249(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1275,9 +1422,9 @@
var o = new api.Product();
buildCounterProduct++;
if (buildCounterProduct < 3) {
- o.appVersion = buildUnnamed2230();
+ o.appVersion = buildUnnamed2248();
o.authorName = "foo";
- o.availableTracks = buildUnnamed2231();
+ o.availableTracks = buildUnnamed2249();
o.detailsUrl = "foo";
o.distributionChannel = "foo";
o.iconUrl = "foo";
@@ -1297,9 +1444,9 @@
checkProduct(api.Product o) {
buildCounterProduct++;
if (buildCounterProduct < 3) {
- checkUnnamed2230(o.appVersion);
+ checkUnnamed2248(o.appVersion);
unittest.expect(o.authorName, unittest.equals('foo'));
- checkUnnamed2231(o.availableTracks);
+ checkUnnamed2249(o.availableTracks);
unittest.expect(o.detailsUrl, unittest.equals('foo'));
unittest.expect(o.distributionChannel, unittest.equals('foo'));
unittest.expect(o.iconUrl, unittest.equals('foo'));
@@ -1378,14 +1525,14 @@
buildCounterProductPermission--;
}
-buildUnnamed2232() {
+buildUnnamed2250() {
var o = new core.List<api.ProductPermission>();
o.add(buildProductPermission());
o.add(buildProductPermission());
return o;
}
-checkUnnamed2232(core.List<api.ProductPermission> o) {
+checkUnnamed2250(core.List<api.ProductPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductPermission(o[0]);
checkProductPermission(o[1]);
@@ -1397,7 +1544,7 @@
buildCounterProductPermissions++;
if (buildCounterProductPermissions < 3) {
o.kind = "foo";
- o.permission = buildUnnamed2232();
+ o.permission = buildUnnamed2250();
o.productId = "foo";
}
buildCounterProductPermissions--;
@@ -1408,33 +1555,67 @@
buildCounterProductPermissions++;
if (buildCounterProductPermissions < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2232(o.permission);
+ checkUnnamed2250(o.permission);
unittest.expect(o.productId, unittest.equals('foo'));
}
buildCounterProductPermissions--;
}
-buildUnnamed2233() {
+buildUnnamed2251() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2233(core.List<core.String> o) {
+checkUnnamed2251(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2234() {
+core.int buildCounterProductPolicy = 0;
+buildProductPolicy() {
+ var o = new api.ProductPolicy();
+ buildCounterProductPolicy++;
+ if (buildCounterProductPolicy < 3) {
+ o.productId = "foo";
+ o.tracks = buildUnnamed2251();
+ }
+ buildCounterProductPolicy--;
+ return o;
+}
+
+checkProductPolicy(api.ProductPolicy o) {
+ buildCounterProductPolicy++;
+ if (buildCounterProductPolicy < 3) {
+ unittest.expect(o.productId, unittest.equals('foo'));
+ checkUnnamed2251(o.tracks);
+ }
+ buildCounterProductPolicy--;
+}
+
+buildUnnamed2252() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2252(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2253() {
var o = new core.List<api.ProductVisibility>();
o.add(buildProductVisibility());
o.add(buildProductVisibility());
return o;
}
-checkUnnamed2234(core.List<api.ProductVisibility> o) {
+checkUnnamed2253(core.List<api.ProductVisibility> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductVisibility(o[0]);
checkProductVisibility(o[1]);
@@ -1446,9 +1627,9 @@
buildCounterProductSet++;
if (buildCounterProductSet < 3) {
o.kind = "foo";
- o.productId = buildUnnamed2233();
+ o.productId = buildUnnamed2252();
o.productSetBehavior = "foo";
- o.productVisibility = buildUnnamed2234();
+ o.productVisibility = buildUnnamed2253();
}
buildCounterProductSet--;
return o;
@@ -1458,9 +1639,9 @@
buildCounterProductSet++;
if (buildCounterProductSet < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2233(o.productId);
+ checkUnnamed2252(o.productId);
unittest.expect(o.productSetBehavior, unittest.equals('foo'));
- checkUnnamed2234(o.productVisibility);
+ checkUnnamed2253(o.productVisibility);
}
buildCounterProductSet--;
}
@@ -1486,14 +1667,14 @@
buildCounterProductSigningCertificate--;
}
-buildUnnamed2235() {
+buildUnnamed2254() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2235(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'));
@@ -1505,7 +1686,7 @@
buildCounterProductVisibility++;
if (buildCounterProductVisibility < 3) {
o.productId = "foo";
- o.tracks = buildUnnamed2235();
+ o.tracks = buildUnnamed2254();
}
buildCounterProductVisibility--;
return o;
@@ -1515,7 +1696,7 @@
buildCounterProductVisibility++;
if (buildCounterProductVisibility < 3) {
unittest.expect(o.productId, unittest.equals('foo'));
- checkUnnamed2235(o.tracks);
+ checkUnnamed2254(o.tracks);
}
buildCounterProductVisibility--;
}
@@ -1561,14 +1742,14 @@
buildCounterProductsGenerateApprovalUrlResponse--;
}
-buildUnnamed2236() {
+buildUnnamed2255() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed2236(core.List<api.Product> o) {
+checkUnnamed2255(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -1581,7 +1762,7 @@
if (buildCounterProductsListResponse < 3) {
o.kind = "foo";
o.pageInfo = buildPageInfo();
- o.product = buildUnnamed2236();
+ o.product = buildUnnamed2255();
o.tokenPagination = buildTokenPagination();
}
buildCounterProductsListResponse--;
@@ -1593,7 +1774,7 @@
if (buildCounterProductsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
- checkUnnamed2236(o.product);
+ checkUnnamed2255(o.product);
checkTokenPagination(o.tokenPagination);
}
buildCounterProductsListResponse--;
@@ -1649,14 +1830,14 @@
buildCounterServiceAccountKey--;
}
-buildUnnamed2237() {
+buildUnnamed2256() {
var o = new core.List<api.ServiceAccountKey>();
o.add(buildServiceAccountKey());
o.add(buildServiceAccountKey());
return o;
}
-checkUnnamed2237(core.List<api.ServiceAccountKey> o) {
+checkUnnamed2256(core.List<api.ServiceAccountKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccountKey(o[0]);
checkServiceAccountKey(o[1]);
@@ -1667,7 +1848,7 @@
var o = new api.ServiceAccountKeysListResponse();
buildCounterServiceAccountKeysListResponse++;
if (buildCounterServiceAccountKeysListResponse < 3) {
- o.serviceAccountKey = buildUnnamed2237();
+ o.serviceAccountKey = buildUnnamed2256();
}
buildCounterServiceAccountKeysListResponse--;
return o;
@@ -1676,7 +1857,7 @@
checkServiceAccountKeysListResponse(api.ServiceAccountKeysListResponse o) {
buildCounterServiceAccountKeysListResponse++;
if (buildCounterServiceAccountKeysListResponse < 3) {
- checkUnnamed2237(o.serviceAccountKey);
+ checkUnnamed2256(o.serviceAccountKey);
}
buildCounterServiceAccountKeysListResponse--;
}
@@ -1704,27 +1885,27 @@
buildCounterSignupInfo--;
}
-buildUnnamed2238() {
+buildUnnamed2257() {
var o = new core.List<api.LocalizedText>();
o.add(buildLocalizedText());
o.add(buildLocalizedText());
return o;
}
-checkUnnamed2238(core.List<api.LocalizedText> o) {
+checkUnnamed2257(core.List<api.LocalizedText> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedText(o[0]);
checkLocalizedText(o[1]);
}
-buildUnnamed2239() {
+buildUnnamed2258() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2239(core.List<core.String> o) {
+checkUnnamed2258(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1737,9 +1918,9 @@
if (buildCounterStoreCluster < 3) {
o.id = "foo";
o.kind = "foo";
- o.name = buildUnnamed2238();
+ o.name = buildUnnamed2257();
o.orderInPage = "foo";
- o.productId = buildUnnamed2239();
+ o.productId = buildUnnamed2258();
}
buildCounterStoreCluster--;
return o;
@@ -1750,9 +1931,9 @@
if (buildCounterStoreCluster < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2238(o.name);
+ checkUnnamed2257(o.name);
unittest.expect(o.orderInPage, unittest.equals('foo'));
- checkUnnamed2239(o.productId);
+ checkUnnamed2258(o.productId);
}
buildCounterStoreCluster--;
}
@@ -1780,14 +1961,14 @@
buildCounterStoreLayout--;
}
-buildUnnamed2240() {
+buildUnnamed2259() {
var o = new core.List<api.StoreCluster>();
o.add(buildStoreCluster());
o.add(buildStoreCluster());
return o;
}
-checkUnnamed2240(core.List<api.StoreCluster> o) {
+checkUnnamed2259(core.List<api.StoreCluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkStoreCluster(o[0]);
checkStoreCluster(o[1]);
@@ -1798,7 +1979,7 @@
var o = new api.StoreLayoutClustersListResponse();
buildCounterStoreLayoutClustersListResponse++;
if (buildCounterStoreLayoutClustersListResponse < 3) {
- o.cluster = buildUnnamed2240();
+ o.cluster = buildUnnamed2259();
o.kind = "foo";
}
buildCounterStoreLayoutClustersListResponse--;
@@ -1808,20 +1989,20 @@
checkStoreLayoutClustersListResponse(api.StoreLayoutClustersListResponse o) {
buildCounterStoreLayoutClustersListResponse++;
if (buildCounterStoreLayoutClustersListResponse < 3) {
- checkUnnamed2240(o.cluster);
+ checkUnnamed2259(o.cluster);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterStoreLayoutClustersListResponse--;
}
-buildUnnamed2241() {
+buildUnnamed2260() {
var o = new core.List<api.StorePage>();
o.add(buildStorePage());
o.add(buildStorePage());
return o;
}
-checkUnnamed2241(core.List<api.StorePage> o) {
+checkUnnamed2260(core.List<api.StorePage> o) {
unittest.expect(o, unittest.hasLength(2));
checkStorePage(o[0]);
checkStorePage(o[1]);
@@ -1833,7 +2014,7 @@
buildCounterStoreLayoutPagesListResponse++;
if (buildCounterStoreLayoutPagesListResponse < 3) {
o.kind = "foo";
- o.page = buildUnnamed2241();
+ o.page = buildUnnamed2260();
}
buildCounterStoreLayoutPagesListResponse--;
return o;
@@ -1843,32 +2024,32 @@
buildCounterStoreLayoutPagesListResponse++;
if (buildCounterStoreLayoutPagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2241(o.page);
+ checkUnnamed2260(o.page);
}
buildCounterStoreLayoutPagesListResponse--;
}
-buildUnnamed2242() {
+buildUnnamed2261() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2242(core.List<core.String> o) {
+checkUnnamed2261(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2243() {
+buildUnnamed2262() {
var o = new core.List<api.LocalizedText>();
o.add(buildLocalizedText());
o.add(buildLocalizedText());
return o;
}
-checkUnnamed2243(core.List<api.LocalizedText> o) {
+checkUnnamed2262(core.List<api.LocalizedText> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedText(o[0]);
checkLocalizedText(o[1]);
@@ -1881,8 +2062,8 @@
if (buildCounterStorePage < 3) {
o.id = "foo";
o.kind = "foo";
- o.link = buildUnnamed2242();
- o.name = buildUnnamed2243();
+ o.link = buildUnnamed2261();
+ o.name = buildUnnamed2262();
}
buildCounterStorePage--;
return o;
@@ -1893,8 +2074,8 @@
if (buildCounterStorePage < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2242(o.link);
- checkUnnamed2243(o.name);
+ checkUnnamed2261(o.link);
+ checkUnnamed2262(o.name);
}
buildCounterStorePage--;
}
@@ -1974,14 +2155,14 @@
buildCounterUserToken--;
}
-buildUnnamed2244() {
+buildUnnamed2263() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed2244(core.List<api.User> o) {
+checkUnnamed2263(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -1993,7 +2174,7 @@
buildCounterUsersListResponse++;
if (buildCounterUsersListResponse < 3) {
o.kind = "foo";
- o.user = buildUnnamed2244();
+ o.user = buildUnnamed2263();
}
buildCounterUsersListResponse--;
return o;
@@ -2003,11 +2184,34 @@
buildCounterUsersListResponse++;
if (buildCounterUsersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2244(o.user);
+ checkUnnamed2263(o.user);
}
buildCounterUsersListResponse--;
}
+core.int buildCounterVariableSet = 0;
+buildVariableSet() {
+ var o = new api.VariableSet();
+ buildCounterVariableSet++;
+ if (buildCounterVariableSet < 3) {
+ o.kind = "foo";
+ o.placeholder = "foo";
+ o.userValue = "foo";
+ }
+ buildCounterVariableSet--;
+ return o;
+}
+
+checkVariableSet(api.VariableSet o) {
+ buildCounterVariableSet++;
+ if (buildCounterVariableSet < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.placeholder, unittest.equals('foo'));
+ unittest.expect(o.userValue, unittest.equals('foo'));
+ }
+ buildCounterVariableSet--;
+}
+
main() {
unittest.group("obj-schema-Administrator", () {
unittest.test("to-json--from-json", () {
@@ -2108,6 +2312,14 @@
});
});
+ unittest.group("obj-schema-ConfigurationVariables", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildConfigurationVariables();
+ var od = new api.ConfigurationVariables.fromJson(o.toJson());
+ checkConfigurationVariables(od);
+ });
+ });
+
unittest.group("obj-schema-Device", () {
unittest.test("to-json--from-json", () {
var o = buildDevice();
@@ -2263,6 +2475,23 @@
});
});
+ unittest.group("obj-schema-ManagedConfigurationsSettings", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildManagedConfigurationsSettings();
+ var od = new api.ManagedConfigurationsSettings.fromJson(o.toJson());
+ checkManagedConfigurationsSettings(od);
+ });
+ });
+
+ unittest.group("obj-schema-ManagedConfigurationsSettingsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildManagedConfigurationsSettingsListResponse();
+ var od = new api.ManagedConfigurationsSettingsListResponse.fromJson(
+ o.toJson());
+ checkManagedConfigurationsSettingsListResponse(od);
+ });
+ });
+
unittest.group("obj-schema-ManagedProperty", () {
unittest.test("to-json--from-json", () {
var o = buildManagedProperty();
@@ -2327,6 +2556,14 @@
});
});
+ unittest.group("obj-schema-Policy", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPolicy();
+ var od = new api.Policy.fromJson(o.toJson());
+ checkPolicy(od);
+ });
+ });
+
unittest.group("obj-schema-Product", () {
unittest.test("to-json--from-json", () {
var o = buildProduct();
@@ -2367,6 +2604,14 @@
});
});
+ unittest.group("obj-schema-ProductPolicy", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildProductPolicy();
+ var od = new api.ProductPolicy.fromJson(o.toJson());
+ checkProductPolicy(od);
+ });
+ });
+
unittest.group("obj-schema-ProductSet", () {
unittest.test("to-json--from-json", () {
var o = buildProductSet();
@@ -2519,6 +2764,14 @@
});
});
+ unittest.group("obj-schema-VariableSet", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildVariableSet();
+ var od = new api.VariableSet.fromJson(o.toJson());
+ checkVariableSet(od);
+ });
+ });
+
unittest.group("resource-DevicesResourceApi", () {
unittest.test("method--get", () {
var mock = new HttpServerMock();
@@ -2751,6 +3004,90 @@
})));
});
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.DevicesResourceApi res = new api.AndroidenterpriseApi(mock).devices;
+ var arg_request = buildDevice();
+ var arg_enterpriseId = "foo";
+ var arg_userId = "foo";
+ var arg_deviceId = "foo";
+ var arg_updateMask = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Device.fromJson(json);
+ checkDevice(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 + 21),
+ unittest.equals("androidenterprise/v1/"));
+ pathOffset += 21;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12),
+ unittest.equals("enterprises/"));
+ pathOffset += 12;
+ index = path.indexOf("/users/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_enterpriseId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 7),
+ unittest.equals("/users/"));
+ pathOffset += 7;
+ index = path.indexOf("/devices/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_userId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 9),
+ unittest.equals("/devices/"));
+ pathOffset += 9;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_deviceId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ 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["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildDevice());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_enterpriseId, arg_userId, arg_deviceId,
+ updateMask: arg_updateMask, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Device response) {
+ checkDevice(response);
+ })));
+ });
+
unittest.test("method--setState", () {
var mock = new HttpServerMock();
api.DevicesResourceApi res = new api.AndroidenterpriseApi(mock).devices;
@@ -2837,6 +3174,90 @@
checkDeviceState(response);
})));
});
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.DevicesResourceApi res = new api.AndroidenterpriseApi(mock).devices;
+ var arg_request = buildDevice();
+ var arg_enterpriseId = "foo";
+ var arg_userId = "foo";
+ var arg_deviceId = "foo";
+ var arg_updateMask = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Device.fromJson(json);
+ checkDevice(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 + 21),
+ unittest.equals("androidenterprise/v1/"));
+ pathOffset += 21;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12),
+ unittest.equals("enterprises/"));
+ pathOffset += 12;
+ index = path.indexOf("/users/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_enterpriseId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 7),
+ unittest.equals("/users/"));
+ pathOffset += 7;
+ index = path.indexOf("/devices/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_userId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 9),
+ unittest.equals("/devices/"));
+ pathOffset += 9;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_deviceId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ 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["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildDevice());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_enterpriseId, arg_userId, arg_deviceId,
+ updateMask: arg_updateMask, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Device response) {
+ checkDevice(response);
+ })));
+ });
});
unittest.group("resource-EnterprisesResourceApi", () {
@@ -5845,6 +6266,82 @@
});
});
+ unittest.group("resource-ManagedconfigurationssettingsResourceApi", () {
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.ManagedconfigurationssettingsResourceApi res =
+ new api.AndroidenterpriseApi(mock).managedconfigurationssettings;
+ var arg_enterpriseId = "foo";
+ var arg_productId = "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 + 21),
+ unittest.equals("androidenterprise/v1/"));
+ pathOffset += 21;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12),
+ unittest.equals("enterprises/"));
+ pathOffset += 12;
+ index = path.indexOf("/products/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_enterpriseId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/products/"));
+ pathOffset += 10;
+ index = path.indexOf("/managedConfigurationsSettings", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_productId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 30),
+ unittest.equals("/managedConfigurationsSettings"));
+ pathOffset += 30;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ 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(buildManagedConfigurationsSettingsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_enterpriseId, arg_productId, $fields: arg_$fields).then(
+ unittest.expectAsync1(
+ ((api.ManagedConfigurationsSettingsListResponse response) {
+ checkManagedConfigurationsSettingsListResponse(response);
+ })));
+ });
+ });
+
unittest.group("resource-PermissionsResourceApi", () {
unittest.test("method--get", () {
var mock = new HttpServerMock();
diff --git a/generated/googleapis/test/androidmanagement/v1_test.dart b/generated/googleapis/test/androidmanagement/v1_test.dart
index 00757da..1673e07 100644
--- a/generated/googleapis/test/androidmanagement/v1_test.dart
+++ b/generated/googleapis/test/androidmanagement/v1_test.dart
@@ -50,6 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
+core.int buildCounterAlwaysOnVpnPackage = 0;
+buildAlwaysOnVpnPackage() {
+ var o = new api.AlwaysOnVpnPackage();
+ buildCounterAlwaysOnVpnPackage++;
+ if (buildCounterAlwaysOnVpnPackage < 3) {
+ o.lockdownEnabled = true;
+ o.packageName = "foo";
+ }
+ buildCounterAlwaysOnVpnPackage--;
+ return o;
+}
+
+checkAlwaysOnVpnPackage(api.AlwaysOnVpnPackage o) {
+ buildCounterAlwaysOnVpnPackage++;
+ if (buildCounterAlwaysOnVpnPackage < 3) {
+ unittest.expect(o.lockdownEnabled, unittest.isTrue);
+ unittest.expect(o.packageName, unittest.equals('foo'));
+ }
+ buildCounterAlwaysOnVpnPackage--;
+}
+
core.int buildCounterApiLevelCondition = 0;
buildApiLevelCondition() {
var o = new api.ApiLevelCondition();
@@ -69,27 +90,27 @@
buildCounterApiLevelCondition--;
}
-buildUnnamed1604() {
+buildUnnamed1614() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed1604(core.List<api.ManagedProperty> o) {
+checkUnnamed1614(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
}
-buildUnnamed1605() {
+buildUnnamed1615() {
var o = new core.List<api.ApplicationPermission>();
o.add(buildApplicationPermission());
o.add(buildApplicationPermission());
return o;
}
-checkUnnamed1605(core.List<api.ApplicationPermission> o) {
+checkUnnamed1615(core.List<api.ApplicationPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationPermission(o[0]);
checkApplicationPermission(o[1]);
@@ -100,9 +121,9 @@
var o = new api.Application();
buildCounterApplication++;
if (buildCounterApplication < 3) {
- o.managedProperties = buildUnnamed1604();
+ o.managedProperties = buildUnnamed1614();
o.name = "foo";
- o.permissions = buildUnnamed1605();
+ o.permissions = buildUnnamed1615();
o.title = "foo";
}
buildCounterApplication--;
@@ -112,9 +133,9 @@
checkApplication(api.Application o) {
buildCounterApplication++;
if (buildCounterApplication < 3) {
- checkUnnamed1604(o.managedProperties);
+ checkUnnamed1614(o.managedProperties);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1605(o.permissions);
+ checkUnnamed1615(o.permissions);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterApplication--;
@@ -143,7 +164,7 @@
buildCounterApplicationPermission--;
}
-buildUnnamed1606() {
+buildUnnamed1616() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -158,7 +179,7 @@
return o;
}
-checkUnnamed1606(core.Map<core.String, core.Object> o) {
+checkUnnamed1616(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));
@@ -172,14 +193,14 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1607() {
+buildUnnamed1617() {
var o = new core.List<api.PermissionGrant>();
o.add(buildPermissionGrant());
o.add(buildPermissionGrant());
return o;
}
-checkUnnamed1607(core.List<api.PermissionGrant> o) {
+checkUnnamed1617(core.List<api.PermissionGrant> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionGrant(o[0]);
checkPermissionGrant(o[1]);
@@ -193,9 +214,9 @@
o.defaultPermissionPolicy = "foo";
o.installType = "foo";
o.lockTaskAllowed = true;
- o.managedConfiguration = buildUnnamed1606();
+ o.managedConfiguration = buildUnnamed1616();
o.packageName = "foo";
- o.permissionGrants = buildUnnamed1607();
+ o.permissionGrants = buildUnnamed1617();
}
buildCounterApplicationPolicy--;
return o;
@@ -207,21 +228,21 @@
unittest.expect(o.defaultPermissionPolicy, unittest.equals('foo'));
unittest.expect(o.installType, unittest.equals('foo'));
unittest.expect(o.lockTaskAllowed, unittest.isTrue);
- checkUnnamed1606(o.managedConfiguration);
+ checkUnnamed1616(o.managedConfiguration);
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed1607(o.permissionGrants);
+ checkUnnamed1617(o.permissionGrants);
}
buildCounterApplicationPolicy--;
}
-buildUnnamed1608() {
+buildUnnamed1618() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1608(core.List<core.String> o) {
+checkUnnamed1618(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -235,7 +256,7 @@
o.createTime = "foo";
o.duration = "foo";
o.newPassword = "foo";
- o.resetPasswordFlags = buildUnnamed1608();
+ o.resetPasswordFlags = buildUnnamed1618();
o.type = "foo";
}
buildCounterCommand--;
@@ -248,7 +269,7 @@
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.duration, unittest.equals('foo'));
unittest.expect(o.newPassword, unittest.equals('foo'));
- checkUnnamed1608(o.resetPasswordFlags);
+ checkUnnamed1618(o.resetPasswordFlags);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterCommand--;
@@ -277,79 +298,79 @@
buildCounterComplianceRule--;
}
-buildUnnamed1609() {
+buildUnnamed1619() {
var o = new core.List<api.Display>();
o.add(buildDisplay());
o.add(buildDisplay());
return o;
}
-checkUnnamed1609(core.List<api.Display> o) {
+checkUnnamed1619(core.List<api.Display> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisplay(o[0]);
checkDisplay(o[1]);
}
-buildUnnamed1610() {
+buildUnnamed1620() {
var o = new core.List<api.HardwareStatus>();
o.add(buildHardwareStatus());
o.add(buildHardwareStatus());
return o;
}
-checkUnnamed1610(core.List<api.HardwareStatus> o) {
+checkUnnamed1620(core.List<api.HardwareStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkHardwareStatus(o[0]);
checkHardwareStatus(o[1]);
}
-buildUnnamed1611() {
+buildUnnamed1621() {
var o = new core.List<api.MemoryEvent>();
o.add(buildMemoryEvent());
o.add(buildMemoryEvent());
return o;
}
-checkUnnamed1611(core.List<api.MemoryEvent> o) {
+checkUnnamed1621(core.List<api.MemoryEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkMemoryEvent(o[0]);
checkMemoryEvent(o[1]);
}
-buildUnnamed1612() {
+buildUnnamed1622() {
var o = new core.List<api.NonComplianceDetail>();
o.add(buildNonComplianceDetail());
o.add(buildNonComplianceDetail());
return o;
}
-checkUnnamed1612(core.List<api.NonComplianceDetail> o) {
+checkUnnamed1622(core.List<api.NonComplianceDetail> o) {
unittest.expect(o, unittest.hasLength(2));
checkNonComplianceDetail(o[0]);
checkNonComplianceDetail(o[1]);
}
-buildUnnamed1613() {
+buildUnnamed1623() {
var o = new core.List<api.PowerManagementEvent>();
o.add(buildPowerManagementEvent());
o.add(buildPowerManagementEvent());
return o;
}
-checkUnnamed1613(core.List<api.PowerManagementEvent> o) {
+checkUnnamed1623(core.List<api.PowerManagementEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkPowerManagementEvent(o[0]);
checkPowerManagementEvent(o[1]);
}
-buildUnnamed1614() {
+buildUnnamed1624() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1614(core.List<core.String> o) {
+checkUnnamed1624(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -365,24 +386,24 @@
o.appliedPolicyVersion = "foo";
o.appliedState = "foo";
o.disabledReason = buildUserFacingMessage();
- o.displays = buildUnnamed1609();
+ o.displays = buildUnnamed1619();
o.enrollmentTime = "foo";
o.enrollmentTokenData = "foo";
o.enrollmentTokenName = "foo";
o.hardwareInfo = buildHardwareInfo();
- o.hardwareStatusSamples = buildUnnamed1610();
+ o.hardwareStatusSamples = buildUnnamed1620();
o.lastPolicyComplianceReportTime = "foo";
o.lastPolicySyncTime = "foo";
o.lastStatusReportTime = "foo";
- o.memoryEvents = buildUnnamed1611();
+ o.memoryEvents = buildUnnamed1621();
o.memoryInfo = buildMemoryInfo();
o.name = "foo";
o.networkInfo = buildNetworkInfo();
- o.nonComplianceDetails = buildUnnamed1612();
+ o.nonComplianceDetails = buildUnnamed1622();
o.policyCompliant = true;
o.policyName = "foo";
- o.powerManagementEvents = buildUnnamed1613();
- o.previousDeviceNames = buildUnnamed1614();
+ o.powerManagementEvents = buildUnnamed1623();
+ o.previousDeviceNames = buildUnnamed1624();
o.softwareInfo = buildSoftwareInfo();
o.state = "foo";
o.userName = "foo";
@@ -399,24 +420,24 @@
unittest.expect(o.appliedPolicyVersion, unittest.equals('foo'));
unittest.expect(o.appliedState, unittest.equals('foo'));
checkUserFacingMessage(o.disabledReason);
- checkUnnamed1609(o.displays);
+ checkUnnamed1619(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);
- checkUnnamed1610(o.hardwareStatusSamples);
+ checkUnnamed1620(o.hardwareStatusSamples);
unittest.expect(o.lastPolicyComplianceReportTime, unittest.equals('foo'));
unittest.expect(o.lastPolicySyncTime, unittest.equals('foo'));
unittest.expect(o.lastStatusReportTime, unittest.equals('foo'));
- checkUnnamed1611(o.memoryEvents);
+ checkUnnamed1621(o.memoryEvents);
checkMemoryInfo(o.memoryInfo);
unittest.expect(o.name, unittest.equals('foo'));
checkNetworkInfo(o.networkInfo);
- checkUnnamed1612(o.nonComplianceDetails);
+ checkUnnamed1622(o.nonComplianceDetails);
unittest.expect(o.policyCompliant, unittest.isTrue);
unittest.expect(o.policyName, unittest.equals('foo'));
- checkUnnamed1613(o.powerManagementEvents);
- checkUnnamed1614(o.previousDeviceNames);
+ checkUnnamed1623(o.powerManagementEvents);
+ checkUnnamed1624(o.previousDeviceNames);
checkSoftwareInfo(o.softwareInfo);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.userName, unittest.equals('foo'));
@@ -501,14 +522,14 @@
buildCounterEnrollmentToken--;
}
-buildUnnamed1615() {
+buildUnnamed1625() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1615(core.List<core.String> 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'));
@@ -520,7 +541,7 @@
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
o.appAutoApprovalEnabled = true;
- o.enabledNotificationTypes = buildUnnamed1615();
+ o.enabledNotificationTypes = buildUnnamed1625();
o.enterpriseDisplayName = "foo";
o.logo = buildExternalData();
o.name = "foo";
@@ -535,7 +556,7 @@
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
unittest.expect(o.appAutoApprovalEnabled, unittest.isTrue);
- checkUnnamed1615(o.enabledNotificationTypes);
+ checkUnnamed1625(o.enabledNotificationTypes);
unittest.expect(o.enterpriseDisplayName, unittest.equals('foo'));
checkExternalData(o.logo);
unittest.expect(o.name, unittest.equals('foo'));
@@ -566,181 +587,6 @@
buildCounterExternalData--;
}
-buildUnnamed1616() {
- var o = new core.List<core.double>();
- o.add(42.0);
- o.add(42.0);
- return o;
-}
-
-checkUnnamed1616(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));
-}
-
-buildUnnamed1617() {
- var o = new core.List<core.double>();
- o.add(42.0);
- o.add(42.0);
- return o;
-}
-
-checkUnnamed1617(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));
-}
-
-buildUnnamed1618() {
- var o = new core.List<core.double>();
- o.add(42.0);
- o.add(42.0);
- return o;
-}
-
-checkUnnamed1618(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));
-}
-
-buildUnnamed1619() {
- var o = new core.List<core.double>();
- o.add(42.0);
- o.add(42.0);
- return o;
-}
-
-checkUnnamed1619(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));
-}
-
-buildUnnamed1620() {
- var o = new core.List<core.double>();
- o.add(42.0);
- o.add(42.0);
- return o;
-}
-
-checkUnnamed1620(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));
-}
-
-buildUnnamed1621() {
- var o = new core.List<core.double>();
- o.add(42.0);
- o.add(42.0);
- return o;
-}
-
-checkUnnamed1621(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));
-}
-
-buildUnnamed1622() {
- var o = new core.List<core.double>();
- o.add(42.0);
- o.add(42.0);
- return o;
-}
-
-checkUnnamed1622(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));
-}
-
-buildUnnamed1623() {
- var o = new core.List<core.double>();
- o.add(42.0);
- o.add(42.0);
- return o;
-}
-
-checkUnnamed1623(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 buildCounterHardwareInfo = 0;
-buildHardwareInfo() {
- var o = new api.HardwareInfo();
- buildCounterHardwareInfo++;
- if (buildCounterHardwareInfo < 3) {
- o.batteryShutdownTemperatures = buildUnnamed1616();
- o.batteryThrottlingTemperatures = buildUnnamed1617();
- o.brand = "foo";
- o.cpuShutdownTemperatures = buildUnnamed1618();
- o.cpuThrottlingTemperatures = buildUnnamed1619();
- o.deviceBasebandVersion = "foo";
- o.gpuShutdownTemperatures = buildUnnamed1620();
- o.gpuThrottlingTemperatures = buildUnnamed1621();
- o.hardware = "foo";
- o.manufacturer = "foo";
- o.model = "foo";
- o.serialNumber = "foo";
- o.skinShutdownTemperatures = buildUnnamed1622();
- o.skinThrottlingTemperatures = buildUnnamed1623();
- }
- buildCounterHardwareInfo--;
- return o;
-}
-
-checkHardwareInfo(api.HardwareInfo o) {
- buildCounterHardwareInfo++;
- if (buildCounterHardwareInfo < 3) {
- checkUnnamed1616(o.batteryShutdownTemperatures);
- checkUnnamed1617(o.batteryThrottlingTemperatures);
- unittest.expect(o.brand, unittest.equals('foo'));
- checkUnnamed1618(o.cpuShutdownTemperatures);
- checkUnnamed1619(o.cpuThrottlingTemperatures);
- unittest.expect(o.deviceBasebandVersion, unittest.equals('foo'));
- checkUnnamed1620(o.gpuShutdownTemperatures);
- checkUnnamed1621(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'));
- checkUnnamed1622(o.skinShutdownTemperatures);
- checkUnnamed1623(o.skinThrottlingTemperatures);
- }
- buildCounterHardwareInfo--;
-}
-
-buildUnnamed1624() {
- var o = new core.List<core.double>();
- o.add(42.0);
- o.add(42.0);
- return o;
-}
-
-checkUnnamed1624(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));
-}
-
-buildUnnamed1625() {
- var o = new core.List<core.double>();
- o.add(42.0);
- o.add(42.0);
- return o;
-}
-
-checkUnnamed1625(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));
-}
-
buildUnnamed1626() {
var o = new core.List<core.double>();
o.add(42.0);
@@ -793,18 +639,193 @@
unittest.expect(o[1], unittest.equals(42.0));
}
+buildUnnamed1630() {
+ var o = new core.List<core.double>();
+ o.add(42.0);
+ o.add(42.0);
+ return o;
+}
+
+checkUnnamed1630(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));
+}
+
+buildUnnamed1631() {
+ var o = new core.List<core.double>();
+ o.add(42.0);
+ o.add(42.0);
+ return o;
+}
+
+checkUnnamed1631(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));
+}
+
+buildUnnamed1632() {
+ var o = new core.List<core.double>();
+ o.add(42.0);
+ o.add(42.0);
+ return o;
+}
+
+checkUnnamed1632(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));
+}
+
+buildUnnamed1633() {
+ var o = new core.List<core.double>();
+ o.add(42.0);
+ o.add(42.0);
+ return o;
+}
+
+checkUnnamed1633(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 buildCounterHardwareInfo = 0;
+buildHardwareInfo() {
+ var o = new api.HardwareInfo();
+ buildCounterHardwareInfo++;
+ if (buildCounterHardwareInfo < 3) {
+ o.batteryShutdownTemperatures = buildUnnamed1626();
+ o.batteryThrottlingTemperatures = buildUnnamed1627();
+ o.brand = "foo";
+ o.cpuShutdownTemperatures = buildUnnamed1628();
+ o.cpuThrottlingTemperatures = buildUnnamed1629();
+ o.deviceBasebandVersion = "foo";
+ o.gpuShutdownTemperatures = buildUnnamed1630();
+ o.gpuThrottlingTemperatures = buildUnnamed1631();
+ o.hardware = "foo";
+ o.manufacturer = "foo";
+ o.model = "foo";
+ o.serialNumber = "foo";
+ o.skinShutdownTemperatures = buildUnnamed1632();
+ o.skinThrottlingTemperatures = buildUnnamed1633();
+ }
+ buildCounterHardwareInfo--;
+ return o;
+}
+
+checkHardwareInfo(api.HardwareInfo o) {
+ buildCounterHardwareInfo++;
+ if (buildCounterHardwareInfo < 3) {
+ checkUnnamed1626(o.batteryShutdownTemperatures);
+ checkUnnamed1627(o.batteryThrottlingTemperatures);
+ unittest.expect(o.brand, unittest.equals('foo'));
+ checkUnnamed1628(o.cpuShutdownTemperatures);
+ checkUnnamed1629(o.cpuThrottlingTemperatures);
+ unittest.expect(o.deviceBasebandVersion, unittest.equals('foo'));
+ checkUnnamed1630(o.gpuShutdownTemperatures);
+ checkUnnamed1631(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'));
+ checkUnnamed1632(o.skinShutdownTemperatures);
+ checkUnnamed1633(o.skinThrottlingTemperatures);
+ }
+ buildCounterHardwareInfo--;
+}
+
+buildUnnamed1634() {
+ var o = new core.List<core.double>();
+ o.add(42.0);
+ o.add(42.0);
+ return o;
+}
+
+checkUnnamed1634(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));
+}
+
+buildUnnamed1635() {
+ var o = new core.List<core.double>();
+ o.add(42.0);
+ o.add(42.0);
+ return o;
+}
+
+checkUnnamed1635(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));
+}
+
+buildUnnamed1636() {
+ var o = new core.List<core.double>();
+ o.add(42.0);
+ o.add(42.0);
+ return o;
+}
+
+checkUnnamed1636(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));
+}
+
+buildUnnamed1637() {
+ var o = new core.List<core.double>();
+ o.add(42.0);
+ o.add(42.0);
+ return o;
+}
+
+checkUnnamed1637(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));
+}
+
+buildUnnamed1638() {
+ var o = new core.List<core.double>();
+ o.add(42.0);
+ o.add(42.0);
+ return o;
+}
+
+checkUnnamed1638(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));
+}
+
+buildUnnamed1639() {
+ var o = new core.List<core.double>();
+ o.add(42.0);
+ o.add(42.0);
+ return o;
+}
+
+checkUnnamed1639(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 = buildUnnamed1624();
- o.cpuTemperatures = buildUnnamed1625();
- o.cpuUsages = buildUnnamed1626();
+ o.batteryTemperatures = buildUnnamed1634();
+ o.cpuTemperatures = buildUnnamed1635();
+ o.cpuUsages = buildUnnamed1636();
o.createTime = "foo";
- o.fanSpeeds = buildUnnamed1627();
- o.gpuTemperatures = buildUnnamed1628();
- o.skinTemperatures = buildUnnamed1629();
+ o.fanSpeeds = buildUnnamed1637();
+ o.gpuTemperatures = buildUnnamed1638();
+ o.skinTemperatures = buildUnnamed1639();
}
buildCounterHardwareStatus--;
return o;
@@ -813,25 +834,25 @@
checkHardwareStatus(api.HardwareStatus o) {
buildCounterHardwareStatus++;
if (buildCounterHardwareStatus < 3) {
- checkUnnamed1624(o.batteryTemperatures);
- checkUnnamed1625(o.cpuTemperatures);
- checkUnnamed1626(o.cpuUsages);
+ checkUnnamed1634(o.batteryTemperatures);
+ checkUnnamed1635(o.cpuTemperatures);
+ checkUnnamed1636(o.cpuUsages);
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed1627(o.fanSpeeds);
- checkUnnamed1628(o.gpuTemperatures);
- checkUnnamed1629(o.skinTemperatures);
+ checkUnnamed1637(o.fanSpeeds);
+ checkUnnamed1638(o.gpuTemperatures);
+ checkUnnamed1639(o.skinTemperatures);
}
buildCounterHardwareStatus--;
}
-buildUnnamed1630() {
+buildUnnamed1640() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed1630(core.List<api.Device> o) {
+checkUnnamed1640(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -842,7 +863,7 @@
var o = new api.ListDevicesResponse();
buildCounterListDevicesResponse++;
if (buildCounterListDevicesResponse < 3) {
- o.devices = buildUnnamed1630();
+ o.devices = buildUnnamed1640();
o.nextPageToken = "foo";
}
buildCounterListDevicesResponse--;
@@ -852,20 +873,20 @@
checkListDevicesResponse(api.ListDevicesResponse o) {
buildCounterListDevicesResponse++;
if (buildCounterListDevicesResponse < 3) {
- checkUnnamed1630(o.devices);
+ checkUnnamed1640(o.devices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDevicesResponse--;
}
-buildUnnamed1631() {
+buildUnnamed1641() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1631(core.List<api.Operation> o) {
+checkUnnamed1641(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -877,7 +898,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1631();
+ o.operations = buildUnnamed1641();
}
buildCounterListOperationsResponse--;
return o;
@@ -887,19 +908,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1631(o.operations);
+ checkUnnamed1641(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1632() {
+buildUnnamed1642() {
var o = new core.List<api.Policy>();
o.add(buildPolicy());
o.add(buildPolicy());
return o;
}
-checkUnnamed1632(core.List<api.Policy> o) {
+checkUnnamed1642(core.List<api.Policy> o) {
unittest.expect(o, unittest.hasLength(2));
checkPolicy(o[0]);
checkPolicy(o[1]);
@@ -911,7 +932,7 @@
buildCounterListPoliciesResponse++;
if (buildCounterListPoliciesResponse < 3) {
o.nextPageToken = "foo";
- o.policies = buildUnnamed1632();
+ o.policies = buildUnnamed1642();
}
buildCounterListPoliciesResponse--;
return o;
@@ -921,32 +942,32 @@
buildCounterListPoliciesResponse++;
if (buildCounterListPoliciesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1632(o.policies);
+ checkUnnamed1642(o.policies);
}
buildCounterListPoliciesResponse--;
}
-buildUnnamed1633() {
+buildUnnamed1643() {
var o = new core.List<api.ManagedPropertyEntry>();
o.add(buildManagedPropertyEntry());
o.add(buildManagedPropertyEntry());
return o;
}
-checkUnnamed1633(core.List<api.ManagedPropertyEntry> o) {
+checkUnnamed1643(core.List<api.ManagedPropertyEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedPropertyEntry(o[0]);
checkManagedPropertyEntry(o[1]);
}
-buildUnnamed1634() {
+buildUnnamed1644() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed1634(core.List<api.ManagedProperty> o) {
+checkUnnamed1644(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
@@ -963,9 +984,9 @@
'string': 'foo'
};
o.description = "foo";
- o.entries = buildUnnamed1633();
+ o.entries = buildUnnamed1643();
o.key = "foo";
- o.nestedProperties = buildUnnamed1634();
+ o.nestedProperties = buildUnnamed1644();
o.title = "foo";
o.type = "foo";
}
@@ -982,9 +1003,9 @@
unittest.expect(casted3["bool"], unittest.equals(true));
unittest.expect(casted3["string"], unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1633(o.entries);
+ checkUnnamed1643(o.entries);
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed1634(o.nestedProperties);
+ checkUnnamed1644(o.nestedProperties);
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
@@ -1139,7 +1160,7 @@
buildCounterNonComplianceDetailCondition--;
}
-buildUnnamed1635() {
+buildUnnamed1645() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1154,7 +1175,7 @@
return o;
}
-checkUnnamed1635(core.Map<core.String, core.Object> o) {
+checkUnnamed1645(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));
@@ -1168,7 +1189,7 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed1636() {
+buildUnnamed1646() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1183,7 +1204,7 @@
return o;
}
-checkUnnamed1636(core.Map<core.String, core.Object> o) {
+checkUnnamed1646(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));
@@ -1204,9 +1225,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1635();
+ o.metadata = buildUnnamed1645();
o.name = "foo";
- o.response = buildUnnamed1636();
+ o.response = buildUnnamed1646();
}
buildCounterOperation--;
return o;
@@ -1217,13 +1238,45 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1635(o.metadata);
+ checkUnnamed1645(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1636(o.response);
+ checkUnnamed1646(o.response);
}
buildCounterOperation--;
}
+buildUnnamed1647() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1647(core.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 buildCounterPackageNameList = 0;
+buildPackageNameList() {
+ var o = new api.PackageNameList();
+ buildCounterPackageNameList++;
+ if (buildCounterPackageNameList < 3) {
+ o.packageNames = buildUnnamed1647();
+ }
+ buildCounterPackageNameList--;
+ return o;
+}
+
+checkPackageNameList(api.PackageNameList o) {
+ buildCounterPackageNameList++;
+ if (buildCounterPackageNameList < 3) {
+ checkUnnamed1647(o.packageNames);
+ }
+ buildCounterPackageNameList--;
+}
+
core.int buildCounterPasswordRequirements = 0;
buildPasswordRequirements() {
var o = new api.PasswordRequirements();
@@ -1284,27 +1337,27 @@
buildCounterPermissionGrant--;
}
-buildUnnamed1637() {
+buildUnnamed1648() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1637(core.List<core.String> o) {
+checkUnnamed1648(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1638() {
+buildUnnamed1649() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1638(core.List<core.String> o) {
+checkUnnamed1649(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1315,8 +1368,8 @@
var o = new api.PersistentPreferredActivity();
buildCounterPersistentPreferredActivity++;
if (buildCounterPersistentPreferredActivity < 3) {
- o.actions = buildUnnamed1637();
- o.categories = buildUnnamed1638();
+ o.actions = buildUnnamed1648();
+ o.categories = buildUnnamed1649();
o.receiverActivity = "foo";
}
buildCounterPersistentPreferredActivity--;
@@ -1326,53 +1379,79 @@
checkPersistentPreferredActivity(api.PersistentPreferredActivity o) {
buildCounterPersistentPreferredActivity++;
if (buildCounterPersistentPreferredActivity < 3) {
- checkUnnamed1637(o.actions);
- checkUnnamed1638(o.categories);
+ checkUnnamed1648(o.actions);
+ checkUnnamed1649(o.categories);
unittest.expect(o.receiverActivity, unittest.equals('foo'));
}
buildCounterPersistentPreferredActivity--;
}
-buildUnnamed1639() {
- var o = new core.List<api.ApplicationPolicy>();
- o.add(buildApplicationPolicy());
- o.add(buildApplicationPolicy());
- return o;
-}
-
-checkUnnamed1639(core.List<api.ApplicationPolicy> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkApplicationPolicy(o[0]);
- checkApplicationPolicy(o[1]);
-}
-
-buildUnnamed1640() {
- var o = new core.List<api.ComplianceRule>();
- o.add(buildComplianceRule());
- o.add(buildComplianceRule());
- return o;
-}
-
-checkUnnamed1640(core.List<api.ComplianceRule> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkComplianceRule(o[0]);
- checkComplianceRule(o[1]);
-}
-
-buildUnnamed1641() {
+buildUnnamed1650() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1641(core.List<core.String> o) {
+checkUnnamed1650(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1642() {
+buildUnnamed1651() {
+ var o = new core.List<api.ApplicationPolicy>();
+ o.add(buildApplicationPolicy());
+ o.add(buildApplicationPolicy());
+ return o;
+}
+
+checkUnnamed1651(core.List<api.ApplicationPolicy> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkApplicationPolicy(o[0]);
+ checkApplicationPolicy(o[1]);
+}
+
+buildUnnamed1652() {
+ var o = new core.List<api.ComplianceRule>();
+ o.add(buildComplianceRule());
+ o.add(buildComplianceRule());
+ return o;
+}
+
+checkUnnamed1652(core.List<api.ComplianceRule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkComplianceRule(o[0]);
+ checkComplianceRule(o[1]);
+}
+
+buildUnnamed1653() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1653(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1654() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1654(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1655() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1387,7 +1466,7 @@
return o;
}
-checkUnnamed1642(core.Map<core.String, core.Object> o) {
+checkUnnamed1655(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));
@@ -1401,27 +1480,27 @@
unittest.expect(casted10["string"], unittest.equals('foo'));
}
-buildUnnamed1643() {
+buildUnnamed1656() {
var o = new core.List<api.PersistentPreferredActivity>();
o.add(buildPersistentPreferredActivity());
o.add(buildPersistentPreferredActivity());
return o;
}
-checkUnnamed1643(core.List<api.PersistentPreferredActivity> o) {
+checkUnnamed1656(core.List<api.PersistentPreferredActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersistentPreferredActivity(o[0]);
checkPersistentPreferredActivity(o[1]);
}
-buildUnnamed1644() {
+buildUnnamed1657() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1644(core.List<core.String> o) {
+checkUnnamed1657(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1432,36 +1511,64 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
+ o.accountTypesWithManagementDisabled = buildUnnamed1650();
o.addUserDisabled = true;
o.adjustVolumeDisabled = true;
- o.applications = buildUnnamed1639();
+ o.alwaysOnVpnPackage = buildAlwaysOnVpnPackage();
+ o.applications = buildUnnamed1651();
o.autoTimeRequired = true;
o.blockApplicationsEnabled = true;
+ o.bluetoothConfigDisabled = true;
+ o.bluetoothContactSharingDisabled = true;
+ o.bluetoothDisabled = true;
o.cameraDisabled = true;
- o.complianceRules = buildUnnamed1640();
+ o.cellBroadcastsConfigDisabled = true;
+ o.complianceRules = buildUnnamed1652();
+ o.createWindowsDisabled = true;
+ o.credentialsConfigDisabled = true;
+ o.dataRoamingDisabled = true;
o.debuggingFeaturesAllowed = true;
o.defaultPermissionPolicy = "foo";
+ o.ensureVerifyAppsEnabled = true;
o.factoryResetDisabled = true;
- o.frpAdminEmails = buildUnnamed1641();
+ o.frpAdminEmails = buildUnnamed1653();
o.funDisabled = true;
+ o.installAppsDisabled = true;
o.installUnknownSourcesAllowed = true;
o.keyguardDisabled = true;
+ o.keyguardDisabledFeatures = buildUnnamed1654();
+ o.longSupportMessage = buildUserFacingMessage();
o.maximumTimeToLock = "foo";
+ o.mobileNetworksConfigDisabled = true;
o.modifyAccountsDisabled = true;
+ o.mountPhysicalMediaDisabled = true;
o.name = "foo";
o.networkEscapeHatchEnabled = true;
- o.openNetworkConfiguration = buildUnnamed1642();
+ o.networkResetDisabled = true;
+ o.openNetworkConfiguration = buildUnnamed1655();
+ o.outgoingBeamDisabled = true;
+ o.outgoingCallsDisabled = true;
o.passwordRequirements = buildPasswordRequirements();
- o.persistentPreferredActivities = buildUnnamed1643();
+ o.permittedInputMethods = buildPackageNameList();
+ o.persistentPreferredActivities = buildUnnamed1656();
+ o.recommendedGlobalProxy = buildProxyInfo();
o.removeUserDisabled = true;
o.safeBootDisabled = true;
o.screenCaptureDisabled = true;
+ o.setUserIconDisabled = true;
+ o.setWallpaperDisabled = true;
+ o.shortSupportMessage = buildUserFacingMessage();
+ o.smsDisabled = true;
o.statusBarDisabled = true;
o.statusReportingSettings = buildStatusReportingSettings();
- o.stayOnPluggedModes = buildUnnamed1644();
+ o.stayOnPluggedModes = buildUnnamed1657();
o.systemUpdate = buildSystemUpdate();
+ o.tetheringConfigDisabled = true;
+ o.uninstallAppsDisabled = true;
o.unmuteMicrophoneDisabled = true;
+ o.usbFileTransferDisabled = true;
o.version = "foo";
+ o.vpnConfigDisabled = true;
o.wifiConfigDisabled = true;
o.wifiConfigsLockdownEnabled = true;
}
@@ -1472,36 +1579,64 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
+ checkUnnamed1650(o.accountTypesWithManagementDisabled);
unittest.expect(o.addUserDisabled, unittest.isTrue);
unittest.expect(o.adjustVolumeDisabled, unittest.isTrue);
- checkUnnamed1639(o.applications);
+ checkAlwaysOnVpnPackage(o.alwaysOnVpnPackage);
+ checkUnnamed1651(o.applications);
unittest.expect(o.autoTimeRequired, unittest.isTrue);
unittest.expect(o.blockApplicationsEnabled, unittest.isTrue);
+ unittest.expect(o.bluetoothConfigDisabled, unittest.isTrue);
+ unittest.expect(o.bluetoothContactSharingDisabled, unittest.isTrue);
+ unittest.expect(o.bluetoothDisabled, unittest.isTrue);
unittest.expect(o.cameraDisabled, unittest.isTrue);
- checkUnnamed1640(o.complianceRules);
+ unittest.expect(o.cellBroadcastsConfigDisabled, unittest.isTrue);
+ checkUnnamed1652(o.complianceRules);
+ unittest.expect(o.createWindowsDisabled, unittest.isTrue);
+ unittest.expect(o.credentialsConfigDisabled, unittest.isTrue);
+ unittest.expect(o.dataRoamingDisabled, unittest.isTrue);
unittest.expect(o.debuggingFeaturesAllowed, unittest.isTrue);
unittest.expect(o.defaultPermissionPolicy, unittest.equals('foo'));
+ unittest.expect(o.ensureVerifyAppsEnabled, unittest.isTrue);
unittest.expect(o.factoryResetDisabled, unittest.isTrue);
- checkUnnamed1641(o.frpAdminEmails);
+ checkUnnamed1653(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);
+ checkUnnamed1654(o.keyguardDisabledFeatures);
+ checkUserFacingMessage(o.longSupportMessage);
unittest.expect(o.maximumTimeToLock, unittest.equals('foo'));
+ unittest.expect(o.mobileNetworksConfigDisabled, unittest.isTrue);
unittest.expect(o.modifyAccountsDisabled, unittest.isTrue);
+ unittest.expect(o.mountPhysicalMediaDisabled, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.networkEscapeHatchEnabled, unittest.isTrue);
- checkUnnamed1642(o.openNetworkConfiguration);
+ unittest.expect(o.networkResetDisabled, unittest.isTrue);
+ checkUnnamed1655(o.openNetworkConfiguration);
+ unittest.expect(o.outgoingBeamDisabled, unittest.isTrue);
+ unittest.expect(o.outgoingCallsDisabled, unittest.isTrue);
checkPasswordRequirements(o.passwordRequirements);
- checkUnnamed1643(o.persistentPreferredActivities);
+ checkPackageNameList(o.permittedInputMethods);
+ checkUnnamed1656(o.persistentPreferredActivities);
+ checkProxyInfo(o.recommendedGlobalProxy);
unittest.expect(o.removeUserDisabled, unittest.isTrue);
unittest.expect(o.safeBootDisabled, unittest.isTrue);
unittest.expect(o.screenCaptureDisabled, unittest.isTrue);
+ unittest.expect(o.setUserIconDisabled, unittest.isTrue);
+ unittest.expect(o.setWallpaperDisabled, unittest.isTrue);
+ checkUserFacingMessage(o.shortSupportMessage);
+ unittest.expect(o.smsDisabled, unittest.isTrue);
unittest.expect(o.statusBarDisabled, unittest.isTrue);
checkStatusReportingSettings(o.statusReportingSettings);
- checkUnnamed1644(o.stayOnPluggedModes);
+ checkUnnamed1657(o.stayOnPluggedModes);
checkSystemUpdate(o.systemUpdate);
+ unittest.expect(o.tetheringConfigDisabled, unittest.isTrue);
+ unittest.expect(o.uninstallAppsDisabled, unittest.isTrue);
unittest.expect(o.unmuteMicrophoneDisabled, unittest.isTrue);
+ unittest.expect(o.usbFileTransferDisabled, unittest.isTrue);
unittest.expect(o.version, unittest.equals('foo'));
+ unittest.expect(o.vpnConfigDisabled, unittest.isTrue);
unittest.expect(o.wifiConfigDisabled, unittest.isTrue);
unittest.expect(o.wifiConfigsLockdownEnabled, unittest.isTrue);
}
@@ -1531,6 +1666,44 @@
buildCounterPowerManagementEvent--;
}
+buildUnnamed1658() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1658(core.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 buildCounterProxyInfo = 0;
+buildProxyInfo() {
+ var o = new api.ProxyInfo();
+ buildCounterProxyInfo++;
+ if (buildCounterProxyInfo < 3) {
+ o.excludedHosts = buildUnnamed1658();
+ o.host = "foo";
+ o.pacUri = "foo";
+ o.port = 42;
+ }
+ buildCounterProxyInfo--;
+ return o;
+}
+
+checkProxyInfo(api.ProxyInfo o) {
+ buildCounterProxyInfo++;
+ if (buildCounterProxyInfo < 3) {
+ checkUnnamed1658(o.excludedHosts);
+ unittest.expect(o.host, unittest.equals('foo'));
+ unittest.expect(o.pacUri, unittest.equals('foo'));
+ unittest.expect(o.port, unittest.equals(42));
+ }
+ buildCounterProxyInfo--;
+}
+
core.int buildCounterSignupUrl = 0;
buildSignupUrl() {
var o = new api.SignupUrl();
@@ -1581,7 +1754,7 @@
buildCounterSoftwareInfo--;
}
-buildUnnamed1645() {
+buildUnnamed1659() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1596,7 +1769,7 @@
return o;
}
-checkUnnamed1645(core.Map<core.String, core.Object> o) {
+checkUnnamed1659(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));
@@ -1610,17 +1783,17 @@
unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed1646() {
+buildUnnamed1660() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1645());
- o.add(buildUnnamed1645());
+ o.add(buildUnnamed1659());
+ o.add(buildUnnamed1659());
return o;
}
-checkUnnamed1646(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1660(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1645(o[0]);
- checkUnnamed1645(o[1]);
+ checkUnnamed1659(o[0]);
+ checkUnnamed1659(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1629,7 +1802,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1646();
+ o.details = buildUnnamed1660();
o.message = "foo";
}
buildCounterStatus--;
@@ -1640,7 +1813,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1646(o.details);
+ checkUnnamed1660(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1698,14 +1871,14 @@
buildCounterSystemUpdate--;
}
-buildUnnamed1647() {
+buildUnnamed1661() {
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) {
+checkUnnamed1661(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'));
@@ -1717,7 +1890,7 @@
buildCounterUserFacingMessage++;
if (buildCounterUserFacingMessage < 3) {
o.defaultMessage = "foo";
- o.localizedMessages = buildUnnamed1647();
+ o.localizedMessages = buildUnnamed1661();
}
buildCounterUserFacingMessage--;
return o;
@@ -1727,19 +1900,19 @@
buildCounterUserFacingMessage++;
if (buildCounterUserFacingMessage < 3) {
unittest.expect(o.defaultMessage, unittest.equals('foo'));
- checkUnnamed1647(o.localizedMessages);
+ checkUnnamed1661(o.localizedMessages);
}
buildCounterUserFacingMessage--;
}
-buildUnnamed1648() {
+buildUnnamed1662() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1648(core.List<core.String> o) {
+checkUnnamed1662(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1752,7 +1925,7 @@
if (buildCounterWebToken < 3) {
o.name = "foo";
o.parentFrameUrl = "foo";
- o.permissions = buildUnnamed1648();
+ o.permissions = buildUnnamed1662();
o.value = "foo";
}
buildCounterWebToken--;
@@ -1764,13 +1937,21 @@
if (buildCounterWebToken < 3) {
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentFrameUrl, unittest.equals('foo'));
- checkUnnamed1648(o.permissions);
+ checkUnnamed1662(o.permissions);
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterWebToken--;
}
main() {
+ unittest.group("obj-schema-AlwaysOnVpnPackage", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAlwaysOnVpnPackage();
+ var od = new api.AlwaysOnVpnPackage.fromJson(o.toJson());
+ checkAlwaysOnVpnPackage(od);
+ });
+ });
+
unittest.group("obj-schema-ApiLevelCondition", () {
unittest.test("to-json--from-json", () {
var o = buildApiLevelCondition();
@@ -1971,6 +2152,14 @@
});
});
+ unittest.group("obj-schema-PackageNameList", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPackageNameList();
+ var od = new api.PackageNameList.fromJson(o.toJson());
+ checkPackageNameList(od);
+ });
+ });
+
unittest.group("obj-schema-PasswordRequirements", () {
unittest.test("to-json--from-json", () {
var o = buildPasswordRequirements();
@@ -2011,6 +2200,14 @@
});
});
+ unittest.group("obj-schema-ProxyInfo", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildProxyInfo();
+ var od = new api.ProxyInfo.fromJson(o.toJson());
+ checkProxyInfo(od);
+ });
+ });
+
unittest.group("obj-schema-SignupUrl", () {
unittest.test("to-json--from-json", () {
var o = buildSignupUrl();
diff --git a/generated/googleapis/test/androidpublisher/v2_test.dart b/generated/googleapis/test/androidpublisher/v2_test.dart
index 008792f..d2cd187 100644
--- a/generated/googleapis/test/androidpublisher/v2_test.dart
+++ b/generated/googleapis/test/androidpublisher/v2_test.dart
@@ -113,14 +113,14 @@
buildCounterApkListing--;
}
-buildUnnamed2941() {
+buildUnnamed2960() {
var o = new core.List<api.ApkListing>();
o.add(buildApkListing());
o.add(buildApkListing());
return o;
}
-checkUnnamed2941(core.List<api.ApkListing> o) {
+checkUnnamed2960(core.List<api.ApkListing> o) {
unittest.expect(o, unittest.hasLength(2));
checkApkListing(o[0]);
checkApkListing(o[1]);
@@ -132,7 +132,7 @@
buildCounterApkListingsListResponse++;
if (buildCounterApkListingsListResponse < 3) {
o.kind = "foo";
- o.listings = buildUnnamed2941();
+ o.listings = buildUnnamed2960();
}
buildCounterApkListingsListResponse--;
return o;
@@ -142,7 +142,7 @@
buildCounterApkListingsListResponse++;
if (buildCounterApkListingsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2941(o.listings);
+ checkUnnamed2960(o.listings);
}
buildCounterApkListingsListResponse--;
}
@@ -185,14 +185,14 @@
buildCounterApksAddExternallyHostedResponse--;
}
-buildUnnamed2942() {
+buildUnnamed2961() {
var o = new core.List<api.Apk>();
o.add(buildApk());
o.add(buildApk());
return o;
}
-checkUnnamed2942(core.List<api.Apk> o) {
+checkUnnamed2961(core.List<api.Apk> o) {
unittest.expect(o, unittest.hasLength(2));
checkApk(o[0]);
checkApk(o[1]);
@@ -203,7 +203,7 @@
var o = new api.ApksListResponse();
buildCounterApksListResponse++;
if (buildCounterApksListResponse < 3) {
- o.apks = buildUnnamed2942();
+ o.apks = buildUnnamed2961();
o.kind = "foo";
}
buildCounterApksListResponse--;
@@ -213,7 +213,7 @@
checkApksListResponse(api.ApksListResponse o) {
buildCounterApksListResponse++;
if (buildCounterApksListResponse < 3) {
- checkUnnamed2942(o.apks);
+ checkUnnamed2961(o.apks);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterApksListResponse--;
@@ -409,14 +409,14 @@
buildCounterEntitlement--;
}
-buildUnnamed2943() {
+buildUnnamed2962() {
var o = new core.List<api.Entitlement>();
o.add(buildEntitlement());
o.add(buildEntitlement());
return o;
}
-checkUnnamed2943(core.List<api.Entitlement> o) {
+checkUnnamed2962(core.List<api.Entitlement> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntitlement(o[0]);
checkEntitlement(o[1]);
@@ -428,7 +428,7 @@
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
o.pageInfo = buildPageInfo();
- o.resources = buildUnnamed2943();
+ o.resources = buildUnnamed2962();
o.tokenPagination = buildTokenPagination();
}
buildCounterEntitlementsListResponse--;
@@ -439,7 +439,7 @@
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
checkPageInfo(o.pageInfo);
- checkUnnamed2943(o.resources);
+ checkUnnamed2962(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterEntitlementsListResponse--;
@@ -485,53 +485,53 @@
buildCounterExpansionFilesUploadResponse--;
}
-buildUnnamed2944() {
+buildUnnamed2963() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2944(core.List<core.String> o) {
+checkUnnamed2963(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2945() {
+buildUnnamed2964() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2945(core.List<core.String> o) {
+checkUnnamed2964(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2946() {
+buildUnnamed2965() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2946(core.List<core.String> o) {
+checkUnnamed2965(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2947() {
+buildUnnamed2966() {
var o = new core.List<api.ExternallyHostedApkUsesPermission>();
o.add(buildExternallyHostedApkUsesPermission());
o.add(buildExternallyHostedApkUsesPermission());
return o;
}
-checkUnnamed2947(core.List<api.ExternallyHostedApkUsesPermission> o) {
+checkUnnamed2966(core.List<api.ExternallyHostedApkUsesPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternallyHostedApkUsesPermission(o[0]);
checkExternallyHostedApkUsesPermission(o[1]);
@@ -543,7 +543,7 @@
buildCounterExternallyHostedApk++;
if (buildCounterExternallyHostedApk < 3) {
o.applicationLabel = "foo";
- o.certificateBase64s = buildUnnamed2944();
+ o.certificateBase64s = buildUnnamed2963();
o.externallyHostedUrl = "foo";
o.fileSha1Base64 = "foo";
o.fileSha256Base64 = "foo";
@@ -551,10 +551,10 @@
o.iconBase64 = "foo";
o.maximumSdk = 42;
o.minimumSdk = 42;
- o.nativeCodes = buildUnnamed2945();
+ o.nativeCodes = buildUnnamed2964();
o.packageName = "foo";
- o.usesFeatures = buildUnnamed2946();
- o.usesPermissions = buildUnnamed2947();
+ o.usesFeatures = buildUnnamed2965();
+ o.usesPermissions = buildUnnamed2966();
o.versionCode = 42;
o.versionName = "foo";
}
@@ -566,7 +566,7 @@
buildCounterExternallyHostedApk++;
if (buildCounterExternallyHostedApk < 3) {
unittest.expect(o.applicationLabel, unittest.equals('foo'));
- checkUnnamed2944(o.certificateBase64s);
+ checkUnnamed2963(o.certificateBase64s);
unittest.expect(o.externallyHostedUrl, unittest.equals('foo'));
unittest.expect(o.fileSha1Base64, unittest.equals('foo'));
unittest.expect(o.fileSha256Base64, unittest.equals('foo'));
@@ -574,10 +574,10 @@
unittest.expect(o.iconBase64, unittest.equals('foo'));
unittest.expect(o.maximumSdk, unittest.equals(42));
unittest.expect(o.minimumSdk, unittest.equals(42));
- checkUnnamed2945(o.nativeCodes);
+ checkUnnamed2964(o.nativeCodes);
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed2946(o.usesFeatures);
- checkUnnamed2947(o.usesPermissions);
+ checkUnnamed2965(o.usesFeatures);
+ checkUnnamed2966(o.usesPermissions);
unittest.expect(o.versionCode, unittest.equals(42));
unittest.expect(o.versionName, unittest.equals('foo'));
}
@@ -629,14 +629,14 @@
buildCounterImage--;
}
-buildUnnamed2948() {
+buildUnnamed2967() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed2948(core.List<api.Image> o) {
+checkUnnamed2967(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
@@ -647,7 +647,7 @@
var o = new api.ImagesDeleteAllResponse();
buildCounterImagesDeleteAllResponse++;
if (buildCounterImagesDeleteAllResponse < 3) {
- o.deleted = buildUnnamed2948();
+ o.deleted = buildUnnamed2967();
}
buildCounterImagesDeleteAllResponse--;
return o;
@@ -656,19 +656,19 @@
checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) {
buildCounterImagesDeleteAllResponse++;
if (buildCounterImagesDeleteAllResponse < 3) {
- checkUnnamed2948(o.deleted);
+ checkUnnamed2967(o.deleted);
}
buildCounterImagesDeleteAllResponse--;
}
-buildUnnamed2949() {
+buildUnnamed2968() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed2949(core.List<api.Image> o) {
+checkUnnamed2968(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
@@ -679,7 +679,7 @@
var o = new api.ImagesListResponse();
buildCounterImagesListResponse++;
if (buildCounterImagesListResponse < 3) {
- o.images = buildUnnamed2949();
+ o.images = buildUnnamed2968();
}
buildCounterImagesListResponse--;
return o;
@@ -688,7 +688,7 @@
checkImagesListResponse(api.ImagesListResponse o) {
buildCounterImagesListResponse++;
if (buildCounterImagesListResponse < 3) {
- checkUnnamed2949(o.images);
+ checkUnnamed2968(o.images);
}
buildCounterImagesListResponse--;
}
@@ -712,27 +712,27 @@
buildCounterImagesUploadResponse--;
}
-buildUnnamed2950() {
+buildUnnamed2969() {
var o = new core.Map<core.String, api.InAppProductListing>();
o["x"] = buildInAppProductListing();
o["y"] = buildInAppProductListing();
return o;
}
-checkUnnamed2950(core.Map<core.String, api.InAppProductListing> o) {
+checkUnnamed2969(core.Map<core.String, api.InAppProductListing> o) {
unittest.expect(o, unittest.hasLength(2));
checkInAppProductListing(o["x"]);
checkInAppProductListing(o["y"]);
}
-buildUnnamed2951() {
+buildUnnamed2970() {
var o = new core.Map<core.String, api.Price>();
o["x"] = buildPrice();
o["y"] = buildPrice();
return o;
}
-checkUnnamed2951(core.Map<core.String, api.Price> o) {
+checkUnnamed2970(core.Map<core.String, api.Price> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrice(o["x"]);
checkPrice(o["y"]);
@@ -745,9 +745,9 @@
if (buildCounterInAppProduct < 3) {
o.defaultLanguage = "foo";
o.defaultPrice = buildPrice();
- o.listings = buildUnnamed2950();
+ o.listings = buildUnnamed2969();
o.packageName = "foo";
- o.prices = buildUnnamed2951();
+ o.prices = buildUnnamed2970();
o.purchaseType = "foo";
o.season = buildSeason();
o.sku = "foo";
@@ -764,9 +764,9 @@
if (buildCounterInAppProduct < 3) {
unittest.expect(o.defaultLanguage, unittest.equals('foo'));
checkPrice(o.defaultPrice);
- checkUnnamed2950(o.listings);
+ checkUnnamed2969(o.listings);
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed2951(o.prices);
+ checkUnnamed2970(o.prices);
unittest.expect(o.purchaseType, unittest.equals('foo'));
checkSeason(o.season);
unittest.expect(o.sku, unittest.equals('foo'));
@@ -798,14 +798,14 @@
buildCounterInAppProductListing--;
}
-buildUnnamed2952() {
+buildUnnamed2971() {
var o = new core.List<api.InAppProduct>();
o.add(buildInAppProduct());
o.add(buildInAppProduct());
return o;
}
-checkUnnamed2952(core.List<api.InAppProduct> o) {
+checkUnnamed2971(core.List<api.InAppProduct> o) {
unittest.expect(o, unittest.hasLength(2));
checkInAppProduct(o[0]);
checkInAppProduct(o[1]);
@@ -816,7 +816,7 @@
var o = new api.InappproductsListResponse();
buildCounterInappproductsListResponse++;
if (buildCounterInappproductsListResponse < 3) {
- o.inappproduct = buildUnnamed2952();
+ o.inappproduct = buildUnnamed2971();
o.kind = "foo";
o.pageInfo = buildPageInfo();
o.tokenPagination = buildTokenPagination();
@@ -828,7 +828,7 @@
checkInappproductsListResponse(api.InappproductsListResponse o) {
buildCounterInappproductsListResponse++;
if (buildCounterInappproductsListResponse < 3) {
- checkUnnamed2952(o.inappproduct);
+ checkUnnamed2971(o.inappproduct);
unittest.expect(o.kind, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
checkTokenPagination(o.tokenPagination);
@@ -863,14 +863,14 @@
buildCounterListing--;
}
-buildUnnamed2953() {
+buildUnnamed2972() {
var o = new core.List<api.Listing>();
o.add(buildListing());
o.add(buildListing());
return o;
}
-checkUnnamed2953(core.List<api.Listing> o) {
+checkUnnamed2972(core.List<api.Listing> o) {
unittest.expect(o, unittest.hasLength(2));
checkListing(o[0]);
checkListing(o[1]);
@@ -882,7 +882,7 @@
buildCounterListingsListResponse++;
if (buildCounterListingsListResponse < 3) {
o.kind = "foo";
- o.listings = buildUnnamed2953();
+ o.listings = buildUnnamed2972();
}
buildCounterListingsListResponse--;
return o;
@@ -892,7 +892,7 @@
buildCounterListingsListResponse++;
if (buildCounterListingsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2953(o.listings);
+ checkUnnamed2972(o.listings);
}
buildCounterListingsListResponse--;
}
@@ -1012,14 +1012,14 @@
buildCounterProrate--;
}
-buildUnnamed2954() {
+buildUnnamed2973() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed2954(core.List<api.Comment> o) {
+checkUnnamed2973(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1031,7 +1031,7 @@
buildCounterReview++;
if (buildCounterReview < 3) {
o.authorName = "foo";
- o.comments = buildUnnamed2954();
+ o.comments = buildUnnamed2973();
o.reviewId = "foo";
}
buildCounterReview--;
@@ -1042,7 +1042,7 @@
buildCounterReview++;
if (buildCounterReview < 3) {
unittest.expect(o.authorName, unittest.equals('foo'));
- checkUnnamed2954(o.comments);
+ checkUnnamed2973(o.comments);
unittest.expect(o.reviewId, unittest.equals('foo'));
}
buildCounterReview--;
@@ -1069,14 +1069,14 @@
buildCounterReviewReplyResult--;
}
-buildUnnamed2955() {
+buildUnnamed2974() {
var o = new core.List<api.Review>();
o.add(buildReview());
o.add(buildReview());
return o;
}
-checkUnnamed2955(core.List<api.Review> o) {
+checkUnnamed2974(core.List<api.Review> o) {
unittest.expect(o, unittest.hasLength(2));
checkReview(o[0]);
checkReview(o[1]);
@@ -1088,7 +1088,7 @@
buildCounterReviewsListResponse++;
if (buildCounterReviewsListResponse < 3) {
o.pageInfo = buildPageInfo();
- o.reviews = buildUnnamed2955();
+ o.reviews = buildUnnamed2974();
o.tokenPagination = buildTokenPagination();
}
buildCounterReviewsListResponse--;
@@ -1099,7 +1099,7 @@
buildCounterReviewsListResponse++;
if (buildCounterReviewsListResponse < 3) {
checkPageInfo(o.pageInfo);
- checkUnnamed2955(o.reviews);
+ checkUnnamed2974(o.reviews);
checkTokenPagination(o.tokenPagination);
}
buildCounterReviewsListResponse--;
@@ -1143,14 +1143,14 @@
buildCounterReviewsReplyResponse--;
}
-buildUnnamed2956() {
+buildUnnamed2975() {
var o = new core.List<api.Prorate>();
o.add(buildProrate());
o.add(buildProrate());
return o;
}
-checkUnnamed2956(core.List<api.Prorate> o) {
+checkUnnamed2975(core.List<api.Prorate> o) {
unittest.expect(o, unittest.hasLength(2));
checkProrate(o[0]);
checkProrate(o[1]);
@@ -1162,7 +1162,7 @@
buildCounterSeason++;
if (buildCounterSeason < 3) {
o.end = buildMonthDay();
- o.prorations = buildUnnamed2956();
+ o.prorations = buildUnnamed2975();
o.start = buildMonthDay();
}
buildCounterSeason--;
@@ -1173,7 +1173,7 @@
buildCounterSeason++;
if (buildCounterSeason < 3) {
checkMonthDay(o.end);
- checkUnnamed2956(o.prorations);
+ checkUnnamed2975(o.prorations);
checkMonthDay(o.start);
}
buildCounterSeason--;
@@ -1281,27 +1281,27 @@
buildCounterSubscriptionPurchasesDeferResponse--;
}
-buildUnnamed2957() {
+buildUnnamed2976() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2957(core.List<core.String> o) {
+checkUnnamed2976(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2958() {
+buildUnnamed2977() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2958(core.List<core.String> o) {
+checkUnnamed2977(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1312,8 +1312,8 @@
var o = new api.Testers();
buildCounterTesters++;
if (buildCounterTesters < 3) {
- o.googleGroups = buildUnnamed2957();
- o.googlePlusCommunities = buildUnnamed2958();
+ o.googleGroups = buildUnnamed2976();
+ o.googlePlusCommunities = buildUnnamed2977();
}
buildCounterTesters--;
return o;
@@ -1322,8 +1322,8 @@
checkTesters(api.Testers o) {
buildCounterTesters++;
if (buildCounterTesters < 3) {
- checkUnnamed2957(o.googleGroups);
- checkUnnamed2958(o.googlePlusCommunities);
+ checkUnnamed2976(o.googleGroups);
+ checkUnnamed2977(o.googlePlusCommunities);
}
buildCounterTesters--;
}
@@ -1370,14 +1370,14 @@
buildCounterTokenPagination--;
}
-buildUnnamed2959() {
+buildUnnamed2978() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2959(core.List<core.int> o) {
+checkUnnamed2978(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));
@@ -1390,7 +1390,7 @@
if (buildCounterTrack < 3) {
o.track = "foo";
o.userFraction = 42.0;
- o.versionCodes = buildUnnamed2959();
+ o.versionCodes = buildUnnamed2978();
}
buildCounterTrack--;
return o;
@@ -1401,19 +1401,19 @@
if (buildCounterTrack < 3) {
unittest.expect(o.track, unittest.equals('foo'));
unittest.expect(o.userFraction, unittest.equals(42.0));
- checkUnnamed2959(o.versionCodes);
+ checkUnnamed2978(o.versionCodes);
}
buildCounterTrack--;
}
-buildUnnamed2960() {
+buildUnnamed2979() {
var o = new core.List<api.Track>();
o.add(buildTrack());
o.add(buildTrack());
return o;
}
-checkUnnamed2960(core.List<api.Track> o) {
+checkUnnamed2979(core.List<api.Track> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrack(o[0]);
checkTrack(o[1]);
@@ -1425,7 +1425,7 @@
buildCounterTracksListResponse++;
if (buildCounterTracksListResponse < 3) {
o.kind = "foo";
- o.tracks = buildUnnamed2960();
+ o.tracks = buildUnnamed2979();
}
buildCounterTracksListResponse--;
return o;
@@ -1435,7 +1435,7 @@
buildCounterTracksListResponse++;
if (buildCounterTracksListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2960(o.tracks);
+ checkUnnamed2979(o.tracks);
}
buildCounterTracksListResponse--;
}
@@ -1506,14 +1506,14 @@
buildCounterVoidedPurchase--;
}
-buildUnnamed2961() {
+buildUnnamed2980() {
var o = new core.List<api.VoidedPurchase>();
o.add(buildVoidedPurchase());
o.add(buildVoidedPurchase());
return o;
}
-checkUnnamed2961(core.List<api.VoidedPurchase> o) {
+checkUnnamed2980(core.List<api.VoidedPurchase> o) {
unittest.expect(o, unittest.hasLength(2));
checkVoidedPurchase(o[0]);
checkVoidedPurchase(o[1]);
@@ -1526,7 +1526,7 @@
if (buildCounterVoidedPurchasesListResponse < 3) {
o.pageInfo = buildPageInfo();
o.tokenPagination = buildTokenPagination();
- o.voidedPurchases = buildUnnamed2961();
+ o.voidedPurchases = buildUnnamed2980();
}
buildCounterVoidedPurchasesListResponse--;
return o;
@@ -1537,7 +1537,7 @@
if (buildCounterVoidedPurchasesListResponse < 3) {
checkPageInfo(o.pageInfo);
checkTokenPagination(o.tokenPagination);
- checkUnnamed2961(o.voidedPurchases);
+ checkUnnamed2980(o.voidedPurchases);
}
buildCounterVoidedPurchasesListResponse--;
}
diff --git a/generated/googleapis/test/appengine/v1_test.dart b/generated/googleapis/test/appengine/v1_test.dart
index a8717ec..51151fe 100644
--- a/generated/googleapis/test/appengine/v1_test.dart
+++ b/generated/googleapis/test/appengine/v1_test.dart
@@ -96,14 +96,14 @@
buildCounterApiEndpointHandler--;
}
-buildUnnamed3094() {
+buildUnnamed3113() {
var o = new core.List<api.UrlDispatchRule>();
o.add(buildUrlDispatchRule());
o.add(buildUrlDispatchRule());
return o;
}
-checkUnnamed3094(core.List<api.UrlDispatchRule> o) {
+checkUnnamed3113(core.List<api.UrlDispatchRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlDispatchRule(o[0]);
checkUrlDispatchRule(o[1]);
@@ -119,7 +119,7 @@
o.defaultBucket = "foo";
o.defaultCookieExpiration = "foo";
o.defaultHostname = "foo";
- o.dispatchRules = buildUnnamed3094();
+ o.dispatchRules = buildUnnamed3113();
o.featureSettings = buildFeatureSettings();
o.gcrDomain = "foo";
o.iap = buildIdentityAwareProxy();
@@ -140,7 +140,7 @@
unittest.expect(o.defaultBucket, unittest.equals('foo'));
unittest.expect(o.defaultCookieExpiration, unittest.equals('foo'));
unittest.expect(o.defaultHostname, unittest.equals('foo'));
- checkUnnamed3094(o.dispatchRules);
+ checkUnnamed3113(o.dispatchRules);
checkFeatureSettings(o.featureSettings);
unittest.expect(o.gcrDomain, unittest.equals('foo'));
checkIdentityAwareProxy(o.iap);
@@ -152,27 +152,27 @@
buildCounterApplication--;
}
-buildUnnamed3095() {
+buildUnnamed3114() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3095(core.List<core.String> 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'));
}
-buildUnnamed3096() {
+buildUnnamed3115() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3096(core.List<core.String> 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'));
@@ -186,11 +186,11 @@
o.certificateRawData = buildCertificateRawData();
o.displayName = "foo";
o.domainMappingsCount = 42;
- o.domainNames = buildUnnamed3095();
+ o.domainNames = buildUnnamed3114();
o.expireTime = "foo";
o.id = "foo";
o.name = "foo";
- o.visibleDomainMappings = buildUnnamed3096();
+ o.visibleDomainMappings = buildUnnamed3115();
}
buildCounterAuthorizedCertificate--;
return o;
@@ -202,11 +202,11 @@
checkCertificateRawData(o.certificateRawData);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.domainMappingsCount, unittest.equals(42));
- checkUnnamed3095(o.domainNames);
+ checkUnnamed3114(o.domainNames);
unittest.expect(o.expireTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3096(o.visibleDomainMappings);
+ checkUnnamed3115(o.visibleDomainMappings);
}
buildCounterAuthorizedCertificate--;
}
@@ -249,6 +249,7 @@
o.minTotalInstances = 42;
o.networkUtilization = buildNetworkUtilization();
o.requestUtilization = buildRequestUtilization();
+ o.standardSchedulerSettings = buildStandardSchedulerSettings();
}
buildCounterAutomaticScaling--;
return o;
@@ -269,6 +270,7 @@
unittest.expect(o.minTotalInstances, unittest.equals(42));
checkNetworkUtilization(o.networkUtilization);
checkRequestUtilization(o.requestUtilization);
+ checkStandardSchedulerSettings(o.standardSchedulerSettings);
}
buildCounterAutomaticScaling--;
}
@@ -294,14 +296,14 @@
buildCounterBasicScaling--;
}
-buildUnnamed3097() {
+buildUnnamed3116() {
var o = new core.List<api.FirewallRule>();
o.add(buildFirewallRule());
o.add(buildFirewallRule());
return o;
}
-checkUnnamed3097(core.List<api.FirewallRule> o) {
+checkUnnamed3116(core.List<api.FirewallRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallRule(o[0]);
checkFirewallRule(o[1]);
@@ -312,7 +314,7 @@
var o = new api.BatchUpdateIngressRulesRequest();
buildCounterBatchUpdateIngressRulesRequest++;
if (buildCounterBatchUpdateIngressRulesRequest < 3) {
- o.ingressRules = buildUnnamed3097();
+ o.ingressRules = buildUnnamed3116();
}
buildCounterBatchUpdateIngressRulesRequest--;
return o;
@@ -321,19 +323,19 @@
checkBatchUpdateIngressRulesRequest(api.BatchUpdateIngressRulesRequest o) {
buildCounterBatchUpdateIngressRulesRequest++;
if (buildCounterBatchUpdateIngressRulesRequest < 3) {
- checkUnnamed3097(o.ingressRules);
+ checkUnnamed3116(o.ingressRules);
}
buildCounterBatchUpdateIngressRulesRequest--;
}
-buildUnnamed3098() {
+buildUnnamed3117() {
var o = new core.List<api.FirewallRule>();
o.add(buildFirewallRule());
o.add(buildFirewallRule());
return o;
}
-checkUnnamed3098(core.List<api.FirewallRule> o) {
+checkUnnamed3117(core.List<api.FirewallRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallRule(o[0]);
checkFirewallRule(o[1]);
@@ -344,7 +346,7 @@
var o = new api.BatchUpdateIngressRulesResponse();
buildCounterBatchUpdateIngressRulesResponse++;
if (buildCounterBatchUpdateIngressRulesResponse < 3) {
- o.ingressRules = buildUnnamed3098();
+ o.ingressRules = buildUnnamed3117();
}
buildCounterBatchUpdateIngressRulesResponse--;
return o;
@@ -353,7 +355,7 @@
checkBatchUpdateIngressRulesResponse(api.BatchUpdateIngressRulesResponse o) {
buildCounterBatchUpdateIngressRulesResponse++;
if (buildCounterBatchUpdateIngressRulesResponse < 3) {
- checkUnnamed3098(o.ingressRules);
+ checkUnnamed3117(o.ingressRules);
}
buildCounterBatchUpdateIngressRulesResponse--;
}
@@ -438,14 +440,14 @@
buildCounterDebugInstanceRequest--;
}
-buildUnnamed3099() {
+buildUnnamed3118() {
var o = new core.Map<core.String, api.FileInfo>();
o["x"] = buildFileInfo();
o["y"] = buildFileInfo();
return o;
}
-checkUnnamed3099(core.Map<core.String, api.FileInfo> o) {
+checkUnnamed3118(core.Map<core.String, api.FileInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileInfo(o["x"]);
checkFileInfo(o["y"]);
@@ -457,7 +459,7 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
o.container = buildContainerInfo();
- o.files = buildUnnamed3099();
+ o.files = buildUnnamed3118();
o.zip = buildZipInfo();
}
buildCounterDeployment--;
@@ -468,7 +470,7 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
checkContainerInfo(o.container);
- checkUnnamed3099(o.files);
+ checkUnnamed3118(o.files);
checkZipInfo(o.zip);
}
buildCounterDeployment--;
@@ -499,14 +501,14 @@
buildCounterDiskUtilization--;
}
-buildUnnamed3100() {
+buildUnnamed3119() {
var o = new core.List<api.ResourceRecord>();
o.add(buildResourceRecord());
o.add(buildResourceRecord());
return o;
}
-checkUnnamed3100(core.List<api.ResourceRecord> o) {
+checkUnnamed3119(core.List<api.ResourceRecord> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecord(o[0]);
checkResourceRecord(o[1]);
@@ -519,7 +521,7 @@
if (buildCounterDomainMapping < 3) {
o.id = "foo";
o.name = "foo";
- o.resourceRecords = buildUnnamed3100();
+ o.resourceRecords = buildUnnamed3119();
o.sslSettings = buildSslSettings();
}
buildCounterDomainMapping--;
@@ -531,7 +533,7 @@
if (buildCounterDomainMapping < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3100(o.resourceRecords);
+ checkUnnamed3119(o.resourceRecords);
checkSslSettings(o.sslSettings);
}
buildCounterDomainMapping--;
@@ -789,14 +791,14 @@
buildCounterLibrary--;
}
-buildUnnamed3101() {
+buildUnnamed3120() {
var o = new core.List<api.AuthorizedCertificate>();
o.add(buildAuthorizedCertificate());
o.add(buildAuthorizedCertificate());
return o;
}
-checkUnnamed3101(core.List<api.AuthorizedCertificate> o) {
+checkUnnamed3120(core.List<api.AuthorizedCertificate> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthorizedCertificate(o[0]);
checkAuthorizedCertificate(o[1]);
@@ -807,7 +809,7 @@
var o = new api.ListAuthorizedCertificatesResponse();
buildCounterListAuthorizedCertificatesResponse++;
if (buildCounterListAuthorizedCertificatesResponse < 3) {
- o.certificates = buildUnnamed3101();
+ o.certificates = buildUnnamed3120();
o.nextPageToken = "foo";
}
buildCounterListAuthorizedCertificatesResponse--;
@@ -818,20 +820,20 @@
api.ListAuthorizedCertificatesResponse o) {
buildCounterListAuthorizedCertificatesResponse++;
if (buildCounterListAuthorizedCertificatesResponse < 3) {
- checkUnnamed3101(o.certificates);
+ checkUnnamed3120(o.certificates);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAuthorizedCertificatesResponse--;
}
-buildUnnamed3102() {
+buildUnnamed3121() {
var o = new core.List<api.AuthorizedDomain>();
o.add(buildAuthorizedDomain());
o.add(buildAuthorizedDomain());
return o;
}
-checkUnnamed3102(core.List<api.AuthorizedDomain> o) {
+checkUnnamed3121(core.List<api.AuthorizedDomain> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthorizedDomain(o[0]);
checkAuthorizedDomain(o[1]);
@@ -842,7 +844,7 @@
var o = new api.ListAuthorizedDomainsResponse();
buildCounterListAuthorizedDomainsResponse++;
if (buildCounterListAuthorizedDomainsResponse < 3) {
- o.domains = buildUnnamed3102();
+ o.domains = buildUnnamed3121();
o.nextPageToken = "foo";
}
buildCounterListAuthorizedDomainsResponse--;
@@ -852,20 +854,20 @@
checkListAuthorizedDomainsResponse(api.ListAuthorizedDomainsResponse o) {
buildCounterListAuthorizedDomainsResponse++;
if (buildCounterListAuthorizedDomainsResponse < 3) {
- checkUnnamed3102(o.domains);
+ checkUnnamed3121(o.domains);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAuthorizedDomainsResponse--;
}
-buildUnnamed3103() {
+buildUnnamed3122() {
var o = new core.List<api.DomainMapping>();
o.add(buildDomainMapping());
o.add(buildDomainMapping());
return o;
}
-checkUnnamed3103(core.List<api.DomainMapping> o) {
+checkUnnamed3122(core.List<api.DomainMapping> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomainMapping(o[0]);
checkDomainMapping(o[1]);
@@ -876,7 +878,7 @@
var o = new api.ListDomainMappingsResponse();
buildCounterListDomainMappingsResponse++;
if (buildCounterListDomainMappingsResponse < 3) {
- o.domainMappings = buildUnnamed3103();
+ o.domainMappings = buildUnnamed3122();
o.nextPageToken = "foo";
}
buildCounterListDomainMappingsResponse--;
@@ -886,20 +888,20 @@
checkListDomainMappingsResponse(api.ListDomainMappingsResponse o) {
buildCounterListDomainMappingsResponse++;
if (buildCounterListDomainMappingsResponse < 3) {
- checkUnnamed3103(o.domainMappings);
+ checkUnnamed3122(o.domainMappings);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDomainMappingsResponse--;
}
-buildUnnamed3104() {
+buildUnnamed3123() {
var o = new core.List<api.FirewallRule>();
o.add(buildFirewallRule());
o.add(buildFirewallRule());
return o;
}
-checkUnnamed3104(core.List<api.FirewallRule> o) {
+checkUnnamed3123(core.List<api.FirewallRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallRule(o[0]);
checkFirewallRule(o[1]);
@@ -910,7 +912,7 @@
var o = new api.ListIngressRulesResponse();
buildCounterListIngressRulesResponse++;
if (buildCounterListIngressRulesResponse < 3) {
- o.ingressRules = buildUnnamed3104();
+ o.ingressRules = buildUnnamed3123();
o.nextPageToken = "foo";
}
buildCounterListIngressRulesResponse--;
@@ -920,20 +922,20 @@
checkListIngressRulesResponse(api.ListIngressRulesResponse o) {
buildCounterListIngressRulesResponse++;
if (buildCounterListIngressRulesResponse < 3) {
- checkUnnamed3104(o.ingressRules);
+ checkUnnamed3123(o.ingressRules);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListIngressRulesResponse--;
}
-buildUnnamed3105() {
+buildUnnamed3124() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed3105(core.List<api.Instance> o) {
+checkUnnamed3124(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -944,7 +946,7 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed3105();
+ o.instances = buildUnnamed3124();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -954,20 +956,20 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed3105(o.instances);
+ checkUnnamed3124(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed3106() {
+buildUnnamed3125() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed3106(core.List<api.Location> o) {
+checkUnnamed3125(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -978,7 +980,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed3106();
+ o.locations = buildUnnamed3125();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -988,20 +990,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed3106(o.locations);
+ checkUnnamed3125(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed3107() {
+buildUnnamed3126() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3107(core.List<api.Operation> o) {
+checkUnnamed3126(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1013,7 +1015,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3107();
+ o.operations = buildUnnamed3126();
}
buildCounterListOperationsResponse--;
return o;
@@ -1023,19 +1025,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3107(o.operations);
+ checkUnnamed3126(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed3108() {
+buildUnnamed3127() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed3108(core.List<api.Service> o) {
+checkUnnamed3127(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -1047,7 +1049,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed3108();
+ o.services = buildUnnamed3127();
}
buildCounterListServicesResponse--;
return o;
@@ -1057,19 +1059,19 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3108(o.services);
+ checkUnnamed3127(o.services);
}
buildCounterListServicesResponse--;
}
-buildUnnamed3109() {
+buildUnnamed3128() {
var o = new core.List<api.Version>();
o.add(buildVersion());
o.add(buildVersion());
return o;
}
-checkUnnamed3109(core.List<api.Version> o) {
+checkUnnamed3128(core.List<api.Version> o) {
unittest.expect(o, unittest.hasLength(2));
checkVersion(o[0]);
checkVersion(o[1]);
@@ -1081,7 +1083,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
o.nextPageToken = "foo";
- o.versions = buildUnnamed3109();
+ o.versions = buildUnnamed3128();
}
buildCounterListVersionsResponse--;
return o;
@@ -1091,7 +1093,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3109(o.versions);
+ checkUnnamed3128(o.versions);
}
buildCounterListVersionsResponse--;
}
@@ -1127,20 +1129,20 @@
buildCounterLivenessCheck--;
}
-buildUnnamed3110() {
+buildUnnamed3129() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3110(core.Map<core.String, core.String> o) {
+checkUnnamed3129(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'));
}
-buildUnnamed3111() {
+buildUnnamed3130() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1155,7 +1157,7 @@
return o;
}
-checkUnnamed3111(core.Map<core.String, core.Object> o) {
+checkUnnamed3130(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));
@@ -1174,9 +1176,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed3110();
+ o.labels = buildUnnamed3129();
o.locationId = "foo";
- o.metadata = buildUnnamed3111();
+ o.metadata = buildUnnamed3130();
o.name = "foo";
}
buildCounterLocation--;
@@ -1186,9 +1188,9 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed3110(o.labels);
+ checkUnnamed3129(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed3111(o.metadata);
+ checkUnnamed3130(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -1234,14 +1236,14 @@
buildCounterManualScaling--;
}
-buildUnnamed3112() {
+buildUnnamed3131() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3112(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'));
@@ -1252,7 +1254,7 @@
var o = new api.Network();
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- o.forwardedPorts = buildUnnamed3112();
+ o.forwardedPorts = buildUnnamed3131();
o.instanceTag = "foo";
o.name = "foo";
o.subnetworkName = "foo";
@@ -1264,7 +1266,7 @@
checkNetwork(api.Network o) {
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- checkUnnamed3112(o.forwardedPorts);
+ checkUnnamed3131(o.forwardedPorts);
unittest.expect(o.instanceTag, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.subnetworkName, unittest.equals('foo'));
@@ -1297,7 +1299,7 @@
buildCounterNetworkUtilization--;
}
-buildUnnamed3113() {
+buildUnnamed3132() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1312,7 +1314,7 @@
return o;
}
-checkUnnamed3113(core.Map<core.String, core.Object> o) {
+checkUnnamed3132(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));
@@ -1326,7 +1328,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed3114() {
+buildUnnamed3133() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1341,7 +1343,7 @@
return o;
}
-checkUnnamed3114(core.Map<core.String, core.Object> o) {
+checkUnnamed3133(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));
@@ -1362,9 +1364,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3113();
+ o.metadata = buildUnnamed3132();
o.name = "foo";
- o.response = buildUnnamed3114();
+ o.response = buildUnnamed3133();
}
buildCounterOperation--;
return o;
@@ -1375,9 +1377,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3113(o.metadata);
+ checkUnnamed3132(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3114(o.response);
+ checkUnnamed3133(o.response);
}
buildCounterOperation--;
}
@@ -1411,14 +1413,14 @@
buildCounterOperationMetadata--;
}
-buildUnnamed3115() {
+buildUnnamed3134() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3115(core.List<core.String> o) {
+checkUnnamed3134(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1435,7 +1437,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed3115();
+ o.warning = buildUnnamed3134();
}
buildCounterOperationMetadataV1--;
return o;
@@ -1450,19 +1452,19 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3115(o.warning);
+ checkUnnamed3134(o.warning);
}
buildCounterOperationMetadataV1--;
}
-buildUnnamed3116() {
+buildUnnamed3135() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3116(core.List<core.String> o) {
+checkUnnamed3135(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1479,7 +1481,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed3116();
+ o.warning = buildUnnamed3135();
}
buildCounterOperationMetadataV1Alpha--;
return o;
@@ -1494,19 +1496,19 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3116(o.warning);
+ checkUnnamed3135(o.warning);
}
buildCounterOperationMetadataV1Alpha--;
}
-buildUnnamed3117() {
+buildUnnamed3136() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3117(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'));
@@ -1523,7 +1525,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed3117();
+ o.warning = buildUnnamed3136();
}
buildCounterOperationMetadataV1Beta--;
return o;
@@ -1538,7 +1540,7 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3117(o.warning);
+ checkUnnamed3136(o.warning);
}
buildCounterOperationMetadataV1Beta--;
}
@@ -1660,14 +1662,14 @@
buildCounterResourceRecord--;
}
-buildUnnamed3118() {
+buildUnnamed3137() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed3118(core.List<api.Volume> o) {
+checkUnnamed3137(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1681,7 +1683,7 @@
o.cpu = 42.0;
o.diskGb = 42.0;
o.memoryGb = 42.0;
- o.volumes = buildUnnamed3118();
+ o.volumes = buildUnnamed3137();
}
buildCounterResources--;
return o;
@@ -1693,7 +1695,7 @@
unittest.expect(o.cpu, unittest.equals(42.0));
unittest.expect(o.diskGb, unittest.equals(42.0));
unittest.expect(o.memoryGb, unittest.equals(42.0));
- checkUnnamed3118(o.volumes);
+ checkUnnamed3137(o.volumes);
}
buildCounterResources--;
}
@@ -1759,14 +1761,39 @@
buildCounterSslSettings--;
}
-buildUnnamed3119() {
+core.int buildCounterStandardSchedulerSettings = 0;
+buildStandardSchedulerSettings() {
+ var o = new api.StandardSchedulerSettings();
+ buildCounterStandardSchedulerSettings++;
+ if (buildCounterStandardSchedulerSettings < 3) {
+ o.maxInstances = 42;
+ o.minInstances = 42;
+ o.targetCpuUtilization = 42.0;
+ o.targetThroughputUtilization = 42.0;
+ }
+ buildCounterStandardSchedulerSettings--;
+ return o;
+}
+
+checkStandardSchedulerSettings(api.StandardSchedulerSettings o) {
+ buildCounterStandardSchedulerSettings++;
+ if (buildCounterStandardSchedulerSettings < 3) {
+ unittest.expect(o.maxInstances, unittest.equals(42));
+ unittest.expect(o.minInstances, unittest.equals(42));
+ unittest.expect(o.targetCpuUtilization, unittest.equals(42.0));
+ unittest.expect(o.targetThroughputUtilization, unittest.equals(42.0));
+ }
+ buildCounterStandardSchedulerSettings--;
+}
+
+buildUnnamed3138() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3119(core.Map<core.String, core.String> o) {
+checkUnnamed3138(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'));
@@ -1779,7 +1806,7 @@
if (buildCounterStaticFilesHandler < 3) {
o.applicationReadable = true;
o.expiration = "foo";
- o.httpHeaders = buildUnnamed3119();
+ o.httpHeaders = buildUnnamed3138();
o.mimeType = "foo";
o.path = "foo";
o.requireMatchingFile = true;
@@ -1794,7 +1821,7 @@
if (buildCounterStaticFilesHandler < 3) {
unittest.expect(o.applicationReadable, unittest.isTrue);
unittest.expect(o.expiration, unittest.equals('foo'));
- checkUnnamed3119(o.httpHeaders);
+ checkUnnamed3138(o.httpHeaders);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.requireMatchingFile, unittest.isTrue);
@@ -1803,7 +1830,7 @@
buildCounterStaticFilesHandler--;
}
-buildUnnamed3120() {
+buildUnnamed3139() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1818,7 +1845,7 @@
return o;
}
-checkUnnamed3120(core.Map<core.String, core.Object> o) {
+checkUnnamed3139(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));
@@ -1832,17 +1859,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed3121() {
+buildUnnamed3140() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3120());
- o.add(buildUnnamed3120());
+ o.add(buildUnnamed3139());
+ o.add(buildUnnamed3139());
return o;
}
-checkUnnamed3121(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3140(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3120(o[0]);
- checkUnnamed3120(o[1]);
+ checkUnnamed3139(o[0]);
+ checkUnnamed3139(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1851,7 +1878,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3121();
+ o.details = buildUnnamed3140();
o.message = "foo";
}
buildCounterStatus--;
@@ -1862,20 +1889,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3121(o.details);
+ checkUnnamed3140(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed3122() {
+buildUnnamed3141() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed3122(core.Map<core.String, core.double> o) {
+checkUnnamed3141(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));
@@ -1886,7 +1913,7 @@
var o = new api.TrafficSplit();
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- o.allocations = buildUnnamed3122();
+ o.allocations = buildUnnamed3141();
o.shardBy = "foo";
}
buildCounterTrafficSplit--;
@@ -1896,7 +1923,7 @@
checkTrafficSplit(api.TrafficSplit o) {
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- checkUnnamed3122(o.allocations);
+ checkUnnamed3141(o.allocations);
unittest.expect(o.shardBy, unittest.equals('foo'));
}
buildCounterTrafficSplit--;
@@ -1958,79 +1985,79 @@
buildCounterUrlMap--;
}
-buildUnnamed3123() {
+buildUnnamed3142() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3123(core.Map<core.String, core.String> o) {
+checkUnnamed3142(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'));
}
-buildUnnamed3124() {
+buildUnnamed3143() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3124(core.Map<core.String, core.String> o) {
+checkUnnamed3143(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'));
}
-buildUnnamed3125() {
+buildUnnamed3144() {
var o = new core.List<api.ErrorHandler>();
o.add(buildErrorHandler());
o.add(buildErrorHandler());
return o;
}
-checkUnnamed3125(core.List<api.ErrorHandler> o) {
+checkUnnamed3144(core.List<api.ErrorHandler> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorHandler(o[0]);
checkErrorHandler(o[1]);
}
-buildUnnamed3126() {
+buildUnnamed3145() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed3126(core.List<api.UrlMap> o) {
+checkUnnamed3145(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
}
-buildUnnamed3127() {
+buildUnnamed3146() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3127(core.List<core.String> o) {
+checkUnnamed3146(core.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() {
+buildUnnamed3147() {
var o = new core.List<api.Library>();
o.add(buildLibrary());
o.add(buildLibrary());
return o;
}
-checkUnnamed3128(core.List<api.Library> o) {
+checkUnnamed3147(core.List<api.Library> o) {
unittest.expect(o, unittest.hasLength(2));
checkLibrary(o[0]);
checkLibrary(o[1]);
@@ -2044,7 +2071,7 @@
o.apiConfig = buildApiConfigHandler();
o.automaticScaling = buildAutomaticScaling();
o.basicScaling = buildBasicScaling();
- o.betaSettings = buildUnnamed3123();
+ o.betaSettings = buildUnnamed3142();
o.createTime = "foo";
o.createdBy = "foo";
o.defaultExpiration = "foo";
@@ -2052,14 +2079,14 @@
o.diskUsageBytes = "foo";
o.endpointsApiService = buildEndpointsApiService();
o.env = "foo";
- o.envVariables = buildUnnamed3124();
- o.errorHandlers = buildUnnamed3125();
- o.handlers = buildUnnamed3126();
+ o.envVariables = buildUnnamed3143();
+ o.errorHandlers = buildUnnamed3144();
+ o.handlers = buildUnnamed3145();
o.healthCheck = buildHealthCheck();
o.id = "foo";
- o.inboundServices = buildUnnamed3127();
+ o.inboundServices = buildUnnamed3146();
o.instanceClass = "foo";
- o.libraries = buildUnnamed3128();
+ o.libraries = buildUnnamed3147();
o.livenessCheck = buildLivenessCheck();
o.manualScaling = buildManualScaling();
o.name = "foo";
@@ -2084,7 +2111,7 @@
checkApiConfigHandler(o.apiConfig);
checkAutomaticScaling(o.automaticScaling);
checkBasicScaling(o.basicScaling);
- checkUnnamed3123(o.betaSettings);
+ checkUnnamed3142(o.betaSettings);
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.createdBy, unittest.equals('foo'));
unittest.expect(o.defaultExpiration, unittest.equals('foo'));
@@ -2092,14 +2119,14 @@
unittest.expect(o.diskUsageBytes, unittest.equals('foo'));
checkEndpointsApiService(o.endpointsApiService);
unittest.expect(o.env, unittest.equals('foo'));
- checkUnnamed3124(o.envVariables);
- checkUnnamed3125(o.errorHandlers);
- checkUnnamed3126(o.handlers);
+ checkUnnamed3143(o.envVariables);
+ checkUnnamed3144(o.errorHandlers);
+ checkUnnamed3145(o.handlers);
checkHealthCheck(o.healthCheck);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3127(o.inboundServices);
+ checkUnnamed3146(o.inboundServices);
unittest.expect(o.instanceClass, unittest.equals('foo'));
- checkUnnamed3128(o.libraries);
+ checkUnnamed3147(o.libraries);
checkLivenessCheck(o.livenessCheck);
checkManualScaling(o.manualScaling);
unittest.expect(o.name, unittest.equals('foo'));
@@ -2602,6 +2629,14 @@
});
});
+ unittest.group("obj-schema-StandardSchedulerSettings", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildStandardSchedulerSettings();
+ var od = new api.StandardSchedulerSettings.fromJson(o.toJson());
+ checkStandardSchedulerSettings(od);
+ });
+ });
+
unittest.group("obj-schema-StaticFilesHandler", () {
unittest.test("to-json--from-json", () {
var o = buildStaticFilesHandler();
@@ -3519,8 +3554,8 @@
api.AppsDomainMappingsResourceApi res =
new api.AppengineApi(mock).apps.domainMappings;
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;
@@ -3561,10 +3596,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 = {
@@ -3575,8 +3610,8 @@
}), true);
res
.list(arg_appsId,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(
unittest.expectAsync1(((api.ListDomainMappingsResponse response) {
@@ -4268,9 +4303,9 @@
api.AppsOperationsResourceApi res =
new api.AppengineApi(mock).apps.operations;
var arg_appsId = "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;
@@ -4311,11 +4346,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 = {
@@ -4326,9 +4361,9 @@
}), true);
res
.list(arg_appsId,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
@@ -4541,8 +4576,8 @@
var arg_request = buildService();
var arg_appsId = "foo";
var arg_servicesId = "foo";
- var arg_updateMask = "foo";
var arg_migrateTraffic = true;
+ var arg_updateMask = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Service.fromJson(json);
@@ -4589,10 +4624,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["migrateTraffic"].first,
unittest.equals("$arg_migrateTraffic"));
+ unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4603,8 +4638,8 @@
}), true);
res
.patch(arg_request, arg_appsId, arg_servicesId,
- updateMask: arg_updateMask,
migrateTraffic: arg_migrateTraffic,
+ updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
diff --git a/generated/googleapis/test/appsactivity/v1_test.dart b/generated/googleapis/test/appsactivity/v1_test.dart
index 8b5ef21..5f80921 100644
--- a/generated/googleapis/test/appsactivity/v1_test.dart
+++ b/generated/googleapis/test/appsactivity/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1137() {
+buildUnnamed1144() {
var o = new core.List<api.Event>();
o.add(buildEvent());
o.add(buildEvent());
return o;
}
-checkUnnamed1137(core.List<api.Event> o) {
+checkUnnamed1144(core.List<api.Event> o) {
unittest.expect(o, unittest.hasLength(2));
checkEvent(o[0]);
checkEvent(o[1]);
@@ -69,7 +69,7 @@
buildCounterActivity++;
if (buildCounterActivity < 3) {
o.combinedEvent = buildEvent();
- o.singleEvents = buildUnnamed1137();
+ o.singleEvents = buildUnnamed1144();
}
buildCounterActivity--;
return o;
@@ -79,32 +79,32 @@
buildCounterActivity++;
if (buildCounterActivity < 3) {
checkEvent(o.combinedEvent);
- checkUnnamed1137(o.singleEvents);
+ checkUnnamed1144(o.singleEvents);
}
buildCounterActivity--;
}
-buildUnnamed1138() {
+buildUnnamed1145() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1138(core.List<core.String> o) {
+checkUnnamed1145(core.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() {
+buildUnnamed1146() {
var o = new core.List<api.PermissionChange>();
o.add(buildPermissionChange());
o.add(buildPermissionChange());
return o;
}
-checkUnnamed1139(core.List<api.PermissionChange> o) {
+checkUnnamed1146(core.List<api.PermissionChange> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionChange(o[0]);
checkPermissionChange(o[1]);
@@ -115,11 +115,11 @@
var o = new api.Event();
buildCounterEvent++;
if (buildCounterEvent < 3) {
- o.additionalEventTypes = buildUnnamed1138();
+ o.additionalEventTypes = buildUnnamed1145();
o.eventTimeMillis = "foo";
o.fromUserDeletion = true;
o.move = buildMove();
- o.permissionChanges = buildUnnamed1139();
+ o.permissionChanges = buildUnnamed1146();
o.primaryEventType = "foo";
o.rename = buildRename();
o.target = buildTarget();
@@ -132,11 +132,11 @@
checkEvent(api.Event o) {
buildCounterEvent++;
if (buildCounterEvent < 3) {
- checkUnnamed1138(o.additionalEventTypes);
+ checkUnnamed1145(o.additionalEventTypes);
unittest.expect(o.eventTimeMillis, unittest.equals('foo'));
unittest.expect(o.fromUserDeletion, unittest.isTrue);
checkMove(o.move);
- checkUnnamed1139(o.permissionChanges);
+ checkUnnamed1146(o.permissionChanges);
unittest.expect(o.primaryEventType, unittest.equals('foo'));
checkRename(o.rename);
checkTarget(o.target);
@@ -145,14 +145,14 @@
buildCounterEvent--;
}
-buildUnnamed1140() {
+buildUnnamed1147() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed1140(core.List<api.Activity> o) {
+checkUnnamed1147(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -163,7 +163,7 @@
var o = new api.ListActivitiesResponse();
buildCounterListActivitiesResponse++;
if (buildCounterListActivitiesResponse < 3) {
- o.activities = buildUnnamed1140();
+ o.activities = buildUnnamed1147();
o.nextPageToken = "foo";
}
buildCounterListActivitiesResponse--;
@@ -173,33 +173,33 @@
checkListActivitiesResponse(api.ListActivitiesResponse o) {
buildCounterListActivitiesResponse++;
if (buildCounterListActivitiesResponse < 3) {
- checkUnnamed1140(o.activities);
+ checkUnnamed1147(o.activities);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListActivitiesResponse--;
}
-buildUnnamed1141() {
+buildUnnamed1148() {
var o = new core.List<api.Parent>();
o.add(buildParent());
o.add(buildParent());
return o;
}
-checkUnnamed1141(core.List<api.Parent> o) {
+checkUnnamed1148(core.List<api.Parent> o) {
unittest.expect(o, unittest.hasLength(2));
checkParent(o[0]);
checkParent(o[1]);
}
-buildUnnamed1142() {
+buildUnnamed1149() {
var o = new core.List<api.Parent>();
o.add(buildParent());
o.add(buildParent());
return o;
}
-checkUnnamed1142(core.List<api.Parent> o) {
+checkUnnamed1149(core.List<api.Parent> o) {
unittest.expect(o, unittest.hasLength(2));
checkParent(o[0]);
checkParent(o[1]);
@@ -210,8 +210,8 @@
var o = new api.Move();
buildCounterMove++;
if (buildCounterMove < 3) {
- o.addedParents = buildUnnamed1141();
- o.removedParents = buildUnnamed1142();
+ o.addedParents = buildUnnamed1148();
+ o.removedParents = buildUnnamed1149();
}
buildCounterMove--;
return o;
@@ -220,8 +220,8 @@
checkMove(api.Move o) {
buildCounterMove++;
if (buildCounterMove < 3) {
- checkUnnamed1141(o.addedParents);
- checkUnnamed1142(o.removedParents);
+ checkUnnamed1148(o.addedParents);
+ checkUnnamed1149(o.removedParents);
}
buildCounterMove--;
}
@@ -278,27 +278,27 @@
buildCounterPermission--;
}
-buildUnnamed1143() {
+buildUnnamed1150() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1143(core.List<api.Permission> o) {
+checkUnnamed1150(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
}
-buildUnnamed1144() {
+buildUnnamed1151() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1144(core.List<api.Permission> o) {
+checkUnnamed1151(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -309,8 +309,8 @@
var o = new api.PermissionChange();
buildCounterPermissionChange++;
if (buildCounterPermissionChange < 3) {
- o.addedPermissions = buildUnnamed1143();
- o.removedPermissions = buildUnnamed1144();
+ o.addedPermissions = buildUnnamed1150();
+ o.removedPermissions = buildUnnamed1151();
}
buildCounterPermissionChange--;
return o;
@@ -319,8 +319,8 @@
checkPermissionChange(api.PermissionChange o) {
buildCounterPermissionChange++;
if (buildCounterPermissionChange < 3) {
- checkUnnamed1143(o.addedPermissions);
- checkUnnamed1144(o.removedPermissions);
+ checkUnnamed1150(o.addedPermissions);
+ checkUnnamed1151(o.removedPermissions);
}
buildCounterPermissionChange--;
}
diff --git a/generated/googleapis/test/appstate/v1_test.dart b/generated/googleapis/test/appstate/v1_test.dart
index 5df3572..daa68d9 100644
--- a/generated/googleapis/test/appstate/v1_test.dart
+++ b/generated/googleapis/test/appstate/v1_test.dart
@@ -75,14 +75,14 @@
buildCounterGetResponse--;
}
-buildUnnamed2649() {
+buildUnnamed2668() {
var o = new core.List<api.GetResponse>();
o.add(buildGetResponse());
o.add(buildGetResponse());
return o;
}
-checkUnnamed2649(core.List<api.GetResponse> o) {
+checkUnnamed2668(core.List<api.GetResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkGetResponse(o[0]);
checkGetResponse(o[1]);
@@ -93,7 +93,7 @@
var o = new api.ListResponse();
buildCounterListResponse++;
if (buildCounterListResponse < 3) {
- o.items = buildUnnamed2649();
+ o.items = buildUnnamed2668();
o.kind = "foo";
o.maximumKeyCount = 42;
}
@@ -104,7 +104,7 @@
checkListResponse(api.ListResponse o) {
buildCounterListResponse++;
if (buildCounterListResponse < 3) {
- checkUnnamed2649(o.items);
+ checkUnnamed2668(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.maximumKeyCount, unittest.equals(42));
}
diff --git a/generated/googleapis/test/bigquery/v2_test.dart b/generated/googleapis/test/bigquery/v2_test.dart
index 77c5991..6040267 100644
--- a/generated/googleapis/test/bigquery/v2_test.dart
+++ b/generated/googleapis/test/bigquery/v2_test.dart
@@ -79,14 +79,14 @@
buildCounterBigtableColumn--;
}
-buildUnnamed3168() {
+buildUnnamed3187() {
var o = new core.List<api.BigtableColumn>();
o.add(buildBigtableColumn());
o.add(buildBigtableColumn());
return o;
}
-checkUnnamed3168(core.List<api.BigtableColumn> o) {
+checkUnnamed3187(core.List<api.BigtableColumn> o) {
unittest.expect(o, unittest.hasLength(2));
checkBigtableColumn(o[0]);
checkBigtableColumn(o[1]);
@@ -97,7 +97,7 @@
var o = new api.BigtableColumnFamily();
buildCounterBigtableColumnFamily++;
if (buildCounterBigtableColumnFamily < 3) {
- o.columns = buildUnnamed3168();
+ o.columns = buildUnnamed3187();
o.encoding = "foo";
o.familyId = "foo";
o.onlyReadLatest = true;
@@ -110,7 +110,7 @@
checkBigtableColumnFamily(api.BigtableColumnFamily o) {
buildCounterBigtableColumnFamily++;
if (buildCounterBigtableColumnFamily < 3) {
- checkUnnamed3168(o.columns);
+ checkUnnamed3187(o.columns);
unittest.expect(o.encoding, unittest.equals('foo'));
unittest.expect(o.familyId, unittest.equals('foo'));
unittest.expect(o.onlyReadLatest, unittest.isTrue);
@@ -119,14 +119,14 @@
buildCounterBigtableColumnFamily--;
}
-buildUnnamed3169() {
+buildUnnamed3188() {
var o = new core.List<api.BigtableColumnFamily>();
o.add(buildBigtableColumnFamily());
o.add(buildBigtableColumnFamily());
return o;
}
-checkUnnamed3169(core.List<api.BigtableColumnFamily> o) {
+checkUnnamed3188(core.List<api.BigtableColumnFamily> o) {
unittest.expect(o, unittest.hasLength(2));
checkBigtableColumnFamily(o[0]);
checkBigtableColumnFamily(o[1]);
@@ -137,7 +137,7 @@
var o = new api.BigtableOptions();
buildCounterBigtableOptions++;
if (buildCounterBigtableOptions < 3) {
- o.columnFamilies = buildUnnamed3169();
+ o.columnFamilies = buildUnnamed3188();
o.ignoreUnspecifiedColumnFamilies = true;
o.readRowkeyAsString = true;
}
@@ -148,7 +148,7 @@
checkBigtableOptions(api.BigtableOptions o) {
buildCounterBigtableOptions++;
if (buildCounterBigtableOptions < 3) {
- checkUnnamed3169(o.columnFamilies);
+ checkUnnamed3188(o.columnFamilies);
unittest.expect(o.ignoreUnspecifiedColumnFamilies, unittest.isTrue);
unittest.expect(o.readRowkeyAsString, unittest.isTrue);
}
@@ -213,27 +213,27 @@
buildCounterDatasetAccess--;
}
-buildUnnamed3170() {
+buildUnnamed3189() {
var o = new core.List<api.DatasetAccess>();
o.add(buildDatasetAccess());
o.add(buildDatasetAccess());
return o;
}
-checkUnnamed3170(core.List<api.DatasetAccess> o) {
+checkUnnamed3189(core.List<api.DatasetAccess> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatasetAccess(o[0]);
checkDatasetAccess(o[1]);
}
-buildUnnamed3171() {
+buildUnnamed3190() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3171(core.Map<core.String, core.String> o) {
+checkUnnamed3190(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'));
@@ -244,7 +244,7 @@
var o = new api.Dataset();
buildCounterDataset++;
if (buildCounterDataset < 3) {
- o.access = buildUnnamed3170();
+ o.access = buildUnnamed3189();
o.creationTime = "foo";
o.datasetReference = buildDatasetReference();
o.defaultTableExpirationMs = "foo";
@@ -253,7 +253,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed3171();
+ o.labels = buildUnnamed3190();
o.lastModifiedTime = "foo";
o.location = "foo";
o.selfLink = "foo";
@@ -265,7 +265,7 @@
checkDataset(api.Dataset o) {
buildCounterDataset++;
if (buildCounterDataset < 3) {
- checkUnnamed3170(o.access);
+ checkUnnamed3189(o.access);
unittest.expect(o.creationTime, unittest.equals('foo'));
checkDatasetReference(o.datasetReference);
unittest.expect(o.defaultTableExpirationMs, unittest.equals('foo'));
@@ -274,7 +274,7 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3171(o.labels);
+ checkUnnamed3190(o.labels);
unittest.expect(o.lastModifiedTime, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -282,14 +282,14 @@
buildCounterDataset--;
}
-buildUnnamed3172() {
+buildUnnamed3191() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3172(core.Map<core.String, core.String> o) {
+checkUnnamed3191(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'));
@@ -304,7 +304,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed3172();
+ o.labels = buildUnnamed3191();
}
buildCounterDatasetListDatasets--;
return o;
@@ -317,19 +317,19 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3172(o.labels);
+ checkUnnamed3191(o.labels);
}
buildCounterDatasetListDatasets--;
}
-buildUnnamed3173() {
+buildUnnamed3192() {
var o = new core.List<api.DatasetListDatasets>();
o.add(buildDatasetListDatasets());
o.add(buildDatasetListDatasets());
return o;
}
-checkUnnamed3173(core.List<api.DatasetListDatasets> o) {
+checkUnnamed3192(core.List<api.DatasetListDatasets> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatasetListDatasets(o[0]);
checkDatasetListDatasets(o[1]);
@@ -340,7 +340,7 @@
var o = new api.DatasetList();
buildCounterDatasetList++;
if (buildCounterDatasetList < 3) {
- o.datasets = buildUnnamed3173();
+ o.datasets = buildUnnamed3192();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -352,7 +352,7 @@
checkDatasetList(api.DatasetList o) {
buildCounterDatasetList++;
if (buildCounterDatasetList < 3) {
- checkUnnamed3173(o.datasets);
+ checkUnnamed3192(o.datasets);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -425,14 +425,14 @@
buildCounterErrorProto--;
}
-buildUnnamed3174() {
+buildUnnamed3193() {
var o = new core.List<api.ExplainQueryStep>();
o.add(buildExplainQueryStep());
o.add(buildExplainQueryStep());
return o;
}
-checkUnnamed3174(core.List<api.ExplainQueryStep> o) {
+checkUnnamed3193(core.List<api.ExplainQueryStep> o) {
unittest.expect(o, unittest.hasLength(2));
checkExplainQueryStep(o[0]);
checkExplainQueryStep(o[1]);
@@ -458,7 +458,7 @@
o.shuffleOutputBytes = "foo";
o.shuffleOutputBytesSpilled = "foo";
o.status = "foo";
- o.steps = buildUnnamed3174();
+ o.steps = buildUnnamed3193();
o.waitMsAvg = "foo";
o.waitMsMax = "foo";
o.waitRatioAvg = 42.0;
@@ -490,7 +490,7 @@
unittest.expect(o.shuffleOutputBytes, unittest.equals('foo'));
unittest.expect(o.shuffleOutputBytesSpilled, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed3174(o.steps);
+ checkUnnamed3193(o.steps);
unittest.expect(o.waitMsAvg, unittest.equals('foo'));
unittest.expect(o.waitMsMax, unittest.equals('foo'));
unittest.expect(o.waitRatioAvg, unittest.equals(42.0));
@@ -503,14 +503,14 @@
buildCounterExplainQueryStage--;
}
-buildUnnamed3175() {
+buildUnnamed3194() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3175(core.List<core.String> o) {
+checkUnnamed3194(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -522,7 +522,7 @@
buildCounterExplainQueryStep++;
if (buildCounterExplainQueryStep < 3) {
o.kind = "foo";
- o.substeps = buildUnnamed3175();
+ o.substeps = buildUnnamed3194();
}
buildCounterExplainQueryStep--;
return o;
@@ -532,19 +532,19 @@
buildCounterExplainQueryStep++;
if (buildCounterExplainQueryStep < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3175(o.substeps);
+ checkUnnamed3194(o.substeps);
}
buildCounterExplainQueryStep--;
}
-buildUnnamed3176() {
+buildUnnamed3195() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3176(core.List<core.String> o) {
+checkUnnamed3195(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -564,7 +564,7 @@
o.maxBadRecords = 42;
o.schema = buildTableSchema();
o.sourceFormat = "foo";
- o.sourceUris = buildUnnamed3176();
+ o.sourceUris = buildUnnamed3195();
}
buildCounterExternalDataConfiguration--;
return o;
@@ -582,32 +582,32 @@
unittest.expect(o.maxBadRecords, unittest.equals(42));
checkTableSchema(o.schema);
unittest.expect(o.sourceFormat, unittest.equals('foo'));
- checkUnnamed3176(o.sourceUris);
+ checkUnnamed3195(o.sourceUris);
}
buildCounterExternalDataConfiguration--;
}
-buildUnnamed3177() {
+buildUnnamed3196() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed3177(core.List<api.ErrorProto> o) {
+checkUnnamed3196(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
}
-buildUnnamed3178() {
+buildUnnamed3197() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed3178(core.List<api.TableRow> o) {
+checkUnnamed3197(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -619,14 +619,14 @@
buildCounterGetQueryResultsResponse++;
if (buildCounterGetQueryResultsResponse < 3) {
o.cacheHit = true;
- o.errors = buildUnnamed3177();
+ o.errors = buildUnnamed3196();
o.etag = "foo";
o.jobComplete = true;
o.jobReference = buildJobReference();
o.kind = "foo";
o.numDmlAffectedRows = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed3178();
+ o.rows = buildUnnamed3197();
o.schema = buildTableSchema();
o.totalBytesProcessed = "foo";
o.totalRows = "foo";
@@ -639,14 +639,14 @@
buildCounterGetQueryResultsResponse++;
if (buildCounterGetQueryResultsResponse < 3) {
unittest.expect(o.cacheHit, unittest.isTrue);
- checkUnnamed3177(o.errors);
+ checkUnnamed3196(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'));
- checkUnnamed3178(o.rows);
+ checkUnnamed3197(o.rows);
checkTableSchema(o.schema);
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
unittest.expect(o.totalRows, unittest.equals('foo'));
@@ -750,14 +750,14 @@
buildCounterJobCancelResponse--;
}
-buildUnnamed3179() {
+buildUnnamed3198() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3179(core.Map<core.String, core.String> o) {
+checkUnnamed3198(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'));
@@ -771,7 +771,7 @@
o.copy = buildJobConfigurationTableCopy();
o.dryRun = true;
o.extract = buildJobConfigurationExtract();
- o.labels = buildUnnamed3179();
+ o.labels = buildUnnamed3198();
o.load = buildJobConfigurationLoad();
o.query = buildJobConfigurationQuery();
}
@@ -785,21 +785,21 @@
checkJobConfigurationTableCopy(o.copy);
unittest.expect(o.dryRun, unittest.isTrue);
checkJobConfigurationExtract(o.extract);
- checkUnnamed3179(o.labels);
+ checkUnnamed3198(o.labels);
checkJobConfigurationLoad(o.load);
checkJobConfigurationQuery(o.query);
}
buildCounterJobConfiguration--;
}
-buildUnnamed3180() {
+buildUnnamed3199() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3180(core.List<core.String> o) {
+checkUnnamed3199(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -813,7 +813,7 @@
o.compression = "foo";
o.destinationFormat = "foo";
o.destinationUri = "foo";
- o.destinationUris = buildUnnamed3180();
+ o.destinationUris = buildUnnamed3199();
o.fieldDelimiter = "foo";
o.printHeader = true;
o.sourceTable = buildTableReference();
@@ -828,7 +828,7 @@
unittest.expect(o.compression, unittest.equals('foo'));
unittest.expect(o.destinationFormat, unittest.equals('foo'));
unittest.expect(o.destinationUri, unittest.equals('foo'));
- checkUnnamed3180(o.destinationUris);
+ checkUnnamed3199(o.destinationUris);
unittest.expect(o.fieldDelimiter, unittest.equals('foo'));
unittest.expect(o.printHeader, unittest.isTrue);
checkTableReference(o.sourceTable);
@@ -836,40 +836,40 @@
buildCounterJobConfigurationExtract--;
}
-buildUnnamed3181() {
+buildUnnamed3200() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3181(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'));
}
-buildUnnamed3182() {
+buildUnnamed3201() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3182(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'));
}
-buildUnnamed3183() {
+buildUnnamed3202() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3183(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'));
@@ -891,15 +891,15 @@
o.ignoreUnknownValues = true;
o.maxBadRecords = 42;
o.nullMarker = "foo";
- o.projectionFields = buildUnnamed3181();
+ o.projectionFields = buildUnnamed3200();
o.quote = "foo";
o.schema = buildTableSchema();
o.schemaInline = "foo";
o.schemaInlineFormat = "foo";
- o.schemaUpdateOptions = buildUnnamed3182();
+ o.schemaUpdateOptions = buildUnnamed3201();
o.skipLeadingRows = 42;
o.sourceFormat = "foo";
- o.sourceUris = buildUnnamed3183();
+ o.sourceUris = buildUnnamed3202();
o.timePartitioning = buildTimePartitioning();
o.writeDisposition = "foo";
}
@@ -921,68 +921,68 @@
unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
unittest.expect(o.maxBadRecords, unittest.equals(42));
unittest.expect(o.nullMarker, unittest.equals('foo'));
- checkUnnamed3181(o.projectionFields);
+ checkUnnamed3200(o.projectionFields);
unittest.expect(o.quote, unittest.equals('foo'));
checkTableSchema(o.schema);
unittest.expect(o.schemaInline, unittest.equals('foo'));
unittest.expect(o.schemaInlineFormat, unittest.equals('foo'));
- checkUnnamed3182(o.schemaUpdateOptions);
+ checkUnnamed3201(o.schemaUpdateOptions);
unittest.expect(o.skipLeadingRows, unittest.equals(42));
unittest.expect(o.sourceFormat, unittest.equals('foo'));
- checkUnnamed3183(o.sourceUris);
+ checkUnnamed3202(o.sourceUris);
checkTimePartitioning(o.timePartitioning);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationLoad--;
}
-buildUnnamed3184() {
+buildUnnamed3203() {
var o = new core.List<api.QueryParameter>();
o.add(buildQueryParameter());
o.add(buildQueryParameter());
return o;
}
-checkUnnamed3184(core.List<api.QueryParameter> o) {
+checkUnnamed3203(core.List<api.QueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameter(o[0]);
checkQueryParameter(o[1]);
}
-buildUnnamed3185() {
+buildUnnamed3204() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3185(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'));
}
-buildUnnamed3186() {
+buildUnnamed3205() {
var o = new core.Map<core.String, api.ExternalDataConfiguration>();
o["x"] = buildExternalDataConfiguration();
o["y"] = buildExternalDataConfiguration();
return o;
}
-checkUnnamed3186(core.Map<core.String, api.ExternalDataConfiguration> o) {
+checkUnnamed3205(core.Map<core.String, api.ExternalDataConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternalDataConfiguration(o["x"]);
checkExternalDataConfiguration(o["y"]);
}
-buildUnnamed3187() {
+buildUnnamed3206() {
var o = new core.List<api.UserDefinedFunctionResource>();
o.add(buildUserDefinedFunctionResource());
o.add(buildUserDefinedFunctionResource());
return o;
}
-checkUnnamed3187(core.List<api.UserDefinedFunctionResource> o) {
+checkUnnamed3206(core.List<api.UserDefinedFunctionResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedFunctionResource(o[0]);
checkUserDefinedFunctionResource(o[1]);
@@ -1005,13 +1005,13 @@
o.preserveNulls = true;
o.priority = "foo";
o.query = "foo";
- o.queryParameters = buildUnnamed3184();
- o.schemaUpdateOptions = buildUnnamed3185();
- o.tableDefinitions = buildUnnamed3186();
+ o.queryParameters = buildUnnamed3203();
+ o.schemaUpdateOptions = buildUnnamed3204();
+ o.tableDefinitions = buildUnnamed3205();
o.timePartitioning = buildTimePartitioning();
o.useLegacySql = true;
o.useQueryCache = true;
- o.userDefinedFunctionResources = buildUnnamed3187();
+ o.userDefinedFunctionResources = buildUnnamed3206();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationQuery--;
@@ -1033,26 +1033,26 @@
unittest.expect(o.preserveNulls, unittest.isTrue);
unittest.expect(o.priority, unittest.equals('foo'));
unittest.expect(o.query, unittest.equals('foo'));
- checkUnnamed3184(o.queryParameters);
- checkUnnamed3185(o.schemaUpdateOptions);
- checkUnnamed3186(o.tableDefinitions);
+ checkUnnamed3203(o.queryParameters);
+ checkUnnamed3204(o.schemaUpdateOptions);
+ checkUnnamed3205(o.tableDefinitions);
checkTimePartitioning(o.timePartitioning);
unittest.expect(o.useLegacySql, unittest.isTrue);
unittest.expect(o.useQueryCache, unittest.isTrue);
- checkUnnamed3187(o.userDefinedFunctionResources);
+ checkUnnamed3206(o.userDefinedFunctionResources);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationQuery--;
}
-buildUnnamed3188() {
+buildUnnamed3207() {
var o = new core.List<api.TableReference>();
o.add(buildTableReference());
o.add(buildTableReference());
return o;
}
-checkUnnamed3188(core.List<api.TableReference> o) {
+checkUnnamed3207(core.List<api.TableReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableReference(o[0]);
checkTableReference(o[1]);
@@ -1067,7 +1067,7 @@
o.destinationEncryptionConfiguration = buildEncryptionConfiguration();
o.destinationTable = buildTableReference();
o.sourceTable = buildTableReference();
- o.sourceTables = buildUnnamed3188();
+ o.sourceTables = buildUnnamed3207();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationTableCopy--;
@@ -1081,7 +1081,7 @@
checkEncryptionConfiguration(o.destinationEncryptionConfiguration);
checkTableReference(o.destinationTable);
checkTableReference(o.sourceTable);
- checkUnnamed3188(o.sourceTables);
+ checkUnnamed3207(o.sourceTables);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationTableCopy--;
@@ -1122,14 +1122,14 @@
buildCounterJobListJobs--;
}
-buildUnnamed3189() {
+buildUnnamed3208() {
var o = new core.List<api.JobListJobs>();
o.add(buildJobListJobs());
o.add(buildJobListJobs());
return o;
}
-checkUnnamed3189(core.List<api.JobListJobs> o) {
+checkUnnamed3208(core.List<api.JobListJobs> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobListJobs(o[0]);
checkJobListJobs(o[1]);
@@ -1141,7 +1141,7 @@
buildCounterJobList++;
if (buildCounterJobList < 3) {
o.etag = "foo";
- o.jobs = buildUnnamed3189();
+ o.jobs = buildUnnamed3208();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1153,7 +1153,7 @@
buildCounterJobList++;
if (buildCounterJobList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3189(o.jobs);
+ checkUnnamed3208(o.jobs);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1212,40 +1212,40 @@
buildCounterJobStatistics--;
}
-buildUnnamed3190() {
+buildUnnamed3209() {
var o = new core.List<api.ExplainQueryStage>();
o.add(buildExplainQueryStage());
o.add(buildExplainQueryStage());
return o;
}
-checkUnnamed3190(core.List<api.ExplainQueryStage> o) {
+checkUnnamed3209(core.List<api.ExplainQueryStage> o) {
unittest.expect(o, unittest.hasLength(2));
checkExplainQueryStage(o[0]);
checkExplainQueryStage(o[1]);
}
-buildUnnamed3191() {
+buildUnnamed3210() {
var o = new core.List<api.TableReference>();
o.add(buildTableReference());
o.add(buildTableReference());
return o;
}
-checkUnnamed3191(core.List<api.TableReference> o) {
+checkUnnamed3210(core.List<api.TableReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableReference(o[0]);
checkTableReference(o[1]);
}
-buildUnnamed3192() {
+buildUnnamed3211() {
var o = new core.List<api.QueryParameter>();
o.add(buildQueryParameter());
o.add(buildQueryParameter());
return o;
}
-checkUnnamed3192(core.List<api.QueryParameter> o) {
+checkUnnamed3211(core.List<api.QueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameter(o[0]);
checkQueryParameter(o[1]);
@@ -1261,14 +1261,14 @@
o.ddlOperationPerformed = "foo";
o.ddlTargetTable = buildTableReference();
o.numDmlAffectedRows = "foo";
- o.queryPlan = buildUnnamed3190();
- o.referencedTables = buildUnnamed3191();
+ o.queryPlan = buildUnnamed3209();
+ o.referencedTables = buildUnnamed3210();
o.schema = buildTableSchema();
o.statementType = "foo";
o.totalBytesBilled = "foo";
o.totalBytesProcessed = "foo";
o.totalSlotMs = "foo";
- o.undeclaredQueryParameters = buildUnnamed3192();
+ o.undeclaredQueryParameters = buildUnnamed3211();
}
buildCounterJobStatistics2--;
return o;
@@ -1282,14 +1282,14 @@
unittest.expect(o.ddlOperationPerformed, unittest.equals('foo'));
checkTableReference(o.ddlTargetTable);
unittest.expect(o.numDmlAffectedRows, unittest.equals('foo'));
- checkUnnamed3190(o.queryPlan);
- checkUnnamed3191(o.referencedTables);
+ checkUnnamed3209(o.queryPlan);
+ checkUnnamed3210(o.referencedTables);
checkTableSchema(o.schema);
unittest.expect(o.statementType, unittest.equals('foo'));
unittest.expect(o.totalBytesBilled, unittest.equals('foo'));
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
unittest.expect(o.totalSlotMs, unittest.equals('foo'));
- checkUnnamed3192(o.undeclaredQueryParameters);
+ checkUnnamed3211(o.undeclaredQueryParameters);
}
buildCounterJobStatistics2--;
}
@@ -1321,14 +1321,14 @@
buildCounterJobStatistics3--;
}
-buildUnnamed3193() {
+buildUnnamed3212() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3193(core.List<core.String> o) {
+checkUnnamed3212(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1339,7 +1339,7 @@
var o = new api.JobStatistics4();
buildCounterJobStatistics4++;
if (buildCounterJobStatistics4 < 3) {
- o.destinationUriFileCounts = buildUnnamed3193();
+ o.destinationUriFileCounts = buildUnnamed3212();
}
buildCounterJobStatistics4--;
return o;
@@ -1348,19 +1348,19 @@
checkJobStatistics4(api.JobStatistics4 o) {
buildCounterJobStatistics4++;
if (buildCounterJobStatistics4 < 3) {
- checkUnnamed3193(o.destinationUriFileCounts);
+ checkUnnamed3212(o.destinationUriFileCounts);
}
buildCounterJobStatistics4--;
}
-buildUnnamed3194() {
+buildUnnamed3213() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed3194(core.List<api.ErrorProto> o) {
+checkUnnamed3213(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
@@ -1372,7 +1372,7 @@
buildCounterJobStatus++;
if (buildCounterJobStatus < 3) {
o.errorResult = buildErrorProto();
- o.errors = buildUnnamed3194();
+ o.errors = buildUnnamed3213();
o.state = "foo";
}
buildCounterJobStatus--;
@@ -1383,7 +1383,7 @@
buildCounterJobStatus++;
if (buildCounterJobStatus < 3) {
checkErrorProto(o.errorResult);
- checkUnnamed3194(o.errors);
+ checkUnnamed3213(o.errors);
unittest.expect(o.state, unittest.equals('foo'));
}
buildCounterJobStatus--;
@@ -1445,14 +1445,14 @@
buildCounterProjectListProjects--;
}
-buildUnnamed3195() {
+buildUnnamed3214() {
var o = new core.List<api.ProjectListProjects>();
o.add(buildProjectListProjects());
o.add(buildProjectListProjects());
return o;
}
-checkUnnamed3195(core.List<api.ProjectListProjects> o) {
+checkUnnamed3214(core.List<api.ProjectListProjects> o) {
unittest.expect(o, unittest.hasLength(2));
checkProjectListProjects(o[0]);
checkProjectListProjects(o[1]);
@@ -1466,7 +1466,7 @@
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.projects = buildUnnamed3195();
+ o.projects = buildUnnamed3214();
o.totalItems = 42;
}
buildCounterProjectList--;
@@ -1479,7 +1479,7 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3195(o.projects);
+ checkUnnamed3214(o.projects);
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterProjectList--;
@@ -1550,14 +1550,14 @@
buildCounterQueryParameterTypeStructTypes--;
}
-buildUnnamed3196() {
+buildUnnamed3215() {
var o = new core.List<api.QueryParameterTypeStructTypes>();
o.add(buildQueryParameterTypeStructTypes());
o.add(buildQueryParameterTypeStructTypes());
return o;
}
-checkUnnamed3196(core.List<api.QueryParameterTypeStructTypes> o) {
+checkUnnamed3215(core.List<api.QueryParameterTypeStructTypes> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameterTypeStructTypes(o[0]);
checkQueryParameterTypeStructTypes(o[1]);
@@ -1569,7 +1569,7 @@
buildCounterQueryParameterType++;
if (buildCounterQueryParameterType < 3) {
o.arrayType = buildQueryParameterType();
- o.structTypes = buildUnnamed3196();
+ o.structTypes = buildUnnamed3215();
o.type = "foo";
}
buildCounterQueryParameterType--;
@@ -1580,33 +1580,33 @@
buildCounterQueryParameterType++;
if (buildCounterQueryParameterType < 3) {
checkQueryParameterType(o.arrayType);
- checkUnnamed3196(o.structTypes);
+ checkUnnamed3215(o.structTypes);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterQueryParameterType--;
}
-buildUnnamed3197() {
+buildUnnamed3216() {
var o = new core.List<api.QueryParameterValue>();
o.add(buildQueryParameterValue());
o.add(buildQueryParameterValue());
return o;
}
-checkUnnamed3197(core.List<api.QueryParameterValue> o) {
+checkUnnamed3216(core.List<api.QueryParameterValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameterValue(o[0]);
checkQueryParameterValue(o[1]);
}
-buildUnnamed3198() {
+buildUnnamed3217() {
var o = new core.Map<core.String, api.QueryParameterValue>();
o["x"] = buildQueryParameterValue();
o["y"] = buildQueryParameterValue();
return o;
}
-checkUnnamed3198(core.Map<core.String, api.QueryParameterValue> o) {
+checkUnnamed3217(core.Map<core.String, api.QueryParameterValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameterValue(o["x"]);
checkQueryParameterValue(o["y"]);
@@ -1617,8 +1617,8 @@
var o = new api.QueryParameterValue();
buildCounterQueryParameterValue++;
if (buildCounterQueryParameterValue < 3) {
- o.arrayValues = buildUnnamed3197();
- o.structValues = buildUnnamed3198();
+ o.arrayValues = buildUnnamed3216();
+ o.structValues = buildUnnamed3217();
o.value = "foo";
}
buildCounterQueryParameterValue--;
@@ -1628,21 +1628,21 @@
checkQueryParameterValue(api.QueryParameterValue o) {
buildCounterQueryParameterValue++;
if (buildCounterQueryParameterValue < 3) {
- checkUnnamed3197(o.arrayValues);
- checkUnnamed3198(o.structValues);
+ checkUnnamed3216(o.arrayValues);
+ checkUnnamed3217(o.structValues);
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterQueryParameterValue--;
}
-buildUnnamed3199() {
+buildUnnamed3218() {
var o = new core.List<api.QueryParameter>();
o.add(buildQueryParameter());
o.add(buildQueryParameter());
return o;
}
-checkUnnamed3199(core.List<api.QueryParameter> o) {
+checkUnnamed3218(core.List<api.QueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameter(o[0]);
checkQueryParameter(o[1]);
@@ -1660,7 +1660,7 @@
o.parameterMode = "foo";
o.preserveNulls = true;
o.query = "foo";
- o.queryParameters = buildUnnamed3199();
+ o.queryParameters = buildUnnamed3218();
o.timeoutMs = 42;
o.useLegacySql = true;
o.useQueryCache = true;
@@ -1679,7 +1679,7 @@
unittest.expect(o.parameterMode, unittest.equals('foo'));
unittest.expect(o.preserveNulls, unittest.isTrue);
unittest.expect(o.query, unittest.equals('foo'));
- checkUnnamed3199(o.queryParameters);
+ checkUnnamed3218(o.queryParameters);
unittest.expect(o.timeoutMs, unittest.equals(42));
unittest.expect(o.useLegacySql, unittest.isTrue);
unittest.expect(o.useQueryCache, unittest.isTrue);
@@ -1687,27 +1687,27 @@
buildCounterQueryRequest--;
}
-buildUnnamed3200() {
+buildUnnamed3219() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed3200(core.List<api.ErrorProto> o) {
+checkUnnamed3219(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
}
-buildUnnamed3201() {
+buildUnnamed3220() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed3201(core.List<api.TableRow> o) {
+checkUnnamed3220(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -1719,13 +1719,13 @@
buildCounterQueryResponse++;
if (buildCounterQueryResponse < 3) {
o.cacheHit = true;
- o.errors = buildUnnamed3200();
+ o.errors = buildUnnamed3219();
o.jobComplete = true;
o.jobReference = buildJobReference();
o.kind = "foo";
o.numDmlAffectedRows = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed3201();
+ o.rows = buildUnnamed3220();
o.schema = buildTableSchema();
o.totalBytesProcessed = "foo";
o.totalRows = "foo";
@@ -1738,13 +1738,13 @@
buildCounterQueryResponse++;
if (buildCounterQueryResponse < 3) {
unittest.expect(o.cacheHit, unittest.isTrue);
- checkUnnamed3200(o.errors);
+ checkUnnamed3219(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'));
- checkUnnamed3201(o.rows);
+ checkUnnamed3220(o.rows);
checkTableSchema(o.schema);
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
unittest.expect(o.totalRows, unittest.equals('foo'));
@@ -1775,14 +1775,14 @@
buildCounterStreamingbuffer--;
}
-buildUnnamed3202() {
+buildUnnamed3221() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3202(core.Map<core.String, core.String> o) {
+checkUnnamed3221(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'));
@@ -1802,7 +1802,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed3202();
+ o.labels = buildUnnamed3221();
o.lastModifiedTime = "foo";
o.location = "foo";
o.numBytes = "foo";
@@ -1832,7 +1832,7 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3202(o.labels);
+ checkUnnamed3221(o.labels);
unittest.expect(o.lastModifiedTime, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.numBytes, unittest.equals('foo'));
@@ -1897,14 +1897,14 @@
buildCounterTableDataInsertAllRequestRows--;
}
-buildUnnamed3203() {
+buildUnnamed3222() {
var o = new core.List<api.TableDataInsertAllRequestRows>();
o.add(buildTableDataInsertAllRequestRows());
o.add(buildTableDataInsertAllRequestRows());
return o;
}
-checkUnnamed3203(core.List<api.TableDataInsertAllRequestRows> o) {
+checkUnnamed3222(core.List<api.TableDataInsertAllRequestRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableDataInsertAllRequestRows(o[0]);
checkTableDataInsertAllRequestRows(o[1]);
@@ -1917,7 +1917,7 @@
if (buildCounterTableDataInsertAllRequest < 3) {
o.ignoreUnknownValues = true;
o.kind = "foo";
- o.rows = buildUnnamed3203();
+ o.rows = buildUnnamed3222();
o.skipInvalidRows = true;
o.templateSuffix = "foo";
}
@@ -1930,21 +1930,21 @@
if (buildCounterTableDataInsertAllRequest < 3) {
unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3203(o.rows);
+ checkUnnamed3222(o.rows);
unittest.expect(o.skipInvalidRows, unittest.isTrue);
unittest.expect(o.templateSuffix, unittest.equals('foo'));
}
buildCounterTableDataInsertAllRequest--;
}
-buildUnnamed3204() {
+buildUnnamed3223() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed3204(core.List<api.ErrorProto> o) {
+checkUnnamed3223(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
@@ -1955,7 +1955,7 @@
var o = new api.TableDataInsertAllResponseInsertErrors();
buildCounterTableDataInsertAllResponseInsertErrors++;
if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
- o.errors = buildUnnamed3204();
+ o.errors = buildUnnamed3223();
o.index = 42;
}
buildCounterTableDataInsertAllResponseInsertErrors--;
@@ -1966,20 +1966,20 @@
api.TableDataInsertAllResponseInsertErrors o) {
buildCounterTableDataInsertAllResponseInsertErrors++;
if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
- checkUnnamed3204(o.errors);
+ checkUnnamed3223(o.errors);
unittest.expect(o.index, unittest.equals(42));
}
buildCounterTableDataInsertAllResponseInsertErrors--;
}
-buildUnnamed3205() {
+buildUnnamed3224() {
var o = new core.List<api.TableDataInsertAllResponseInsertErrors>();
o.add(buildTableDataInsertAllResponseInsertErrors());
o.add(buildTableDataInsertAllResponseInsertErrors());
return o;
}
-checkUnnamed3205(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
+checkUnnamed3224(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableDataInsertAllResponseInsertErrors(o[0]);
checkTableDataInsertAllResponseInsertErrors(o[1]);
@@ -1990,7 +1990,7 @@
var o = new api.TableDataInsertAllResponse();
buildCounterTableDataInsertAllResponse++;
if (buildCounterTableDataInsertAllResponse < 3) {
- o.insertErrors = buildUnnamed3205();
+ o.insertErrors = buildUnnamed3224();
o.kind = "foo";
}
buildCounterTableDataInsertAllResponse--;
@@ -2000,20 +2000,20 @@
checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) {
buildCounterTableDataInsertAllResponse++;
if (buildCounterTableDataInsertAllResponse < 3) {
- checkUnnamed3205(o.insertErrors);
+ checkUnnamed3224(o.insertErrors);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTableDataInsertAllResponse--;
}
-buildUnnamed3206() {
+buildUnnamed3225() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed3206(core.List<api.TableRow> o) {
+checkUnnamed3225(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -2027,7 +2027,7 @@
o.etag = "foo";
o.kind = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed3206();
+ o.rows = buildUnnamed3225();
o.totalRows = "foo";
}
buildCounterTableDataList--;
@@ -2040,20 +2040,20 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed3206(o.rows);
+ checkUnnamed3225(o.rows);
unittest.expect(o.totalRows, unittest.equals('foo'));
}
buildCounterTableDataList--;
}
-buildUnnamed3207() {
+buildUnnamed3226() {
var o = new core.List<api.TableFieldSchema>();
o.add(buildTableFieldSchema());
o.add(buildTableFieldSchema());
return o;
}
-checkUnnamed3207(core.List<api.TableFieldSchema> o) {
+checkUnnamed3226(core.List<api.TableFieldSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableFieldSchema(o[0]);
checkTableFieldSchema(o[1]);
@@ -2065,7 +2065,7 @@
buildCounterTableFieldSchema++;
if (buildCounterTableFieldSchema < 3) {
o.description = "foo";
- o.fields = buildUnnamed3207();
+ o.fields = buildUnnamed3226();
o.mode = "foo";
o.name = "foo";
o.type = "foo";
@@ -2078,7 +2078,7 @@
buildCounterTableFieldSchema++;
if (buildCounterTableFieldSchema < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed3207(o.fields);
+ checkUnnamed3226(o.fields);
unittest.expect(o.mode, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -2086,14 +2086,14 @@
buildCounterTableFieldSchema--;
}
-buildUnnamed3208() {
+buildUnnamed3227() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3208(core.Map<core.String, core.String> o) {
+checkUnnamed3227(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'));
@@ -2128,7 +2128,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed3208();
+ o.labels = buildUnnamed3227();
o.tableReference = buildTableReference();
o.timePartitioning = buildTimePartitioning();
o.type = "foo";
@@ -2146,7 +2146,7 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3208(o.labels);
+ checkUnnamed3227(o.labels);
checkTableReference(o.tableReference);
checkTimePartitioning(o.timePartitioning);
unittest.expect(o.type, unittest.equals('foo'));
@@ -2155,14 +2155,14 @@
buildCounterTableListTables--;
}
-buildUnnamed3209() {
+buildUnnamed3228() {
var o = new core.List<api.TableListTables>();
o.add(buildTableListTables());
o.add(buildTableListTables());
return o;
}
-checkUnnamed3209(core.List<api.TableListTables> o) {
+checkUnnamed3228(core.List<api.TableListTables> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableListTables(o[0]);
checkTableListTables(o[1]);
@@ -2176,7 +2176,7 @@
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.tables = buildUnnamed3209();
+ o.tables = buildUnnamed3228();
o.totalItems = 42;
}
buildCounterTableList--;
@@ -2189,7 +2189,7 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3209(o.tables);
+ checkUnnamed3228(o.tables);
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterTableList--;
@@ -2218,14 +2218,14 @@
buildCounterTableReference--;
}
-buildUnnamed3210() {
+buildUnnamed3229() {
var o = new core.List<api.TableCell>();
o.add(buildTableCell());
o.add(buildTableCell());
return o;
}
-checkUnnamed3210(core.List<api.TableCell> o) {
+checkUnnamed3229(core.List<api.TableCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableCell(o[0]);
checkTableCell(o[1]);
@@ -2236,7 +2236,7 @@
var o = new api.TableRow();
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
- o.f = buildUnnamed3210();
+ o.f = buildUnnamed3229();
}
buildCounterTableRow--;
return o;
@@ -2245,19 +2245,19 @@
checkTableRow(api.TableRow o) {
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
- checkUnnamed3210(o.f);
+ checkUnnamed3229(o.f);
}
buildCounterTableRow--;
}
-buildUnnamed3211() {
+buildUnnamed3230() {
var o = new core.List<api.TableFieldSchema>();
o.add(buildTableFieldSchema());
o.add(buildTableFieldSchema());
return o;
}
-checkUnnamed3211(core.List<api.TableFieldSchema> o) {
+checkUnnamed3230(core.List<api.TableFieldSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableFieldSchema(o[0]);
checkTableFieldSchema(o[1]);
@@ -2268,7 +2268,7 @@
var o = new api.TableSchema();
buildCounterTableSchema++;
if (buildCounterTableSchema < 3) {
- o.fields = buildUnnamed3211();
+ o.fields = buildUnnamed3230();
}
buildCounterTableSchema--;
return o;
@@ -2277,7 +2277,7 @@
checkTableSchema(api.TableSchema o) {
buildCounterTableSchema++;
if (buildCounterTableSchema < 3) {
- checkUnnamed3211(o.fields);
+ checkUnnamed3230(o.fields);
}
buildCounterTableSchema--;
}
@@ -2326,14 +2326,14 @@
buildCounterUserDefinedFunctionResource--;
}
-buildUnnamed3212() {
+buildUnnamed3231() {
var o = new core.List<api.UserDefinedFunctionResource>();
o.add(buildUserDefinedFunctionResource());
o.add(buildUserDefinedFunctionResource());
return o;
}
-checkUnnamed3212(core.List<api.UserDefinedFunctionResource> o) {
+checkUnnamed3231(core.List<api.UserDefinedFunctionResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedFunctionResource(o[0]);
checkUserDefinedFunctionResource(o[1]);
@@ -2346,7 +2346,7 @@
if (buildCounterViewDefinition < 3) {
o.query = "foo";
o.useLegacySql = true;
- o.userDefinedFunctionResources = buildUnnamed3212();
+ o.userDefinedFunctionResources = buildUnnamed3231();
}
buildCounterViewDefinition--;
return o;
@@ -2357,19 +2357,19 @@
if (buildCounterViewDefinition < 3) {
unittest.expect(o.query, unittest.equals('foo'));
unittest.expect(o.useLegacySql, unittest.isTrue);
- checkUnnamed3212(o.userDefinedFunctionResources);
+ checkUnnamed3231(o.userDefinedFunctionResources);
}
buildCounterViewDefinition--;
}
-buildUnnamed3213() {
+buildUnnamed3232() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3213(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'));
@@ -3577,7 +3577,7 @@
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_projection = "foo";
- var arg_stateFilter = buildUnnamed3213();
+ var arg_stateFilter = buildUnnamed3232();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/bigquerydatatransfer/v1_test.dart b/generated/googleapis/test/bigquerydatatransfer/v1_test.dart
index 121d879..43383ed 100644
--- a/generated/googleapis/test/bigquerydatatransfer/v1_test.dart
+++ b/generated/googleapis/test/bigquerydatatransfer/v1_test.dart
@@ -84,27 +84,27 @@
buildCounterCheckValidCredsResponse--;
}
-buildUnnamed683() {
+buildUnnamed688() {
var o = new core.List<api.DataSourceParameter>();
o.add(buildDataSourceParameter());
o.add(buildDataSourceParameter());
return o;
}
-checkUnnamed683(core.List<api.DataSourceParameter> o) {
+checkUnnamed688(core.List<api.DataSourceParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataSourceParameter(o[0]);
checkDataSourceParameter(o[1]);
}
-buildUnnamed684() {
+buildUnnamed689() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed684(core.List<core.String> o) {
+checkUnnamed689(core.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 = buildUnnamed683();
- o.scopes = buildUnnamed684();
+ o.parameters = buildUnnamed688();
+ o.scopes = buildUnnamed689();
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'));
- checkUnnamed683(o.parameters);
- checkUnnamed684(o.scopes);
+ checkUnnamed688(o.parameters);
+ checkUnnamed689(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--;
}
-buildUnnamed685() {
+buildUnnamed690() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed685(core.List<core.String> o) {
+checkUnnamed690(core.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() {
+buildUnnamed691() {
var o = new core.List<api.DataSourceParameter>();
o.add(buildDataSourceParameter());
o.add(buildDataSourceParameter());
return o;
}
-checkUnnamed686(core.List<api.DataSourceParameter> o) {
+checkUnnamed691(core.List<api.DataSourceParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataSourceParameter(o[0]);
checkDataSourceParameter(o[1]);
@@ -194,10 +194,10 @@
var o = new api.DataSourceParameter();
buildCounterDataSourceParameter++;
if (buildCounterDataSourceParameter < 3) {
- o.allowedValues = buildUnnamed685();
+ o.allowedValues = buildUnnamed690();
o.description = "foo";
o.displayName = "foo";
- o.fields = buildUnnamed686();
+ o.fields = buildUnnamed691();
o.immutable = true;
o.maxValue = 42.0;
o.minValue = 42.0;
@@ -217,10 +217,10 @@
checkDataSourceParameter(api.DataSourceParameter o) {
buildCounterDataSourceParameter++;
if (buildCounterDataSourceParameter < 3) {
- checkUnnamed685(o.allowedValues);
+ checkUnnamed690(o.allowedValues);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed686(o.fields);
+ checkUnnamed691(o.fields);
unittest.expect(o.immutable, unittest.isTrue);
unittest.expect(o.maxValue, unittest.equals(42.0));
unittest.expect(o.minValue, unittest.equals(42.0));
@@ -251,14 +251,14 @@
buildCounterEmpty--;
}
-buildUnnamed687() {
+buildUnnamed692() {
var o = new core.List<api.DataSource>();
o.add(buildDataSource());
o.add(buildDataSource());
return o;
}
-checkUnnamed687(core.List<api.DataSource> o) {
+checkUnnamed692(core.List<api.DataSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataSource(o[0]);
checkDataSource(o[1]);
@@ -269,7 +269,7 @@
var o = new api.ListDataSourcesResponse();
buildCounterListDataSourcesResponse++;
if (buildCounterListDataSourcesResponse < 3) {
- o.dataSources = buildUnnamed687();
+ o.dataSources = buildUnnamed692();
o.nextPageToken = "foo";
}
buildCounterListDataSourcesResponse--;
@@ -279,20 +279,20 @@
checkListDataSourcesResponse(api.ListDataSourcesResponse o) {
buildCounterListDataSourcesResponse++;
if (buildCounterListDataSourcesResponse < 3) {
- checkUnnamed687(o.dataSources);
+ checkUnnamed692(o.dataSources);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDataSourcesResponse--;
}
-buildUnnamed688() {
+buildUnnamed693() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed688(core.List<api.Location> o) {
+checkUnnamed693(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -303,7 +303,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed688();
+ o.locations = buildUnnamed693();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -313,20 +313,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed688(o.locations);
+ checkUnnamed693(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed689() {
+buildUnnamed694() {
var o = new core.List<api.TransferConfig>();
o.add(buildTransferConfig());
o.add(buildTransferConfig());
return o;
}
-checkUnnamed689(core.List<api.TransferConfig> o) {
+checkUnnamed694(core.List<api.TransferConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransferConfig(o[0]);
checkTransferConfig(o[1]);
@@ -338,7 +338,7 @@
buildCounterListTransferConfigsResponse++;
if (buildCounterListTransferConfigsResponse < 3) {
o.nextPageToken = "foo";
- o.transferConfigs = buildUnnamed689();
+ o.transferConfigs = buildUnnamed694();
}
buildCounterListTransferConfigsResponse--;
return o;
@@ -348,19 +348,19 @@
buildCounterListTransferConfigsResponse++;
if (buildCounterListTransferConfigsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed689(o.transferConfigs);
+ checkUnnamed694(o.transferConfigs);
}
buildCounterListTransferConfigsResponse--;
}
-buildUnnamed690() {
+buildUnnamed695() {
var o = new core.List<api.TransferMessage>();
o.add(buildTransferMessage());
o.add(buildTransferMessage());
return o;
}
-checkUnnamed690(core.List<api.TransferMessage> o) {
+checkUnnamed695(core.List<api.TransferMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransferMessage(o[0]);
checkTransferMessage(o[1]);
@@ -372,7 +372,7 @@
buildCounterListTransferLogsResponse++;
if (buildCounterListTransferLogsResponse < 3) {
o.nextPageToken = "foo";
- o.transferMessages = buildUnnamed690();
+ o.transferMessages = buildUnnamed695();
}
buildCounterListTransferLogsResponse--;
return o;
@@ -382,19 +382,19 @@
buildCounterListTransferLogsResponse++;
if (buildCounterListTransferLogsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed690(o.transferMessages);
+ checkUnnamed695(o.transferMessages);
}
buildCounterListTransferLogsResponse--;
}
-buildUnnamed691() {
+buildUnnamed696() {
var o = new core.List<api.TransferRun>();
o.add(buildTransferRun());
o.add(buildTransferRun());
return o;
}
-checkUnnamed691(core.List<api.TransferRun> o) {
+checkUnnamed696(core.List<api.TransferRun> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransferRun(o[0]);
checkTransferRun(o[1]);
@@ -406,7 +406,7 @@
buildCounterListTransferRunsResponse++;
if (buildCounterListTransferRunsResponse < 3) {
o.nextPageToken = "foo";
- o.transferRuns = buildUnnamed691();
+ o.transferRuns = buildUnnamed696();
}
buildCounterListTransferRunsResponse--;
return o;
@@ -416,25 +416,25 @@
buildCounterListTransferRunsResponse++;
if (buildCounterListTransferRunsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed691(o.transferRuns);
+ checkUnnamed696(o.transferRuns);
}
buildCounterListTransferRunsResponse--;
}
-buildUnnamed692() {
+buildUnnamed697() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed692(core.Map<core.String, core.String> 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'));
}
-buildUnnamed693() {
+buildUnnamed698() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -449,7 +449,7 @@
return o;
}
-checkUnnamed693(core.Map<core.String, core.Object> o) {
+checkUnnamed698(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));
@@ -468,9 +468,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed692();
+ o.labels = buildUnnamed697();
o.locationId = "foo";
- o.metadata = buildUnnamed693();
+ o.metadata = buildUnnamed698();
o.name = "foo";
}
buildCounterLocation--;
@@ -480,9 +480,9 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed692(o.labels);
+ checkUnnamed697(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed693(o.metadata);
+ checkUnnamed698(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -509,14 +509,14 @@
buildCounterScheduleTransferRunsRequest--;
}
-buildUnnamed694() {
+buildUnnamed699() {
var o = new core.List<api.TransferRun>();
o.add(buildTransferRun());
o.add(buildTransferRun());
return o;
}
-checkUnnamed694(core.List<api.TransferRun> o) {
+checkUnnamed699(core.List<api.TransferRun> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransferRun(o[0]);
checkTransferRun(o[1]);
@@ -527,7 +527,7 @@
var o = new api.ScheduleTransferRunsResponse();
buildCounterScheduleTransferRunsResponse++;
if (buildCounterScheduleTransferRunsResponse < 3) {
- o.runs = buildUnnamed694();
+ o.runs = buildUnnamed699();
}
buildCounterScheduleTransferRunsResponse--;
return o;
@@ -536,12 +536,12 @@
checkScheduleTransferRunsResponse(api.ScheduleTransferRunsResponse o) {
buildCounterScheduleTransferRunsResponse++;
if (buildCounterScheduleTransferRunsResponse < 3) {
- checkUnnamed694(o.runs);
+ checkUnnamed699(o.runs);
}
buildCounterScheduleTransferRunsResponse--;
}
-buildUnnamed695() {
+buildUnnamed700() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -556,7 +556,7 @@
return o;
}
-checkUnnamed695(core.Map<core.String, core.Object> o) {
+checkUnnamed700(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));
@@ -570,17 +570,17 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed696() {
+buildUnnamed701() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed695());
- o.add(buildUnnamed695());
+ o.add(buildUnnamed700());
+ o.add(buildUnnamed700());
return o;
}
-checkUnnamed696(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));
- checkUnnamed695(o[0]);
- checkUnnamed695(o[1]);
+ checkUnnamed700(o[0]);
+ checkUnnamed700(o[1]);
}
core.int buildCounterStatus = 0;
@@ -589,7 +589,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed696();
+ o.details = buildUnnamed701();
o.message = "foo";
}
buildCounterStatus--;
@@ -600,13 +600,13 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed696(o.details);
+ checkUnnamed701(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed697() {
+buildUnnamed702() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -621,7 +621,7 @@
return o;
}
-checkUnnamed697(core.Map<core.String, core.Object> o) {
+checkUnnamed702(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));
@@ -648,7 +648,7 @@
o.displayName = "foo";
o.name = "foo";
o.nextRunTime = "foo";
- o.params = buildUnnamed697();
+ o.params = buildUnnamed702();
o.schedule = "foo";
o.state = "foo";
o.updateTime = "foo";
@@ -669,7 +669,7 @@
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nextRunTime, unittest.equals('foo'));
- checkUnnamed697(o.params);
+ checkUnnamed702(o.params);
unittest.expect(o.schedule, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.updateTime, unittest.equals('foo'));
@@ -701,7 +701,7 @@
buildCounterTransferMessage--;
}
-buildUnnamed698() {
+buildUnnamed703() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -716,7 +716,7 @@
return o;
}
-checkUnnamed698(core.Map<core.String, core.Object> o) {
+checkUnnamed703(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));
@@ -740,7 +740,7 @@
o.endTime = "foo";
o.errorStatus = buildStatus();
o.name = "foo";
- o.params = buildUnnamed698();
+ o.params = buildUnnamed703();
o.runTime = "foo";
o.schedule = "foo";
o.scheduleTime = "foo";
@@ -761,7 +761,7 @@
unittest.expect(o.endTime, unittest.equals('foo'));
checkStatus(o.errorStatus);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed698(o.params);
+ checkUnnamed703(o.params);
unittest.expect(o.runTime, unittest.equals('foo'));
unittest.expect(o.schedule, unittest.equals('foo'));
unittest.expect(o.scheduleTime, unittest.equals('foo'));
@@ -773,71 +773,6 @@
buildCounterTransferRun--;
}
-buildUnnamed699() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed699(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed700() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed700(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-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'));
-}
-
-buildUnnamed702() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed702(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed703() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed703(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed704() {
var o = new core.List<core.String>();
o.add("foo");
@@ -851,6 +786,71 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+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'));
+}
+
+buildUnnamed706() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed706(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed707() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed707(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed708() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+buildUnnamed709() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed709(core.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", () {
@@ -1217,9 +1217,9 @@
api.ProjectsLocationsResourceApi res =
new api.BigquerydatatransferApi(mock).projects.locations;
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;
@@ -1252,11 +1252,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 = {
@@ -1267,9 +1267,9 @@
}), true);
res
.list(arg_name,
- filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListLocationsResponse response) {
checkListLocationsResponse(response);
@@ -1630,9 +1630,9 @@
.locations
.transferConfigs;
var arg_parent = "foo";
+ var arg_dataSourceIds = buildUnnamed704();
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_dataSourceIds = buildUnnamed699();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1666,11 +1666,11 @@
}
}
unittest.expect(
+ queryMap["dataSourceIds"], unittest.equals(arg_dataSourceIds));
+ 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1681,9 +1681,9 @@
}), true);
res
.list(arg_parent,
+ dataSourceIds: arg_dataSourceIds,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
- dataSourceIds: arg_dataSourceIds,
$fields: arg_$fields)
.then(unittest
.expectAsync1(((api.ListTransferConfigsResponse response) {
@@ -1700,8 +1700,8 @@
.transferConfigs;
var arg_request = buildTransferConfig();
var arg_name = "foo";
- var arg_authorizationCode = "foo";
var arg_updateMask = "foo";
+ var arg_authorizationCode = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TransferConfig.fromJson(json);
@@ -1737,10 +1737,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["authorizationCode"].first,
- unittest.equals(arg_authorizationCode));
unittest.expect(
queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(queryMap["authorizationCode"].first,
+ unittest.equals(arg_authorizationCode));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1751,8 +1751,8 @@
}), true);
res
.patch(arg_request, arg_name,
- authorizationCode: arg_authorizationCode,
updateMask: arg_updateMask,
+ authorizationCode: arg_authorizationCode,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.TransferConfig response) {
checkTransferConfig(response);
@@ -1941,10 +1941,10 @@
.transferConfigs
.runs;
var arg_parent = "foo";
- var arg_runAttempt = "foo";
var arg_pageToken = "foo";
- var arg_states = buildUnnamed700();
+ var arg_states = buildUnnamed705();
var arg_pageSize = 42;
+ var arg_runAttempt = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1978,12 +1978,12 @@
}
}
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["runAttempt"].first, unittest.equals(arg_runAttempt));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1994,10 +1994,10 @@
}), true);
res
.list(arg_parent,
- runAttempt: arg_runAttempt,
pageToken: arg_pageToken,
states: arg_states,
pageSize: arg_pageSize,
+ runAttempt: arg_runAttempt,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListTransferRunsResponse response) {
checkListTransferRunsResponse(response);
@@ -2020,7 +2020,7 @@
var arg_parent = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_messageTypes = buildUnnamed701();
+ var arg_messageTypes = buildUnnamed706();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2251,7 +2251,7 @@
var arg_parent = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_dataSourceIds = buildUnnamed702();
+ var arg_dataSourceIds = buildUnnamed707();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2541,10 +2541,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 = buildUnnamed703();
+ var arg_states = buildUnnamed708();
var arg_pageSize = 42;
+ var arg_runAttempt = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2578,12 +2578,12 @@
}
}
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["runAttempt"].first, unittest.equals(arg_runAttempt));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2594,10 +2594,10 @@
}), true);
res
.list(arg_parent,
- runAttempt: arg_runAttempt,
pageToken: arg_pageToken,
states: arg_states,
pageSize: arg_pageSize,
+ runAttempt: arg_runAttempt,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListTransferRunsResponse response) {
checkListTransferRunsResponse(response);
@@ -2616,9 +2616,9 @@
.runs
.transferLogs;
var arg_parent = "foo";
- var arg_messageTypes = buildUnnamed704();
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_messageTypes = buildUnnamed709();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2652,11 +2652,11 @@
}
}
unittest.expect(
- queryMap["messageTypes"], unittest.equals(arg_messageTypes));
- 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2667,9 +2667,9 @@
}), true);
res
.list(arg_parent,
- messageTypes: arg_messageTypes,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ messageTypes: arg_messageTypes,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListTransferLogsResponse response) {
checkListTransferLogsResponse(response);
diff --git a/generated/googleapis/test/blogger/v3_test.dart b/generated/googleapis/test/blogger/v3_test.dart
index 3e8424e..fab2cfd 100644
--- a/generated/googleapis/test/blogger/v3_test.dart
+++ b/generated/googleapis/test/blogger/v3_test.dart
@@ -94,14 +94,14 @@
buildCounterBlogPages--;
}
-buildUnnamed1320() {
+buildUnnamed1329() {
var o = new core.List<api.Post>();
o.add(buildPost());
o.add(buildPost());
return o;
}
-checkUnnamed1320(core.List<api.Post> o) {
+checkUnnamed1329(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 = buildUnnamed1320();
+ o.items = buildUnnamed1329();
o.selfLink = "foo";
o.totalItems = 42;
}
@@ -123,7 +123,7 @@
checkBlogPosts(api.BlogPosts o) {
buildCounterBlogPosts++;
if (buildCounterBlogPosts < 3) {
- checkUnnamed1320(o.items);
+ checkUnnamed1329(o.items);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
}
@@ -175,27 +175,27 @@
buildCounterBlog--;
}
-buildUnnamed1321() {
+buildUnnamed1330() {
var o = new core.List<api.BlogUserInfo>();
o.add(buildBlogUserInfo());
o.add(buildBlogUserInfo());
return o;
}
-checkUnnamed1321(core.List<api.BlogUserInfo> o) {
+checkUnnamed1330(core.List<api.BlogUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkBlogUserInfo(o[0]);
checkBlogUserInfo(o[1]);
}
-buildUnnamed1322() {
+buildUnnamed1331() {
var o = new core.List<api.Blog>();
o.add(buildBlog());
o.add(buildBlog());
return o;
}
-checkUnnamed1322(core.List<api.Blog> o) {
+checkUnnamed1331(core.List<api.Blog> o) {
unittest.expect(o, unittest.hasLength(2));
checkBlog(o[0]);
checkBlog(o[1]);
@@ -206,8 +206,8 @@
var o = new api.BlogList();
buildCounterBlogList++;
if (buildCounterBlogList < 3) {
- o.blogUserInfos = buildUnnamed1321();
- o.items = buildUnnamed1322();
+ o.blogUserInfos = buildUnnamed1330();
+ o.items = buildUnnamed1331();
o.kind = "foo";
}
buildCounterBlogList--;
@@ -217,8 +217,8 @@
checkBlogList(api.BlogList o) {
buildCounterBlogList++;
if (buildCounterBlogList < 3) {
- checkUnnamed1321(o.blogUserInfos);
- checkUnnamed1322(o.items);
+ checkUnnamed1330(o.blogUserInfos);
+ checkUnnamed1331(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBlogList--;
@@ -418,14 +418,14 @@
buildCounterComment--;
}
-buildUnnamed1323() {
+buildUnnamed1332() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed1323(core.List<api.Comment> o) {
+checkUnnamed1332(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -437,7 +437,7 @@
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1323();
+ o.items = buildUnnamed1332();
o.kind = "foo";
o.nextPageToken = "foo";
o.prevPageToken = "foo";
@@ -450,7 +450,7 @@
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1323(o.items);
+ checkUnnamed1332(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.prevPageToken, unittest.equals('foo'));
@@ -564,14 +564,14 @@
buildCounterPage--;
}
-buildUnnamed1324() {
+buildUnnamed1333() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1324(core.List<api.Page> o) {
+checkUnnamed1333(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -583,7 +583,7 @@
buildCounterPageList++;
if (buildCounterPageList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1324();
+ o.items = buildUnnamed1333();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -595,7 +595,7 @@
buildCounterPageList++;
if (buildCounterPageList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1324(o.items);
+ checkUnnamed1333(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -623,14 +623,14 @@
buildCounterPageviewsCounts--;
}
-buildUnnamed1325() {
+buildUnnamed1334() {
var o = new core.List<api.PageviewsCounts>();
o.add(buildPageviewsCounts());
o.add(buildPageviewsCounts());
return o;
}
-checkUnnamed1325(core.List<api.PageviewsCounts> o) {
+checkUnnamed1334(core.List<api.PageviewsCounts> o) {
unittest.expect(o, unittest.hasLength(2));
checkPageviewsCounts(o[0]);
checkPageviewsCounts(o[1]);
@@ -642,7 +642,7 @@
buildCounterPageviews++;
if (buildCounterPageviews < 3) {
o.blogId = "foo";
- o.counts = buildUnnamed1325();
+ o.counts = buildUnnamed1334();
o.kind = "foo";
}
buildCounterPageviews--;
@@ -653,7 +653,7 @@
buildCounterPageviews++;
if (buildCounterPageviews < 3) {
unittest.expect(o.blogId, unittest.equals('foo'));
- checkUnnamed1325(o.counts);
+ checkUnnamed1334(o.counts);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPageviews--;
@@ -741,27 +741,27 @@
buildCounterPostImages--;
}
-buildUnnamed1326() {
+buildUnnamed1335() {
var o = new core.List<api.PostImages>();
o.add(buildPostImages());
o.add(buildPostImages());
return o;
}
-checkUnnamed1326(core.List<api.PostImages> o) {
+checkUnnamed1335(core.List<api.PostImages> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostImages(o[0]);
checkPostImages(o[1]);
}
-buildUnnamed1327() {
+buildUnnamed1336() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1327(core.List<core.String> o) {
+checkUnnamed1336(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -792,14 +792,14 @@
buildCounterPostLocation--;
}
-buildUnnamed1328() {
+buildUnnamed1337() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed1328(core.List<api.Comment> o) {
+checkUnnamed1337(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -810,7 +810,7 @@
var o = new api.PostReplies();
buildCounterPostReplies++;
if (buildCounterPostReplies < 3) {
- o.items = buildUnnamed1328();
+ o.items = buildUnnamed1337();
o.selfLink = "foo";
o.totalItems = "foo";
}
@@ -821,7 +821,7 @@
checkPostReplies(api.PostReplies o) {
buildCounterPostReplies++;
if (buildCounterPostReplies < 3) {
- checkUnnamed1328(o.items);
+ checkUnnamed1337(o.items);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals('foo'));
}
@@ -839,9 +839,9 @@
o.customMetaData = "foo";
o.etag = "foo";
o.id = "foo";
- o.images = buildUnnamed1326();
+ o.images = buildUnnamed1335();
o.kind = "foo";
- o.labels = buildUnnamed1327();
+ o.labels = buildUnnamed1336();
o.location = buildPostLocation();
o.published = core.DateTime.parse("2002-02-27T14:01:02");
o.readerComments = "foo";
@@ -866,9 +866,9 @@
unittest.expect(o.customMetaData, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1326(o.images);
+ checkUnnamed1335(o.images);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1327(o.labels);
+ checkUnnamed1336(o.labels);
checkPostLocation(o.location);
unittest.expect(o.published,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -885,14 +885,14 @@
buildCounterPost--;
}
-buildUnnamed1329() {
+buildUnnamed1338() {
var o = new core.List<api.Post>();
o.add(buildPost());
o.add(buildPost());
return o;
}
-checkUnnamed1329(core.List<api.Post> o) {
+checkUnnamed1338(core.List<api.Post> o) {
unittest.expect(o, unittest.hasLength(2));
checkPost(o[0]);
checkPost(o[1]);
@@ -904,7 +904,7 @@
buildCounterPostList++;
if (buildCounterPostList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1329();
+ o.items = buildUnnamed1338();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -916,7 +916,7 @@
buildCounterPostList++;
if (buildCounterPostList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1329(o.items);
+ checkUnnamed1338(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -973,14 +973,14 @@
buildCounterPostUserInfo--;
}
-buildUnnamed1330() {
+buildUnnamed1339() {
var o = new core.List<api.PostUserInfo>();
o.add(buildPostUserInfo());
o.add(buildPostUserInfo());
return o;
}
-checkUnnamed1330(core.List<api.PostUserInfo> o) {
+checkUnnamed1339(core.List<api.PostUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostUserInfo(o[0]);
checkPostUserInfo(o[1]);
@@ -991,7 +991,7 @@
var o = new api.PostUserInfosList();
buildCounterPostUserInfosList++;
if (buildCounterPostUserInfosList < 3) {
- o.items = buildUnnamed1330();
+ o.items = buildUnnamed1339();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1002,7 +1002,7 @@
checkPostUserInfosList(api.PostUserInfosList o) {
buildCounterPostUserInfosList++;
if (buildCounterPostUserInfosList < 3) {
- checkUnnamed1330(o.items);
+ checkUnnamed1339(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1087,105 +1087,105 @@
buildCounterUser--;
}
-buildUnnamed1331() {
+buildUnnamed1340() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1331(core.List<core.String> o) {
+checkUnnamed1340(core.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() {
+buildUnnamed1341() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1332(core.List<core.String> o) {
+checkUnnamed1341(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1333() {
+buildUnnamed1342() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1333(core.List<core.String> o) {
+checkUnnamed1342(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1334() {
+buildUnnamed1343() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1334(core.List<core.String> o) {
+checkUnnamed1343(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1335() {
+buildUnnamed1344() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1335(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'));
}
-buildUnnamed1336() {
+buildUnnamed1345() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1336(core.List<core.String> o) {
+checkUnnamed1345(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1337() {
+buildUnnamed1346() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1337(core.List<core.String> o) {
+checkUnnamed1346(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1338() {
+buildUnnamed1347() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1338(core.List<core.String> o) {
+checkUnnamed1347(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1668,8 +1668,8 @@
api.BlogsResourceApi res = new api.BloggerApi(mock).blogs;
var arg_userId = "foo";
var arg_fetchUserInfo = true;
- var arg_role = buildUnnamed1331();
- var arg_status = buildUnnamed1332();
+ var arg_role = buildUnnamed1340();
+ var arg_status = buildUnnamed1341();
var arg_view = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1986,7 +1986,7 @@
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_startDate = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_status = buildUnnamed1333();
+ var arg_status = buildUnnamed1342();
var arg_view = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -2084,7 +2084,7 @@
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_startDate = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_status = buildUnnamed1334();
+ var arg_status = buildUnnamed1343();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2333,7 +2333,7 @@
var mock = new HttpServerMock();
api.PageViewsResourceApi res = new api.BloggerApi(mock).pageViews;
var arg_blogId = "foo";
- var arg_range = buildUnnamed1335();
+ var arg_range = buildUnnamed1344();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2604,7 +2604,7 @@
var arg_fetchBodies = true;
var arg_maxResults = 42;
var arg_pageToken = "foo";
- var arg_status = buildUnnamed1336();
+ var arg_status = buildUnnamed1345();
var arg_view = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3074,7 +3074,7 @@
var arg_orderBy = "foo";
var arg_pageToken = "foo";
var arg_startDate = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_status = buildUnnamed1337();
+ var arg_status = buildUnnamed1346();
var arg_view = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3479,7 +3479,7 @@
var arg_orderBy = "foo";
var arg_pageToken = "foo";
var arg_startDate = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_status = buildUnnamed1338();
+ var arg_status = buildUnnamed1347();
var arg_view = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
diff --git a/generated/googleapis/test/books/v1_test.dart b/generated/googleapis/test/books/v1_test.dart
index f5a6b35..bcc40b8 100644
--- a/generated/googleapis/test/books/v1_test.dart
+++ b/generated/googleapis/test/books/v1_test.dart
@@ -127,14 +127,14 @@
buildCounterAnnotationLayerSummary--;
}
-buildUnnamed940() {
+buildUnnamed947() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed940(core.List<core.String> o) {
+checkUnnamed947(core.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 = buildUnnamed940();
+ o.pageIds = buildUnnamed947();
o.selectedText = "foo";
o.selfLink = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
@@ -183,7 +183,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.layerId, unittest.equals('foo'));
checkAnnotationLayerSummary(o.layerSummary);
- checkUnnamed940(o.pageIds);
+ checkUnnamed947(o.pageIds);
unittest.expect(o.selectedText, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(
@@ -237,14 +237,14 @@
buildCounterAnnotationdata--;
}
-buildUnnamed941() {
+buildUnnamed948() {
var o = new core.List<api.Annotation>();
o.add(buildAnnotation());
o.add(buildAnnotation());
return o;
}
-checkUnnamed941(core.List<api.Annotation> o) {
+checkUnnamed948(core.List<api.Annotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotation(o[0]);
checkAnnotation(o[1]);
@@ -255,7 +255,7 @@
var o = new api.Annotations();
buildCounterAnnotations++;
if (buildCounterAnnotations < 3) {
- o.items = buildUnnamed941();
+ o.items = buildUnnamed948();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -267,7 +267,7 @@
checkAnnotations(api.Annotations o) {
buildCounterAnnotations++;
if (buildCounterAnnotations < 3) {
- checkUnnamed941(o.items);
+ checkUnnamed948(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -303,14 +303,14 @@
buildCounterAnnotationsSummaryLayers--;
}
-buildUnnamed942() {
+buildUnnamed949() {
var o = new core.List<api.AnnotationsSummaryLayers>();
o.add(buildAnnotationsSummaryLayers());
o.add(buildAnnotationsSummaryLayers());
return o;
}
-checkUnnamed942(core.List<api.AnnotationsSummaryLayers> o) {
+checkUnnamed949(core.List<api.AnnotationsSummaryLayers> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotationsSummaryLayers(o[0]);
checkAnnotationsSummaryLayers(o[1]);
@@ -322,7 +322,7 @@
buildCounterAnnotationsSummary++;
if (buildCounterAnnotationsSummary < 3) {
o.kind = "foo";
- o.layers = buildUnnamed942();
+ o.layers = buildUnnamed949();
}
buildCounterAnnotationsSummary--;
return o;
@@ -332,19 +332,19 @@
buildCounterAnnotationsSummary++;
if (buildCounterAnnotationsSummary < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed942(o.layers);
+ checkUnnamed949(o.layers);
}
buildCounterAnnotationsSummary--;
}
-buildUnnamed943() {
+buildUnnamed950() {
var o = new core.List<api.Annotationdata>();
o.add(buildAnnotationdata());
o.add(buildAnnotationdata());
return o;
}
-checkUnnamed943(core.List<api.Annotationdata> o) {
+checkUnnamed950(core.List<api.Annotationdata> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotationdata(o[0]);
checkAnnotationdata(o[1]);
@@ -355,7 +355,7 @@
var o = new api.Annotationsdata();
buildCounterAnnotationsdata++;
if (buildCounterAnnotationsdata < 3) {
- o.items = buildUnnamed943();
+ o.items = buildUnnamed950();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -367,7 +367,7 @@
checkAnnotationsdata(api.Annotationsdata o) {
buildCounterAnnotationsdata++;
if (buildCounterAnnotationsdata < 3) {
- checkUnnamed943(o.items);
+ checkUnnamed950(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -485,14 +485,14 @@
buildCounterBookshelf--;
}
-buildUnnamed944() {
+buildUnnamed951() {
var o = new core.List<api.Bookshelf>();
o.add(buildBookshelf());
o.add(buildBookshelf());
return o;
}
-checkUnnamed944(core.List<api.Bookshelf> o) {
+checkUnnamed951(core.List<api.Bookshelf> o) {
unittest.expect(o, unittest.hasLength(2));
checkBookshelf(o[0]);
checkBookshelf(o[1]);
@@ -503,7 +503,7 @@
var o = new api.Bookshelves();
buildCounterBookshelves++;
if (buildCounterBookshelves < 3) {
- o.items = buildUnnamed944();
+ o.items = buildUnnamed951();
o.kind = "foo";
}
buildCounterBookshelves--;
@@ -513,7 +513,7 @@
checkBookshelves(api.Bookshelves o) {
buildCounterBookshelves++;
if (buildCounterBookshelves < 3) {
- checkUnnamed944(o.items);
+ checkUnnamed951(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBookshelves--;
@@ -542,14 +542,14 @@
buildCounterCategoryItems--;
}
-buildUnnamed945() {
+buildUnnamed952() {
var o = new core.List<api.CategoryItems>();
o.add(buildCategoryItems());
o.add(buildCategoryItems());
return o;
}
-checkUnnamed945(core.List<api.CategoryItems> o) {
+checkUnnamed952(core.List<api.CategoryItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkCategoryItems(o[0]);
checkCategoryItems(o[1]);
@@ -560,7 +560,7 @@
var o = new api.Category();
buildCounterCategory++;
if (buildCounterCategory < 3) {
- o.items = buildUnnamed945();
+ o.items = buildUnnamed952();
o.kind = "foo";
}
buildCounterCategory--;
@@ -570,7 +570,7 @@
checkCategory(api.Category o) {
buildCounterCategory++;
if (buildCounterCategory < 3) {
- checkUnnamed945(o.items);
+ checkUnnamed952(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCategory--;
@@ -699,14 +699,14 @@
buildCounterDictlayerdataDictWordsDerivatives--;
}
-buildUnnamed946() {
+buildUnnamed953() {
var o = new core.List<api.DictlayerdataDictWordsDerivatives>();
o.add(buildDictlayerdataDictWordsDerivatives());
o.add(buildDictlayerdataDictWordsDerivatives());
return o;
}
-checkUnnamed946(core.List<api.DictlayerdataDictWordsDerivatives> o) {
+checkUnnamed953(core.List<api.DictlayerdataDictWordsDerivatives> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsDerivatives(o[0]);
checkDictlayerdataDictWordsDerivatives(o[1]);
@@ -755,14 +755,14 @@
buildCounterDictlayerdataDictWordsExamples--;
}
-buildUnnamed947() {
+buildUnnamed954() {
var o = new core.List<api.DictlayerdataDictWordsExamples>();
o.add(buildDictlayerdataDictWordsExamples());
o.add(buildDictlayerdataDictWordsExamples());
return o;
}
-checkUnnamed947(core.List<api.DictlayerdataDictWordsExamples> o) {
+checkUnnamed954(core.List<api.DictlayerdataDictWordsExamples> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsExamples(o[0]);
checkDictlayerdataDictWordsExamples(o[1]);
@@ -790,14 +790,14 @@
buildCounterDictlayerdataDictWordsSensesConjugations--;
}
-buildUnnamed948() {
+buildUnnamed955() {
var o = new core.List<api.DictlayerdataDictWordsSensesConjugations>();
o.add(buildDictlayerdataDictWordsSensesConjugations());
o.add(buildDictlayerdataDictWordsSensesConjugations());
return o;
}
-checkUnnamed948(core.List<api.DictlayerdataDictWordsSensesConjugations> o) {
+checkUnnamed955(core.List<api.DictlayerdataDictWordsSensesConjugations> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesConjugations(o[0]);
checkDictlayerdataDictWordsSensesConjugations(o[1]);
@@ -847,14 +847,14 @@
buildCounterDictlayerdataDictWordsSensesDefinitionsExamples--;
}
-buildUnnamed949() {
+buildUnnamed956() {
var o = new core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples>();
o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples());
o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples());
return o;
}
-checkUnnamed949(
+checkUnnamed956(
core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesDefinitionsExamples(o[0]);
@@ -867,7 +867,7 @@
buildCounterDictlayerdataDictWordsSensesDefinitions++;
if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) {
o.definition = "foo";
- o.examples = buildUnnamed949();
+ o.examples = buildUnnamed956();
}
buildCounterDictlayerdataDictWordsSensesDefinitions--;
return o;
@@ -878,19 +878,19 @@
buildCounterDictlayerdataDictWordsSensesDefinitions++;
if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) {
unittest.expect(o.definition, unittest.equals('foo'));
- checkUnnamed949(o.examples);
+ checkUnnamed956(o.examples);
}
buildCounterDictlayerdataDictWordsSensesDefinitions--;
}
-buildUnnamed950() {
+buildUnnamed957() {
var o = new core.List<api.DictlayerdataDictWordsSensesDefinitions>();
o.add(buildDictlayerdataDictWordsSensesDefinitions());
o.add(buildDictlayerdataDictWordsSensesDefinitions());
return o;
}
-checkUnnamed950(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) {
+checkUnnamed957(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesDefinitions(o[0]);
checkDictlayerdataDictWordsSensesDefinitions(o[1]);
@@ -962,14 +962,14 @@
buildCounterDictlayerdataDictWordsSensesSynonyms--;
}
-buildUnnamed951() {
+buildUnnamed958() {
var o = new core.List<api.DictlayerdataDictWordsSensesSynonyms>();
o.add(buildDictlayerdataDictWordsSensesSynonyms());
o.add(buildDictlayerdataDictWordsSensesSynonyms());
return o;
}
-checkUnnamed951(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) {
+checkUnnamed958(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesSynonyms(o[0]);
checkDictlayerdataDictWordsSensesSynonyms(o[1]);
@@ -980,14 +980,14 @@
var o = new api.DictlayerdataDictWordsSenses();
buildCounterDictlayerdataDictWordsSenses++;
if (buildCounterDictlayerdataDictWordsSenses < 3) {
- o.conjugations = buildUnnamed948();
- o.definitions = buildUnnamed950();
+ o.conjugations = buildUnnamed955();
+ o.definitions = buildUnnamed957();
o.partOfSpeech = "foo";
o.pronunciation = "foo";
o.pronunciationUrl = "foo";
o.source = buildDictlayerdataDictWordsSensesSource();
o.syllabification = "foo";
- o.synonyms = buildUnnamed951();
+ o.synonyms = buildUnnamed958();
}
buildCounterDictlayerdataDictWordsSenses--;
return o;
@@ -996,26 +996,26 @@
checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) {
buildCounterDictlayerdataDictWordsSenses++;
if (buildCounterDictlayerdataDictWordsSenses < 3) {
- checkUnnamed948(o.conjugations);
- checkUnnamed950(o.definitions);
+ checkUnnamed955(o.conjugations);
+ checkUnnamed957(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'));
- checkUnnamed951(o.synonyms);
+ checkUnnamed958(o.synonyms);
}
buildCounterDictlayerdataDictWordsSenses--;
}
-buildUnnamed952() {
+buildUnnamed959() {
var o = new core.List<api.DictlayerdataDictWordsSenses>();
o.add(buildDictlayerdataDictWordsSenses());
o.add(buildDictlayerdataDictWordsSenses());
return o;
}
-checkUnnamed952(core.List<api.DictlayerdataDictWordsSenses> o) {
+checkUnnamed959(core.List<api.DictlayerdataDictWordsSenses> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSenses(o[0]);
checkDictlayerdataDictWordsSenses(o[1]);
@@ -1047,9 +1047,9 @@
var o = new api.DictlayerdataDictWords();
buildCounterDictlayerdataDictWords++;
if (buildCounterDictlayerdataDictWords < 3) {
- o.derivatives = buildUnnamed946();
- o.examples = buildUnnamed947();
- o.senses = buildUnnamed952();
+ o.derivatives = buildUnnamed953();
+ o.examples = buildUnnamed954();
+ o.senses = buildUnnamed959();
o.source = buildDictlayerdataDictWordsSource();
}
buildCounterDictlayerdataDictWords--;
@@ -1059,22 +1059,22 @@
checkDictlayerdataDictWords(api.DictlayerdataDictWords o) {
buildCounterDictlayerdataDictWords++;
if (buildCounterDictlayerdataDictWords < 3) {
- checkUnnamed946(o.derivatives);
- checkUnnamed947(o.examples);
- checkUnnamed952(o.senses);
+ checkUnnamed953(o.derivatives);
+ checkUnnamed954(o.examples);
+ checkUnnamed959(o.senses);
checkDictlayerdataDictWordsSource(o.source);
}
buildCounterDictlayerdataDictWords--;
}
-buildUnnamed953() {
+buildUnnamed960() {
var o = new core.List<api.DictlayerdataDictWords>();
o.add(buildDictlayerdataDictWords());
o.add(buildDictlayerdataDictWords());
return o;
}
-checkUnnamed953(core.List<api.DictlayerdataDictWords> o) {
+checkUnnamed960(core.List<api.DictlayerdataDictWords> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWords(o[0]);
checkDictlayerdataDictWords(o[1]);
@@ -1086,7 +1086,7 @@
buildCounterDictlayerdataDict++;
if (buildCounterDictlayerdataDict < 3) {
o.source = buildDictlayerdataDictSource();
- o.words = buildUnnamed953();
+ o.words = buildUnnamed960();
}
buildCounterDictlayerdataDict--;
return o;
@@ -1096,7 +1096,7 @@
buildCounterDictlayerdataDict++;
if (buildCounterDictlayerdataDict < 3) {
checkDictlayerdataDictSource(o.source);
- checkUnnamed953(o.words);
+ checkUnnamed960(o.words);
}
buildCounterDictlayerdataDict--;
}
@@ -1154,14 +1154,14 @@
buildCounterDiscoveryclustersClustersBannerWithContentContainer--;
}
-buildUnnamed954() {
+buildUnnamed961() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed954(core.List<api.Volume> o) {
+checkUnnamed961(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1178,7 +1178,7 @@
o.title = "foo";
o.totalVolumes = 42;
o.uid = "foo";
- o.volumes = buildUnnamed954();
+ o.volumes = buildUnnamed961();
}
buildCounterDiscoveryclustersClusters--;
return o;
@@ -1193,19 +1193,19 @@
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.totalVolumes, unittest.equals(42));
unittest.expect(o.uid, unittest.equals('foo'));
- checkUnnamed954(o.volumes);
+ checkUnnamed961(o.volumes);
}
buildCounterDiscoveryclustersClusters--;
}
-buildUnnamed955() {
+buildUnnamed962() {
var o = new core.List<api.DiscoveryclustersClusters>();
o.add(buildDiscoveryclustersClusters());
o.add(buildDiscoveryclustersClusters());
return o;
}
-checkUnnamed955(core.List<api.DiscoveryclustersClusters> o) {
+checkUnnamed962(core.List<api.DiscoveryclustersClusters> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiscoveryclustersClusters(o[0]);
checkDiscoveryclustersClusters(o[1]);
@@ -1216,7 +1216,7 @@
var o = new api.Discoveryclusters();
buildCounterDiscoveryclusters++;
if (buildCounterDiscoveryclusters < 3) {
- o.clusters = buildUnnamed955();
+ o.clusters = buildUnnamed962();
o.kind = "foo";
o.totalClusters = 42;
}
@@ -1227,7 +1227,7 @@
checkDiscoveryclusters(api.Discoveryclusters o) {
buildCounterDiscoveryclusters++;
if (buildCounterDiscoveryclusters < 3) {
- checkUnnamed955(o.clusters);
+ checkUnnamed962(o.clusters);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalClusters, unittest.equals(42));
}
@@ -1275,14 +1275,14 @@
buildCounterDownloadAccessRestriction--;
}
-buildUnnamed956() {
+buildUnnamed963() {
var o = new core.List<api.DownloadAccessRestriction>();
o.add(buildDownloadAccessRestriction());
o.add(buildDownloadAccessRestriction());
return o;
}
-checkUnnamed956(core.List<api.DownloadAccessRestriction> o) {
+checkUnnamed963(core.List<api.DownloadAccessRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkDownloadAccessRestriction(o[0]);
checkDownloadAccessRestriction(o[1]);
@@ -1293,7 +1293,7 @@
var o = new api.DownloadAccesses();
buildCounterDownloadAccesses++;
if (buildCounterDownloadAccesses < 3) {
- o.downloadAccessList = buildUnnamed956();
+ o.downloadAccessList = buildUnnamed963();
o.kind = "foo";
}
buildCounterDownloadAccesses--;
@@ -1303,7 +1303,7 @@
checkDownloadAccesses(api.DownloadAccesses o) {
buildCounterDownloadAccesses++;
if (buildCounterDownloadAccesses < 3) {
- checkUnnamed956(o.downloadAccessList);
+ checkUnnamed963(o.downloadAccessList);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDownloadAccesses--;
@@ -1357,30 +1357,30 @@
buildCounterGeolayerdataGeoBoundary--;
}
-buildUnnamed957() {
+buildUnnamed964() {
var o = new core.List<api.GeolayerdataGeoBoundary>();
o.add(buildGeolayerdataGeoBoundary());
o.add(buildGeolayerdataGeoBoundary());
return o;
}
-checkUnnamed957(core.List<api.GeolayerdataGeoBoundary> o) {
+checkUnnamed964(core.List<api.GeolayerdataGeoBoundary> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeolayerdataGeoBoundary(o[0]);
checkGeolayerdataGeoBoundary(o[1]);
}
-buildUnnamed958() {
+buildUnnamed965() {
var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>();
- o.add(buildUnnamed957());
- o.add(buildUnnamed957());
+ o.add(buildUnnamed964());
+ o.add(buildUnnamed964());
return o;
}
-checkUnnamed958(core.List<core.List<api.GeolayerdataGeoBoundary>> o) {
+checkUnnamed965(core.List<core.List<api.GeolayerdataGeoBoundary>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed957(o[0]);
- checkUnnamed957(o[1]);
+ checkUnnamed964(o[0]);
+ checkUnnamed964(o[1]);
}
core.int buildCounterGeolayerdataGeoViewportHi = 0;
@@ -1451,7 +1451,7 @@
var o = new api.GeolayerdataGeo();
buildCounterGeolayerdataGeo++;
if (buildCounterGeolayerdataGeo < 3) {
- o.boundary = buildUnnamed958();
+ o.boundary = buildUnnamed965();
o.cachePolicy = "foo";
o.countryCode = "foo";
o.latitude = 42.0;
@@ -1467,7 +1467,7 @@
checkGeolayerdataGeo(api.GeolayerdataGeo o) {
buildCounterGeolayerdataGeo++;
if (buildCounterGeolayerdataGeo < 3) {
- checkUnnamed958(o.boundary);
+ checkUnnamed965(o.boundary);
unittest.expect(o.cachePolicy, unittest.equals('foo'));
unittest.expect(o.countryCode, unittest.equals('foo'));
unittest.expect(o.latitude, unittest.equals(42.0));
@@ -1502,14 +1502,14 @@
buildCounterGeolayerdata--;
}
-buildUnnamed959() {
+buildUnnamed966() {
var o = new core.List<api.Layersummary>();
o.add(buildLayersummary());
o.add(buildLayersummary());
return o;
}
-checkUnnamed959(core.List<api.Layersummary> o) {
+checkUnnamed966(core.List<api.Layersummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkLayersummary(o[0]);
checkLayersummary(o[1]);
@@ -1520,7 +1520,7 @@
var o = new api.Layersummaries();
buildCounterLayersummaries++;
if (buildCounterLayersummaries < 3) {
- o.items = buildUnnamed959();
+ o.items = buildUnnamed966();
o.kind = "foo";
o.totalItems = 42;
}
@@ -1531,21 +1531,21 @@
checkLayersummaries(api.Layersummaries o) {
buildCounterLayersummaries++;
if (buildCounterLayersummaries < 3) {
- checkUnnamed959(o.items);
+ checkUnnamed966(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterLayersummaries--;
}
-buildUnnamed960() {
+buildUnnamed967() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed960(core.List<core.String> o) {
+checkUnnamed967(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1557,7 +1557,7 @@
buildCounterLayersummary++;
if (buildCounterLayersummary < 3) {
o.annotationCount = 42;
- o.annotationTypes = buildUnnamed960();
+ o.annotationTypes = buildUnnamed967();
o.annotationsDataLink = "foo";
o.annotationsLink = "foo";
o.contentVersion = "foo";
@@ -1578,7 +1578,7 @@
buildCounterLayersummary++;
if (buildCounterLayersummary < 3) {
unittest.expect(o.annotationCount, unittest.equals(42));
- checkUnnamed960(o.annotationTypes);
+ checkUnnamed967(o.annotationTypes);
unittest.expect(o.annotationsDataLink, unittest.equals('foo'));
unittest.expect(o.annotationsLink, unittest.equals('foo'));
unittest.expect(o.contentVersion, unittest.equals('foo'));
@@ -1622,14 +1622,14 @@
buildCounterMetadataItems--;
}
-buildUnnamed961() {
+buildUnnamed968() {
var o = new core.List<api.MetadataItems>();
o.add(buildMetadataItems());
o.add(buildMetadataItems());
return o;
}
-checkUnnamed961(core.List<api.MetadataItems> o) {
+checkUnnamed968(core.List<api.MetadataItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataItems(o[0]);
checkMetadataItems(o[1]);
@@ -1640,7 +1640,7 @@
var o = new api.Metadata();
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- o.items = buildUnnamed961();
+ o.items = buildUnnamed968();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -1650,20 +1650,20 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed961(o.items);
+ checkUnnamed968(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
}
-buildUnnamed962() {
+buildUnnamed969() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed962(core.List<core.String> o) {
+checkUnnamed969(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1675,7 +1675,7 @@
buildCounterNotification++;
if (buildCounterNotification < 3) {
o.body = "foo";
- o.crmExperimentIds = buildUnnamed962();
+ o.crmExperimentIds = buildUnnamed969();
o.docId = "foo";
o.docType = "foo";
o.dontShowNotification = true;
@@ -1697,7 +1697,7 @@
buildCounterNotification++;
if (buildCounterNotification < 3) {
unittest.expect(o.body, unittest.equals('foo'));
- checkUnnamed962(o.crmExperimentIds);
+ checkUnnamed969(o.crmExperimentIds);
unittest.expect(o.docId, unittest.equals('foo'));
unittest.expect(o.docType, unittest.equals('foo'));
unittest.expect(o.dontShowNotification, unittest.isTrue);
@@ -1743,14 +1743,14 @@
buildCounterOffersItemsItems--;
}
-buildUnnamed963() {
+buildUnnamed970() {
var o = new core.List<api.OffersItemsItems>();
o.add(buildOffersItemsItems());
o.add(buildOffersItemsItems());
return o;
}
-checkUnnamed963(core.List<api.OffersItemsItems> o) {
+checkUnnamed970(core.List<api.OffersItemsItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffersItemsItems(o[0]);
checkOffersItemsItems(o[1]);
@@ -1764,7 +1764,7 @@
o.artUrl = "foo";
o.gservicesKey = "foo";
o.id = "foo";
- o.items = buildUnnamed963();
+ o.items = buildUnnamed970();
}
buildCounterOffersItems--;
return o;
@@ -1776,19 +1776,19 @@
unittest.expect(o.artUrl, unittest.equals('foo'));
unittest.expect(o.gservicesKey, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed963(o.items);
+ checkUnnamed970(o.items);
}
buildCounterOffersItems--;
}
-buildUnnamed964() {
+buildUnnamed971() {
var o = new core.List<api.OffersItems>();
o.add(buildOffersItems());
o.add(buildOffersItems());
return o;
}
-checkUnnamed964(core.List<api.OffersItems> o) {
+checkUnnamed971(core.List<api.OffersItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffersItems(o[0]);
checkOffersItems(o[1]);
@@ -1799,7 +1799,7 @@
var o = new api.Offers();
buildCounterOffers++;
if (buildCounterOffers < 3) {
- o.items = buildUnnamed964();
+ o.items = buildUnnamed971();
o.kind = "foo";
}
buildCounterOffers--;
@@ -1809,7 +1809,7 @@
checkOffers(api.Offers o) {
buildCounterOffers++;
if (buildCounterOffers < 3) {
- checkUnnamed964(o.items);
+ checkUnnamed971(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterOffers--;
@@ -1976,14 +1976,14 @@
buildCounterSeriesSeries--;
}
-buildUnnamed965() {
+buildUnnamed972() {
var o = new core.List<api.SeriesSeries>();
o.add(buildSeriesSeries());
o.add(buildSeriesSeries());
return o;
}
-checkUnnamed965(core.List<api.SeriesSeries> o) {
+checkUnnamed972(core.List<api.SeriesSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkSeriesSeries(o[0]);
checkSeriesSeries(o[1]);
@@ -1995,7 +1995,7 @@
buildCounterSeries++;
if (buildCounterSeries < 3) {
o.kind = "foo";
- o.series = buildUnnamed965();
+ o.series = buildUnnamed972();
}
buildCounterSeries--;
return o;
@@ -2005,19 +2005,19 @@
buildCounterSeries++;
if (buildCounterSeries < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed965(o.series);
+ checkUnnamed972(o.series);
}
buildCounterSeries--;
}
-buildUnnamed966() {
+buildUnnamed973() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed966(core.List<api.Volume> o) {
+checkUnnamed973(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -2029,7 +2029,7 @@
buildCounterSeriesmembership++;
if (buildCounterSeriesmembership < 3) {
o.kind = "foo";
- o.member = buildUnnamed966();
+ o.member = buildUnnamed973();
o.nextPageToken = "foo";
}
buildCounterSeriesmembership--;
@@ -2040,7 +2040,7 @@
buildCounterSeriesmembership++;
if (buildCounterSeriesmembership < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed966(o.member);
+ checkUnnamed973(o.member);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSeriesmembership--;
@@ -2285,14 +2285,14 @@
buildCounterVolumeLayerInfoLayers--;
}
-buildUnnamed967() {
+buildUnnamed974() {
var o = new core.List<api.VolumeLayerInfoLayers>();
o.add(buildVolumeLayerInfoLayers());
o.add(buildVolumeLayerInfoLayers());
return o;
}
-checkUnnamed967(core.List<api.VolumeLayerInfoLayers> o) {
+checkUnnamed974(core.List<api.VolumeLayerInfoLayers> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeLayerInfoLayers(o[0]);
checkVolumeLayerInfoLayers(o[1]);
@@ -2303,7 +2303,7 @@
var o = new api.VolumeLayerInfo();
buildCounterVolumeLayerInfo++;
if (buildCounterVolumeLayerInfo < 3) {
- o.layers = buildUnnamed967();
+ o.layers = buildUnnamed974();
}
buildCounterVolumeLayerInfo--;
return o;
@@ -2312,7 +2312,7 @@
checkVolumeLayerInfo(api.VolumeLayerInfo o) {
buildCounterVolumeLayerInfo++;
if (buildCounterVolumeLayerInfo < 3) {
- checkUnnamed967(o.layers);
+ checkUnnamed974(o.layers);
}
buildCounterVolumeLayerInfo--;
}
@@ -2448,14 +2448,14 @@
buildCounterVolumeSaleInfoOffers--;
}
-buildUnnamed968() {
+buildUnnamed975() {
var o = new core.List<api.VolumeSaleInfoOffers>();
o.add(buildVolumeSaleInfoOffers());
o.add(buildVolumeSaleInfoOffers());
return o;
}
-checkUnnamed968(core.List<api.VolumeSaleInfoOffers> o) {
+checkUnnamed975(core.List<api.VolumeSaleInfoOffers> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeSaleInfoOffers(o[0]);
checkVolumeSaleInfoOffers(o[1]);
@@ -2491,7 +2491,7 @@
o.country = "foo";
o.isEbook = true;
o.listPrice = buildVolumeSaleInfoListPrice();
- o.offers = buildUnnamed968();
+ o.offers = buildUnnamed975();
o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02");
o.retailPrice = buildVolumeSaleInfoRetailPrice();
o.saleability = "foo";
@@ -2507,7 +2507,7 @@
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.isEbook, unittest.isTrue);
checkVolumeSaleInfoListPrice(o.listPrice);
- checkUnnamed968(o.offers);
+ checkUnnamed975(o.offers);
unittest.expect(o.onSaleDate,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkVolumeSaleInfoRetailPrice(o.retailPrice);
@@ -2682,27 +2682,27 @@
buildCounterVolumeUserInfo--;
}
-buildUnnamed969() {
+buildUnnamed976() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed969(core.List<core.String> o) {
+checkUnnamed976(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed970() {
+buildUnnamed977() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed970(core.List<core.String> o) {
+checkUnnamed977(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2782,14 +2782,14 @@
buildCounterVolumeVolumeInfoIndustryIdentifiers--;
}
-buildUnnamed971() {
+buildUnnamed978() {
var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>();
o.add(buildVolumeVolumeInfoIndustryIdentifiers());
o.add(buildVolumeVolumeInfoIndustryIdentifiers());
return o;
}
-checkUnnamed971(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) {
+checkUnnamed978(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeVolumeInfoIndustryIdentifiers(o[0]);
checkVolumeVolumeInfoIndustryIdentifiers(o[1]);
@@ -2827,15 +2827,15 @@
buildCounterVolumeVolumeInfo++;
if (buildCounterVolumeVolumeInfo < 3) {
o.allowAnonLogging = true;
- o.authors = buildUnnamed969();
+ o.authors = buildUnnamed976();
o.averageRating = 42.0;
o.canonicalVolumeLink = "foo";
- o.categories = buildUnnamed970();
+ o.categories = buildUnnamed977();
o.contentVersion = "foo";
o.description = "foo";
o.dimensions = buildVolumeVolumeInfoDimensions();
o.imageLinks = buildVolumeVolumeInfoImageLinks();
- o.industryIdentifiers = buildUnnamed971();
+ o.industryIdentifiers = buildUnnamed978();
o.infoLink = "foo";
o.language = "foo";
o.mainCategory = "foo";
@@ -2866,15 +2866,15 @@
buildCounterVolumeVolumeInfo++;
if (buildCounterVolumeVolumeInfo < 3) {
unittest.expect(o.allowAnonLogging, unittest.isTrue);
- checkUnnamed969(o.authors);
+ checkUnnamed976(o.authors);
unittest.expect(o.averageRating, unittest.equals(42.0));
unittest.expect(o.canonicalVolumeLink, unittest.equals('foo'));
- checkUnnamed970(o.categories);
+ checkUnnamed977(o.categories);
unittest.expect(o.contentVersion, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
checkVolumeVolumeInfoDimensions(o.dimensions);
checkVolumeVolumeInfoImageLinks(o.imageLinks);
- checkUnnamed971(o.industryIdentifiers);
+ checkUnnamed978(o.industryIdentifiers);
unittest.expect(o.infoLink, unittest.equals('foo'));
unittest.expect(o.language, unittest.equals('foo'));
unittest.expect(o.mainCategory, unittest.equals('foo'));
@@ -2939,14 +2939,14 @@
buildCounterVolume--;
}
-buildUnnamed972() {
+buildUnnamed979() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed972(core.List<api.Volume> o) {
+checkUnnamed979(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -2957,7 +2957,7 @@
var o = new api.Volume2();
buildCounterVolume2++;
if (buildCounterVolume2 < 3) {
- o.items = buildUnnamed972();
+ o.items = buildUnnamed979();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2968,7 +2968,7 @@
checkVolume2(api.Volume2 o) {
buildCounterVolume2++;
if (buildCounterVolume2 < 3) {
- checkUnnamed972(o.items);
+ checkUnnamed979(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3000,14 +3000,14 @@
buildCounterVolumeannotationContentRanges--;
}
-buildUnnamed973() {
+buildUnnamed980() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed973(core.List<core.String> o) {
+checkUnnamed980(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3027,7 +3027,7 @@
o.id = "foo";
o.kind = "foo";
o.layerId = "foo";
- o.pageIds = buildUnnamed973();
+ o.pageIds = buildUnnamed980();
o.selectedText = "foo";
o.selfLink = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
@@ -3049,7 +3049,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.layerId, unittest.equals('foo'));
- checkUnnamed973(o.pageIds);
+ checkUnnamed980(o.pageIds);
unittest.expect(o.selectedText, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(
@@ -3059,14 +3059,14 @@
buildCounterVolumeannotation--;
}
-buildUnnamed974() {
+buildUnnamed981() {
var o = new core.List<api.Volumeannotation>();
o.add(buildVolumeannotation());
o.add(buildVolumeannotation());
return o;
}
-checkUnnamed974(core.List<api.Volumeannotation> o) {
+checkUnnamed981(core.List<api.Volumeannotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeannotation(o[0]);
checkVolumeannotation(o[1]);
@@ -3077,7 +3077,7 @@
var o = new api.Volumeannotations();
buildCounterVolumeannotations++;
if (buildCounterVolumeannotations < 3) {
- o.items = buildUnnamed974();
+ o.items = buildUnnamed981();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -3090,7 +3090,7 @@
checkVolumeannotations(api.Volumeannotations o) {
buildCounterVolumeannotations++;
if (buildCounterVolumeannotations < 3) {
- checkUnnamed974(o.items);
+ checkUnnamed981(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -3099,14 +3099,14 @@
buildCounterVolumeannotations--;
}
-buildUnnamed975() {
+buildUnnamed982() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed975(core.List<api.Volume> o) {
+checkUnnamed982(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -3117,7 +3117,7 @@
var o = new api.Volumes();
buildCounterVolumes++;
if (buildCounterVolumes < 3) {
- o.items = buildUnnamed975();
+ o.items = buildUnnamed982();
o.kind = "foo";
o.totalItems = 42;
}
@@ -3128,7 +3128,7 @@
checkVolumes(api.Volumes o) {
buildCounterVolumes++;
if (buildCounterVolumes < 3) {
- checkUnnamed975(o.items);
+ checkUnnamed982(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
}
@@ -3157,14 +3157,14 @@
buildCounterVolumeseriesinfoVolumeSeriesIssue--;
}
-buildUnnamed976() {
+buildUnnamed983() {
var o = new core.List<api.VolumeseriesinfoVolumeSeriesIssue>();
o.add(buildVolumeseriesinfoVolumeSeriesIssue());
o.add(buildVolumeseriesinfoVolumeSeriesIssue());
return o;
}
-checkUnnamed976(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) {
+checkUnnamed983(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeseriesinfoVolumeSeriesIssue(o[0]);
checkVolumeseriesinfoVolumeSeriesIssue(o[1]);
@@ -3175,7 +3175,7 @@
var o = new api.VolumeseriesinfoVolumeSeries();
buildCounterVolumeseriesinfoVolumeSeries++;
if (buildCounterVolumeseriesinfoVolumeSeries < 3) {
- o.issue = buildUnnamed976();
+ o.issue = buildUnnamed983();
o.orderNumber = 42;
o.seriesBookType = "foo";
o.seriesId = "foo";
@@ -3187,7 +3187,7 @@
checkVolumeseriesinfoVolumeSeries(api.VolumeseriesinfoVolumeSeries o) {
buildCounterVolumeseriesinfoVolumeSeries++;
if (buildCounterVolumeseriesinfoVolumeSeries < 3) {
- checkUnnamed976(o.issue);
+ checkUnnamed983(o.issue);
unittest.expect(o.orderNumber, unittest.equals(42));
unittest.expect(o.seriesBookType, unittest.equals('foo'));
unittest.expect(o.seriesId, unittest.equals('foo'));
@@ -3195,14 +3195,14 @@
buildCounterVolumeseriesinfoVolumeSeries--;
}
-buildUnnamed977() {
+buildUnnamed984() {
var o = new core.List<api.VolumeseriesinfoVolumeSeries>();
o.add(buildVolumeseriesinfoVolumeSeries());
o.add(buildVolumeseriesinfoVolumeSeries());
return o;
}
-checkUnnamed977(core.List<api.VolumeseriesinfoVolumeSeries> o) {
+checkUnnamed984(core.List<api.VolumeseriesinfoVolumeSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeseriesinfoVolumeSeries(o[0]);
checkVolumeseriesinfoVolumeSeries(o[1]);
@@ -3216,7 +3216,7 @@
o.bookDisplayNumber = "foo";
o.kind = "foo";
o.shortSeriesBookTitle = "foo";
- o.volumeSeries = buildUnnamed977();
+ o.volumeSeries = buildUnnamed984();
}
buildCounterVolumeseriesinfo--;
return o;
@@ -3228,102 +3228,11 @@
unittest.expect(o.bookDisplayNumber, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.shortSeriesBookTitle, unittest.equals('foo'));
- checkUnnamed977(o.volumeSeries);
+ checkUnnamed984(o.volumeSeries);
}
buildCounterVolumeseriesinfo--;
}
-buildUnnamed978() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed978(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed979() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed979(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed980() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed980(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed981() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-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");
- o.add("foo");
- return o;
-}
-
-checkUnnamed983(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- 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'));
-}
-
buildUnnamed985() {
var o = new core.List<core.String>();
o.add("foo");
@@ -3389,6 +3298,97 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed990() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed990(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed991() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed991(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ 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'));
+}
+
+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");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed994(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed995() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed995(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed996() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed996(core.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", () {
@@ -4951,7 +4951,7 @@
var arg_volumeId = "foo";
var arg_layerId = "foo";
var arg_contentVersion = "foo";
- var arg_annotationDataId = buildUnnamed978();
+ var arg_annotationDataId = buildUnnamed985();
var arg_h = 42;
var arg_locale = "foo";
var arg_maxResults = 42;
@@ -5317,7 +5317,7 @@
unittest.test("method--releaseDownloadAccess", () {
var mock = new HttpServerMock();
api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig;
- var arg_volumeIds = buildUnnamed979();
+ var arg_volumeIds = buildUnnamed986();
var arg_cpksver = "foo";
var arg_locale = "foo";
var arg_source = "foo";
@@ -5452,11 +5452,11 @@
var arg_source = "foo";
var arg_nonce = "foo";
var arg_cpksver = "foo";
- var arg_features = buildUnnamed980();
+ var arg_features = buildUnnamed987();
var arg_includeNonComicsSeries = true;
var arg_locale = "foo";
var arg_showPreorders = true;
- var arg_volumeIds = buildUnnamed981();
+ var arg_volumeIds = buildUnnamed988();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5717,7 +5717,7 @@
new api.BooksApi(mock).mylibrary.annotations;
var arg_contentVersion = "foo";
var arg_layerId = "foo";
- var arg_layerIds = buildUnnamed982();
+ var arg_layerIds = buildUnnamed989();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_showDeleted = true;
@@ -5807,7 +5807,7 @@
var mock = new HttpServerMock();
api.MylibraryAnnotationsResourceApi res =
new api.BooksApi(mock).mylibrary.annotations;
- var arg_layerIds = buildUnnamed983();
+ var arg_layerIds = buildUnnamed990();
var arg_volumeId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -6674,7 +6674,7 @@
unittest.test("method--listCategoryVolumes", () {
var mock = new HttpServerMock();
api.OnboardingResourceApi res = new api.BooksApi(mock).onboarding;
- var arg_categoryId = buildUnnamed984();
+ var arg_categoryId = buildUnnamed991();
var arg_locale = "foo";
var arg_maxAllowedMaturityRating = "foo";
var arg_pageSize = 42;
@@ -7046,7 +7046,7 @@
unittest.test("method--get", () {
var mock = new HttpServerMock();
api.SeriesResourceApi res = new api.BooksApi(mock).series;
- var arg_seriesId = buildUnnamed985();
+ var arg_seriesId = buildUnnamed992();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7437,11 +7437,11 @@
var mock = new HttpServerMock();
api.VolumesMybooksResourceApi res =
new api.BooksApi(mock).volumes.mybooks;
- var arg_acquireMethod = buildUnnamed986();
+ var arg_acquireMethod = buildUnnamed993();
var arg_country = "foo";
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_processingState = buildUnnamed987();
+ var arg_processingState = buildUnnamed994();
var arg_source = "foo";
var arg_startIndex = 42;
var arg_$fields = "foo";
@@ -7652,10 +7652,10 @@
new api.BooksApi(mock).volumes.useruploaded;
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_processingState = buildUnnamed988();
+ var arg_processingState = buildUnnamed995();
var arg_source = "foo";
var arg_startIndex = 42;
- var arg_volumeId = buildUnnamed989();
+ var arg_volumeId = buildUnnamed996();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/calendar/v3_test.dart b/generated/googleapis/test/calendar/v3_test.dart
index d0fde51..4c718c2 100644
--- a/generated/googleapis/test/calendar/v3_test.dart
+++ b/generated/googleapis/test/calendar/v3_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1152() {
+buildUnnamed1159() {
var o = new core.List<api.AclRule>();
o.add(buildAclRule());
o.add(buildAclRule());
return o;
}
-checkUnnamed1152(core.List<api.AclRule> o) {
+checkUnnamed1159(core.List<api.AclRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAclRule(o[0]);
checkAclRule(o[1]);
@@ -69,7 +69,7 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
o.etag = "foo";
- o.items = buildUnnamed1152();
+ o.items = buildUnnamed1159();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -82,7 +82,7 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1152(o.items);
+ checkUnnamed1159(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
@@ -169,14 +169,14 @@
buildCounterCalendar--;
}
-buildUnnamed1153() {
+buildUnnamed1160() {
var o = new core.List<api.CalendarListEntry>();
o.add(buildCalendarListEntry());
o.add(buildCalendarListEntry());
return o;
}
-checkUnnamed1153(core.List<api.CalendarListEntry> o) {
+checkUnnamed1160(core.List<api.CalendarListEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkCalendarListEntry(o[0]);
checkCalendarListEntry(o[1]);
@@ -188,7 +188,7 @@
buildCounterCalendarList++;
if (buildCounterCalendarList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1153();
+ o.items = buildUnnamed1160();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -201,7 +201,7 @@
buildCounterCalendarList++;
if (buildCounterCalendarList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1153(o.items);
+ checkUnnamed1160(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
@@ -209,27 +209,27 @@
buildCounterCalendarList--;
}
-buildUnnamed1154() {
+buildUnnamed1161() {
var o = new core.List<api.EventReminder>();
o.add(buildEventReminder());
o.add(buildEventReminder());
return o;
}
-checkUnnamed1154(core.List<api.EventReminder> o) {
+checkUnnamed1161(core.List<api.EventReminder> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventReminder(o[0]);
checkEventReminder(o[1]);
}
-buildUnnamed1155() {
+buildUnnamed1162() {
var o = new core.List<api.CalendarNotification>();
o.add(buildCalendarNotification());
o.add(buildCalendarNotification());
return o;
}
-checkUnnamed1155(core.List<api.CalendarNotification> o) {
+checkUnnamed1162(core.List<api.CalendarNotification> o) {
unittest.expect(o, unittest.hasLength(2));
checkCalendarNotification(o[0]);
checkCalendarNotification(o[1]);
@@ -240,7 +240,7 @@
var o = new api.CalendarListEntryNotificationSettings();
buildCounterCalendarListEntryNotificationSettings++;
if (buildCounterCalendarListEntryNotificationSettings < 3) {
- o.notifications = buildUnnamed1155();
+ o.notifications = buildUnnamed1162();
}
buildCounterCalendarListEntryNotificationSettings--;
return o;
@@ -250,7 +250,7 @@
api.CalendarListEntryNotificationSettings o) {
buildCounterCalendarListEntryNotificationSettings++;
if (buildCounterCalendarListEntryNotificationSettings < 3) {
- checkUnnamed1155(o.notifications);
+ checkUnnamed1162(o.notifications);
}
buildCounterCalendarListEntryNotificationSettings--;
}
@@ -263,7 +263,7 @@
o.accessRole = "foo";
o.backgroundColor = "foo";
o.colorId = "foo";
- o.defaultReminders = buildUnnamed1154();
+ o.defaultReminders = buildUnnamed1161();
o.deleted = true;
o.description = "foo";
o.etag = "foo";
@@ -289,7 +289,7 @@
unittest.expect(o.accessRole, unittest.equals('foo'));
unittest.expect(o.backgroundColor, unittest.equals('foo'));
unittest.expect(o.colorId, unittest.equals('foo'));
- checkUnnamed1154(o.defaultReminders);
+ checkUnnamed1161(o.defaultReminders);
unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
@@ -329,14 +329,14 @@
buildCounterCalendarNotification--;
}
-buildUnnamed1156() {
+buildUnnamed1163() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1156(core.Map<core.String, core.String> o) {
+checkUnnamed1163(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'));
@@ -351,7 +351,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed1156();
+ o.params = buildUnnamed1163();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -369,7 +369,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1156(o.params);
+ checkUnnamed1163(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -400,27 +400,27 @@
buildCounterColorDefinition--;
}
-buildUnnamed1157() {
+buildUnnamed1164() {
var o = new core.Map<core.String, api.ColorDefinition>();
o["x"] = buildColorDefinition();
o["y"] = buildColorDefinition();
return o;
}
-checkUnnamed1157(core.Map<core.String, api.ColorDefinition> o) {
+checkUnnamed1164(core.Map<core.String, api.ColorDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorDefinition(o["x"]);
checkColorDefinition(o["y"]);
}
-buildUnnamed1158() {
+buildUnnamed1165() {
var o = new core.Map<core.String, api.ColorDefinition>();
o["x"] = buildColorDefinition();
o["y"] = buildColorDefinition();
return o;
}
-checkUnnamed1158(core.Map<core.String, api.ColorDefinition> o) {
+checkUnnamed1165(core.Map<core.String, api.ColorDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorDefinition(o["x"]);
checkColorDefinition(o["y"]);
@@ -431,8 +431,8 @@
var o = new api.Colors();
buildCounterColors++;
if (buildCounterColors < 3) {
- o.calendar = buildUnnamed1157();
- o.event = buildUnnamed1158();
+ o.calendar = buildUnnamed1164();
+ o.event = buildUnnamed1165();
o.kind = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
}
@@ -443,8 +443,8 @@
checkColors(api.Colors o) {
buildCounterColors++;
if (buildCounterColors < 3) {
- checkUnnamed1157(o.calendar);
- checkUnnamed1158(o.event);
+ checkUnnamed1164(o.calendar);
+ checkUnnamed1165(o.event);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(
o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -473,27 +473,27 @@
buildCounterError--;
}
-buildUnnamed1159() {
+buildUnnamed1166() {
var o = new core.List<api.EventAttachment>();
o.add(buildEventAttachment());
o.add(buildEventAttachment());
return o;
}
-checkUnnamed1159(core.List<api.EventAttachment> o) {
+checkUnnamed1166(core.List<api.EventAttachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventAttachment(o[0]);
checkEventAttachment(o[1]);
}
-buildUnnamed1160() {
+buildUnnamed1167() {
var o = new core.List<api.EventAttendee>();
o.add(buildEventAttendee());
o.add(buildEventAttendee());
return o;
}
-checkUnnamed1160(core.List<api.EventAttendee> o) {
+checkUnnamed1167(core.List<api.EventAttendee> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventAttendee(o[0]);
checkEventAttendee(o[1]);
@@ -524,27 +524,27 @@
buildCounterEventCreator--;
}
-buildUnnamed1161() {
+buildUnnamed1168() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1161(core.Map<core.String, core.String> o) {
+checkUnnamed1168(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'));
}
-buildUnnamed1162() {
+buildUnnamed1169() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1162(core.Map<core.String, core.String> o) {
+checkUnnamed1169(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'));
@@ -555,8 +555,8 @@
var o = new api.EventExtendedProperties();
buildCounterEventExtendedProperties++;
if (buildCounterEventExtendedProperties < 3) {
- o.private = buildUnnamed1161();
- o.shared = buildUnnamed1162();
+ o.private = buildUnnamed1168();
+ o.shared = buildUnnamed1169();
}
buildCounterEventExtendedProperties--;
return o;
@@ -565,20 +565,20 @@
checkEventExtendedProperties(api.EventExtendedProperties o) {
buildCounterEventExtendedProperties++;
if (buildCounterEventExtendedProperties < 3) {
- checkUnnamed1161(o.private);
- checkUnnamed1162(o.shared);
+ checkUnnamed1168(o.private);
+ checkUnnamed1169(o.shared);
}
buildCounterEventExtendedProperties--;
}
-buildUnnamed1163() {
+buildUnnamed1170() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1163(core.Map<core.String, core.String> o) {
+checkUnnamed1170(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'));
@@ -593,7 +593,7 @@
o.height = 42;
o.iconLink = "foo";
o.link = "foo";
- o.preferences = buildUnnamed1163();
+ o.preferences = buildUnnamed1170();
o.title = "foo";
o.type = "foo";
o.width = 42;
@@ -609,7 +609,7 @@
unittest.expect(o.height, unittest.equals(42));
unittest.expect(o.iconLink, unittest.equals('foo'));
unittest.expect(o.link, unittest.equals('foo'));
- checkUnnamed1163(o.preferences);
+ checkUnnamed1170(o.preferences);
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.width, unittest.equals(42));
@@ -642,27 +642,27 @@
buildCounterEventOrganizer--;
}
-buildUnnamed1164() {
+buildUnnamed1171() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1164(core.List<core.String> o) {
+checkUnnamed1171(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1165() {
+buildUnnamed1172() {
var o = new core.List<api.EventReminder>();
o.add(buildEventReminder());
o.add(buildEventReminder());
return o;
}
-checkUnnamed1165(core.List<api.EventReminder> o) {
+checkUnnamed1172(core.List<api.EventReminder> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventReminder(o[0]);
checkEventReminder(o[1]);
@@ -673,7 +673,7 @@
var o = new api.EventReminders();
buildCounterEventReminders++;
if (buildCounterEventReminders < 3) {
- o.overrides = buildUnnamed1165();
+ o.overrides = buildUnnamed1172();
o.useDefault = true;
}
buildCounterEventReminders--;
@@ -683,7 +683,7 @@
checkEventReminders(api.EventReminders o) {
buildCounterEventReminders++;
if (buildCounterEventReminders < 3) {
- checkUnnamed1165(o.overrides);
+ checkUnnamed1172(o.overrides);
unittest.expect(o.useDefault, unittest.isTrue);
}
buildCounterEventReminders--;
@@ -716,8 +716,8 @@
buildCounterEvent++;
if (buildCounterEvent < 3) {
o.anyoneCanAddSelf = true;
- o.attachments = buildUnnamed1159();
- o.attendees = buildUnnamed1160();
+ o.attachments = buildUnnamed1166();
+ o.attendees = buildUnnamed1167();
o.attendeesOmitted = true;
o.colorId = "foo";
o.created = core.DateTime.parse("2002-02-27T14:01:02");
@@ -741,7 +741,7 @@
o.organizer = buildEventOrganizer();
o.originalStartTime = buildEventDateTime();
o.privateCopy = true;
- o.recurrence = buildUnnamed1164();
+ o.recurrence = buildUnnamed1171();
o.recurringEventId = "foo";
o.reminders = buildEventReminders();
o.sequence = 42;
@@ -761,8 +761,8 @@
buildCounterEvent++;
if (buildCounterEvent < 3) {
unittest.expect(o.anyoneCanAddSelf, unittest.isTrue);
- checkUnnamed1159(o.attachments);
- checkUnnamed1160(o.attendees);
+ checkUnnamed1166(o.attachments);
+ checkUnnamed1167(o.attendees);
unittest.expect(o.attendeesOmitted, unittest.isTrue);
unittest.expect(o.colorId, unittest.equals('foo'));
unittest.expect(
@@ -787,7 +787,7 @@
checkEventOrganizer(o.organizer);
checkEventDateTime(o.originalStartTime);
unittest.expect(o.privateCopy, unittest.isTrue);
- checkUnnamed1164(o.recurrence);
+ checkUnnamed1171(o.recurrence);
unittest.expect(o.recurringEventId, unittest.equals('foo'));
checkEventReminders(o.reminders);
unittest.expect(o.sequence, unittest.equals(42));
@@ -913,27 +913,27 @@
buildCounterEventReminder--;
}
-buildUnnamed1166() {
+buildUnnamed1173() {
var o = new core.List<api.EventReminder>();
o.add(buildEventReminder());
o.add(buildEventReminder());
return o;
}
-checkUnnamed1166(core.List<api.EventReminder> o) {
+checkUnnamed1173(core.List<api.EventReminder> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventReminder(o[0]);
checkEventReminder(o[1]);
}
-buildUnnamed1167() {
+buildUnnamed1174() {
var o = new core.List<api.Event>();
o.add(buildEvent());
o.add(buildEvent());
return o;
}
-checkUnnamed1167(core.List<api.Event> o) {
+checkUnnamed1174(core.List<api.Event> o) {
unittest.expect(o, unittest.hasLength(2));
checkEvent(o[0]);
checkEvent(o[1]);
@@ -945,10 +945,10 @@
buildCounterEvents++;
if (buildCounterEvents < 3) {
o.accessRole = "foo";
- o.defaultReminders = buildUnnamed1166();
+ o.defaultReminders = buildUnnamed1173();
o.description = "foo";
o.etag = "foo";
- o.items = buildUnnamed1167();
+ o.items = buildUnnamed1174();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -964,10 +964,10 @@
buildCounterEvents++;
if (buildCounterEvents < 3) {
unittest.expect(o.accessRole, unittest.equals('foo'));
- checkUnnamed1166(o.defaultReminders);
+ checkUnnamed1173(o.defaultReminders);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1167(o.items);
+ checkUnnamed1174(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
@@ -979,27 +979,27 @@
buildCounterEvents--;
}
-buildUnnamed1168() {
+buildUnnamed1175() {
var o = new core.List<api.TimePeriod>();
o.add(buildTimePeriod());
o.add(buildTimePeriod());
return o;
}
-checkUnnamed1168(core.List<api.TimePeriod> o) {
+checkUnnamed1175(core.List<api.TimePeriod> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimePeriod(o[0]);
checkTimePeriod(o[1]);
}
-buildUnnamed1169() {
+buildUnnamed1176() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed1169(core.List<api.Error> o) {
+checkUnnamed1176(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -1010,8 +1010,8 @@
var o = new api.FreeBusyCalendar();
buildCounterFreeBusyCalendar++;
if (buildCounterFreeBusyCalendar < 3) {
- o.busy = buildUnnamed1168();
- o.errors = buildUnnamed1169();
+ o.busy = buildUnnamed1175();
+ o.errors = buildUnnamed1176();
}
buildCounterFreeBusyCalendar--;
return o;
@@ -1020,33 +1020,33 @@
checkFreeBusyCalendar(api.FreeBusyCalendar o) {
buildCounterFreeBusyCalendar++;
if (buildCounterFreeBusyCalendar < 3) {
- checkUnnamed1168(o.busy);
- checkUnnamed1169(o.errors);
+ checkUnnamed1175(o.busy);
+ checkUnnamed1176(o.errors);
}
buildCounterFreeBusyCalendar--;
}
-buildUnnamed1170() {
+buildUnnamed1177() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1170(core.List<core.String> o) {
+checkUnnamed1177(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1171() {
+buildUnnamed1178() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed1171(core.List<api.Error> o) {
+checkUnnamed1178(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -1057,8 +1057,8 @@
var o = new api.FreeBusyGroup();
buildCounterFreeBusyGroup++;
if (buildCounterFreeBusyGroup < 3) {
- o.calendars = buildUnnamed1170();
- o.errors = buildUnnamed1171();
+ o.calendars = buildUnnamed1177();
+ o.errors = buildUnnamed1178();
}
buildCounterFreeBusyGroup--;
return o;
@@ -1067,20 +1067,20 @@
checkFreeBusyGroup(api.FreeBusyGroup o) {
buildCounterFreeBusyGroup++;
if (buildCounterFreeBusyGroup < 3) {
- checkUnnamed1170(o.calendars);
- checkUnnamed1171(o.errors);
+ checkUnnamed1177(o.calendars);
+ checkUnnamed1178(o.errors);
}
buildCounterFreeBusyGroup--;
}
-buildUnnamed1172() {
+buildUnnamed1179() {
var o = new core.List<api.FreeBusyRequestItem>();
o.add(buildFreeBusyRequestItem());
o.add(buildFreeBusyRequestItem());
return o;
}
-checkUnnamed1172(core.List<api.FreeBusyRequestItem> o) {
+checkUnnamed1179(core.List<api.FreeBusyRequestItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkFreeBusyRequestItem(o[0]);
checkFreeBusyRequestItem(o[1]);
@@ -1093,7 +1093,7 @@
if (buildCounterFreeBusyRequest < 3) {
o.calendarExpansionMax = 42;
o.groupExpansionMax = 42;
- o.items = buildUnnamed1172();
+ o.items = buildUnnamed1179();
o.timeMax = core.DateTime.parse("2002-02-27T14:01:02");
o.timeMin = core.DateTime.parse("2002-02-27T14:01:02");
o.timeZone = "foo";
@@ -1107,7 +1107,7 @@
if (buildCounterFreeBusyRequest < 3) {
unittest.expect(o.calendarExpansionMax, unittest.equals(42));
unittest.expect(o.groupExpansionMax, unittest.equals(42));
- checkUnnamed1172(o.items);
+ checkUnnamed1179(o.items);
unittest.expect(
o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(
@@ -1136,27 +1136,27 @@
buildCounterFreeBusyRequestItem--;
}
-buildUnnamed1173() {
+buildUnnamed1180() {
var o = new core.Map<core.String, api.FreeBusyCalendar>();
o["x"] = buildFreeBusyCalendar();
o["y"] = buildFreeBusyCalendar();
return o;
}
-checkUnnamed1173(core.Map<core.String, api.FreeBusyCalendar> o) {
+checkUnnamed1180(core.Map<core.String, api.FreeBusyCalendar> o) {
unittest.expect(o, unittest.hasLength(2));
checkFreeBusyCalendar(o["x"]);
checkFreeBusyCalendar(o["y"]);
}
-buildUnnamed1174() {
+buildUnnamed1181() {
var o = new core.Map<core.String, api.FreeBusyGroup>();
o["x"] = buildFreeBusyGroup();
o["y"] = buildFreeBusyGroup();
return o;
}
-checkUnnamed1174(core.Map<core.String, api.FreeBusyGroup> o) {
+checkUnnamed1181(core.Map<core.String, api.FreeBusyGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkFreeBusyGroup(o["x"]);
checkFreeBusyGroup(o["y"]);
@@ -1167,8 +1167,8 @@
var o = new api.FreeBusyResponse();
buildCounterFreeBusyResponse++;
if (buildCounterFreeBusyResponse < 3) {
- o.calendars = buildUnnamed1173();
- o.groups = buildUnnamed1174();
+ o.calendars = buildUnnamed1180();
+ o.groups = buildUnnamed1181();
o.kind = "foo";
o.timeMax = core.DateTime.parse("2002-02-27T14:01:02");
o.timeMin = core.DateTime.parse("2002-02-27T14:01:02");
@@ -1180,8 +1180,8 @@
checkFreeBusyResponse(api.FreeBusyResponse o) {
buildCounterFreeBusyResponse++;
if (buildCounterFreeBusyResponse < 3) {
- checkUnnamed1173(o.calendars);
- checkUnnamed1174(o.groups);
+ checkUnnamed1180(o.calendars);
+ checkUnnamed1181(o.groups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(
o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -1216,14 +1216,14 @@
buildCounterSetting--;
}
-buildUnnamed1175() {
+buildUnnamed1182() {
var o = new core.List<api.Setting>();
o.add(buildSetting());
o.add(buildSetting());
return o;
}
-checkUnnamed1175(core.List<api.Setting> o) {
+checkUnnamed1182(core.List<api.Setting> o) {
unittest.expect(o, unittest.hasLength(2));
checkSetting(o[0]);
checkSetting(o[1]);
@@ -1235,7 +1235,7 @@
buildCounterSettings++;
if (buildCounterSettings < 3) {
o.etag = "foo";
- o.items = buildUnnamed1175();
+ o.items = buildUnnamed1182();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -1248,7 +1248,7 @@
buildCounterSettings++;
if (buildCounterSettings < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1175(o.items);
+ checkUnnamed1182(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
@@ -1279,53 +1279,53 @@
buildCounterTimePeriod--;
}
-buildUnnamed1176() {
+buildUnnamed1183() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1176(core.List<core.String> 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'));
}
-buildUnnamed1177() {
+buildUnnamed1184() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1177(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'));
}
-buildUnnamed1178() {
+buildUnnamed1185() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1178(core.List<core.String> 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'));
}
-buildUnnamed1179() {
+buildUnnamed1186() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1179(core.List<core.String> o) {
+checkUnnamed1186(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3434,9 +3434,9 @@
var arg_maxResults = 42;
var arg_orderBy = "foo";
var arg_pageToken = "foo";
- var arg_privateExtendedProperty = buildUnnamed1176();
+ var arg_privateExtendedProperty = buildUnnamed1183();
var arg_q = "foo";
- var arg_sharedExtendedProperty = buildUnnamed1177();
+ var arg_sharedExtendedProperty = buildUnnamed1184();
var arg_showDeleted = true;
var arg_showHiddenInvitations = true;
var arg_singleEvents = true;
@@ -3886,9 +3886,9 @@
var arg_maxResults = 42;
var arg_orderBy = "foo";
var arg_pageToken = "foo";
- var arg_privateExtendedProperty = buildUnnamed1178();
+ var arg_privateExtendedProperty = buildUnnamed1185();
var arg_q = "foo";
- var arg_sharedExtendedProperty = buildUnnamed1179();
+ var arg_sharedExtendedProperty = buildUnnamed1186();
var arg_showDeleted = true;
var arg_showHiddenInvitations = true;
var arg_singleEvents = true;
diff --git a/generated/googleapis/test/civicinfo/v2_test.dart b/generated/googleapis/test/civicinfo/v2_test.dart
index 6619b6e..b5117d6 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);
}
-buildUnnamed2607() {
+buildUnnamed2626() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed2607(core.List<api.Source> o) {
+checkUnnamed2626(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 = buildUnnamed2607();
+ o.sources = buildUnnamed2626();
}
buildCounterAdministrationRegion--;
return o;
@@ -85,45 +85,45 @@
unittest.expect(o.id, unittest.equals('foo'));
checkAdministrationRegion(o.localJurisdiction);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2607(o.sources);
+ checkUnnamed2626(o.sources);
}
buildCounterAdministrationRegion--;
}
-buildUnnamed2608() {
+buildUnnamed2627() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2608(core.List<core.String> o) {
+checkUnnamed2627(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2609() {
+buildUnnamed2628() {
var o = new core.List<api.ElectionOfficial>();
o.add(buildElectionOfficial());
o.add(buildElectionOfficial());
return o;
}
-checkUnnamed2609(core.List<api.ElectionOfficial> o) {
+checkUnnamed2628(core.List<api.ElectionOfficial> o) {
unittest.expect(o, unittest.hasLength(2));
checkElectionOfficial(o[0]);
checkElectionOfficial(o[1]);
}
-buildUnnamed2610() {
+buildUnnamed2629() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2610(core.List<core.String> o) {
+checkUnnamed2629(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -135,18 +135,18 @@
buildCounterAdministrativeBody++;
if (buildCounterAdministrativeBody < 3) {
o.absenteeVotingInfoUrl = "foo";
- o.addressLines = buildUnnamed2608();
+ o.addressLines = buildUnnamed2627();
o.ballotInfoUrl = "foo";
o.correspondenceAddress = buildSimpleAddressType();
o.electionInfoUrl = "foo";
- o.electionOfficials = buildUnnamed2609();
+ o.electionOfficials = buildUnnamed2628();
o.electionRegistrationConfirmationUrl = "foo";
o.electionRegistrationUrl = "foo";
o.electionRulesUrl = "foo";
o.hoursOfOperation = "foo";
o.name = "foo";
o.physicalAddress = buildSimpleAddressType();
- o.voterServices = buildUnnamed2610();
+ o.voterServices = buildUnnamed2629();
o.votingLocationFinderUrl = "foo";
}
buildCounterAdministrativeBody--;
@@ -157,11 +157,11 @@
buildCounterAdministrativeBody++;
if (buildCounterAdministrativeBody < 3) {
unittest.expect(o.absenteeVotingInfoUrl, unittest.equals('foo'));
- checkUnnamed2608(o.addressLines);
+ checkUnnamed2627(o.addressLines);
unittest.expect(o.ballotInfoUrl, unittest.equals('foo'));
checkSimpleAddressType(o.correspondenceAddress);
unittest.expect(o.electionInfoUrl, unittest.equals('foo'));
- checkUnnamed2609(o.electionOfficials);
+ checkUnnamed2628(o.electionOfficials);
unittest.expect(
o.electionRegistrationConfirmationUrl, unittest.equals('foo'));
unittest.expect(o.electionRegistrationUrl, unittest.equals('foo'));
@@ -169,20 +169,20 @@
unittest.expect(o.hoursOfOperation, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkSimpleAddressType(o.physicalAddress);
- checkUnnamed2610(o.voterServices);
+ checkUnnamed2629(o.voterServices);
unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
}
buildCounterAdministrativeBody--;
}
-buildUnnamed2611() {
+buildUnnamed2630() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed2611(core.List<api.Channel> o) {
+checkUnnamed2630(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
@@ -194,7 +194,7 @@
buildCounterCandidate++;
if (buildCounterCandidate < 3) {
o.candidateUrl = "foo";
- o.channels = buildUnnamed2611();
+ o.channels = buildUnnamed2630();
o.email = "foo";
o.name = "foo";
o.orderOnBallot = "foo";
@@ -210,7 +210,7 @@
buildCounterCandidate++;
if (buildCounterCandidate < 3) {
unittest.expect(o.candidateUrl, unittest.equals('foo'));
- checkUnnamed2611(o.channels);
+ checkUnnamed2630(o.channels);
unittest.expect(o.email, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.orderOnBallot, unittest.equals('foo'));
@@ -242,66 +242,66 @@
buildCounterChannel--;
}
-buildUnnamed2612() {
+buildUnnamed2631() {
var o = new core.List<api.Candidate>();
o.add(buildCandidate());
o.add(buildCandidate());
return o;
}
-checkUnnamed2612(core.List<api.Candidate> o) {
+checkUnnamed2631(core.List<api.Candidate> o) {
unittest.expect(o, unittest.hasLength(2));
checkCandidate(o[0]);
checkCandidate(o[1]);
}
-buildUnnamed2613() {
+buildUnnamed2632() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2613(core.List<core.String> o) {
+checkUnnamed2632(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2614() {
+buildUnnamed2633() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2614(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'));
}
-buildUnnamed2615() {
+buildUnnamed2634() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2615(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'));
}
-buildUnnamed2616() {
+buildUnnamed2635() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed2616(core.List<api.Source> o) {
+checkUnnamed2635(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -313,16 +313,16 @@
buildCounterContest++;
if (buildCounterContest < 3) {
o.ballotPlacement = "foo";
- o.candidates = buildUnnamed2612();
+ o.candidates = buildUnnamed2631();
o.district = buildElectoralDistrict();
o.electorateSpecifications = "foo";
o.id = "foo";
- o.level = buildUnnamed2613();
+ o.level = buildUnnamed2632();
o.numberElected = "foo";
o.numberVotingFor = "foo";
o.office = "foo";
o.primaryParty = "foo";
- o.referendumBallotResponses = buildUnnamed2614();
+ o.referendumBallotResponses = buildUnnamed2633();
o.referendumBrief = "foo";
o.referendumConStatement = "foo";
o.referendumEffectOfAbstain = "foo";
@@ -332,8 +332,8 @@
o.referendumText = "foo";
o.referendumTitle = "foo";
o.referendumUrl = "foo";
- o.roles = buildUnnamed2615();
- o.sources = buildUnnamed2616();
+ o.roles = buildUnnamed2634();
+ o.sources = buildUnnamed2635();
o.special = "foo";
o.type = "foo";
}
@@ -345,16 +345,16 @@
buildCounterContest++;
if (buildCounterContest < 3) {
unittest.expect(o.ballotPlacement, unittest.equals('foo'));
- checkUnnamed2612(o.candidates);
+ checkUnnamed2631(o.candidates);
checkElectoralDistrict(o.district);
unittest.expect(o.electorateSpecifications, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2613(o.level);
+ checkUnnamed2632(o.level);
unittest.expect(o.numberElected, unittest.equals('foo'));
unittest.expect(o.numberVotingFor, unittest.equals('foo'));
unittest.expect(o.office, unittest.equals('foo'));
unittest.expect(o.primaryParty, unittest.equals('foo'));
- checkUnnamed2614(o.referendumBallotResponses);
+ checkUnnamed2633(o.referendumBallotResponses);
unittest.expect(o.referendumBrief, unittest.equals('foo'));
unittest.expect(o.referendumConStatement, unittest.equals('foo'));
unittest.expect(o.referendumEffectOfAbstain, unittest.equals('foo'));
@@ -364,8 +364,8 @@
unittest.expect(o.referendumText, unittest.equals('foo'));
unittest.expect(o.referendumTitle, unittest.equals('foo'));
unittest.expect(o.referendumUrl, unittest.equals('foo'));
- checkUnnamed2615(o.roles);
- checkUnnamed2616(o.sources);
+ checkUnnamed2634(o.roles);
+ checkUnnamed2635(o.sources);
unittest.expect(o.special, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
@@ -430,14 +430,14 @@
buildCounterDivisionSearchRequest--;
}
-buildUnnamed2617() {
+buildUnnamed2636() {
var o = new core.List<api.DivisionSearchResult>();
o.add(buildDivisionSearchResult());
o.add(buildDivisionSearchResult());
return o;
}
-checkUnnamed2617(core.List<api.DivisionSearchResult> o) {
+checkUnnamed2636(core.List<api.DivisionSearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkDivisionSearchResult(o[0]);
checkDivisionSearchResult(o[1]);
@@ -449,7 +449,7 @@
buildCounterDivisionSearchResponse++;
if (buildCounterDivisionSearchResponse < 3) {
o.kind = "foo";
- o.results = buildUnnamed2617();
+ o.results = buildUnnamed2636();
}
buildCounterDivisionSearchResponse--;
return o;
@@ -459,19 +459,19 @@
buildCounterDivisionSearchResponse++;
if (buildCounterDivisionSearchResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2617(o.results);
+ checkUnnamed2636(o.results);
}
buildCounterDivisionSearchResponse--;
}
-buildUnnamed2618() {
+buildUnnamed2637() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2618(core.List<core.String> 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'));
@@ -482,7 +482,7 @@
var o = new api.DivisionSearchResult();
buildCounterDivisionSearchResult++;
if (buildCounterDivisionSearchResult < 3) {
- o.aliases = buildUnnamed2618();
+ o.aliases = buildUnnamed2637();
o.name = "foo";
o.ocdId = "foo";
}
@@ -493,7 +493,7 @@
checkDivisionSearchResult(api.DivisionSearchResult o) {
buildCounterDivisionSearchResult++;
if (buildCounterDivisionSearchResult < 3) {
- checkUnnamed2618(o.aliases);
+ checkUnnamed2637(o.aliases);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.ocdId, unittest.equals('foo'));
}
@@ -571,14 +571,14 @@
buildCounterElectionsQueryRequest--;
}
-buildUnnamed2619() {
+buildUnnamed2638() {
var o = new core.List<api.Election>();
o.add(buildElection());
o.add(buildElection());
return o;
}
-checkUnnamed2619(core.List<api.Election> o) {
+checkUnnamed2638(core.List<api.Election> o) {
unittest.expect(o, unittest.hasLength(2));
checkElection(o[0]);
checkElection(o[1]);
@@ -589,7 +589,7 @@
var o = new api.ElectionsQueryResponse();
buildCounterElectionsQueryResponse++;
if (buildCounterElectionsQueryResponse < 3) {
- o.elections = buildUnnamed2619();
+ o.elections = buildUnnamed2638();
o.kind = "foo";
}
buildCounterElectionsQueryResponse--;
@@ -599,7 +599,7 @@
checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
buildCounterElectionsQueryResponse++;
if (buildCounterElectionsQueryResponse < 3) {
- checkUnnamed2619(o.elections);
+ checkUnnamed2638(o.elections);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterElectionsQueryResponse--;
@@ -630,27 +630,27 @@
buildCounterElectoralDistrict--;
}
-buildUnnamed2620() {
+buildUnnamed2639() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2620(core.List<core.String> o) {
+checkUnnamed2639(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2621() {
+buildUnnamed2640() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2621(core.List<core.int> o) {
+checkUnnamed2640(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));
@@ -661,9 +661,9 @@
var o = new api.GeographicDivision();
buildCounterGeographicDivision++;
if (buildCounterGeographicDivision < 3) {
- o.alsoKnownAs = buildUnnamed2620();
+ o.alsoKnownAs = buildUnnamed2639();
o.name = "foo";
- o.officeIndices = buildUnnamed2621();
+ o.officeIndices = buildUnnamed2640();
}
buildCounterGeographicDivision--;
return o;
@@ -672,60 +672,60 @@
checkGeographicDivision(api.GeographicDivision o) {
buildCounterGeographicDivision++;
if (buildCounterGeographicDivision < 3) {
- checkUnnamed2620(o.alsoKnownAs);
+ checkUnnamed2639(o.alsoKnownAs);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2621(o.officeIndices);
+ checkUnnamed2640(o.officeIndices);
}
buildCounterGeographicDivision--;
}
-buildUnnamed2622() {
+buildUnnamed2641() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2622(core.List<core.String> 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'));
}
-buildUnnamed2623() {
+buildUnnamed2642() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2623(core.List<core.int> o) {
+checkUnnamed2642(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));
}
-buildUnnamed2624() {
+buildUnnamed2643() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2624(core.List<core.String> 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'));
}
-buildUnnamed2625() {
+buildUnnamed2644() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed2625(core.List<api.Source> o) {
+checkUnnamed2644(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -737,11 +737,11 @@
buildCounterOffice++;
if (buildCounterOffice < 3) {
o.divisionId = "foo";
- o.levels = buildUnnamed2622();
+ o.levels = buildUnnamed2641();
o.name = "foo";
- o.officialIndices = buildUnnamed2623();
- o.roles = buildUnnamed2624();
- o.sources = buildUnnamed2625();
+ o.officialIndices = buildUnnamed2642();
+ o.roles = buildUnnamed2643();
+ o.sources = buildUnnamed2644();
}
buildCounterOffice--;
return o;
@@ -751,75 +751,75 @@
buildCounterOffice++;
if (buildCounterOffice < 3) {
unittest.expect(o.divisionId, unittest.equals('foo'));
- checkUnnamed2622(o.levels);
+ checkUnnamed2641(o.levels);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2623(o.officialIndices);
- checkUnnamed2624(o.roles);
- checkUnnamed2625(o.sources);
+ checkUnnamed2642(o.officialIndices);
+ checkUnnamed2643(o.roles);
+ checkUnnamed2644(o.sources);
}
buildCounterOffice--;
}
-buildUnnamed2626() {
+buildUnnamed2645() {
var o = new core.List<api.SimpleAddressType>();
o.add(buildSimpleAddressType());
o.add(buildSimpleAddressType());
return o;
}
-checkUnnamed2626(core.List<api.SimpleAddressType> o) {
+checkUnnamed2645(core.List<api.SimpleAddressType> o) {
unittest.expect(o, unittest.hasLength(2));
checkSimpleAddressType(o[0]);
checkSimpleAddressType(o[1]);
}
-buildUnnamed2627() {
+buildUnnamed2646() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed2627(core.List<api.Channel> o) {
+checkUnnamed2646(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
}
-buildUnnamed2628() {
+buildUnnamed2647() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2628(core.List<core.String> o) {
+checkUnnamed2647(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2629() {
+buildUnnamed2648() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2629(core.List<core.String> o) {
+checkUnnamed2648(core.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() {
+buildUnnamed2649() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2630(core.List<core.String> o) {
+checkUnnamed2649(core.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,14 +830,14 @@
var o = new api.Official();
buildCounterOfficial++;
if (buildCounterOfficial < 3) {
- o.address = buildUnnamed2626();
- o.channels = buildUnnamed2627();
- o.emails = buildUnnamed2628();
+ o.address = buildUnnamed2645();
+ o.channels = buildUnnamed2646();
+ o.emails = buildUnnamed2647();
o.name = "foo";
o.party = "foo";
- o.phones = buildUnnamed2629();
+ o.phones = buildUnnamed2648();
o.photoUrl = "foo";
- o.urls = buildUnnamed2630();
+ o.urls = buildUnnamed2649();
}
buildCounterOfficial--;
return o;
@@ -846,26 +846,26 @@
checkOfficial(api.Official o) {
buildCounterOfficial++;
if (buildCounterOfficial < 3) {
- checkUnnamed2626(o.address);
- checkUnnamed2627(o.channels);
- checkUnnamed2628(o.emails);
+ checkUnnamed2645(o.address);
+ checkUnnamed2646(o.channels);
+ checkUnnamed2647(o.emails);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.party, unittest.equals('foo'));
- checkUnnamed2629(o.phones);
+ checkUnnamed2648(o.phones);
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2630(o.urls);
+ checkUnnamed2649(o.urls);
}
buildCounterOfficial--;
}
-buildUnnamed2631() {
+buildUnnamed2650() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed2631(core.List<api.Source> o) {
+checkUnnamed2650(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -882,7 +882,7 @@
o.name = "foo";
o.notes = "foo";
o.pollingHours = "foo";
- o.sources = buildUnnamed2631();
+ o.sources = buildUnnamed2650();
o.startDate = "foo";
o.voterServices = "foo";
}
@@ -899,21 +899,21 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
unittest.expect(o.pollingHours, unittest.equals('foo'));
- checkUnnamed2631(o.sources);
+ checkUnnamed2650(o.sources);
unittest.expect(o.startDate, unittest.equals('foo'));
unittest.expect(o.voterServices, unittest.equals('foo'));
}
buildCounterPollingLocation--;
}
-buildUnnamed2632() {
+buildUnnamed2651() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2632(core.List<core.String> o) {
+checkUnnamed2651(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -924,7 +924,7 @@
var o = new api.PostalAddress();
buildCounterPostalAddress++;
if (buildCounterPostalAddress < 3) {
- o.addressLines = buildUnnamed2632();
+ o.addressLines = buildUnnamed2651();
o.administrativeAreaName = "foo";
o.countryName = "foo";
o.countryNameCode = "foo";
@@ -963,7 +963,7 @@
checkPostalAddress(api.PostalAddress o) {
buildCounterPostalAddress++;
if (buildCounterPostalAddress < 3) {
- checkUnnamed2632(o.addressLines);
+ checkUnnamed2651(o.addressLines);
unittest.expect(o.administrativeAreaName, unittest.equals('foo'));
unittest.expect(o.countryName, unittest.equals('foo'));
unittest.expect(o.countryNameCode, unittest.equals('foo'));
@@ -1001,40 +1001,40 @@
buildCounterPostalAddress--;
}
-buildUnnamed2633() {
+buildUnnamed2652() {
var o = new core.Map<core.String, api.GeographicDivision>();
o["x"] = buildGeographicDivision();
o["y"] = buildGeographicDivision();
return o;
}
-checkUnnamed2633(core.Map<core.String, api.GeographicDivision> o) {
+checkUnnamed2652(core.Map<core.String, api.GeographicDivision> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeographicDivision(o["x"]);
checkGeographicDivision(o["y"]);
}
-buildUnnamed2634() {
+buildUnnamed2653() {
var o = new core.List<api.Office>();
o.add(buildOffice());
o.add(buildOffice());
return o;
}
-checkUnnamed2634(core.List<api.Office> o) {
+checkUnnamed2653(core.List<api.Office> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffice(o[0]);
checkOffice(o[1]);
}
-buildUnnamed2635() {
+buildUnnamed2654() {
var o = new core.List<api.Official>();
o.add(buildOfficial());
o.add(buildOfficial());
return o;
}
-checkUnnamed2635(core.List<api.Official> o) {
+checkUnnamed2654(core.List<api.Official> o) {
unittest.expect(o, unittest.hasLength(2));
checkOfficial(o[0]);
checkOfficial(o[1]);
@@ -1045,9 +1045,9 @@
var o = new api.RepresentativeInfoData();
buildCounterRepresentativeInfoData++;
if (buildCounterRepresentativeInfoData < 3) {
- o.divisions = buildUnnamed2633();
- o.offices = buildUnnamed2634();
- o.officials = buildUnnamed2635();
+ o.divisions = buildUnnamed2652();
+ o.offices = buildUnnamed2653();
+ o.officials = buildUnnamed2654();
}
buildCounterRepresentativeInfoData--;
return o;
@@ -1056,9 +1056,9 @@
checkRepresentativeInfoData(api.RepresentativeInfoData o) {
buildCounterRepresentativeInfoData++;
if (buildCounterRepresentativeInfoData < 3) {
- checkUnnamed2633(o.divisions);
- checkUnnamed2634(o.offices);
- checkUnnamed2635(o.officials);
+ checkUnnamed2652(o.divisions);
+ checkUnnamed2653(o.offices);
+ checkUnnamed2654(o.officials);
}
buildCounterRepresentativeInfoData--;
}
@@ -1082,40 +1082,40 @@
buildCounterRepresentativeInfoRequest--;
}
-buildUnnamed2636() {
+buildUnnamed2655() {
var o = new core.Map<core.String, api.GeographicDivision>();
o["x"] = buildGeographicDivision();
o["y"] = buildGeographicDivision();
return o;
}
-checkUnnamed2636(core.Map<core.String, api.GeographicDivision> o) {
+checkUnnamed2655(core.Map<core.String, api.GeographicDivision> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeographicDivision(o["x"]);
checkGeographicDivision(o["y"]);
}
-buildUnnamed2637() {
+buildUnnamed2656() {
var o = new core.List<api.Office>();
o.add(buildOffice());
o.add(buildOffice());
return o;
}
-checkUnnamed2637(core.List<api.Office> o) {
+checkUnnamed2656(core.List<api.Office> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffice(o[0]);
checkOffice(o[1]);
}
-buildUnnamed2638() {
+buildUnnamed2657() {
var o = new core.List<api.Official>();
o.add(buildOfficial());
o.add(buildOfficial());
return o;
}
-checkUnnamed2638(core.List<api.Official> o) {
+checkUnnamed2657(core.List<api.Official> o) {
unittest.expect(o, unittest.hasLength(2));
checkOfficial(o[0]);
checkOfficial(o[1]);
@@ -1126,11 +1126,11 @@
var o = new api.RepresentativeInfoResponse();
buildCounterRepresentativeInfoResponse++;
if (buildCounterRepresentativeInfoResponse < 3) {
- o.divisions = buildUnnamed2636();
+ o.divisions = buildUnnamed2655();
o.kind = "foo";
o.normalizedInput = buildSimpleAddressType();
- o.offices = buildUnnamed2637();
- o.officials = buildUnnamed2638();
+ o.offices = buildUnnamed2656();
+ o.officials = buildUnnamed2657();
}
buildCounterRepresentativeInfoResponse--;
return o;
@@ -1139,11 +1139,11 @@
checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
buildCounterRepresentativeInfoResponse++;
if (buildCounterRepresentativeInfoResponse < 3) {
- checkUnnamed2636(o.divisions);
+ checkUnnamed2655(o.divisions);
unittest.expect(o.kind, unittest.equals('foo'));
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed2637(o.offices);
- checkUnnamed2638(o.officials);
+ checkUnnamed2656(o.offices);
+ checkUnnamed2657(o.officials);
}
buildCounterRepresentativeInfoResponse--;
}
@@ -1221,79 +1221,79 @@
buildCounterVoterInfoRequest--;
}
-buildUnnamed2639() {
+buildUnnamed2658() {
var o = new core.List<api.Contest>();
o.add(buildContest());
o.add(buildContest());
return o;
}
-checkUnnamed2639(core.List<api.Contest> o) {
+checkUnnamed2658(core.List<api.Contest> o) {
unittest.expect(o, unittest.hasLength(2));
checkContest(o[0]);
checkContest(o[1]);
}
-buildUnnamed2640() {
+buildUnnamed2659() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed2640(core.List<api.PollingLocation> o) {
+checkUnnamed2659(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed2641() {
+buildUnnamed2660() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed2641(core.List<api.PollingLocation> o) {
+checkUnnamed2660(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed2642() {
+buildUnnamed2661() {
var o = new core.List<api.Election>();
o.add(buildElection());
o.add(buildElection());
return o;
}
-checkUnnamed2642(core.List<api.Election> o) {
+checkUnnamed2661(core.List<api.Election> o) {
unittest.expect(o, unittest.hasLength(2));
checkElection(o[0]);
checkElection(o[1]);
}
-buildUnnamed2643() {
+buildUnnamed2662() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed2643(core.List<api.PollingLocation> o) {
+checkUnnamed2662(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed2644() {
+buildUnnamed2663() {
var o = new core.List<api.AdministrationRegion>();
o.add(buildAdministrationRegion());
o.add(buildAdministrationRegion());
return o;
}
-checkUnnamed2644(core.List<api.AdministrationRegion> o) {
+checkUnnamed2663(core.List<api.AdministrationRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdministrationRegion(o[0]);
checkAdministrationRegion(o[1]);
@@ -1304,17 +1304,17 @@
var o = new api.VoterInfoResponse();
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- o.contests = buildUnnamed2639();
- o.dropOffLocations = buildUnnamed2640();
- o.earlyVoteSites = buildUnnamed2641();
+ o.contests = buildUnnamed2658();
+ o.dropOffLocations = buildUnnamed2659();
+ o.earlyVoteSites = buildUnnamed2660();
o.election = buildElection();
o.kind = "foo";
o.mailOnly = true;
o.normalizedInput = buildSimpleAddressType();
- o.otherElections = buildUnnamed2642();
- o.pollingLocations = buildUnnamed2643();
+ o.otherElections = buildUnnamed2661();
+ o.pollingLocations = buildUnnamed2662();
o.precinctId = "foo";
- o.state = buildUnnamed2644();
+ o.state = buildUnnamed2663();
}
buildCounterVoterInfoResponse--;
return o;
@@ -1323,17 +1323,17 @@
checkVoterInfoResponse(api.VoterInfoResponse o) {
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- checkUnnamed2639(o.contests);
- checkUnnamed2640(o.dropOffLocations);
- checkUnnamed2641(o.earlyVoteSites);
+ checkUnnamed2658(o.contests);
+ checkUnnamed2659(o.dropOffLocations);
+ checkUnnamed2660(o.earlyVoteSites);
checkElection(o.election);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.mailOnly, unittest.isTrue);
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed2642(o.otherElections);
- checkUnnamed2643(o.pollingLocations);
+ checkUnnamed2661(o.otherElections);
+ checkUnnamed2662(o.pollingLocations);
unittest.expect(o.precinctId, unittest.equals('foo'));
- checkUnnamed2644(o.state);
+ checkUnnamed2663(o.state);
}
buildCounterVoterInfoResponse--;
}
@@ -1363,53 +1363,53 @@
buildCounterVoterInfoSegmentResult--;
}
-buildUnnamed2645() {
+buildUnnamed2664() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2645(core.List<core.String> o) {
+checkUnnamed2664(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2646() {
+buildUnnamed2665() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2646(core.List<core.String> o) {
+checkUnnamed2665(core.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() {
+buildUnnamed2666() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2647(core.List<core.String> o) {
+checkUnnamed2666(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2648() {
+buildUnnamed2667() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2648(core.List<core.String> o) {
+checkUnnamed2667(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1838,8 +1838,8 @@
var arg_request = buildRepresentativeInfoRequest();
var arg_address = "foo";
var arg_includeOffices = true;
- var arg_levels = buildUnnamed2645();
- var arg_roles = buildUnnamed2646();
+ var arg_levels = buildUnnamed2664();
+ var arg_roles = buildUnnamed2665();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.RepresentativeInfoRequest.fromJson(json);
@@ -1910,9 +1910,9 @@
new api.CivicinfoApi(mock).representatives;
var arg_request = buildDivisionRepresentativeInfoRequest();
var arg_ocdId = "foo";
- var arg_levels = buildUnnamed2647();
+ var arg_levels = buildUnnamed2666();
var arg_recursive = true;
- var arg_roles = buildUnnamed2648();
+ var arg_roles = buildUnnamed2667();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.DivisionRepresentativeInfoRequest.fromJson(json);
diff --git a/generated/googleapis/test/classroom/v1_test.dart b/generated/googleapis/test/classroom/v1_test.dart
index 595c0fa..e754312 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);
}
-buildUnnamed797() {
+buildUnnamed804() {
var o = new core.List<api.Material>();
o.add(buildMaterial());
o.add(buildMaterial());
return o;
}
-checkUnnamed797(core.List<api.Material> o) {
+checkUnnamed804(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 = buildUnnamed797();
+ o.materials = buildUnnamed804();
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);
- checkUnnamed797(o.materials);
+ checkUnnamed804(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--;
}
-buildUnnamed798() {
+buildUnnamed805() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed798(core.List<api.Attachment> o) {
+checkUnnamed805(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 = buildUnnamed798();
+ o.attachments = buildUnnamed805();
}
buildCounterAssignmentSubmission--;
return o;
@@ -150,7 +150,7 @@
checkAssignmentSubmission(api.AssignmentSubmission o) {
buildCounterAssignmentSubmission++;
if (buildCounterAssignmentSubmission < 3) {
- checkUnnamed798(o.attachments);
+ checkUnnamed805(o.attachments);
}
buildCounterAssignmentSubmission--;
}
@@ -199,14 +199,14 @@
buildCounterCloudPubsubTopic--;
}
-buildUnnamed799() {
+buildUnnamed806() {
var o = new core.List<api.CourseMaterialSet>();
o.add(buildCourseMaterialSet());
o.add(buildCourseMaterialSet());
return o;
}
-checkUnnamed799(core.List<api.CourseMaterialSet> o) {
+checkUnnamed806(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 = buildUnnamed799();
+ o.courseMaterialSets = buildUnnamed806();
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'));
- checkUnnamed799(o.courseMaterialSets);
+ checkUnnamed806(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--;
}
-buildUnnamed800() {
+buildUnnamed807() {
var o = new core.List<api.CourseMaterial>();
o.add(buildCourseMaterial());
o.add(buildCourseMaterial());
return o;
}
-checkUnnamed800(core.List<api.CourseMaterial> o) {
+checkUnnamed807(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 = buildUnnamed800();
+ o.materials = buildUnnamed807();
o.title = "foo";
}
buildCounterCourseMaterialSet--;
@@ -337,7 +337,7 @@
checkCourseMaterialSet(api.CourseMaterialSet o) {
buildCounterCourseMaterialSet++;
if (buildCounterCourseMaterialSet < 3) {
- checkUnnamed800(o.materials);
+ checkUnnamed807(o.materials);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterCourseMaterialSet--;
@@ -362,14 +362,14 @@
buildCounterCourseRosterChangesInfo--;
}
-buildUnnamed801() {
+buildUnnamed808() {
var o = new core.List<api.Material>();
o.add(buildMaterial());
o.add(buildMaterial());
return o;
}
-checkUnnamed801(core.List<api.Material> o) {
+checkUnnamed808(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 = buildUnnamed801();
+ o.materials = buildUnnamed808();
o.maxPoints = 42.0;
o.multipleChoiceQuestion = buildMultipleChoiceQuestion();
o.scheduledTime = "foo";
@@ -421,7 +421,7 @@
checkTimeOfDay(o.dueTime);
unittest.expect(o.id, unittest.equals('foo'));
checkIndividualStudentsOptions(o.individualStudentsOptions);
- checkUnnamed801(o.materials);
+ checkUnnamed808(o.materials);
unittest.expect(o.maxPoints, unittest.equals(42.0));
checkMultipleChoiceQuestion(o.multipleChoiceQuestion);
unittest.expect(o.scheduledTime, unittest.equals('foo'));
@@ -664,14 +664,14 @@
buildCounterGuardianInvitation--;
}
-buildUnnamed802() {
+buildUnnamed809() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed802(core.List<core.String> o) {
+checkUnnamed809(core.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,7 +682,7 @@
var o = new api.IndividualStudentsOptions();
buildCounterIndividualStudentsOptions++;
if (buildCounterIndividualStudentsOptions < 3) {
- o.studentIds = buildUnnamed802();
+ o.studentIds = buildUnnamed809();
}
buildCounterIndividualStudentsOptions--;
return o;
@@ -691,7 +691,7 @@
checkIndividualStudentsOptions(api.IndividualStudentsOptions o) {
buildCounterIndividualStudentsOptions++;
if (buildCounterIndividualStudentsOptions < 3) {
- checkUnnamed802(o.studentIds);
+ checkUnnamed809(o.studentIds);
}
buildCounterIndividualStudentsOptions--;
}
@@ -744,14 +744,14 @@
buildCounterLink--;
}
-buildUnnamed803() {
+buildUnnamed810() {
var o = new core.List<api.Announcement>();
o.add(buildAnnouncement());
o.add(buildAnnouncement());
return o;
}
-checkUnnamed803(core.List<api.Announcement> o) {
+checkUnnamed810(core.List<api.Announcement> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnouncement(o[0]);
checkAnnouncement(o[1]);
@@ -762,7 +762,7 @@
var o = new api.ListAnnouncementsResponse();
buildCounterListAnnouncementsResponse++;
if (buildCounterListAnnouncementsResponse < 3) {
- o.announcements = buildUnnamed803();
+ o.announcements = buildUnnamed810();
o.nextPageToken = "foo";
}
buildCounterListAnnouncementsResponse--;
@@ -772,20 +772,20 @@
checkListAnnouncementsResponse(api.ListAnnouncementsResponse o) {
buildCounterListAnnouncementsResponse++;
if (buildCounterListAnnouncementsResponse < 3) {
- checkUnnamed803(o.announcements);
+ checkUnnamed810(o.announcements);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAnnouncementsResponse--;
}
-buildUnnamed804() {
+buildUnnamed811() {
var o = new core.List<api.CourseAlias>();
o.add(buildCourseAlias());
o.add(buildCourseAlias());
return o;
}
-checkUnnamed804(core.List<api.CourseAlias> o) {
+checkUnnamed811(core.List<api.CourseAlias> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseAlias(o[0]);
checkCourseAlias(o[1]);
@@ -796,7 +796,7 @@
var o = new api.ListCourseAliasesResponse();
buildCounterListCourseAliasesResponse++;
if (buildCounterListCourseAliasesResponse < 3) {
- o.aliases = buildUnnamed804();
+ o.aliases = buildUnnamed811();
o.nextPageToken = "foo";
}
buildCounterListCourseAliasesResponse--;
@@ -806,20 +806,20 @@
checkListCourseAliasesResponse(api.ListCourseAliasesResponse o) {
buildCounterListCourseAliasesResponse++;
if (buildCounterListCourseAliasesResponse < 3) {
- checkUnnamed804(o.aliases);
+ checkUnnamed811(o.aliases);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCourseAliasesResponse--;
}
-buildUnnamed805() {
+buildUnnamed812() {
var o = new core.List<api.CourseWork>();
o.add(buildCourseWork());
o.add(buildCourseWork());
return o;
}
-checkUnnamed805(core.List<api.CourseWork> o) {
+checkUnnamed812(core.List<api.CourseWork> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseWork(o[0]);
checkCourseWork(o[1]);
@@ -830,7 +830,7 @@
var o = new api.ListCourseWorkResponse();
buildCounterListCourseWorkResponse++;
if (buildCounterListCourseWorkResponse < 3) {
- o.courseWork = buildUnnamed805();
+ o.courseWork = buildUnnamed812();
o.nextPageToken = "foo";
}
buildCounterListCourseWorkResponse--;
@@ -840,20 +840,20 @@
checkListCourseWorkResponse(api.ListCourseWorkResponse o) {
buildCounterListCourseWorkResponse++;
if (buildCounterListCourseWorkResponse < 3) {
- checkUnnamed805(o.courseWork);
+ checkUnnamed812(o.courseWork);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCourseWorkResponse--;
}
-buildUnnamed806() {
+buildUnnamed813() {
var o = new core.List<api.Course>();
o.add(buildCourse());
o.add(buildCourse());
return o;
}
-checkUnnamed806(core.List<api.Course> o) {
+checkUnnamed813(core.List<api.Course> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourse(o[0]);
checkCourse(o[1]);
@@ -864,7 +864,7 @@
var o = new api.ListCoursesResponse();
buildCounterListCoursesResponse++;
if (buildCounterListCoursesResponse < 3) {
- o.courses = buildUnnamed806();
+ o.courses = buildUnnamed813();
o.nextPageToken = "foo";
}
buildCounterListCoursesResponse--;
@@ -874,20 +874,20 @@
checkListCoursesResponse(api.ListCoursesResponse o) {
buildCounterListCoursesResponse++;
if (buildCounterListCoursesResponse < 3) {
- checkUnnamed806(o.courses);
+ checkUnnamed813(o.courses);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCoursesResponse--;
}
-buildUnnamed807() {
+buildUnnamed814() {
var o = new core.List<api.GuardianInvitation>();
o.add(buildGuardianInvitation());
o.add(buildGuardianInvitation());
return o;
}
-checkUnnamed807(core.List<api.GuardianInvitation> o) {
+checkUnnamed814(core.List<api.GuardianInvitation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuardianInvitation(o[0]);
checkGuardianInvitation(o[1]);
@@ -898,7 +898,7 @@
var o = new api.ListGuardianInvitationsResponse();
buildCounterListGuardianInvitationsResponse++;
if (buildCounterListGuardianInvitationsResponse < 3) {
- o.guardianInvitations = buildUnnamed807();
+ o.guardianInvitations = buildUnnamed814();
o.nextPageToken = "foo";
}
buildCounterListGuardianInvitationsResponse--;
@@ -908,20 +908,20 @@
checkListGuardianInvitationsResponse(api.ListGuardianInvitationsResponse o) {
buildCounterListGuardianInvitationsResponse++;
if (buildCounterListGuardianInvitationsResponse < 3) {
- checkUnnamed807(o.guardianInvitations);
+ checkUnnamed814(o.guardianInvitations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGuardianInvitationsResponse--;
}
-buildUnnamed808() {
+buildUnnamed815() {
var o = new core.List<api.Guardian>();
o.add(buildGuardian());
o.add(buildGuardian());
return o;
}
-checkUnnamed808(core.List<api.Guardian> o) {
+checkUnnamed815(core.List<api.Guardian> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuardian(o[0]);
checkGuardian(o[1]);
@@ -932,7 +932,7 @@
var o = new api.ListGuardiansResponse();
buildCounterListGuardiansResponse++;
if (buildCounterListGuardiansResponse < 3) {
- o.guardians = buildUnnamed808();
+ o.guardians = buildUnnamed815();
o.nextPageToken = "foo";
}
buildCounterListGuardiansResponse--;
@@ -942,20 +942,20 @@
checkListGuardiansResponse(api.ListGuardiansResponse o) {
buildCounterListGuardiansResponse++;
if (buildCounterListGuardiansResponse < 3) {
- checkUnnamed808(o.guardians);
+ checkUnnamed815(o.guardians);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGuardiansResponse--;
}
-buildUnnamed809() {
+buildUnnamed816() {
var o = new core.List<api.Invitation>();
o.add(buildInvitation());
o.add(buildInvitation());
return o;
}
-checkUnnamed809(core.List<api.Invitation> o) {
+checkUnnamed816(core.List<api.Invitation> o) {
unittest.expect(o, unittest.hasLength(2));
checkInvitation(o[0]);
checkInvitation(o[1]);
@@ -966,7 +966,7 @@
var o = new api.ListInvitationsResponse();
buildCounterListInvitationsResponse++;
if (buildCounterListInvitationsResponse < 3) {
- o.invitations = buildUnnamed809();
+ o.invitations = buildUnnamed816();
o.nextPageToken = "foo";
}
buildCounterListInvitationsResponse--;
@@ -976,20 +976,20 @@
checkListInvitationsResponse(api.ListInvitationsResponse o) {
buildCounterListInvitationsResponse++;
if (buildCounterListInvitationsResponse < 3) {
- checkUnnamed809(o.invitations);
+ checkUnnamed816(o.invitations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInvitationsResponse--;
}
-buildUnnamed810() {
+buildUnnamed817() {
var o = new core.List<api.StudentSubmission>();
o.add(buildStudentSubmission());
o.add(buildStudentSubmission());
return o;
}
-checkUnnamed810(core.List<api.StudentSubmission> o) {
+checkUnnamed817(core.List<api.StudentSubmission> o) {
unittest.expect(o, unittest.hasLength(2));
checkStudentSubmission(o[0]);
checkStudentSubmission(o[1]);
@@ -1001,7 +1001,7 @@
buildCounterListStudentSubmissionsResponse++;
if (buildCounterListStudentSubmissionsResponse < 3) {
o.nextPageToken = "foo";
- o.studentSubmissions = buildUnnamed810();
+ o.studentSubmissions = buildUnnamed817();
}
buildCounterListStudentSubmissionsResponse--;
return o;
@@ -1011,19 +1011,19 @@
buildCounterListStudentSubmissionsResponse++;
if (buildCounterListStudentSubmissionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed810(o.studentSubmissions);
+ checkUnnamed817(o.studentSubmissions);
}
buildCounterListStudentSubmissionsResponse--;
}
-buildUnnamed811() {
+buildUnnamed818() {
var o = new core.List<api.Student>();
o.add(buildStudent());
o.add(buildStudent());
return o;
}
-checkUnnamed811(core.List<api.Student> o) {
+checkUnnamed818(core.List<api.Student> o) {
unittest.expect(o, unittest.hasLength(2));
checkStudent(o[0]);
checkStudent(o[1]);
@@ -1035,7 +1035,7 @@
buildCounterListStudentsResponse++;
if (buildCounterListStudentsResponse < 3) {
o.nextPageToken = "foo";
- o.students = buildUnnamed811();
+ o.students = buildUnnamed818();
}
buildCounterListStudentsResponse--;
return o;
@@ -1045,19 +1045,19 @@
buildCounterListStudentsResponse++;
if (buildCounterListStudentsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed811(o.students);
+ checkUnnamed818(o.students);
}
buildCounterListStudentsResponse--;
}
-buildUnnamed812() {
+buildUnnamed819() {
var o = new core.List<api.Teacher>();
o.add(buildTeacher());
o.add(buildTeacher());
return o;
}
-checkUnnamed812(core.List<api.Teacher> o) {
+checkUnnamed819(core.List<api.Teacher> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeacher(o[0]);
checkTeacher(o[1]);
@@ -1069,7 +1069,7 @@
buildCounterListTeachersResponse++;
if (buildCounterListTeachersResponse < 3) {
o.nextPageToken = "foo";
- o.teachers = buildUnnamed812();
+ o.teachers = buildUnnamed819();
}
buildCounterListTeachersResponse--;
return o;
@@ -1079,7 +1079,7 @@
buildCounterListTeachersResponse++;
if (buildCounterListTeachersResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed812(o.teachers);
+ checkUnnamed819(o.teachers);
}
buildCounterListTeachersResponse--;
}
@@ -1131,14 +1131,14 @@
buildCounterModifyAnnouncementAssigneesRequest--;
}
-buildUnnamed813() {
+buildUnnamed820() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed813(core.List<api.Attachment> o) {
+checkUnnamed820(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
@@ -1149,7 +1149,7 @@
var o = new api.ModifyAttachmentsRequest();
buildCounterModifyAttachmentsRequest++;
if (buildCounterModifyAttachmentsRequest < 3) {
- o.addAttachments = buildUnnamed813();
+ o.addAttachments = buildUnnamed820();
}
buildCounterModifyAttachmentsRequest--;
return o;
@@ -1158,7 +1158,7 @@
checkModifyAttachmentsRequest(api.ModifyAttachmentsRequest o) {
buildCounterModifyAttachmentsRequest++;
if (buildCounterModifyAttachmentsRequest < 3) {
- checkUnnamed813(o.addAttachments);
+ checkUnnamed820(o.addAttachments);
}
buildCounterModifyAttachmentsRequest--;
}
@@ -1184,27 +1184,27 @@
buildCounterModifyCourseWorkAssigneesRequest--;
}
-buildUnnamed814() {
+buildUnnamed821() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed814(core.List<core.String> o) {
+checkUnnamed821(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed815() {
+buildUnnamed822() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed815(core.List<core.String> o) {
+checkUnnamed822(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1215,8 +1215,8 @@
var o = new api.ModifyIndividualStudentsOptions();
buildCounterModifyIndividualStudentsOptions++;
if (buildCounterModifyIndividualStudentsOptions < 3) {
- o.addStudentIds = buildUnnamed814();
- o.removeStudentIds = buildUnnamed815();
+ o.addStudentIds = buildUnnamed821();
+ o.removeStudentIds = buildUnnamed822();
}
buildCounterModifyIndividualStudentsOptions--;
return o;
@@ -1225,20 +1225,20 @@
checkModifyIndividualStudentsOptions(api.ModifyIndividualStudentsOptions o) {
buildCounterModifyIndividualStudentsOptions++;
if (buildCounterModifyIndividualStudentsOptions < 3) {
- checkUnnamed814(o.addStudentIds);
- checkUnnamed815(o.removeStudentIds);
+ checkUnnamed821(o.addStudentIds);
+ checkUnnamed822(o.removeStudentIds);
}
buildCounterModifyIndividualStudentsOptions--;
}
-buildUnnamed816() {
+buildUnnamed823() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed816(core.List<core.String> o) {
+checkUnnamed823(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1249,7 +1249,7 @@
var o = new api.MultipleChoiceQuestion();
buildCounterMultipleChoiceQuestion++;
if (buildCounterMultipleChoiceQuestion < 3) {
- o.choices = buildUnnamed816();
+ o.choices = buildUnnamed823();
}
buildCounterMultipleChoiceQuestion--;
return o;
@@ -1258,7 +1258,7 @@
checkMultipleChoiceQuestion(api.MultipleChoiceQuestion o) {
buildCounterMultipleChoiceQuestion++;
if (buildCounterMultipleChoiceQuestion < 3) {
- checkUnnamed816(o.choices);
+ checkUnnamed823(o.choices);
}
buildCounterMultipleChoiceQuestion--;
}
@@ -1448,14 +1448,14 @@
buildCounterStudent--;
}
-buildUnnamed817() {
+buildUnnamed824() {
var o = new core.List<api.SubmissionHistory>();
o.add(buildSubmissionHistory());
o.add(buildSubmissionHistory());
return o;
}
-checkUnnamed817(core.List<api.SubmissionHistory> o) {
+checkUnnamed824(core.List<api.SubmissionHistory> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubmissionHistory(o[0]);
checkSubmissionHistory(o[1]);
@@ -1480,7 +1480,7 @@
o.multipleChoiceSubmission = buildMultipleChoiceSubmission();
o.shortAnswerSubmission = buildShortAnswerSubmission();
o.state = "foo";
- o.submissionHistory = buildUnnamed817();
+ o.submissionHistory = buildUnnamed824();
o.updateTime = "foo";
o.userId = "foo";
}
@@ -1505,7 +1505,7 @@
checkMultipleChoiceSubmission(o.multipleChoiceSubmission);
checkShortAnswerSubmission(o.shortAnswerSubmission);
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed817(o.submissionHistory);
+ checkUnnamed824(o.submissionHistory);
unittest.expect(o.updateTime, unittest.equals('foo'));
unittest.expect(o.userId, unittest.equals('foo'));
}
@@ -1596,14 +1596,14 @@
buildCounterTurnInStudentSubmissionRequest--;
}
-buildUnnamed818() {
+buildUnnamed825() {
var o = new core.List<api.GlobalPermission>();
o.add(buildGlobalPermission());
o.add(buildGlobalPermission());
return o;
}
-checkUnnamed818(core.List<api.GlobalPermission> o) {
+checkUnnamed825(core.List<api.GlobalPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkGlobalPermission(o[0]);
checkGlobalPermission(o[1]);
@@ -1617,7 +1617,7 @@
o.emailAddress = "foo";
o.id = "foo";
o.name = buildName();
- o.permissions = buildUnnamed818();
+ o.permissions = buildUnnamed825();
o.photoUrl = "foo";
o.verifiedTeacher = true;
}
@@ -1631,7 +1631,7 @@
unittest.expect(o.emailAddress, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkName(o.name);
- checkUnnamed818(o.permissions);
+ checkUnnamed825(o.permissions);
unittest.expect(o.photoUrl, unittest.equals('foo'));
unittest.expect(o.verifiedTeacher, unittest.isTrue);
}
@@ -1663,66 +1663,66 @@
buildCounterYouTubeVideo--;
}
-buildUnnamed819() {
+buildUnnamed826() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed819(core.List<core.String> o) {
+checkUnnamed826(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed820() {
+buildUnnamed827() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed820(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'));
}
-buildUnnamed821() {
+buildUnnamed828() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed821(core.List<core.String> o) {
+checkUnnamed828(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed822() {
+buildUnnamed829() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed822(core.List<core.String> o) {
+checkUnnamed829(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed823() {
+buildUnnamed830() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed823(core.List<core.String> o) {
+checkUnnamed830(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2340,11 +2340,11 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.CoursesResourceApi res = new api.ClassroomApi(mock).courses;
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_teacherId = "foo";
- var arg_courseStates = buildUnnamed819();
+ var arg_courseStates = buildUnnamed826();
var arg_studentId = "foo";
- var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2376,6 +2376,8 @@
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(
@@ -2384,8 +2386,6 @@
queryMap["courseStates"], unittest.equals(arg_courseStates));
unittest.expect(
queryMap["studentId"].first, unittest.equals(arg_studentId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2396,11 +2396,11 @@
}), true);
res
.list(
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
teacherId: arg_teacherId,
courseStates: arg_courseStates,
studentId: arg_studentId,
- pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListCoursesResponse response) {
checkListCoursesResponse(response);
@@ -2924,10 +2924,10 @@
api.CoursesAnnouncementsResourceApi res =
new api.ClassroomApi(mock).courses.announcements;
var arg_courseId = "foo";
- var arg_announcementStates = buildUnnamed820();
+ var arg_pageSize = 42;
+ var arg_announcementStates = buildUnnamed827();
var arg_orderBy = "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;
@@ -2968,14 +2968,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["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 = {
@@ -2986,10 +2986,10 @@
}), true);
res
.list(arg_courseId,
+ pageSize: arg_pageSize,
announcementStates: arg_announcementStates,
orderBy: arg_orderBy,
pageToken: arg_pageToken,
- pageSize: arg_pageSize,
$fields: arg_$fields)
.then(
unittest.expectAsync1(((api.ListAnnouncementsResponse response) {
@@ -3346,7 +3346,7 @@
var arg_orderBy = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_courseWorkStates = buildUnnamed821();
+ var arg_courseWorkStates = buildUnnamed828();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3644,11 +3644,11 @@
new api.ClassroomApi(mock).courses.courseWork.studentSubmissions;
var arg_courseId = "foo";
var arg_courseWorkId = "foo";
+ var arg_userId = "foo";
var arg_late = "foo";
var arg_pageToken = "foo";
+ var arg_states = buildUnnamed829();
var arg_pageSize = 42;
- var arg_states = buildUnnamed822();
- var arg_userId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3698,13 +3698,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["userId"].first, unittest.equals(arg_userId));
unittest.expect(queryMap["late"].first, unittest.equals(arg_late));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["states"], unittest.equals(arg_states));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["states"], unittest.equals(arg_states));
- unittest.expect(queryMap["userId"].first, unittest.equals(arg_userId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3715,11 +3715,11 @@
}), true);
res
.list(arg_courseId, arg_courseWorkId,
+ userId: arg_userId,
late: arg_late,
pageToken: arg_pageToken,
- pageSize: arg_pageSize,
states: arg_states,
- userId: arg_userId,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest
.expectAsync1(((api.ListStudentSubmissionsResponse response) {
@@ -4353,8 +4353,8 @@
api.CoursesStudentsResourceApi res =
new api.ClassroomApi(mock).courses.students;
var arg_courseId = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4395,10 +4395,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 = {
@@ -4409,8 +4409,8 @@
}), true);
res
.list(arg_courseId,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListStudentsResponse response) {
checkListStudentsResponse(response);
@@ -4903,10 +4903,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.InvitationsResourceApi res = new api.ClassroomApi(mock).invitations;
+ var arg_courseId = "foo";
var arg_userId = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_courseId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4938,13 +4938,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(
+ queryMap["courseId"].first, unittest.equals(arg_courseId));
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["courseId"].first, unittest.equals(arg_courseId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4955,10 +4955,10 @@
}), true);
res
.list(
+ courseId: arg_courseId,
userId: arg_userId,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
- courseId: arg_courseId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListInvitationsResponse response) {
checkListInvitationsResponse(response);
@@ -5267,7 +5267,7 @@
var arg_studentId = "foo";
var arg_pageToken = "foo";
var arg_invitedEmailAddress = "foo";
- var arg_states = buildUnnamed823();
+ var arg_states = buildUnnamed830();
var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -5544,9 +5544,9 @@
api.UserProfilesGuardiansResourceApi res =
new api.ClassroomApi(mock).userProfiles.guardians;
var arg_studentId = "foo";
- var arg_pageToken = "foo";
var arg_invitedEmailAddress = "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;
@@ -5587,12 +5587,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
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));
var h = {
@@ -5603,9 +5603,9 @@
}), true);
res
.list(arg_studentId,
- pageToken: arg_pageToken,
invitedEmailAddress: arg_invitedEmailAddress,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListGuardiansResponse response) {
checkListGuardiansResponse(response);
diff --git a/generated/googleapis/test/cloudbuild/v1_test.dart b/generated/googleapis/test/cloudbuild/v1_test.dart
index 4d82a4e..f142632 100644
--- a/generated/googleapis/test/cloudbuild/v1_test.dart
+++ b/generated/googleapis/test/cloudbuild/v1_test.dart
@@ -50,66 +50,66 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1452() {
+buildUnnamed1461() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1452(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'));
}
-buildUnnamed1453() {
+buildUnnamed1462() {
var o = new core.List<api.Secret>();
o.add(buildSecret());
o.add(buildSecret());
return o;
}
-checkUnnamed1453(core.List<api.Secret> o) {
+checkUnnamed1462(core.List<api.Secret> o) {
unittest.expect(o, unittest.hasLength(2));
checkSecret(o[0]);
checkSecret(o[1]);
}
-buildUnnamed1454() {
+buildUnnamed1463() {
var o = new core.List<api.BuildStep>();
o.add(buildBuildStep());
o.add(buildBuildStep());
return o;
}
-checkUnnamed1454(core.List<api.BuildStep> o) {
+checkUnnamed1463(core.List<api.BuildStep> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildStep(o[0]);
checkBuildStep(o[1]);
}
-buildUnnamed1455() {
+buildUnnamed1464() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1455(core.Map<core.String, core.String> o) {
+checkUnnamed1464(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'));
}
-buildUnnamed1456() {
+buildUnnamed1465() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1456(core.List<core.String> o) {
+checkUnnamed1465(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -124,21 +124,21 @@
o.createTime = "foo";
o.finishTime = "foo";
o.id = "foo";
- o.images = buildUnnamed1452();
+ o.images = buildUnnamed1461();
o.logUrl = "foo";
o.logsBucket = "foo";
o.options = buildBuildOptions();
o.projectId = "foo";
o.results = buildResults();
- o.secrets = buildUnnamed1453();
+ o.secrets = buildUnnamed1462();
o.source = buildSource();
o.sourceProvenance = buildSourceProvenance();
o.startTime = "foo";
o.status = "foo";
o.statusDetail = "foo";
- o.steps = buildUnnamed1454();
- o.substitutions = buildUnnamed1455();
- o.tags = buildUnnamed1456();
+ o.steps = buildUnnamed1463();
+ o.substitutions = buildUnnamed1464();
+ o.tags = buildUnnamed1465();
o.timeout = "foo";
}
buildCounterBuild--;
@@ -152,21 +152,21 @@
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.finishTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1452(o.images);
+ checkUnnamed1461(o.images);
unittest.expect(o.logUrl, unittest.equals('foo'));
unittest.expect(o.logsBucket, unittest.equals('foo'));
checkBuildOptions(o.options);
unittest.expect(o.projectId, unittest.equals('foo'));
checkResults(o.results);
- checkUnnamed1453(o.secrets);
+ checkUnnamed1462(o.secrets);
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'));
- checkUnnamed1454(o.steps);
- checkUnnamed1455(o.substitutions);
- checkUnnamed1456(o.tags);
+ checkUnnamed1463(o.steps);
+ checkUnnamed1464(o.substitutions);
+ checkUnnamed1465(o.tags);
unittest.expect(o.timeout, unittest.equals('foo'));
}
buildCounterBuild--;
@@ -191,14 +191,14 @@
buildCounterBuildOperationMetadata--;
}
-buildUnnamed1457() {
+buildUnnamed1466() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1457(core.List<core.String> o) {
+checkUnnamed1466(core.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,9 +209,11 @@
var o = new api.BuildOptions();
buildCounterBuildOptions++;
if (buildCounterBuildOptions < 3) {
+ o.diskSizeGb = "foo";
o.logStreamingOption = "foo";
+ o.machineType = "foo";
o.requestedVerifyOption = "foo";
- o.sourceProvenanceHash = buildUnnamed1457();
+ o.sourceProvenanceHash = buildUnnamed1466();
o.substitutionOption = "foo";
}
buildCounterBuildOptions--;
@@ -221,74 +223,76 @@
checkBuildOptions(api.BuildOptions o) {
buildCounterBuildOptions++;
if (buildCounterBuildOptions < 3) {
+ unittest.expect(o.diskSizeGb, unittest.equals('foo'));
unittest.expect(o.logStreamingOption, unittest.equals('foo'));
+ unittest.expect(o.machineType, unittest.equals('foo'));
unittest.expect(o.requestedVerifyOption, unittest.equals('foo'));
- checkUnnamed1457(o.sourceProvenanceHash);
+ checkUnnamed1466(o.sourceProvenanceHash);
unittest.expect(o.substitutionOption, unittest.equals('foo'));
}
buildCounterBuildOptions--;
}
-buildUnnamed1458() {
+buildUnnamed1467() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1458(core.List<core.String> o) {
+checkUnnamed1467(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1459() {
+buildUnnamed1468() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1459(core.List<core.String> o) {
+checkUnnamed1468(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1460() {
+buildUnnamed1469() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1460(core.List<core.String> o) {
+checkUnnamed1469(core.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() {
+buildUnnamed1470() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed1461(core.List<api.Volume> o) {
+checkUnnamed1470(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
}
-buildUnnamed1462() {
+buildUnnamed1471() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1462(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'));
@@ -299,15 +303,15 @@
var o = new api.BuildStep();
buildCounterBuildStep++;
if (buildCounterBuildStep < 3) {
- o.args = buildUnnamed1458();
+ o.args = buildUnnamed1467();
o.dir = "foo";
o.entrypoint = "foo";
- o.env = buildUnnamed1459();
+ o.env = buildUnnamed1468();
o.id = "foo";
o.name = "foo";
- o.secretEnv = buildUnnamed1460();
- o.volumes = buildUnnamed1461();
- o.waitFor = buildUnnamed1462();
+ o.secretEnv = buildUnnamed1469();
+ o.volumes = buildUnnamed1470();
+ o.waitFor = buildUnnamed1471();
}
buildCounterBuildStep--;
return o;
@@ -316,27 +320,27 @@
checkBuildStep(api.BuildStep o) {
buildCounterBuildStep++;
if (buildCounterBuildStep < 3) {
- checkUnnamed1458(o.args);
+ checkUnnamed1467(o.args);
unittest.expect(o.dir, unittest.equals('foo'));
unittest.expect(o.entrypoint, unittest.equals('foo'));
- checkUnnamed1459(o.env);
+ checkUnnamed1468(o.env);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1460(o.secretEnv);
- checkUnnamed1461(o.volumes);
- checkUnnamed1462(o.waitFor);
+ checkUnnamed1469(o.secretEnv);
+ checkUnnamed1470(o.volumes);
+ checkUnnamed1471(o.waitFor);
}
buildCounterBuildStep--;
}
-buildUnnamed1463() {
+buildUnnamed1472() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1463(core.Map<core.String, core.String> o) {
+checkUnnamed1472(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'));
@@ -353,7 +357,7 @@
o.disabled = true;
o.filename = "foo";
o.id = "foo";
- o.substitutions = buildUnnamed1463();
+ o.substitutions = buildUnnamed1472();
o.triggerTemplate = buildRepoSource();
}
buildCounterBuildTrigger--;
@@ -369,7 +373,7 @@
unittest.expect(o.disabled, unittest.isTrue);
unittest.expect(o.filename, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1463(o.substitutions);
+ checkUnnamed1472(o.substitutions);
checkRepoSource(o.triggerTemplate);
}
buildCounterBuildTrigger--;
@@ -441,14 +445,14 @@
buildCounterEmpty--;
}
-buildUnnamed1464() {
+buildUnnamed1473() {
var o = new core.List<api.Hash>();
o.add(buildHash());
o.add(buildHash());
return o;
}
-checkUnnamed1464(core.List<api.Hash> o) {
+checkUnnamed1473(core.List<api.Hash> o) {
unittest.expect(o, unittest.hasLength(2));
checkHash(o[0]);
checkHash(o[1]);
@@ -459,7 +463,7 @@
var o = new api.FileHashes();
buildCounterFileHashes++;
if (buildCounterFileHashes < 3) {
- o.fileHash = buildUnnamed1464();
+ o.fileHash = buildUnnamed1473();
}
buildCounterFileHashes--;
return o;
@@ -468,7 +472,7 @@
checkFileHashes(api.FileHashes o) {
buildCounterFileHashes++;
if (buildCounterFileHashes < 3) {
- checkUnnamed1464(o.fileHash);
+ checkUnnamed1473(o.fileHash);
}
buildCounterFileHashes--;
}
@@ -494,14 +498,14 @@
buildCounterHash--;
}
-buildUnnamed1465() {
+buildUnnamed1474() {
var o = new core.List<api.BuildTrigger>();
o.add(buildBuildTrigger());
o.add(buildBuildTrigger());
return o;
}
-checkUnnamed1465(core.List<api.BuildTrigger> o) {
+checkUnnamed1474(core.List<api.BuildTrigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildTrigger(o[0]);
checkBuildTrigger(o[1]);
@@ -512,7 +516,7 @@
var o = new api.ListBuildTriggersResponse();
buildCounterListBuildTriggersResponse++;
if (buildCounterListBuildTriggersResponse < 3) {
- o.triggers = buildUnnamed1465();
+ o.triggers = buildUnnamed1474();
}
buildCounterListBuildTriggersResponse--;
return o;
@@ -521,19 +525,19 @@
checkListBuildTriggersResponse(api.ListBuildTriggersResponse o) {
buildCounterListBuildTriggersResponse++;
if (buildCounterListBuildTriggersResponse < 3) {
- checkUnnamed1465(o.triggers);
+ checkUnnamed1474(o.triggers);
}
buildCounterListBuildTriggersResponse--;
}
-buildUnnamed1466() {
+buildUnnamed1475() {
var o = new core.List<api.Build>();
o.add(buildBuild());
o.add(buildBuild());
return o;
}
-checkUnnamed1466(core.List<api.Build> o) {
+checkUnnamed1475(core.List<api.Build> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuild(o[0]);
checkBuild(o[1]);
@@ -544,7 +548,7 @@
var o = new api.ListBuildsResponse();
buildCounterListBuildsResponse++;
if (buildCounterListBuildsResponse < 3) {
- o.builds = buildUnnamed1466();
+ o.builds = buildUnnamed1475();
o.nextPageToken = "foo";
}
buildCounterListBuildsResponse--;
@@ -554,20 +558,20 @@
checkListBuildsResponse(api.ListBuildsResponse o) {
buildCounterListBuildsResponse++;
if (buildCounterListBuildsResponse < 3) {
- checkUnnamed1466(o.builds);
+ checkUnnamed1475(o.builds);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListBuildsResponse--;
}
-buildUnnamed1467() {
+buildUnnamed1476() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1467(core.List<api.Operation> o) {
+checkUnnamed1476(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -579,7 +583,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1467();
+ o.operations = buildUnnamed1476();
}
buildCounterListOperationsResponse--;
return o;
@@ -589,12 +593,12 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1467(o.operations);
+ checkUnnamed1476(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1468() {
+buildUnnamed1477() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -609,7 +613,7 @@
return o;
}
-checkUnnamed1468(core.Map<core.String, core.Object> o) {
+checkUnnamed1477(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));
@@ -623,7 +627,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1469() {
+buildUnnamed1478() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -638,7 +642,7 @@
return o;
}
-checkUnnamed1469(core.Map<core.String, core.Object> o) {
+checkUnnamed1478(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));
@@ -659,9 +663,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1468();
+ o.metadata = buildUnnamed1477();
o.name = "foo";
- o.response = buildUnnamed1469();
+ o.response = buildUnnamed1478();
}
buildCounterOperation--;
return o;
@@ -672,9 +676,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1468(o.metadata);
+ checkUnnamed1477(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1469(o.response);
+ checkUnnamed1478(o.response);
}
buildCounterOperation--;
}
@@ -708,27 +712,27 @@
buildCounterRepoSource--;
}
-buildUnnamed1470() {
+buildUnnamed1479() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1470(core.List<core.String> o) {
+checkUnnamed1479(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1471() {
+buildUnnamed1480() {
var o = new core.List<api.BuiltImage>();
o.add(buildBuiltImage());
o.add(buildBuiltImage());
return o;
}
-checkUnnamed1471(core.List<api.BuiltImage> o) {
+checkUnnamed1480(core.List<api.BuiltImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuiltImage(o[0]);
checkBuiltImage(o[1]);
@@ -739,8 +743,8 @@
var o = new api.Results();
buildCounterResults++;
if (buildCounterResults < 3) {
- o.buildStepImages = buildUnnamed1470();
- o.images = buildUnnamed1471();
+ o.buildStepImages = buildUnnamed1479();
+ o.images = buildUnnamed1480();
}
buildCounterResults--;
return o;
@@ -749,8 +753,8 @@
checkResults(api.Results o) {
buildCounterResults++;
if (buildCounterResults < 3) {
- checkUnnamed1470(o.buildStepImages);
- checkUnnamed1471(o.images);
+ checkUnnamed1479(o.buildStepImages);
+ checkUnnamed1480(o.images);
}
buildCounterResults--;
}
@@ -770,14 +774,14 @@
buildCounterRetryBuildRequest--;
}
-buildUnnamed1472() {
+buildUnnamed1481() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1472(core.Map<core.String, core.String> o) {
+checkUnnamed1481(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'));
@@ -789,7 +793,7 @@
buildCounterSecret++;
if (buildCounterSecret < 3) {
o.kmsKeyName = "foo";
- o.secretEnv = buildUnnamed1472();
+ o.secretEnv = buildUnnamed1481();
}
buildCounterSecret--;
return o;
@@ -799,7 +803,7 @@
buildCounterSecret++;
if (buildCounterSecret < 3) {
unittest.expect(o.kmsKeyName, unittest.equals('foo'));
- checkUnnamed1472(o.secretEnv);
+ checkUnnamed1481(o.secretEnv);
}
buildCounterSecret--;
}
@@ -825,14 +829,14 @@
buildCounterSource--;
}
-buildUnnamed1473() {
+buildUnnamed1482() {
var o = new core.Map<core.String, api.FileHashes>();
o["x"] = buildFileHashes();
o["y"] = buildFileHashes();
return o;
}
-checkUnnamed1473(core.Map<core.String, api.FileHashes> o) {
+checkUnnamed1482(core.Map<core.String, api.FileHashes> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileHashes(o["x"]);
checkFileHashes(o["y"]);
@@ -843,7 +847,7 @@
var o = new api.SourceProvenance();
buildCounterSourceProvenance++;
if (buildCounterSourceProvenance < 3) {
- o.fileHashes = buildUnnamed1473();
+ o.fileHashes = buildUnnamed1482();
o.resolvedRepoSource = buildRepoSource();
o.resolvedStorageSource = buildStorageSource();
}
@@ -854,14 +858,14 @@
checkSourceProvenance(api.SourceProvenance o) {
buildCounterSourceProvenance++;
if (buildCounterSourceProvenance < 3) {
- checkUnnamed1473(o.fileHashes);
+ checkUnnamed1482(o.fileHashes);
checkRepoSource(o.resolvedRepoSource);
checkStorageSource(o.resolvedStorageSource);
}
buildCounterSourceProvenance--;
}
-buildUnnamed1474() {
+buildUnnamed1483() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -876,7 +880,7 @@
return o;
}
-checkUnnamed1474(core.Map<core.String, core.Object> o) {
+checkUnnamed1483(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));
@@ -890,17 +894,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed1475() {
+buildUnnamed1484() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1474());
- o.add(buildUnnamed1474());
+ o.add(buildUnnamed1483());
+ o.add(buildUnnamed1483());
return o;
}
-checkUnnamed1475(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1484(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1474(o[0]);
- checkUnnamed1474(o[1]);
+ checkUnnamed1483(o[0]);
+ checkUnnamed1483(o[1]);
}
core.int buildCounterStatus = 0;
@@ -909,7 +913,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1475();
+ o.details = buildUnnamed1484();
o.message = "foo";
}
buildCounterStatus--;
@@ -920,7 +924,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1475(o.details);
+ checkUnnamed1484(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1542,9 +1546,9 @@
api.ProjectsBuildsResourceApi res =
new api.CloudbuildApi(mock).projects.builds;
var arg_projectId = "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;
@@ -1585,11 +1589,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 = {
@@ -1600,9 +1604,9 @@
}), true);
res
.list(arg_projectId,
- filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListBuildsResponse response) {
checkListBuildsResponse(response);
diff --git a/generated/googleapis/test/clouddebugger/v2_test.dart b/generated/googleapis/test/clouddebugger/v2_test.dart
index bf1427a..bf9cc17 100644
--- a/generated/googleapis/test/clouddebugger/v2_test.dart
+++ b/generated/googleapis/test/clouddebugger/v2_test.dart
@@ -71,66 +71,66 @@
buildCounterAliasContext--;
}
-buildUnnamed924() {
+buildUnnamed931() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed924(core.List<api.Variable> o) {
+checkUnnamed931(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
}
-buildUnnamed925() {
+buildUnnamed932() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed925(core.List<core.String> o) {
+checkUnnamed932(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed926() {
+buildUnnamed933() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed926(core.Map<core.String, core.String> o) {
+checkUnnamed933(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'));
}
-buildUnnamed927() {
+buildUnnamed934() {
var o = new core.List<api.StackFrame>();
o.add(buildStackFrame());
o.add(buildStackFrame());
return o;
}
-checkUnnamed927(core.List<api.StackFrame> o) {
+checkUnnamed934(core.List<api.StackFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkStackFrame(o[0]);
checkStackFrame(o[1]);
}
-buildUnnamed928() {
+buildUnnamed935() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed928(core.List<api.Variable> o) {
+checkUnnamed935(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -144,19 +144,19 @@
o.action = "foo";
o.condition = "foo";
o.createTime = "foo";
- o.evaluatedExpressions = buildUnnamed924();
- o.expressions = buildUnnamed925();
+ o.evaluatedExpressions = buildUnnamed931();
+ o.expressions = buildUnnamed932();
o.finalTime = "foo";
o.id = "foo";
o.isFinalState = true;
- o.labels = buildUnnamed926();
+ o.labels = buildUnnamed933();
o.location = buildSourceLocation();
o.logLevel = "foo";
o.logMessageFormat = "foo";
- o.stackFrames = buildUnnamed927();
+ o.stackFrames = buildUnnamed934();
o.status = buildStatusMessage();
o.userEmail = "foo";
- o.variableTable = buildUnnamed928();
+ o.variableTable = buildUnnamed935();
}
buildCounterBreakpoint--;
return o;
@@ -168,19 +168,19 @@
unittest.expect(o.action, unittest.equals('foo'));
unittest.expect(o.condition, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed924(o.evaluatedExpressions);
- checkUnnamed925(o.expressions);
+ checkUnnamed931(o.evaluatedExpressions);
+ checkUnnamed932(o.expressions);
unittest.expect(o.finalTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isFinalState, unittest.isTrue);
- checkUnnamed926(o.labels);
+ checkUnnamed933(o.labels);
checkSourceLocation(o.location);
unittest.expect(o.logLevel, unittest.equals('foo'));
unittest.expect(o.logMessageFormat, unittest.equals('foo'));
- checkUnnamed927(o.stackFrames);
+ checkUnnamed934(o.stackFrames);
checkStatusMessage(o.status);
unittest.expect(o.userEmail, unittest.equals('foo'));
- checkUnnamed928(o.variableTable);
+ checkUnnamed935(o.variableTable);
}
buildCounterBreakpoint--;
}
@@ -252,40 +252,40 @@
buildCounterCloudWorkspaceSourceContext--;
}
-buildUnnamed929() {
+buildUnnamed936() {
var o = new core.List<api.ExtendedSourceContext>();
o.add(buildExtendedSourceContext());
o.add(buildExtendedSourceContext());
return o;
}
-checkUnnamed929(core.List<api.ExtendedSourceContext> o) {
+checkUnnamed936(core.List<api.ExtendedSourceContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkExtendedSourceContext(o[0]);
checkExtendedSourceContext(o[1]);
}
-buildUnnamed930() {
+buildUnnamed937() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed930(core.Map<core.String, core.String> o) {
+checkUnnamed937(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'));
}
-buildUnnamed931() {
+buildUnnamed938() {
var o = new core.List<api.SourceContext>();
o.add(buildSourceContext());
o.add(buildSourceContext());
return o;
}
-checkUnnamed931(core.List<api.SourceContext> o) {
+checkUnnamed938(core.List<api.SourceContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceContext(o[0]);
checkSourceContext(o[1]);
@@ -298,13 +298,13 @@
if (buildCounterDebuggee < 3) {
o.agentVersion = "foo";
o.description = "foo";
- o.extSourceContexts = buildUnnamed929();
+ o.extSourceContexts = buildUnnamed936();
o.id = "foo";
o.isDisabled = true;
o.isInactive = true;
- o.labels = buildUnnamed930();
+ o.labels = buildUnnamed937();
o.project = "foo";
- o.sourceContexts = buildUnnamed931();
+ o.sourceContexts = buildUnnamed938();
o.status = buildStatusMessage();
o.uniquifier = "foo";
}
@@ -317,13 +317,13 @@
if (buildCounterDebuggee < 3) {
unittest.expect(o.agentVersion, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed929(o.extSourceContexts);
+ checkUnnamed936(o.extSourceContexts);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isDisabled, unittest.isTrue);
unittest.expect(o.isInactive, unittest.isTrue);
- checkUnnamed930(o.labels);
+ checkUnnamed937(o.labels);
unittest.expect(o.project, unittest.equals('foo'));
- checkUnnamed931(o.sourceContexts);
+ checkUnnamed938(o.sourceContexts);
checkStatusMessage(o.status);
unittest.expect(o.uniquifier, unittest.equals('foo'));
}
@@ -345,14 +345,14 @@
buildCounterEmpty--;
}
-buildUnnamed932() {
+buildUnnamed939() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed932(core.Map<core.String, core.String> o) {
+checkUnnamed939(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'));
@@ -364,7 +364,7 @@
buildCounterExtendedSourceContext++;
if (buildCounterExtendedSourceContext < 3) {
o.context = buildSourceContext();
- o.labels = buildUnnamed932();
+ o.labels = buildUnnamed939();
}
buildCounterExtendedSourceContext--;
return o;
@@ -374,19 +374,19 @@
buildCounterExtendedSourceContext++;
if (buildCounterExtendedSourceContext < 3) {
checkSourceContext(o.context);
- checkUnnamed932(o.labels);
+ checkUnnamed939(o.labels);
}
buildCounterExtendedSourceContext--;
}
-buildUnnamed933() {
+buildUnnamed940() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed933(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'));
@@ -398,7 +398,7 @@
buildCounterFormatMessage++;
if (buildCounterFormatMessage < 3) {
o.format = "foo";
- o.parameters = buildUnnamed933();
+ o.parameters = buildUnnamed940();
}
buildCounterFormatMessage--;
return o;
@@ -408,7 +408,7 @@
buildCounterFormatMessage++;
if (buildCounterFormatMessage < 3) {
unittest.expect(o.format, unittest.equals('foo'));
- checkUnnamed933(o.parameters);
+ checkUnnamed940(o.parameters);
}
buildCounterFormatMessage--;
}
@@ -480,14 +480,14 @@
buildCounterGitSourceContext--;
}
-buildUnnamed934() {
+buildUnnamed941() {
var o = new core.List<api.Breakpoint>();
o.add(buildBreakpoint());
o.add(buildBreakpoint());
return o;
}
-checkUnnamed934(core.List<api.Breakpoint> o) {
+checkUnnamed941(core.List<api.Breakpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkBreakpoint(o[0]);
checkBreakpoint(o[1]);
@@ -498,7 +498,7 @@
var o = new api.ListActiveBreakpointsResponse();
buildCounterListActiveBreakpointsResponse++;
if (buildCounterListActiveBreakpointsResponse < 3) {
- o.breakpoints = buildUnnamed934();
+ o.breakpoints = buildUnnamed941();
o.nextWaitToken = "foo";
o.waitExpired = true;
}
@@ -509,21 +509,21 @@
checkListActiveBreakpointsResponse(api.ListActiveBreakpointsResponse o) {
buildCounterListActiveBreakpointsResponse++;
if (buildCounterListActiveBreakpointsResponse < 3) {
- checkUnnamed934(o.breakpoints);
+ checkUnnamed941(o.breakpoints);
unittest.expect(o.nextWaitToken, unittest.equals('foo'));
unittest.expect(o.waitExpired, unittest.isTrue);
}
buildCounterListActiveBreakpointsResponse--;
}
-buildUnnamed935() {
+buildUnnamed942() {
var o = new core.List<api.Breakpoint>();
o.add(buildBreakpoint());
o.add(buildBreakpoint());
return o;
}
-checkUnnamed935(core.List<api.Breakpoint> o) {
+checkUnnamed942(core.List<api.Breakpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkBreakpoint(o[0]);
checkBreakpoint(o[1]);
@@ -534,7 +534,7 @@
var o = new api.ListBreakpointsResponse();
buildCounterListBreakpointsResponse++;
if (buildCounterListBreakpointsResponse < 3) {
- o.breakpoints = buildUnnamed935();
+ o.breakpoints = buildUnnamed942();
o.nextWaitToken = "foo";
}
buildCounterListBreakpointsResponse--;
@@ -544,20 +544,20 @@
checkListBreakpointsResponse(api.ListBreakpointsResponse o) {
buildCounterListBreakpointsResponse++;
if (buildCounterListBreakpointsResponse < 3) {
- checkUnnamed935(o.breakpoints);
+ checkUnnamed942(o.breakpoints);
unittest.expect(o.nextWaitToken, unittest.equals('foo'));
}
buildCounterListBreakpointsResponse--;
}
-buildUnnamed936() {
+buildUnnamed943() {
var o = new core.List<api.Debuggee>();
o.add(buildDebuggee());
o.add(buildDebuggee());
return o;
}
-checkUnnamed936(core.List<api.Debuggee> o) {
+checkUnnamed943(core.List<api.Debuggee> o) {
unittest.expect(o, unittest.hasLength(2));
checkDebuggee(o[0]);
checkDebuggee(o[1]);
@@ -568,7 +568,7 @@
var o = new api.ListDebuggeesResponse();
buildCounterListDebuggeesResponse++;
if (buildCounterListDebuggeesResponse < 3) {
- o.debuggees = buildUnnamed936();
+ o.debuggees = buildUnnamed943();
}
buildCounterListDebuggeesResponse--;
return o;
@@ -577,7 +577,7 @@
checkListDebuggeesResponse(api.ListDebuggeesResponse o) {
buildCounterListDebuggeesResponse++;
if (buildCounterListDebuggeesResponse < 3) {
- checkUnnamed936(o.debuggees);
+ checkUnnamed943(o.debuggees);
}
buildCounterListDebuggeesResponse--;
}
@@ -727,27 +727,27 @@
buildCounterSourceLocation--;
}
-buildUnnamed937() {
+buildUnnamed944() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed937(core.List<api.Variable> o) {
+checkUnnamed944(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
}
-buildUnnamed938() {
+buildUnnamed945() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed938(core.List<api.Variable> o) {
+checkUnnamed945(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -758,9 +758,9 @@
var o = new api.StackFrame();
buildCounterStackFrame++;
if (buildCounterStackFrame < 3) {
- o.arguments = buildUnnamed937();
+ o.arguments = buildUnnamed944();
o.function = "foo";
- o.locals = buildUnnamed938();
+ o.locals = buildUnnamed945();
o.location = buildSourceLocation();
}
buildCounterStackFrame--;
@@ -770,9 +770,9 @@
checkStackFrame(api.StackFrame o) {
buildCounterStackFrame++;
if (buildCounterStackFrame < 3) {
- checkUnnamed937(o.arguments);
+ checkUnnamed944(o.arguments);
unittest.expect(o.function, unittest.equals('foo'));
- checkUnnamed938(o.locals);
+ checkUnnamed945(o.locals);
checkSourceLocation(o.location);
}
buildCounterStackFrame--;
@@ -835,14 +835,14 @@
buildCounterUpdateActiveBreakpointResponse--;
}
-buildUnnamed939() {
+buildUnnamed946() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed939(core.List<api.Variable> o) {
+checkUnnamed946(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -853,7 +853,7 @@
var o = new api.Variable();
buildCounterVariable++;
if (buildCounterVariable < 3) {
- o.members = buildUnnamed939();
+ o.members = buildUnnamed946();
o.name = "foo";
o.status = buildStatusMessage();
o.type = "foo";
@@ -867,7 +867,7 @@
checkVariable(api.Variable o) {
buildCounterVariable++;
if (buildCounterVariable < 3) {
- checkUnnamed939(o.members);
+ checkUnnamed946(o.members);
unittest.expect(o.name, unittest.equals('foo'));
checkStatusMessage(o.status);
unittest.expect(o.type, unittest.equals('foo'));
@@ -1296,9 +1296,9 @@
var mock = new HttpServerMock();
api.DebuggerDebuggeesResourceApi res =
new api.ClouddebuggerApi(mock).debugger.debuggees;
- var arg_includeInactive = true;
var arg_project = "foo";
var arg_clientVersion = "foo";
+ var arg_includeInactive = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1330,12 +1330,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["includeInactive"].first,
- unittest.equals("$arg_includeInactive"));
unittest.expect(
queryMap["project"].first, unittest.equals(arg_project));
unittest.expect(queryMap["clientVersion"].first,
unittest.equals(arg_clientVersion));
+ unittest.expect(queryMap["includeInactive"].first,
+ unittest.equals("$arg_includeInactive"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1346,9 +1346,9 @@
}), true);
res
.list(
- includeInactive: arg_includeInactive,
project: arg_project,
clientVersion: arg_clientVersion,
+ includeInactive: arg_includeInactive,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListDebuggeesResponse response) {
checkListDebuggeesResponse(response);
@@ -1498,12 +1498,12 @@
api.DebuggerDebuggeesBreakpointsResourceApi res =
new api.ClouddebuggerApi(mock).debugger.debuggees.breakpoints;
var arg_debuggeeId = "foo";
+ var arg_clientVersion = "foo";
+ var arg_action_value = "foo";
var arg_includeInactive = true;
var arg_includeAllUsers = true;
var arg_stripResults = true;
var arg_waitToken = "foo";
- var arg_clientVersion = "foo";
- var arg_action_value = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1544,6 +1544,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["clientVersion"].first,
+ unittest.equals(arg_clientVersion));
+ unittest.expect(
+ queryMap["action.value"].first, unittest.equals(arg_action_value));
unittest.expect(queryMap["includeInactive"].first,
unittest.equals("$arg_includeInactive"));
unittest.expect(queryMap["includeAllUsers"].first,
@@ -1552,10 +1556,6 @@
unittest.equals("$arg_stripResults"));
unittest.expect(
queryMap["waitToken"].first, unittest.equals(arg_waitToken));
- unittest.expect(queryMap["clientVersion"].first,
- unittest.equals(arg_clientVersion));
- unittest.expect(
- queryMap["action.value"].first, unittest.equals(arg_action_value));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1566,12 +1566,12 @@
}), true);
res
.list(arg_debuggeeId,
+ clientVersion: arg_clientVersion,
+ action_value: arg_action_value,
includeInactive: arg_includeInactive,
includeAllUsers: arg_includeAllUsers,
stripResults: arg_stripResults,
waitToken: arg_waitToken,
- clientVersion: arg_clientVersion,
- action_value: arg_action_value,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListBreakpointsResponse response) {
checkListBreakpointsResponse(response);
diff --git a/generated/googleapis/test/cloudfunctions/v1_test.dart b/generated/googleapis/test/cloudfunctions/v1_test.dart
index 8f255ed..7d8e03f 100644
--- a/generated/googleapis/test/cloudfunctions/v1_test.dart
+++ b/generated/googleapis/test/cloudfunctions/v1_test.dart
@@ -972,10 +972,10 @@
var mock = new HttpServerMock();
api.OperationsResourceApi res =
new api.CloudfunctionsApi(mock).operations;
- var arg_pageSize = 42;
- var arg_filter = "foo";
var arg_name = "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;
@@ -1007,12 +1007,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["name"].first, unittest.equals(arg_name));
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 = {
@@ -1023,10 +1023,10 @@
}), true);
res
.list(
- pageSize: arg_pageSize,
- filter: arg_filter,
name: arg_name,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
@@ -1040,9 +1040,9 @@
api.ProjectsLocationsResourceApi res =
new api.CloudfunctionsApi(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;
@@ -1075,11 +1075,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 = {
@@ -1090,9 +1090,9 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
filter: arg_filter,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListLocationsResponse response) {
checkListLocationsResponse(response);
@@ -1432,8 +1432,8 @@
api.ProjectsLocationsFunctionsResourceApi res =
new api.CloudfunctionsApi(mock).projects.locations.functions;
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;
@@ -1466,10 +1466,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 = {
@@ -1480,8 +1480,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListFunctionsResponse response) {
checkListFunctionsResponse(response);
diff --git a/generated/googleapis/test/cloudiot/v1_test.dart b/generated/googleapis/test/cloudiot/v1_test.dart
index 7340b62..413d83e 100644
--- a/generated/googleapis/test/cloudiot/v1_test.dart
+++ b/generated/googleapis/test/cloudiot/v1_test.dart
@@ -1826,11 +1826,11 @@
api.ProjectsLocationsRegistriesDevicesResourceApi res =
new api.CloudiotApi(mock).projects.locations.registries.devices;
var arg_parent = "foo";
+ var arg_deviceIds = buildUnnamed281();
+ var arg_deviceNumIds = buildUnnamed282();
var arg_pageToken = "foo";
var arg_fieldMask = "foo";
var arg_pageSize = 42;
- var arg_deviceIds = buildUnnamed281();
- var arg_deviceNumIds = buildUnnamed282();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1863,15 +1863,15 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["deviceIds"], unittest.equals(arg_deviceIds));
+ unittest.expect(
+ queryMap["deviceNumIds"], unittest.equals(arg_deviceNumIds));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["fieldMask"].first, unittest.equals(arg_fieldMask));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["deviceIds"], unittest.equals(arg_deviceIds));
- unittest.expect(
- queryMap["deviceNumIds"], unittest.equals(arg_deviceNumIds));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1882,11 +1882,11 @@
}), true);
res
.list(arg_parent,
+ deviceIds: arg_deviceIds,
+ deviceNumIds: arg_deviceNumIds,
pageToken: arg_pageToken,
fieldMask: arg_fieldMask,
pageSize: arg_pageSize,
- deviceIds: arg_deviceIds,
- deviceNumIds: arg_deviceNumIds,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListDevicesResponse response) {
checkListDevicesResponse(response);
diff --git a/generated/googleapis/test/cloudkms/v1_test.dart b/generated/googleapis/test/cloudkms/v1_test.dart
index 4f868ab..28077b1 100644
--- a/generated/googleapis/test/cloudkms/v1_test.dart
+++ b/generated/googleapis/test/cloudkms/v1_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1426() {
+buildUnnamed1435() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1426(core.List<api.AuditLogConfig> o) {
+checkUnnamed1435(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed1427() {
+buildUnnamed1436() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1427(core.List<core.String> o) {
+checkUnnamed1436(core.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.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed1426();
- o.exemptedMembers = buildUnnamed1427();
+ o.auditLogConfigs = buildUnnamed1435();
+ o.exemptedMembers = buildUnnamed1436();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -92,21 +92,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1426(o.auditLogConfigs);
- checkUnnamed1427(o.exemptedMembers);
+ checkUnnamed1435(o.auditLogConfigs);
+ checkUnnamed1436(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1428() {
+buildUnnamed1437() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1428(core.List<core.String> o) {
+checkUnnamed1437(core.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,7 +117,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed1428();
+ o.exemptedMembers = buildUnnamed1437();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -127,20 +127,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1428(o.exemptedMembers);
+ checkUnnamed1437(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed1429() {
+buildUnnamed1438() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1429(core.List<core.String> o) {
+checkUnnamed1438(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -152,7 +152,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed1429();
+ o.members = buildUnnamed1438();
o.role = "foo";
}
buildCounterBinding--;
@@ -163,20 +163,20 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed1429(o.members);
+ checkUnnamed1438(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed1430() {
+buildUnnamed1439() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1430(core.Map<core.String, core.String> o) {
+checkUnnamed1439(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'));
@@ -188,7 +188,7 @@
buildCounterCryptoKey++;
if (buildCounterCryptoKey < 3) {
o.createTime = "foo";
- o.labels = buildUnnamed1430();
+ o.labels = buildUnnamed1439();
o.name = "foo";
o.nextRotationTime = "foo";
o.primary = buildCryptoKeyVersion();
@@ -203,7 +203,7 @@
buildCounterCryptoKey++;
if (buildCounterCryptoKey < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed1430(o.labels);
+ checkUnnamed1439(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nextRotationTime, unittest.equals('foo'));
checkCryptoKeyVersion(o.primary);
@@ -383,14 +383,14 @@
buildCounterKeyRing--;
}
-buildUnnamed1431() {
+buildUnnamed1440() {
var o = new core.List<api.CryptoKeyVersion>();
o.add(buildCryptoKeyVersion());
o.add(buildCryptoKeyVersion());
return o;
}
-checkUnnamed1431(core.List<api.CryptoKeyVersion> o) {
+checkUnnamed1440(core.List<api.CryptoKeyVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkCryptoKeyVersion(o[0]);
checkCryptoKeyVersion(o[1]);
@@ -401,7 +401,7 @@
var o = new api.ListCryptoKeyVersionsResponse();
buildCounterListCryptoKeyVersionsResponse++;
if (buildCounterListCryptoKeyVersionsResponse < 3) {
- o.cryptoKeyVersions = buildUnnamed1431();
+ o.cryptoKeyVersions = buildUnnamed1440();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -412,21 +412,21 @@
checkListCryptoKeyVersionsResponse(api.ListCryptoKeyVersionsResponse o) {
buildCounterListCryptoKeyVersionsResponse++;
if (buildCounterListCryptoKeyVersionsResponse < 3) {
- checkUnnamed1431(o.cryptoKeyVersions);
+ checkUnnamed1440(o.cryptoKeyVersions);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListCryptoKeyVersionsResponse--;
}
-buildUnnamed1432() {
+buildUnnamed1441() {
var o = new core.List<api.CryptoKey>();
o.add(buildCryptoKey());
o.add(buildCryptoKey());
return o;
}
-checkUnnamed1432(core.List<api.CryptoKey> o) {
+checkUnnamed1441(core.List<api.CryptoKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkCryptoKey(o[0]);
checkCryptoKey(o[1]);
@@ -437,7 +437,7 @@
var o = new api.ListCryptoKeysResponse();
buildCounterListCryptoKeysResponse++;
if (buildCounterListCryptoKeysResponse < 3) {
- o.cryptoKeys = buildUnnamed1432();
+ o.cryptoKeys = buildUnnamed1441();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -448,21 +448,21 @@
checkListCryptoKeysResponse(api.ListCryptoKeysResponse o) {
buildCounterListCryptoKeysResponse++;
if (buildCounterListCryptoKeysResponse < 3) {
- checkUnnamed1432(o.cryptoKeys);
+ checkUnnamed1441(o.cryptoKeys);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListCryptoKeysResponse--;
}
-buildUnnamed1433() {
+buildUnnamed1442() {
var o = new core.List<api.KeyRing>();
o.add(buildKeyRing());
o.add(buildKeyRing());
return o;
}
-checkUnnamed1433(core.List<api.KeyRing> o) {
+checkUnnamed1442(core.List<api.KeyRing> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyRing(o[0]);
checkKeyRing(o[1]);
@@ -473,7 +473,7 @@
var o = new api.ListKeyRingsResponse();
buildCounterListKeyRingsResponse++;
if (buildCounterListKeyRingsResponse < 3) {
- o.keyRings = buildUnnamed1433();
+ o.keyRings = buildUnnamed1442();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -484,21 +484,21 @@
checkListKeyRingsResponse(api.ListKeyRingsResponse o) {
buildCounterListKeyRingsResponse++;
if (buildCounterListKeyRingsResponse < 3) {
- checkUnnamed1433(o.keyRings);
+ checkUnnamed1442(o.keyRings);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListKeyRingsResponse--;
}
-buildUnnamed1434() {
+buildUnnamed1443() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed1434(core.List<api.Location> o) {
+checkUnnamed1443(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -509,7 +509,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed1434();
+ o.locations = buildUnnamed1443();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -519,26 +519,26 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed1434(o.locations);
+ checkUnnamed1443(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed1435() {
+buildUnnamed1444() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1435(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'));
}
-buildUnnamed1436() {
+buildUnnamed1445() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -553,7 +553,7 @@
return o;
}
-checkUnnamed1436(core.Map<core.String, core.Object> o) {
+checkUnnamed1445(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));
@@ -572,9 +572,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed1435();
+ o.labels = buildUnnamed1444();
o.locationId = "foo";
- o.metadata = buildUnnamed1436();
+ o.metadata = buildUnnamed1445();
o.name = "foo";
}
buildCounterLocation--;
@@ -584,35 +584,35 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed1435(o.labels);
+ checkUnnamed1444(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed1436(o.metadata);
+ checkUnnamed1445(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
}
-buildUnnamed1437() {
+buildUnnamed1446() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1437(core.List<api.AuditConfig> o) {
+checkUnnamed1446(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1438() {
+buildUnnamed1447() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1438(core.List<api.Binding> o) {
+checkUnnamed1447(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -623,8 +623,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed1437();
- o.bindings = buildUnnamed1438();
+ o.auditConfigs = buildUnnamed1446();
+ o.bindings = buildUnnamed1447();
o.etag = "foo";
o.iamOwned = true;
o.version = 42;
@@ -636,8 +636,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1437(o.auditConfigs);
- checkUnnamed1438(o.bindings);
+ checkUnnamed1446(o.auditConfigs);
+ checkUnnamed1447(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
unittest.expect(o.version, unittest.equals(42));
@@ -681,14 +681,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed1439() {
+buildUnnamed1448() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1439(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'));
@@ -699,7 +699,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1439();
+ o.permissions = buildUnnamed1448();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -708,19 +708,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1439(o.permissions);
+ checkUnnamed1448(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1440() {
+buildUnnamed1449() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1440(core.List<core.String> o) {
+checkUnnamed1449(core.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,7 +731,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1440();
+ o.permissions = buildUnnamed1449();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -740,7 +740,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1440(o.permissions);
+ checkUnnamed1449(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1691,8 +1691,8 @@
api.ProjectsLocationsKeyRingsCryptoKeysResourceApi res =
new api.CloudkmsApi(mock).projects.locations.keyRings.cryptoKeys;
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;
@@ -1725,10 +1725,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 = {
@@ -1739,8 +1739,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListCryptoKeysResponse response) {
checkListCryptoKeysResponse(response);
diff --git a/generated/googleapis/test/cloudresourcemanager/v1_test.dart b/generated/googleapis/test/cloudresourcemanager/v1_test.dart
index c09f582..b725501 100644
--- a/generated/googleapis/test/cloudresourcemanager/v1_test.dart
+++ b/generated/googleapis/test/cloudresourcemanager/v1_test.dart
@@ -69,14 +69,14 @@
buildCounterAncestor--;
}
-buildUnnamed1900() {
+buildUnnamed1914() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1900(core.List<api.AuditLogConfig> o) {
+checkUnnamed1914(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 = buildUnnamed1900();
+ o.auditLogConfigs = buildUnnamed1914();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -97,20 +97,20 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1900(o.auditLogConfigs);
+ checkUnnamed1914(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1901() {
+buildUnnamed1915() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1901(core.List<core.String> o) {
+checkUnnamed1915(core.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 = buildUnnamed1901();
+ o.exemptedMembers = buildUnnamed1915();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -131,20 +131,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1901(o.exemptedMembers);
+ checkUnnamed1915(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed1902() {
+buildUnnamed1916() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1902(core.List<core.String> o) {
+checkUnnamed1916(core.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,7 +155,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1902();
+ o.members = buildUnnamed1916();
o.role = "foo";
}
buildCounterBinding--;
@@ -165,7 +165,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1902(o.members);
+ checkUnnamed1916(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -331,14 +331,14 @@
buildCounterGetAncestryRequest--;
}
-buildUnnamed1903() {
+buildUnnamed1917() {
var o = new core.List<api.Ancestor>();
o.add(buildAncestor());
o.add(buildAncestor());
return o;
}
-checkUnnamed1903(core.List<api.Ancestor> o) {
+checkUnnamed1917(core.List<api.Ancestor> o) {
unittest.expect(o, unittest.hasLength(2));
checkAncestor(o[0]);
checkAncestor(o[1]);
@@ -349,7 +349,7 @@
var o = new api.GetAncestryResponse();
buildCounterGetAncestryResponse++;
if (buildCounterGetAncestryResponse < 3) {
- o.ancestor = buildUnnamed1903();
+ o.ancestor = buildUnnamed1917();
}
buildCounterGetAncestryResponse--;
return o;
@@ -358,7 +358,7 @@
checkGetAncestryResponse(api.GetAncestryResponse o) {
buildCounterGetAncestryResponse++;
if (buildCounterGetAncestryResponse < 3) {
- checkUnnamed1903(o.ancestor);
+ checkUnnamed1917(o.ancestor);
}
buildCounterGetAncestryResponse--;
}
@@ -416,14 +416,14 @@
buildCounterGetOrgPolicyRequest--;
}
-buildUnnamed1904() {
+buildUnnamed1918() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1904(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'));
@@ -439,7 +439,7 @@
o.origin = "foo";
o.parent = "foo";
o.reason = "foo";
- o.restrictions = buildUnnamed1904();
+ o.restrictions = buildUnnamed1918();
}
buildCounterLien--;
return o;
@@ -453,7 +453,7 @@
unittest.expect(o.origin, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
unittest.expect(o.reason, unittest.equals('foo'));
- checkUnnamed1904(o.restrictions);
+ checkUnnamed1918(o.restrictions);
}
buildCounterLien--;
}
@@ -480,14 +480,14 @@
buildCounterListAvailableOrgPolicyConstraintsRequest--;
}
-buildUnnamed1905() {
+buildUnnamed1919() {
var o = new core.List<api.Constraint>();
o.add(buildConstraint());
o.add(buildConstraint());
return o;
}
-checkUnnamed1905(core.List<api.Constraint> o) {
+checkUnnamed1919(core.List<api.Constraint> o) {
unittest.expect(o, unittest.hasLength(2));
checkConstraint(o[0]);
checkConstraint(o[1]);
@@ -498,7 +498,7 @@
var o = new api.ListAvailableOrgPolicyConstraintsResponse();
buildCounterListAvailableOrgPolicyConstraintsResponse++;
if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) {
- o.constraints = buildUnnamed1905();
+ o.constraints = buildUnnamed1919();
o.nextPageToken = "foo";
}
buildCounterListAvailableOrgPolicyConstraintsResponse--;
@@ -509,7 +509,7 @@
api.ListAvailableOrgPolicyConstraintsResponse o) {
buildCounterListAvailableOrgPolicyConstraintsResponse++;
if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) {
- checkUnnamed1905(o.constraints);
+ checkUnnamed1919(o.constraints);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAvailableOrgPolicyConstraintsResponse--;
@@ -534,14 +534,14 @@
buildCounterListConstraint--;
}
-buildUnnamed1906() {
+buildUnnamed1920() {
var o = new core.List<api.Lien>();
o.add(buildLien());
o.add(buildLien());
return o;
}
-checkUnnamed1906(core.List<api.Lien> o) {
+checkUnnamed1920(core.List<api.Lien> o) {
unittest.expect(o, unittest.hasLength(2));
checkLien(o[0]);
checkLien(o[1]);
@@ -552,7 +552,7 @@
var o = new api.ListLiensResponse();
buildCounterListLiensResponse++;
if (buildCounterListLiensResponse < 3) {
- o.liens = buildUnnamed1906();
+ o.liens = buildUnnamed1920();
o.nextPageToken = "foo";
}
buildCounterListLiensResponse--;
@@ -562,7 +562,7 @@
checkListLiensResponse(api.ListLiensResponse o) {
buildCounterListLiensResponse++;
if (buildCounterListLiensResponse < 3) {
- checkUnnamed1906(o.liens);
+ checkUnnamed1920(o.liens);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLiensResponse--;
@@ -589,14 +589,14 @@
buildCounterListOrgPoliciesRequest--;
}
-buildUnnamed1907() {
+buildUnnamed1921() {
var o = new core.List<api.OrgPolicy>();
o.add(buildOrgPolicy());
o.add(buildOrgPolicy());
return o;
}
-checkUnnamed1907(core.List<api.OrgPolicy> o) {
+checkUnnamed1921(core.List<api.OrgPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrgPolicy(o[0]);
checkOrgPolicy(o[1]);
@@ -608,7 +608,7 @@
buildCounterListOrgPoliciesResponse++;
if (buildCounterListOrgPoliciesResponse < 3) {
o.nextPageToken = "foo";
- o.policies = buildUnnamed1907();
+ o.policies = buildUnnamed1921();
}
buildCounterListOrgPoliciesResponse--;
return o;
@@ -618,32 +618,32 @@
buildCounterListOrgPoliciesResponse++;
if (buildCounterListOrgPoliciesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1907(o.policies);
+ checkUnnamed1921(o.policies);
}
buildCounterListOrgPoliciesResponse--;
}
-buildUnnamed1908() {
+buildUnnamed1922() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1908(core.List<core.String> o) {
+checkUnnamed1922(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1909() {
+buildUnnamed1923() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1909(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'));
@@ -655,8 +655,8 @@
buildCounterListPolicy++;
if (buildCounterListPolicy < 3) {
o.allValues = "foo";
- o.allowedValues = buildUnnamed1908();
- o.deniedValues = buildUnnamed1909();
+ o.allowedValues = buildUnnamed1922();
+ o.deniedValues = buildUnnamed1923();
o.inheritFromParent = true;
o.suggestedValue = "foo";
}
@@ -668,22 +668,22 @@
buildCounterListPolicy++;
if (buildCounterListPolicy < 3) {
unittest.expect(o.allValues, unittest.equals('foo'));
- checkUnnamed1908(o.allowedValues);
- checkUnnamed1909(o.deniedValues);
+ checkUnnamed1922(o.allowedValues);
+ checkUnnamed1923(o.deniedValues);
unittest.expect(o.inheritFromParent, unittest.isTrue);
unittest.expect(o.suggestedValue, unittest.equals('foo'));
}
buildCounterListPolicy--;
}
-buildUnnamed1910() {
+buildUnnamed1924() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed1910(core.List<api.Project> o) {
+checkUnnamed1924(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -695,7 +695,7 @@
buildCounterListProjectsResponse++;
if (buildCounterListProjectsResponse < 3) {
o.nextPageToken = "foo";
- o.projects = buildUnnamed1910();
+ o.projects = buildUnnamed1924();
}
buildCounterListProjectsResponse--;
return o;
@@ -705,12 +705,12 @@
buildCounterListProjectsResponse++;
if (buildCounterListProjectsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1910(o.projects);
+ checkUnnamed1924(o.projects);
}
buildCounterListProjectsResponse--;
}
-buildUnnamed1911() {
+buildUnnamed1925() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -725,7 +725,7 @@
return o;
}
-checkUnnamed1911(core.Map<core.String, core.Object> o) {
+checkUnnamed1925(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));
@@ -739,7 +739,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1912() {
+buildUnnamed1926() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -754,7 +754,7 @@
return o;
}
-checkUnnamed1912(core.Map<core.String, core.Object> o) {
+checkUnnamed1926(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));
@@ -775,9 +775,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1911();
+ o.metadata = buildUnnamed1925();
o.name = "foo";
- o.response = buildUnnamed1912();
+ o.response = buildUnnamed1926();
}
buildCounterOperation--;
return o;
@@ -788,9 +788,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1911(o.metadata);
+ checkUnnamed1925(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1912(o.response);
+ checkUnnamed1926(o.response);
}
buildCounterOperation--;
}
@@ -872,27 +872,27 @@
buildCounterOrganizationOwner--;
}
-buildUnnamed1913() {
+buildUnnamed1927() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1913(core.List<api.AuditConfig> o) {
+checkUnnamed1927(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1914() {
+buildUnnamed1928() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1914(core.List<api.Binding> o) {
+checkUnnamed1928(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -903,8 +903,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed1913();
- o.bindings = buildUnnamed1914();
+ o.auditConfigs = buildUnnamed1927();
+ o.bindings = buildUnnamed1928();
o.etag = "foo";
o.version = 42;
}
@@ -915,22 +915,22 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1913(o.auditConfigs);
- checkUnnamed1914(o.bindings);
+ checkUnnamed1927(o.auditConfigs);
+ checkUnnamed1928(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed1915() {
+buildUnnamed1929() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1915(core.Map<core.String, core.String> o) {
+checkUnnamed1929(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'));
@@ -942,7 +942,7 @@
buildCounterProject++;
if (buildCounterProject < 3) {
o.createTime = "foo";
- o.labels = buildUnnamed1915();
+ o.labels = buildUnnamed1929();
o.lifecycleState = "foo";
o.name = "foo";
o.parent = buildResourceId();
@@ -957,7 +957,7 @@
buildCounterProject++;
if (buildCounterProject < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed1915(o.labels);
+ checkUnnamed1929(o.labels);
unittest.expect(o.lifecycleState, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkResourceId(o.parent);
@@ -1049,14 +1049,14 @@
buildCounterSearchOrganizationsRequest--;
}
-buildUnnamed1916() {
+buildUnnamed1930() {
var o = new core.List<api.Organization>();
o.add(buildOrganization());
o.add(buildOrganization());
return o;
}
-checkUnnamed1916(core.List<api.Organization> o) {
+checkUnnamed1930(core.List<api.Organization> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrganization(o[0]);
checkOrganization(o[1]);
@@ -1068,7 +1068,7 @@
buildCounterSearchOrganizationsResponse++;
if (buildCounterSearchOrganizationsResponse < 3) {
o.nextPageToken = "foo";
- o.organizations = buildUnnamed1916();
+ o.organizations = buildUnnamed1930();
}
buildCounterSearchOrganizationsResponse--;
return o;
@@ -1078,7 +1078,7 @@
buildCounterSearchOrganizationsResponse++;
if (buildCounterSearchOrganizationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1916(o.organizations);
+ checkUnnamed1930(o.organizations);
}
buildCounterSearchOrganizationsResponse--;
}
@@ -1123,7 +1123,7 @@
buildCounterSetOrgPolicyRequest--;
}
-buildUnnamed1917() {
+buildUnnamed1931() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1138,7 +1138,7 @@
return o;
}
-checkUnnamed1917(core.Map<core.String, core.Object> o) {
+checkUnnamed1931(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));
@@ -1152,17 +1152,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed1918() {
+buildUnnamed1932() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1917());
- o.add(buildUnnamed1917());
+ o.add(buildUnnamed1931());
+ o.add(buildUnnamed1931());
return o;
}
-checkUnnamed1918(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1932(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1917(o[0]);
- checkUnnamed1917(o[1]);
+ checkUnnamed1931(o[0]);
+ checkUnnamed1931(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1171,7 +1171,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1918();
+ o.details = buildUnnamed1932();
o.message = "foo";
}
buildCounterStatus--;
@@ -1182,20 +1182,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1918(o.details);
+ checkUnnamed1932(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed1919() {
+buildUnnamed1933() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1919(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'));
@@ -1206,7 +1206,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1919();
+ o.permissions = buildUnnamed1933();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -1215,19 +1215,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1919(o.permissions);
+ checkUnnamed1933(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1920() {
+buildUnnamed1934() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1920(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'));
@@ -1238,7 +1238,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1920();
+ o.permissions = buildUnnamed1934();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1247,7 +1247,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1920(o.permissions);
+ checkUnnamed1934(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
diff --git a/generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart b/generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart
index d2c346d..f5f14b5 100644
--- a/generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart
+++ b/generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart
@@ -1046,10 +1046,10 @@
var mock = new HttpServerMock();
api.FoldersResourceApi res =
new api.CloudresourcemanagerApi(mock).folders;
- var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_parent = "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;
@@ -1081,13 +1081,13 @@
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["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(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1098,10 +1098,10 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
parent: arg_parent,
showDeleted: arg_showDeleted,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListFoldersResponse response) {
checkListFoldersResponse(response);
diff --git a/generated/googleapis/test/cloudtrace/v1_test.dart b/generated/googleapis/test/cloudtrace/v1_test.dart
index 982d2ea..6c898fa 100644
--- a/generated/googleapis/test/cloudtrace/v1_test.dart
+++ b/generated/googleapis/test/cloudtrace/v1_test.dart
@@ -389,8 +389,8 @@
var arg_projectId = "foo";
var arg_filter = "foo";
var arg_endTime = "foo";
- var arg_startTime = "foo";
var arg_pageToken = "foo";
+ var arg_startTime = "foo";
var arg_pageSize = 42;
var arg_view = "foo";
var arg_orderBy = "foo";
@@ -438,9 +438,9 @@
unittest.expect(
queryMap["endTime"].first, unittest.equals(arg_endTime));
unittest.expect(
- queryMap["startTime"].first, unittest.equals(arg_startTime));
- 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["view"].first, unittest.equals(arg_view));
@@ -458,8 +458,8 @@
.list(arg_projectId,
filter: arg_filter,
endTime: arg_endTime,
- startTime: arg_startTime,
pageToken: arg_pageToken,
+ startTime: arg_startTime,
pageSize: arg_pageSize,
view: arg_view,
orderBy: arg_orderBy,
diff --git a/generated/googleapis/test/cloudtrace/v2_test.dart b/generated/googleapis/test/cloudtrace/v2_test.dart
index 54ba4ba..ad1e7b2 100644
--- a/generated/googleapis/test/cloudtrace/v2_test.dart
+++ b/generated/googleapis/test/cloudtrace/v2_test.dart
@@ -94,14 +94,14 @@
buildCounterAttributeValue--;
}
-buildUnnamed1145() {
+buildUnnamed1152() {
var o = new core.Map<core.String, api.AttributeValue>();
o["x"] = buildAttributeValue();
o["y"] = buildAttributeValue();
return o;
}
-checkUnnamed1145(core.Map<core.String, api.AttributeValue> o) {
+checkUnnamed1152(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 = buildUnnamed1145();
+ o.attributeMap = buildUnnamed1152();
o.droppedAttributesCount = 42;
}
buildCounterAttributes--;
@@ -122,20 +122,20 @@
checkAttributes(api.Attributes o) {
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- checkUnnamed1145(o.attributeMap);
+ checkUnnamed1152(o.attributeMap);
unittest.expect(o.droppedAttributesCount, unittest.equals(42));
}
buildCounterAttributes--;
}
-buildUnnamed1146() {
+buildUnnamed1153() {
var o = new core.List<api.Span>();
o.add(buildSpan());
o.add(buildSpan());
return o;
}
-checkUnnamed1146(core.List<api.Span> o) {
+checkUnnamed1153(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 = buildUnnamed1146();
+ o.spans = buildUnnamed1153();
}
buildCounterBatchWriteSpansRequest--;
return o;
@@ -155,7 +155,7 @@
checkBatchWriteSpansRequest(api.BatchWriteSpansRequest o) {
buildCounterBatchWriteSpansRequest++;
if (buildCounterBatchWriteSpansRequest < 3) {
- checkUnnamed1146(o.spans);
+ checkUnnamed1153(o.spans);
}
buildCounterBatchWriteSpansRequest--;
}
@@ -200,14 +200,14 @@
buildCounterLink--;
}
-buildUnnamed1147() {
+buildUnnamed1154() {
var o = new core.List<api.Link>();
o.add(buildLink());
o.add(buildLink());
return o;
}
-checkUnnamed1147(core.List<api.Link> o) {
+checkUnnamed1154(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 = buildUnnamed1147();
+ o.link = buildUnnamed1154();
}
buildCounterLinks--;
return o;
@@ -229,7 +229,7 @@
buildCounterLinks++;
if (buildCounterLinks < 3) {
unittest.expect(o.droppedLinksCount, unittest.equals(42));
- checkUnnamed1147(o.link);
+ checkUnnamed1154(o.link);
}
buildCounterLinks--;
}
@@ -354,14 +354,14 @@
buildCounterStackFrame--;
}
-buildUnnamed1148() {
+buildUnnamed1155() {
var o = new core.List<api.StackFrame>();
o.add(buildStackFrame());
o.add(buildStackFrame());
return o;
}
-checkUnnamed1148(core.List<api.StackFrame> o) {
+checkUnnamed1155(core.List<api.StackFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkStackFrame(o[0]);
checkStackFrame(o[1]);
@@ -373,7 +373,7 @@
buildCounterStackFrames++;
if (buildCounterStackFrames < 3) {
o.droppedFramesCount = 42;
- o.frame = buildUnnamed1148();
+ o.frame = buildUnnamed1155();
}
buildCounterStackFrames--;
return o;
@@ -383,7 +383,7 @@
buildCounterStackFrames++;
if (buildCounterStackFrames < 3) {
unittest.expect(o.droppedFramesCount, unittest.equals(42));
- checkUnnamed1148(o.frame);
+ checkUnnamed1155(o.frame);
}
buildCounterStackFrames--;
}
@@ -409,7 +409,7 @@
buildCounterStackTrace--;
}
-buildUnnamed1149() {
+buildUnnamed1156() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -424,7 +424,7 @@
return o;
}
-checkUnnamed1149(core.Map<core.String, core.Object> o) {
+checkUnnamed1156(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));
@@ -438,17 +438,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1150() {
+buildUnnamed1157() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1149());
- o.add(buildUnnamed1149());
+ o.add(buildUnnamed1156());
+ o.add(buildUnnamed1156());
return o;
}
-checkUnnamed1150(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1157(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1149(o[0]);
- checkUnnamed1149(o[1]);
+ checkUnnamed1156(o[0]);
+ checkUnnamed1156(o[1]);
}
core.int buildCounterStatus = 0;
@@ -457,7 +457,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1150();
+ o.details = buildUnnamed1157();
o.message = "foo";
}
buildCounterStatus--;
@@ -468,7 +468,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1150(o.details);
+ checkUnnamed1157(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -497,14 +497,14 @@
buildCounterTimeEvent--;
}
-buildUnnamed1151() {
+buildUnnamed1158() {
var o = new core.List<api.TimeEvent>();
o.add(buildTimeEvent());
o.add(buildTimeEvent());
return o;
}
-checkUnnamed1151(core.List<api.TimeEvent> o) {
+checkUnnamed1158(core.List<api.TimeEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeEvent(o[0]);
checkTimeEvent(o[1]);
@@ -517,7 +517,7 @@
if (buildCounterTimeEvents < 3) {
o.droppedAnnotationsCount = 42;
o.droppedMessageEventsCount = 42;
- o.timeEvent = buildUnnamed1151();
+ o.timeEvent = buildUnnamed1158();
}
buildCounterTimeEvents--;
return o;
@@ -528,7 +528,7 @@
if (buildCounterTimeEvents < 3) {
unittest.expect(o.droppedAnnotationsCount, unittest.equals(42));
unittest.expect(o.droppedMessageEventsCount, unittest.equals(42));
- checkUnnamed1151(o.timeEvent);
+ checkUnnamed1158(o.timeEvent);
}
buildCounterTimeEvents--;
}
diff --git a/generated/googleapis/test/compute/v1_test.dart b/generated/googleapis/test/compute/v1_test.dart
index e326a2b..12474cd 100644
--- a/generated/googleapis/test/compute/v1_test.dart
+++ b/generated/googleapis/test/compute/v1_test.dart
@@ -106,14 +106,14 @@
buildCounterAcceleratorType--;
}
-buildUnnamed2292() {
+buildUnnamed2311() {
var o = new core.Map<core.String, api.AcceleratorTypesScopedList>();
o["x"] = buildAcceleratorTypesScopedList();
o["y"] = buildAcceleratorTypesScopedList();
return o;
}
-checkUnnamed2292(core.Map<core.String, api.AcceleratorTypesScopedList> o) {
+checkUnnamed2311(core.Map<core.String, api.AcceleratorTypesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorTypesScopedList(o["x"]);
checkAcceleratorTypesScopedList(o["y"]);
@@ -141,14 +141,14 @@
buildCounterAcceleratorTypeAggregatedListWarningData--;
}
-buildUnnamed2293() {
+buildUnnamed2312() {
var o = new core.List<api.AcceleratorTypeAggregatedListWarningData>();
o.add(buildAcceleratorTypeAggregatedListWarningData());
o.add(buildAcceleratorTypeAggregatedListWarningData());
return o;
}
-checkUnnamed2293(core.List<api.AcceleratorTypeAggregatedListWarningData> o) {
+checkUnnamed2312(core.List<api.AcceleratorTypeAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorTypeAggregatedListWarningData(o[0]);
checkAcceleratorTypeAggregatedListWarningData(o[1]);
@@ -160,7 +160,7 @@
buildCounterAcceleratorTypeAggregatedListWarning++;
if (buildCounterAcceleratorTypeAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2293();
+ o.data = buildUnnamed2312();
o.message = "foo";
}
buildCounterAcceleratorTypeAggregatedListWarning--;
@@ -172,7 +172,7 @@
buildCounterAcceleratorTypeAggregatedListWarning++;
if (buildCounterAcceleratorTypeAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2293(o.data);
+ checkUnnamed2312(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAcceleratorTypeAggregatedListWarning--;
@@ -184,7 +184,7 @@
buildCounterAcceleratorTypeAggregatedList++;
if (buildCounterAcceleratorTypeAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2292();
+ o.items = buildUnnamed2311();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -198,7 +198,7 @@
buildCounterAcceleratorTypeAggregatedList++;
if (buildCounterAcceleratorTypeAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2292(o.items);
+ checkUnnamed2311(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -207,14 +207,14 @@
buildCounterAcceleratorTypeAggregatedList--;
}
-buildUnnamed2294() {
+buildUnnamed2313() {
var o = new core.List<api.AcceleratorType>();
o.add(buildAcceleratorType());
o.add(buildAcceleratorType());
return o;
}
-checkUnnamed2294(core.List<api.AcceleratorType> o) {
+checkUnnamed2313(core.List<api.AcceleratorType> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorType(o[0]);
checkAcceleratorType(o[1]);
@@ -241,14 +241,14 @@
buildCounterAcceleratorTypeListWarningData--;
}
-buildUnnamed2295() {
+buildUnnamed2314() {
var o = new core.List<api.AcceleratorTypeListWarningData>();
o.add(buildAcceleratorTypeListWarningData());
o.add(buildAcceleratorTypeListWarningData());
return o;
}
-checkUnnamed2295(core.List<api.AcceleratorTypeListWarningData> o) {
+checkUnnamed2314(core.List<api.AcceleratorTypeListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorTypeListWarningData(o[0]);
checkAcceleratorTypeListWarningData(o[1]);
@@ -260,7 +260,7 @@
buildCounterAcceleratorTypeListWarning++;
if (buildCounterAcceleratorTypeListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2295();
+ o.data = buildUnnamed2314();
o.message = "foo";
}
buildCounterAcceleratorTypeListWarning--;
@@ -271,7 +271,7 @@
buildCounterAcceleratorTypeListWarning++;
if (buildCounterAcceleratorTypeListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2295(o.data);
+ checkUnnamed2314(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAcceleratorTypeListWarning--;
@@ -283,7 +283,7 @@
buildCounterAcceleratorTypeList++;
if (buildCounterAcceleratorTypeList < 3) {
o.id = "foo";
- o.items = buildUnnamed2294();
+ o.items = buildUnnamed2313();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -297,7 +297,7 @@
buildCounterAcceleratorTypeList++;
if (buildCounterAcceleratorTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2294(o.items);
+ checkUnnamed2313(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -306,14 +306,14 @@
buildCounterAcceleratorTypeList--;
}
-buildUnnamed2296() {
+buildUnnamed2315() {
var o = new core.List<api.AcceleratorType>();
o.add(buildAcceleratorType());
o.add(buildAcceleratorType());
return o;
}
-checkUnnamed2296(core.List<api.AcceleratorType> o) {
+checkUnnamed2315(core.List<api.AcceleratorType> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorType(o[0]);
checkAcceleratorType(o[1]);
@@ -341,14 +341,14 @@
buildCounterAcceleratorTypesScopedListWarningData--;
}
-buildUnnamed2297() {
+buildUnnamed2316() {
var o = new core.List<api.AcceleratorTypesScopedListWarningData>();
o.add(buildAcceleratorTypesScopedListWarningData());
o.add(buildAcceleratorTypesScopedListWarningData());
return o;
}
-checkUnnamed2297(core.List<api.AcceleratorTypesScopedListWarningData> o) {
+checkUnnamed2316(core.List<api.AcceleratorTypesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorTypesScopedListWarningData(o[0]);
checkAcceleratorTypesScopedListWarningData(o[1]);
@@ -360,7 +360,7 @@
buildCounterAcceleratorTypesScopedListWarning++;
if (buildCounterAcceleratorTypesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2297();
+ o.data = buildUnnamed2316();
o.message = "foo";
}
buildCounterAcceleratorTypesScopedListWarning--;
@@ -372,7 +372,7 @@
buildCounterAcceleratorTypesScopedListWarning++;
if (buildCounterAcceleratorTypesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2297(o.data);
+ checkUnnamed2316(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAcceleratorTypesScopedListWarning--;
@@ -383,7 +383,7 @@
var o = new api.AcceleratorTypesScopedList();
buildCounterAcceleratorTypesScopedList++;
if (buildCounterAcceleratorTypesScopedList < 3) {
- o.acceleratorTypes = buildUnnamed2296();
+ o.acceleratorTypes = buildUnnamed2315();
o.warning = buildAcceleratorTypesScopedListWarning();
}
buildCounterAcceleratorTypesScopedList--;
@@ -393,7 +393,7 @@
checkAcceleratorTypesScopedList(api.AcceleratorTypesScopedList o) {
buildCounterAcceleratorTypesScopedList++;
if (buildCounterAcceleratorTypesScopedList < 3) {
- checkUnnamed2296(o.acceleratorTypes);
+ checkUnnamed2315(o.acceleratorTypes);
checkAcceleratorTypesScopedListWarning(o.warning);
}
buildCounterAcceleratorTypesScopedList--;
@@ -424,14 +424,14 @@
buildCounterAccessConfig--;
}
-buildUnnamed2298() {
+buildUnnamed2317() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2298(core.List<core.String> o) {
+checkUnnamed2317(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -454,7 +454,7 @@
o.selfLink = "foo";
o.status = "foo";
o.subnetwork = "foo";
- o.users = buildUnnamed2298();
+ o.users = buildUnnamed2317();
}
buildCounterAddress--;
return o;
@@ -475,19 +475,19 @@
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subnetwork, unittest.equals('foo'));
- checkUnnamed2298(o.users);
+ checkUnnamed2317(o.users);
}
buildCounterAddress--;
}
-buildUnnamed2299() {
+buildUnnamed2318() {
var o = new core.Map<core.String, api.AddressesScopedList>();
o["x"] = buildAddressesScopedList();
o["y"] = buildAddressesScopedList();
return o;
}
-checkUnnamed2299(core.Map<core.String, api.AddressesScopedList> o) {
+checkUnnamed2318(core.Map<core.String, api.AddressesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddressesScopedList(o["x"]);
checkAddressesScopedList(o["y"]);
@@ -514,14 +514,14 @@
buildCounterAddressAggregatedListWarningData--;
}
-buildUnnamed2300() {
+buildUnnamed2319() {
var o = new core.List<api.AddressAggregatedListWarningData>();
o.add(buildAddressAggregatedListWarningData());
o.add(buildAddressAggregatedListWarningData());
return o;
}
-checkUnnamed2300(core.List<api.AddressAggregatedListWarningData> o) {
+checkUnnamed2319(core.List<api.AddressAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddressAggregatedListWarningData(o[0]);
checkAddressAggregatedListWarningData(o[1]);
@@ -533,7 +533,7 @@
buildCounterAddressAggregatedListWarning++;
if (buildCounterAddressAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2300();
+ o.data = buildUnnamed2319();
o.message = "foo";
}
buildCounterAddressAggregatedListWarning--;
@@ -544,7 +544,7 @@
buildCounterAddressAggregatedListWarning++;
if (buildCounterAddressAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2300(o.data);
+ checkUnnamed2319(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAddressAggregatedListWarning--;
@@ -556,7 +556,7 @@
buildCounterAddressAggregatedList++;
if (buildCounterAddressAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2299();
+ o.items = buildUnnamed2318();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -570,7 +570,7 @@
buildCounterAddressAggregatedList++;
if (buildCounterAddressAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2299(o.items);
+ checkUnnamed2318(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -579,14 +579,14 @@
buildCounterAddressAggregatedList--;
}
-buildUnnamed2301() {
+buildUnnamed2320() {
var o = new core.List<api.Address>();
o.add(buildAddress());
o.add(buildAddress());
return o;
}
-checkUnnamed2301(core.List<api.Address> o) {
+checkUnnamed2320(core.List<api.Address> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddress(o[0]);
checkAddress(o[1]);
@@ -613,14 +613,14 @@
buildCounterAddressListWarningData--;
}
-buildUnnamed2302() {
+buildUnnamed2321() {
var o = new core.List<api.AddressListWarningData>();
o.add(buildAddressListWarningData());
o.add(buildAddressListWarningData());
return o;
}
-checkUnnamed2302(core.List<api.AddressListWarningData> o) {
+checkUnnamed2321(core.List<api.AddressListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddressListWarningData(o[0]);
checkAddressListWarningData(o[1]);
@@ -632,7 +632,7 @@
buildCounterAddressListWarning++;
if (buildCounterAddressListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2302();
+ o.data = buildUnnamed2321();
o.message = "foo";
}
buildCounterAddressListWarning--;
@@ -643,7 +643,7 @@
buildCounterAddressListWarning++;
if (buildCounterAddressListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2302(o.data);
+ checkUnnamed2321(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAddressListWarning--;
@@ -655,7 +655,7 @@
buildCounterAddressList++;
if (buildCounterAddressList < 3) {
o.id = "foo";
- o.items = buildUnnamed2301();
+ o.items = buildUnnamed2320();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -669,7 +669,7 @@
buildCounterAddressList++;
if (buildCounterAddressList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2301(o.items);
+ checkUnnamed2320(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -678,14 +678,14 @@
buildCounterAddressList--;
}
-buildUnnamed2303() {
+buildUnnamed2322() {
var o = new core.List<api.Address>();
o.add(buildAddress());
o.add(buildAddress());
return o;
}
-checkUnnamed2303(core.List<api.Address> o) {
+checkUnnamed2322(core.List<api.Address> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddress(o[0]);
checkAddress(o[1]);
@@ -712,14 +712,14 @@
buildCounterAddressesScopedListWarningData--;
}
-buildUnnamed2304() {
+buildUnnamed2323() {
var o = new core.List<api.AddressesScopedListWarningData>();
o.add(buildAddressesScopedListWarningData());
o.add(buildAddressesScopedListWarningData());
return o;
}
-checkUnnamed2304(core.List<api.AddressesScopedListWarningData> o) {
+checkUnnamed2323(core.List<api.AddressesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddressesScopedListWarningData(o[0]);
checkAddressesScopedListWarningData(o[1]);
@@ -731,7 +731,7 @@
buildCounterAddressesScopedListWarning++;
if (buildCounterAddressesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2304();
+ o.data = buildUnnamed2323();
o.message = "foo";
}
buildCounterAddressesScopedListWarning--;
@@ -742,7 +742,7 @@
buildCounterAddressesScopedListWarning++;
if (buildCounterAddressesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2304(o.data);
+ checkUnnamed2323(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAddressesScopedListWarning--;
@@ -753,7 +753,7 @@
var o = new api.AddressesScopedList();
buildCounterAddressesScopedList++;
if (buildCounterAddressesScopedList < 3) {
- o.addresses = buildUnnamed2303();
+ o.addresses = buildUnnamed2322();
o.warning = buildAddressesScopedListWarning();
}
buildCounterAddressesScopedList--;
@@ -763,7 +763,7 @@
checkAddressesScopedList(api.AddressesScopedList o) {
buildCounterAddressesScopedList++;
if (buildCounterAddressesScopedList < 3) {
- checkUnnamed2303(o.addresses);
+ checkUnnamed2322(o.addresses);
checkAddressesScopedListWarning(o.warning);
}
buildCounterAddressesScopedList--;
@@ -790,14 +790,14 @@
buildCounterAliasIpRange--;
}
-buildUnnamed2305() {
+buildUnnamed2324() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2305(core.List<core.String> 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'));
@@ -816,7 +816,7 @@
o.initializeParams = buildAttachedDiskInitializeParams();
o.interface = "foo";
o.kind = "foo";
- o.licenses = buildUnnamed2305();
+ o.licenses = buildUnnamed2324();
o.mode = "foo";
o.source = "foo";
o.type = "foo";
@@ -836,7 +836,7 @@
checkAttachedDiskInitializeParams(o.initializeParams);
unittest.expect(o.interface, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2305(o.licenses);
+ checkUnnamed2324(o.licenses);
unittest.expect(o.mode, unittest.equals('foo'));
unittest.expect(o.source, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -871,14 +871,14 @@
buildCounterAttachedDiskInitializeParams--;
}
-buildUnnamed2306() {
+buildUnnamed2325() {
var o = new core.List<api.AutoscalerStatusDetails>();
o.add(buildAutoscalerStatusDetails());
o.add(buildAutoscalerStatusDetails());
return o;
}
-checkUnnamed2306(core.List<api.AutoscalerStatusDetails> o) {
+checkUnnamed2325(core.List<api.AutoscalerStatusDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalerStatusDetails(o[0]);
checkAutoscalerStatusDetails(o[1]);
@@ -898,7 +898,7 @@
o.region = "foo";
o.selfLink = "foo";
o.status = "foo";
- o.statusDetails = buildUnnamed2306();
+ o.statusDetails = buildUnnamed2325();
o.target = "foo";
o.zone = "foo";
}
@@ -918,21 +918,21 @@
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed2306(o.statusDetails);
+ checkUnnamed2325(o.statusDetails);
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterAutoscaler--;
}
-buildUnnamed2307() {
+buildUnnamed2326() {
var o = new core.Map<core.String, api.AutoscalersScopedList>();
o["x"] = buildAutoscalersScopedList();
o["y"] = buildAutoscalersScopedList();
return o;
}
-checkUnnamed2307(core.Map<core.String, api.AutoscalersScopedList> o) {
+checkUnnamed2326(core.Map<core.String, api.AutoscalersScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalersScopedList(o["x"]);
checkAutoscalersScopedList(o["y"]);
@@ -960,14 +960,14 @@
buildCounterAutoscalerAggregatedListWarningData--;
}
-buildUnnamed2308() {
+buildUnnamed2327() {
var o = new core.List<api.AutoscalerAggregatedListWarningData>();
o.add(buildAutoscalerAggregatedListWarningData());
o.add(buildAutoscalerAggregatedListWarningData());
return o;
}
-checkUnnamed2308(core.List<api.AutoscalerAggregatedListWarningData> o) {
+checkUnnamed2327(core.List<api.AutoscalerAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalerAggregatedListWarningData(o[0]);
checkAutoscalerAggregatedListWarningData(o[1]);
@@ -979,7 +979,7 @@
buildCounterAutoscalerAggregatedListWarning++;
if (buildCounterAutoscalerAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2308();
+ o.data = buildUnnamed2327();
o.message = "foo";
}
buildCounterAutoscalerAggregatedListWarning--;
@@ -990,7 +990,7 @@
buildCounterAutoscalerAggregatedListWarning++;
if (buildCounterAutoscalerAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2308(o.data);
+ checkUnnamed2327(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAutoscalerAggregatedListWarning--;
@@ -1002,7 +1002,7 @@
buildCounterAutoscalerAggregatedList++;
if (buildCounterAutoscalerAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2307();
+ o.items = buildUnnamed2326();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1016,7 +1016,7 @@
buildCounterAutoscalerAggregatedList++;
if (buildCounterAutoscalerAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2307(o.items);
+ checkUnnamed2326(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1025,14 +1025,14 @@
buildCounterAutoscalerAggregatedList--;
}
-buildUnnamed2309() {
+buildUnnamed2328() {
var o = new core.List<api.Autoscaler>();
o.add(buildAutoscaler());
o.add(buildAutoscaler());
return o;
}
-checkUnnamed2309(core.List<api.Autoscaler> o) {
+checkUnnamed2328(core.List<api.Autoscaler> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscaler(o[0]);
checkAutoscaler(o[1]);
@@ -1059,14 +1059,14 @@
buildCounterAutoscalerListWarningData--;
}
-buildUnnamed2310() {
+buildUnnamed2329() {
var o = new core.List<api.AutoscalerListWarningData>();
o.add(buildAutoscalerListWarningData());
o.add(buildAutoscalerListWarningData());
return o;
}
-checkUnnamed2310(core.List<api.AutoscalerListWarningData> o) {
+checkUnnamed2329(core.List<api.AutoscalerListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalerListWarningData(o[0]);
checkAutoscalerListWarningData(o[1]);
@@ -1078,7 +1078,7 @@
buildCounterAutoscalerListWarning++;
if (buildCounterAutoscalerListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2310();
+ o.data = buildUnnamed2329();
o.message = "foo";
}
buildCounterAutoscalerListWarning--;
@@ -1089,7 +1089,7 @@
buildCounterAutoscalerListWarning++;
if (buildCounterAutoscalerListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2310(o.data);
+ checkUnnamed2329(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAutoscalerListWarning--;
@@ -1101,7 +1101,7 @@
buildCounterAutoscalerList++;
if (buildCounterAutoscalerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2309();
+ o.items = buildUnnamed2328();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1115,7 +1115,7 @@
buildCounterAutoscalerList++;
if (buildCounterAutoscalerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2309(o.items);
+ checkUnnamed2328(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1145,14 +1145,14 @@
buildCounterAutoscalerStatusDetails--;
}
-buildUnnamed2311() {
+buildUnnamed2330() {
var o = new core.List<api.Autoscaler>();
o.add(buildAutoscaler());
o.add(buildAutoscaler());
return o;
}
-checkUnnamed2311(core.List<api.Autoscaler> o) {
+checkUnnamed2330(core.List<api.Autoscaler> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscaler(o[0]);
checkAutoscaler(o[1]);
@@ -1179,14 +1179,14 @@
buildCounterAutoscalersScopedListWarningData--;
}
-buildUnnamed2312() {
+buildUnnamed2331() {
var o = new core.List<api.AutoscalersScopedListWarningData>();
o.add(buildAutoscalersScopedListWarningData());
o.add(buildAutoscalersScopedListWarningData());
return o;
}
-checkUnnamed2312(core.List<api.AutoscalersScopedListWarningData> o) {
+checkUnnamed2331(core.List<api.AutoscalersScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalersScopedListWarningData(o[0]);
checkAutoscalersScopedListWarningData(o[1]);
@@ -1198,7 +1198,7 @@
buildCounterAutoscalersScopedListWarning++;
if (buildCounterAutoscalersScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2312();
+ o.data = buildUnnamed2331();
o.message = "foo";
}
buildCounterAutoscalersScopedListWarning--;
@@ -1209,7 +1209,7 @@
buildCounterAutoscalersScopedListWarning++;
if (buildCounterAutoscalersScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2312(o.data);
+ checkUnnamed2331(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAutoscalersScopedListWarning--;
@@ -1220,7 +1220,7 @@
var o = new api.AutoscalersScopedList();
buildCounterAutoscalersScopedList++;
if (buildCounterAutoscalersScopedList < 3) {
- o.autoscalers = buildUnnamed2311();
+ o.autoscalers = buildUnnamed2330();
o.warning = buildAutoscalersScopedListWarning();
}
buildCounterAutoscalersScopedList--;
@@ -1230,20 +1230,20 @@
checkAutoscalersScopedList(api.AutoscalersScopedList o) {
buildCounterAutoscalersScopedList++;
if (buildCounterAutoscalersScopedList < 3) {
- checkUnnamed2311(o.autoscalers);
+ checkUnnamed2330(o.autoscalers);
checkAutoscalersScopedListWarning(o.warning);
}
buildCounterAutoscalersScopedList--;
}
-buildUnnamed2313() {
+buildUnnamed2332() {
var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>();
o.add(buildAutoscalingPolicyCustomMetricUtilization());
o.add(buildAutoscalingPolicyCustomMetricUtilization());
return o;
}
-checkUnnamed2313(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) {
+checkUnnamed2332(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalingPolicyCustomMetricUtilization(o[0]);
checkAutoscalingPolicyCustomMetricUtilization(o[1]);
@@ -1256,7 +1256,7 @@
if (buildCounterAutoscalingPolicy < 3) {
o.coolDownPeriodSec = 42;
o.cpuUtilization = buildAutoscalingPolicyCpuUtilization();
- o.customMetricUtilizations = buildUnnamed2313();
+ o.customMetricUtilizations = buildUnnamed2332();
o.loadBalancingUtilization =
buildAutoscalingPolicyLoadBalancingUtilization();
o.maxNumReplicas = 42;
@@ -1271,7 +1271,7 @@
if (buildCounterAutoscalingPolicy < 3) {
unittest.expect(o.coolDownPeriodSec, unittest.equals(42));
checkAutoscalingPolicyCpuUtilization(o.cpuUtilization);
- checkUnnamed2313(o.customMetricUtilizations);
+ checkUnnamed2332(o.customMetricUtilizations);
checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization);
unittest.expect(o.maxNumReplicas, unittest.equals(42));
unittest.expect(o.minNumReplicas, unittest.equals(42));
@@ -1410,14 +1410,14 @@
buildCounterBackendBucket--;
}
-buildUnnamed2314() {
+buildUnnamed2333() {
var o = new core.List<api.BackendBucket>();
o.add(buildBackendBucket());
o.add(buildBackendBucket());
return o;
}
-checkUnnamed2314(core.List<api.BackendBucket> o) {
+checkUnnamed2333(core.List<api.BackendBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendBucket(o[0]);
checkBackendBucket(o[1]);
@@ -1444,14 +1444,14 @@
buildCounterBackendBucketListWarningData--;
}
-buildUnnamed2315() {
+buildUnnamed2334() {
var o = new core.List<api.BackendBucketListWarningData>();
o.add(buildBackendBucketListWarningData());
o.add(buildBackendBucketListWarningData());
return o;
}
-checkUnnamed2315(core.List<api.BackendBucketListWarningData> o) {
+checkUnnamed2334(core.List<api.BackendBucketListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendBucketListWarningData(o[0]);
checkBackendBucketListWarningData(o[1]);
@@ -1463,7 +1463,7 @@
buildCounterBackendBucketListWarning++;
if (buildCounterBackendBucketListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2315();
+ o.data = buildUnnamed2334();
o.message = "foo";
}
buildCounterBackendBucketListWarning--;
@@ -1474,7 +1474,7 @@
buildCounterBackendBucketListWarning++;
if (buildCounterBackendBucketListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2315(o.data);
+ checkUnnamed2334(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterBackendBucketListWarning--;
@@ -1486,7 +1486,7 @@
buildCounterBackendBucketList++;
if (buildCounterBackendBucketList < 3) {
o.id = "foo";
- o.items = buildUnnamed2314();
+ o.items = buildUnnamed2333();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1500,7 +1500,7 @@
buildCounterBackendBucketList++;
if (buildCounterBackendBucketList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2314(o.items);
+ checkUnnamed2333(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1509,27 +1509,27 @@
buildCounterBackendBucketList--;
}
-buildUnnamed2316() {
+buildUnnamed2335() {
var o = new core.List<api.Backend>();
o.add(buildBackend());
o.add(buildBackend());
return o;
}
-checkUnnamed2316(core.List<api.Backend> o) {
+checkUnnamed2335(core.List<api.Backend> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackend(o[0]);
checkBackend(o[1]);
}
-buildUnnamed2317() {
+buildUnnamed2336() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2317(core.List<core.String> o) {
+checkUnnamed2336(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1541,14 +1541,14 @@
buildCounterBackendService++;
if (buildCounterBackendService < 3) {
o.affinityCookieTtlSec = 42;
- o.backends = buildUnnamed2316();
+ o.backends = buildUnnamed2335();
o.cdnPolicy = buildBackendServiceCdnPolicy();
o.connectionDraining = buildConnectionDraining();
o.creationTimestamp = "foo";
o.description = "foo";
o.enableCDN = true;
o.fingerprint = "foo";
- o.healthChecks = buildUnnamed2317();
+ o.healthChecks = buildUnnamed2336();
o.iap = buildBackendServiceIAP();
o.id = "foo";
o.kind = "foo";
@@ -1570,14 +1570,14 @@
buildCounterBackendService++;
if (buildCounterBackendService < 3) {
unittest.expect(o.affinityCookieTtlSec, unittest.equals(42));
- checkUnnamed2316(o.backends);
+ checkUnnamed2335(o.backends);
checkBackendServiceCdnPolicy(o.cdnPolicy);
checkConnectionDraining(o.connectionDraining);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.enableCDN, unittest.isTrue);
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2317(o.healthChecks);
+ checkUnnamed2336(o.healthChecks);
checkBackendServiceIAP(o.iap);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1594,14 +1594,14 @@
buildCounterBackendService--;
}
-buildUnnamed2318() {
+buildUnnamed2337() {
var o = new core.Map<core.String, api.BackendServicesScopedList>();
o["x"] = buildBackendServicesScopedList();
o["y"] = buildBackendServicesScopedList();
return o;
}
-checkUnnamed2318(core.Map<core.String, api.BackendServicesScopedList> o) {
+checkUnnamed2337(core.Map<core.String, api.BackendServicesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendServicesScopedList(o["x"]);
checkBackendServicesScopedList(o["y"]);
@@ -1629,14 +1629,14 @@
buildCounterBackendServiceAggregatedListWarningData--;
}
-buildUnnamed2319() {
+buildUnnamed2338() {
var o = new core.List<api.BackendServiceAggregatedListWarningData>();
o.add(buildBackendServiceAggregatedListWarningData());
o.add(buildBackendServiceAggregatedListWarningData());
return o;
}
-checkUnnamed2319(core.List<api.BackendServiceAggregatedListWarningData> o) {
+checkUnnamed2338(core.List<api.BackendServiceAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendServiceAggregatedListWarningData(o[0]);
checkBackendServiceAggregatedListWarningData(o[1]);
@@ -1648,7 +1648,7 @@
buildCounterBackendServiceAggregatedListWarning++;
if (buildCounterBackendServiceAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2319();
+ o.data = buildUnnamed2338();
o.message = "foo";
}
buildCounterBackendServiceAggregatedListWarning--;
@@ -1660,7 +1660,7 @@
buildCounterBackendServiceAggregatedListWarning++;
if (buildCounterBackendServiceAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2319(o.data);
+ checkUnnamed2338(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterBackendServiceAggregatedListWarning--;
@@ -1672,7 +1672,7 @@
buildCounterBackendServiceAggregatedList++;
if (buildCounterBackendServiceAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2318();
+ o.items = buildUnnamed2337();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1686,7 +1686,7 @@
buildCounterBackendServiceAggregatedList++;
if (buildCounterBackendServiceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2318(o.items);
+ checkUnnamed2337(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1714,14 +1714,14 @@
buildCounterBackendServiceCdnPolicy--;
}
-buildUnnamed2320() {
+buildUnnamed2339() {
var o = new core.List<api.HealthStatus>();
o.add(buildHealthStatus());
o.add(buildHealthStatus());
return o;
}
-checkUnnamed2320(core.List<api.HealthStatus> o) {
+checkUnnamed2339(core.List<api.HealthStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthStatus(o[0]);
checkHealthStatus(o[1]);
@@ -1732,7 +1732,7 @@
var o = new api.BackendServiceGroupHealth();
buildCounterBackendServiceGroupHealth++;
if (buildCounterBackendServiceGroupHealth < 3) {
- o.healthStatus = buildUnnamed2320();
+ o.healthStatus = buildUnnamed2339();
o.kind = "foo";
}
buildCounterBackendServiceGroupHealth--;
@@ -1742,7 +1742,7 @@
checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) {
buildCounterBackendServiceGroupHealth++;
if (buildCounterBackendServiceGroupHealth < 3) {
- checkUnnamed2320(o.healthStatus);
+ checkUnnamed2339(o.healthStatus);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBackendServiceGroupHealth--;
@@ -1773,14 +1773,14 @@
buildCounterBackendServiceIAP--;
}
-buildUnnamed2321() {
+buildUnnamed2340() {
var o = new core.List<api.BackendService>();
o.add(buildBackendService());
o.add(buildBackendService());
return o;
}
-checkUnnamed2321(core.List<api.BackendService> o) {
+checkUnnamed2340(core.List<api.BackendService> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendService(o[0]);
checkBackendService(o[1]);
@@ -1807,14 +1807,14 @@
buildCounterBackendServiceListWarningData--;
}
-buildUnnamed2322() {
+buildUnnamed2341() {
var o = new core.List<api.BackendServiceListWarningData>();
o.add(buildBackendServiceListWarningData());
o.add(buildBackendServiceListWarningData());
return o;
}
-checkUnnamed2322(core.List<api.BackendServiceListWarningData> o) {
+checkUnnamed2341(core.List<api.BackendServiceListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendServiceListWarningData(o[0]);
checkBackendServiceListWarningData(o[1]);
@@ -1826,7 +1826,7 @@
buildCounterBackendServiceListWarning++;
if (buildCounterBackendServiceListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2322();
+ o.data = buildUnnamed2341();
o.message = "foo";
}
buildCounterBackendServiceListWarning--;
@@ -1837,7 +1837,7 @@
buildCounterBackendServiceListWarning++;
if (buildCounterBackendServiceListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2322(o.data);
+ checkUnnamed2341(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterBackendServiceListWarning--;
@@ -1849,7 +1849,7 @@
buildCounterBackendServiceList++;
if (buildCounterBackendServiceList < 3) {
o.id = "foo";
- o.items = buildUnnamed2321();
+ o.items = buildUnnamed2340();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1863,7 +1863,7 @@
buildCounterBackendServiceList++;
if (buildCounterBackendServiceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2321(o.items);
+ checkUnnamed2340(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1872,14 +1872,14 @@
buildCounterBackendServiceList--;
}
-buildUnnamed2323() {
+buildUnnamed2342() {
var o = new core.List<api.BackendService>();
o.add(buildBackendService());
o.add(buildBackendService());
return o;
}
-checkUnnamed2323(core.List<api.BackendService> o) {
+checkUnnamed2342(core.List<api.BackendService> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendService(o[0]);
checkBackendService(o[1]);
@@ -1907,14 +1907,14 @@
buildCounterBackendServicesScopedListWarningData--;
}
-buildUnnamed2324() {
+buildUnnamed2343() {
var o = new core.List<api.BackendServicesScopedListWarningData>();
o.add(buildBackendServicesScopedListWarningData());
o.add(buildBackendServicesScopedListWarningData());
return o;
}
-checkUnnamed2324(core.List<api.BackendServicesScopedListWarningData> o) {
+checkUnnamed2343(core.List<api.BackendServicesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendServicesScopedListWarningData(o[0]);
checkBackendServicesScopedListWarningData(o[1]);
@@ -1926,7 +1926,7 @@
buildCounterBackendServicesScopedListWarning++;
if (buildCounterBackendServicesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2324();
+ o.data = buildUnnamed2343();
o.message = "foo";
}
buildCounterBackendServicesScopedListWarning--;
@@ -1937,7 +1937,7 @@
buildCounterBackendServicesScopedListWarning++;
if (buildCounterBackendServicesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2324(o.data);
+ checkUnnamed2343(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterBackendServicesScopedListWarning--;
@@ -1948,7 +1948,7 @@
var o = new api.BackendServicesScopedList();
buildCounterBackendServicesScopedList++;
if (buildCounterBackendServicesScopedList < 3) {
- o.backendServices = buildUnnamed2323();
+ o.backendServices = buildUnnamed2342();
o.warning = buildBackendServicesScopedListWarning();
}
buildCounterBackendServicesScopedList--;
@@ -1958,7 +1958,7 @@
checkBackendServicesScopedList(api.BackendServicesScopedList o) {
buildCounterBackendServicesScopedList++;
if (buildCounterBackendServicesScopedList < 3) {
- checkUnnamed2323(o.backendServices);
+ checkUnnamed2342(o.backendServices);
checkBackendServicesScopedListWarning(o.warning);
}
buildCounterBackendServicesScopedList--;
@@ -1985,27 +1985,27 @@
buildCounterCacheInvalidationRule--;
}
-buildUnnamed2325() {
+buildUnnamed2344() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2325(core.List<core.String> o) {
+checkUnnamed2344(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2326() {
+buildUnnamed2345() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2326(core.List<core.String> o) {
+checkUnnamed2345(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2019,8 +2019,8 @@
o.includeHost = true;
o.includeProtocol = true;
o.includeQueryString = true;
- o.queryStringBlacklist = buildUnnamed2325();
- o.queryStringWhitelist = buildUnnamed2326();
+ o.queryStringBlacklist = buildUnnamed2344();
+ o.queryStringWhitelist = buildUnnamed2345();
}
buildCounterCacheKeyPolicy--;
return o;
@@ -2032,20 +2032,20 @@
unittest.expect(o.includeHost, unittest.isTrue);
unittest.expect(o.includeProtocol, unittest.isTrue);
unittest.expect(o.includeQueryString, unittest.isTrue);
- checkUnnamed2325(o.queryStringBlacklist);
- checkUnnamed2326(o.queryStringWhitelist);
+ checkUnnamed2344(o.queryStringBlacklist);
+ checkUnnamed2345(o.queryStringWhitelist);
}
buildCounterCacheKeyPolicy--;
}
-buildUnnamed2327() {
+buildUnnamed2346() {
var o = new core.List<api.ResourceCommitment>();
o.add(buildResourceCommitment());
o.add(buildResourceCommitment());
return o;
}
-checkUnnamed2327(core.List<api.ResourceCommitment> o) {
+checkUnnamed2346(core.List<api.ResourceCommitment> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceCommitment(o[0]);
checkResourceCommitment(o[1]);
@@ -2064,7 +2064,7 @@
o.name = "foo";
o.plan = "foo";
o.region = "foo";
- o.resources = buildUnnamed2327();
+ o.resources = buildUnnamed2346();
o.selfLink = "foo";
o.startTimestamp = "foo";
o.status = "foo";
@@ -2085,7 +2085,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.plan, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed2327(o.resources);
+ checkUnnamed2346(o.resources);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.startTimestamp, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
@@ -2094,14 +2094,14 @@
buildCounterCommitment--;
}
-buildUnnamed2328() {
+buildUnnamed2347() {
var o = new core.Map<core.String, api.CommitmentsScopedList>();
o["x"] = buildCommitmentsScopedList();
o["y"] = buildCommitmentsScopedList();
return o;
}
-checkUnnamed2328(core.Map<core.String, api.CommitmentsScopedList> o) {
+checkUnnamed2347(core.Map<core.String, api.CommitmentsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitmentsScopedList(o["x"]);
checkCommitmentsScopedList(o["y"]);
@@ -2129,14 +2129,14 @@
buildCounterCommitmentAggregatedListWarningData--;
}
-buildUnnamed2329() {
+buildUnnamed2348() {
var o = new core.List<api.CommitmentAggregatedListWarningData>();
o.add(buildCommitmentAggregatedListWarningData());
o.add(buildCommitmentAggregatedListWarningData());
return o;
}
-checkUnnamed2329(core.List<api.CommitmentAggregatedListWarningData> o) {
+checkUnnamed2348(core.List<api.CommitmentAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitmentAggregatedListWarningData(o[0]);
checkCommitmentAggregatedListWarningData(o[1]);
@@ -2148,7 +2148,7 @@
buildCounterCommitmentAggregatedListWarning++;
if (buildCounterCommitmentAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2329();
+ o.data = buildUnnamed2348();
o.message = "foo";
}
buildCounterCommitmentAggregatedListWarning--;
@@ -2159,7 +2159,7 @@
buildCounterCommitmentAggregatedListWarning++;
if (buildCounterCommitmentAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2329(o.data);
+ checkUnnamed2348(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterCommitmentAggregatedListWarning--;
@@ -2171,7 +2171,7 @@
buildCounterCommitmentAggregatedList++;
if (buildCounterCommitmentAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2328();
+ o.items = buildUnnamed2347();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2185,7 +2185,7 @@
buildCounterCommitmentAggregatedList++;
if (buildCounterCommitmentAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2328(o.items);
+ checkUnnamed2347(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2194,14 +2194,14 @@
buildCounterCommitmentAggregatedList--;
}
-buildUnnamed2330() {
+buildUnnamed2349() {
var o = new core.List<api.Commitment>();
o.add(buildCommitment());
o.add(buildCommitment());
return o;
}
-checkUnnamed2330(core.List<api.Commitment> o) {
+checkUnnamed2349(core.List<api.Commitment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitment(o[0]);
checkCommitment(o[1]);
@@ -2228,14 +2228,14 @@
buildCounterCommitmentListWarningData--;
}
-buildUnnamed2331() {
+buildUnnamed2350() {
var o = new core.List<api.CommitmentListWarningData>();
o.add(buildCommitmentListWarningData());
o.add(buildCommitmentListWarningData());
return o;
}
-checkUnnamed2331(core.List<api.CommitmentListWarningData> o) {
+checkUnnamed2350(core.List<api.CommitmentListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitmentListWarningData(o[0]);
checkCommitmentListWarningData(o[1]);
@@ -2247,7 +2247,7 @@
buildCounterCommitmentListWarning++;
if (buildCounterCommitmentListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2331();
+ o.data = buildUnnamed2350();
o.message = "foo";
}
buildCounterCommitmentListWarning--;
@@ -2258,7 +2258,7 @@
buildCounterCommitmentListWarning++;
if (buildCounterCommitmentListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2331(o.data);
+ checkUnnamed2350(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterCommitmentListWarning--;
@@ -2270,7 +2270,7 @@
buildCounterCommitmentList++;
if (buildCounterCommitmentList < 3) {
o.id = "foo";
- o.items = buildUnnamed2330();
+ o.items = buildUnnamed2349();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2284,7 +2284,7 @@
buildCounterCommitmentList++;
if (buildCounterCommitmentList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2330(o.items);
+ checkUnnamed2349(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2293,14 +2293,14 @@
buildCounterCommitmentList--;
}
-buildUnnamed2332() {
+buildUnnamed2351() {
var o = new core.List<api.Commitment>();
o.add(buildCommitment());
o.add(buildCommitment());
return o;
}
-checkUnnamed2332(core.List<api.Commitment> o) {
+checkUnnamed2351(core.List<api.Commitment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitment(o[0]);
checkCommitment(o[1]);
@@ -2327,14 +2327,14 @@
buildCounterCommitmentsScopedListWarningData--;
}
-buildUnnamed2333() {
+buildUnnamed2352() {
var o = new core.List<api.CommitmentsScopedListWarningData>();
o.add(buildCommitmentsScopedListWarningData());
o.add(buildCommitmentsScopedListWarningData());
return o;
}
-checkUnnamed2333(core.List<api.CommitmentsScopedListWarningData> o) {
+checkUnnamed2352(core.List<api.CommitmentsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitmentsScopedListWarningData(o[0]);
checkCommitmentsScopedListWarningData(o[1]);
@@ -2346,7 +2346,7 @@
buildCounterCommitmentsScopedListWarning++;
if (buildCounterCommitmentsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2333();
+ o.data = buildUnnamed2352();
o.message = "foo";
}
buildCounterCommitmentsScopedListWarning--;
@@ -2357,7 +2357,7 @@
buildCounterCommitmentsScopedListWarning++;
if (buildCounterCommitmentsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2333(o.data);
+ checkUnnamed2352(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterCommitmentsScopedListWarning--;
@@ -2368,7 +2368,7 @@
var o = new api.CommitmentsScopedList();
buildCounterCommitmentsScopedList++;
if (buildCounterCommitmentsScopedList < 3) {
- o.commitments = buildUnnamed2332();
+ o.commitments = buildUnnamed2351();
o.warning = buildCommitmentsScopedListWarning();
}
buildCounterCommitmentsScopedList--;
@@ -2378,7 +2378,7 @@
checkCommitmentsScopedList(api.CommitmentsScopedList o) {
buildCounterCommitmentsScopedList++;
if (buildCounterCommitmentsScopedList < 3) {
- checkUnnamed2332(o.commitments);
+ checkUnnamed2351(o.commitments);
checkCommitmentsScopedListWarning(o.warning);
}
buildCounterCommitmentsScopedList--;
@@ -2473,40 +2473,40 @@
buildCounterDeprecationStatus--;
}
-buildUnnamed2334() {
+buildUnnamed2353() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2334(core.Map<core.String, core.String> o) {
+checkUnnamed2353(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'));
}
-buildUnnamed2335() {
+buildUnnamed2354() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2335(core.List<core.String> o) {
+checkUnnamed2354(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2336() {
+buildUnnamed2355() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2336(core.List<core.String> o) {
+checkUnnamed2355(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2523,10 +2523,10 @@
o.id = "foo";
o.kind = "foo";
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2334();
+ o.labels = buildUnnamed2353();
o.lastAttachTimestamp = "foo";
o.lastDetachTimestamp = "foo";
- o.licenses = buildUnnamed2335();
+ o.licenses = buildUnnamed2354();
o.name = "foo";
o.options = "foo";
o.selfLink = "foo";
@@ -2539,7 +2539,7 @@
o.sourceSnapshotId = "foo";
o.status = "foo";
o.type = "foo";
- o.users = buildUnnamed2336();
+ o.users = buildUnnamed2355();
o.zone = "foo";
}
buildCounterDisk--;
@@ -2555,10 +2555,10 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2334(o.labels);
+ checkUnnamed2353(o.labels);
unittest.expect(o.lastAttachTimestamp, unittest.equals('foo'));
unittest.expect(o.lastDetachTimestamp, unittest.equals('foo'));
- checkUnnamed2335(o.licenses);
+ checkUnnamed2354(o.licenses);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.options, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2571,20 +2571,20 @@
unittest.expect(o.sourceSnapshotId, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
- checkUnnamed2336(o.users);
+ checkUnnamed2355(o.users);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterDisk--;
}
-buildUnnamed2337() {
+buildUnnamed2356() {
var o = new core.Map<core.String, api.DisksScopedList>();
o["x"] = buildDisksScopedList();
o["y"] = buildDisksScopedList();
return o;
}
-checkUnnamed2337(core.Map<core.String, api.DisksScopedList> o) {
+checkUnnamed2356(core.Map<core.String, api.DisksScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisksScopedList(o["x"]);
checkDisksScopedList(o["y"]);
@@ -2611,14 +2611,14 @@
buildCounterDiskAggregatedListWarningData--;
}
-buildUnnamed2338() {
+buildUnnamed2357() {
var o = new core.List<api.DiskAggregatedListWarningData>();
o.add(buildDiskAggregatedListWarningData());
o.add(buildDiskAggregatedListWarningData());
return o;
}
-checkUnnamed2338(core.List<api.DiskAggregatedListWarningData> o) {
+checkUnnamed2357(core.List<api.DiskAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskAggregatedListWarningData(o[0]);
checkDiskAggregatedListWarningData(o[1]);
@@ -2630,7 +2630,7 @@
buildCounterDiskAggregatedListWarning++;
if (buildCounterDiskAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2338();
+ o.data = buildUnnamed2357();
o.message = "foo";
}
buildCounterDiskAggregatedListWarning--;
@@ -2641,7 +2641,7 @@
buildCounterDiskAggregatedListWarning++;
if (buildCounterDiskAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2338(o.data);
+ checkUnnamed2357(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDiskAggregatedListWarning--;
@@ -2653,7 +2653,7 @@
buildCounterDiskAggregatedList++;
if (buildCounterDiskAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2337();
+ o.items = buildUnnamed2356();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2667,7 +2667,7 @@
buildCounterDiskAggregatedList++;
if (buildCounterDiskAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2337(o.items);
+ checkUnnamed2356(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2676,14 +2676,14 @@
buildCounterDiskAggregatedList--;
}
-buildUnnamed2339() {
+buildUnnamed2358() {
var o = new core.List<api.Disk>();
o.add(buildDisk());
o.add(buildDisk());
return o;
}
-checkUnnamed2339(core.List<api.Disk> o) {
+checkUnnamed2358(core.List<api.Disk> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisk(o[0]);
checkDisk(o[1]);
@@ -2710,14 +2710,14 @@
buildCounterDiskListWarningData--;
}
-buildUnnamed2340() {
+buildUnnamed2359() {
var o = new core.List<api.DiskListWarningData>();
o.add(buildDiskListWarningData());
o.add(buildDiskListWarningData());
return o;
}
-checkUnnamed2340(core.List<api.DiskListWarningData> o) {
+checkUnnamed2359(core.List<api.DiskListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskListWarningData(o[0]);
checkDiskListWarningData(o[1]);
@@ -2729,7 +2729,7 @@
buildCounterDiskListWarning++;
if (buildCounterDiskListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2340();
+ o.data = buildUnnamed2359();
o.message = "foo";
}
buildCounterDiskListWarning--;
@@ -2740,7 +2740,7 @@
buildCounterDiskListWarning++;
if (buildCounterDiskListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2340(o.data);
+ checkUnnamed2359(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDiskListWarning--;
@@ -2752,7 +2752,7 @@
buildCounterDiskList++;
if (buildCounterDiskList < 3) {
o.id = "foo";
- o.items = buildUnnamed2339();
+ o.items = buildUnnamed2358();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2766,7 +2766,7 @@
buildCounterDiskList++;
if (buildCounterDiskList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2339(o.items);
+ checkUnnamed2358(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2833,14 +2833,14 @@
buildCounterDiskType--;
}
-buildUnnamed2341() {
+buildUnnamed2360() {
var o = new core.Map<core.String, api.DiskTypesScopedList>();
o["x"] = buildDiskTypesScopedList();
o["y"] = buildDiskTypesScopedList();
return o;
}
-checkUnnamed2341(core.Map<core.String, api.DiskTypesScopedList> o) {
+checkUnnamed2360(core.Map<core.String, api.DiskTypesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskTypesScopedList(o["x"]);
checkDiskTypesScopedList(o["y"]);
@@ -2868,14 +2868,14 @@
buildCounterDiskTypeAggregatedListWarningData--;
}
-buildUnnamed2342() {
+buildUnnamed2361() {
var o = new core.List<api.DiskTypeAggregatedListWarningData>();
o.add(buildDiskTypeAggregatedListWarningData());
o.add(buildDiskTypeAggregatedListWarningData());
return o;
}
-checkUnnamed2342(core.List<api.DiskTypeAggregatedListWarningData> o) {
+checkUnnamed2361(core.List<api.DiskTypeAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskTypeAggregatedListWarningData(o[0]);
checkDiskTypeAggregatedListWarningData(o[1]);
@@ -2887,7 +2887,7 @@
buildCounterDiskTypeAggregatedListWarning++;
if (buildCounterDiskTypeAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2342();
+ o.data = buildUnnamed2361();
o.message = "foo";
}
buildCounterDiskTypeAggregatedListWarning--;
@@ -2898,7 +2898,7 @@
buildCounterDiskTypeAggregatedListWarning++;
if (buildCounterDiskTypeAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2342(o.data);
+ checkUnnamed2361(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDiskTypeAggregatedListWarning--;
@@ -2910,7 +2910,7 @@
buildCounterDiskTypeAggregatedList++;
if (buildCounterDiskTypeAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2341();
+ o.items = buildUnnamed2360();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2924,7 +2924,7 @@
buildCounterDiskTypeAggregatedList++;
if (buildCounterDiskTypeAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2341(o.items);
+ checkUnnamed2360(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2933,14 +2933,14 @@
buildCounterDiskTypeAggregatedList--;
}
-buildUnnamed2343() {
+buildUnnamed2362() {
var o = new core.List<api.DiskType>();
o.add(buildDiskType());
o.add(buildDiskType());
return o;
}
-checkUnnamed2343(core.List<api.DiskType> o) {
+checkUnnamed2362(core.List<api.DiskType> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskType(o[0]);
checkDiskType(o[1]);
@@ -2967,14 +2967,14 @@
buildCounterDiskTypeListWarningData--;
}
-buildUnnamed2344() {
+buildUnnamed2363() {
var o = new core.List<api.DiskTypeListWarningData>();
o.add(buildDiskTypeListWarningData());
o.add(buildDiskTypeListWarningData());
return o;
}
-checkUnnamed2344(core.List<api.DiskTypeListWarningData> o) {
+checkUnnamed2363(core.List<api.DiskTypeListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskTypeListWarningData(o[0]);
checkDiskTypeListWarningData(o[1]);
@@ -2986,7 +2986,7 @@
buildCounterDiskTypeListWarning++;
if (buildCounterDiskTypeListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2344();
+ o.data = buildUnnamed2363();
o.message = "foo";
}
buildCounterDiskTypeListWarning--;
@@ -2997,7 +2997,7 @@
buildCounterDiskTypeListWarning++;
if (buildCounterDiskTypeListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2344(o.data);
+ checkUnnamed2363(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDiskTypeListWarning--;
@@ -3009,7 +3009,7 @@
buildCounterDiskTypeList++;
if (buildCounterDiskTypeList < 3) {
o.id = "foo";
- o.items = buildUnnamed2343();
+ o.items = buildUnnamed2362();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3023,7 +3023,7 @@
buildCounterDiskTypeList++;
if (buildCounterDiskTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2343(o.items);
+ checkUnnamed2362(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3032,14 +3032,14 @@
buildCounterDiskTypeList--;
}
-buildUnnamed2345() {
+buildUnnamed2364() {
var o = new core.List<api.DiskType>();
o.add(buildDiskType());
o.add(buildDiskType());
return o;
}
-checkUnnamed2345(core.List<api.DiskType> o) {
+checkUnnamed2364(core.List<api.DiskType> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskType(o[0]);
checkDiskType(o[1]);
@@ -3066,14 +3066,14 @@
buildCounterDiskTypesScopedListWarningData--;
}
-buildUnnamed2346() {
+buildUnnamed2365() {
var o = new core.List<api.DiskTypesScopedListWarningData>();
o.add(buildDiskTypesScopedListWarningData());
o.add(buildDiskTypesScopedListWarningData());
return o;
}
-checkUnnamed2346(core.List<api.DiskTypesScopedListWarningData> o) {
+checkUnnamed2365(core.List<api.DiskTypesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskTypesScopedListWarningData(o[0]);
checkDiskTypesScopedListWarningData(o[1]);
@@ -3085,7 +3085,7 @@
buildCounterDiskTypesScopedListWarning++;
if (buildCounterDiskTypesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2346();
+ o.data = buildUnnamed2365();
o.message = "foo";
}
buildCounterDiskTypesScopedListWarning--;
@@ -3096,7 +3096,7 @@
buildCounterDiskTypesScopedListWarning++;
if (buildCounterDiskTypesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2346(o.data);
+ checkUnnamed2365(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDiskTypesScopedListWarning--;
@@ -3107,7 +3107,7 @@
var o = new api.DiskTypesScopedList();
buildCounterDiskTypesScopedList++;
if (buildCounterDiskTypesScopedList < 3) {
- o.diskTypes = buildUnnamed2345();
+ o.diskTypes = buildUnnamed2364();
o.warning = buildDiskTypesScopedListWarning();
}
buildCounterDiskTypesScopedList--;
@@ -3117,7 +3117,7 @@
checkDiskTypesScopedList(api.DiskTypesScopedList o) {
buildCounterDiskTypesScopedList++;
if (buildCounterDiskTypesScopedList < 3) {
- checkUnnamed2345(o.diskTypes);
+ checkUnnamed2364(o.diskTypes);
checkDiskTypesScopedListWarning(o.warning);
}
buildCounterDiskTypesScopedList--;
@@ -3142,14 +3142,14 @@
buildCounterDisksResizeRequest--;
}
-buildUnnamed2347() {
+buildUnnamed2366() {
var o = new core.List<api.Disk>();
o.add(buildDisk());
o.add(buildDisk());
return o;
}
-checkUnnamed2347(core.List<api.Disk> o) {
+checkUnnamed2366(core.List<api.Disk> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisk(o[0]);
checkDisk(o[1]);
@@ -3176,14 +3176,14 @@
buildCounterDisksScopedListWarningData--;
}
-buildUnnamed2348() {
+buildUnnamed2367() {
var o = new core.List<api.DisksScopedListWarningData>();
o.add(buildDisksScopedListWarningData());
o.add(buildDisksScopedListWarningData());
return o;
}
-checkUnnamed2348(core.List<api.DisksScopedListWarningData> o) {
+checkUnnamed2367(core.List<api.DisksScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisksScopedListWarningData(o[0]);
checkDisksScopedListWarningData(o[1]);
@@ -3195,7 +3195,7 @@
buildCounterDisksScopedListWarning++;
if (buildCounterDisksScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2348();
+ o.data = buildUnnamed2367();
o.message = "foo";
}
buildCounterDisksScopedListWarning--;
@@ -3206,7 +3206,7 @@
buildCounterDisksScopedListWarning++;
if (buildCounterDisksScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2348(o.data);
+ checkUnnamed2367(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDisksScopedListWarning--;
@@ -3217,7 +3217,7 @@
var o = new api.DisksScopedList();
buildCounterDisksScopedList++;
if (buildCounterDisksScopedList < 3) {
- o.disks = buildUnnamed2347();
+ o.disks = buildUnnamed2366();
o.warning = buildDisksScopedListWarning();
}
buildCounterDisksScopedList--;
@@ -3227,20 +3227,20 @@
checkDisksScopedList(api.DisksScopedList o) {
buildCounterDisksScopedList++;
if (buildCounterDisksScopedList < 3) {
- checkUnnamed2347(o.disks);
+ checkUnnamed2366(o.disks);
checkDisksScopedListWarning(o.warning);
}
buildCounterDisksScopedList--;
}
-buildUnnamed2349() {
+buildUnnamed2368() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2349(core.List<core.String> o) {
+checkUnnamed2368(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3252,7 +3252,7 @@
buildCounterFirewallAllowed++;
if (buildCounterFirewallAllowed < 3) {
o.IPProtocol = "foo";
- o.ports = buildUnnamed2349();
+ o.ports = buildUnnamed2368();
}
buildCounterFirewallAllowed--;
return o;
@@ -3262,32 +3262,32 @@
buildCounterFirewallAllowed++;
if (buildCounterFirewallAllowed < 3) {
unittest.expect(o.IPProtocol, unittest.equals('foo'));
- checkUnnamed2349(o.ports);
+ checkUnnamed2368(o.ports);
}
buildCounterFirewallAllowed--;
}
-buildUnnamed2350() {
+buildUnnamed2369() {
var o = new core.List<api.FirewallAllowed>();
o.add(buildFirewallAllowed());
o.add(buildFirewallAllowed());
return o;
}
-checkUnnamed2350(core.List<api.FirewallAllowed> o) {
+checkUnnamed2369(core.List<api.FirewallAllowed> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallAllowed(o[0]);
checkFirewallAllowed(o[1]);
}
-buildUnnamed2351() {
+buildUnnamed2370() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2351(core.List<core.String> o) {
+checkUnnamed2370(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3299,7 +3299,7 @@
buildCounterFirewallDenied++;
if (buildCounterFirewallDenied < 3) {
o.IPProtocol = "foo";
- o.ports = buildUnnamed2351();
+ o.ports = buildUnnamed2370();
}
buildCounterFirewallDenied--;
return o;
@@ -3309,97 +3309,97 @@
buildCounterFirewallDenied++;
if (buildCounterFirewallDenied < 3) {
unittest.expect(o.IPProtocol, unittest.equals('foo'));
- checkUnnamed2351(o.ports);
+ checkUnnamed2370(o.ports);
}
buildCounterFirewallDenied--;
}
-buildUnnamed2352() {
+buildUnnamed2371() {
var o = new core.List<api.FirewallDenied>();
o.add(buildFirewallDenied());
o.add(buildFirewallDenied());
return o;
}
-checkUnnamed2352(core.List<api.FirewallDenied> o) {
+checkUnnamed2371(core.List<api.FirewallDenied> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallDenied(o[0]);
checkFirewallDenied(o[1]);
}
-buildUnnamed2353() {
+buildUnnamed2372() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2353(core.List<core.String> o) {
+checkUnnamed2372(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2354() {
+buildUnnamed2373() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2354(core.List<core.String> o) {
+checkUnnamed2373(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2355() {
+buildUnnamed2374() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2355(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'));
}
-buildUnnamed2356() {
+buildUnnamed2375() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2356(core.List<core.String> o) {
+checkUnnamed2375(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2357() {
+buildUnnamed2376() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2357(core.List<core.String> o) {
+checkUnnamed2376(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2358() {
+buildUnnamed2377() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2358(core.List<core.String> o) {
+checkUnnamed2377(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3410,11 +3410,11 @@
var o = new api.Firewall();
buildCounterFirewall++;
if (buildCounterFirewall < 3) {
- o.allowed = buildUnnamed2350();
+ o.allowed = buildUnnamed2369();
o.creationTimestamp = "foo";
- o.denied = buildUnnamed2352();
+ o.denied = buildUnnamed2371();
o.description = "foo";
- o.destinationRanges = buildUnnamed2353();
+ o.destinationRanges = buildUnnamed2372();
o.direction = "foo";
o.id = "foo";
o.kind = "foo";
@@ -3422,11 +3422,11 @@
o.network = "foo";
o.priority = 42;
o.selfLink = "foo";
- o.sourceRanges = buildUnnamed2354();
- o.sourceServiceAccounts = buildUnnamed2355();
- o.sourceTags = buildUnnamed2356();
- o.targetServiceAccounts = buildUnnamed2357();
- o.targetTags = buildUnnamed2358();
+ o.sourceRanges = buildUnnamed2373();
+ o.sourceServiceAccounts = buildUnnamed2374();
+ o.sourceTags = buildUnnamed2375();
+ o.targetServiceAccounts = buildUnnamed2376();
+ o.targetTags = buildUnnamed2377();
}
buildCounterFirewall--;
return o;
@@ -3435,11 +3435,11 @@
checkFirewall(api.Firewall o) {
buildCounterFirewall++;
if (buildCounterFirewall < 3) {
- checkUnnamed2350(o.allowed);
+ checkUnnamed2369(o.allowed);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
- checkUnnamed2352(o.denied);
+ checkUnnamed2371(o.denied);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2353(o.destinationRanges);
+ checkUnnamed2372(o.destinationRanges);
unittest.expect(o.direction, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -3447,23 +3447,23 @@
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2354(o.sourceRanges);
- checkUnnamed2355(o.sourceServiceAccounts);
- checkUnnamed2356(o.sourceTags);
- checkUnnamed2357(o.targetServiceAccounts);
- checkUnnamed2358(o.targetTags);
+ checkUnnamed2373(o.sourceRanges);
+ checkUnnamed2374(o.sourceServiceAccounts);
+ checkUnnamed2375(o.sourceTags);
+ checkUnnamed2376(o.targetServiceAccounts);
+ checkUnnamed2377(o.targetTags);
}
buildCounterFirewall--;
}
-buildUnnamed2359() {
+buildUnnamed2378() {
var o = new core.List<api.Firewall>();
o.add(buildFirewall());
o.add(buildFirewall());
return o;
}
-checkUnnamed2359(core.List<api.Firewall> o) {
+checkUnnamed2378(core.List<api.Firewall> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewall(o[0]);
checkFirewall(o[1]);
@@ -3490,14 +3490,14 @@
buildCounterFirewallListWarningData--;
}
-buildUnnamed2360() {
+buildUnnamed2379() {
var o = new core.List<api.FirewallListWarningData>();
o.add(buildFirewallListWarningData());
o.add(buildFirewallListWarningData());
return o;
}
-checkUnnamed2360(core.List<api.FirewallListWarningData> o) {
+checkUnnamed2379(core.List<api.FirewallListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallListWarningData(o[0]);
checkFirewallListWarningData(o[1]);
@@ -3509,7 +3509,7 @@
buildCounterFirewallListWarning++;
if (buildCounterFirewallListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2360();
+ o.data = buildUnnamed2379();
o.message = "foo";
}
buildCounterFirewallListWarning--;
@@ -3520,7 +3520,7 @@
buildCounterFirewallListWarning++;
if (buildCounterFirewallListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2360(o.data);
+ checkUnnamed2379(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterFirewallListWarning--;
@@ -3532,7 +3532,7 @@
buildCounterFirewallList++;
if (buildCounterFirewallList < 3) {
o.id = "foo";
- o.items = buildUnnamed2359();
+ o.items = buildUnnamed2378();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3546,7 +3546,7 @@
buildCounterFirewallList++;
if (buildCounterFirewallList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2359(o.items);
+ checkUnnamed2378(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3555,14 +3555,14 @@
buildCounterFirewallList--;
}
-buildUnnamed2361() {
+buildUnnamed2380() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2361(core.List<core.String> o) {
+checkUnnamed2380(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3585,7 +3585,7 @@
o.name = "foo";
o.network = "foo";
o.portRange = "foo";
- o.ports = buildUnnamed2361();
+ o.ports = buildUnnamed2380();
o.region = "foo";
o.selfLink = "foo";
o.subnetwork = "foo";
@@ -3610,7 +3610,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.portRange, unittest.equals('foo'));
- checkUnnamed2361(o.ports);
+ checkUnnamed2380(o.ports);
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.subnetwork, unittest.equals('foo'));
@@ -3619,14 +3619,14 @@
buildCounterForwardingRule--;
}
-buildUnnamed2362() {
+buildUnnamed2381() {
var o = new core.Map<core.String, api.ForwardingRulesScopedList>();
o["x"] = buildForwardingRulesScopedList();
o["y"] = buildForwardingRulesScopedList();
return o;
}
-checkUnnamed2362(core.Map<core.String, api.ForwardingRulesScopedList> o) {
+checkUnnamed2381(core.Map<core.String, api.ForwardingRulesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRulesScopedList(o["x"]);
checkForwardingRulesScopedList(o["y"]);
@@ -3654,14 +3654,14 @@
buildCounterForwardingRuleAggregatedListWarningData--;
}
-buildUnnamed2363() {
+buildUnnamed2382() {
var o = new core.List<api.ForwardingRuleAggregatedListWarningData>();
o.add(buildForwardingRuleAggregatedListWarningData());
o.add(buildForwardingRuleAggregatedListWarningData());
return o;
}
-checkUnnamed2363(core.List<api.ForwardingRuleAggregatedListWarningData> o) {
+checkUnnamed2382(core.List<api.ForwardingRuleAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRuleAggregatedListWarningData(o[0]);
checkForwardingRuleAggregatedListWarningData(o[1]);
@@ -3673,7 +3673,7 @@
buildCounterForwardingRuleAggregatedListWarning++;
if (buildCounterForwardingRuleAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2363();
+ o.data = buildUnnamed2382();
o.message = "foo";
}
buildCounterForwardingRuleAggregatedListWarning--;
@@ -3685,7 +3685,7 @@
buildCounterForwardingRuleAggregatedListWarning++;
if (buildCounterForwardingRuleAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2363(o.data);
+ checkUnnamed2382(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterForwardingRuleAggregatedListWarning--;
@@ -3697,7 +3697,7 @@
buildCounterForwardingRuleAggregatedList++;
if (buildCounterForwardingRuleAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2362();
+ o.items = buildUnnamed2381();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3711,7 +3711,7 @@
buildCounterForwardingRuleAggregatedList++;
if (buildCounterForwardingRuleAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2362(o.items);
+ checkUnnamed2381(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3720,14 +3720,14 @@
buildCounterForwardingRuleAggregatedList--;
}
-buildUnnamed2364() {
+buildUnnamed2383() {
var o = new core.List<api.ForwardingRule>();
o.add(buildForwardingRule());
o.add(buildForwardingRule());
return o;
}
-checkUnnamed2364(core.List<api.ForwardingRule> o) {
+checkUnnamed2383(core.List<api.ForwardingRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRule(o[0]);
checkForwardingRule(o[1]);
@@ -3754,14 +3754,14 @@
buildCounterForwardingRuleListWarningData--;
}
-buildUnnamed2365() {
+buildUnnamed2384() {
var o = new core.List<api.ForwardingRuleListWarningData>();
o.add(buildForwardingRuleListWarningData());
o.add(buildForwardingRuleListWarningData());
return o;
}
-checkUnnamed2365(core.List<api.ForwardingRuleListWarningData> o) {
+checkUnnamed2384(core.List<api.ForwardingRuleListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRuleListWarningData(o[0]);
checkForwardingRuleListWarningData(o[1]);
@@ -3773,7 +3773,7 @@
buildCounterForwardingRuleListWarning++;
if (buildCounterForwardingRuleListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2365();
+ o.data = buildUnnamed2384();
o.message = "foo";
}
buildCounterForwardingRuleListWarning--;
@@ -3784,7 +3784,7 @@
buildCounterForwardingRuleListWarning++;
if (buildCounterForwardingRuleListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2365(o.data);
+ checkUnnamed2384(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterForwardingRuleListWarning--;
@@ -3796,7 +3796,7 @@
buildCounterForwardingRuleList++;
if (buildCounterForwardingRuleList < 3) {
o.id = "foo";
- o.items = buildUnnamed2364();
+ o.items = buildUnnamed2383();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3810,7 +3810,7 @@
buildCounterForwardingRuleList++;
if (buildCounterForwardingRuleList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2364(o.items);
+ checkUnnamed2383(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3819,14 +3819,14 @@
buildCounterForwardingRuleList--;
}
-buildUnnamed2366() {
+buildUnnamed2385() {
var o = new core.List<api.ForwardingRule>();
o.add(buildForwardingRule());
o.add(buildForwardingRule());
return o;
}
-checkUnnamed2366(core.List<api.ForwardingRule> o) {
+checkUnnamed2385(core.List<api.ForwardingRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRule(o[0]);
checkForwardingRule(o[1]);
@@ -3854,14 +3854,14 @@
buildCounterForwardingRulesScopedListWarningData--;
}
-buildUnnamed2367() {
+buildUnnamed2386() {
var o = new core.List<api.ForwardingRulesScopedListWarningData>();
o.add(buildForwardingRulesScopedListWarningData());
o.add(buildForwardingRulesScopedListWarningData());
return o;
}
-checkUnnamed2367(core.List<api.ForwardingRulesScopedListWarningData> o) {
+checkUnnamed2386(core.List<api.ForwardingRulesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRulesScopedListWarningData(o[0]);
checkForwardingRulesScopedListWarningData(o[1]);
@@ -3873,7 +3873,7 @@
buildCounterForwardingRulesScopedListWarning++;
if (buildCounterForwardingRulesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2367();
+ o.data = buildUnnamed2386();
o.message = "foo";
}
buildCounterForwardingRulesScopedListWarning--;
@@ -3884,7 +3884,7 @@
buildCounterForwardingRulesScopedListWarning++;
if (buildCounterForwardingRulesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2367(o.data);
+ checkUnnamed2386(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterForwardingRulesScopedListWarning--;
@@ -3895,7 +3895,7 @@
var o = new api.ForwardingRulesScopedList();
buildCounterForwardingRulesScopedList++;
if (buildCounterForwardingRulesScopedList < 3) {
- o.forwardingRules = buildUnnamed2366();
+ o.forwardingRules = buildUnnamed2385();
o.warning = buildForwardingRulesScopedListWarning();
}
buildCounterForwardingRulesScopedList--;
@@ -3905,20 +3905,20 @@
checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) {
buildCounterForwardingRulesScopedList++;
if (buildCounterForwardingRulesScopedList < 3) {
- checkUnnamed2366(o.forwardingRules);
+ checkUnnamed2385(o.forwardingRules);
checkForwardingRulesScopedListWarning(o.warning);
}
buildCounterForwardingRulesScopedList--;
}
-buildUnnamed2368() {
+buildUnnamed2387() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2368(core.Map<core.String, core.String> o) {
+checkUnnamed2387(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'));
@@ -3930,7 +3930,7 @@
buildCounterGlobalSetLabelsRequest++;
if (buildCounterGlobalSetLabelsRequest < 3) {
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2368();
+ o.labels = buildUnnamed2387();
}
buildCounterGlobalSetLabelsRequest--;
return o;
@@ -3940,7 +3940,7 @@
buildCounterGlobalSetLabelsRequest++;
if (buildCounterGlobalSetLabelsRequest < 3) {
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2368(o.labels);
+ checkUnnamed2387(o.labels);
}
buildCounterGlobalSetLabelsRequest--;
}
@@ -4065,14 +4065,14 @@
buildCounterHealthCheck--;
}
-buildUnnamed2369() {
+buildUnnamed2388() {
var o = new core.List<api.HealthCheck>();
o.add(buildHealthCheck());
o.add(buildHealthCheck());
return o;
}
-checkUnnamed2369(core.List<api.HealthCheck> o) {
+checkUnnamed2388(core.List<api.HealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheck(o[0]);
checkHealthCheck(o[1]);
@@ -4099,14 +4099,14 @@
buildCounterHealthCheckListWarningData--;
}
-buildUnnamed2370() {
+buildUnnamed2389() {
var o = new core.List<api.HealthCheckListWarningData>();
o.add(buildHealthCheckListWarningData());
o.add(buildHealthCheckListWarningData());
return o;
}
-checkUnnamed2370(core.List<api.HealthCheckListWarningData> o) {
+checkUnnamed2389(core.List<api.HealthCheckListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheckListWarningData(o[0]);
checkHealthCheckListWarningData(o[1]);
@@ -4118,7 +4118,7 @@
buildCounterHealthCheckListWarning++;
if (buildCounterHealthCheckListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2370();
+ o.data = buildUnnamed2389();
o.message = "foo";
}
buildCounterHealthCheckListWarning--;
@@ -4129,7 +4129,7 @@
buildCounterHealthCheckListWarning++;
if (buildCounterHealthCheckListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2370(o.data);
+ checkUnnamed2389(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterHealthCheckListWarning--;
@@ -4141,7 +4141,7 @@
buildCounterHealthCheckList++;
if (buildCounterHealthCheckList < 3) {
o.id = "foo";
- o.items = buildUnnamed2369();
+ o.items = buildUnnamed2388();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4155,7 +4155,7 @@
buildCounterHealthCheckList++;
if (buildCounterHealthCheckList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2369(o.items);
+ checkUnnamed2388(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4208,14 +4208,14 @@
buildCounterHealthStatus--;
}
-buildUnnamed2371() {
+buildUnnamed2390() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2371(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'));
@@ -4227,7 +4227,7 @@
buildCounterHostRule++;
if (buildCounterHostRule < 3) {
o.description = "foo";
- o.hosts = buildUnnamed2371();
+ o.hosts = buildUnnamed2390();
o.pathMatcher = "foo";
}
buildCounterHostRule--;
@@ -4238,7 +4238,7 @@
buildCounterHostRule++;
if (buildCounterHostRule < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2371(o.hosts);
+ checkUnnamed2390(o.hosts);
unittest.expect(o.pathMatcher, unittest.equals('foo'));
}
buildCounterHostRule--;
@@ -4287,14 +4287,14 @@
buildCounterHttpHealthCheck--;
}
-buildUnnamed2372() {
+buildUnnamed2391() {
var o = new core.List<api.HttpHealthCheck>();
o.add(buildHttpHealthCheck());
o.add(buildHttpHealthCheck());
return o;
}
-checkUnnamed2372(core.List<api.HttpHealthCheck> o) {
+checkUnnamed2391(core.List<api.HttpHealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpHealthCheck(o[0]);
checkHttpHealthCheck(o[1]);
@@ -4321,14 +4321,14 @@
buildCounterHttpHealthCheckListWarningData--;
}
-buildUnnamed2373() {
+buildUnnamed2392() {
var o = new core.List<api.HttpHealthCheckListWarningData>();
o.add(buildHttpHealthCheckListWarningData());
o.add(buildHttpHealthCheckListWarningData());
return o;
}
-checkUnnamed2373(core.List<api.HttpHealthCheckListWarningData> o) {
+checkUnnamed2392(core.List<api.HttpHealthCheckListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpHealthCheckListWarningData(o[0]);
checkHttpHealthCheckListWarningData(o[1]);
@@ -4340,7 +4340,7 @@
buildCounterHttpHealthCheckListWarning++;
if (buildCounterHttpHealthCheckListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2373();
+ o.data = buildUnnamed2392();
o.message = "foo";
}
buildCounterHttpHealthCheckListWarning--;
@@ -4351,7 +4351,7 @@
buildCounterHttpHealthCheckListWarning++;
if (buildCounterHttpHealthCheckListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2373(o.data);
+ checkUnnamed2392(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterHttpHealthCheckListWarning--;
@@ -4363,7 +4363,7 @@
buildCounterHttpHealthCheckList++;
if (buildCounterHttpHealthCheckList < 3) {
o.id = "foo";
- o.items = buildUnnamed2372();
+ o.items = buildUnnamed2391();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4377,7 +4377,7 @@
buildCounterHttpHealthCheckList++;
if (buildCounterHttpHealthCheckList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2372(o.items);
+ checkUnnamed2391(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4429,14 +4429,14 @@
buildCounterHttpsHealthCheck--;
}
-buildUnnamed2374() {
+buildUnnamed2393() {
var o = new core.List<api.HttpsHealthCheck>();
o.add(buildHttpsHealthCheck());
o.add(buildHttpsHealthCheck());
return o;
}
-checkUnnamed2374(core.List<api.HttpsHealthCheck> o) {
+checkUnnamed2393(core.List<api.HttpsHealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpsHealthCheck(o[0]);
checkHttpsHealthCheck(o[1]);
@@ -4463,14 +4463,14 @@
buildCounterHttpsHealthCheckListWarningData--;
}
-buildUnnamed2375() {
+buildUnnamed2394() {
var o = new core.List<api.HttpsHealthCheckListWarningData>();
o.add(buildHttpsHealthCheckListWarningData());
o.add(buildHttpsHealthCheckListWarningData());
return o;
}
-checkUnnamed2375(core.List<api.HttpsHealthCheckListWarningData> o) {
+checkUnnamed2394(core.List<api.HttpsHealthCheckListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpsHealthCheckListWarningData(o[0]);
checkHttpsHealthCheckListWarningData(o[1]);
@@ -4482,7 +4482,7 @@
buildCounterHttpsHealthCheckListWarning++;
if (buildCounterHttpsHealthCheckListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2375();
+ o.data = buildUnnamed2394();
o.message = "foo";
}
buildCounterHttpsHealthCheckListWarning--;
@@ -4493,7 +4493,7 @@
buildCounterHttpsHealthCheckListWarning++;
if (buildCounterHttpsHealthCheckListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2375(o.data);
+ checkUnnamed2394(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterHttpsHealthCheckListWarning--;
@@ -4505,7 +4505,7 @@
buildCounterHttpsHealthCheckList++;
if (buildCounterHttpsHealthCheckList < 3) {
o.id = "foo";
- o.items = buildUnnamed2374();
+ o.items = buildUnnamed2393();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4519,7 +4519,7 @@
buildCounterHttpsHealthCheckList++;
if (buildCounterHttpsHealthCheckList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2374(o.items);
+ checkUnnamed2393(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4528,40 +4528,40 @@
buildCounterHttpsHealthCheckList--;
}
-buildUnnamed2376() {
+buildUnnamed2395() {
var o = new core.List<api.GuestOsFeature>();
o.add(buildGuestOsFeature());
o.add(buildGuestOsFeature());
return o;
}
-checkUnnamed2376(core.List<api.GuestOsFeature> o) {
+checkUnnamed2395(core.List<api.GuestOsFeature> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuestOsFeature(o[0]);
checkGuestOsFeature(o[1]);
}
-buildUnnamed2377() {
+buildUnnamed2396() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2377(core.Map<core.String, core.String> o) {
+checkUnnamed2396(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'));
}
-buildUnnamed2378() {
+buildUnnamed2397() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2378(core.List<core.String> o) {
+checkUnnamed2397(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4601,13 +4601,13 @@
o.description = "foo";
o.diskSizeGb = "foo";
o.family = "foo";
- o.guestOsFeatures = buildUnnamed2376();
+ o.guestOsFeatures = buildUnnamed2395();
o.id = "foo";
o.imageEncryptionKey = buildCustomerEncryptionKey();
o.kind = "foo";
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2377();
- o.licenses = buildUnnamed2378();
+ o.labels = buildUnnamed2396();
+ o.licenses = buildUnnamed2397();
o.name = "foo";
o.rawDisk = buildImageRawDisk();
o.selfLink = "foo";
@@ -4633,13 +4633,13 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.diskSizeGb, unittest.equals('foo'));
unittest.expect(o.family, unittest.equals('foo'));
- checkUnnamed2376(o.guestOsFeatures);
+ checkUnnamed2395(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'));
- checkUnnamed2377(o.labels);
- checkUnnamed2378(o.licenses);
+ checkUnnamed2396(o.labels);
+ checkUnnamed2397(o.licenses);
unittest.expect(o.name, unittest.equals('foo'));
checkImageRawDisk(o.rawDisk);
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4655,14 +4655,14 @@
buildCounterImage--;
}
-buildUnnamed2379() {
+buildUnnamed2398() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed2379(core.List<api.Image> o) {
+checkUnnamed2398(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
@@ -4689,14 +4689,14 @@
buildCounterImageListWarningData--;
}
-buildUnnamed2380() {
+buildUnnamed2399() {
var o = new core.List<api.ImageListWarningData>();
o.add(buildImageListWarningData());
o.add(buildImageListWarningData());
return o;
}
-checkUnnamed2380(core.List<api.ImageListWarningData> o) {
+checkUnnamed2399(core.List<api.ImageListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkImageListWarningData(o[0]);
checkImageListWarningData(o[1]);
@@ -4708,7 +4708,7 @@
buildCounterImageListWarning++;
if (buildCounterImageListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2380();
+ o.data = buildUnnamed2399();
o.message = "foo";
}
buildCounterImageListWarning--;
@@ -4719,7 +4719,7 @@
buildCounterImageListWarning++;
if (buildCounterImageListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2380(o.data);
+ checkUnnamed2399(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterImageListWarning--;
@@ -4731,7 +4731,7 @@
buildCounterImageList++;
if (buildCounterImageList < 3) {
o.id = "foo";
- o.items = buildUnnamed2379();
+ o.items = buildUnnamed2398();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4745,7 +4745,7 @@
buildCounterImageList++;
if (buildCounterImageList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2379(o.items);
+ checkUnnamed2398(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4754,66 +4754,66 @@
buildCounterImageList--;
}
-buildUnnamed2381() {
+buildUnnamed2400() {
var o = new core.List<api.AttachedDisk>();
o.add(buildAttachedDisk());
o.add(buildAttachedDisk());
return o;
}
-checkUnnamed2381(core.List<api.AttachedDisk> o) {
+checkUnnamed2400(core.List<api.AttachedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachedDisk(o[0]);
checkAttachedDisk(o[1]);
}
-buildUnnamed2382() {
+buildUnnamed2401() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed2382(core.List<api.AcceleratorConfig> o) {
+checkUnnamed2401(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
}
-buildUnnamed2383() {
+buildUnnamed2402() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2383(core.Map<core.String, core.String> o) {
+checkUnnamed2402(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'));
}
-buildUnnamed2384() {
+buildUnnamed2403() {
var o = new core.List<api.NetworkInterface>();
o.add(buildNetworkInterface());
o.add(buildNetworkInterface());
return o;
}
-checkUnnamed2384(core.List<api.NetworkInterface> o) {
+checkUnnamed2403(core.List<api.NetworkInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkInterface(o[0]);
checkNetworkInterface(o[1]);
}
-buildUnnamed2385() {
+buildUnnamed2404() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed2385(core.List<api.ServiceAccount> o) {
+checkUnnamed2404(core.List<api.ServiceAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccount(o[0]);
checkServiceAccount(o[1]);
@@ -4829,20 +4829,20 @@
o.creationTimestamp = "foo";
o.deletionProtection = true;
o.description = "foo";
- o.disks = buildUnnamed2381();
- o.guestAccelerators = buildUnnamed2382();
+ o.disks = buildUnnamed2400();
+ o.guestAccelerators = buildUnnamed2401();
o.id = "foo";
o.kind = "foo";
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2383();
+ o.labels = buildUnnamed2402();
o.machineType = "foo";
o.metadata = buildMetadata();
o.minCpuPlatform = "foo";
o.name = "foo";
- o.networkInterfaces = buildUnnamed2384();
+ o.networkInterfaces = buildUnnamed2403();
o.scheduling = buildScheduling();
o.selfLink = "foo";
- o.serviceAccounts = buildUnnamed2385();
+ o.serviceAccounts = buildUnnamed2404();
o.startRestricted = true;
o.status = "foo";
o.statusMessage = "foo";
@@ -4861,20 +4861,20 @@
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.deletionProtection, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2381(o.disks);
- checkUnnamed2382(o.guestAccelerators);
+ checkUnnamed2400(o.disks);
+ checkUnnamed2401(o.guestAccelerators);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2383(o.labels);
+ checkUnnamed2402(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'));
- checkUnnamed2384(o.networkInterfaces);
+ checkUnnamed2403(o.networkInterfaces);
checkScheduling(o.scheduling);
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2385(o.serviceAccounts);
+ checkUnnamed2404(o.serviceAccounts);
unittest.expect(o.startRestricted, unittest.isTrue);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.statusMessage, unittest.equals('foo'));
@@ -4884,14 +4884,14 @@
buildCounterInstance--;
}
-buildUnnamed2386() {
+buildUnnamed2405() {
var o = new core.Map<core.String, api.InstancesScopedList>();
o["x"] = buildInstancesScopedList();
o["y"] = buildInstancesScopedList();
return o;
}
-checkUnnamed2386(core.Map<core.String, api.InstancesScopedList> o) {
+checkUnnamed2405(core.Map<core.String, api.InstancesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstancesScopedList(o["x"]);
checkInstancesScopedList(o["y"]);
@@ -4919,14 +4919,14 @@
buildCounterInstanceAggregatedListWarningData--;
}
-buildUnnamed2387() {
+buildUnnamed2406() {
var o = new core.List<api.InstanceAggregatedListWarningData>();
o.add(buildInstanceAggregatedListWarningData());
o.add(buildInstanceAggregatedListWarningData());
return o;
}
-checkUnnamed2387(core.List<api.InstanceAggregatedListWarningData> o) {
+checkUnnamed2406(core.List<api.InstanceAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceAggregatedListWarningData(o[0]);
checkInstanceAggregatedListWarningData(o[1]);
@@ -4938,7 +4938,7 @@
buildCounterInstanceAggregatedListWarning++;
if (buildCounterInstanceAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2387();
+ o.data = buildUnnamed2406();
o.message = "foo";
}
buildCounterInstanceAggregatedListWarning--;
@@ -4949,7 +4949,7 @@
buildCounterInstanceAggregatedListWarning++;
if (buildCounterInstanceAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2387(o.data);
+ checkUnnamed2406(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceAggregatedListWarning--;
@@ -4961,7 +4961,7 @@
buildCounterInstanceAggregatedList++;
if (buildCounterInstanceAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2386();
+ o.items = buildUnnamed2405();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4975,7 +4975,7 @@
buildCounterInstanceAggregatedList++;
if (buildCounterInstanceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2386(o.items);
+ checkUnnamed2405(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4984,14 +4984,14 @@
buildCounterInstanceAggregatedList--;
}
-buildUnnamed2388() {
+buildUnnamed2407() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2388(core.List<api.NamedPort> o) {
+checkUnnamed2407(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -5008,7 +5008,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.namedPorts = buildUnnamed2388();
+ o.namedPorts = buildUnnamed2407();
o.network = "foo";
o.region = "foo";
o.selfLink = "foo";
@@ -5029,7 +5029,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2388(o.namedPorts);
+ checkUnnamed2407(o.namedPorts);
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5040,14 +5040,14 @@
buildCounterInstanceGroup--;
}
-buildUnnamed2389() {
+buildUnnamed2408() {
var o = new core.Map<core.String, api.InstanceGroupsScopedList>();
o["x"] = buildInstanceGroupsScopedList();
o["y"] = buildInstanceGroupsScopedList();
return o;
}
-checkUnnamed2389(core.Map<core.String, api.InstanceGroupsScopedList> o) {
+checkUnnamed2408(core.Map<core.String, api.InstanceGroupsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupsScopedList(o["x"]);
checkInstanceGroupsScopedList(o["y"]);
@@ -5075,14 +5075,14 @@
buildCounterInstanceGroupAggregatedListWarningData--;
}
-buildUnnamed2390() {
+buildUnnamed2409() {
var o = new core.List<api.InstanceGroupAggregatedListWarningData>();
o.add(buildInstanceGroupAggregatedListWarningData());
o.add(buildInstanceGroupAggregatedListWarningData());
return o;
}
-checkUnnamed2390(core.List<api.InstanceGroupAggregatedListWarningData> o) {
+checkUnnamed2409(core.List<api.InstanceGroupAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupAggregatedListWarningData(o[0]);
checkInstanceGroupAggregatedListWarningData(o[1]);
@@ -5094,7 +5094,7 @@
buildCounterInstanceGroupAggregatedListWarning++;
if (buildCounterInstanceGroupAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2390();
+ o.data = buildUnnamed2409();
o.message = "foo";
}
buildCounterInstanceGroupAggregatedListWarning--;
@@ -5106,7 +5106,7 @@
buildCounterInstanceGroupAggregatedListWarning++;
if (buildCounterInstanceGroupAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2390(o.data);
+ checkUnnamed2409(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupAggregatedListWarning--;
@@ -5118,7 +5118,7 @@
buildCounterInstanceGroupAggregatedList++;
if (buildCounterInstanceGroupAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2389();
+ o.items = buildUnnamed2408();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5132,7 +5132,7 @@
buildCounterInstanceGroupAggregatedList++;
if (buildCounterInstanceGroupAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2389(o.items);
+ checkUnnamed2408(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5141,14 +5141,14 @@
buildCounterInstanceGroupAggregatedList--;
}
-buildUnnamed2391() {
+buildUnnamed2410() {
var o = new core.List<api.InstanceGroup>();
o.add(buildInstanceGroup());
o.add(buildInstanceGroup());
return o;
}
-checkUnnamed2391(core.List<api.InstanceGroup> o) {
+checkUnnamed2410(core.List<api.InstanceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroup(o[0]);
checkInstanceGroup(o[1]);
@@ -5175,14 +5175,14 @@
buildCounterInstanceGroupListWarningData--;
}
-buildUnnamed2392() {
+buildUnnamed2411() {
var o = new core.List<api.InstanceGroupListWarningData>();
o.add(buildInstanceGroupListWarningData());
o.add(buildInstanceGroupListWarningData());
return o;
}
-checkUnnamed2392(core.List<api.InstanceGroupListWarningData> o) {
+checkUnnamed2411(core.List<api.InstanceGroupListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupListWarningData(o[0]);
checkInstanceGroupListWarningData(o[1]);
@@ -5194,7 +5194,7 @@
buildCounterInstanceGroupListWarning++;
if (buildCounterInstanceGroupListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2392();
+ o.data = buildUnnamed2411();
o.message = "foo";
}
buildCounterInstanceGroupListWarning--;
@@ -5205,7 +5205,7 @@
buildCounterInstanceGroupListWarning++;
if (buildCounterInstanceGroupListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2392(o.data);
+ checkUnnamed2411(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupListWarning--;
@@ -5217,7 +5217,7 @@
buildCounterInstanceGroupList++;
if (buildCounterInstanceGroupList < 3) {
o.id = "foo";
- o.items = buildUnnamed2391();
+ o.items = buildUnnamed2410();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5231,7 +5231,7 @@
buildCounterInstanceGroupList++;
if (buildCounterInstanceGroupList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2391(o.items);
+ checkUnnamed2410(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5240,27 +5240,27 @@
buildCounterInstanceGroupList--;
}
-buildUnnamed2393() {
+buildUnnamed2412() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2393(core.List<api.NamedPort> o) {
+checkUnnamed2412(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
}
-buildUnnamed2394() {
+buildUnnamed2413() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2394(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'));
@@ -5281,10 +5281,10 @@
o.instanceTemplate = "foo";
o.kind = "foo";
o.name = "foo";
- o.namedPorts = buildUnnamed2393();
+ o.namedPorts = buildUnnamed2412();
o.region = "foo";
o.selfLink = "foo";
- o.targetPools = buildUnnamed2394();
+ o.targetPools = buildUnnamed2413();
o.targetSize = 42;
o.zone = "foo";
}
@@ -5305,10 +5305,10 @@
unittest.expect(o.instanceTemplate, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2393(o.namedPorts);
+ checkUnnamed2412(o.namedPorts);
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2394(o.targetPools);
+ checkUnnamed2413(o.targetPools);
unittest.expect(o.targetSize, unittest.equals(42));
unittest.expect(o.zone, unittest.equals('foo'));
}
@@ -5349,14 +5349,14 @@
buildCounterInstanceGroupManagerActionsSummary--;
}
-buildUnnamed2395() {
+buildUnnamed2414() {
var o = new core.Map<core.String, api.InstanceGroupManagersScopedList>();
o["x"] = buildInstanceGroupManagersScopedList();
o["y"] = buildInstanceGroupManagersScopedList();
return o;
}
-checkUnnamed2395(core.Map<core.String, api.InstanceGroupManagersScopedList> o) {
+checkUnnamed2414(core.Map<core.String, api.InstanceGroupManagersScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagersScopedList(o["x"]);
checkInstanceGroupManagersScopedList(o["y"]);
@@ -5384,14 +5384,14 @@
buildCounterInstanceGroupManagerAggregatedListWarningData--;
}
-buildUnnamed2396() {
+buildUnnamed2415() {
var o = new core.List<api.InstanceGroupManagerAggregatedListWarningData>();
o.add(buildInstanceGroupManagerAggregatedListWarningData());
o.add(buildInstanceGroupManagerAggregatedListWarningData());
return o;
}
-checkUnnamed2396(
+checkUnnamed2415(
core.List<api.InstanceGroupManagerAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagerAggregatedListWarningData(o[0]);
@@ -5404,7 +5404,7 @@
buildCounterInstanceGroupManagerAggregatedListWarning++;
if (buildCounterInstanceGroupManagerAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2396();
+ o.data = buildUnnamed2415();
o.message = "foo";
}
buildCounterInstanceGroupManagerAggregatedListWarning--;
@@ -5416,7 +5416,7 @@
buildCounterInstanceGroupManagerAggregatedListWarning++;
if (buildCounterInstanceGroupManagerAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2396(o.data);
+ checkUnnamed2415(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupManagerAggregatedListWarning--;
@@ -5428,7 +5428,7 @@
buildCounterInstanceGroupManagerAggregatedList++;
if (buildCounterInstanceGroupManagerAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2395();
+ o.items = buildUnnamed2414();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5443,7 +5443,7 @@
buildCounterInstanceGroupManagerAggregatedList++;
if (buildCounterInstanceGroupManagerAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2395(o.items);
+ checkUnnamed2414(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5452,14 +5452,14 @@
buildCounterInstanceGroupManagerAggregatedList--;
}
-buildUnnamed2397() {
+buildUnnamed2416() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed2397(core.List<api.InstanceGroupManager> o) {
+checkUnnamed2416(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -5487,14 +5487,14 @@
buildCounterInstanceGroupManagerListWarningData--;
}
-buildUnnamed2398() {
+buildUnnamed2417() {
var o = new core.List<api.InstanceGroupManagerListWarningData>();
o.add(buildInstanceGroupManagerListWarningData());
o.add(buildInstanceGroupManagerListWarningData());
return o;
}
-checkUnnamed2398(core.List<api.InstanceGroupManagerListWarningData> o) {
+checkUnnamed2417(core.List<api.InstanceGroupManagerListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagerListWarningData(o[0]);
checkInstanceGroupManagerListWarningData(o[1]);
@@ -5506,7 +5506,7 @@
buildCounterInstanceGroupManagerListWarning++;
if (buildCounterInstanceGroupManagerListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2398();
+ o.data = buildUnnamed2417();
o.message = "foo";
}
buildCounterInstanceGroupManagerListWarning--;
@@ -5517,7 +5517,7 @@
buildCounterInstanceGroupManagerListWarning++;
if (buildCounterInstanceGroupManagerListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2398(o.data);
+ checkUnnamed2417(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupManagerListWarning--;
@@ -5529,7 +5529,7 @@
buildCounterInstanceGroupManagerList++;
if (buildCounterInstanceGroupManagerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2397();
+ o.items = buildUnnamed2416();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5543,7 +5543,7 @@
buildCounterInstanceGroupManagerList++;
if (buildCounterInstanceGroupManagerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2397(o.items);
+ checkUnnamed2416(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5552,14 +5552,14 @@
buildCounterInstanceGroupManagerList--;
}
-buildUnnamed2399() {
+buildUnnamed2418() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2399(core.List<core.String> 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'));
@@ -5570,7 +5570,7 @@
var o = new api.InstanceGroupManagersAbandonInstancesRequest();
buildCounterInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) {
- o.instances = buildUnnamed2399();
+ o.instances = buildUnnamed2418();
}
buildCounterInstanceGroupManagersAbandonInstancesRequest--;
return o;
@@ -5580,19 +5580,19 @@
api.InstanceGroupManagersAbandonInstancesRequest o) {
buildCounterInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) {
- checkUnnamed2399(o.instances);
+ checkUnnamed2418(o.instances);
}
buildCounterInstanceGroupManagersAbandonInstancesRequest--;
}
-buildUnnamed2400() {
+buildUnnamed2419() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2400(core.List<core.String> o) {
+checkUnnamed2419(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5603,7 +5603,7 @@
var o = new api.InstanceGroupManagersDeleteInstancesRequest();
buildCounterInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) {
- o.instances = buildUnnamed2400();
+ o.instances = buildUnnamed2419();
}
buildCounterInstanceGroupManagersDeleteInstancesRequest--;
return o;
@@ -5613,19 +5613,19 @@
api.InstanceGroupManagersDeleteInstancesRequest o) {
buildCounterInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) {
- checkUnnamed2400(o.instances);
+ checkUnnamed2419(o.instances);
}
buildCounterInstanceGroupManagersDeleteInstancesRequest--;
}
-buildUnnamed2401() {
+buildUnnamed2420() {
var o = new core.List<api.ManagedInstance>();
o.add(buildManagedInstance());
o.add(buildManagedInstance());
return o;
}
-checkUnnamed2401(core.List<api.ManagedInstance> o) {
+checkUnnamed2420(core.List<api.ManagedInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedInstance(o[0]);
checkManagedInstance(o[1]);
@@ -5636,7 +5636,7 @@
var o = new api.InstanceGroupManagersListManagedInstancesResponse();
buildCounterInstanceGroupManagersListManagedInstancesResponse++;
if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) {
- o.managedInstances = buildUnnamed2401();
+ o.managedInstances = buildUnnamed2420();
}
buildCounterInstanceGroupManagersListManagedInstancesResponse--;
return o;
@@ -5646,19 +5646,19 @@
api.InstanceGroupManagersListManagedInstancesResponse o) {
buildCounterInstanceGroupManagersListManagedInstancesResponse++;
if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) {
- checkUnnamed2401(o.managedInstances);
+ checkUnnamed2420(o.managedInstances);
}
buildCounterInstanceGroupManagersListManagedInstancesResponse--;
}
-buildUnnamed2402() {
+buildUnnamed2421() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2402(core.List<core.String> 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'));
@@ -5669,7 +5669,7 @@
var o = new api.InstanceGroupManagersRecreateInstancesRequest();
buildCounterInstanceGroupManagersRecreateInstancesRequest++;
if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) {
- o.instances = buildUnnamed2402();
+ o.instances = buildUnnamed2421();
}
buildCounterInstanceGroupManagersRecreateInstancesRequest--;
return o;
@@ -5679,19 +5679,19 @@
api.InstanceGroupManagersRecreateInstancesRequest o) {
buildCounterInstanceGroupManagersRecreateInstancesRequest++;
if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) {
- checkUnnamed2402(o.instances);
+ checkUnnamed2421(o.instances);
}
buildCounterInstanceGroupManagersRecreateInstancesRequest--;
}
-buildUnnamed2403() {
+buildUnnamed2422() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed2403(core.List<api.InstanceGroupManager> o) {
+checkUnnamed2422(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -5719,14 +5719,14 @@
buildCounterInstanceGroupManagersScopedListWarningData--;
}
-buildUnnamed2404() {
+buildUnnamed2423() {
var o = new core.List<api.InstanceGroupManagersScopedListWarningData>();
o.add(buildInstanceGroupManagersScopedListWarningData());
o.add(buildInstanceGroupManagersScopedListWarningData());
return o;
}
-checkUnnamed2404(core.List<api.InstanceGroupManagersScopedListWarningData> o) {
+checkUnnamed2423(core.List<api.InstanceGroupManagersScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagersScopedListWarningData(o[0]);
checkInstanceGroupManagersScopedListWarningData(o[1]);
@@ -5738,7 +5738,7 @@
buildCounterInstanceGroupManagersScopedListWarning++;
if (buildCounterInstanceGroupManagersScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2404();
+ o.data = buildUnnamed2423();
o.message = "foo";
}
buildCounterInstanceGroupManagersScopedListWarning--;
@@ -5750,7 +5750,7 @@
buildCounterInstanceGroupManagersScopedListWarning++;
if (buildCounterInstanceGroupManagersScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2404(o.data);
+ checkUnnamed2423(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupManagersScopedListWarning--;
@@ -5761,7 +5761,7 @@
var o = new api.InstanceGroupManagersScopedList();
buildCounterInstanceGroupManagersScopedList++;
if (buildCounterInstanceGroupManagersScopedList < 3) {
- o.instanceGroupManagers = buildUnnamed2403();
+ o.instanceGroupManagers = buildUnnamed2422();
o.warning = buildInstanceGroupManagersScopedListWarning();
}
buildCounterInstanceGroupManagersScopedList--;
@@ -5771,7 +5771,7 @@
checkInstanceGroupManagersScopedList(api.InstanceGroupManagersScopedList o) {
buildCounterInstanceGroupManagersScopedList++;
if (buildCounterInstanceGroupManagersScopedList < 3) {
- checkUnnamed2403(o.instanceGroupManagers);
+ checkUnnamed2422(o.instanceGroupManagers);
checkInstanceGroupManagersScopedListWarning(o.warning);
}
buildCounterInstanceGroupManagersScopedList--;
@@ -5797,14 +5797,14 @@
buildCounterInstanceGroupManagersSetInstanceTemplateRequest--;
}
-buildUnnamed2405() {
+buildUnnamed2424() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2405(core.List<core.String> o) {
+checkUnnamed2424(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5816,7 +5816,7 @@
buildCounterInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) {
o.fingerprint = "foo";
- o.targetPools = buildUnnamed2405();
+ o.targetPools = buildUnnamed2424();
}
buildCounterInstanceGroupManagersSetTargetPoolsRequest--;
return o;
@@ -5827,19 +5827,19 @@
buildCounterInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2405(o.targetPools);
+ checkUnnamed2424(o.targetPools);
}
buildCounterInstanceGroupManagersSetTargetPoolsRequest--;
}
-buildUnnamed2406() {
+buildUnnamed2425() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed2406(core.List<api.InstanceReference> o) {
+checkUnnamed2425(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -5850,7 +5850,7 @@
var o = new api.InstanceGroupsAddInstancesRequest();
buildCounterInstanceGroupsAddInstancesRequest++;
if (buildCounterInstanceGroupsAddInstancesRequest < 3) {
- o.instances = buildUnnamed2406();
+ o.instances = buildUnnamed2425();
}
buildCounterInstanceGroupsAddInstancesRequest--;
return o;
@@ -5860,19 +5860,19 @@
api.InstanceGroupsAddInstancesRequest o) {
buildCounterInstanceGroupsAddInstancesRequest++;
if (buildCounterInstanceGroupsAddInstancesRequest < 3) {
- checkUnnamed2406(o.instances);
+ checkUnnamed2425(o.instances);
}
buildCounterInstanceGroupsAddInstancesRequest--;
}
-buildUnnamed2407() {
+buildUnnamed2426() {
var o = new core.List<api.InstanceWithNamedPorts>();
o.add(buildInstanceWithNamedPorts());
o.add(buildInstanceWithNamedPorts());
return o;
}
-checkUnnamed2407(core.List<api.InstanceWithNamedPorts> o) {
+checkUnnamed2426(core.List<api.InstanceWithNamedPorts> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceWithNamedPorts(o[0]);
checkInstanceWithNamedPorts(o[1]);
@@ -5900,14 +5900,14 @@
buildCounterInstanceGroupsListInstancesWarningData--;
}
-buildUnnamed2408() {
+buildUnnamed2427() {
var o = new core.List<api.InstanceGroupsListInstancesWarningData>();
o.add(buildInstanceGroupsListInstancesWarningData());
o.add(buildInstanceGroupsListInstancesWarningData());
return o;
}
-checkUnnamed2408(core.List<api.InstanceGroupsListInstancesWarningData> o) {
+checkUnnamed2427(core.List<api.InstanceGroupsListInstancesWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupsListInstancesWarningData(o[0]);
checkInstanceGroupsListInstancesWarningData(o[1]);
@@ -5919,7 +5919,7 @@
buildCounterInstanceGroupsListInstancesWarning++;
if (buildCounterInstanceGroupsListInstancesWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2408();
+ o.data = buildUnnamed2427();
o.message = "foo";
}
buildCounterInstanceGroupsListInstancesWarning--;
@@ -5931,7 +5931,7 @@
buildCounterInstanceGroupsListInstancesWarning++;
if (buildCounterInstanceGroupsListInstancesWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2408(o.data);
+ checkUnnamed2427(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupsListInstancesWarning--;
@@ -5943,7 +5943,7 @@
buildCounterInstanceGroupsListInstances++;
if (buildCounterInstanceGroupsListInstances < 3) {
o.id = "foo";
- o.items = buildUnnamed2407();
+ o.items = buildUnnamed2426();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5957,7 +5957,7 @@
buildCounterInstanceGroupsListInstances++;
if (buildCounterInstanceGroupsListInstances < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2407(o.items);
+ checkUnnamed2426(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5986,14 +5986,14 @@
buildCounterInstanceGroupsListInstancesRequest--;
}
-buildUnnamed2409() {
+buildUnnamed2428() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed2409(core.List<api.InstanceReference> o) {
+checkUnnamed2428(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -6004,7 +6004,7 @@
var o = new api.InstanceGroupsRemoveInstancesRequest();
buildCounterInstanceGroupsRemoveInstancesRequest++;
if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) {
- o.instances = buildUnnamed2409();
+ o.instances = buildUnnamed2428();
}
buildCounterInstanceGroupsRemoveInstancesRequest--;
return o;
@@ -6014,19 +6014,19 @@
api.InstanceGroupsRemoveInstancesRequest o) {
buildCounterInstanceGroupsRemoveInstancesRequest++;
if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) {
- checkUnnamed2409(o.instances);
+ checkUnnamed2428(o.instances);
}
buildCounterInstanceGroupsRemoveInstancesRequest--;
}
-buildUnnamed2410() {
+buildUnnamed2429() {
var o = new core.List<api.InstanceGroup>();
o.add(buildInstanceGroup());
o.add(buildInstanceGroup());
return o;
}
-checkUnnamed2410(core.List<api.InstanceGroup> o) {
+checkUnnamed2429(core.List<api.InstanceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroup(o[0]);
checkInstanceGroup(o[1]);
@@ -6054,14 +6054,14 @@
buildCounterInstanceGroupsScopedListWarningData--;
}
-buildUnnamed2411() {
+buildUnnamed2430() {
var o = new core.List<api.InstanceGroupsScopedListWarningData>();
o.add(buildInstanceGroupsScopedListWarningData());
o.add(buildInstanceGroupsScopedListWarningData());
return o;
}
-checkUnnamed2411(core.List<api.InstanceGroupsScopedListWarningData> o) {
+checkUnnamed2430(core.List<api.InstanceGroupsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupsScopedListWarningData(o[0]);
checkInstanceGroupsScopedListWarningData(o[1]);
@@ -6073,7 +6073,7 @@
buildCounterInstanceGroupsScopedListWarning++;
if (buildCounterInstanceGroupsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2411();
+ o.data = buildUnnamed2430();
o.message = "foo";
}
buildCounterInstanceGroupsScopedListWarning--;
@@ -6084,7 +6084,7 @@
buildCounterInstanceGroupsScopedListWarning++;
if (buildCounterInstanceGroupsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2411(o.data);
+ checkUnnamed2430(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupsScopedListWarning--;
@@ -6095,7 +6095,7 @@
var o = new api.InstanceGroupsScopedList();
buildCounterInstanceGroupsScopedList++;
if (buildCounterInstanceGroupsScopedList < 3) {
- o.instanceGroups = buildUnnamed2410();
+ o.instanceGroups = buildUnnamed2429();
o.warning = buildInstanceGroupsScopedListWarning();
}
buildCounterInstanceGroupsScopedList--;
@@ -6105,20 +6105,20 @@
checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) {
buildCounterInstanceGroupsScopedList++;
if (buildCounterInstanceGroupsScopedList < 3) {
- checkUnnamed2410(o.instanceGroups);
+ checkUnnamed2429(o.instanceGroups);
checkInstanceGroupsScopedListWarning(o.warning);
}
buildCounterInstanceGroupsScopedList--;
}
-buildUnnamed2412() {
+buildUnnamed2431() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2412(core.List<api.NamedPort> o) {
+checkUnnamed2431(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -6130,7 +6130,7 @@
buildCounterInstanceGroupsSetNamedPortsRequest++;
if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) {
o.fingerprint = "foo";
- o.namedPorts = buildUnnamed2412();
+ o.namedPorts = buildUnnamed2431();
}
buildCounterInstanceGroupsSetNamedPortsRequest--;
return o;
@@ -6141,19 +6141,19 @@
buildCounterInstanceGroupsSetNamedPortsRequest++;
if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2412(o.namedPorts);
+ checkUnnamed2431(o.namedPorts);
}
buildCounterInstanceGroupsSetNamedPortsRequest--;
}
-buildUnnamed2413() {
+buildUnnamed2432() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed2413(core.List<api.Instance> o) {
+checkUnnamed2432(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -6180,14 +6180,14 @@
buildCounterInstanceListWarningData--;
}
-buildUnnamed2414() {
+buildUnnamed2433() {
var o = new core.List<api.InstanceListWarningData>();
o.add(buildInstanceListWarningData());
o.add(buildInstanceListWarningData());
return o;
}
-checkUnnamed2414(core.List<api.InstanceListWarningData> o) {
+checkUnnamed2433(core.List<api.InstanceListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceListWarningData(o[0]);
checkInstanceListWarningData(o[1]);
@@ -6199,7 +6199,7 @@
buildCounterInstanceListWarning++;
if (buildCounterInstanceListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2414();
+ o.data = buildUnnamed2433();
o.message = "foo";
}
buildCounterInstanceListWarning--;
@@ -6210,7 +6210,7 @@
buildCounterInstanceListWarning++;
if (buildCounterInstanceListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2414(o.data);
+ checkUnnamed2433(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceListWarning--;
@@ -6222,7 +6222,7 @@
buildCounterInstanceList++;
if (buildCounterInstanceList < 3) {
o.id = "foo";
- o.items = buildUnnamed2413();
+ o.items = buildUnnamed2432();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6236,7 +6236,7 @@
buildCounterInstanceList++;
if (buildCounterInstanceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2413(o.items);
+ checkUnnamed2432(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6266,66 +6266,66 @@
buildCounterInstanceMoveRequest--;
}
-buildUnnamed2415() {
+buildUnnamed2434() {
var o = new core.List<api.AttachedDisk>();
o.add(buildAttachedDisk());
o.add(buildAttachedDisk());
return o;
}
-checkUnnamed2415(core.List<api.AttachedDisk> o) {
+checkUnnamed2434(core.List<api.AttachedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachedDisk(o[0]);
checkAttachedDisk(o[1]);
}
-buildUnnamed2416() {
+buildUnnamed2435() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed2416(core.List<api.AcceleratorConfig> o) {
+checkUnnamed2435(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
}
-buildUnnamed2417() {
+buildUnnamed2436() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2417(core.Map<core.String, core.String> o) {
+checkUnnamed2436(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'));
}
-buildUnnamed2418() {
+buildUnnamed2437() {
var o = new core.List<api.NetworkInterface>();
o.add(buildNetworkInterface());
o.add(buildNetworkInterface());
return o;
}
-checkUnnamed2418(core.List<api.NetworkInterface> o) {
+checkUnnamed2437(core.List<api.NetworkInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkInterface(o[0]);
checkNetworkInterface(o[1]);
}
-buildUnnamed2419() {
+buildUnnamed2438() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed2419(core.List<api.ServiceAccount> o) {
+checkUnnamed2438(core.List<api.ServiceAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccount(o[0]);
checkServiceAccount(o[1]);
@@ -6338,15 +6338,15 @@
if (buildCounterInstanceProperties < 3) {
o.canIpForward = true;
o.description = "foo";
- o.disks = buildUnnamed2415();
- o.guestAccelerators = buildUnnamed2416();
- o.labels = buildUnnamed2417();
+ o.disks = buildUnnamed2434();
+ o.guestAccelerators = buildUnnamed2435();
+ o.labels = buildUnnamed2436();
o.machineType = "foo";
o.metadata = buildMetadata();
o.minCpuPlatform = "foo";
- o.networkInterfaces = buildUnnamed2418();
+ o.networkInterfaces = buildUnnamed2437();
o.scheduling = buildScheduling();
- o.serviceAccounts = buildUnnamed2419();
+ o.serviceAccounts = buildUnnamed2438();
o.tags = buildTags();
}
buildCounterInstanceProperties--;
@@ -6358,15 +6358,15 @@
if (buildCounterInstanceProperties < 3) {
unittest.expect(o.canIpForward, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2415(o.disks);
- checkUnnamed2416(o.guestAccelerators);
- checkUnnamed2417(o.labels);
+ checkUnnamed2434(o.disks);
+ checkUnnamed2435(o.guestAccelerators);
+ checkUnnamed2436(o.labels);
unittest.expect(o.machineType, unittest.equals('foo'));
checkMetadata(o.metadata);
unittest.expect(o.minCpuPlatform, unittest.equals('foo'));
- checkUnnamed2418(o.networkInterfaces);
+ checkUnnamed2437(o.networkInterfaces);
checkScheduling(o.scheduling);
- checkUnnamed2419(o.serviceAccounts);
+ checkUnnamed2438(o.serviceAccounts);
checkTags(o.tags);
}
buildCounterInstanceProperties--;
@@ -6422,14 +6422,14 @@
buildCounterInstanceTemplate--;
}
-buildUnnamed2420() {
+buildUnnamed2439() {
var o = new core.List<api.InstanceTemplate>();
o.add(buildInstanceTemplate());
o.add(buildInstanceTemplate());
return o;
}
-checkUnnamed2420(core.List<api.InstanceTemplate> o) {
+checkUnnamed2439(core.List<api.InstanceTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceTemplate(o[0]);
checkInstanceTemplate(o[1]);
@@ -6456,14 +6456,14 @@
buildCounterInstanceTemplateListWarningData--;
}
-buildUnnamed2421() {
+buildUnnamed2440() {
var o = new core.List<api.InstanceTemplateListWarningData>();
o.add(buildInstanceTemplateListWarningData());
o.add(buildInstanceTemplateListWarningData());
return o;
}
-checkUnnamed2421(core.List<api.InstanceTemplateListWarningData> o) {
+checkUnnamed2440(core.List<api.InstanceTemplateListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceTemplateListWarningData(o[0]);
checkInstanceTemplateListWarningData(o[1]);
@@ -6475,7 +6475,7 @@
buildCounterInstanceTemplateListWarning++;
if (buildCounterInstanceTemplateListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2421();
+ o.data = buildUnnamed2440();
o.message = "foo";
}
buildCounterInstanceTemplateListWarning--;
@@ -6486,7 +6486,7 @@
buildCounterInstanceTemplateListWarning++;
if (buildCounterInstanceTemplateListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2421(o.data);
+ checkUnnamed2440(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceTemplateListWarning--;
@@ -6498,7 +6498,7 @@
buildCounterInstanceTemplateList++;
if (buildCounterInstanceTemplateList < 3) {
o.id = "foo";
- o.items = buildUnnamed2420();
+ o.items = buildUnnamed2439();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6512,7 +6512,7 @@
buildCounterInstanceTemplateList++;
if (buildCounterInstanceTemplateList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2420(o.items);
+ checkUnnamed2439(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6521,14 +6521,14 @@
buildCounterInstanceTemplateList--;
}
-buildUnnamed2422() {
+buildUnnamed2441() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2422(core.List<api.NamedPort> o) {
+checkUnnamed2441(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -6540,7 +6540,7 @@
buildCounterInstanceWithNamedPorts++;
if (buildCounterInstanceWithNamedPorts < 3) {
o.instance = "foo";
- o.namedPorts = buildUnnamed2422();
+ o.namedPorts = buildUnnamed2441();
o.status = "foo";
}
buildCounterInstanceWithNamedPorts--;
@@ -6551,20 +6551,20 @@
buildCounterInstanceWithNamedPorts++;
if (buildCounterInstanceWithNamedPorts < 3) {
unittest.expect(o.instance, unittest.equals('foo'));
- checkUnnamed2422(o.namedPorts);
+ checkUnnamed2441(o.namedPorts);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterInstanceWithNamedPorts--;
}
-buildUnnamed2423() {
+buildUnnamed2442() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed2423(core.List<api.Instance> o) {
+checkUnnamed2442(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -6591,14 +6591,14 @@
buildCounterInstancesScopedListWarningData--;
}
-buildUnnamed2424() {
+buildUnnamed2443() {
var o = new core.List<api.InstancesScopedListWarningData>();
o.add(buildInstancesScopedListWarningData());
o.add(buildInstancesScopedListWarningData());
return o;
}
-checkUnnamed2424(core.List<api.InstancesScopedListWarningData> o) {
+checkUnnamed2443(core.List<api.InstancesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstancesScopedListWarningData(o[0]);
checkInstancesScopedListWarningData(o[1]);
@@ -6610,7 +6610,7 @@
buildCounterInstancesScopedListWarning++;
if (buildCounterInstancesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2424();
+ o.data = buildUnnamed2443();
o.message = "foo";
}
buildCounterInstancesScopedListWarning--;
@@ -6621,7 +6621,7 @@
buildCounterInstancesScopedListWarning++;
if (buildCounterInstancesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2424(o.data);
+ checkUnnamed2443(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstancesScopedListWarning--;
@@ -6632,7 +6632,7 @@
var o = new api.InstancesScopedList();
buildCounterInstancesScopedList++;
if (buildCounterInstancesScopedList < 3) {
- o.instances = buildUnnamed2423();
+ o.instances = buildUnnamed2442();
o.warning = buildInstancesScopedListWarning();
}
buildCounterInstancesScopedList--;
@@ -6642,20 +6642,20 @@
checkInstancesScopedList(api.InstancesScopedList o) {
buildCounterInstancesScopedList++;
if (buildCounterInstancesScopedList < 3) {
- checkUnnamed2423(o.instances);
+ checkUnnamed2442(o.instances);
checkInstancesScopedListWarning(o.warning);
}
buildCounterInstancesScopedList--;
}
-buildUnnamed2425() {
+buildUnnamed2444() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2425(core.Map<core.String, core.String> o) {
+checkUnnamed2444(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'));
@@ -6667,7 +6667,7 @@
buildCounterInstancesSetLabelsRequest++;
if (buildCounterInstancesSetLabelsRequest < 3) {
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2425();
+ o.labels = buildUnnamed2444();
}
buildCounterInstancesSetLabelsRequest--;
return o;
@@ -6677,19 +6677,19 @@
buildCounterInstancesSetLabelsRequest++;
if (buildCounterInstancesSetLabelsRequest < 3) {
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2425(o.labels);
+ checkUnnamed2444(o.labels);
}
buildCounterInstancesSetLabelsRequest--;
}
-buildUnnamed2426() {
+buildUnnamed2445() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed2426(core.List<api.AcceleratorConfig> o) {
+checkUnnamed2445(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
@@ -6700,7 +6700,7 @@
var o = new api.InstancesSetMachineResourcesRequest();
buildCounterInstancesSetMachineResourcesRequest++;
if (buildCounterInstancesSetMachineResourcesRequest < 3) {
- o.guestAccelerators = buildUnnamed2426();
+ o.guestAccelerators = buildUnnamed2445();
}
buildCounterInstancesSetMachineResourcesRequest--;
return o;
@@ -6710,7 +6710,7 @@
api.InstancesSetMachineResourcesRequest o) {
buildCounterInstancesSetMachineResourcesRequest++;
if (buildCounterInstancesSetMachineResourcesRequest < 3) {
- checkUnnamed2426(o.guestAccelerators);
+ checkUnnamed2445(o.guestAccelerators);
}
buildCounterInstancesSetMachineResourcesRequest--;
}
@@ -6754,14 +6754,14 @@
buildCounterInstancesSetMinCpuPlatformRequest--;
}
-buildUnnamed2427() {
+buildUnnamed2446() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2427(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'));
@@ -6773,7 +6773,7 @@
buildCounterInstancesSetServiceAccountRequest++;
if (buildCounterInstancesSetServiceAccountRequest < 3) {
o.email = "foo";
- o.scopes = buildUnnamed2427();
+ o.scopes = buildUnnamed2446();
}
buildCounterInstancesSetServiceAccountRequest--;
return o;
@@ -6784,19 +6784,19 @@
buildCounterInstancesSetServiceAccountRequest++;
if (buildCounterInstancesSetServiceAccountRequest < 3) {
unittest.expect(o.email, unittest.equals('foo'));
- checkUnnamed2427(o.scopes);
+ checkUnnamed2446(o.scopes);
}
buildCounterInstancesSetServiceAccountRequest--;
}
-buildUnnamed2428() {
+buildUnnamed2447() {
var o = new core.List<api.CustomerEncryptionKeyProtectedDisk>();
o.add(buildCustomerEncryptionKeyProtectedDisk());
o.add(buildCustomerEncryptionKeyProtectedDisk());
return o;
}
-checkUnnamed2428(core.List<api.CustomerEncryptionKeyProtectedDisk> o) {
+checkUnnamed2447(core.List<api.CustomerEncryptionKeyProtectedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomerEncryptionKeyProtectedDisk(o[0]);
checkCustomerEncryptionKeyProtectedDisk(o[1]);
@@ -6807,7 +6807,7 @@
var o = new api.InstancesStartWithEncryptionKeyRequest();
buildCounterInstancesStartWithEncryptionKeyRequest++;
if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) {
- o.disks = buildUnnamed2428();
+ o.disks = buildUnnamed2447();
}
buildCounterInstancesStartWithEncryptionKeyRequest--;
return o;
@@ -6817,45 +6817,45 @@
api.InstancesStartWithEncryptionKeyRequest o) {
buildCounterInstancesStartWithEncryptionKeyRequest++;
if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) {
- checkUnnamed2428(o.disks);
+ checkUnnamed2447(o.disks);
}
buildCounterInstancesStartWithEncryptionKeyRequest--;
}
-buildUnnamed2429() {
+buildUnnamed2448() {
var o = new core.List<api.InterconnectCircuitInfo>();
o.add(buildInterconnectCircuitInfo());
o.add(buildInterconnectCircuitInfo());
return o;
}
-checkUnnamed2429(core.List<api.InterconnectCircuitInfo> o) {
+checkUnnamed2448(core.List<api.InterconnectCircuitInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectCircuitInfo(o[0]);
checkInterconnectCircuitInfo(o[1]);
}
-buildUnnamed2430() {
+buildUnnamed2449() {
var o = new core.List<api.InterconnectOutageNotification>();
o.add(buildInterconnectOutageNotification());
o.add(buildInterconnectOutageNotification());
return o;
}
-checkUnnamed2430(core.List<api.InterconnectOutageNotification> o) {
+checkUnnamed2449(core.List<api.InterconnectOutageNotification> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectOutageNotification(o[0]);
checkInterconnectOutageNotification(o[1]);
}
-buildUnnamed2431() {
+buildUnnamed2450() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2431(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'));
@@ -6867,15 +6867,15 @@
buildCounterInterconnect++;
if (buildCounterInterconnect < 3) {
o.adminEnabled = true;
- o.circuitInfos = buildUnnamed2429();
+ o.circuitInfos = buildUnnamed2448();
o.creationTimestamp = "foo";
o.customerName = "foo";
o.description = "foo";
- o.expectedOutages = buildUnnamed2430();
+ o.expectedOutages = buildUnnamed2449();
o.googleIpAddress = "foo";
o.googleReferenceId = "foo";
o.id = "foo";
- o.interconnectAttachments = buildUnnamed2431();
+ o.interconnectAttachments = buildUnnamed2450();
o.interconnectType = "foo";
o.kind = "foo";
o.linkType = "foo";
@@ -6896,15 +6896,15 @@
buildCounterInterconnect++;
if (buildCounterInterconnect < 3) {
unittest.expect(o.adminEnabled, unittest.isTrue);
- checkUnnamed2429(o.circuitInfos);
+ checkUnnamed2448(o.circuitInfos);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.customerName, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2430(o.expectedOutages);
+ checkUnnamed2449(o.expectedOutages);
unittest.expect(o.googleIpAddress, unittest.equals('foo'));
unittest.expect(o.googleReferenceId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2431(o.interconnectAttachments);
+ checkUnnamed2450(o.interconnectAttachments);
unittest.expect(o.interconnectType, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.linkType, unittest.equals('foo'));
@@ -6965,14 +6965,14 @@
buildCounterInterconnectAttachment--;
}
-buildUnnamed2432() {
+buildUnnamed2451() {
var o = new core.Map<core.String, api.InterconnectAttachmentsScopedList>();
o["x"] = buildInterconnectAttachmentsScopedList();
o["y"] = buildInterconnectAttachmentsScopedList();
return o;
}
-checkUnnamed2432(
+checkUnnamed2451(
core.Map<core.String, api.InterconnectAttachmentsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectAttachmentsScopedList(o["x"]);
@@ -7001,14 +7001,14 @@
buildCounterInterconnectAttachmentAggregatedListWarningData--;
}
-buildUnnamed2433() {
+buildUnnamed2452() {
var o = new core.List<api.InterconnectAttachmentAggregatedListWarningData>();
o.add(buildInterconnectAttachmentAggregatedListWarningData());
o.add(buildInterconnectAttachmentAggregatedListWarningData());
return o;
}
-checkUnnamed2433(
+checkUnnamed2452(
core.List<api.InterconnectAttachmentAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectAttachmentAggregatedListWarningData(o[0]);
@@ -7021,7 +7021,7 @@
buildCounterInterconnectAttachmentAggregatedListWarning++;
if (buildCounterInterconnectAttachmentAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2433();
+ o.data = buildUnnamed2452();
o.message = "foo";
}
buildCounterInterconnectAttachmentAggregatedListWarning--;
@@ -7033,7 +7033,7 @@
buildCounterInterconnectAttachmentAggregatedListWarning++;
if (buildCounterInterconnectAttachmentAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2433(o.data);
+ checkUnnamed2452(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInterconnectAttachmentAggregatedListWarning--;
@@ -7045,7 +7045,7 @@
buildCounterInterconnectAttachmentAggregatedList++;
if (buildCounterInterconnectAttachmentAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2432();
+ o.items = buildUnnamed2451();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7060,7 +7060,7 @@
buildCounterInterconnectAttachmentAggregatedList++;
if (buildCounterInterconnectAttachmentAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2432(o.items);
+ checkUnnamed2451(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7069,14 +7069,14 @@
buildCounterInterconnectAttachmentAggregatedList--;
}
-buildUnnamed2434() {
+buildUnnamed2453() {
var o = new core.List<api.InterconnectAttachment>();
o.add(buildInterconnectAttachment());
o.add(buildInterconnectAttachment());
return o;
}
-checkUnnamed2434(core.List<api.InterconnectAttachment> o) {
+checkUnnamed2453(core.List<api.InterconnectAttachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectAttachment(o[0]);
checkInterconnectAttachment(o[1]);
@@ -7104,14 +7104,14 @@
buildCounterInterconnectAttachmentListWarningData--;
}
-buildUnnamed2435() {
+buildUnnamed2454() {
var o = new core.List<api.InterconnectAttachmentListWarningData>();
o.add(buildInterconnectAttachmentListWarningData());
o.add(buildInterconnectAttachmentListWarningData());
return o;
}
-checkUnnamed2435(core.List<api.InterconnectAttachmentListWarningData> o) {
+checkUnnamed2454(core.List<api.InterconnectAttachmentListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectAttachmentListWarningData(o[0]);
checkInterconnectAttachmentListWarningData(o[1]);
@@ -7123,7 +7123,7 @@
buildCounterInterconnectAttachmentListWarning++;
if (buildCounterInterconnectAttachmentListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2435();
+ o.data = buildUnnamed2454();
o.message = "foo";
}
buildCounterInterconnectAttachmentListWarning--;
@@ -7135,7 +7135,7 @@
buildCounterInterconnectAttachmentListWarning++;
if (buildCounterInterconnectAttachmentListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2435(o.data);
+ checkUnnamed2454(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInterconnectAttachmentListWarning--;
@@ -7147,7 +7147,7 @@
buildCounterInterconnectAttachmentList++;
if (buildCounterInterconnectAttachmentList < 3) {
o.id = "foo";
- o.items = buildUnnamed2434();
+ o.items = buildUnnamed2453();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7161,7 +7161,7 @@
buildCounterInterconnectAttachmentList++;
if (buildCounterInterconnectAttachmentList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2434(o.items);
+ checkUnnamed2453(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7190,14 +7190,14 @@
buildCounterInterconnectAttachmentPrivateInfo--;
}
-buildUnnamed2436() {
+buildUnnamed2455() {
var o = new core.List<api.InterconnectAttachment>();
o.add(buildInterconnectAttachment());
o.add(buildInterconnectAttachment());
return o;
}
-checkUnnamed2436(core.List<api.InterconnectAttachment> o) {
+checkUnnamed2455(core.List<api.InterconnectAttachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectAttachment(o[0]);
checkInterconnectAttachment(o[1]);
@@ -7225,14 +7225,14 @@
buildCounterInterconnectAttachmentsScopedListWarningData--;
}
-buildUnnamed2437() {
+buildUnnamed2456() {
var o = new core.List<api.InterconnectAttachmentsScopedListWarningData>();
o.add(buildInterconnectAttachmentsScopedListWarningData());
o.add(buildInterconnectAttachmentsScopedListWarningData());
return o;
}
-checkUnnamed2437(
+checkUnnamed2456(
core.List<api.InterconnectAttachmentsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectAttachmentsScopedListWarningData(o[0]);
@@ -7245,7 +7245,7 @@
buildCounterInterconnectAttachmentsScopedListWarning++;
if (buildCounterInterconnectAttachmentsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2437();
+ o.data = buildUnnamed2456();
o.message = "foo";
}
buildCounterInterconnectAttachmentsScopedListWarning--;
@@ -7257,7 +7257,7 @@
buildCounterInterconnectAttachmentsScopedListWarning++;
if (buildCounterInterconnectAttachmentsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2437(o.data);
+ checkUnnamed2456(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInterconnectAttachmentsScopedListWarning--;
@@ -7268,7 +7268,7 @@
var o = new api.InterconnectAttachmentsScopedList();
buildCounterInterconnectAttachmentsScopedList++;
if (buildCounterInterconnectAttachmentsScopedList < 3) {
- o.interconnectAttachments = buildUnnamed2436();
+ o.interconnectAttachments = buildUnnamed2455();
o.warning = buildInterconnectAttachmentsScopedListWarning();
}
buildCounterInterconnectAttachmentsScopedList--;
@@ -7279,7 +7279,7 @@
api.InterconnectAttachmentsScopedList o) {
buildCounterInterconnectAttachmentsScopedList++;
if (buildCounterInterconnectAttachmentsScopedList < 3) {
- checkUnnamed2436(o.interconnectAttachments);
+ checkUnnamed2455(o.interconnectAttachments);
checkInterconnectAttachmentsScopedListWarning(o.warning);
}
buildCounterInterconnectAttachmentsScopedList--;
@@ -7308,14 +7308,14 @@
buildCounterInterconnectCircuitInfo--;
}
-buildUnnamed2438() {
+buildUnnamed2457() {
var o = new core.List<api.Interconnect>();
o.add(buildInterconnect());
o.add(buildInterconnect());
return o;
}
-checkUnnamed2438(core.List<api.Interconnect> o) {
+checkUnnamed2457(core.List<api.Interconnect> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnect(o[0]);
checkInterconnect(o[1]);
@@ -7342,14 +7342,14 @@
buildCounterInterconnectListWarningData--;
}
-buildUnnamed2439() {
+buildUnnamed2458() {
var o = new core.List<api.InterconnectListWarningData>();
o.add(buildInterconnectListWarningData());
o.add(buildInterconnectListWarningData());
return o;
}
-checkUnnamed2439(core.List<api.InterconnectListWarningData> o) {
+checkUnnamed2458(core.List<api.InterconnectListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectListWarningData(o[0]);
checkInterconnectListWarningData(o[1]);
@@ -7361,7 +7361,7 @@
buildCounterInterconnectListWarning++;
if (buildCounterInterconnectListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2439();
+ o.data = buildUnnamed2458();
o.message = "foo";
}
buildCounterInterconnectListWarning--;
@@ -7372,7 +7372,7 @@
buildCounterInterconnectListWarning++;
if (buildCounterInterconnectListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2439(o.data);
+ checkUnnamed2458(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInterconnectListWarning--;
@@ -7384,7 +7384,7 @@
buildCounterInterconnectList++;
if (buildCounterInterconnectList < 3) {
o.id = "foo";
- o.items = buildUnnamed2438();
+ o.items = buildUnnamed2457();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7398,7 +7398,7 @@
buildCounterInterconnectList++;
if (buildCounterInterconnectList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2438(o.items);
+ checkUnnamed2457(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7407,14 +7407,14 @@
buildCounterInterconnectList--;
}
-buildUnnamed2440() {
+buildUnnamed2459() {
var o = new core.List<api.InterconnectLocationRegionInfo>();
o.add(buildInterconnectLocationRegionInfo());
o.add(buildInterconnectLocationRegionInfo());
return o;
}
-checkUnnamed2440(core.List<api.InterconnectLocationRegionInfo> o) {
+checkUnnamed2459(core.List<api.InterconnectLocationRegionInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectLocationRegionInfo(o[0]);
checkInterconnectLocationRegionInfo(o[1]);
@@ -7437,7 +7437,7 @@
o.kind = "foo";
o.name = "foo";
o.peeringdbFacilityId = "foo";
- o.regionInfos = buildUnnamed2440();
+ o.regionInfos = buildUnnamed2459();
o.selfLink = "foo";
}
buildCounterInterconnectLocation--;
@@ -7459,20 +7459,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.peeringdbFacilityId, unittest.equals('foo'));
- checkUnnamed2440(o.regionInfos);
+ checkUnnamed2459(o.regionInfos);
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterInterconnectLocation--;
}
-buildUnnamed2441() {
+buildUnnamed2460() {
var o = new core.List<api.InterconnectLocation>();
o.add(buildInterconnectLocation());
o.add(buildInterconnectLocation());
return o;
}
-checkUnnamed2441(core.List<api.InterconnectLocation> o) {
+checkUnnamed2460(core.List<api.InterconnectLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectLocation(o[0]);
checkInterconnectLocation(o[1]);
@@ -7500,14 +7500,14 @@
buildCounterInterconnectLocationListWarningData--;
}
-buildUnnamed2442() {
+buildUnnamed2461() {
var o = new core.List<api.InterconnectLocationListWarningData>();
o.add(buildInterconnectLocationListWarningData());
o.add(buildInterconnectLocationListWarningData());
return o;
}
-checkUnnamed2442(core.List<api.InterconnectLocationListWarningData> o) {
+checkUnnamed2461(core.List<api.InterconnectLocationListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectLocationListWarningData(o[0]);
checkInterconnectLocationListWarningData(o[1]);
@@ -7519,7 +7519,7 @@
buildCounterInterconnectLocationListWarning++;
if (buildCounterInterconnectLocationListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2442();
+ o.data = buildUnnamed2461();
o.message = "foo";
}
buildCounterInterconnectLocationListWarning--;
@@ -7530,7 +7530,7 @@
buildCounterInterconnectLocationListWarning++;
if (buildCounterInterconnectLocationListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2442(o.data);
+ checkUnnamed2461(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInterconnectLocationListWarning--;
@@ -7542,7 +7542,7 @@
buildCounterInterconnectLocationList++;
if (buildCounterInterconnectLocationList < 3) {
o.id = "foo";
- o.items = buildUnnamed2441();
+ o.items = buildUnnamed2460();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7556,7 +7556,7 @@
buildCounterInterconnectLocationList++;
if (buildCounterInterconnectLocationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2441(o.items);
+ checkUnnamed2460(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7588,14 +7588,14 @@
buildCounterInterconnectLocationRegionInfo--;
}
-buildUnnamed2443() {
+buildUnnamed2462() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2443(core.List<core.String> o) {
+checkUnnamed2462(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7606,7 +7606,7 @@
var o = new api.InterconnectOutageNotification();
buildCounterInterconnectOutageNotification++;
if (buildCounterInterconnectOutageNotification < 3) {
- o.affectedCircuits = buildUnnamed2443();
+ o.affectedCircuits = buildUnnamed2462();
o.description = "foo";
o.endTime = "foo";
o.issueType = "foo";
@@ -7622,7 +7622,7 @@
checkInterconnectOutageNotification(api.InterconnectOutageNotification o) {
buildCounterInterconnectOutageNotification++;
if (buildCounterInterconnectOutageNotification < 3) {
- checkUnnamed2443(o.affectedCircuits);
+ checkUnnamed2462(o.affectedCircuits);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.issueType, unittest.equals('foo'));
@@ -7678,14 +7678,14 @@
buildCounterMachineTypeScratchDisks--;
}
-buildUnnamed2444() {
+buildUnnamed2463() {
var o = new core.List<api.MachineTypeScratchDisks>();
o.add(buildMachineTypeScratchDisks());
o.add(buildMachineTypeScratchDisks());
return o;
}
-checkUnnamed2444(core.List<api.MachineTypeScratchDisks> o) {
+checkUnnamed2463(core.List<api.MachineTypeScratchDisks> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypeScratchDisks(o[0]);
checkMachineTypeScratchDisks(o[1]);
@@ -7708,7 +7708,7 @@
o.maximumPersistentDisksSizeGb = "foo";
o.memoryMb = 42;
o.name = "foo";
- o.scratchDisks = buildUnnamed2444();
+ o.scratchDisks = buildUnnamed2463();
o.selfLink = "foo";
o.zone = "foo";
}
@@ -7731,21 +7731,21 @@
unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo'));
unittest.expect(o.memoryMb, unittest.equals(42));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2444(o.scratchDisks);
+ checkUnnamed2463(o.scratchDisks);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterMachineType--;
}
-buildUnnamed2445() {
+buildUnnamed2464() {
var o = new core.Map<core.String, api.MachineTypesScopedList>();
o["x"] = buildMachineTypesScopedList();
o["y"] = buildMachineTypesScopedList();
return o;
}
-checkUnnamed2445(core.Map<core.String, api.MachineTypesScopedList> o) {
+checkUnnamed2464(core.Map<core.String, api.MachineTypesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypesScopedList(o["x"]);
checkMachineTypesScopedList(o["y"]);
@@ -7773,14 +7773,14 @@
buildCounterMachineTypeAggregatedListWarningData--;
}
-buildUnnamed2446() {
+buildUnnamed2465() {
var o = new core.List<api.MachineTypeAggregatedListWarningData>();
o.add(buildMachineTypeAggregatedListWarningData());
o.add(buildMachineTypeAggregatedListWarningData());
return o;
}
-checkUnnamed2446(core.List<api.MachineTypeAggregatedListWarningData> o) {
+checkUnnamed2465(core.List<api.MachineTypeAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypeAggregatedListWarningData(o[0]);
checkMachineTypeAggregatedListWarningData(o[1]);
@@ -7792,7 +7792,7 @@
buildCounterMachineTypeAggregatedListWarning++;
if (buildCounterMachineTypeAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2446();
+ o.data = buildUnnamed2465();
o.message = "foo";
}
buildCounterMachineTypeAggregatedListWarning--;
@@ -7803,7 +7803,7 @@
buildCounterMachineTypeAggregatedListWarning++;
if (buildCounterMachineTypeAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2446(o.data);
+ checkUnnamed2465(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterMachineTypeAggregatedListWarning--;
@@ -7815,7 +7815,7 @@
buildCounterMachineTypeAggregatedList++;
if (buildCounterMachineTypeAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2445();
+ o.items = buildUnnamed2464();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7829,7 +7829,7 @@
buildCounterMachineTypeAggregatedList++;
if (buildCounterMachineTypeAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2445(o.items);
+ checkUnnamed2464(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7838,14 +7838,14 @@
buildCounterMachineTypeAggregatedList--;
}
-buildUnnamed2447() {
+buildUnnamed2466() {
var o = new core.List<api.MachineType>();
o.add(buildMachineType());
o.add(buildMachineType());
return o;
}
-checkUnnamed2447(core.List<api.MachineType> o) {
+checkUnnamed2466(core.List<api.MachineType> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineType(o[0]);
checkMachineType(o[1]);
@@ -7872,14 +7872,14 @@
buildCounterMachineTypeListWarningData--;
}
-buildUnnamed2448() {
+buildUnnamed2467() {
var o = new core.List<api.MachineTypeListWarningData>();
o.add(buildMachineTypeListWarningData());
o.add(buildMachineTypeListWarningData());
return o;
}
-checkUnnamed2448(core.List<api.MachineTypeListWarningData> o) {
+checkUnnamed2467(core.List<api.MachineTypeListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypeListWarningData(o[0]);
checkMachineTypeListWarningData(o[1]);
@@ -7891,7 +7891,7 @@
buildCounterMachineTypeListWarning++;
if (buildCounterMachineTypeListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2448();
+ o.data = buildUnnamed2467();
o.message = "foo";
}
buildCounterMachineTypeListWarning--;
@@ -7902,7 +7902,7 @@
buildCounterMachineTypeListWarning++;
if (buildCounterMachineTypeListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2448(o.data);
+ checkUnnamed2467(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterMachineTypeListWarning--;
@@ -7914,7 +7914,7 @@
buildCounterMachineTypeList++;
if (buildCounterMachineTypeList < 3) {
o.id = "foo";
- o.items = buildUnnamed2447();
+ o.items = buildUnnamed2466();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7928,7 +7928,7 @@
buildCounterMachineTypeList++;
if (buildCounterMachineTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2447(o.items);
+ checkUnnamed2466(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7937,14 +7937,14 @@
buildCounterMachineTypeList--;
}
-buildUnnamed2449() {
+buildUnnamed2468() {
var o = new core.List<api.MachineType>();
o.add(buildMachineType());
o.add(buildMachineType());
return o;
}
-checkUnnamed2449(core.List<api.MachineType> o) {
+checkUnnamed2468(core.List<api.MachineType> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineType(o[0]);
checkMachineType(o[1]);
@@ -7972,14 +7972,14 @@
buildCounterMachineTypesScopedListWarningData--;
}
-buildUnnamed2450() {
+buildUnnamed2469() {
var o = new core.List<api.MachineTypesScopedListWarningData>();
o.add(buildMachineTypesScopedListWarningData());
o.add(buildMachineTypesScopedListWarningData());
return o;
}
-checkUnnamed2450(core.List<api.MachineTypesScopedListWarningData> o) {
+checkUnnamed2469(core.List<api.MachineTypesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypesScopedListWarningData(o[0]);
checkMachineTypesScopedListWarningData(o[1]);
@@ -7991,7 +7991,7 @@
buildCounterMachineTypesScopedListWarning++;
if (buildCounterMachineTypesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2450();
+ o.data = buildUnnamed2469();
o.message = "foo";
}
buildCounterMachineTypesScopedListWarning--;
@@ -8002,7 +8002,7 @@
buildCounterMachineTypesScopedListWarning++;
if (buildCounterMachineTypesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2450(o.data);
+ checkUnnamed2469(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterMachineTypesScopedListWarning--;
@@ -8013,7 +8013,7 @@
var o = new api.MachineTypesScopedList();
buildCounterMachineTypesScopedList++;
if (buildCounterMachineTypesScopedList < 3) {
- o.machineTypes = buildUnnamed2449();
+ o.machineTypes = buildUnnamed2468();
o.warning = buildMachineTypesScopedListWarning();
}
buildCounterMachineTypesScopedList--;
@@ -8023,7 +8023,7 @@
checkMachineTypesScopedList(api.MachineTypesScopedList o) {
buildCounterMachineTypesScopedList++;
if (buildCounterMachineTypesScopedList < 3) {
- checkUnnamed2449(o.machineTypes);
+ checkUnnamed2468(o.machineTypes);
checkMachineTypesScopedListWarning(o.warning);
}
buildCounterMachineTypesScopedList--;
@@ -8080,14 +8080,14 @@
buildCounterManagedInstanceLastAttemptErrorsErrors--;
}
-buildUnnamed2451() {
+buildUnnamed2470() {
var o = new core.List<api.ManagedInstanceLastAttemptErrorsErrors>();
o.add(buildManagedInstanceLastAttemptErrorsErrors());
o.add(buildManagedInstanceLastAttemptErrorsErrors());
return o;
}
-checkUnnamed2451(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) {
+checkUnnamed2470(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedInstanceLastAttemptErrorsErrors(o[0]);
checkManagedInstanceLastAttemptErrorsErrors(o[1]);
@@ -8098,7 +8098,7 @@
var o = new api.ManagedInstanceLastAttemptErrors();
buildCounterManagedInstanceLastAttemptErrors++;
if (buildCounterManagedInstanceLastAttemptErrors < 3) {
- o.errors = buildUnnamed2451();
+ o.errors = buildUnnamed2470();
}
buildCounterManagedInstanceLastAttemptErrors--;
return o;
@@ -8107,7 +8107,7 @@
checkManagedInstanceLastAttemptErrors(api.ManagedInstanceLastAttemptErrors o) {
buildCounterManagedInstanceLastAttemptErrors++;
if (buildCounterManagedInstanceLastAttemptErrors < 3) {
- checkUnnamed2451(o.errors);
+ checkUnnamed2470(o.errors);
}
buildCounterManagedInstanceLastAttemptErrors--;
}
@@ -8152,14 +8152,14 @@
buildCounterMetadataItems--;
}
-buildUnnamed2452() {
+buildUnnamed2471() {
var o = new core.List<api.MetadataItems>();
o.add(buildMetadataItems());
o.add(buildMetadataItems());
return o;
}
-checkUnnamed2452(core.List<api.MetadataItems> o) {
+checkUnnamed2471(core.List<api.MetadataItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataItems(o[0]);
checkMetadataItems(o[1]);
@@ -8171,7 +8171,7 @@
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
o.fingerprint = "foo";
- o.items = buildUnnamed2452();
+ o.items = buildUnnamed2471();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -8182,7 +8182,7 @@
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2452(o.items);
+ checkUnnamed2471(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -8209,27 +8209,27 @@
buildCounterNamedPort--;
}
-buildUnnamed2453() {
+buildUnnamed2472() {
var o = new core.List<api.NetworkPeering>();
o.add(buildNetworkPeering());
o.add(buildNetworkPeering());
return o;
}
-checkUnnamed2453(core.List<api.NetworkPeering> o) {
+checkUnnamed2472(core.List<api.NetworkPeering> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkPeering(o[0]);
checkNetworkPeering(o[1]);
}
-buildUnnamed2454() {
+buildUnnamed2473() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2454(core.List<core.String> o) {
+checkUnnamed2473(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8248,10 +8248,10 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.peerings = buildUnnamed2453();
+ o.peerings = buildUnnamed2472();
o.routingConfig = buildNetworkRoutingConfig();
o.selfLink = "foo";
- o.subnetworks = buildUnnamed2454();
+ o.subnetworks = buildUnnamed2473();
}
buildCounterNetwork--;
return o;
@@ -8268,35 +8268,35 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2453(o.peerings);
+ checkUnnamed2472(o.peerings);
checkNetworkRoutingConfig(o.routingConfig);
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2454(o.subnetworks);
+ checkUnnamed2473(o.subnetworks);
}
buildCounterNetwork--;
}
-buildUnnamed2455() {
+buildUnnamed2474() {
var o = new core.List<api.AccessConfig>();
o.add(buildAccessConfig());
o.add(buildAccessConfig());
return o;
}
-checkUnnamed2455(core.List<api.AccessConfig> o) {
+checkUnnamed2474(core.List<api.AccessConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccessConfig(o[0]);
checkAccessConfig(o[1]);
}
-buildUnnamed2456() {
+buildUnnamed2475() {
var o = new core.List<api.AliasIpRange>();
o.add(buildAliasIpRange());
o.add(buildAliasIpRange());
return o;
}
-checkUnnamed2456(core.List<api.AliasIpRange> o) {
+checkUnnamed2475(core.List<api.AliasIpRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkAliasIpRange(o[0]);
checkAliasIpRange(o[1]);
@@ -8307,8 +8307,8 @@
var o = new api.NetworkInterface();
buildCounterNetworkInterface++;
if (buildCounterNetworkInterface < 3) {
- o.accessConfigs = buildUnnamed2455();
- o.aliasIpRanges = buildUnnamed2456();
+ o.accessConfigs = buildUnnamed2474();
+ o.aliasIpRanges = buildUnnamed2475();
o.kind = "foo";
o.name = "foo";
o.network = "foo";
@@ -8322,8 +8322,8 @@
checkNetworkInterface(api.NetworkInterface o) {
buildCounterNetworkInterface++;
if (buildCounterNetworkInterface < 3) {
- checkUnnamed2455(o.accessConfigs);
- checkUnnamed2456(o.aliasIpRanges);
+ checkUnnamed2474(o.accessConfigs);
+ checkUnnamed2475(o.aliasIpRanges);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
@@ -8333,14 +8333,14 @@
buildCounterNetworkInterface--;
}
-buildUnnamed2457() {
+buildUnnamed2476() {
var o = new core.List<api.Network>();
o.add(buildNetwork());
o.add(buildNetwork());
return o;
}
-checkUnnamed2457(core.List<api.Network> o) {
+checkUnnamed2476(core.List<api.Network> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetwork(o[0]);
checkNetwork(o[1]);
@@ -8367,14 +8367,14 @@
buildCounterNetworkListWarningData--;
}
-buildUnnamed2458() {
+buildUnnamed2477() {
var o = new core.List<api.NetworkListWarningData>();
o.add(buildNetworkListWarningData());
o.add(buildNetworkListWarningData());
return o;
}
-checkUnnamed2458(core.List<api.NetworkListWarningData> o) {
+checkUnnamed2477(core.List<api.NetworkListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkListWarningData(o[0]);
checkNetworkListWarningData(o[1]);
@@ -8386,7 +8386,7 @@
buildCounterNetworkListWarning++;
if (buildCounterNetworkListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2458();
+ o.data = buildUnnamed2477();
o.message = "foo";
}
buildCounterNetworkListWarning--;
@@ -8397,7 +8397,7 @@
buildCounterNetworkListWarning++;
if (buildCounterNetworkListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2458(o.data);
+ checkUnnamed2477(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterNetworkListWarning--;
@@ -8409,7 +8409,7 @@
buildCounterNetworkList++;
if (buildCounterNetworkList < 3) {
o.id = "foo";
- o.items = buildUnnamed2457();
+ o.items = buildUnnamed2476();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8423,7 +8423,7 @@
buildCounterNetworkList++;
if (buildCounterNetworkList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2457(o.items);
+ checkUnnamed2476(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8543,14 +8543,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed2459() {
+buildUnnamed2478() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed2459(core.List<api.OperationErrorErrors> o) {
+checkUnnamed2478(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -8561,7 +8561,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed2459();
+ o.errors = buildUnnamed2478();
}
buildCounterOperationError--;
return o;
@@ -8570,7 +8570,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed2459(o.errors);
+ checkUnnamed2478(o.errors);
}
buildCounterOperationError--;
}
@@ -8596,14 +8596,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed2460() {
+buildUnnamed2479() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed2460(core.List<api.OperationWarningsData> o) {
+checkUnnamed2479(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -8615,7 +8615,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2460();
+ o.data = buildUnnamed2479();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -8626,20 +8626,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2460(o.data);
+ checkUnnamed2479(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed2461() {
+buildUnnamed2480() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed2461(core.List<api.OperationWarnings> o) {
+checkUnnamed2480(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -8671,7 +8671,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed2461();
+ o.warnings = buildUnnamed2480();
o.zone = "foo";
}
buildCounterOperation--;
@@ -8702,20 +8702,20 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed2461(o.warnings);
+ checkUnnamed2480(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed2462() {
+buildUnnamed2481() {
var o = new core.Map<core.String, api.OperationsScopedList>();
o["x"] = buildOperationsScopedList();
o["y"] = buildOperationsScopedList();
return o;
}
-checkUnnamed2462(core.Map<core.String, api.OperationsScopedList> o) {
+checkUnnamed2481(core.Map<core.String, api.OperationsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationsScopedList(o["x"]);
checkOperationsScopedList(o["y"]);
@@ -8743,14 +8743,14 @@
buildCounterOperationAggregatedListWarningData--;
}
-buildUnnamed2463() {
+buildUnnamed2482() {
var o = new core.List<api.OperationAggregatedListWarningData>();
o.add(buildOperationAggregatedListWarningData());
o.add(buildOperationAggregatedListWarningData());
return o;
}
-checkUnnamed2463(core.List<api.OperationAggregatedListWarningData> o) {
+checkUnnamed2482(core.List<api.OperationAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationAggregatedListWarningData(o[0]);
checkOperationAggregatedListWarningData(o[1]);
@@ -8762,7 +8762,7 @@
buildCounterOperationAggregatedListWarning++;
if (buildCounterOperationAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2463();
+ o.data = buildUnnamed2482();
o.message = "foo";
}
buildCounterOperationAggregatedListWarning--;
@@ -8773,7 +8773,7 @@
buildCounterOperationAggregatedListWarning++;
if (buildCounterOperationAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2463(o.data);
+ checkUnnamed2482(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationAggregatedListWarning--;
@@ -8785,7 +8785,7 @@
buildCounterOperationAggregatedList++;
if (buildCounterOperationAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2462();
+ o.items = buildUnnamed2481();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8799,7 +8799,7 @@
buildCounterOperationAggregatedList++;
if (buildCounterOperationAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2462(o.items);
+ checkUnnamed2481(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8808,14 +8808,14 @@
buildCounterOperationAggregatedList--;
}
-buildUnnamed2464() {
+buildUnnamed2483() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2464(core.List<api.Operation> o) {
+checkUnnamed2483(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -8842,14 +8842,14 @@
buildCounterOperationListWarningData--;
}
-buildUnnamed2465() {
+buildUnnamed2484() {
var o = new core.List<api.OperationListWarningData>();
o.add(buildOperationListWarningData());
o.add(buildOperationListWarningData());
return o;
}
-checkUnnamed2465(core.List<api.OperationListWarningData> o) {
+checkUnnamed2484(core.List<api.OperationListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationListWarningData(o[0]);
checkOperationListWarningData(o[1]);
@@ -8861,7 +8861,7 @@
buildCounterOperationListWarning++;
if (buildCounterOperationListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2465();
+ o.data = buildUnnamed2484();
o.message = "foo";
}
buildCounterOperationListWarning--;
@@ -8872,7 +8872,7 @@
buildCounterOperationListWarning++;
if (buildCounterOperationListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2465(o.data);
+ checkUnnamed2484(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationListWarning--;
@@ -8884,7 +8884,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
o.id = "foo";
- o.items = buildUnnamed2464();
+ o.items = buildUnnamed2483();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8898,7 +8898,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2464(o.items);
+ checkUnnamed2483(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8907,14 +8907,14 @@
buildCounterOperationList--;
}
-buildUnnamed2466() {
+buildUnnamed2485() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2466(core.List<api.Operation> o) {
+checkUnnamed2485(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -8941,14 +8941,14 @@
buildCounterOperationsScopedListWarningData--;
}
-buildUnnamed2467() {
+buildUnnamed2486() {
var o = new core.List<api.OperationsScopedListWarningData>();
o.add(buildOperationsScopedListWarningData());
o.add(buildOperationsScopedListWarningData());
return o;
}
-checkUnnamed2467(core.List<api.OperationsScopedListWarningData> o) {
+checkUnnamed2486(core.List<api.OperationsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationsScopedListWarningData(o[0]);
checkOperationsScopedListWarningData(o[1]);
@@ -8960,7 +8960,7 @@
buildCounterOperationsScopedListWarning++;
if (buildCounterOperationsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2467();
+ o.data = buildUnnamed2486();
o.message = "foo";
}
buildCounterOperationsScopedListWarning--;
@@ -8971,7 +8971,7 @@
buildCounterOperationsScopedListWarning++;
if (buildCounterOperationsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2467(o.data);
+ checkUnnamed2486(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationsScopedListWarning--;
@@ -8982,7 +8982,7 @@
var o = new api.OperationsScopedList();
buildCounterOperationsScopedList++;
if (buildCounterOperationsScopedList < 3) {
- o.operations = buildUnnamed2466();
+ o.operations = buildUnnamed2485();
o.warning = buildOperationsScopedListWarning();
}
buildCounterOperationsScopedList--;
@@ -8992,20 +8992,20 @@
checkOperationsScopedList(api.OperationsScopedList o) {
buildCounterOperationsScopedList++;
if (buildCounterOperationsScopedList < 3) {
- checkUnnamed2466(o.operations);
+ checkUnnamed2485(o.operations);
checkOperationsScopedListWarning(o.warning);
}
buildCounterOperationsScopedList--;
}
-buildUnnamed2468() {
+buildUnnamed2487() {
var o = new core.List<api.PathRule>();
o.add(buildPathRule());
o.add(buildPathRule());
return o;
}
-checkUnnamed2468(core.List<api.PathRule> o) {
+checkUnnamed2487(core.List<api.PathRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathRule(o[0]);
checkPathRule(o[1]);
@@ -9019,7 +9019,7 @@
o.defaultService = "foo";
o.description = "foo";
o.name = "foo";
- o.pathRules = buildUnnamed2468();
+ o.pathRules = buildUnnamed2487();
}
buildCounterPathMatcher--;
return o;
@@ -9031,19 +9031,19 @@
unittest.expect(o.defaultService, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2468(o.pathRules);
+ checkUnnamed2487(o.pathRules);
}
buildCounterPathMatcher--;
}
-buildUnnamed2469() {
+buildUnnamed2488() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2469(core.List<core.String> o) {
+checkUnnamed2488(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -9054,7 +9054,7 @@
var o = new api.PathRule();
buildCounterPathRule++;
if (buildCounterPathRule < 3) {
- o.paths = buildUnnamed2469();
+ o.paths = buildUnnamed2488();
o.service = "foo";
}
buildCounterPathRule--;
@@ -9064,33 +9064,33 @@
checkPathRule(api.PathRule o) {
buildCounterPathRule++;
if (buildCounterPathRule < 3) {
- checkUnnamed2469(o.paths);
+ checkUnnamed2488(o.paths);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterPathRule--;
}
-buildUnnamed2470() {
+buildUnnamed2489() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2470(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'));
}
-buildUnnamed2471() {
+buildUnnamed2490() {
var o = new core.List<api.Quota>();
o.add(buildQuota());
o.add(buildQuota());
return o;
}
-checkUnnamed2471(core.List<api.Quota> o) {
+checkUnnamed2490(core.List<api.Quota> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuota(o[0]);
checkQuota(o[1]);
@@ -9105,11 +9105,11 @@
o.creationTimestamp = "foo";
o.defaultServiceAccount = "foo";
o.description = "foo";
- o.enabledFeatures = buildUnnamed2470();
+ o.enabledFeatures = buildUnnamed2489();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.quotas = buildUnnamed2471();
+ o.quotas = buildUnnamed2490();
o.selfLink = "foo";
o.usageExportLocation = buildUsageExportLocation();
o.xpnProjectStatus = "foo";
@@ -9125,11 +9125,11 @@
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.defaultServiceAccount, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2470(o.enabledFeatures);
+ checkUnnamed2489(o.enabledFeatures);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2471(o.quotas);
+ checkUnnamed2490(o.quotas);
unittest.expect(o.selfLink, unittest.equals('foo'));
checkUsageExportLocation(o.usageExportLocation);
unittest.expect(o.xpnProjectStatus, unittest.equals('foo'));
@@ -9176,14 +9176,14 @@
buildCounterProjectsEnableXpnResourceRequest--;
}
-buildUnnamed2472() {
+buildUnnamed2491() {
var o = new core.List<api.XpnResourceId>();
o.add(buildXpnResourceId());
o.add(buildXpnResourceId());
return o;
}
-checkUnnamed2472(core.List<api.XpnResourceId> o) {
+checkUnnamed2491(core.List<api.XpnResourceId> o) {
unittest.expect(o, unittest.hasLength(2));
checkXpnResourceId(o[0]);
checkXpnResourceId(o[1]);
@@ -9196,7 +9196,7 @@
if (buildCounterProjectsGetXpnResources < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed2472();
+ o.resources = buildUnnamed2491();
}
buildCounterProjectsGetXpnResources--;
return o;
@@ -9207,7 +9207,7 @@
if (buildCounterProjectsGetXpnResources < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2472(o.resources);
+ checkUnnamed2491(o.resources);
}
buildCounterProjectsGetXpnResources--;
}
@@ -9254,27 +9254,27 @@
buildCounterQuota--;
}
-buildUnnamed2473() {
+buildUnnamed2492() {
var o = new core.List<api.Quota>();
o.add(buildQuota());
o.add(buildQuota());
return o;
}
-checkUnnamed2473(core.List<api.Quota> o) {
+checkUnnamed2492(core.List<api.Quota> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuota(o[0]);
checkQuota(o[1]);
}
-buildUnnamed2474() {
+buildUnnamed2493() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2474(core.List<core.String> o) {
+checkUnnamed2493(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -9291,10 +9291,10 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.quotas = buildUnnamed2473();
+ o.quotas = buildUnnamed2492();
o.selfLink = "foo";
o.status = "foo";
- o.zones = buildUnnamed2474();
+ o.zones = buildUnnamed2493();
}
buildCounterRegion--;
return o;
@@ -9309,22 +9309,22 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2473(o.quotas);
+ checkUnnamed2492(o.quotas);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed2474(o.zones);
+ checkUnnamed2493(o.zones);
}
buildCounterRegion--;
}
-buildUnnamed2475() {
+buildUnnamed2494() {
var o = new core.List<api.Autoscaler>();
o.add(buildAutoscaler());
o.add(buildAutoscaler());
return o;
}
-checkUnnamed2475(core.List<api.Autoscaler> o) {
+checkUnnamed2494(core.List<api.Autoscaler> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscaler(o[0]);
checkAutoscaler(o[1]);
@@ -9351,14 +9351,14 @@
buildCounterRegionAutoscalerListWarningData--;
}
-buildUnnamed2476() {
+buildUnnamed2495() {
var o = new core.List<api.RegionAutoscalerListWarningData>();
o.add(buildRegionAutoscalerListWarningData());
o.add(buildRegionAutoscalerListWarningData());
return o;
}
-checkUnnamed2476(core.List<api.RegionAutoscalerListWarningData> o) {
+checkUnnamed2495(core.List<api.RegionAutoscalerListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegionAutoscalerListWarningData(o[0]);
checkRegionAutoscalerListWarningData(o[1]);
@@ -9370,7 +9370,7 @@
buildCounterRegionAutoscalerListWarning++;
if (buildCounterRegionAutoscalerListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2476();
+ o.data = buildUnnamed2495();
o.message = "foo";
}
buildCounterRegionAutoscalerListWarning--;
@@ -9381,7 +9381,7 @@
buildCounterRegionAutoscalerListWarning++;
if (buildCounterRegionAutoscalerListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2476(o.data);
+ checkUnnamed2495(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRegionAutoscalerListWarning--;
@@ -9393,7 +9393,7 @@
buildCounterRegionAutoscalerList++;
if (buildCounterRegionAutoscalerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2475();
+ o.items = buildUnnamed2494();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -9407,7 +9407,7 @@
buildCounterRegionAutoscalerList++;
if (buildCounterRegionAutoscalerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2475(o.items);
+ checkUnnamed2494(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -9416,14 +9416,14 @@
buildCounterRegionAutoscalerList--;
}
-buildUnnamed2477() {
+buildUnnamed2496() {
var o = new core.List<api.InstanceGroup>();
o.add(buildInstanceGroup());
o.add(buildInstanceGroup());
return o;
}
-checkUnnamed2477(core.List<api.InstanceGroup> o) {
+checkUnnamed2496(core.List<api.InstanceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroup(o[0]);
checkInstanceGroup(o[1]);
@@ -9451,14 +9451,14 @@
buildCounterRegionInstanceGroupListWarningData--;
}
-buildUnnamed2478() {
+buildUnnamed2497() {
var o = new core.List<api.RegionInstanceGroupListWarningData>();
o.add(buildRegionInstanceGroupListWarningData());
o.add(buildRegionInstanceGroupListWarningData());
return o;
}
-checkUnnamed2478(core.List<api.RegionInstanceGroupListWarningData> o) {
+checkUnnamed2497(core.List<api.RegionInstanceGroupListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegionInstanceGroupListWarningData(o[0]);
checkRegionInstanceGroupListWarningData(o[1]);
@@ -9470,7 +9470,7 @@
buildCounterRegionInstanceGroupListWarning++;
if (buildCounterRegionInstanceGroupListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2478();
+ o.data = buildUnnamed2497();
o.message = "foo";
}
buildCounterRegionInstanceGroupListWarning--;
@@ -9481,7 +9481,7 @@
buildCounterRegionInstanceGroupListWarning++;
if (buildCounterRegionInstanceGroupListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2478(o.data);
+ checkUnnamed2497(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRegionInstanceGroupListWarning--;
@@ -9493,7 +9493,7 @@
buildCounterRegionInstanceGroupList++;
if (buildCounterRegionInstanceGroupList < 3) {
o.id = "foo";
- o.items = buildUnnamed2477();
+ o.items = buildUnnamed2496();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -9507,7 +9507,7 @@
buildCounterRegionInstanceGroupList++;
if (buildCounterRegionInstanceGroupList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2477(o.items);
+ checkUnnamed2496(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -9516,14 +9516,14 @@
buildCounterRegionInstanceGroupList--;
}
-buildUnnamed2479() {
+buildUnnamed2498() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed2479(core.List<api.InstanceGroupManager> o) {
+checkUnnamed2498(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -9551,14 +9551,14 @@
buildCounterRegionInstanceGroupManagerListWarningData--;
}
-buildUnnamed2480() {
+buildUnnamed2499() {
var o = new core.List<api.RegionInstanceGroupManagerListWarningData>();
o.add(buildRegionInstanceGroupManagerListWarningData());
o.add(buildRegionInstanceGroupManagerListWarningData());
return o;
}
-checkUnnamed2480(core.List<api.RegionInstanceGroupManagerListWarningData> o) {
+checkUnnamed2499(core.List<api.RegionInstanceGroupManagerListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegionInstanceGroupManagerListWarningData(o[0]);
checkRegionInstanceGroupManagerListWarningData(o[1]);
@@ -9570,7 +9570,7 @@
buildCounterRegionInstanceGroupManagerListWarning++;
if (buildCounterRegionInstanceGroupManagerListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2480();
+ o.data = buildUnnamed2499();
o.message = "foo";
}
buildCounterRegionInstanceGroupManagerListWarning--;
@@ -9582,7 +9582,7 @@
buildCounterRegionInstanceGroupManagerListWarning++;
if (buildCounterRegionInstanceGroupManagerListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2480(o.data);
+ checkUnnamed2499(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRegionInstanceGroupManagerListWarning--;
@@ -9594,7 +9594,7 @@
buildCounterRegionInstanceGroupManagerList++;
if (buildCounterRegionInstanceGroupManagerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2479();
+ o.items = buildUnnamed2498();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -9608,7 +9608,7 @@
buildCounterRegionInstanceGroupManagerList++;
if (buildCounterRegionInstanceGroupManagerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2479(o.items);
+ checkUnnamed2498(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -9617,14 +9617,14 @@
buildCounterRegionInstanceGroupManagerList--;
}
-buildUnnamed2481() {
+buildUnnamed2500() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2481(core.List<core.String> o) {
+checkUnnamed2500(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -9635,7 +9635,7 @@
var o = new api.RegionInstanceGroupManagersAbandonInstancesRequest();
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) {
- o.instances = buildUnnamed2481();
+ o.instances = buildUnnamed2500();
}
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--;
return o;
@@ -9645,19 +9645,19 @@
api.RegionInstanceGroupManagersAbandonInstancesRequest o) {
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) {
- checkUnnamed2481(o.instances);
+ checkUnnamed2500(o.instances);
}
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--;
}
-buildUnnamed2482() {
+buildUnnamed2501() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2482(core.List<core.String> o) {
+checkUnnamed2501(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -9668,7 +9668,7 @@
var o = new api.RegionInstanceGroupManagersDeleteInstancesRequest();
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) {
- o.instances = buildUnnamed2482();
+ o.instances = buildUnnamed2501();
}
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--;
return o;
@@ -9678,19 +9678,19 @@
api.RegionInstanceGroupManagersDeleteInstancesRequest o) {
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) {
- checkUnnamed2482(o.instances);
+ checkUnnamed2501(o.instances);
}
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--;
}
-buildUnnamed2483() {
+buildUnnamed2502() {
var o = new core.List<api.ManagedInstance>();
o.add(buildManagedInstance());
o.add(buildManagedInstance());
return o;
}
-checkUnnamed2483(core.List<api.ManagedInstance> o) {
+checkUnnamed2502(core.List<api.ManagedInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedInstance(o[0]);
checkManagedInstance(o[1]);
@@ -9701,7 +9701,7 @@
var o = new api.RegionInstanceGroupManagersListInstancesResponse();
buildCounterRegionInstanceGroupManagersListInstancesResponse++;
if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) {
- o.managedInstances = buildUnnamed2483();
+ o.managedInstances = buildUnnamed2502();
}
buildCounterRegionInstanceGroupManagersListInstancesResponse--;
return o;
@@ -9711,19 +9711,19 @@
api.RegionInstanceGroupManagersListInstancesResponse o) {
buildCounterRegionInstanceGroupManagersListInstancesResponse++;
if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) {
- checkUnnamed2483(o.managedInstances);
+ checkUnnamed2502(o.managedInstances);
}
buildCounterRegionInstanceGroupManagersListInstancesResponse--;
}
-buildUnnamed2484() {
+buildUnnamed2503() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2484(core.List<core.String> o) {
+checkUnnamed2503(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -9734,7 +9734,7 @@
var o = new api.RegionInstanceGroupManagersRecreateRequest();
buildCounterRegionInstanceGroupManagersRecreateRequest++;
if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) {
- o.instances = buildUnnamed2484();
+ o.instances = buildUnnamed2503();
}
buildCounterRegionInstanceGroupManagersRecreateRequest--;
return o;
@@ -9744,19 +9744,19 @@
api.RegionInstanceGroupManagersRecreateRequest o) {
buildCounterRegionInstanceGroupManagersRecreateRequest++;
if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) {
- checkUnnamed2484(o.instances);
+ checkUnnamed2503(o.instances);
}
buildCounterRegionInstanceGroupManagersRecreateRequest--;
}
-buildUnnamed2485() {
+buildUnnamed2504() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2485(core.List<core.String> o) {
+checkUnnamed2504(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -9768,7 +9768,7 @@
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) {
o.fingerprint = "foo";
- o.targetPools = buildUnnamed2485();
+ o.targetPools = buildUnnamed2504();
}
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--;
return o;
@@ -9779,7 +9779,7 @@
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2485(o.targetPools);
+ checkUnnamed2504(o.targetPools);
}
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--;
}
@@ -9804,14 +9804,14 @@
buildCounterRegionInstanceGroupManagersSetTemplateRequest--;
}
-buildUnnamed2486() {
+buildUnnamed2505() {
var o = new core.List<api.InstanceWithNamedPorts>();
o.add(buildInstanceWithNamedPorts());
o.add(buildInstanceWithNamedPorts());
return o;
}
-checkUnnamed2486(core.List<api.InstanceWithNamedPorts> o) {
+checkUnnamed2505(core.List<api.InstanceWithNamedPorts> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceWithNamedPorts(o[0]);
checkInstanceWithNamedPorts(o[1]);
@@ -9839,14 +9839,14 @@
buildCounterRegionInstanceGroupsListInstancesWarningData--;
}
-buildUnnamed2487() {
+buildUnnamed2506() {
var o = new core.List<api.RegionInstanceGroupsListInstancesWarningData>();
o.add(buildRegionInstanceGroupsListInstancesWarningData());
o.add(buildRegionInstanceGroupsListInstancesWarningData());
return o;
}
-checkUnnamed2487(
+checkUnnamed2506(
core.List<api.RegionInstanceGroupsListInstancesWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegionInstanceGroupsListInstancesWarningData(o[0]);
@@ -9859,7 +9859,7 @@
buildCounterRegionInstanceGroupsListInstancesWarning++;
if (buildCounterRegionInstanceGroupsListInstancesWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2487();
+ o.data = buildUnnamed2506();
o.message = "foo";
}
buildCounterRegionInstanceGroupsListInstancesWarning--;
@@ -9871,7 +9871,7 @@
buildCounterRegionInstanceGroupsListInstancesWarning++;
if (buildCounterRegionInstanceGroupsListInstancesWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2487(o.data);
+ checkUnnamed2506(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRegionInstanceGroupsListInstancesWarning--;
@@ -9883,7 +9883,7 @@
buildCounterRegionInstanceGroupsListInstances++;
if (buildCounterRegionInstanceGroupsListInstances < 3) {
o.id = "foo";
- o.items = buildUnnamed2486();
+ o.items = buildUnnamed2505();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -9898,7 +9898,7 @@
buildCounterRegionInstanceGroupsListInstances++;
if (buildCounterRegionInstanceGroupsListInstances < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2486(o.items);
+ checkUnnamed2505(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -9929,14 +9929,14 @@
buildCounterRegionInstanceGroupsListInstancesRequest--;
}
-buildUnnamed2488() {
+buildUnnamed2507() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2488(core.List<api.NamedPort> o) {
+checkUnnamed2507(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -9948,7 +9948,7 @@
buildCounterRegionInstanceGroupsSetNamedPortsRequest++;
if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) {
o.fingerprint = "foo";
- o.namedPorts = buildUnnamed2488();
+ o.namedPorts = buildUnnamed2507();
}
buildCounterRegionInstanceGroupsSetNamedPortsRequest--;
return o;
@@ -9959,19 +9959,19 @@
buildCounterRegionInstanceGroupsSetNamedPortsRequest++;
if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2488(o.namedPorts);
+ checkUnnamed2507(o.namedPorts);
}
buildCounterRegionInstanceGroupsSetNamedPortsRequest--;
}
-buildUnnamed2489() {
+buildUnnamed2508() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed2489(core.List<api.Region> o) {
+checkUnnamed2508(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -9998,14 +9998,14 @@
buildCounterRegionListWarningData--;
}
-buildUnnamed2490() {
+buildUnnamed2509() {
var o = new core.List<api.RegionListWarningData>();
o.add(buildRegionListWarningData());
o.add(buildRegionListWarningData());
return o;
}
-checkUnnamed2490(core.List<api.RegionListWarningData> o) {
+checkUnnamed2509(core.List<api.RegionListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegionListWarningData(o[0]);
checkRegionListWarningData(o[1]);
@@ -10017,7 +10017,7 @@
buildCounterRegionListWarning++;
if (buildCounterRegionListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2490();
+ o.data = buildUnnamed2509();
o.message = "foo";
}
buildCounterRegionListWarning--;
@@ -10028,7 +10028,7 @@
buildCounterRegionListWarning++;
if (buildCounterRegionListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2490(o.data);
+ checkUnnamed2509(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRegionListWarning--;
@@ -10040,7 +10040,7 @@
buildCounterRegionList++;
if (buildCounterRegionList < 3) {
o.id = "foo";
- o.items = buildUnnamed2489();
+ o.items = buildUnnamed2508();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -10054,7 +10054,7 @@
buildCounterRegionList++;
if (buildCounterRegionList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2489(o.items);
+ checkUnnamed2508(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -10103,14 +10103,14 @@
buildCounterResourceGroupReference--;
}
-buildUnnamed2491() {
+buildUnnamed2510() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2491(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'));
@@ -10137,14 +10137,14 @@
buildCounterRouteWarningsData--;
}
-buildUnnamed2492() {
+buildUnnamed2511() {
var o = new core.List<api.RouteWarningsData>();
o.add(buildRouteWarningsData());
o.add(buildRouteWarningsData());
return o;
}
-checkUnnamed2492(core.List<api.RouteWarningsData> o) {
+checkUnnamed2511(core.List<api.RouteWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouteWarningsData(o[0]);
checkRouteWarningsData(o[1]);
@@ -10156,7 +10156,7 @@
buildCounterRouteWarnings++;
if (buildCounterRouteWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2492();
+ o.data = buildUnnamed2511();
o.message = "foo";
}
buildCounterRouteWarnings--;
@@ -10167,20 +10167,20 @@
buildCounterRouteWarnings++;
if (buildCounterRouteWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2492(o.data);
+ checkUnnamed2511(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRouteWarnings--;
}
-buildUnnamed2493() {
+buildUnnamed2512() {
var o = new core.List<api.RouteWarnings>();
o.add(buildRouteWarnings());
o.add(buildRouteWarnings());
return o;
}
-checkUnnamed2493(core.List<api.RouteWarnings> o) {
+checkUnnamed2512(core.List<api.RouteWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouteWarnings(o[0]);
checkRouteWarnings(o[1]);
@@ -10206,8 +10206,8 @@
o.nextHopVpnTunnel = "foo";
o.priority = 42;
o.selfLink = "foo";
- o.tags = buildUnnamed2491();
- o.warnings = buildUnnamed2493();
+ o.tags = buildUnnamed2510();
+ o.warnings = buildUnnamed2512();
}
buildCounterRoute--;
return o;
@@ -10231,20 +10231,20 @@
unittest.expect(o.nextHopVpnTunnel, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2491(o.tags);
- checkUnnamed2493(o.warnings);
+ checkUnnamed2510(o.tags);
+ checkUnnamed2512(o.warnings);
}
buildCounterRoute--;
}
-buildUnnamed2494() {
+buildUnnamed2513() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2494(core.List<api.Route> o) {
+checkUnnamed2513(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
@@ -10271,14 +10271,14 @@
buildCounterRouteListWarningData--;
}
-buildUnnamed2495() {
+buildUnnamed2514() {
var o = new core.List<api.RouteListWarningData>();
o.add(buildRouteListWarningData());
o.add(buildRouteListWarningData());
return o;
}
-checkUnnamed2495(core.List<api.RouteListWarningData> o) {
+checkUnnamed2514(core.List<api.RouteListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouteListWarningData(o[0]);
checkRouteListWarningData(o[1]);
@@ -10290,7 +10290,7 @@
buildCounterRouteListWarning++;
if (buildCounterRouteListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2495();
+ o.data = buildUnnamed2514();
o.message = "foo";
}
buildCounterRouteListWarning--;
@@ -10301,7 +10301,7 @@
buildCounterRouteListWarning++;
if (buildCounterRouteListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2495(o.data);
+ checkUnnamed2514(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRouteListWarning--;
@@ -10313,7 +10313,7 @@
buildCounterRouteList++;
if (buildCounterRouteList < 3) {
o.id = "foo";
- o.items = buildUnnamed2494();
+ o.items = buildUnnamed2513();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -10327,7 +10327,7 @@
buildCounterRouteList++;
if (buildCounterRouteList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2494(o.items);
+ checkUnnamed2513(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -10336,27 +10336,27 @@
buildCounterRouteList--;
}
-buildUnnamed2496() {
+buildUnnamed2515() {
var o = new core.List<api.RouterBgpPeer>();
o.add(buildRouterBgpPeer());
o.add(buildRouterBgpPeer());
return o;
}
-checkUnnamed2496(core.List<api.RouterBgpPeer> o) {
+checkUnnamed2515(core.List<api.RouterBgpPeer> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterBgpPeer(o[0]);
checkRouterBgpPeer(o[1]);
}
-buildUnnamed2497() {
+buildUnnamed2516() {
var o = new core.List<api.RouterInterface>();
o.add(buildRouterInterface());
o.add(buildRouterInterface());
return o;
}
-checkUnnamed2497(core.List<api.RouterInterface> o) {
+checkUnnamed2516(core.List<api.RouterInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterInterface(o[0]);
checkRouterInterface(o[1]);
@@ -10368,11 +10368,11 @@
buildCounterRouter++;
if (buildCounterRouter < 3) {
o.bgp = buildRouterBgp();
- o.bgpPeers = buildUnnamed2496();
+ o.bgpPeers = buildUnnamed2515();
o.creationTimestamp = "foo";
o.description = "foo";
o.id = "foo";
- o.interfaces = buildUnnamed2497();
+ o.interfaces = buildUnnamed2516();
o.kind = "foo";
o.name = "foo";
o.network = "foo";
@@ -10387,11 +10387,11 @@
buildCounterRouter++;
if (buildCounterRouter < 3) {
checkRouterBgp(o.bgp);
- checkUnnamed2496(o.bgpPeers);
+ checkUnnamed2515(o.bgpPeers);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2497(o.interfaces);
+ checkUnnamed2516(o.interfaces);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
@@ -10401,14 +10401,14 @@
buildCounterRouter--;
}
-buildUnnamed2498() {
+buildUnnamed2517() {
var o = new core.Map<core.String, api.RoutersScopedList>();
o["x"] = buildRoutersScopedList();
o["y"] = buildRoutersScopedList();
return o;
}
-checkUnnamed2498(core.Map<core.String, api.RoutersScopedList> o) {
+checkUnnamed2517(core.Map<core.String, api.RoutersScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoutersScopedList(o["x"]);
checkRoutersScopedList(o["y"]);
@@ -10435,14 +10435,14 @@
buildCounterRouterAggregatedListWarningData--;
}
-buildUnnamed2499() {
+buildUnnamed2518() {
var o = new core.List<api.RouterAggregatedListWarningData>();
o.add(buildRouterAggregatedListWarningData());
o.add(buildRouterAggregatedListWarningData());
return o;
}
-checkUnnamed2499(core.List<api.RouterAggregatedListWarningData> o) {
+checkUnnamed2518(core.List<api.RouterAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterAggregatedListWarningData(o[0]);
checkRouterAggregatedListWarningData(o[1]);
@@ -10454,7 +10454,7 @@
buildCounterRouterAggregatedListWarning++;
if (buildCounterRouterAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2499();
+ o.data = buildUnnamed2518();
o.message = "foo";
}
buildCounterRouterAggregatedListWarning--;
@@ -10465,7 +10465,7 @@
buildCounterRouterAggregatedListWarning++;
if (buildCounterRouterAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2499(o.data);
+ checkUnnamed2518(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRouterAggregatedListWarning--;
@@ -10477,7 +10477,7 @@
buildCounterRouterAggregatedList++;
if (buildCounterRouterAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2498();
+ o.items = buildUnnamed2517();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -10491,7 +10491,7 @@
buildCounterRouterAggregatedList++;
if (buildCounterRouterAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2498(o.items);
+ checkUnnamed2517(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -10573,14 +10573,14 @@
buildCounterRouterInterface--;
}
-buildUnnamed2500() {
+buildUnnamed2519() {
var o = new core.List<api.Router>();
o.add(buildRouter());
o.add(buildRouter());
return o;
}
-checkUnnamed2500(core.List<api.Router> o) {
+checkUnnamed2519(core.List<api.Router> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouter(o[0]);
checkRouter(o[1]);
@@ -10607,14 +10607,14 @@
buildCounterRouterListWarningData--;
}
-buildUnnamed2501() {
+buildUnnamed2520() {
var o = new core.List<api.RouterListWarningData>();
o.add(buildRouterListWarningData());
o.add(buildRouterListWarningData());
return o;
}
-checkUnnamed2501(core.List<api.RouterListWarningData> o) {
+checkUnnamed2520(core.List<api.RouterListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterListWarningData(o[0]);
checkRouterListWarningData(o[1]);
@@ -10626,7 +10626,7 @@
buildCounterRouterListWarning++;
if (buildCounterRouterListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2501();
+ o.data = buildUnnamed2520();
o.message = "foo";
}
buildCounterRouterListWarning--;
@@ -10637,7 +10637,7 @@
buildCounterRouterListWarning++;
if (buildCounterRouterListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2501(o.data);
+ checkUnnamed2520(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRouterListWarning--;
@@ -10649,7 +10649,7 @@
buildCounterRouterList++;
if (buildCounterRouterList < 3) {
o.id = "foo";
- o.items = buildUnnamed2500();
+ o.items = buildUnnamed2519();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -10663,7 +10663,7 @@
buildCounterRouterList++;
if (buildCounterRouterList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2500(o.items);
+ checkUnnamed2519(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -10672,40 +10672,40 @@
buildCounterRouterList--;
}
-buildUnnamed2502() {
+buildUnnamed2521() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2502(core.List<api.Route> o) {
+checkUnnamed2521(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
}
-buildUnnamed2503() {
+buildUnnamed2522() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2503(core.List<api.Route> o) {
+checkUnnamed2522(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
}
-buildUnnamed2504() {
+buildUnnamed2523() {
var o = new core.List<api.RouterStatusBgpPeerStatus>();
o.add(buildRouterStatusBgpPeerStatus());
o.add(buildRouterStatusBgpPeerStatus());
return o;
}
-checkUnnamed2504(core.List<api.RouterStatusBgpPeerStatus> o) {
+checkUnnamed2523(core.List<api.RouterStatusBgpPeerStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterStatusBgpPeerStatus(o[0]);
checkRouterStatusBgpPeerStatus(o[1]);
@@ -10716,9 +10716,9 @@
var o = new api.RouterStatus();
buildCounterRouterStatus++;
if (buildCounterRouterStatus < 3) {
- o.bestRoutes = buildUnnamed2502();
- o.bestRoutesForRouter = buildUnnamed2503();
- o.bgpPeerStatus = buildUnnamed2504();
+ o.bestRoutes = buildUnnamed2521();
+ o.bestRoutesForRouter = buildUnnamed2522();
+ o.bgpPeerStatus = buildUnnamed2523();
o.network = "foo";
}
buildCounterRouterStatus--;
@@ -10728,22 +10728,22 @@
checkRouterStatus(api.RouterStatus o) {
buildCounterRouterStatus++;
if (buildCounterRouterStatus < 3) {
- checkUnnamed2502(o.bestRoutes);
- checkUnnamed2503(o.bestRoutesForRouter);
- checkUnnamed2504(o.bgpPeerStatus);
+ checkUnnamed2521(o.bestRoutes);
+ checkUnnamed2522(o.bestRoutesForRouter);
+ checkUnnamed2523(o.bgpPeerStatus);
unittest.expect(o.network, unittest.equals('foo'));
}
buildCounterRouterStatus--;
}
-buildUnnamed2505() {
+buildUnnamed2524() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2505(core.List<api.Route> o) {
+checkUnnamed2524(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
@@ -10754,7 +10754,7 @@
var o = new api.RouterStatusBgpPeerStatus();
buildCounterRouterStatusBgpPeerStatus++;
if (buildCounterRouterStatusBgpPeerStatus < 3) {
- o.advertisedRoutes = buildUnnamed2505();
+ o.advertisedRoutes = buildUnnamed2524();
o.ipAddress = "foo";
o.linkedVpnTunnel = "foo";
o.name = "foo";
@@ -10772,7 +10772,7 @@
checkRouterStatusBgpPeerStatus(api.RouterStatusBgpPeerStatus o) {
buildCounterRouterStatusBgpPeerStatus++;
if (buildCounterRouterStatusBgpPeerStatus < 3) {
- checkUnnamed2505(o.advertisedRoutes);
+ checkUnnamed2524(o.advertisedRoutes);
unittest.expect(o.ipAddress, unittest.equals('foo'));
unittest.expect(o.linkedVpnTunnel, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -10826,14 +10826,14 @@
buildCounterRoutersPreviewResponse--;
}
-buildUnnamed2506() {
+buildUnnamed2525() {
var o = new core.List<api.Router>();
o.add(buildRouter());
o.add(buildRouter());
return o;
}
-checkUnnamed2506(core.List<api.Router> o) {
+checkUnnamed2525(core.List<api.Router> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouter(o[0]);
checkRouter(o[1]);
@@ -10860,14 +10860,14 @@
buildCounterRoutersScopedListWarningData--;
}
-buildUnnamed2507() {
+buildUnnamed2526() {
var o = new core.List<api.RoutersScopedListWarningData>();
o.add(buildRoutersScopedListWarningData());
o.add(buildRoutersScopedListWarningData());
return o;
}
-checkUnnamed2507(core.List<api.RoutersScopedListWarningData> o) {
+checkUnnamed2526(core.List<api.RoutersScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoutersScopedListWarningData(o[0]);
checkRoutersScopedListWarningData(o[1]);
@@ -10879,7 +10879,7 @@
buildCounterRoutersScopedListWarning++;
if (buildCounterRoutersScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2507();
+ o.data = buildUnnamed2526();
o.message = "foo";
}
buildCounterRoutersScopedListWarning--;
@@ -10890,7 +10890,7 @@
buildCounterRoutersScopedListWarning++;
if (buildCounterRoutersScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2507(o.data);
+ checkUnnamed2526(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRoutersScopedListWarning--;
@@ -10901,7 +10901,7 @@
var o = new api.RoutersScopedList();
buildCounterRoutersScopedList++;
if (buildCounterRoutersScopedList < 3) {
- o.routers = buildUnnamed2506();
+ o.routers = buildUnnamed2525();
o.warning = buildRoutersScopedListWarning();
}
buildCounterRoutersScopedList--;
@@ -10911,7 +10911,7 @@
checkRoutersScopedList(api.RoutersScopedList o) {
buildCounterRoutersScopedList++;
if (buildCounterRoutersScopedList < 3) {
- checkUnnamed2506(o.routers);
+ checkUnnamed2525(o.routers);
checkRoutersScopedListWarning(o.warning);
}
buildCounterRoutersScopedList--;
@@ -10994,14 +10994,14 @@
buildCounterSerialPortOutput--;
}
-buildUnnamed2508() {
+buildUnnamed2527() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2508(core.List<core.String> 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'));
@@ -11013,7 +11013,7 @@
buildCounterServiceAccount++;
if (buildCounterServiceAccount < 3) {
o.email = "foo";
- o.scopes = buildUnnamed2508();
+ o.scopes = buildUnnamed2527();
}
buildCounterServiceAccount--;
return o;
@@ -11023,32 +11023,32 @@
buildCounterServiceAccount++;
if (buildCounterServiceAccount < 3) {
unittest.expect(o.email, unittest.equals('foo'));
- checkUnnamed2508(o.scopes);
+ checkUnnamed2527(o.scopes);
}
buildCounterServiceAccount--;
}
-buildUnnamed2509() {
+buildUnnamed2528() {
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) {
+checkUnnamed2528(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() {
+buildUnnamed2529() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2510(core.List<core.String> o) {
+checkUnnamed2529(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -11065,8 +11065,8 @@
o.id = "foo";
o.kind = "foo";
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2509();
- o.licenses = buildUnnamed2510();
+ o.labels = buildUnnamed2528();
+ o.licenses = buildUnnamed2529();
o.name = "foo";
o.selfLink = "foo";
o.snapshotEncryptionKey = buildCustomerEncryptionKey();
@@ -11090,8 +11090,8 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2509(o.labels);
- checkUnnamed2510(o.licenses);
+ checkUnnamed2528(o.labels);
+ checkUnnamed2529(o.licenses);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
checkCustomerEncryptionKey(o.snapshotEncryptionKey);
@@ -11105,14 +11105,14 @@
buildCounterSnapshot--;
}
-buildUnnamed2511() {
+buildUnnamed2530() {
var o = new core.List<api.Snapshot>();
o.add(buildSnapshot());
o.add(buildSnapshot());
return o;
}
-checkUnnamed2511(core.List<api.Snapshot> o) {
+checkUnnamed2530(core.List<api.Snapshot> o) {
unittest.expect(o, unittest.hasLength(2));
checkSnapshot(o[0]);
checkSnapshot(o[1]);
@@ -11139,14 +11139,14 @@
buildCounterSnapshotListWarningData--;
}
-buildUnnamed2512() {
+buildUnnamed2531() {
var o = new core.List<api.SnapshotListWarningData>();
o.add(buildSnapshotListWarningData());
o.add(buildSnapshotListWarningData());
return o;
}
-checkUnnamed2512(core.List<api.SnapshotListWarningData> o) {
+checkUnnamed2531(core.List<api.SnapshotListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSnapshotListWarningData(o[0]);
checkSnapshotListWarningData(o[1]);
@@ -11158,7 +11158,7 @@
buildCounterSnapshotListWarning++;
if (buildCounterSnapshotListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2512();
+ o.data = buildUnnamed2531();
o.message = "foo";
}
buildCounterSnapshotListWarning--;
@@ -11169,7 +11169,7 @@
buildCounterSnapshotListWarning++;
if (buildCounterSnapshotListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2512(o.data);
+ checkUnnamed2531(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSnapshotListWarning--;
@@ -11181,7 +11181,7 @@
buildCounterSnapshotList++;
if (buildCounterSnapshotList < 3) {
o.id = "foo";
- o.items = buildUnnamed2511();
+ o.items = buildUnnamed2530();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -11195,7 +11195,7 @@
buildCounterSnapshotList++;
if (buildCounterSnapshotList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2511(o.items);
+ checkUnnamed2530(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -11237,14 +11237,14 @@
buildCounterSslCertificate--;
}
-buildUnnamed2513() {
+buildUnnamed2532() {
var o = new core.List<api.SslCertificate>();
o.add(buildSslCertificate());
o.add(buildSslCertificate());
return o;
}
-checkUnnamed2513(core.List<api.SslCertificate> o) {
+checkUnnamed2532(core.List<api.SslCertificate> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslCertificate(o[0]);
checkSslCertificate(o[1]);
@@ -11271,14 +11271,14 @@
buildCounterSslCertificateListWarningData--;
}
-buildUnnamed2514() {
+buildUnnamed2533() {
var o = new core.List<api.SslCertificateListWarningData>();
o.add(buildSslCertificateListWarningData());
o.add(buildSslCertificateListWarningData());
return o;
}
-checkUnnamed2514(core.List<api.SslCertificateListWarningData> o) {
+checkUnnamed2533(core.List<api.SslCertificateListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslCertificateListWarningData(o[0]);
checkSslCertificateListWarningData(o[1]);
@@ -11290,7 +11290,7 @@
buildCounterSslCertificateListWarning++;
if (buildCounterSslCertificateListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2514();
+ o.data = buildUnnamed2533();
o.message = "foo";
}
buildCounterSslCertificateListWarning--;
@@ -11301,7 +11301,7 @@
buildCounterSslCertificateListWarning++;
if (buildCounterSslCertificateListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2514(o.data);
+ checkUnnamed2533(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSslCertificateListWarning--;
@@ -11313,7 +11313,7 @@
buildCounterSslCertificateList++;
if (buildCounterSslCertificateList < 3) {
o.id = "foo";
- o.items = buildUnnamed2513();
+ o.items = buildUnnamed2532();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -11327,7 +11327,7 @@
buildCounterSslCertificateList++;
if (buildCounterSslCertificateList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2513(o.items);
+ checkUnnamed2532(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -11336,14 +11336,14 @@
buildCounterSslCertificateList--;
}
-buildUnnamed2515() {
+buildUnnamed2534() {
var o = new core.List<api.SubnetworkSecondaryRange>();
o.add(buildSubnetworkSecondaryRange());
o.add(buildSubnetworkSecondaryRange());
return o;
}
-checkUnnamed2515(core.List<api.SubnetworkSecondaryRange> o) {
+checkUnnamed2534(core.List<api.SubnetworkSecondaryRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworkSecondaryRange(o[0]);
checkSubnetworkSecondaryRange(o[1]);
@@ -11364,7 +11364,7 @@
o.network = "foo";
o.privateIpGoogleAccess = true;
o.region = "foo";
- o.secondaryIpRanges = buildUnnamed2515();
+ o.secondaryIpRanges = buildUnnamed2534();
o.selfLink = "foo";
}
buildCounterSubnetwork--;
@@ -11384,20 +11384,20 @@
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.privateIpGoogleAccess, unittest.isTrue);
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed2515(o.secondaryIpRanges);
+ checkUnnamed2534(o.secondaryIpRanges);
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterSubnetwork--;
}
-buildUnnamed2516() {
+buildUnnamed2535() {
var o = new core.Map<core.String, api.SubnetworksScopedList>();
o["x"] = buildSubnetworksScopedList();
o["y"] = buildSubnetworksScopedList();
return o;
}
-checkUnnamed2516(core.Map<core.String, api.SubnetworksScopedList> o) {
+checkUnnamed2535(core.Map<core.String, api.SubnetworksScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworksScopedList(o["x"]);
checkSubnetworksScopedList(o["y"]);
@@ -11425,14 +11425,14 @@
buildCounterSubnetworkAggregatedListWarningData--;
}
-buildUnnamed2517() {
+buildUnnamed2536() {
var o = new core.List<api.SubnetworkAggregatedListWarningData>();
o.add(buildSubnetworkAggregatedListWarningData());
o.add(buildSubnetworkAggregatedListWarningData());
return o;
}
-checkUnnamed2517(core.List<api.SubnetworkAggregatedListWarningData> o) {
+checkUnnamed2536(core.List<api.SubnetworkAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworkAggregatedListWarningData(o[0]);
checkSubnetworkAggregatedListWarningData(o[1]);
@@ -11444,7 +11444,7 @@
buildCounterSubnetworkAggregatedListWarning++;
if (buildCounterSubnetworkAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2517();
+ o.data = buildUnnamed2536();
o.message = "foo";
}
buildCounterSubnetworkAggregatedListWarning--;
@@ -11455,7 +11455,7 @@
buildCounterSubnetworkAggregatedListWarning++;
if (buildCounterSubnetworkAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2517(o.data);
+ checkUnnamed2536(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSubnetworkAggregatedListWarning--;
@@ -11467,7 +11467,7 @@
buildCounterSubnetworkAggregatedList++;
if (buildCounterSubnetworkAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2516();
+ o.items = buildUnnamed2535();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -11481,7 +11481,7 @@
buildCounterSubnetworkAggregatedList++;
if (buildCounterSubnetworkAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2516(o.items);
+ checkUnnamed2535(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -11490,14 +11490,14 @@
buildCounterSubnetworkAggregatedList--;
}
-buildUnnamed2518() {
+buildUnnamed2537() {
var o = new core.List<api.Subnetwork>();
o.add(buildSubnetwork());
o.add(buildSubnetwork());
return o;
}
-checkUnnamed2518(core.List<api.Subnetwork> o) {
+checkUnnamed2537(core.List<api.Subnetwork> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetwork(o[0]);
checkSubnetwork(o[1]);
@@ -11524,14 +11524,14 @@
buildCounterSubnetworkListWarningData--;
}
-buildUnnamed2519() {
+buildUnnamed2538() {
var o = new core.List<api.SubnetworkListWarningData>();
o.add(buildSubnetworkListWarningData());
o.add(buildSubnetworkListWarningData());
return o;
}
-checkUnnamed2519(core.List<api.SubnetworkListWarningData> o) {
+checkUnnamed2538(core.List<api.SubnetworkListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworkListWarningData(o[0]);
checkSubnetworkListWarningData(o[1]);
@@ -11543,7 +11543,7 @@
buildCounterSubnetworkListWarning++;
if (buildCounterSubnetworkListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2519();
+ o.data = buildUnnamed2538();
o.message = "foo";
}
buildCounterSubnetworkListWarning--;
@@ -11554,7 +11554,7 @@
buildCounterSubnetworkListWarning++;
if (buildCounterSubnetworkListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2519(o.data);
+ checkUnnamed2538(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSubnetworkListWarning--;
@@ -11566,7 +11566,7 @@
buildCounterSubnetworkList++;
if (buildCounterSubnetworkList < 3) {
o.id = "foo";
- o.items = buildUnnamed2518();
+ o.items = buildUnnamed2537();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -11580,7 +11580,7 @@
buildCounterSubnetworkList++;
if (buildCounterSubnetworkList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2518(o.items);
+ checkUnnamed2537(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -11630,14 +11630,14 @@
buildCounterSubnetworksExpandIpCidrRangeRequest--;
}
-buildUnnamed2520() {
+buildUnnamed2539() {
var o = new core.List<api.Subnetwork>();
o.add(buildSubnetwork());
o.add(buildSubnetwork());
return o;
}
-checkUnnamed2520(core.List<api.Subnetwork> o) {
+checkUnnamed2539(core.List<api.Subnetwork> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetwork(o[0]);
checkSubnetwork(o[1]);
@@ -11664,14 +11664,14 @@
buildCounterSubnetworksScopedListWarningData--;
}
-buildUnnamed2521() {
+buildUnnamed2540() {
var o = new core.List<api.SubnetworksScopedListWarningData>();
o.add(buildSubnetworksScopedListWarningData());
o.add(buildSubnetworksScopedListWarningData());
return o;
}
-checkUnnamed2521(core.List<api.SubnetworksScopedListWarningData> o) {
+checkUnnamed2540(core.List<api.SubnetworksScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworksScopedListWarningData(o[0]);
checkSubnetworksScopedListWarningData(o[1]);
@@ -11683,7 +11683,7 @@
buildCounterSubnetworksScopedListWarning++;
if (buildCounterSubnetworksScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2521();
+ o.data = buildUnnamed2540();
o.message = "foo";
}
buildCounterSubnetworksScopedListWarning--;
@@ -11694,7 +11694,7 @@
buildCounterSubnetworksScopedListWarning++;
if (buildCounterSubnetworksScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2521(o.data);
+ checkUnnamed2540(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSubnetworksScopedListWarning--;
@@ -11705,7 +11705,7 @@
var o = new api.SubnetworksScopedList();
buildCounterSubnetworksScopedList++;
if (buildCounterSubnetworksScopedList < 3) {
- o.subnetworks = buildUnnamed2520();
+ o.subnetworks = buildUnnamed2539();
o.warning = buildSubnetworksScopedListWarning();
}
buildCounterSubnetworksScopedList--;
@@ -11715,7 +11715,7 @@
checkSubnetworksScopedList(api.SubnetworksScopedList o) {
buildCounterSubnetworksScopedList++;
if (buildCounterSubnetworksScopedList < 3) {
- checkUnnamed2520(o.subnetworks);
+ checkUnnamed2539(o.subnetworks);
checkSubnetworksScopedListWarning(o.warning);
}
buildCounterSubnetworksScopedList--;
@@ -11768,14 +11768,14 @@
buildCounterTCPHealthCheck--;
}
-buildUnnamed2522() {
+buildUnnamed2541() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2522(core.List<core.String> o) {
+checkUnnamed2541(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -11787,7 +11787,7 @@
buildCounterTags++;
if (buildCounterTags < 3) {
o.fingerprint = "foo";
- o.items = buildUnnamed2522();
+ o.items = buildUnnamed2541();
}
buildCounterTags--;
return o;
@@ -11797,7 +11797,7 @@
buildCounterTags++;
if (buildCounterTags < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2522(o.items);
+ checkUnnamed2541(o.items);
}
buildCounterTags--;
}
@@ -11833,14 +11833,14 @@
buildCounterTargetHttpProxy--;
}
-buildUnnamed2523() {
+buildUnnamed2542() {
var o = new core.List<api.TargetHttpProxy>();
o.add(buildTargetHttpProxy());
o.add(buildTargetHttpProxy());
return o;
}
-checkUnnamed2523(core.List<api.TargetHttpProxy> o) {
+checkUnnamed2542(core.List<api.TargetHttpProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpProxy(o[0]);
checkTargetHttpProxy(o[1]);
@@ -11867,14 +11867,14 @@
buildCounterTargetHttpProxyListWarningData--;
}
-buildUnnamed2524() {
+buildUnnamed2543() {
var o = new core.List<api.TargetHttpProxyListWarningData>();
o.add(buildTargetHttpProxyListWarningData());
o.add(buildTargetHttpProxyListWarningData());
return o;
}
-checkUnnamed2524(core.List<api.TargetHttpProxyListWarningData> o) {
+checkUnnamed2543(core.List<api.TargetHttpProxyListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpProxyListWarningData(o[0]);
checkTargetHttpProxyListWarningData(o[1]);
@@ -11886,7 +11886,7 @@
buildCounterTargetHttpProxyListWarning++;
if (buildCounterTargetHttpProxyListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2524();
+ o.data = buildUnnamed2543();
o.message = "foo";
}
buildCounterTargetHttpProxyListWarning--;
@@ -11897,7 +11897,7 @@
buildCounterTargetHttpProxyListWarning++;
if (buildCounterTargetHttpProxyListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2524(o.data);
+ checkUnnamed2543(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetHttpProxyListWarning--;
@@ -11909,7 +11909,7 @@
buildCounterTargetHttpProxyList++;
if (buildCounterTargetHttpProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2523();
+ o.items = buildUnnamed2542();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -11923,7 +11923,7 @@
buildCounterTargetHttpProxyList++;
if (buildCounterTargetHttpProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2523(o.items);
+ checkUnnamed2542(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -11932,14 +11932,14 @@
buildCounterTargetHttpProxyList--;
}
-buildUnnamed2525() {
+buildUnnamed2544() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2525(core.List<core.String> o) {
+checkUnnamed2544(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -11950,7 +11950,7 @@
var o = new api.TargetHttpsProxiesSetSslCertificatesRequest();
buildCounterTargetHttpsProxiesSetSslCertificatesRequest++;
if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) {
- o.sslCertificates = buildUnnamed2525();
+ o.sslCertificates = buildUnnamed2544();
}
buildCounterTargetHttpsProxiesSetSslCertificatesRequest--;
return o;
@@ -11960,19 +11960,19 @@
api.TargetHttpsProxiesSetSslCertificatesRequest o) {
buildCounterTargetHttpsProxiesSetSslCertificatesRequest++;
if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) {
- checkUnnamed2525(o.sslCertificates);
+ checkUnnamed2544(o.sslCertificates);
}
buildCounterTargetHttpsProxiesSetSslCertificatesRequest--;
}
-buildUnnamed2526() {
+buildUnnamed2545() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2526(core.List<core.String> o) {
+checkUnnamed2545(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -11989,7 +11989,7 @@
o.kind = "foo";
o.name = "foo";
o.selfLink = "foo";
- o.sslCertificates = buildUnnamed2526();
+ o.sslCertificates = buildUnnamed2545();
o.urlMap = "foo";
}
buildCounterTargetHttpsProxy--;
@@ -12005,20 +12005,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2526(o.sslCertificates);
+ checkUnnamed2545(o.sslCertificates);
unittest.expect(o.urlMap, unittest.equals('foo'));
}
buildCounterTargetHttpsProxy--;
}
-buildUnnamed2527() {
+buildUnnamed2546() {
var o = new core.List<api.TargetHttpsProxy>();
o.add(buildTargetHttpsProxy());
o.add(buildTargetHttpsProxy());
return o;
}
-checkUnnamed2527(core.List<api.TargetHttpsProxy> o) {
+checkUnnamed2546(core.List<api.TargetHttpsProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpsProxy(o[0]);
checkTargetHttpsProxy(o[1]);
@@ -12045,14 +12045,14 @@
buildCounterTargetHttpsProxyListWarningData--;
}
-buildUnnamed2528() {
+buildUnnamed2547() {
var o = new core.List<api.TargetHttpsProxyListWarningData>();
o.add(buildTargetHttpsProxyListWarningData());
o.add(buildTargetHttpsProxyListWarningData());
return o;
}
-checkUnnamed2528(core.List<api.TargetHttpsProxyListWarningData> o) {
+checkUnnamed2547(core.List<api.TargetHttpsProxyListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpsProxyListWarningData(o[0]);
checkTargetHttpsProxyListWarningData(o[1]);
@@ -12064,7 +12064,7 @@
buildCounterTargetHttpsProxyListWarning++;
if (buildCounterTargetHttpsProxyListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2528();
+ o.data = buildUnnamed2547();
o.message = "foo";
}
buildCounterTargetHttpsProxyListWarning--;
@@ -12075,7 +12075,7 @@
buildCounterTargetHttpsProxyListWarning++;
if (buildCounterTargetHttpsProxyListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2528(o.data);
+ checkUnnamed2547(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetHttpsProxyListWarning--;
@@ -12087,7 +12087,7 @@
buildCounterTargetHttpsProxyList++;
if (buildCounterTargetHttpsProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2527();
+ o.items = buildUnnamed2546();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -12101,7 +12101,7 @@
buildCounterTargetHttpsProxyList++;
if (buildCounterTargetHttpsProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2527(o.items);
+ checkUnnamed2546(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -12145,14 +12145,14 @@
buildCounterTargetInstance--;
}
-buildUnnamed2529() {
+buildUnnamed2548() {
var o = new core.Map<core.String, api.TargetInstancesScopedList>();
o["x"] = buildTargetInstancesScopedList();
o["y"] = buildTargetInstancesScopedList();
return o;
}
-checkUnnamed2529(core.Map<core.String, api.TargetInstancesScopedList> o) {
+checkUnnamed2548(core.Map<core.String, api.TargetInstancesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstancesScopedList(o["x"]);
checkTargetInstancesScopedList(o["y"]);
@@ -12180,14 +12180,14 @@
buildCounterTargetInstanceAggregatedListWarningData--;
}
-buildUnnamed2530() {
+buildUnnamed2549() {
var o = new core.List<api.TargetInstanceAggregatedListWarningData>();
o.add(buildTargetInstanceAggregatedListWarningData());
o.add(buildTargetInstanceAggregatedListWarningData());
return o;
}
-checkUnnamed2530(core.List<api.TargetInstanceAggregatedListWarningData> o) {
+checkUnnamed2549(core.List<api.TargetInstanceAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstanceAggregatedListWarningData(o[0]);
checkTargetInstanceAggregatedListWarningData(o[1]);
@@ -12199,7 +12199,7 @@
buildCounterTargetInstanceAggregatedListWarning++;
if (buildCounterTargetInstanceAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2530();
+ o.data = buildUnnamed2549();
o.message = "foo";
}
buildCounterTargetInstanceAggregatedListWarning--;
@@ -12211,7 +12211,7 @@
buildCounterTargetInstanceAggregatedListWarning++;
if (buildCounterTargetInstanceAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2530(o.data);
+ checkUnnamed2549(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetInstanceAggregatedListWarning--;
@@ -12223,7 +12223,7 @@
buildCounterTargetInstanceAggregatedList++;
if (buildCounterTargetInstanceAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2529();
+ o.items = buildUnnamed2548();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -12237,7 +12237,7 @@
buildCounterTargetInstanceAggregatedList++;
if (buildCounterTargetInstanceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2529(o.items);
+ checkUnnamed2548(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -12246,14 +12246,14 @@
buildCounterTargetInstanceAggregatedList--;
}
-buildUnnamed2531() {
+buildUnnamed2550() {
var o = new core.List<api.TargetInstance>();
o.add(buildTargetInstance());
o.add(buildTargetInstance());
return o;
}
-checkUnnamed2531(core.List<api.TargetInstance> o) {
+checkUnnamed2550(core.List<api.TargetInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstance(o[0]);
checkTargetInstance(o[1]);
@@ -12280,14 +12280,14 @@
buildCounterTargetInstanceListWarningData--;
}
-buildUnnamed2532() {
+buildUnnamed2551() {
var o = new core.List<api.TargetInstanceListWarningData>();
o.add(buildTargetInstanceListWarningData());
o.add(buildTargetInstanceListWarningData());
return o;
}
-checkUnnamed2532(core.List<api.TargetInstanceListWarningData> o) {
+checkUnnamed2551(core.List<api.TargetInstanceListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstanceListWarningData(o[0]);
checkTargetInstanceListWarningData(o[1]);
@@ -12299,7 +12299,7 @@
buildCounterTargetInstanceListWarning++;
if (buildCounterTargetInstanceListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2532();
+ o.data = buildUnnamed2551();
o.message = "foo";
}
buildCounterTargetInstanceListWarning--;
@@ -12310,7 +12310,7 @@
buildCounterTargetInstanceListWarning++;
if (buildCounterTargetInstanceListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2532(o.data);
+ checkUnnamed2551(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetInstanceListWarning--;
@@ -12322,7 +12322,7 @@
buildCounterTargetInstanceList++;
if (buildCounterTargetInstanceList < 3) {
o.id = "foo";
- o.items = buildUnnamed2531();
+ o.items = buildUnnamed2550();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -12336,7 +12336,7 @@
buildCounterTargetInstanceList++;
if (buildCounterTargetInstanceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2531(o.items);
+ checkUnnamed2550(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -12345,14 +12345,14 @@
buildCounterTargetInstanceList--;
}
-buildUnnamed2533() {
+buildUnnamed2552() {
var o = new core.List<api.TargetInstance>();
o.add(buildTargetInstance());
o.add(buildTargetInstance());
return o;
}
-checkUnnamed2533(core.List<api.TargetInstance> o) {
+checkUnnamed2552(core.List<api.TargetInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstance(o[0]);
checkTargetInstance(o[1]);
@@ -12380,14 +12380,14 @@
buildCounterTargetInstancesScopedListWarningData--;
}
-buildUnnamed2534() {
+buildUnnamed2553() {
var o = new core.List<api.TargetInstancesScopedListWarningData>();
o.add(buildTargetInstancesScopedListWarningData());
o.add(buildTargetInstancesScopedListWarningData());
return o;
}
-checkUnnamed2534(core.List<api.TargetInstancesScopedListWarningData> o) {
+checkUnnamed2553(core.List<api.TargetInstancesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstancesScopedListWarningData(o[0]);
checkTargetInstancesScopedListWarningData(o[1]);
@@ -12399,7 +12399,7 @@
buildCounterTargetInstancesScopedListWarning++;
if (buildCounterTargetInstancesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2534();
+ o.data = buildUnnamed2553();
o.message = "foo";
}
buildCounterTargetInstancesScopedListWarning--;
@@ -12410,7 +12410,7 @@
buildCounterTargetInstancesScopedListWarning++;
if (buildCounterTargetInstancesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2534(o.data);
+ checkUnnamed2553(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetInstancesScopedListWarning--;
@@ -12421,7 +12421,7 @@
var o = new api.TargetInstancesScopedList();
buildCounterTargetInstancesScopedList++;
if (buildCounterTargetInstancesScopedList < 3) {
- o.targetInstances = buildUnnamed2533();
+ o.targetInstances = buildUnnamed2552();
o.warning = buildTargetInstancesScopedListWarning();
}
buildCounterTargetInstancesScopedList--;
@@ -12431,33 +12431,33 @@
checkTargetInstancesScopedList(api.TargetInstancesScopedList o) {
buildCounterTargetInstancesScopedList++;
if (buildCounterTargetInstancesScopedList < 3) {
- checkUnnamed2533(o.targetInstances);
+ checkUnnamed2552(o.targetInstances);
checkTargetInstancesScopedListWarning(o.warning);
}
buildCounterTargetInstancesScopedList--;
}
-buildUnnamed2535() {
+buildUnnamed2554() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2535(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'));
}
-buildUnnamed2536() {
+buildUnnamed2555() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2536(core.List<core.String> o) {
+checkUnnamed2555(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -12472,9 +12472,9 @@
o.creationTimestamp = "foo";
o.description = "foo";
o.failoverRatio = 42.0;
- o.healthChecks = buildUnnamed2535();
+ o.healthChecks = buildUnnamed2554();
o.id = "foo";
- o.instances = buildUnnamed2536();
+ o.instances = buildUnnamed2555();
o.kind = "foo";
o.name = "foo";
o.region = "foo";
@@ -12492,9 +12492,9 @@
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.failoverRatio, unittest.equals(42.0));
- checkUnnamed2535(o.healthChecks);
+ checkUnnamed2554(o.healthChecks);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2536(o.instances);
+ checkUnnamed2555(o.instances);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
@@ -12504,14 +12504,14 @@
buildCounterTargetPool--;
}
-buildUnnamed2537() {
+buildUnnamed2556() {
var o = new core.Map<core.String, api.TargetPoolsScopedList>();
o["x"] = buildTargetPoolsScopedList();
o["y"] = buildTargetPoolsScopedList();
return o;
}
-checkUnnamed2537(core.Map<core.String, api.TargetPoolsScopedList> o) {
+checkUnnamed2556(core.Map<core.String, api.TargetPoolsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolsScopedList(o["x"]);
checkTargetPoolsScopedList(o["y"]);
@@ -12539,14 +12539,14 @@
buildCounterTargetPoolAggregatedListWarningData--;
}
-buildUnnamed2538() {
+buildUnnamed2557() {
var o = new core.List<api.TargetPoolAggregatedListWarningData>();
o.add(buildTargetPoolAggregatedListWarningData());
o.add(buildTargetPoolAggregatedListWarningData());
return o;
}
-checkUnnamed2538(core.List<api.TargetPoolAggregatedListWarningData> o) {
+checkUnnamed2557(core.List<api.TargetPoolAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolAggregatedListWarningData(o[0]);
checkTargetPoolAggregatedListWarningData(o[1]);
@@ -12558,7 +12558,7 @@
buildCounterTargetPoolAggregatedListWarning++;
if (buildCounterTargetPoolAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2538();
+ o.data = buildUnnamed2557();
o.message = "foo";
}
buildCounterTargetPoolAggregatedListWarning--;
@@ -12569,7 +12569,7 @@
buildCounterTargetPoolAggregatedListWarning++;
if (buildCounterTargetPoolAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2538(o.data);
+ checkUnnamed2557(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetPoolAggregatedListWarning--;
@@ -12581,7 +12581,7 @@
buildCounterTargetPoolAggregatedList++;
if (buildCounterTargetPoolAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2537();
+ o.items = buildUnnamed2556();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -12595,7 +12595,7 @@
buildCounterTargetPoolAggregatedList++;
if (buildCounterTargetPoolAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2537(o.items);
+ checkUnnamed2556(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -12604,14 +12604,14 @@
buildCounterTargetPoolAggregatedList--;
}
-buildUnnamed2539() {
+buildUnnamed2558() {
var o = new core.List<api.HealthStatus>();
o.add(buildHealthStatus());
o.add(buildHealthStatus());
return o;
}
-checkUnnamed2539(core.List<api.HealthStatus> o) {
+checkUnnamed2558(core.List<api.HealthStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthStatus(o[0]);
checkHealthStatus(o[1]);
@@ -12622,7 +12622,7 @@
var o = new api.TargetPoolInstanceHealth();
buildCounterTargetPoolInstanceHealth++;
if (buildCounterTargetPoolInstanceHealth < 3) {
- o.healthStatus = buildUnnamed2539();
+ o.healthStatus = buildUnnamed2558();
o.kind = "foo";
}
buildCounterTargetPoolInstanceHealth--;
@@ -12632,20 +12632,20 @@
checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) {
buildCounterTargetPoolInstanceHealth++;
if (buildCounterTargetPoolInstanceHealth < 3) {
- checkUnnamed2539(o.healthStatus);
+ checkUnnamed2558(o.healthStatus);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTargetPoolInstanceHealth--;
}
-buildUnnamed2540() {
+buildUnnamed2559() {
var o = new core.List<api.TargetPool>();
o.add(buildTargetPool());
o.add(buildTargetPool());
return o;
}
-checkUnnamed2540(core.List<api.TargetPool> o) {
+checkUnnamed2559(core.List<api.TargetPool> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPool(o[0]);
checkTargetPool(o[1]);
@@ -12672,14 +12672,14 @@
buildCounterTargetPoolListWarningData--;
}
-buildUnnamed2541() {
+buildUnnamed2560() {
var o = new core.List<api.TargetPoolListWarningData>();
o.add(buildTargetPoolListWarningData());
o.add(buildTargetPoolListWarningData());
return o;
}
-checkUnnamed2541(core.List<api.TargetPoolListWarningData> o) {
+checkUnnamed2560(core.List<api.TargetPoolListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolListWarningData(o[0]);
checkTargetPoolListWarningData(o[1]);
@@ -12691,7 +12691,7 @@
buildCounterTargetPoolListWarning++;
if (buildCounterTargetPoolListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2541();
+ o.data = buildUnnamed2560();
o.message = "foo";
}
buildCounterTargetPoolListWarning--;
@@ -12702,7 +12702,7 @@
buildCounterTargetPoolListWarning++;
if (buildCounterTargetPoolListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2541(o.data);
+ checkUnnamed2560(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetPoolListWarning--;
@@ -12714,7 +12714,7 @@
buildCounterTargetPoolList++;
if (buildCounterTargetPoolList < 3) {
o.id = "foo";
- o.items = buildUnnamed2540();
+ o.items = buildUnnamed2559();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -12728,7 +12728,7 @@
buildCounterTargetPoolList++;
if (buildCounterTargetPoolList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2540(o.items);
+ checkUnnamed2559(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -12737,14 +12737,14 @@
buildCounterTargetPoolList--;
}
-buildUnnamed2542() {
+buildUnnamed2561() {
var o = new core.List<api.HealthCheckReference>();
o.add(buildHealthCheckReference());
o.add(buildHealthCheckReference());
return o;
}
-checkUnnamed2542(core.List<api.HealthCheckReference> o) {
+checkUnnamed2561(core.List<api.HealthCheckReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheckReference(o[0]);
checkHealthCheckReference(o[1]);
@@ -12755,7 +12755,7 @@
var o = new api.TargetPoolsAddHealthCheckRequest();
buildCounterTargetPoolsAddHealthCheckRequest++;
if (buildCounterTargetPoolsAddHealthCheckRequest < 3) {
- o.healthChecks = buildUnnamed2542();
+ o.healthChecks = buildUnnamed2561();
}
buildCounterTargetPoolsAddHealthCheckRequest--;
return o;
@@ -12764,19 +12764,19 @@
checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) {
buildCounterTargetPoolsAddHealthCheckRequest++;
if (buildCounterTargetPoolsAddHealthCheckRequest < 3) {
- checkUnnamed2542(o.healthChecks);
+ checkUnnamed2561(o.healthChecks);
}
buildCounterTargetPoolsAddHealthCheckRequest--;
}
-buildUnnamed2543() {
+buildUnnamed2562() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed2543(core.List<api.InstanceReference> o) {
+checkUnnamed2562(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -12787,7 +12787,7 @@
var o = new api.TargetPoolsAddInstanceRequest();
buildCounterTargetPoolsAddInstanceRequest++;
if (buildCounterTargetPoolsAddInstanceRequest < 3) {
- o.instances = buildUnnamed2543();
+ o.instances = buildUnnamed2562();
}
buildCounterTargetPoolsAddInstanceRequest--;
return o;
@@ -12796,19 +12796,19 @@
checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) {
buildCounterTargetPoolsAddInstanceRequest++;
if (buildCounterTargetPoolsAddInstanceRequest < 3) {
- checkUnnamed2543(o.instances);
+ checkUnnamed2562(o.instances);
}
buildCounterTargetPoolsAddInstanceRequest--;
}
-buildUnnamed2544() {
+buildUnnamed2563() {
var o = new core.List<api.HealthCheckReference>();
o.add(buildHealthCheckReference());
o.add(buildHealthCheckReference());
return o;
}
-checkUnnamed2544(core.List<api.HealthCheckReference> o) {
+checkUnnamed2563(core.List<api.HealthCheckReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheckReference(o[0]);
checkHealthCheckReference(o[1]);
@@ -12819,7 +12819,7 @@
var o = new api.TargetPoolsRemoveHealthCheckRequest();
buildCounterTargetPoolsRemoveHealthCheckRequest++;
if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) {
- o.healthChecks = buildUnnamed2544();
+ o.healthChecks = buildUnnamed2563();
}
buildCounterTargetPoolsRemoveHealthCheckRequest--;
return o;
@@ -12829,19 +12829,19 @@
api.TargetPoolsRemoveHealthCheckRequest o) {
buildCounterTargetPoolsRemoveHealthCheckRequest++;
if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) {
- checkUnnamed2544(o.healthChecks);
+ checkUnnamed2563(o.healthChecks);
}
buildCounterTargetPoolsRemoveHealthCheckRequest--;
}
-buildUnnamed2545() {
+buildUnnamed2564() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed2545(core.List<api.InstanceReference> o) {
+checkUnnamed2564(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -12852,7 +12852,7 @@
var o = new api.TargetPoolsRemoveInstanceRequest();
buildCounterTargetPoolsRemoveInstanceRequest++;
if (buildCounterTargetPoolsRemoveInstanceRequest < 3) {
- o.instances = buildUnnamed2545();
+ o.instances = buildUnnamed2564();
}
buildCounterTargetPoolsRemoveInstanceRequest--;
return o;
@@ -12861,19 +12861,19 @@
checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) {
buildCounterTargetPoolsRemoveInstanceRequest++;
if (buildCounterTargetPoolsRemoveInstanceRequest < 3) {
- checkUnnamed2545(o.instances);
+ checkUnnamed2564(o.instances);
}
buildCounterTargetPoolsRemoveInstanceRequest--;
}
-buildUnnamed2546() {
+buildUnnamed2565() {
var o = new core.List<api.TargetPool>();
o.add(buildTargetPool());
o.add(buildTargetPool());
return o;
}
-checkUnnamed2546(core.List<api.TargetPool> o) {
+checkUnnamed2565(core.List<api.TargetPool> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPool(o[0]);
checkTargetPool(o[1]);
@@ -12900,14 +12900,14 @@
buildCounterTargetPoolsScopedListWarningData--;
}
-buildUnnamed2547() {
+buildUnnamed2566() {
var o = new core.List<api.TargetPoolsScopedListWarningData>();
o.add(buildTargetPoolsScopedListWarningData());
o.add(buildTargetPoolsScopedListWarningData());
return o;
}
-checkUnnamed2547(core.List<api.TargetPoolsScopedListWarningData> o) {
+checkUnnamed2566(core.List<api.TargetPoolsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolsScopedListWarningData(o[0]);
checkTargetPoolsScopedListWarningData(o[1]);
@@ -12919,7 +12919,7 @@
buildCounterTargetPoolsScopedListWarning++;
if (buildCounterTargetPoolsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2547();
+ o.data = buildUnnamed2566();
o.message = "foo";
}
buildCounterTargetPoolsScopedListWarning--;
@@ -12930,7 +12930,7 @@
buildCounterTargetPoolsScopedListWarning++;
if (buildCounterTargetPoolsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2547(o.data);
+ checkUnnamed2566(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetPoolsScopedListWarning--;
@@ -12941,7 +12941,7 @@
var o = new api.TargetPoolsScopedList();
buildCounterTargetPoolsScopedList++;
if (buildCounterTargetPoolsScopedList < 3) {
- o.targetPools = buildUnnamed2546();
+ o.targetPools = buildUnnamed2565();
o.warning = buildTargetPoolsScopedListWarning();
}
buildCounterTargetPoolsScopedList--;
@@ -12951,7 +12951,7 @@
checkTargetPoolsScopedList(api.TargetPoolsScopedList o) {
buildCounterTargetPoolsScopedList++;
if (buildCounterTargetPoolsScopedList < 3) {
- checkUnnamed2546(o.targetPools);
+ checkUnnamed2565(o.targetPools);
checkTargetPoolsScopedListWarning(o.warning);
}
buildCounterTargetPoolsScopedList--;
@@ -13016,14 +13016,14 @@
buildCounterTargetSslProxiesSetProxyHeaderRequest--;
}
-buildUnnamed2548() {
+buildUnnamed2567() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2548(core.List<core.String> o) {
+checkUnnamed2567(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -13034,7 +13034,7 @@
var o = new api.TargetSslProxiesSetSslCertificatesRequest();
buildCounterTargetSslProxiesSetSslCertificatesRequest++;
if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) {
- o.sslCertificates = buildUnnamed2548();
+ o.sslCertificates = buildUnnamed2567();
}
buildCounterTargetSslProxiesSetSslCertificatesRequest--;
return o;
@@ -13044,19 +13044,19 @@
api.TargetSslProxiesSetSslCertificatesRequest o) {
buildCounterTargetSslProxiesSetSslCertificatesRequest++;
if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) {
- checkUnnamed2548(o.sslCertificates);
+ checkUnnamed2567(o.sslCertificates);
}
buildCounterTargetSslProxiesSetSslCertificatesRequest--;
}
-buildUnnamed2549() {
+buildUnnamed2568() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2549(core.List<core.String> o) {
+checkUnnamed2568(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -13075,7 +13075,7 @@
o.proxyHeader = "foo";
o.selfLink = "foo";
o.service = "foo";
- o.sslCertificates = buildUnnamed2549();
+ o.sslCertificates = buildUnnamed2568();
}
buildCounterTargetSslProxy--;
return o;
@@ -13092,19 +13092,19 @@
unittest.expect(o.proxyHeader, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.service, unittest.equals('foo'));
- checkUnnamed2549(o.sslCertificates);
+ checkUnnamed2568(o.sslCertificates);
}
buildCounterTargetSslProxy--;
}
-buildUnnamed2550() {
+buildUnnamed2569() {
var o = new core.List<api.TargetSslProxy>();
o.add(buildTargetSslProxy());
o.add(buildTargetSslProxy());
return o;
}
-checkUnnamed2550(core.List<api.TargetSslProxy> o) {
+checkUnnamed2569(core.List<api.TargetSslProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetSslProxy(o[0]);
checkTargetSslProxy(o[1]);
@@ -13131,14 +13131,14 @@
buildCounterTargetSslProxyListWarningData--;
}
-buildUnnamed2551() {
+buildUnnamed2570() {
var o = new core.List<api.TargetSslProxyListWarningData>();
o.add(buildTargetSslProxyListWarningData());
o.add(buildTargetSslProxyListWarningData());
return o;
}
-checkUnnamed2551(core.List<api.TargetSslProxyListWarningData> o) {
+checkUnnamed2570(core.List<api.TargetSslProxyListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetSslProxyListWarningData(o[0]);
checkTargetSslProxyListWarningData(o[1]);
@@ -13150,7 +13150,7 @@
buildCounterTargetSslProxyListWarning++;
if (buildCounterTargetSslProxyListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2551();
+ o.data = buildUnnamed2570();
o.message = "foo";
}
buildCounterTargetSslProxyListWarning--;
@@ -13161,7 +13161,7 @@
buildCounterTargetSslProxyListWarning++;
if (buildCounterTargetSslProxyListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2551(o.data);
+ checkUnnamed2570(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetSslProxyListWarning--;
@@ -13173,7 +13173,7 @@
buildCounterTargetSslProxyList++;
if (buildCounterTargetSslProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2550();
+ o.items = buildUnnamed2569();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -13187,7 +13187,7 @@
buildCounterTargetSslProxyList++;
if (buildCounterTargetSslProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2550(o.items);
+ checkUnnamed2569(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -13269,14 +13269,14 @@
buildCounterTargetTcpProxy--;
}
-buildUnnamed2552() {
+buildUnnamed2571() {
var o = new core.List<api.TargetTcpProxy>();
o.add(buildTargetTcpProxy());
o.add(buildTargetTcpProxy());
return o;
}
-checkUnnamed2552(core.List<api.TargetTcpProxy> o) {
+checkUnnamed2571(core.List<api.TargetTcpProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetTcpProxy(o[0]);
checkTargetTcpProxy(o[1]);
@@ -13303,14 +13303,14 @@
buildCounterTargetTcpProxyListWarningData--;
}
-buildUnnamed2553() {
+buildUnnamed2572() {
var o = new core.List<api.TargetTcpProxyListWarningData>();
o.add(buildTargetTcpProxyListWarningData());
o.add(buildTargetTcpProxyListWarningData());
return o;
}
-checkUnnamed2553(core.List<api.TargetTcpProxyListWarningData> o) {
+checkUnnamed2572(core.List<api.TargetTcpProxyListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetTcpProxyListWarningData(o[0]);
checkTargetTcpProxyListWarningData(o[1]);
@@ -13322,7 +13322,7 @@
buildCounterTargetTcpProxyListWarning++;
if (buildCounterTargetTcpProxyListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2553();
+ o.data = buildUnnamed2572();
o.message = "foo";
}
buildCounterTargetTcpProxyListWarning--;
@@ -13333,7 +13333,7 @@
buildCounterTargetTcpProxyListWarning++;
if (buildCounterTargetTcpProxyListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2553(o.data);
+ checkUnnamed2572(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetTcpProxyListWarning--;
@@ -13345,7 +13345,7 @@
buildCounterTargetTcpProxyList++;
if (buildCounterTargetTcpProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2552();
+ o.items = buildUnnamed2571();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -13359,7 +13359,7 @@
buildCounterTargetTcpProxyList++;
if (buildCounterTargetTcpProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2552(o.items);
+ checkUnnamed2571(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -13368,27 +13368,27 @@
buildCounterTargetTcpProxyList--;
}
-buildUnnamed2554() {
+buildUnnamed2573() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2554(core.List<core.String> 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'));
}
-buildUnnamed2555() {
+buildUnnamed2574() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2555(core.List<core.String> o) {
+checkUnnamed2574(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -13401,7 +13401,7 @@
if (buildCounterTargetVpnGateway < 3) {
o.creationTimestamp = "foo";
o.description = "foo";
- o.forwardingRules = buildUnnamed2554();
+ o.forwardingRules = buildUnnamed2573();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -13409,7 +13409,7 @@
o.region = "foo";
o.selfLink = "foo";
o.status = "foo";
- o.tunnels = buildUnnamed2555();
+ o.tunnels = buildUnnamed2574();
}
buildCounterTargetVpnGateway--;
return o;
@@ -13420,7 +13420,7 @@
if (buildCounterTargetVpnGateway < 3) {
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2554(o.forwardingRules);
+ checkUnnamed2573(o.forwardingRules);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -13428,19 +13428,19 @@
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed2555(o.tunnels);
+ checkUnnamed2574(o.tunnels);
}
buildCounterTargetVpnGateway--;
}
-buildUnnamed2556() {
+buildUnnamed2575() {
var o = new core.Map<core.String, api.TargetVpnGatewaysScopedList>();
o["x"] = buildTargetVpnGatewaysScopedList();
o["y"] = buildTargetVpnGatewaysScopedList();
return o;
}
-checkUnnamed2556(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) {
+checkUnnamed2575(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGatewaysScopedList(o["x"]);
checkTargetVpnGatewaysScopedList(o["y"]);
@@ -13468,14 +13468,14 @@
buildCounterTargetVpnGatewayAggregatedListWarningData--;
}
-buildUnnamed2557() {
+buildUnnamed2576() {
var o = new core.List<api.TargetVpnGatewayAggregatedListWarningData>();
o.add(buildTargetVpnGatewayAggregatedListWarningData());
o.add(buildTargetVpnGatewayAggregatedListWarningData());
return o;
}
-checkUnnamed2557(core.List<api.TargetVpnGatewayAggregatedListWarningData> o) {
+checkUnnamed2576(core.List<api.TargetVpnGatewayAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGatewayAggregatedListWarningData(o[0]);
checkTargetVpnGatewayAggregatedListWarningData(o[1]);
@@ -13487,7 +13487,7 @@
buildCounterTargetVpnGatewayAggregatedListWarning++;
if (buildCounterTargetVpnGatewayAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2557();
+ o.data = buildUnnamed2576();
o.message = "foo";
}
buildCounterTargetVpnGatewayAggregatedListWarning--;
@@ -13499,7 +13499,7 @@
buildCounterTargetVpnGatewayAggregatedListWarning++;
if (buildCounterTargetVpnGatewayAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2557(o.data);
+ checkUnnamed2576(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetVpnGatewayAggregatedListWarning--;
@@ -13511,7 +13511,7 @@
buildCounterTargetVpnGatewayAggregatedList++;
if (buildCounterTargetVpnGatewayAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2556();
+ o.items = buildUnnamed2575();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -13525,7 +13525,7 @@
buildCounterTargetVpnGatewayAggregatedList++;
if (buildCounterTargetVpnGatewayAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2556(o.items);
+ checkUnnamed2575(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -13534,14 +13534,14 @@
buildCounterTargetVpnGatewayAggregatedList--;
}
-buildUnnamed2558() {
+buildUnnamed2577() {
var o = new core.List<api.TargetVpnGateway>();
o.add(buildTargetVpnGateway());
o.add(buildTargetVpnGateway());
return o;
}
-checkUnnamed2558(core.List<api.TargetVpnGateway> o) {
+checkUnnamed2577(core.List<api.TargetVpnGateway> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGateway(o[0]);
checkTargetVpnGateway(o[1]);
@@ -13568,14 +13568,14 @@
buildCounterTargetVpnGatewayListWarningData--;
}
-buildUnnamed2559() {
+buildUnnamed2578() {
var o = new core.List<api.TargetVpnGatewayListWarningData>();
o.add(buildTargetVpnGatewayListWarningData());
o.add(buildTargetVpnGatewayListWarningData());
return o;
}
-checkUnnamed2559(core.List<api.TargetVpnGatewayListWarningData> o) {
+checkUnnamed2578(core.List<api.TargetVpnGatewayListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGatewayListWarningData(o[0]);
checkTargetVpnGatewayListWarningData(o[1]);
@@ -13587,7 +13587,7 @@
buildCounterTargetVpnGatewayListWarning++;
if (buildCounterTargetVpnGatewayListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2559();
+ o.data = buildUnnamed2578();
o.message = "foo";
}
buildCounterTargetVpnGatewayListWarning--;
@@ -13598,7 +13598,7 @@
buildCounterTargetVpnGatewayListWarning++;
if (buildCounterTargetVpnGatewayListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2559(o.data);
+ checkUnnamed2578(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetVpnGatewayListWarning--;
@@ -13610,7 +13610,7 @@
buildCounterTargetVpnGatewayList++;
if (buildCounterTargetVpnGatewayList < 3) {
o.id = "foo";
- o.items = buildUnnamed2558();
+ o.items = buildUnnamed2577();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -13624,7 +13624,7 @@
buildCounterTargetVpnGatewayList++;
if (buildCounterTargetVpnGatewayList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2558(o.items);
+ checkUnnamed2577(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -13633,14 +13633,14 @@
buildCounterTargetVpnGatewayList--;
}
-buildUnnamed2560() {
+buildUnnamed2579() {
var o = new core.List<api.TargetVpnGateway>();
o.add(buildTargetVpnGateway());
o.add(buildTargetVpnGateway());
return o;
}
-checkUnnamed2560(core.List<api.TargetVpnGateway> o) {
+checkUnnamed2579(core.List<api.TargetVpnGateway> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGateway(o[0]);
checkTargetVpnGateway(o[1]);
@@ -13668,14 +13668,14 @@
buildCounterTargetVpnGatewaysScopedListWarningData--;
}
-buildUnnamed2561() {
+buildUnnamed2580() {
var o = new core.List<api.TargetVpnGatewaysScopedListWarningData>();
o.add(buildTargetVpnGatewaysScopedListWarningData());
o.add(buildTargetVpnGatewaysScopedListWarningData());
return o;
}
-checkUnnamed2561(core.List<api.TargetVpnGatewaysScopedListWarningData> o) {
+checkUnnamed2580(core.List<api.TargetVpnGatewaysScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGatewaysScopedListWarningData(o[0]);
checkTargetVpnGatewaysScopedListWarningData(o[1]);
@@ -13687,7 +13687,7 @@
buildCounterTargetVpnGatewaysScopedListWarning++;
if (buildCounterTargetVpnGatewaysScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2561();
+ o.data = buildUnnamed2580();
o.message = "foo";
}
buildCounterTargetVpnGatewaysScopedListWarning--;
@@ -13699,7 +13699,7 @@
buildCounterTargetVpnGatewaysScopedListWarning++;
if (buildCounterTargetVpnGatewaysScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2561(o.data);
+ checkUnnamed2580(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetVpnGatewaysScopedListWarning--;
@@ -13710,7 +13710,7 @@
var o = new api.TargetVpnGatewaysScopedList();
buildCounterTargetVpnGatewaysScopedList++;
if (buildCounterTargetVpnGatewaysScopedList < 3) {
- o.targetVpnGateways = buildUnnamed2560();
+ o.targetVpnGateways = buildUnnamed2579();
o.warning = buildTargetVpnGatewaysScopedListWarning();
}
buildCounterTargetVpnGatewaysScopedList--;
@@ -13720,7 +13720,7 @@
checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) {
buildCounterTargetVpnGatewaysScopedList++;
if (buildCounterTargetVpnGatewaysScopedList < 3) {
- checkUnnamed2560(o.targetVpnGateways);
+ checkUnnamed2579(o.targetVpnGateways);
checkTargetVpnGatewaysScopedListWarning(o.warning);
}
buildCounterTargetVpnGatewaysScopedList--;
@@ -13751,40 +13751,40 @@
buildCounterTestFailure--;
}
-buildUnnamed2562() {
+buildUnnamed2581() {
var o = new core.List<api.HostRule>();
o.add(buildHostRule());
o.add(buildHostRule());
return o;
}
-checkUnnamed2562(core.List<api.HostRule> o) {
+checkUnnamed2581(core.List<api.HostRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHostRule(o[0]);
checkHostRule(o[1]);
}
-buildUnnamed2563() {
+buildUnnamed2582() {
var o = new core.List<api.PathMatcher>();
o.add(buildPathMatcher());
o.add(buildPathMatcher());
return o;
}
-checkUnnamed2563(core.List<api.PathMatcher> o) {
+checkUnnamed2582(core.List<api.PathMatcher> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathMatcher(o[0]);
checkPathMatcher(o[1]);
}
-buildUnnamed2564() {
+buildUnnamed2583() {
var o = new core.List<api.UrlMapTest>();
o.add(buildUrlMapTest());
o.add(buildUrlMapTest());
return o;
}
-checkUnnamed2564(core.List<api.UrlMapTest> o) {
+checkUnnamed2583(core.List<api.UrlMapTest> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMapTest(o[0]);
checkUrlMapTest(o[1]);
@@ -13799,13 +13799,13 @@
o.defaultService = "foo";
o.description = "foo";
o.fingerprint = "foo";
- o.hostRules = buildUnnamed2562();
+ o.hostRules = buildUnnamed2581();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.pathMatchers = buildUnnamed2563();
+ o.pathMatchers = buildUnnamed2582();
o.selfLink = "foo";
- o.tests = buildUnnamed2564();
+ o.tests = buildUnnamed2583();
}
buildCounterUrlMap--;
return o;
@@ -13818,25 +13818,25 @@
unittest.expect(o.defaultService, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2562(o.hostRules);
+ checkUnnamed2581(o.hostRules);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2563(o.pathMatchers);
+ checkUnnamed2582(o.pathMatchers);
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2564(o.tests);
+ checkUnnamed2583(o.tests);
}
buildCounterUrlMap--;
}
-buildUnnamed2565() {
+buildUnnamed2584() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed2565(core.List<api.UrlMap> o) {
+checkUnnamed2584(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
@@ -13863,14 +13863,14 @@
buildCounterUrlMapListWarningData--;
}
-buildUnnamed2566() {
+buildUnnamed2585() {
var o = new core.List<api.UrlMapListWarningData>();
o.add(buildUrlMapListWarningData());
o.add(buildUrlMapListWarningData());
return o;
}
-checkUnnamed2566(core.List<api.UrlMapListWarningData> o) {
+checkUnnamed2585(core.List<api.UrlMapListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMapListWarningData(o[0]);
checkUrlMapListWarningData(o[1]);
@@ -13882,7 +13882,7 @@
buildCounterUrlMapListWarning++;
if (buildCounterUrlMapListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2566();
+ o.data = buildUnnamed2585();
o.message = "foo";
}
buildCounterUrlMapListWarning--;
@@ -13893,7 +13893,7 @@
buildCounterUrlMapListWarning++;
if (buildCounterUrlMapListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2566(o.data);
+ checkUnnamed2585(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterUrlMapListWarning--;
@@ -13905,7 +13905,7 @@
buildCounterUrlMapList++;
if (buildCounterUrlMapList < 3) {
o.id = "foo";
- o.items = buildUnnamed2565();
+ o.items = buildUnnamed2584();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -13919,7 +13919,7 @@
buildCounterUrlMapList++;
if (buildCounterUrlMapList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2565(o.items);
+ checkUnnamed2584(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -13972,27 +13972,27 @@
buildCounterUrlMapTest--;
}
-buildUnnamed2567() {
+buildUnnamed2586() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2567(core.List<core.String> o) {
+checkUnnamed2586(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2568() {
+buildUnnamed2587() {
var o = new core.List<api.TestFailure>();
o.add(buildTestFailure());
o.add(buildTestFailure());
return o;
}
-checkUnnamed2568(core.List<api.TestFailure> o) {
+checkUnnamed2587(core.List<api.TestFailure> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestFailure(o[0]);
checkTestFailure(o[1]);
@@ -14003,9 +14003,9 @@
var o = new api.UrlMapValidationResult();
buildCounterUrlMapValidationResult++;
if (buildCounterUrlMapValidationResult < 3) {
- o.loadErrors = buildUnnamed2567();
+ o.loadErrors = buildUnnamed2586();
o.loadSucceeded = true;
- o.testFailures = buildUnnamed2568();
+ o.testFailures = buildUnnamed2587();
o.testPassed = true;
}
buildCounterUrlMapValidationResult--;
@@ -14015,9 +14015,9 @@
checkUrlMapValidationResult(api.UrlMapValidationResult o) {
buildCounterUrlMapValidationResult++;
if (buildCounterUrlMapValidationResult < 3) {
- checkUnnamed2567(o.loadErrors);
+ checkUnnamed2586(o.loadErrors);
unittest.expect(o.loadSucceeded, unittest.isTrue);
- checkUnnamed2568(o.testFailures);
+ checkUnnamed2587(o.testFailures);
unittest.expect(o.testPassed, unittest.isTrue);
}
buildCounterUrlMapValidationResult--;
@@ -14082,27 +14082,27 @@
buildCounterUsageExportLocation--;
}
-buildUnnamed2569() {
+buildUnnamed2588() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2569(core.List<core.String> o) {
+checkUnnamed2588(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2570() {
+buildUnnamed2589() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2570(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'));
@@ -14119,11 +14119,11 @@
o.id = "foo";
o.ikeVersion = 42;
o.kind = "foo";
- o.localTrafficSelector = buildUnnamed2569();
+ o.localTrafficSelector = buildUnnamed2588();
o.name = "foo";
o.peerIp = "foo";
o.region = "foo";
- o.remoteTrafficSelector = buildUnnamed2570();
+ o.remoteTrafficSelector = buildUnnamed2589();
o.router = "foo";
o.selfLink = "foo";
o.sharedSecret = "foo";
@@ -14144,11 +14144,11 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.ikeVersion, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2569(o.localTrafficSelector);
+ checkUnnamed2588(o.localTrafficSelector);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.peerIp, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed2570(o.remoteTrafficSelector);
+ checkUnnamed2589(o.remoteTrafficSelector);
unittest.expect(o.router, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.sharedSecret, unittest.equals('foo'));
@@ -14159,14 +14159,14 @@
buildCounterVpnTunnel--;
}
-buildUnnamed2571() {
+buildUnnamed2590() {
var o = new core.Map<core.String, api.VpnTunnelsScopedList>();
o["x"] = buildVpnTunnelsScopedList();
o["y"] = buildVpnTunnelsScopedList();
return o;
}
-checkUnnamed2571(core.Map<core.String, api.VpnTunnelsScopedList> o) {
+checkUnnamed2590(core.Map<core.String, api.VpnTunnelsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnelsScopedList(o["x"]);
checkVpnTunnelsScopedList(o["y"]);
@@ -14194,14 +14194,14 @@
buildCounterVpnTunnelAggregatedListWarningData--;
}
-buildUnnamed2572() {
+buildUnnamed2591() {
var o = new core.List<api.VpnTunnelAggregatedListWarningData>();
o.add(buildVpnTunnelAggregatedListWarningData());
o.add(buildVpnTunnelAggregatedListWarningData());
return o;
}
-checkUnnamed2572(core.List<api.VpnTunnelAggregatedListWarningData> o) {
+checkUnnamed2591(core.List<api.VpnTunnelAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnelAggregatedListWarningData(o[0]);
checkVpnTunnelAggregatedListWarningData(o[1]);
@@ -14213,7 +14213,7 @@
buildCounterVpnTunnelAggregatedListWarning++;
if (buildCounterVpnTunnelAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2572();
+ o.data = buildUnnamed2591();
o.message = "foo";
}
buildCounterVpnTunnelAggregatedListWarning--;
@@ -14224,7 +14224,7 @@
buildCounterVpnTunnelAggregatedListWarning++;
if (buildCounterVpnTunnelAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2572(o.data);
+ checkUnnamed2591(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterVpnTunnelAggregatedListWarning--;
@@ -14236,7 +14236,7 @@
buildCounterVpnTunnelAggregatedList++;
if (buildCounterVpnTunnelAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2571();
+ o.items = buildUnnamed2590();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -14250,7 +14250,7 @@
buildCounterVpnTunnelAggregatedList++;
if (buildCounterVpnTunnelAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2571(o.items);
+ checkUnnamed2590(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -14259,14 +14259,14 @@
buildCounterVpnTunnelAggregatedList--;
}
-buildUnnamed2573() {
+buildUnnamed2592() {
var o = new core.List<api.VpnTunnel>();
o.add(buildVpnTunnel());
o.add(buildVpnTunnel());
return o;
}
-checkUnnamed2573(core.List<api.VpnTunnel> o) {
+checkUnnamed2592(core.List<api.VpnTunnel> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnel(o[0]);
checkVpnTunnel(o[1]);
@@ -14293,14 +14293,14 @@
buildCounterVpnTunnelListWarningData--;
}
-buildUnnamed2574() {
+buildUnnamed2593() {
var o = new core.List<api.VpnTunnelListWarningData>();
o.add(buildVpnTunnelListWarningData());
o.add(buildVpnTunnelListWarningData());
return o;
}
-checkUnnamed2574(core.List<api.VpnTunnelListWarningData> o) {
+checkUnnamed2593(core.List<api.VpnTunnelListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnelListWarningData(o[0]);
checkVpnTunnelListWarningData(o[1]);
@@ -14312,7 +14312,7 @@
buildCounterVpnTunnelListWarning++;
if (buildCounterVpnTunnelListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2574();
+ o.data = buildUnnamed2593();
o.message = "foo";
}
buildCounterVpnTunnelListWarning--;
@@ -14323,7 +14323,7 @@
buildCounterVpnTunnelListWarning++;
if (buildCounterVpnTunnelListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2574(o.data);
+ checkUnnamed2593(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterVpnTunnelListWarning--;
@@ -14335,7 +14335,7 @@
buildCounterVpnTunnelList++;
if (buildCounterVpnTunnelList < 3) {
o.id = "foo";
- o.items = buildUnnamed2573();
+ o.items = buildUnnamed2592();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -14349,7 +14349,7 @@
buildCounterVpnTunnelList++;
if (buildCounterVpnTunnelList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2573(o.items);
+ checkUnnamed2592(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -14358,14 +14358,14 @@
buildCounterVpnTunnelList--;
}
-buildUnnamed2575() {
+buildUnnamed2594() {
var o = new core.List<api.VpnTunnel>();
o.add(buildVpnTunnel());
o.add(buildVpnTunnel());
return o;
}
-checkUnnamed2575(core.List<api.VpnTunnel> o) {
+checkUnnamed2594(core.List<api.VpnTunnel> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnel(o[0]);
checkVpnTunnel(o[1]);
@@ -14392,14 +14392,14 @@
buildCounterVpnTunnelsScopedListWarningData--;
}
-buildUnnamed2576() {
+buildUnnamed2595() {
var o = new core.List<api.VpnTunnelsScopedListWarningData>();
o.add(buildVpnTunnelsScopedListWarningData());
o.add(buildVpnTunnelsScopedListWarningData());
return o;
}
-checkUnnamed2576(core.List<api.VpnTunnelsScopedListWarningData> o) {
+checkUnnamed2595(core.List<api.VpnTunnelsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnelsScopedListWarningData(o[0]);
checkVpnTunnelsScopedListWarningData(o[1]);
@@ -14411,7 +14411,7 @@
buildCounterVpnTunnelsScopedListWarning++;
if (buildCounterVpnTunnelsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2576();
+ o.data = buildUnnamed2595();
o.message = "foo";
}
buildCounterVpnTunnelsScopedListWarning--;
@@ -14422,7 +14422,7 @@
buildCounterVpnTunnelsScopedListWarning++;
if (buildCounterVpnTunnelsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2576(o.data);
+ checkUnnamed2595(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterVpnTunnelsScopedListWarning--;
@@ -14433,7 +14433,7 @@
var o = new api.VpnTunnelsScopedList();
buildCounterVpnTunnelsScopedList++;
if (buildCounterVpnTunnelsScopedList < 3) {
- o.vpnTunnels = buildUnnamed2575();
+ o.vpnTunnels = buildUnnamed2594();
o.warning = buildVpnTunnelsScopedListWarning();
}
buildCounterVpnTunnelsScopedList--;
@@ -14443,20 +14443,20 @@
checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) {
buildCounterVpnTunnelsScopedList++;
if (buildCounterVpnTunnelsScopedList < 3) {
- checkUnnamed2575(o.vpnTunnels);
+ checkUnnamed2594(o.vpnTunnels);
checkVpnTunnelsScopedListWarning(o.warning);
}
buildCounterVpnTunnelsScopedList--;
}
-buildUnnamed2577() {
+buildUnnamed2596() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed2577(core.List<api.Project> o) {
+checkUnnamed2596(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -14483,14 +14483,14 @@
buildCounterXpnHostListWarningData--;
}
-buildUnnamed2578() {
+buildUnnamed2597() {
var o = new core.List<api.XpnHostListWarningData>();
o.add(buildXpnHostListWarningData());
o.add(buildXpnHostListWarningData());
return o;
}
-checkUnnamed2578(core.List<api.XpnHostListWarningData> o) {
+checkUnnamed2597(core.List<api.XpnHostListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkXpnHostListWarningData(o[0]);
checkXpnHostListWarningData(o[1]);
@@ -14502,7 +14502,7 @@
buildCounterXpnHostListWarning++;
if (buildCounterXpnHostListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2578();
+ o.data = buildUnnamed2597();
o.message = "foo";
}
buildCounterXpnHostListWarning--;
@@ -14513,7 +14513,7 @@
buildCounterXpnHostListWarning++;
if (buildCounterXpnHostListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2578(o.data);
+ checkUnnamed2597(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterXpnHostListWarning--;
@@ -14525,7 +14525,7 @@
buildCounterXpnHostList++;
if (buildCounterXpnHostList < 3) {
o.id = "foo";
- o.items = buildUnnamed2577();
+ o.items = buildUnnamed2596();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -14539,7 +14539,7 @@
buildCounterXpnHostList++;
if (buildCounterXpnHostList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2577(o.items);
+ checkUnnamed2596(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -14569,14 +14569,14 @@
buildCounterXpnResourceId--;
}
-buildUnnamed2579() {
+buildUnnamed2598() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2579(core.List<core.String> o) {
+checkUnnamed2598(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -14587,7 +14587,7 @@
var o = new api.Zone();
buildCounterZone++;
if (buildCounterZone < 3) {
- o.availableCpuPlatforms = buildUnnamed2579();
+ o.availableCpuPlatforms = buildUnnamed2598();
o.creationTimestamp = "foo";
o.deprecated = buildDeprecationStatus();
o.description = "foo";
@@ -14605,7 +14605,7 @@
checkZone(api.Zone o) {
buildCounterZone++;
if (buildCounterZone < 3) {
- checkUnnamed2579(o.availableCpuPlatforms);
+ checkUnnamed2598(o.availableCpuPlatforms);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
checkDeprecationStatus(o.deprecated);
unittest.expect(o.description, unittest.equals('foo'));
@@ -14619,14 +14619,14 @@
buildCounterZone--;
}
-buildUnnamed2580() {
+buildUnnamed2599() {
var o = new core.List<api.Zone>();
o.add(buildZone());
o.add(buildZone());
return o;
}
-checkUnnamed2580(core.List<api.Zone> o) {
+checkUnnamed2599(core.List<api.Zone> o) {
unittest.expect(o, unittest.hasLength(2));
checkZone(o[0]);
checkZone(o[1]);
@@ -14653,14 +14653,14 @@
buildCounterZoneListWarningData--;
}
-buildUnnamed2581() {
+buildUnnamed2600() {
var o = new core.List<api.ZoneListWarningData>();
o.add(buildZoneListWarningData());
o.add(buildZoneListWarningData());
return o;
}
-checkUnnamed2581(core.List<api.ZoneListWarningData> o) {
+checkUnnamed2600(core.List<api.ZoneListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkZoneListWarningData(o[0]);
checkZoneListWarningData(o[1]);
@@ -14672,7 +14672,7 @@
buildCounterZoneListWarning++;
if (buildCounterZoneListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2581();
+ o.data = buildUnnamed2600();
o.message = "foo";
}
buildCounterZoneListWarning--;
@@ -14683,7 +14683,7 @@
buildCounterZoneListWarning++;
if (buildCounterZoneListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2581(o.data);
+ checkUnnamed2600(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterZoneListWarning--;
@@ -14695,7 +14695,7 @@
buildCounterZoneList++;
if (buildCounterZoneList < 3) {
o.id = "foo";
- o.items = buildUnnamed2580();
+ o.items = buildUnnamed2599();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -14709,7 +14709,7 @@
buildCounterZoneList++;
if (buildCounterZoneList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2580(o.items);
+ checkUnnamed2599(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -14718,14 +14718,14 @@
buildCounterZoneList--;
}
-buildUnnamed2582() {
+buildUnnamed2601() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2582(core.Map<core.String, core.String> o) {
+checkUnnamed2601(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'));
@@ -14737,7 +14737,7 @@
buildCounterZoneSetLabelsRequest++;
if (buildCounterZoneSetLabelsRequest < 3) {
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2582();
+ o.labels = buildUnnamed2601();
}
buildCounterZoneSetLabelsRequest--;
return o;
@@ -14747,7 +14747,7 @@
buildCounterZoneSetLabelsRequest++;
if (buildCounterZoneSetLabelsRequest < 3) {
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2582(o.labels);
+ checkUnnamed2601(o.labels);
}
buildCounterZoneSetLabelsRequest--;
}
diff --git a/generated/googleapis/test/container/v1_test.dart b/generated/googleapis/test/container/v1_test.dart
index 12a2977..6125e9e 100644
--- a/generated/googleapis/test/container/v1_test.dart
+++ b/generated/googleapis/test/container/v1_test.dart
@@ -172,53 +172,53 @@
buildCounterClientCertificateConfig--;
}
-buildUnnamed1921() {
+buildUnnamed1935() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1921(core.List<core.String> o) {
+checkUnnamed1935(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1922() {
+buildUnnamed1936() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1922(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'));
}
-buildUnnamed1923() {
+buildUnnamed1937() {
var o = new core.List<api.NodePool>();
o.add(buildNodePool());
o.add(buildNodePool());
return o;
}
-checkUnnamed1923(core.List<api.NodePool> o) {
+checkUnnamed1937(core.List<api.NodePool> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodePool(o[0]);
checkNodePool(o[1]);
}
-buildUnnamed1924() {
+buildUnnamed1938() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1924(core.Map<core.String, core.String> o) {
+checkUnnamed1938(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,11 +241,11 @@
o.expireTime = "foo";
o.initialClusterVersion = "foo";
o.initialNodeCount = 42;
- o.instanceGroupUrls = buildUnnamed1921();
+ o.instanceGroupUrls = buildUnnamed1935();
o.ipAllocationPolicy = buildIPAllocationPolicy();
o.labelFingerprint = "foo";
o.legacyAbac = buildLegacyAbac();
- o.locations = buildUnnamed1922();
+ o.locations = buildUnnamed1936();
o.loggingService = "foo";
o.maintenancePolicy = buildMaintenancePolicy();
o.masterAuth = buildMasterAuth();
@@ -256,8 +256,8 @@
o.networkPolicy = buildNetworkPolicy();
o.nodeConfig = buildNodeConfig();
o.nodeIpv4CidrSize = 42;
- o.nodePools = buildUnnamed1923();
- o.resourceLabels = buildUnnamed1924();
+ o.nodePools = buildUnnamed1937();
+ o.resourceLabels = buildUnnamed1938();
o.selfLink = "foo";
o.servicesIpv4Cidr = "foo";
o.status = "foo";
@@ -284,11 +284,11 @@
unittest.expect(o.expireTime, unittest.equals('foo'));
unittest.expect(o.initialClusterVersion, unittest.equals('foo'));
unittest.expect(o.initialNodeCount, unittest.equals(42));
- checkUnnamed1921(o.instanceGroupUrls);
+ checkUnnamed1935(o.instanceGroupUrls);
checkIPAllocationPolicy(o.ipAllocationPolicy);
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
checkLegacyAbac(o.legacyAbac);
- checkUnnamed1922(o.locations);
+ checkUnnamed1936(o.locations);
unittest.expect(o.loggingService, unittest.equals('foo'));
checkMaintenancePolicy(o.maintenancePolicy);
checkMasterAuth(o.masterAuth);
@@ -299,8 +299,8 @@
checkNetworkPolicy(o.networkPolicy);
checkNodeConfig(o.nodeConfig);
unittest.expect(o.nodeIpv4CidrSize, unittest.equals(42));
- checkUnnamed1923(o.nodePools);
- checkUnnamed1924(o.resourceLabels);
+ checkUnnamed1937(o.nodePools);
+ checkUnnamed1938(o.resourceLabels);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.servicesIpv4Cidr, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
@@ -311,14 +311,14 @@
buildCounterCluster--;
}
-buildUnnamed1925() {
+buildUnnamed1939() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1925(core.List<core.String> o) {
+checkUnnamed1939(core.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,7 +331,7 @@
if (buildCounterClusterUpdate < 3) {
o.desiredAddonsConfig = buildAddonsConfig();
o.desiredImageType = "foo";
- o.desiredLocations = buildUnnamed1925();
+ o.desiredLocations = buildUnnamed1939();
o.desiredMasterAuthorizedNetworksConfig =
buildMasterAuthorizedNetworksConfig();
o.desiredMasterVersion = "foo";
@@ -349,7 +349,7 @@
if (buildCounterClusterUpdate < 3) {
checkAddonsConfig(o.desiredAddonsConfig);
unittest.expect(o.desiredImageType, unittest.equals('foo'));
- checkUnnamed1925(o.desiredLocations);
+ checkUnnamed1939(o.desiredLocations);
checkMasterAuthorizedNetworksConfig(
o.desiredMasterAuthorizedNetworksConfig);
unittest.expect(o.desiredMasterVersion, unittest.equals('foo'));
@@ -565,27 +565,27 @@
buildCounterLegacyAbac--;
}
-buildUnnamed1926() {
+buildUnnamed1940() {
var o = new core.List<api.Cluster>();
o.add(buildCluster());
o.add(buildCluster());
return o;
}
-checkUnnamed1926(core.List<api.Cluster> o) {
+checkUnnamed1940(core.List<api.Cluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkCluster(o[0]);
checkCluster(o[1]);
}
-buildUnnamed1927() {
+buildUnnamed1941() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1927(core.List<core.String> o) {
+checkUnnamed1941(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -596,8 +596,8 @@
var o = new api.ListClustersResponse();
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- o.clusters = buildUnnamed1926();
- o.missingZones = buildUnnamed1927();
+ o.clusters = buildUnnamed1940();
+ o.missingZones = buildUnnamed1941();
}
buildCounterListClustersResponse--;
return o;
@@ -606,20 +606,20 @@
checkListClustersResponse(api.ListClustersResponse o) {
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- checkUnnamed1926(o.clusters);
- checkUnnamed1927(o.missingZones);
+ checkUnnamed1940(o.clusters);
+ checkUnnamed1941(o.missingZones);
}
buildCounterListClustersResponse--;
}
-buildUnnamed1928() {
+buildUnnamed1942() {
var o = new core.List<api.NodePool>();
o.add(buildNodePool());
o.add(buildNodePool());
return o;
}
-checkUnnamed1928(core.List<api.NodePool> o) {
+checkUnnamed1942(core.List<api.NodePool> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodePool(o[0]);
checkNodePool(o[1]);
@@ -630,7 +630,7 @@
var o = new api.ListNodePoolsResponse();
buildCounterListNodePoolsResponse++;
if (buildCounterListNodePoolsResponse < 3) {
- o.nodePools = buildUnnamed1928();
+ o.nodePools = buildUnnamed1942();
}
buildCounterListNodePoolsResponse--;
return o;
@@ -639,32 +639,32 @@
checkListNodePoolsResponse(api.ListNodePoolsResponse o) {
buildCounterListNodePoolsResponse++;
if (buildCounterListNodePoolsResponse < 3) {
- checkUnnamed1928(o.nodePools);
+ checkUnnamed1942(o.nodePools);
}
buildCounterListNodePoolsResponse--;
}
-buildUnnamed1929() {
+buildUnnamed1943() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1929(core.List<core.String> o) {
+checkUnnamed1943(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1930() {
+buildUnnamed1944() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1930(core.List<api.Operation> o) {
+checkUnnamed1944(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -675,8 +675,8 @@
var o = new api.ListOperationsResponse();
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
- o.missingZones = buildUnnamed1929();
- o.operations = buildUnnamed1930();
+ o.missingZones = buildUnnamed1943();
+ o.operations = buildUnnamed1944();
}
buildCounterListOperationsResponse--;
return o;
@@ -685,8 +685,8 @@
checkListOperationsResponse(api.ListOperationsResponse o) {
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
- checkUnnamed1929(o.missingZones);
- checkUnnamed1930(o.operations);
+ checkUnnamed1943(o.missingZones);
+ checkUnnamed1944(o.operations);
}
buildCounterListOperationsResponse--;
}
@@ -758,14 +758,14 @@
buildCounterMasterAuth--;
}
-buildUnnamed1931() {
+buildUnnamed1945() {
var o = new core.List<api.CidrBlock>();
o.add(buildCidrBlock());
o.add(buildCidrBlock());
return o;
}
-checkUnnamed1931(core.List<api.CidrBlock> o) {
+checkUnnamed1945(core.List<api.CidrBlock> o) {
unittest.expect(o, unittest.hasLength(2));
checkCidrBlock(o[0]);
checkCidrBlock(o[1]);
@@ -776,7 +776,7 @@
var o = new api.MasterAuthorizedNetworksConfig();
buildCounterMasterAuthorizedNetworksConfig++;
if (buildCounterMasterAuthorizedNetworksConfig < 3) {
- o.cidrBlocks = buildUnnamed1931();
+ o.cidrBlocks = buildUnnamed1945();
o.enabled = true;
}
buildCounterMasterAuthorizedNetworksConfig--;
@@ -786,7 +786,7 @@
checkMasterAuthorizedNetworksConfig(api.MasterAuthorizedNetworksConfig o) {
buildCounterMasterAuthorizedNetworksConfig++;
if (buildCounterMasterAuthorizedNetworksConfig < 3) {
- checkUnnamed1931(o.cidrBlocks);
+ checkUnnamed1945(o.cidrBlocks);
unittest.expect(o.enabled, unittest.isTrue);
}
buildCounterMasterAuthorizedNetworksConfig--;
@@ -832,66 +832,66 @@
buildCounterNetworkPolicyConfig--;
}
-buildUnnamed1932() {
+buildUnnamed1946() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed1932(core.List<api.AcceleratorConfig> o) {
+checkUnnamed1946(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
}
-buildUnnamed1933() {
+buildUnnamed1947() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1933(core.Map<core.String, core.String> o) {
+checkUnnamed1947(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'));
}
-buildUnnamed1934() {
+buildUnnamed1948() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1934(core.Map<core.String, core.String> o) {
+checkUnnamed1948(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'));
}
-buildUnnamed1935() {
+buildUnnamed1949() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1935(core.List<core.String> o) {
+checkUnnamed1949(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1936() {
+buildUnnamed1950() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1936(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'));
@@ -902,18 +902,18 @@
var o = new api.NodeConfig();
buildCounterNodeConfig++;
if (buildCounterNodeConfig < 3) {
- o.accelerators = buildUnnamed1932();
+ o.accelerators = buildUnnamed1946();
o.diskSizeGb = 42;
o.imageType = "foo";
- o.labels = buildUnnamed1933();
+ o.labels = buildUnnamed1947();
o.localSsdCount = 42;
o.machineType = "foo";
- o.metadata = buildUnnamed1934();
+ o.metadata = buildUnnamed1948();
o.minCpuPlatform = "foo";
- o.oauthScopes = buildUnnamed1935();
+ o.oauthScopes = buildUnnamed1949();
o.preemptible = true;
o.serviceAccount = "foo";
- o.tags = buildUnnamed1936();
+ o.tags = buildUnnamed1950();
}
buildCounterNodeConfig--;
return o;
@@ -922,18 +922,18 @@
checkNodeConfig(api.NodeConfig o) {
buildCounterNodeConfig++;
if (buildCounterNodeConfig < 3) {
- checkUnnamed1932(o.accelerators);
+ checkUnnamed1946(o.accelerators);
unittest.expect(o.diskSizeGb, unittest.equals(42));
unittest.expect(o.imageType, unittest.equals('foo'));
- checkUnnamed1933(o.labels);
+ checkUnnamed1947(o.labels);
unittest.expect(o.localSsdCount, unittest.equals(42));
unittest.expect(o.machineType, unittest.equals('foo'));
- checkUnnamed1934(o.metadata);
+ checkUnnamed1948(o.metadata);
unittest.expect(o.minCpuPlatform, unittest.equals('foo'));
- checkUnnamed1935(o.oauthScopes);
+ checkUnnamed1949(o.oauthScopes);
unittest.expect(o.preemptible, unittest.isTrue);
unittest.expect(o.serviceAccount, unittest.equals('foo'));
- checkUnnamed1936(o.tags);
+ checkUnnamed1950(o.tags);
}
buildCounterNodeConfig--;
}
@@ -961,14 +961,14 @@
buildCounterNodeManagement--;
}
-buildUnnamed1937() {
+buildUnnamed1951() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1937(core.List<core.String> o) {
+checkUnnamed1951(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -982,7 +982,7 @@
o.autoscaling = buildNodePoolAutoscaling();
o.config = buildNodeConfig();
o.initialNodeCount = 42;
- o.instanceGroupUrls = buildUnnamed1937();
+ o.instanceGroupUrls = buildUnnamed1951();
o.management = buildNodeManagement();
o.name = "foo";
o.selfLink = "foo";
@@ -1000,7 +1000,7 @@
checkNodePoolAutoscaling(o.autoscaling);
checkNodeConfig(o.config);
unittest.expect(o.initialNodeCount, unittest.equals(42));
- checkUnnamed1937(o.instanceGroupUrls);
+ checkUnnamed1951(o.instanceGroupUrls);
checkNodeManagement(o.management);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1086,40 +1086,40 @@
buildCounterRollbackNodePoolUpgradeRequest--;
}
-buildUnnamed1938() {
+buildUnnamed1952() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1938(core.List<core.String> o) {
+checkUnnamed1952(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1939() {
+buildUnnamed1953() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1939(core.List<core.String> o) {
+checkUnnamed1953(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1940() {
+buildUnnamed1954() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1940(core.List<core.String> o) {
+checkUnnamed1954(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1132,9 +1132,9 @@
if (buildCounterServerConfig < 3) {
o.defaultClusterVersion = "foo";
o.defaultImageType = "foo";
- o.validImageTypes = buildUnnamed1938();
- o.validMasterVersions = buildUnnamed1939();
- o.validNodeVersions = buildUnnamed1940();
+ o.validImageTypes = buildUnnamed1952();
+ o.validMasterVersions = buildUnnamed1953();
+ o.validNodeVersions = buildUnnamed1954();
}
buildCounterServerConfig--;
return o;
@@ -1145,9 +1145,9 @@
if (buildCounterServerConfig < 3) {
unittest.expect(o.defaultClusterVersion, unittest.equals('foo'));
unittest.expect(o.defaultImageType, unittest.equals('foo'));
- checkUnnamed1938(o.validImageTypes);
- checkUnnamed1939(o.validMasterVersions);
- checkUnnamed1940(o.validNodeVersions);
+ checkUnnamed1952(o.validImageTypes);
+ checkUnnamed1953(o.validMasterVersions);
+ checkUnnamed1954(o.validNodeVersions);
}
buildCounterServerConfig--;
}
@@ -1171,14 +1171,14 @@
buildCounterSetAddonsConfigRequest--;
}
-buildUnnamed1941() {
+buildUnnamed1955() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1941(core.Map<core.String, core.String> o) {
+checkUnnamed1955(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'));
@@ -1190,7 +1190,7 @@
buildCounterSetLabelsRequest++;
if (buildCounterSetLabelsRequest < 3) {
o.labelFingerprint = "foo";
- o.resourceLabels = buildUnnamed1941();
+ o.resourceLabels = buildUnnamed1955();
}
buildCounterSetLabelsRequest--;
return o;
@@ -1200,7 +1200,7 @@
buildCounterSetLabelsRequest++;
if (buildCounterSetLabelsRequest < 3) {
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed1941(o.resourceLabels);
+ checkUnnamed1955(o.resourceLabels);
}
buildCounterSetLabelsRequest--;
}
@@ -1224,14 +1224,14 @@
buildCounterSetLegacyAbacRequest--;
}
-buildUnnamed1942() {
+buildUnnamed1956() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1942(core.List<core.String> o) {
+checkUnnamed1956(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1242,7 +1242,7 @@
var o = new api.SetLocationsRequest();
buildCounterSetLocationsRequest++;
if (buildCounterSetLocationsRequest < 3) {
- o.locations = buildUnnamed1942();
+ o.locations = buildUnnamed1956();
}
buildCounterSetLocationsRequest--;
return o;
@@ -1251,7 +1251,7 @@
checkSetLocationsRequest(api.SetLocationsRequest o) {
buildCounterSetLocationsRequest++;
if (buildCounterSetLocationsRequest < 3) {
- checkUnnamed1942(o.locations);
+ checkUnnamed1956(o.locations);
}
buildCounterSetLocationsRequest--;
}
diff --git a/generated/googleapis/test/content/v2_test.dart b/generated/googleapis/test/content/v2_test.dart
index 820a26b..8ea05ee 100644
--- a/generated/googleapis/test/content/v2_test.dart
+++ b/generated/googleapis/test/content/v2_test.dart
@@ -96,6 +96,7 @@
if (buildCounterAccount < 3) {
o.adultContent = true;
o.adwordsLinks = buildUnnamed337();
+ o.googleMyBusinessLink = buildAccountGoogleMyBusinessLink();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -114,6 +115,7 @@
if (buildCounterAccount < 3) {
unittest.expect(o.adultContent, unittest.isTrue);
checkUnnamed337(o.adwordsLinks);
+ checkAccountGoogleMyBusinessLink(o.googleMyBusinessLink);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -147,6 +149,27 @@
buildCounterAccountAdwordsLink--;
}
+core.int buildCounterAccountGoogleMyBusinessLink = 0;
+buildAccountGoogleMyBusinessLink() {
+ var o = new api.AccountGoogleMyBusinessLink();
+ buildCounterAccountGoogleMyBusinessLink++;
+ if (buildCounterAccountGoogleMyBusinessLink < 3) {
+ o.gmbEmail = "foo";
+ o.status = "foo";
+ }
+ buildCounterAccountGoogleMyBusinessLink--;
+ return o;
+}
+
+checkAccountGoogleMyBusinessLink(api.AccountGoogleMyBusinessLink o) {
+ buildCounterAccountGoogleMyBusinessLink++;
+ if (buildCounterAccountGoogleMyBusinessLink < 3) {
+ unittest.expect(o.gmbEmail, unittest.equals('foo'));
+ unittest.expect(o.status, unittest.equals('foo'));
+ }
+ buildCounterAccountGoogleMyBusinessLink--;
+}
+
core.int buildCounterAccountIdentifier = 0;
buildAccountIdentifier() {
var o = new api.AccountIdentifier();
@@ -2785,6 +2808,7 @@
buildCounterOrderShipmentLineItemShipment++;
if (buildCounterOrderShipmentLineItemShipment < 3) {
o.lineItemId = "foo";
+ o.productId = "foo";
o.quantity = 42;
}
buildCounterOrderShipmentLineItemShipment--;
@@ -2795,6 +2819,7 @@
buildCounterOrderShipmentLineItemShipment++;
if (buildCounterOrderShipmentLineItemShipment < 3) {
unittest.expect(o.lineItemId, unittest.equals('foo'));
+ unittest.expect(o.productId, unittest.equals('foo'));
unittest.expect(o.quantity, unittest.equals(42));
}
buildCounterOrderShipmentLineItemShipment--;
@@ -2865,8 +2890,11 @@
buildCounterOrdersCancelLineItemRequest++;
if (buildCounterOrdersCancelLineItemRequest < 3) {
o.amount = buildPrice();
+ o.amountPretax = buildPrice();
+ o.amountTax = buildPrice();
o.lineItemId = "foo";
o.operationId = "foo";
+ o.productId = "foo";
o.quantity = 42;
o.reason = "foo";
o.reasonText = "foo";
@@ -2879,8 +2907,11 @@
buildCounterOrdersCancelLineItemRequest++;
if (buildCounterOrdersCancelLineItemRequest < 3) {
checkPrice(o.amount);
+ checkPrice(o.amountPretax);
+ checkPrice(o.amountTax);
unittest.expect(o.lineItemId, unittest.equals('foo'));
unittest.expect(o.operationId, unittest.equals('foo'));
+ unittest.expect(o.productId, unittest.equals('foo'));
unittest.expect(o.quantity, unittest.equals(42));
unittest.expect(o.reason, unittest.equals('foo'));
unittest.expect(o.reasonText, unittest.equals('foo'));
@@ -3096,7 +3127,10 @@
buildCounterOrdersCustomBatchRequestEntryCancelLineItem++;
if (buildCounterOrdersCustomBatchRequestEntryCancelLineItem < 3) {
o.amount = buildPrice();
+ o.amountPretax = buildPrice();
+ o.amountTax = buildPrice();
o.lineItemId = "foo";
+ o.productId = "foo";
o.quantity = 42;
o.reason = "foo";
o.reasonText = "foo";
@@ -3110,7 +3144,10 @@
buildCounterOrdersCustomBatchRequestEntryCancelLineItem++;
if (buildCounterOrdersCustomBatchRequestEntryCancelLineItem < 3) {
checkPrice(o.amount);
+ checkPrice(o.amountPretax);
+ checkPrice(o.amountTax);
unittest.expect(o.lineItemId, unittest.equals('foo'));
+ unittest.expect(o.productId, unittest.equals('foo'));
unittest.expect(o.quantity, unittest.equals(42));
unittest.expect(o.reason, unittest.equals('foo'));
unittest.expect(o.reasonText, unittest.equals('foo'));
@@ -3124,6 +3161,8 @@
buildCounterOrdersCustomBatchRequestEntryRefund++;
if (buildCounterOrdersCustomBatchRequestEntryRefund < 3) {
o.amount = buildPrice();
+ o.amountPretax = buildPrice();
+ o.amountTax = buildPrice();
o.reason = "foo";
o.reasonText = "foo";
}
@@ -3136,6 +3175,8 @@
buildCounterOrdersCustomBatchRequestEntryRefund++;
if (buildCounterOrdersCustomBatchRequestEntryRefund < 3) {
checkPrice(o.amount);
+ checkPrice(o.amountPretax);
+ checkPrice(o.amountTax);
unittest.expect(o.reason, unittest.equals('foo'));
unittest.expect(o.reasonText, unittest.equals('foo'));
}
@@ -3148,6 +3189,7 @@
buildCounterOrdersCustomBatchRequestEntryReturnLineItem++;
if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) {
o.lineItemId = "foo";
+ o.productId = "foo";
o.quantity = 42;
o.reason = "foo";
o.reasonText = "foo";
@@ -3161,6 +3203,7 @@
buildCounterOrdersCustomBatchRequestEntryReturnLineItem++;
if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) {
unittest.expect(o.lineItemId, unittest.equals('foo'));
+ unittest.expect(o.productId, unittest.equals('foo'));
unittest.expect(o.quantity, unittest.equals(42));
unittest.expect(o.reason, unittest.equals('foo'));
unittest.expect(o.reasonText, unittest.equals('foo'));
@@ -3421,6 +3464,8 @@
buildCounterOrdersRefundRequest++;
if (buildCounterOrdersRefundRequest < 3) {
o.amount = buildPrice();
+ o.amountPretax = buildPrice();
+ o.amountTax = buildPrice();
o.operationId = "foo";
o.reason = "foo";
o.reasonText = "foo";
@@ -3433,6 +3478,8 @@
buildCounterOrdersRefundRequest++;
if (buildCounterOrdersRefundRequest < 3) {
checkPrice(o.amount);
+ checkPrice(o.amountPretax);
+ checkPrice(o.amountTax);
unittest.expect(o.operationId, unittest.equals('foo'));
unittest.expect(o.reason, unittest.equals('foo'));
unittest.expect(o.reasonText, unittest.equals('foo'));
@@ -3468,6 +3515,7 @@
if (buildCounterOrdersReturnLineItemRequest < 3) {
o.lineItemId = "foo";
o.operationId = "foo";
+ o.productId = "foo";
o.quantity = 42;
o.reason = "foo";
o.reasonText = "foo";
@@ -3481,6 +3529,7 @@
if (buildCounterOrdersReturnLineItemRequest < 3) {
unittest.expect(o.lineItemId, unittest.equals('foo'));
unittest.expect(o.operationId, unittest.equals('foo'));
+ unittest.expect(o.productId, unittest.equals('foo'));
unittest.expect(o.quantity, unittest.equals(42));
unittest.expect(o.reason, unittest.equals('foo'));
unittest.expect(o.reasonText, unittest.equals('foo'));
@@ -5238,6 +5287,7 @@
o.customer = buildTestOrderCustomer();
o.kind = "foo";
o.lineItems = buildUnnamed432();
+ o.notificationMode = "foo";
o.paymentMethod = buildTestOrderPaymentMethod();
o.predefinedDeliveryAddress = "foo";
o.promotions = buildUnnamed433();
@@ -5255,6 +5305,7 @@
checkTestOrderCustomer(o.customer);
unittest.expect(o.kind, unittest.equals('foo'));
checkUnnamed432(o.lineItems);
+ unittest.expect(o.notificationMode, unittest.equals('foo'));
checkTestOrderPaymentMethod(o.paymentMethod);
unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo'));
checkUnnamed433(o.promotions);
@@ -5476,6 +5527,14 @@
});
});
+ unittest.group("obj-schema-AccountGoogleMyBusinessLink", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAccountGoogleMyBusinessLink();
+ var od = new api.AccountGoogleMyBusinessLink.fromJson(o.toJson());
+ checkAccountGoogleMyBusinessLink(od);
+ });
+ });
+
unittest.group("obj-schema-AccountIdentifier", () {
unittest.test("to-json--from-json", () {
var o = buildAccountIdentifier();
diff --git a/generated/googleapis/test/content/v2sandbox_test.dart b/generated/googleapis/test/content/v2sandbox_test.dart
index ba7d23b..7cf7069 100644
--- a/generated/googleapis/test/content/v2sandbox_test.dart
+++ b/generated/googleapis/test/content/v2sandbox_test.dart
@@ -73,14 +73,14 @@
buildCounterError--;
}
-buildUnnamed1549() {
+buildUnnamed1558() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed1549(core.List<api.Error> o) {
+checkUnnamed1558(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -92,7 +92,7 @@
buildCounterErrors++;
if (buildCounterErrors < 3) {
o.code = 42;
- o.errors = buildUnnamed1549();
+ o.errors = buildUnnamed1558();
o.message = "foo";
}
buildCounterErrors--;
@@ -103,59 +103,59 @@
buildCounterErrors++;
if (buildCounterErrors < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1549(o.errors);
+ checkUnnamed1558(o.errors);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterErrors--;
}
-buildUnnamed1550() {
+buildUnnamed1559() {
var o = new core.List<api.OrderLineItem>();
o.add(buildOrderLineItem());
o.add(buildOrderLineItem());
return o;
}
-checkUnnamed1550(core.List<api.OrderLineItem> o) {
+checkUnnamed1559(core.List<api.OrderLineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItem(o[0]);
checkOrderLineItem(o[1]);
}
-buildUnnamed1551() {
+buildUnnamed1560() {
var o = new core.List<api.OrderPromotion>();
o.add(buildOrderPromotion());
o.add(buildOrderPromotion());
return o;
}
-checkUnnamed1551(core.List<api.OrderPromotion> o) {
+checkUnnamed1560(core.List<api.OrderPromotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotion(o[0]);
checkOrderPromotion(o[1]);
}
-buildUnnamed1552() {
+buildUnnamed1561() {
var o = new core.List<api.OrderRefund>();
o.add(buildOrderRefund());
o.add(buildOrderRefund());
return o;
}
-checkUnnamed1552(core.List<api.OrderRefund> o) {
+checkUnnamed1561(core.List<api.OrderRefund> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderRefund(o[0]);
checkOrderRefund(o[1]);
}
-buildUnnamed1553() {
+buildUnnamed1562() {
var o = new core.List<api.OrderShipment>();
o.add(buildOrderShipment());
o.add(buildOrderShipment());
return o;
}
-checkUnnamed1553(core.List<api.OrderShipment> o) {
+checkUnnamed1562(core.List<api.OrderShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipment(o[0]);
checkOrderShipment(o[1]);
@@ -172,16 +172,16 @@
o.deliveryDetails = buildOrderDeliveryDetails();
o.id = "foo";
o.kind = "foo";
- o.lineItems = buildUnnamed1550();
+ o.lineItems = buildUnnamed1559();
o.merchantId = "foo";
o.merchantOrderId = "foo";
o.netAmount = buildPrice();
o.paymentMethod = buildOrderPaymentMethod();
o.paymentStatus = "foo";
o.placedDate = "foo";
- o.promotions = buildUnnamed1551();
- o.refunds = buildUnnamed1552();
- o.shipments = buildUnnamed1553();
+ o.promotions = buildUnnamed1560();
+ o.refunds = buildUnnamed1561();
+ o.shipments = buildUnnamed1562();
o.shippingCost = buildPrice();
o.shippingCostTax = buildPrice();
o.shippingOption = "foo";
@@ -200,16 +200,16 @@
checkOrderDeliveryDetails(o.deliveryDetails);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1550(o.lineItems);
+ checkUnnamed1559(o.lineItems);
unittest.expect(o.merchantId, unittest.equals('foo'));
unittest.expect(o.merchantOrderId, unittest.equals('foo'));
checkPrice(o.netAmount);
checkOrderPaymentMethod(o.paymentMethod);
unittest.expect(o.paymentStatus, unittest.equals('foo'));
unittest.expect(o.placedDate, unittest.equals('foo'));
- checkUnnamed1551(o.promotions);
- checkUnnamed1552(o.refunds);
- checkUnnamed1553(o.shipments);
+ checkUnnamed1560(o.promotions);
+ checkUnnamed1561(o.refunds);
+ checkUnnamed1562(o.shipments);
checkPrice(o.shippingCost);
checkPrice(o.shippingCostTax);
unittest.expect(o.shippingOption, unittest.equals('foo'));
@@ -218,27 +218,27 @@
buildCounterOrder--;
}
-buildUnnamed1554() {
+buildUnnamed1563() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1554(core.List<core.String> o) {
+checkUnnamed1563(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1555() {
+buildUnnamed1564() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1555(core.List<core.String> o) {
+checkUnnamed1564(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -250,13 +250,13 @@
buildCounterOrderAddress++;
if (buildCounterOrderAddress < 3) {
o.country = "foo";
- o.fullAddress = buildUnnamed1554();
+ o.fullAddress = buildUnnamed1563();
o.isPostOfficeBox = true;
o.locality = "foo";
o.postalCode = "foo";
o.recipientName = "foo";
o.region = "foo";
- o.streetAddress = buildUnnamed1555();
+ o.streetAddress = buildUnnamed1564();
}
buildCounterOrderAddress--;
return o;
@@ -266,13 +266,13 @@
buildCounterOrderAddress++;
if (buildCounterOrderAddress < 3) {
unittest.expect(o.country, unittest.equals('foo'));
- checkUnnamed1554(o.fullAddress);
+ checkUnnamed1563(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'));
- checkUnnamed1555(o.streetAddress);
+ checkUnnamed1564(o.streetAddress);
}
buildCounterOrderAddress--;
}
@@ -348,27 +348,27 @@
buildCounterOrderDeliveryDetails--;
}
-buildUnnamed1556() {
+buildUnnamed1565() {
var o = new core.List<api.OrderCancellation>();
o.add(buildOrderCancellation());
o.add(buildOrderCancellation());
return o;
}
-checkUnnamed1556(core.List<api.OrderCancellation> o) {
+checkUnnamed1565(core.List<api.OrderCancellation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderCancellation(o[0]);
checkOrderCancellation(o[1]);
}
-buildUnnamed1557() {
+buildUnnamed1566() {
var o = new core.List<api.OrderReturn>();
o.add(buildOrderReturn());
o.add(buildOrderReturn());
return o;
}
-checkUnnamed1557(core.List<api.OrderReturn> o) {
+checkUnnamed1566(core.List<api.OrderReturn> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderReturn(o[0]);
checkOrderReturn(o[1]);
@@ -379,7 +379,7 @@
var o = new api.OrderLineItem();
buildCounterOrderLineItem++;
if (buildCounterOrderLineItem < 3) {
- o.cancellations = buildUnnamed1556();
+ o.cancellations = buildUnnamed1565();
o.id = "foo";
o.price = buildPrice();
o.product = buildOrderLineItemProduct();
@@ -390,7 +390,7 @@
o.quantityReturned = 42;
o.quantityShipped = 42;
o.returnInfo = buildOrderLineItemReturnInfo();
- o.returns = buildUnnamed1557();
+ o.returns = buildUnnamed1566();
o.shippingDetails = buildOrderLineItemShippingDetails();
o.tax = buildPrice();
}
@@ -401,7 +401,7 @@
checkOrderLineItem(api.OrderLineItem o) {
buildCounterOrderLineItem++;
if (buildCounterOrderLineItem < 3) {
- checkUnnamed1556(o.cancellations);
+ checkUnnamed1565(o.cancellations);
unittest.expect(o.id, unittest.equals('foo'));
checkPrice(o.price);
checkOrderLineItemProduct(o.product);
@@ -412,21 +412,21 @@
unittest.expect(o.quantityReturned, unittest.equals(42));
unittest.expect(o.quantityShipped, unittest.equals(42));
checkOrderLineItemReturnInfo(o.returnInfo);
- checkUnnamed1557(o.returns);
+ checkUnnamed1566(o.returns);
checkOrderLineItemShippingDetails(o.shippingDetails);
checkPrice(o.tax);
}
buildCounterOrderLineItem--;
}
-buildUnnamed1558() {
+buildUnnamed1567() {
var o = new core.List<api.OrderLineItemProductVariantAttribute>();
o.add(buildOrderLineItemProductVariantAttribute());
o.add(buildOrderLineItemProductVariantAttribute());
return o;
}
-checkUnnamed1558(core.List<api.OrderLineItemProductVariantAttribute> o) {
+checkUnnamed1567(core.List<api.OrderLineItemProductVariantAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItemProductVariantAttribute(o[0]);
checkOrderLineItemProductVariantAttribute(o[1]);
@@ -451,7 +451,7 @@
o.shownImage = "foo";
o.targetCountry = "foo";
o.title = "foo";
- o.variantAttributes = buildUnnamed1558();
+ o.variantAttributes = buildUnnamed1567();
}
buildCounterOrderLineItemProduct--;
return o;
@@ -474,7 +474,7 @@
unittest.expect(o.shownImage, unittest.equals('foo'));
unittest.expect(o.targetCountry, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1558(o.variantAttributes);
+ checkUnnamed1567(o.variantAttributes);
}
buildCounterOrderLineItemProduct--;
}
@@ -602,14 +602,14 @@
buildCounterOrderPaymentMethod--;
}
-buildUnnamed1559() {
+buildUnnamed1568() {
var o = new core.List<api.OrderPromotionBenefit>();
o.add(buildOrderPromotionBenefit());
o.add(buildOrderPromotionBenefit());
return o;
}
-checkUnnamed1559(core.List<api.OrderPromotionBenefit> o) {
+checkUnnamed1568(core.List<api.OrderPromotionBenefit> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotionBenefit(o[0]);
checkOrderPromotionBenefit(o[1]);
@@ -620,7 +620,7 @@
var o = new api.OrderPromotion();
buildCounterOrderPromotion++;
if (buildCounterOrderPromotion < 3) {
- o.benefits = buildUnnamed1559();
+ o.benefits = buildUnnamed1568();
o.effectiveDates = "foo";
o.genericRedemptionCode = "foo";
o.id = "foo";
@@ -635,7 +635,7 @@
checkOrderPromotion(api.OrderPromotion o) {
buildCounterOrderPromotion++;
if (buildCounterOrderPromotion < 3) {
- checkUnnamed1559(o.benefits);
+ checkUnnamed1568(o.benefits);
unittest.expect(o.effectiveDates, unittest.equals('foo'));
unittest.expect(o.genericRedemptionCode, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -646,14 +646,14 @@
buildCounterOrderPromotion--;
}
-buildUnnamed1560() {
+buildUnnamed1569() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1560(core.List<core.String> o) {
+checkUnnamed1569(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -665,7 +665,7 @@
buildCounterOrderPromotionBenefit++;
if (buildCounterOrderPromotionBenefit < 3) {
o.discount = buildPrice();
- o.offerIds = buildUnnamed1560();
+ o.offerIds = buildUnnamed1569();
o.subType = "foo";
o.taxImpact = buildPrice();
o.type = "foo";
@@ -678,7 +678,7 @@
buildCounterOrderPromotionBenefit++;
if (buildCounterOrderPromotionBenefit < 3) {
checkPrice(o.discount);
- checkUnnamed1560(o.offerIds);
+ checkUnnamed1569(o.offerIds);
unittest.expect(o.subType, unittest.equals('foo'));
checkPrice(o.taxImpact);
unittest.expect(o.type, unittest.equals('foo'));
@@ -740,14 +740,14 @@
buildCounterOrderReturn--;
}
-buildUnnamed1561() {
+buildUnnamed1570() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed1561(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed1570(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
@@ -762,7 +762,7 @@
o.creationDate = "foo";
o.deliveryDate = "foo";
o.id = "foo";
- o.lineItems = buildUnnamed1561();
+ o.lineItems = buildUnnamed1570();
o.status = "foo";
o.trackingId = "foo";
}
@@ -777,7 +777,7 @@
unittest.expect(o.creationDate, unittest.equals('foo'));
unittest.expect(o.deliveryDate, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1561(o.lineItems);
+ checkUnnamed1570(o.lineItems);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.trackingId, unittest.equals('foo'));
}
@@ -790,6 +790,7 @@
buildCounterOrderShipmentLineItemShipment++;
if (buildCounterOrderShipmentLineItemShipment < 3) {
o.lineItemId = "foo";
+ o.productId = "foo";
o.quantity = 42;
}
buildCounterOrderShipmentLineItemShipment--;
@@ -800,6 +801,7 @@
buildCounterOrderShipmentLineItemShipment++;
if (buildCounterOrderShipmentLineItemShipment < 3) {
unittest.expect(o.lineItemId, unittest.equals('foo'));
+ unittest.expect(o.productId, unittest.equals('foo'));
unittest.expect(o.quantity, unittest.equals(42));
}
buildCounterOrderShipmentLineItemShipment--;
@@ -870,8 +872,11 @@
buildCounterOrdersCancelLineItemRequest++;
if (buildCounterOrdersCancelLineItemRequest < 3) {
o.amount = buildPrice();
+ o.amountPretax = buildPrice();
+ o.amountTax = buildPrice();
o.lineItemId = "foo";
o.operationId = "foo";
+ o.productId = "foo";
o.quantity = 42;
o.reason = "foo";
o.reasonText = "foo";
@@ -884,8 +889,11 @@
buildCounterOrdersCancelLineItemRequest++;
if (buildCounterOrdersCancelLineItemRequest < 3) {
checkPrice(o.amount);
+ checkPrice(o.amountPretax);
+ checkPrice(o.amountTax);
unittest.expect(o.lineItemId, unittest.equals('foo'));
unittest.expect(o.operationId, unittest.equals('foo'));
+ unittest.expect(o.productId, unittest.equals('foo'));
unittest.expect(o.quantity, unittest.equals(42));
unittest.expect(o.reason, unittest.equals('foo'));
unittest.expect(o.reasonText, unittest.equals('foo'));
@@ -1000,14 +1008,14 @@
buildCounterOrdersCreateTestOrderResponse--;
}
-buildUnnamed1562() {
+buildUnnamed1571() {
var o = new core.List<api.OrdersCustomBatchRequestEntry>();
o.add(buildOrdersCustomBatchRequestEntry());
o.add(buildOrdersCustomBatchRequestEntry());
return o;
}
-checkUnnamed1562(core.List<api.OrdersCustomBatchRequestEntry> o) {
+checkUnnamed1571(core.List<api.OrdersCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchRequestEntry(o[0]);
checkOrdersCustomBatchRequestEntry(o[1]);
@@ -1018,7 +1026,7 @@
var o = new api.OrdersCustomBatchRequest();
buildCounterOrdersCustomBatchRequest++;
if (buildCounterOrdersCustomBatchRequest < 3) {
- o.entries = buildUnnamed1562();
+ o.entries = buildUnnamed1571();
}
buildCounterOrdersCustomBatchRequest--;
return o;
@@ -1027,7 +1035,7 @@
checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) {
buildCounterOrdersCustomBatchRequest++;
if (buildCounterOrdersCustomBatchRequest < 3) {
- checkUnnamed1562(o.entries);
+ checkUnnamed1571(o.entries);
}
buildCounterOrdersCustomBatchRequest--;
}
@@ -1101,7 +1109,10 @@
buildCounterOrdersCustomBatchRequestEntryCancelLineItem++;
if (buildCounterOrdersCustomBatchRequestEntryCancelLineItem < 3) {
o.amount = buildPrice();
+ o.amountPretax = buildPrice();
+ o.amountTax = buildPrice();
o.lineItemId = "foo";
+ o.productId = "foo";
o.quantity = 42;
o.reason = "foo";
o.reasonText = "foo";
@@ -1115,7 +1126,10 @@
buildCounterOrdersCustomBatchRequestEntryCancelLineItem++;
if (buildCounterOrdersCustomBatchRequestEntryCancelLineItem < 3) {
checkPrice(o.amount);
+ checkPrice(o.amountPretax);
+ checkPrice(o.amountTax);
unittest.expect(o.lineItemId, unittest.equals('foo'));
+ unittest.expect(o.productId, unittest.equals('foo'));
unittest.expect(o.quantity, unittest.equals(42));
unittest.expect(o.reason, unittest.equals('foo'));
unittest.expect(o.reasonText, unittest.equals('foo'));
@@ -1129,6 +1143,8 @@
buildCounterOrdersCustomBatchRequestEntryRefund++;
if (buildCounterOrdersCustomBatchRequestEntryRefund < 3) {
o.amount = buildPrice();
+ o.amountPretax = buildPrice();
+ o.amountTax = buildPrice();
o.reason = "foo";
o.reasonText = "foo";
}
@@ -1141,6 +1157,8 @@
buildCounterOrdersCustomBatchRequestEntryRefund++;
if (buildCounterOrdersCustomBatchRequestEntryRefund < 3) {
checkPrice(o.amount);
+ checkPrice(o.amountPretax);
+ checkPrice(o.amountTax);
unittest.expect(o.reason, unittest.equals('foo'));
unittest.expect(o.reasonText, unittest.equals('foo'));
}
@@ -1153,6 +1171,7 @@
buildCounterOrdersCustomBatchRequestEntryReturnLineItem++;
if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) {
o.lineItemId = "foo";
+ o.productId = "foo";
o.quantity = 42;
o.reason = "foo";
o.reasonText = "foo";
@@ -1166,6 +1185,7 @@
buildCounterOrdersCustomBatchRequestEntryReturnLineItem++;
if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) {
unittest.expect(o.lineItemId, unittest.equals('foo'));
+ unittest.expect(o.productId, unittest.equals('foo'));
unittest.expect(o.quantity, unittest.equals(42));
unittest.expect(o.reason, unittest.equals('foo'));
unittest.expect(o.reasonText, unittest.equals('foo'));
@@ -1173,20 +1193,20 @@
buildCounterOrdersCustomBatchRequestEntryReturnLineItem--;
}
-buildUnnamed1563() {
+buildUnnamed1572() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed1563(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed1572(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
}
-buildUnnamed1564() {
+buildUnnamed1573() {
var o = new core
.List<api.OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo>();
o.add(buildOrdersCustomBatchRequestEntryShipLineItemsShipmentInfo());
@@ -1194,7 +1214,7 @@
return o;
}
-checkUnnamed1564(
+checkUnnamed1573(
core.List<api.OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchRequestEntryShipLineItemsShipmentInfo(o[0]);
@@ -1207,9 +1227,9 @@
buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
o.carrier = "foo";
- o.lineItems = buildUnnamed1563();
+ o.lineItems = buildUnnamed1572();
o.shipmentId = "foo";
- o.shipmentInfos = buildUnnamed1564();
+ o.shipmentInfos = buildUnnamed1573();
o.trackingId = "foo";
}
buildCounterOrdersCustomBatchRequestEntryShipLineItems--;
@@ -1221,9 +1241,9 @@
buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
unittest.expect(o.carrier, unittest.equals('foo'));
- checkUnnamed1563(o.lineItems);
+ checkUnnamed1572(o.lineItems);
unittest.expect(o.shipmentId, unittest.equals('foo'));
- checkUnnamed1564(o.shipmentInfos);
+ checkUnnamed1573(o.shipmentInfos);
unittest.expect(o.trackingId, unittest.equals('foo'));
}
buildCounterOrdersCustomBatchRequestEntryShipLineItems--;
@@ -1279,14 +1299,14 @@
buildCounterOrdersCustomBatchRequestEntryUpdateShipment--;
}
-buildUnnamed1565() {
+buildUnnamed1574() {
var o = new core.List<api.OrdersCustomBatchResponseEntry>();
o.add(buildOrdersCustomBatchResponseEntry());
o.add(buildOrdersCustomBatchResponseEntry());
return o;
}
-checkUnnamed1565(core.List<api.OrdersCustomBatchResponseEntry> o) {
+checkUnnamed1574(core.List<api.OrdersCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchResponseEntry(o[0]);
checkOrdersCustomBatchResponseEntry(o[1]);
@@ -1297,7 +1317,7 @@
var o = new api.OrdersCustomBatchResponse();
buildCounterOrdersCustomBatchResponse++;
if (buildCounterOrdersCustomBatchResponse < 3) {
- o.entries = buildUnnamed1565();
+ o.entries = buildUnnamed1574();
o.kind = "foo";
}
buildCounterOrdersCustomBatchResponse--;
@@ -1307,7 +1327,7 @@
checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) {
buildCounterOrdersCustomBatchResponse++;
if (buildCounterOrdersCustomBatchResponse < 3) {
- checkUnnamed1565(o.entries);
+ checkUnnamed1574(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterOrdersCustomBatchResponse--;
@@ -1384,14 +1404,14 @@
buildCounterOrdersGetTestOrderTemplateResponse--;
}
-buildUnnamed1566() {
+buildUnnamed1575() {
var o = new core.List<api.Order>();
o.add(buildOrder());
o.add(buildOrder());
return o;
}
-checkUnnamed1566(core.List<api.Order> o) {
+checkUnnamed1575(core.List<api.Order> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrder(o[0]);
checkOrder(o[1]);
@@ -1404,7 +1424,7 @@
if (buildCounterOrdersListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed1566();
+ o.resources = buildUnnamed1575();
}
buildCounterOrdersListResponse--;
return o;
@@ -1415,7 +1435,7 @@
if (buildCounterOrdersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1566(o.resources);
+ checkUnnamed1575(o.resources);
}
buildCounterOrdersListResponse--;
}
@@ -1426,6 +1446,8 @@
buildCounterOrdersRefundRequest++;
if (buildCounterOrdersRefundRequest < 3) {
o.amount = buildPrice();
+ o.amountPretax = buildPrice();
+ o.amountTax = buildPrice();
o.operationId = "foo";
o.reason = "foo";
o.reasonText = "foo";
@@ -1438,6 +1460,8 @@
buildCounterOrdersRefundRequest++;
if (buildCounterOrdersRefundRequest < 3) {
checkPrice(o.amount);
+ checkPrice(o.amountPretax);
+ checkPrice(o.amountTax);
unittest.expect(o.operationId, unittest.equals('foo'));
unittest.expect(o.reason, unittest.equals('foo'));
unittest.expect(o.reasonText, unittest.equals('foo'));
@@ -1473,6 +1497,7 @@
if (buildCounterOrdersReturnLineItemRequest < 3) {
o.lineItemId = "foo";
o.operationId = "foo";
+ o.productId = "foo";
o.quantity = 42;
o.reason = "foo";
o.reasonText = "foo";
@@ -1486,6 +1511,7 @@
if (buildCounterOrdersReturnLineItemRequest < 3) {
unittest.expect(o.lineItemId, unittest.equals('foo'));
unittest.expect(o.operationId, unittest.equals('foo'));
+ unittest.expect(o.productId, unittest.equals('foo'));
unittest.expect(o.quantity, unittest.equals(42));
unittest.expect(o.reason, unittest.equals('foo'));
unittest.expect(o.reasonText, unittest.equals('foo'));
@@ -1514,20 +1540,20 @@
buildCounterOrdersReturnLineItemResponse--;
}
-buildUnnamed1567() {
+buildUnnamed1576() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed1567(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed1576(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
}
-buildUnnamed1568() {
+buildUnnamed1577() {
var o = new core
.List<api.OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo>();
o.add(buildOrdersCustomBatchRequestEntryShipLineItemsShipmentInfo());
@@ -1535,7 +1561,7 @@
return o;
}
-checkUnnamed1568(
+checkUnnamed1577(
core.List<api.OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchRequestEntryShipLineItemsShipmentInfo(o[0]);
@@ -1548,10 +1574,10 @@
buildCounterOrdersShipLineItemsRequest++;
if (buildCounterOrdersShipLineItemsRequest < 3) {
o.carrier = "foo";
- o.lineItems = buildUnnamed1567();
+ o.lineItems = buildUnnamed1576();
o.operationId = "foo";
o.shipmentId = "foo";
- o.shipmentInfos = buildUnnamed1568();
+ o.shipmentInfos = buildUnnamed1577();
o.trackingId = "foo";
}
buildCounterOrdersShipLineItemsRequest--;
@@ -1562,10 +1588,10 @@
buildCounterOrdersShipLineItemsRequest++;
if (buildCounterOrdersShipLineItemsRequest < 3) {
unittest.expect(o.carrier, unittest.equals('foo'));
- checkUnnamed1567(o.lineItems);
+ checkUnnamed1576(o.lineItems);
unittest.expect(o.operationId, unittest.equals('foo'));
unittest.expect(o.shipmentId, unittest.equals('foo'));
- checkUnnamed1568(o.shipmentInfos);
+ checkUnnamed1577(o.shipmentInfos);
unittest.expect(o.trackingId, unittest.equals('foo'));
}
buildCounterOrdersShipLineItemsRequest--;
@@ -1705,27 +1731,27 @@
buildCounterPrice--;
}
-buildUnnamed1569() {
+buildUnnamed1578() {
var o = new core.List<api.TestOrderLineItem>();
o.add(buildTestOrderLineItem());
o.add(buildTestOrderLineItem());
return o;
}
-checkUnnamed1569(core.List<api.TestOrderLineItem> o) {
+checkUnnamed1578(core.List<api.TestOrderLineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestOrderLineItem(o[0]);
checkTestOrderLineItem(o[1]);
}
-buildUnnamed1570() {
+buildUnnamed1579() {
var o = new core.List<api.OrderPromotion>();
o.add(buildOrderPromotion());
o.add(buildOrderPromotion());
return o;
}
-checkUnnamed1570(core.List<api.OrderPromotion> o) {
+checkUnnamed1579(core.List<api.OrderPromotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotion(o[0]);
checkOrderPromotion(o[1]);
@@ -1738,10 +1764,11 @@
if (buildCounterTestOrder < 3) {
o.customer = buildTestOrderCustomer();
o.kind = "foo";
- o.lineItems = buildUnnamed1569();
+ o.lineItems = buildUnnamed1578();
+ o.notificationMode = "foo";
o.paymentMethod = buildTestOrderPaymentMethod();
o.predefinedDeliveryAddress = "foo";
- o.promotions = buildUnnamed1570();
+ o.promotions = buildUnnamed1579();
o.shippingCost = buildPrice();
o.shippingCostTax = buildPrice();
o.shippingOption = "foo";
@@ -1755,10 +1782,11 @@
if (buildCounterTestOrder < 3) {
checkTestOrderCustomer(o.customer);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1569(o.lineItems);
+ checkUnnamed1578(o.lineItems);
+ unittest.expect(o.notificationMode, unittest.equals('foo'));
checkTestOrderPaymentMethod(o.paymentMethod);
unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo'));
- checkUnnamed1570(o.promotions);
+ checkUnnamed1579(o.promotions);
checkPrice(o.shippingCost);
checkPrice(o.shippingCostTax);
unittest.expect(o.shippingOption, unittest.equals('foo'));
@@ -1816,14 +1844,14 @@
buildCounterTestOrderLineItem--;
}
-buildUnnamed1571() {
+buildUnnamed1580() {
var o = new core.List<api.OrderLineItemProductVariantAttribute>();
o.add(buildOrderLineItemProductVariantAttribute());
o.add(buildOrderLineItemProductVariantAttribute());
return o;
}
-checkUnnamed1571(core.List<api.OrderLineItemProductVariantAttribute> o) {
+checkUnnamed1580(core.List<api.OrderLineItemProductVariantAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItemProductVariantAttribute(o[0]);
checkOrderLineItemProductVariantAttribute(o[1]);
@@ -1846,7 +1874,7 @@
o.price = buildPrice();
o.targetCountry = "foo";
o.title = "foo";
- o.variantAttributes = buildUnnamed1571();
+ o.variantAttributes = buildUnnamed1580();
}
buildCounterTestOrderLineItemProduct--;
return o;
@@ -1867,7 +1895,7 @@
checkPrice(o.price);
unittest.expect(o.targetCountry, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1571(o.variantAttributes);
+ checkUnnamed1580(o.variantAttributes);
}
buildCounterTestOrderLineItemProduct--;
}
@@ -1899,14 +1927,14 @@
buildCounterTestOrderPaymentMethod--;
}
-buildUnnamed1572() {
+buildUnnamed1581() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1572(core.List<core.String> o) {
+checkUnnamed1581(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2871,7 +2899,7 @@
var arg_pageToken = "foo";
var arg_placedDateEnd = "foo";
var arg_placedDateStart = "foo";
- var arg_statuses = buildUnnamed1572();
+ var arg_statuses = buildUnnamed1581();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/dataproc/v1_test.dart b/generated/googleapis/test/dataproc/v1_test.dart
index a984ed8..fc3daf5 100644
--- a/generated/googleapis/test/dataproc/v1_test.dart
+++ b/generated/googleapis/test/dataproc/v1_test.dart
@@ -86,156 +86,6 @@
buildCounterCancelJobRequest--;
}
-buildUnnamed537() {
- 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) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
-buildUnnamed538() {
- var o = new core.List<api.ClusterStatus>();
- o.add(buildClusterStatus());
- o.add(buildClusterStatus());
- return o;
-}
-
-checkUnnamed538(core.List<api.ClusterStatus> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkClusterStatus(o[0]);
- checkClusterStatus(o[1]);
-}
-
-core.int buildCounterCluster = 0;
-buildCluster() {
- var o = new api.Cluster();
- buildCounterCluster++;
- if (buildCounterCluster < 3) {
- o.clusterName = "foo";
- o.clusterUuid = "foo";
- o.config = buildClusterConfig();
- o.labels = buildUnnamed537();
- o.metrics = buildClusterMetrics();
- o.projectId = "foo";
- o.status = buildClusterStatus();
- o.statusHistory = buildUnnamed538();
- }
- buildCounterCluster--;
- return o;
-}
-
-checkCluster(api.Cluster o) {
- buildCounterCluster++;
- if (buildCounterCluster < 3) {
- unittest.expect(o.clusterName, unittest.equals('foo'));
- unittest.expect(o.clusterUuid, unittest.equals('foo'));
- checkClusterConfig(o.config);
- checkUnnamed537(o.labels);
- checkClusterMetrics(o.metrics);
- unittest.expect(o.projectId, unittest.equals('foo'));
- checkClusterStatus(o.status);
- checkUnnamed538(o.statusHistory);
- }
- buildCounterCluster--;
-}
-
-buildUnnamed539() {
- var o = new core.List<api.NodeInitializationAction>();
- o.add(buildNodeInitializationAction());
- o.add(buildNodeInitializationAction());
- return o;
-}
-
-checkUnnamed539(core.List<api.NodeInitializationAction> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkNodeInitializationAction(o[0]);
- checkNodeInitializationAction(o[1]);
-}
-
-core.int buildCounterClusterConfig = 0;
-buildClusterConfig() {
- var o = new api.ClusterConfig();
- buildCounterClusterConfig++;
- if (buildCounterClusterConfig < 3) {
- o.configBucket = "foo";
- o.gceClusterConfig = buildGceClusterConfig();
- o.initializationActions = buildUnnamed539();
- o.masterConfig = buildInstanceGroupConfig();
- o.secondaryWorkerConfig = buildInstanceGroupConfig();
- o.softwareConfig = buildSoftwareConfig();
- o.workerConfig = buildInstanceGroupConfig();
- }
- buildCounterClusterConfig--;
- return o;
-}
-
-checkClusterConfig(api.ClusterConfig o) {
- buildCounterClusterConfig++;
- if (buildCounterClusterConfig < 3) {
- unittest.expect(o.configBucket, unittest.equals('foo'));
- checkGceClusterConfig(o.gceClusterConfig);
- checkUnnamed539(o.initializationActions);
- checkInstanceGroupConfig(o.masterConfig);
- checkInstanceGroupConfig(o.secondaryWorkerConfig);
- checkSoftwareConfig(o.softwareConfig);
- checkInstanceGroupConfig(o.workerConfig);
- }
- buildCounterClusterConfig--;
-}
-
-buildUnnamed540() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed540(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'));
-}
-
-buildUnnamed541() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed541(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 = buildUnnamed540();
- o.yarnMetrics = buildUnnamed541();
- }
- buildCounterClusterMetrics--;
- return o;
-}
-
-checkClusterMetrics(api.ClusterMetrics o) {
- buildCounterClusterMetrics++;
- if (buildCounterClusterMetrics < 3) {
- checkUnnamed540(o.hdfsMetrics);
- checkUnnamed541(o.yarnMetrics);
- }
- buildCounterClusterMetrics--;
-}
-
buildUnnamed542() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
@@ -250,26 +100,176 @@
}
buildUnnamed543() {
+ var o = new core.List<api.ClusterStatus>();
+ o.add(buildClusterStatus());
+ o.add(buildClusterStatus());
+ return o;
+}
+
+checkUnnamed543(core.List<api.ClusterStatus> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkClusterStatus(o[0]);
+ checkClusterStatus(o[1]);
+}
+
+core.int buildCounterCluster = 0;
+buildCluster() {
+ var o = new api.Cluster();
+ buildCounterCluster++;
+ if (buildCounterCluster < 3) {
+ o.clusterName = "foo";
+ o.clusterUuid = "foo";
+ o.config = buildClusterConfig();
+ o.labels = buildUnnamed542();
+ o.metrics = buildClusterMetrics();
+ o.projectId = "foo";
+ o.status = buildClusterStatus();
+ o.statusHistory = buildUnnamed543();
+ }
+ buildCounterCluster--;
+ return o;
+}
+
+checkCluster(api.Cluster o) {
+ buildCounterCluster++;
+ if (buildCounterCluster < 3) {
+ unittest.expect(o.clusterName, unittest.equals('foo'));
+ unittest.expect(o.clusterUuid, unittest.equals('foo'));
+ checkClusterConfig(o.config);
+ checkUnnamed542(o.labels);
+ checkClusterMetrics(o.metrics);
+ unittest.expect(o.projectId, unittest.equals('foo'));
+ checkClusterStatus(o.status);
+ checkUnnamed543(o.statusHistory);
+ }
+ buildCounterCluster--;
+}
+
+buildUnnamed544() {
+ var o = new core.List<api.NodeInitializationAction>();
+ o.add(buildNodeInitializationAction());
+ o.add(buildNodeInitializationAction());
+ return o;
+}
+
+checkUnnamed544(core.List<api.NodeInitializationAction> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkNodeInitializationAction(o[0]);
+ checkNodeInitializationAction(o[1]);
+}
+
+core.int buildCounterClusterConfig = 0;
+buildClusterConfig() {
+ var o = new api.ClusterConfig();
+ buildCounterClusterConfig++;
+ if (buildCounterClusterConfig < 3) {
+ o.configBucket = "foo";
+ o.gceClusterConfig = buildGceClusterConfig();
+ o.initializationActions = buildUnnamed544();
+ o.masterConfig = buildInstanceGroupConfig();
+ o.secondaryWorkerConfig = buildInstanceGroupConfig();
+ o.softwareConfig = buildSoftwareConfig();
+ o.workerConfig = buildInstanceGroupConfig();
+ }
+ buildCounterClusterConfig--;
+ return o;
+}
+
+checkClusterConfig(api.ClusterConfig o) {
+ buildCounterClusterConfig++;
+ if (buildCounterClusterConfig < 3) {
+ unittest.expect(o.configBucket, unittest.equals('foo'));
+ checkGceClusterConfig(o.gceClusterConfig);
+ checkUnnamed544(o.initializationActions);
+ checkInstanceGroupConfig(o.masterConfig);
+ checkInstanceGroupConfig(o.secondaryWorkerConfig);
+ checkSoftwareConfig(o.softwareConfig);
+ checkInstanceGroupConfig(o.workerConfig);
+ }
+ buildCounterClusterConfig--;
+}
+
+buildUnnamed545() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed545(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'));
+}
+
+buildUnnamed546() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed546(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 = buildUnnamed545();
+ o.yarnMetrics = buildUnnamed546();
+ }
+ buildCounterClusterMetrics--;
+ return o;
+}
+
+checkClusterMetrics(api.ClusterMetrics o) {
+ buildCounterClusterMetrics++;
+ if (buildCounterClusterMetrics < 3) {
+ checkUnnamed545(o.hdfsMetrics);
+ checkUnnamed546(o.yarnMetrics);
+ }
+ buildCounterClusterMetrics--;
+}
+
+buildUnnamed547() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed547(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'));
+}
+
+buildUnnamed548() {
var o = new core.List<api.ClusterOperationStatus>();
o.add(buildClusterOperationStatus());
o.add(buildClusterOperationStatus());
return o;
}
-checkUnnamed543(core.List<api.ClusterOperationStatus> o) {
+checkUnnamed548(core.List<api.ClusterOperationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkClusterOperationStatus(o[0]);
checkClusterOperationStatus(o[1]);
}
-buildUnnamed544() {
+buildUnnamed549() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed544(core.List<core.String> o) {
+checkUnnamed549(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -283,11 +283,11 @@
o.clusterName = "foo";
o.clusterUuid = "foo";
o.description = "foo";
- o.labels = buildUnnamed542();
+ o.labels = buildUnnamed547();
o.operationType = "foo";
o.status = buildClusterOperationStatus();
- o.statusHistory = buildUnnamed543();
- o.warnings = buildUnnamed544();
+ o.statusHistory = buildUnnamed548();
+ o.warnings = buildUnnamed549();
}
buildCounterClusterOperationMetadata--;
return o;
@@ -299,11 +299,11 @@
unittest.expect(o.clusterName, unittest.equals('foo'));
unittest.expect(o.clusterUuid, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed542(o.labels);
+ checkUnnamed547(o.labels);
unittest.expect(o.operationType, unittest.equals('foo'));
checkClusterOperationStatus(o.status);
- checkUnnamed543(o.statusHistory);
- checkUnnamed544(o.warnings);
+ checkUnnamed548(o.statusHistory);
+ checkUnnamed549(o.warnings);
}
buildCounterClusterOperationMetadata--;
}
@@ -428,117 +428,19 @@
buildCounterEmpty--;
}
-buildUnnamed545() {
+buildUnnamed550() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed545(core.Map<core.String, core.String> o) {
+checkUnnamed550(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'));
}
-buildUnnamed546() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed546(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed547() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed547(core.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 = buildUnnamed545();
- o.networkUri = "foo";
- o.serviceAccount = "foo";
- o.serviceAccountScopes = buildUnnamed546();
- o.subnetworkUri = "foo";
- o.tags = buildUnnamed547();
- o.zoneUri = "foo";
- }
- buildCounterGceClusterConfig--;
- return o;
-}
-
-checkGceClusterConfig(api.GceClusterConfig o) {
- buildCounterGceClusterConfig++;
- if (buildCounterGceClusterConfig < 3) {
- unittest.expect(o.internalIpOnly, unittest.isTrue);
- checkUnnamed545(o.metadata);
- unittest.expect(o.networkUri, unittest.equals('foo'));
- unittest.expect(o.serviceAccount, unittest.equals('foo'));
- checkUnnamed546(o.serviceAccountScopes);
- unittest.expect(o.subnetworkUri, unittest.equals('foo'));
- checkUnnamed547(o.tags);
- unittest.expect(o.zoneUri, unittest.equals('foo'));
- }
- buildCounterGceClusterConfig--;
-}
-
-buildUnnamed548() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed548(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed549() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed549(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed550() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed550(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed551() {
var o = new core.List<core.String>();
o.add("foo");
@@ -553,49 +455,49 @@
}
buildUnnamed552() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed552(core.Map<core.String, core.String> o) {
+checkUnnamed552(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterHadoopJob = 0;
-buildHadoopJob() {
- var o = new api.HadoopJob();
- buildCounterHadoopJob++;
- if (buildCounterHadoopJob < 3) {
- o.archiveUris = buildUnnamed548();
- o.args = buildUnnamed549();
- o.fileUris = buildUnnamed550();
- o.jarFileUris = buildUnnamed551();
- o.loggingConfig = buildLoggingConfig();
- o.mainClass = "foo";
- o.mainJarFileUri = "foo";
- o.properties = buildUnnamed552();
+core.int buildCounterGceClusterConfig = 0;
+buildGceClusterConfig() {
+ var o = new api.GceClusterConfig();
+ buildCounterGceClusterConfig++;
+ if (buildCounterGceClusterConfig < 3) {
+ o.internalIpOnly = true;
+ o.metadata = buildUnnamed550();
+ o.networkUri = "foo";
+ o.serviceAccount = "foo";
+ o.serviceAccountScopes = buildUnnamed551();
+ o.subnetworkUri = "foo";
+ o.tags = buildUnnamed552();
+ o.zoneUri = "foo";
}
- buildCounterHadoopJob--;
+ buildCounterGceClusterConfig--;
return o;
}
-checkHadoopJob(api.HadoopJob o) {
- buildCounterHadoopJob++;
- if (buildCounterHadoopJob < 3) {
- checkUnnamed548(o.archiveUris);
- checkUnnamed549(o.args);
- checkUnnamed550(o.fileUris);
- checkUnnamed551(o.jarFileUris);
- checkLoggingConfig(o.loggingConfig);
- unittest.expect(o.mainClass, unittest.equals('foo'));
- unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
- checkUnnamed552(o.properties);
+checkGceClusterConfig(api.GceClusterConfig o) {
+ buildCounterGceClusterConfig++;
+ if (buildCounterGceClusterConfig < 3) {
+ unittest.expect(o.internalIpOnly, unittest.isTrue);
+ checkUnnamed550(o.metadata);
+ unittest.expect(o.networkUri, unittest.equals('foo'));
+ unittest.expect(o.serviceAccount, unittest.equals('foo'));
+ checkUnnamed551(o.serviceAccountScopes);
+ unittest.expect(o.subnetworkUri, unittest.equals('foo'));
+ checkUnnamed552(o.tags);
+ unittest.expect(o.zoneUri, unittest.equals('foo'));
}
- buildCounterHadoopJob--;
+ buildCounterGceClusterConfig--;
}
buildUnnamed553() {
@@ -612,26 +514,124 @@
}
buildUnnamed554() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed554(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed555() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed555(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed556() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed556(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed557() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed554(core.Map<core.String, core.String> o) {
+checkUnnamed557(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'));
}
-buildUnnamed555() {
+core.int buildCounterHadoopJob = 0;
+buildHadoopJob() {
+ var o = new api.HadoopJob();
+ buildCounterHadoopJob++;
+ if (buildCounterHadoopJob < 3) {
+ o.archiveUris = buildUnnamed553();
+ o.args = buildUnnamed554();
+ o.fileUris = buildUnnamed555();
+ o.jarFileUris = buildUnnamed556();
+ o.loggingConfig = buildLoggingConfig();
+ o.mainClass = "foo";
+ o.mainJarFileUri = "foo";
+ o.properties = buildUnnamed557();
+ }
+ buildCounterHadoopJob--;
+ return o;
+}
+
+checkHadoopJob(api.HadoopJob o) {
+ buildCounterHadoopJob++;
+ if (buildCounterHadoopJob < 3) {
+ checkUnnamed553(o.archiveUris);
+ checkUnnamed554(o.args);
+ checkUnnamed555(o.fileUris);
+ checkUnnamed556(o.jarFileUris);
+ checkLoggingConfig(o.loggingConfig);
+ unittest.expect(o.mainClass, unittest.equals('foo'));
+ unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
+ checkUnnamed557(o.properties);
+ }
+ buildCounterHadoopJob--;
+}
+
+buildUnnamed558() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed558(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed559() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed555(core.Map<core.String, core.String> o) {
+checkUnnamed559(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'));
+}
+
+buildUnnamed560() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed560(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,11 +643,11 @@
buildCounterHiveJob++;
if (buildCounterHiveJob < 3) {
o.continueOnFailure = true;
- o.jarFileUris = buildUnnamed553();
- o.properties = buildUnnamed554();
+ o.jarFileUris = buildUnnamed558();
+ o.properties = buildUnnamed559();
o.queryFileUri = "foo";
o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed555();
+ o.scriptVariables = buildUnnamed560();
}
buildCounterHiveJob--;
return o;
@@ -657,36 +657,36 @@
buildCounterHiveJob++;
if (buildCounterHiveJob < 3) {
unittest.expect(o.continueOnFailure, unittest.isTrue);
- checkUnnamed553(o.jarFileUris);
- checkUnnamed554(o.properties);
+ checkUnnamed558(o.jarFileUris);
+ checkUnnamed559(o.properties);
unittest.expect(o.queryFileUri, unittest.equals('foo'));
checkQueryList(o.queryList);
- checkUnnamed555(o.scriptVariables);
+ checkUnnamed560(o.scriptVariables);
}
buildCounterHiveJob--;
}
-buildUnnamed556() {
+buildUnnamed561() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed556(core.List<api.AcceleratorConfig> o) {
+checkUnnamed561(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
}
-buildUnnamed557() {
+buildUnnamed562() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed557(core.List<core.String> o) {
+checkUnnamed562(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -697,10 +697,10 @@
var o = new api.InstanceGroupConfig();
buildCounterInstanceGroupConfig++;
if (buildCounterInstanceGroupConfig < 3) {
- o.accelerators = buildUnnamed556();
+ o.accelerators = buildUnnamed561();
o.diskConfig = buildDiskConfig();
o.imageUri = "foo";
- o.instanceNames = buildUnnamed557();
+ o.instanceNames = buildUnnamed562();
o.isPreemptible = true;
o.machineTypeUri = "foo";
o.managedGroupConfig = buildManagedGroupConfig();
@@ -713,10 +713,10 @@
checkInstanceGroupConfig(api.InstanceGroupConfig o) {
buildCounterInstanceGroupConfig++;
if (buildCounterInstanceGroupConfig < 3) {
- checkUnnamed556(o.accelerators);
+ checkUnnamed561(o.accelerators);
checkDiskConfig(o.diskConfig);
unittest.expect(o.imageUri, unittest.equals('foo'));
- checkUnnamed557(o.instanceNames);
+ checkUnnamed562(o.instanceNames);
unittest.expect(o.isPreemptible, unittest.isTrue);
unittest.expect(o.machineTypeUri, unittest.equals('foo'));
checkManagedGroupConfig(o.managedGroupConfig);
@@ -725,40 +725,40 @@
buildCounterInstanceGroupConfig--;
}
-buildUnnamed558() {
+buildUnnamed563() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed558(core.Map<core.String, core.String> o) {
+checkUnnamed563(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'));
}
-buildUnnamed559() {
+buildUnnamed564() {
var o = new core.List<api.JobStatus>();
o.add(buildJobStatus());
o.add(buildJobStatus());
return o;
}
-checkUnnamed559(core.List<api.JobStatus> o) {
+checkUnnamed564(core.List<api.JobStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobStatus(o[0]);
checkJobStatus(o[1]);
}
-buildUnnamed560() {
+buildUnnamed565() {
var o = new core.List<api.YarnApplication>();
o.add(buildYarnApplication());
o.add(buildYarnApplication());
return o;
}
-checkUnnamed560(core.List<api.YarnApplication> o) {
+checkUnnamed565(core.List<api.YarnApplication> o) {
unittest.expect(o, unittest.hasLength(2));
checkYarnApplication(o[0]);
checkYarnApplication(o[1]);
@@ -773,7 +773,7 @@
o.driverOutputResourceUri = "foo";
o.hadoopJob = buildHadoopJob();
o.hiveJob = buildHiveJob();
- o.labels = buildUnnamed558();
+ o.labels = buildUnnamed563();
o.pigJob = buildPigJob();
o.placement = buildJobPlacement();
o.pysparkJob = buildPySparkJob();
@@ -782,8 +782,8 @@
o.sparkJob = buildSparkJob();
o.sparkSqlJob = buildSparkSqlJob();
o.status = buildJobStatus();
- o.statusHistory = buildUnnamed559();
- o.yarnApplications = buildUnnamed560();
+ o.statusHistory = buildUnnamed564();
+ o.yarnApplications = buildUnnamed565();
}
buildCounterJob--;
return o;
@@ -796,7 +796,7 @@
unittest.expect(o.driverOutputResourceUri, unittest.equals('foo'));
checkHadoopJob(o.hadoopJob);
checkHiveJob(o.hiveJob);
- checkUnnamed558(o.labels);
+ checkUnnamed563(o.labels);
checkPigJob(o.pigJob);
checkJobPlacement(o.placement);
checkPySparkJob(o.pysparkJob);
@@ -805,8 +805,8 @@
checkSparkJob(o.sparkJob);
checkSparkSqlJob(o.sparkSqlJob);
checkJobStatus(o.status);
- checkUnnamed559(o.statusHistory);
- checkUnnamed560(o.yarnApplications);
+ checkUnnamed564(o.statusHistory);
+ checkUnnamed565(o.yarnApplications);
}
buildCounterJob--;
}
@@ -897,14 +897,14 @@
buildCounterJobStatus--;
}
-buildUnnamed561() {
+buildUnnamed566() {
var o = new core.List<api.Cluster>();
o.add(buildCluster());
o.add(buildCluster());
return o;
}
-checkUnnamed561(core.List<api.Cluster> o) {
+checkUnnamed566(core.List<api.Cluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkCluster(o[0]);
checkCluster(o[1]);
@@ -915,7 +915,7 @@
var o = new api.ListClustersResponse();
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- o.clusters = buildUnnamed561();
+ o.clusters = buildUnnamed566();
o.nextPageToken = "foo";
}
buildCounterListClustersResponse--;
@@ -925,20 +925,20 @@
checkListClustersResponse(api.ListClustersResponse o) {
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- checkUnnamed561(o.clusters);
+ checkUnnamed566(o.clusters);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListClustersResponse--;
}
-buildUnnamed562() {
+buildUnnamed567() {
var o = new core.List<api.Job>();
o.add(buildJob());
o.add(buildJob());
return o;
}
-checkUnnamed562(core.List<api.Job> o) {
+checkUnnamed567(core.List<api.Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkJob(o[0]);
checkJob(o[1]);
@@ -949,7 +949,7 @@
var o = new api.ListJobsResponse();
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- o.jobs = buildUnnamed562();
+ o.jobs = buildUnnamed567();
o.nextPageToken = "foo";
}
buildCounterListJobsResponse--;
@@ -959,20 +959,20 @@
checkListJobsResponse(api.ListJobsResponse o) {
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- checkUnnamed562(o.jobs);
+ checkUnnamed567(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListJobsResponse--;
}
-buildUnnamed563() {
+buildUnnamed568() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed563(core.List<api.Operation> o) {
+checkUnnamed568(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -984,7 +984,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed563();
+ o.operations = buildUnnamed568();
}
buildCounterListOperationsResponse--;
return o;
@@ -994,19 +994,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed563(o.operations);
+ checkUnnamed568(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed564() {
+buildUnnamed569() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed564(core.Map<core.String, core.String> o) {
+checkUnnamed569(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'));
@@ -1017,7 +1017,7 @@
var o = new api.LoggingConfig();
buildCounterLoggingConfig++;
if (buildCounterLoggingConfig < 3) {
- o.driverLogLevels = buildUnnamed564();
+ o.driverLogLevels = buildUnnamed569();
}
buildCounterLoggingConfig--;
return o;
@@ -1026,7 +1026,7 @@
checkLoggingConfig(api.LoggingConfig o) {
buildCounterLoggingConfig++;
if (buildCounterLoggingConfig < 3) {
- checkUnnamed564(o.driverLogLevels);
+ checkUnnamed569(o.driverLogLevels);
}
buildCounterLoggingConfig--;
}
@@ -1073,7 +1073,7 @@
buildCounterNodeInitializationAction--;
}
-buildUnnamed565() {
+buildUnnamed570() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1088,7 +1088,7 @@
return o;
}
-checkUnnamed565(core.Map<core.String, core.Object> o) {
+checkUnnamed570(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));
@@ -1102,7 +1102,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed566() {
+buildUnnamed571() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1117,7 +1117,7 @@
return o;
}
-checkUnnamed566(core.Map<core.String, core.Object> o) {
+checkUnnamed571(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));
@@ -1138,9 +1138,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed565();
+ o.metadata = buildUnnamed570();
o.name = "foo";
- o.response = buildUnnamed566();
+ o.response = buildUnnamed571();
}
buildCounterOperation--;
return o;
@@ -1151,109 +1151,13 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed565(o.metadata);
+ checkUnnamed570(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed566(o.response);
+ checkUnnamed571(o.response);
}
buildCounterOperation--;
}
-buildUnnamed567() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed567(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed568() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed568(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'));
-}
-
-buildUnnamed569() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed569(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 = buildUnnamed567();
- o.loggingConfig = buildLoggingConfig();
- o.properties = buildUnnamed568();
- o.queryFileUri = "foo";
- o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed569();
- }
- buildCounterPigJob--;
- return o;
-}
-
-checkPigJob(api.PigJob o) {
- buildCounterPigJob++;
- if (buildCounterPigJob < 3) {
- unittest.expect(o.continueOnFailure, unittest.isTrue);
- checkUnnamed567(o.jarFileUris);
- checkLoggingConfig(o.loggingConfig);
- checkUnnamed568(o.properties);
- unittest.expect(o.queryFileUri, unittest.equals('foo'));
- checkQueryList(o.queryList);
- checkUnnamed569(o.scriptVariables);
- }
- buildCounterPigJob--;
-}
-
-buildUnnamed570() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-buildUnnamed571() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed571(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed572() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1268,16 +1172,16 @@
}
buildUnnamed573() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
return o;
}
-checkUnnamed573(core.List<core.String> o) {
+checkUnnamed573(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
}
buildUnnamed574() {
@@ -1293,6 +1197,37 @@
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 = buildUnnamed572();
+ o.loggingConfig = buildLoggingConfig();
+ o.properties = buildUnnamed573();
+ o.queryFileUri = "foo";
+ o.queryList = buildQueryList();
+ o.scriptVariables = buildUnnamed574();
+ }
+ buildCounterPigJob--;
+ return o;
+}
+
+checkPigJob(api.PigJob o) {
+ buildCounterPigJob++;
+ if (buildCounterPigJob < 3) {
+ unittest.expect(o.continueOnFailure, unittest.isTrue);
+ checkUnnamed572(o.jarFileUris);
+ checkLoggingConfig(o.loggingConfig);
+ checkUnnamed573(o.properties);
+ unittest.expect(o.queryFileUri, unittest.equals('foo'));
+ checkQueryList(o.queryList);
+ checkUnnamed574(o.scriptVariables);
+ }
+ buildCounterPigJob--;
+}
+
buildUnnamed575() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1306,39 +1241,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterPySparkJob = 0;
-buildPySparkJob() {
- var o = new api.PySparkJob();
- buildCounterPySparkJob++;
- if (buildCounterPySparkJob < 3) {
- o.archiveUris = buildUnnamed570();
- o.args = buildUnnamed571();
- o.fileUris = buildUnnamed572();
- o.jarFileUris = buildUnnamed573();
- o.loggingConfig = buildLoggingConfig();
- o.mainPythonFileUri = "foo";
- o.properties = buildUnnamed574();
- o.pythonFileUris = buildUnnamed575();
- }
- buildCounterPySparkJob--;
- return o;
-}
-
-checkPySparkJob(api.PySparkJob o) {
- buildCounterPySparkJob++;
- if (buildCounterPySparkJob < 3) {
- checkUnnamed570(o.archiveUris);
- checkUnnamed571(o.args);
- checkUnnamed572(o.fileUris);
- checkUnnamed573(o.jarFileUris);
- checkLoggingConfig(o.loggingConfig);
- unittest.expect(o.mainPythonFileUri, unittest.equals('foo'));
- checkUnnamed574(o.properties);
- checkUnnamed575(o.pythonFileUris);
- }
- buildCounterPySparkJob--;
-}
-
buildUnnamed576() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1352,57 +1254,17 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterQueryList = 0;
-buildQueryList() {
- var o = new api.QueryList();
- buildCounterQueryList++;
- if (buildCounterQueryList < 3) {
- o.queries = buildUnnamed576();
- }
- buildCounterQueryList--;
- return o;
-}
-
-checkQueryList(api.QueryList o) {
- buildCounterQueryList++;
- if (buildCounterQueryList < 3) {
- checkUnnamed576(o.queries);
- }
- buildCounterQueryList--;
-}
-
buildUnnamed577() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed577(core.Map<core.String, core.String> o) {
+checkUnnamed577(core.List<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 buildCounterSoftwareConfig = 0;
-buildSoftwareConfig() {
- var o = new api.SoftwareConfig();
- buildCounterSoftwareConfig++;
- if (buildCounterSoftwareConfig < 3) {
- o.imageVersion = "foo";
- o.properties = buildUnnamed577();
- }
- buildCounterSoftwareConfig--;
- return o;
-}
-
-checkSoftwareConfig(api.SoftwareConfig o) {
- buildCounterSoftwareConfig++;
- if (buildCounterSoftwareConfig < 3) {
- unittest.expect(o.imageVersion, unittest.equals('foo'));
- checkUnnamed577(o.properties);
- }
- buildCounterSoftwareConfig--;
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed578() {
@@ -1419,16 +1281,16 @@
}
buildUnnamed579() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
return o;
}
-checkUnnamed579(core.List<core.String> o) {
+checkUnnamed579(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
}
buildUnnamed580() {
@@ -1444,6 +1306,39 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterPySparkJob = 0;
+buildPySparkJob() {
+ var o = new api.PySparkJob();
+ buildCounterPySparkJob++;
+ if (buildCounterPySparkJob < 3) {
+ o.archiveUris = buildUnnamed575();
+ o.args = buildUnnamed576();
+ o.fileUris = buildUnnamed577();
+ o.jarFileUris = buildUnnamed578();
+ o.loggingConfig = buildLoggingConfig();
+ o.mainPythonFileUri = "foo";
+ o.properties = buildUnnamed579();
+ o.pythonFileUris = buildUnnamed580();
+ }
+ buildCounterPySparkJob--;
+ return o;
+}
+
+checkPySparkJob(api.PySparkJob o) {
+ buildCounterPySparkJob++;
+ if (buildCounterPySparkJob < 3) {
+ checkUnnamed575(o.archiveUris);
+ checkUnnamed576(o.args);
+ checkUnnamed577(o.fileUris);
+ checkUnnamed578(o.jarFileUris);
+ checkLoggingConfig(o.loggingConfig);
+ unittest.expect(o.mainPythonFileUri, unittest.equals('foo'));
+ checkUnnamed579(o.properties);
+ checkUnnamed580(o.pythonFileUris);
+ }
+ buildCounterPySparkJob--;
+}
+
buildUnnamed581() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1457,6 +1352,25 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterQueryList = 0;
+buildQueryList() {
+ var o = new api.QueryList();
+ buildCounterQueryList++;
+ if (buildCounterQueryList < 3) {
+ o.queries = buildUnnamed581();
+ }
+ buildCounterQueryList--;
+ return o;
+}
+
+checkQueryList(api.QueryList o) {
+ buildCounterQueryList++;
+ if (buildCounterQueryList < 3) {
+ checkUnnamed581(o.queries);
+ }
+ buildCounterQueryList--;
+}
+
buildUnnamed582() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
@@ -1470,37 +1384,25 @@
unittest.expect(o["y"], unittest.equals('foo'));
}
-core.int buildCounterSparkJob = 0;
-buildSparkJob() {
- var o = new api.SparkJob();
- buildCounterSparkJob++;
- if (buildCounterSparkJob < 3) {
- o.archiveUris = buildUnnamed578();
- o.args = buildUnnamed579();
- o.fileUris = buildUnnamed580();
- o.jarFileUris = buildUnnamed581();
- o.loggingConfig = buildLoggingConfig();
- o.mainClass = "foo";
- o.mainJarFileUri = "foo";
+core.int buildCounterSoftwareConfig = 0;
+buildSoftwareConfig() {
+ var o = new api.SoftwareConfig();
+ buildCounterSoftwareConfig++;
+ if (buildCounterSoftwareConfig < 3) {
+ o.imageVersion = "foo";
o.properties = buildUnnamed582();
}
- buildCounterSparkJob--;
+ buildCounterSoftwareConfig--;
return o;
}
-checkSparkJob(api.SparkJob o) {
- buildCounterSparkJob++;
- if (buildCounterSparkJob < 3) {
- checkUnnamed578(o.archiveUris);
- checkUnnamed579(o.args);
- checkUnnamed580(o.fileUris);
- checkUnnamed581(o.jarFileUris);
- checkLoggingConfig(o.loggingConfig);
- unittest.expect(o.mainClass, unittest.equals('foo'));
- unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
+checkSoftwareConfig(api.SoftwareConfig o) {
+ buildCounterSoftwareConfig++;
+ if (buildCounterSoftwareConfig < 3) {
+ unittest.expect(o.imageVersion, unittest.equals('foo'));
checkUnnamed582(o.properties);
}
- buildCounterSparkJob--;
+ buildCounterSoftwareConfig--;
}
buildUnnamed583() {
@@ -1517,26 +1419,124 @@
}
buildUnnamed584() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed584(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+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");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed586(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed587() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed584(core.Map<core.String, core.String> o) {
+checkUnnamed587(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'));
}
-buildUnnamed585() {
+core.int buildCounterSparkJob = 0;
+buildSparkJob() {
+ var o = new api.SparkJob();
+ buildCounterSparkJob++;
+ if (buildCounterSparkJob < 3) {
+ o.archiveUris = buildUnnamed583();
+ o.args = buildUnnamed584();
+ o.fileUris = buildUnnamed585();
+ o.jarFileUris = buildUnnamed586();
+ o.loggingConfig = buildLoggingConfig();
+ o.mainClass = "foo";
+ o.mainJarFileUri = "foo";
+ o.properties = buildUnnamed587();
+ }
+ buildCounterSparkJob--;
+ return o;
+}
+
+checkSparkJob(api.SparkJob o) {
+ buildCounterSparkJob++;
+ if (buildCounterSparkJob < 3) {
+ checkUnnamed583(o.archiveUris);
+ checkUnnamed584(o.args);
+ checkUnnamed585(o.fileUris);
+ checkUnnamed586(o.jarFileUris);
+ checkLoggingConfig(o.loggingConfig);
+ unittest.expect(o.mainClass, unittest.equals('foo'));
+ unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
+ checkUnnamed587(o.properties);
+ }
+ buildCounterSparkJob--;
+}
+
+buildUnnamed588() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed588(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed589() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed585(core.Map<core.String, core.String> o) {
+checkUnnamed589(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'));
+}
+
+buildUnnamed590() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed590(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,12 +1547,12 @@
var o = new api.SparkSqlJob();
buildCounterSparkSqlJob++;
if (buildCounterSparkSqlJob < 3) {
- o.jarFileUris = buildUnnamed583();
+ o.jarFileUris = buildUnnamed588();
o.loggingConfig = buildLoggingConfig();
- o.properties = buildUnnamed584();
+ o.properties = buildUnnamed589();
o.queryFileUri = "foo";
o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed585();
+ o.scriptVariables = buildUnnamed590();
}
buildCounterSparkSqlJob--;
return o;
@@ -1561,17 +1561,17 @@
checkSparkSqlJob(api.SparkSqlJob o) {
buildCounterSparkSqlJob++;
if (buildCounterSparkSqlJob < 3) {
- checkUnnamed583(o.jarFileUris);
+ checkUnnamed588(o.jarFileUris);
checkLoggingConfig(o.loggingConfig);
- checkUnnamed584(o.properties);
+ checkUnnamed589(o.properties);
unittest.expect(o.queryFileUri, unittest.equals('foo'));
checkQueryList(o.queryList);
- checkUnnamed585(o.scriptVariables);
+ checkUnnamed590(o.scriptVariables);
}
buildCounterSparkSqlJob--;
}
-buildUnnamed586() {
+buildUnnamed591() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1586,7 +1586,7 @@
return o;
}
-checkUnnamed586(core.Map<core.String, core.Object> o) {
+checkUnnamed591(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));
@@ -1600,17 +1600,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed587() {
+buildUnnamed592() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed586());
- o.add(buildUnnamed586());
+ o.add(buildUnnamed591());
+ o.add(buildUnnamed591());
return o;
}
-checkUnnamed587(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed592(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed586(o[0]);
- checkUnnamed586(o[1]);
+ checkUnnamed591(o[0]);
+ checkUnnamed591(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1619,7 +1619,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed587();
+ o.details = buildUnnamed592();
o.message = "foo";
}
buildCounterStatus--;
@@ -1630,7 +1630,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed587(o.details);
+ checkUnnamed592(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2691,11 +2691,11 @@
new api.DataprocApi(mock).projects.regions.jobs;
var arg_projectId = "foo";
var arg_region = "foo";
- var arg_clusterName = "foo";
var arg_filter = "foo";
var arg_jobStateMatcher = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_clusterName = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2745,8 +2745,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["clusterName"].first, unittest.equals(arg_clusterName));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["jobStateMatcher"].first,
unittest.equals(arg_jobStateMatcher));
@@ -2754,6 +2752,8 @@
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["clusterName"].first, unittest.equals(arg_clusterName));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2764,11 +2764,11 @@
}), true);
res
.list(arg_projectId, arg_region,
- clusterName: arg_clusterName,
filter: arg_filter,
jobStateMatcher: arg_jobStateMatcher,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ clusterName: arg_clusterName,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListJobsResponse response) {
checkListJobsResponse(response);
diff --git a/generated/googleapis/test/datastore/v1_test.dart b/generated/googleapis/test/datastore/v1_test.dart
index 49b7a41..e80ea23 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);
}
-buildUnnamed655() {
+buildUnnamed660() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed655(core.List<api.Key> o) {
+checkUnnamed660(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 = buildUnnamed655();
+ o.keys = buildUnnamed660();
}
buildCounterAllocateIdsRequest--;
return o;
@@ -77,19 +77,19 @@
checkAllocateIdsRequest(api.AllocateIdsRequest o) {
buildCounterAllocateIdsRequest++;
if (buildCounterAllocateIdsRequest < 3) {
- checkUnnamed655(o.keys);
+ checkUnnamed660(o.keys);
}
buildCounterAllocateIdsRequest--;
}
-buildUnnamed656() {
+buildUnnamed661() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed656(core.List<api.Key> o) {
+checkUnnamed661(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 = buildUnnamed656();
+ o.keys = buildUnnamed661();
}
buildCounterAllocateIdsResponse--;
return o;
@@ -109,19 +109,19 @@
checkAllocateIdsResponse(api.AllocateIdsResponse o) {
buildCounterAllocateIdsResponse++;
if (buildCounterAllocateIdsResponse < 3) {
- checkUnnamed656(o.keys);
+ checkUnnamed661(o.keys);
}
buildCounterAllocateIdsResponse--;
}
-buildUnnamed657() {
+buildUnnamed662() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed657(core.List<api.Value> o) {
+checkUnnamed662(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 = buildUnnamed657();
+ o.values = buildUnnamed662();
}
buildCounterArrayValue--;
return o;
@@ -141,7 +141,7 @@
checkArrayValue(api.ArrayValue o) {
buildCounterArrayValue++;
if (buildCounterArrayValue < 3) {
- checkUnnamed657(o.values);
+ checkUnnamed662(o.values);
}
buildCounterArrayValue--;
}
@@ -184,14 +184,14 @@
buildCounterBeginTransactionResponse--;
}
-buildUnnamed658() {
+buildUnnamed663() {
var o = new core.List<api.Mutation>();
o.add(buildMutation());
o.add(buildMutation());
return o;
}
-checkUnnamed658(core.List<api.Mutation> o) {
+checkUnnamed663(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 = buildUnnamed658();
+ o.mutations = buildUnnamed663();
o.transaction = "foo";
}
buildCounterCommitRequest--;
@@ -214,20 +214,20 @@
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
unittest.expect(o.mode, unittest.equals('foo'));
- checkUnnamed658(o.mutations);
+ checkUnnamed663(o.mutations);
unittest.expect(o.transaction, unittest.equals('foo'));
}
buildCounterCommitRequest--;
}
-buildUnnamed659() {
+buildUnnamed664() {
var o = new core.List<api.MutationResult>();
o.add(buildMutationResult());
o.add(buildMutationResult());
return o;
}
-checkUnnamed659(core.List<api.MutationResult> o) {
+checkUnnamed664(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 = buildUnnamed659();
+ o.mutationResults = buildUnnamed664();
}
buildCounterCommitResponse--;
return o;
@@ -249,19 +249,19 @@
buildCounterCommitResponse++;
if (buildCounterCommitResponse < 3) {
unittest.expect(o.indexUpdates, unittest.equals(42));
- checkUnnamed659(o.mutationResults);
+ checkUnnamed664(o.mutationResults);
}
buildCounterCommitResponse--;
}
-buildUnnamed660() {
+buildUnnamed665() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed660(core.List<api.Filter> o) {
+checkUnnamed665(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 = buildUnnamed660();
+ o.filters = buildUnnamed665();
o.op = "foo";
}
buildCounterCompositeFilter--;
@@ -282,7 +282,7 @@
checkCompositeFilter(api.CompositeFilter o) {
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- checkUnnamed660(o.filters);
+ checkUnnamed665(o.filters);
unittest.expect(o.op, unittest.equals('foo'));
}
buildCounterCompositeFilter--;
@@ -303,14 +303,14 @@
buildCounterEmpty--;
}
-buildUnnamed661() {
+buildUnnamed666() {
var o = new core.Map<core.String, api.Value>();
o["x"] = buildValue();
o["y"] = buildValue();
return o;
}
-checkUnnamed661(core.Map<core.String, api.Value> o) {
+checkUnnamed666(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 = buildUnnamed661();
+ o.properties = buildUnnamed666();
}
buildCounterEntity--;
return o;
@@ -332,7 +332,7 @@
buildCounterEntity++;
if (buildCounterEntity < 3) {
checkKey(o.key);
- checkUnnamed661(o.properties);
+ checkUnnamed666(o.properties);
}
buildCounterEntity--;
}
@@ -381,14 +381,14 @@
buildCounterFilter--;
}
-buildUnnamed662() {
+buildUnnamed667() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed662(core.Map<core.String, core.String> o) {
+checkUnnamed667(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 @@
buildCounterGoogleDatastoreAdminV1beta1CommonMetadata++;
if (buildCounterGoogleDatastoreAdminV1beta1CommonMetadata < 3) {
o.endTime = "foo";
- o.labels = buildUnnamed662();
+ o.labels = buildUnnamed667();
o.operationType = "foo";
o.startTime = "foo";
o.state = "foo";
@@ -414,7 +414,7 @@
buildCounterGoogleDatastoreAdminV1beta1CommonMetadata++;
if (buildCounterGoogleDatastoreAdminV1beta1CommonMetadata < 3) {
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed662(o.labels);
+ checkUnnamed667(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 @@
buildCounterGoogleDatastoreAdminV1beta1CommonMetadata--;
}
-buildUnnamed663() {
+buildUnnamed668() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed663(core.List<core.String> o) {
+checkUnnamed668(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed664() {
+buildUnnamed669() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed664(core.List<core.String> o) {
+checkUnnamed669(core.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.GoogleDatastoreAdminV1beta1EntityFilter();
buildCounterGoogleDatastoreAdminV1beta1EntityFilter++;
if (buildCounterGoogleDatastoreAdminV1beta1EntityFilter < 3) {
- o.kinds = buildUnnamed663();
- o.namespaceIds = buildUnnamed664();
+ o.kinds = buildUnnamed668();
+ o.namespaceIds = buildUnnamed669();
}
buildCounterGoogleDatastoreAdminV1beta1EntityFilter--;
return o;
@@ -464,8 +464,8 @@
api.GoogleDatastoreAdminV1beta1EntityFilter o) {
buildCounterGoogleDatastoreAdminV1beta1EntityFilter++;
if (buildCounterGoogleDatastoreAdminV1beta1EntityFilter < 3) {
- checkUnnamed663(o.kinds);
- checkUnnamed664(o.namespaceIds);
+ checkUnnamed668(o.kinds);
+ checkUnnamed669(o.namespaceIds);
}
buildCounterGoogleDatastoreAdminV1beta1EntityFilter--;
}
@@ -568,14 +568,14 @@
buildCounterGoogleDatastoreAdminV1beta1Progress--;
}
-buildUnnamed665() {
+buildUnnamed670() {
var o = new core.List<api.GoogleLongrunningOperation>();
o.add(buildGoogleLongrunningOperation());
o.add(buildGoogleLongrunningOperation());
return o;
}
-checkUnnamed665(core.List<api.GoogleLongrunningOperation> o) {
+checkUnnamed670(core.List<api.GoogleLongrunningOperation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleLongrunningOperation(o[0]);
checkGoogleLongrunningOperation(o[1]);
@@ -587,7 +587,7 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed665();
+ o.operations = buildUnnamed670();
}
buildCounterGoogleLongrunningListOperationsResponse--;
return o;
@@ -598,12 +598,12 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed665(o.operations);
+ checkUnnamed670(o.operations);
}
buildCounterGoogleLongrunningListOperationsResponse--;
}
-buildUnnamed666() {
+buildUnnamed671() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -618,7 +618,7 @@
return o;
}
-checkUnnamed666(core.Map<core.String, core.Object> o) {
+checkUnnamed671(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));
@@ -632,7 +632,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed667() {
+buildUnnamed672() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -647,7 +647,7 @@
return o;
}
-checkUnnamed667(core.Map<core.String, core.Object> o) {
+checkUnnamed672(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));
@@ -668,9 +668,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed666();
+ o.metadata = buildUnnamed671();
o.name = "foo";
- o.response = buildUnnamed667();
+ o.response = buildUnnamed672();
}
buildCounterGoogleLongrunningOperation--;
return o;
@@ -681,34 +681,34 @@
if (buildCounterGoogleLongrunningOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed666(o.metadata);
+ checkUnnamed671(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed667(o.response);
+ checkUnnamed672(o.response);
}
buildCounterGoogleLongrunningOperation--;
}
-buildUnnamed668() {
+buildUnnamed673() {
var o = new core.Map<core.String, api.GqlQueryParameter>();
o["x"] = buildGqlQueryParameter();
o["y"] = buildGqlQueryParameter();
return o;
}
-checkUnnamed668(core.Map<core.String, api.GqlQueryParameter> o) {
+checkUnnamed673(core.Map<core.String, api.GqlQueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkGqlQueryParameter(o["x"]);
checkGqlQueryParameter(o["y"]);
}
-buildUnnamed669() {
+buildUnnamed674() {
var o = new core.List<api.GqlQueryParameter>();
o.add(buildGqlQueryParameter());
o.add(buildGqlQueryParameter());
return o;
}
-checkUnnamed669(core.List<api.GqlQueryParameter> o) {
+checkUnnamed674(core.List<api.GqlQueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkGqlQueryParameter(o[0]);
checkGqlQueryParameter(o[1]);
@@ -720,8 +720,8 @@
buildCounterGqlQuery++;
if (buildCounterGqlQuery < 3) {
o.allowLiterals = true;
- o.namedBindings = buildUnnamed668();
- o.positionalBindings = buildUnnamed669();
+ o.namedBindings = buildUnnamed673();
+ o.positionalBindings = buildUnnamed674();
o.queryString = "foo";
}
buildCounterGqlQuery--;
@@ -732,8 +732,8 @@
buildCounterGqlQuery++;
if (buildCounterGqlQuery < 3) {
unittest.expect(o.allowLiterals, unittest.isTrue);
- checkUnnamed668(o.namedBindings);
- checkUnnamed669(o.positionalBindings);
+ checkUnnamed673(o.namedBindings);
+ checkUnnamed674(o.positionalBindings);
unittest.expect(o.queryString, unittest.equals('foo'));
}
buildCounterGqlQuery--;
@@ -760,14 +760,14 @@
buildCounterGqlQueryParameter--;
}
-buildUnnamed670() {
+buildUnnamed675() {
var o = new core.List<api.PathElement>();
o.add(buildPathElement());
o.add(buildPathElement());
return o;
}
-checkUnnamed670(core.List<api.PathElement> o) {
+checkUnnamed675(core.List<api.PathElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathElement(o[0]);
checkPathElement(o[1]);
@@ -779,7 +779,7 @@
buildCounterKey++;
if (buildCounterKey < 3) {
o.partitionId = buildPartitionId();
- o.path = buildUnnamed670();
+ o.path = buildUnnamed675();
}
buildCounterKey--;
return o;
@@ -789,7 +789,7 @@
buildCounterKey++;
if (buildCounterKey < 3) {
checkPartitionId(o.partitionId);
- checkUnnamed670(o.path);
+ checkUnnamed675(o.path);
}
buildCounterKey--;
}
@@ -834,14 +834,14 @@
buildCounterLatLng--;
}
-buildUnnamed671() {
+buildUnnamed676() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed671(core.List<api.Key> o) {
+checkUnnamed676(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -852,7 +852,7 @@
var o = new api.LookupRequest();
buildCounterLookupRequest++;
if (buildCounterLookupRequest < 3) {
- o.keys = buildUnnamed671();
+ o.keys = buildUnnamed676();
o.readOptions = buildReadOptions();
}
buildCounterLookupRequest--;
@@ -862,46 +862,46 @@
checkLookupRequest(api.LookupRequest o) {
buildCounterLookupRequest++;
if (buildCounterLookupRequest < 3) {
- checkUnnamed671(o.keys);
+ checkUnnamed676(o.keys);
checkReadOptions(o.readOptions);
}
buildCounterLookupRequest--;
}
-buildUnnamed672() {
+buildUnnamed677() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed672(core.List<api.Key> o) {
+checkUnnamed677(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
}
-buildUnnamed673() {
+buildUnnamed678() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed673(core.List<api.EntityResult> o) {
+checkUnnamed678(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
}
-buildUnnamed674() {
+buildUnnamed679() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed674(core.List<api.EntityResult> o) {
+checkUnnamed679(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
@@ -912,9 +912,9 @@
var o = new api.LookupResponse();
buildCounterLookupResponse++;
if (buildCounterLookupResponse < 3) {
- o.deferred = buildUnnamed672();
- o.found = buildUnnamed673();
- o.missing = buildUnnamed674();
+ o.deferred = buildUnnamed677();
+ o.found = buildUnnamed678();
+ o.missing = buildUnnamed679();
}
buildCounterLookupResponse--;
return o;
@@ -923,9 +923,9 @@
checkLookupResponse(api.LookupResponse o) {
buildCounterLookupResponse++;
if (buildCounterLookupResponse < 3) {
- checkUnnamed672(o.deferred);
- checkUnnamed673(o.found);
- checkUnnamed674(o.missing);
+ checkUnnamed677(o.deferred);
+ checkUnnamed678(o.found);
+ checkUnnamed679(o.missing);
}
buildCounterLookupResponse--;
}
@@ -1106,53 +1106,53 @@
buildCounterPropertyReference--;
}
-buildUnnamed675() {
+buildUnnamed680() {
var o = new core.List<api.PropertyReference>();
o.add(buildPropertyReference());
o.add(buildPropertyReference());
return o;
}
-checkUnnamed675(core.List<api.PropertyReference> o) {
+checkUnnamed680(core.List<api.PropertyReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyReference(o[0]);
checkPropertyReference(o[1]);
}
-buildUnnamed676() {
+buildUnnamed681() {
var o = new core.List<api.KindExpression>();
o.add(buildKindExpression());
o.add(buildKindExpression());
return o;
}
-checkUnnamed676(core.List<api.KindExpression> o) {
+checkUnnamed681(core.List<api.KindExpression> o) {
unittest.expect(o, unittest.hasLength(2));
checkKindExpression(o[0]);
checkKindExpression(o[1]);
}
-buildUnnamed677() {
+buildUnnamed682() {
var o = new core.List<api.PropertyOrder>();
o.add(buildPropertyOrder());
o.add(buildPropertyOrder());
return o;
}
-checkUnnamed677(core.List<api.PropertyOrder> o) {
+checkUnnamed682(core.List<api.PropertyOrder> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyOrder(o[0]);
checkPropertyOrder(o[1]);
}
-buildUnnamed678() {
+buildUnnamed683() {
var o = new core.List<api.Projection>();
o.add(buildProjection());
o.add(buildProjection());
return o;
}
-checkUnnamed678(core.List<api.Projection> o) {
+checkUnnamed683(core.List<api.Projection> o) {
unittest.expect(o, unittest.hasLength(2));
checkProjection(o[0]);
checkProjection(o[1]);
@@ -1163,14 +1163,14 @@
var o = new api.Query();
buildCounterQuery++;
if (buildCounterQuery < 3) {
- o.distinctOn = buildUnnamed675();
+ o.distinctOn = buildUnnamed680();
o.endCursor = "foo";
o.filter = buildFilter();
- o.kind = buildUnnamed676();
+ o.kind = buildUnnamed681();
o.limit = 42;
o.offset = 42;
- o.order = buildUnnamed677();
- o.projection = buildUnnamed678();
+ o.order = buildUnnamed682();
+ o.projection = buildUnnamed683();
o.startCursor = "foo";
}
buildCounterQuery--;
@@ -1180,27 +1180,27 @@
checkQuery(api.Query o) {
buildCounterQuery++;
if (buildCounterQuery < 3) {
- checkUnnamed675(o.distinctOn);
+ checkUnnamed680(o.distinctOn);
unittest.expect(o.endCursor, unittest.equals('foo'));
checkFilter(o.filter);
- checkUnnamed676(o.kind);
+ checkUnnamed681(o.kind);
unittest.expect(o.limit, unittest.equals(42));
unittest.expect(o.offset, unittest.equals(42));
- checkUnnamed677(o.order);
- checkUnnamed678(o.projection);
+ checkUnnamed682(o.order);
+ checkUnnamed683(o.projection);
unittest.expect(o.startCursor, unittest.equals('foo'));
}
buildCounterQuery--;
}
-buildUnnamed679() {
+buildUnnamed684() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed679(core.List<api.EntityResult> o) {
+checkUnnamed684(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
@@ -1213,7 +1213,7 @@
if (buildCounterQueryResultBatch < 3) {
o.endCursor = "foo";
o.entityResultType = "foo";
- o.entityResults = buildUnnamed679();
+ o.entityResults = buildUnnamed684();
o.moreResults = "foo";
o.skippedCursor = "foo";
o.skippedResults = 42;
@@ -1228,7 +1228,7 @@
if (buildCounterQueryResultBatch < 3) {
unittest.expect(o.endCursor, unittest.equals('foo'));
unittest.expect(o.entityResultType, unittest.equals('foo'));
- checkUnnamed679(o.entityResults);
+ checkUnnamed684(o.entityResults);
unittest.expect(o.moreResults, unittest.equals('foo'));
unittest.expect(o.skippedCursor, unittest.equals('foo'));
unittest.expect(o.skippedResults, unittest.equals(42));
@@ -1292,14 +1292,14 @@
buildCounterReadWrite--;
}
-buildUnnamed680() {
+buildUnnamed685() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed680(core.List<api.Key> o) {
+checkUnnamed685(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -1311,7 +1311,7 @@
buildCounterReserveIdsRequest++;
if (buildCounterReserveIdsRequest < 3) {
o.databaseId = "foo";
- o.keys = buildUnnamed680();
+ o.keys = buildUnnamed685();
}
buildCounterReserveIdsRequest--;
return o;
@@ -1321,7 +1321,7 @@
buildCounterReserveIdsRequest++;
if (buildCounterReserveIdsRequest < 3) {
unittest.expect(o.databaseId, unittest.equals('foo'));
- checkUnnamed680(o.keys);
+ checkUnnamed685(o.keys);
}
buildCounterReserveIdsRequest--;
}
@@ -1421,7 +1421,7 @@
buildCounterRunQueryResponse--;
}
-buildUnnamed681() {
+buildUnnamed686() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1436,7 +1436,7 @@
return o;
}
-checkUnnamed681(core.Map<core.String, core.Object> o) {
+checkUnnamed686(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));
@@ -1450,17 +1450,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed682() {
+buildUnnamed687() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed681());
- o.add(buildUnnamed681());
+ o.add(buildUnnamed686());
+ o.add(buildUnnamed686());
return o;
}
-checkUnnamed682(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed687(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed681(o[0]);
- checkUnnamed681(o[1]);
+ checkUnnamed686(o[0]);
+ checkUnnamed686(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1469,7 +1469,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed682();
+ o.details = buildUnnamed687();
o.message = "foo";
}
buildCounterStatus--;
@@ -1480,7 +1480,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed682(o.details);
+ checkUnnamed687(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2559,9 +2559,9 @@
api.ProjectsOperationsResourceApi res =
new api.DatastoreApi(mock).projects.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;
@@ -2594,11 +2594,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 = {
@@ -2610,9 +2610,9 @@
}), true);
res
.list(arg_name,
+ filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
- filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(
((api.GoogleLongrunningListOperationsResponse response) {
diff --git a/generated/googleapis/test/deploymentmanager/v2_test.dart b/generated/googleapis/test/deploymentmanager/v2_test.dart
index 146d218..1233b09 100644
--- a/generated/googleapis/test/deploymentmanager/v2_test.dart
+++ b/generated/googleapis/test/deploymentmanager/v2_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2247() {
+buildUnnamed2266() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed2247(core.List<api.AuditLogConfig> o) {
+checkUnnamed2266(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed2248() {
+buildUnnamed2267() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2248(core.List<core.String> o) {
+checkUnnamed2267(core.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.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed2247();
- o.exemptedMembers = buildUnnamed2248();
+ o.auditLogConfigs = buildUnnamed2266();
+ o.exemptedMembers = buildUnnamed2267();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -92,21 +92,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed2247(o.auditLogConfigs);
- checkUnnamed2248(o.exemptedMembers);
+ checkUnnamed2266(o.auditLogConfigs);
+ checkUnnamed2267(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed2249() {
+buildUnnamed2268() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2249(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'));
@@ -117,7 +117,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed2249();
+ o.exemptedMembers = buildUnnamed2268();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -127,7 +127,7 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed2249(o.exemptedMembers);
+ checkUnnamed2268(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
@@ -152,14 +152,14 @@
buildCounterAuthorizationLoggingOptions--;
}
-buildUnnamed2250() {
+buildUnnamed2269() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2250(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'));
@@ -171,7 +171,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed2250();
+ o.members = buildUnnamed2269();
o.role = "foo";
}
buildCounterBinding--;
@@ -182,20 +182,20 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed2250(o.members);
+ checkUnnamed2269(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed2251() {
+buildUnnamed2270() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2251(core.List<core.String> o) {
+checkUnnamed2270(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -211,7 +211,7 @@
o.svc = "foo";
o.sys = "foo";
o.value = "foo";
- o.values = buildUnnamed2251();
+ o.values = buildUnnamed2270();
}
buildCounterCondition--;
return o;
@@ -225,7 +225,7 @@
unittest.expect(o.svc, unittest.equals('foo'));
unittest.expect(o.sys, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
- checkUnnamed2251(o.values);
+ checkUnnamed2270(o.values);
}
buildCounterCondition--;
}
@@ -249,14 +249,14 @@
buildCounterConfigFile--;
}
-buildUnnamed2252() {
+buildUnnamed2271() {
var o = new core.List<api.DeploymentLabelEntry>();
o.add(buildDeploymentLabelEntry());
o.add(buildDeploymentLabelEntry());
return o;
}
-checkUnnamed2252(core.List<api.DeploymentLabelEntry> o) {
+checkUnnamed2271(core.List<api.DeploymentLabelEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeploymentLabelEntry(o[0]);
checkDeploymentLabelEntry(o[1]);
@@ -271,7 +271,7 @@
o.fingerprint = "foo";
o.id = "foo";
o.insertTime = "foo";
- o.labels = buildUnnamed2252();
+ o.labels = buildUnnamed2271();
o.manifest = "foo";
o.name = "foo";
o.operation = buildOperation();
@@ -290,7 +290,7 @@
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.insertTime, unittest.equals('foo'));
- checkUnnamed2252(o.labels);
+ checkUnnamed2271(o.labels);
unittest.expect(o.manifest, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkOperation(o.operation);
@@ -322,14 +322,14 @@
buildCounterDeploymentLabelEntry--;
}
-buildUnnamed2253() {
+buildUnnamed2272() {
var o = new core.List<api.DeploymentUpdateLabelEntry>();
o.add(buildDeploymentUpdateLabelEntry());
o.add(buildDeploymentUpdateLabelEntry());
return o;
}
-checkUnnamed2253(core.List<api.DeploymentUpdateLabelEntry> o) {
+checkUnnamed2272(core.List<api.DeploymentUpdateLabelEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeploymentUpdateLabelEntry(o[0]);
checkDeploymentUpdateLabelEntry(o[1]);
@@ -341,7 +341,7 @@
buildCounterDeploymentUpdate++;
if (buildCounterDeploymentUpdate < 3) {
o.description = "foo";
- o.labels = buildUnnamed2253();
+ o.labels = buildUnnamed2272();
o.manifest = "foo";
}
buildCounterDeploymentUpdate--;
@@ -352,7 +352,7 @@
buildCounterDeploymentUpdate++;
if (buildCounterDeploymentUpdate < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2253(o.labels);
+ checkUnnamed2272(o.labels);
unittest.expect(o.manifest, unittest.equals('foo'));
}
buildCounterDeploymentUpdate--;
@@ -398,14 +398,14 @@
buildCounterDeploymentsCancelPreviewRequest--;
}
-buildUnnamed2254() {
+buildUnnamed2273() {
var o = new core.List<api.Deployment>();
o.add(buildDeployment());
o.add(buildDeployment());
return o;
}
-checkUnnamed2254(core.List<api.Deployment> o) {
+checkUnnamed2273(core.List<api.Deployment> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeployment(o[0]);
checkDeployment(o[1]);
@@ -416,7 +416,7 @@
var o = new api.DeploymentsListResponse();
buildCounterDeploymentsListResponse++;
if (buildCounterDeploymentsListResponse < 3) {
- o.deployments = buildUnnamed2254();
+ o.deployments = buildUnnamed2273();
o.nextPageToken = "foo";
}
buildCounterDeploymentsListResponse--;
@@ -426,7 +426,7 @@
checkDeploymentsListResponse(api.DeploymentsListResponse o) {
buildCounterDeploymentsListResponse++;
if (buildCounterDeploymentsListResponse < 3) {
- checkUnnamed2254(o.deployments);
+ checkUnnamed2273(o.deployments);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterDeploymentsListResponse--;
@@ -581,14 +581,14 @@
buildCounterLogConfigDataAccessOptions--;
}
-buildUnnamed2255() {
+buildUnnamed2274() {
var o = new core.List<api.ImportFile>();
o.add(buildImportFile());
o.add(buildImportFile());
return o;
}
-checkUnnamed2255(core.List<api.ImportFile> o) {
+checkUnnamed2274(core.List<api.ImportFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkImportFile(o[0]);
checkImportFile(o[1]);
@@ -602,7 +602,7 @@
o.config = buildConfigFile();
o.expandedConfig = "foo";
o.id = "foo";
- o.imports = buildUnnamed2255();
+ o.imports = buildUnnamed2274();
o.insertTime = "foo";
o.layout = "foo";
o.name = "foo";
@@ -618,7 +618,7 @@
checkConfigFile(o.config);
unittest.expect(o.expandedConfig, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2255(o.imports);
+ checkUnnamed2274(o.imports);
unittest.expect(o.insertTime, unittest.equals('foo'));
unittest.expect(o.layout, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -627,14 +627,14 @@
buildCounterManifest--;
}
-buildUnnamed2256() {
+buildUnnamed2275() {
var o = new core.List<api.Manifest>();
o.add(buildManifest());
o.add(buildManifest());
return o;
}
-checkUnnamed2256(core.List<api.Manifest> o) {
+checkUnnamed2275(core.List<api.Manifest> o) {
unittest.expect(o, unittest.hasLength(2));
checkManifest(o[0]);
checkManifest(o[1]);
@@ -645,7 +645,7 @@
var o = new api.ManifestsListResponse();
buildCounterManifestsListResponse++;
if (buildCounterManifestsListResponse < 3) {
- o.manifests = buildUnnamed2256();
+ o.manifests = buildUnnamed2275();
o.nextPageToken = "foo";
}
buildCounterManifestsListResponse--;
@@ -655,7 +655,7 @@
checkManifestsListResponse(api.ManifestsListResponse o) {
buildCounterManifestsListResponse++;
if (buildCounterManifestsListResponse < 3) {
- checkUnnamed2256(o.manifests);
+ checkUnnamed2275(o.manifests);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterManifestsListResponse--;
@@ -684,14 +684,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed2257() {
+buildUnnamed2276() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed2257(core.List<api.OperationErrorErrors> o) {
+checkUnnamed2276(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -702,7 +702,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed2257();
+ o.errors = buildUnnamed2276();
}
buildCounterOperationError--;
return o;
@@ -711,7 +711,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed2257(o.errors);
+ checkUnnamed2276(o.errors);
}
buildCounterOperationError--;
}
@@ -737,14 +737,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed2258() {
+buildUnnamed2277() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed2258(core.List<api.OperationWarningsData> o) {
+checkUnnamed2277(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -756,7 +756,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2258();
+ o.data = buildUnnamed2277();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -767,20 +767,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2258(o.data);
+ checkUnnamed2277(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed2259() {
+buildUnnamed2278() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed2259(core.List<api.OperationWarnings> o) {
+checkUnnamed2278(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -812,7 +812,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed2259();
+ o.warnings = buildUnnamed2278();
o.zone = "foo";
}
buildCounterOperation--;
@@ -843,20 +843,20 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed2259(o.warnings);
+ checkUnnamed2278(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed2260() {
+buildUnnamed2279() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2260(core.List<api.Operation> o) {
+checkUnnamed2279(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -868,7 +868,7 @@
buildCounterOperationsListResponse++;
if (buildCounterOperationsListResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2260();
+ o.operations = buildUnnamed2279();
}
buildCounterOperationsListResponse--;
return o;
@@ -878,45 +878,45 @@
buildCounterOperationsListResponse++;
if (buildCounterOperationsListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2260(o.operations);
+ checkUnnamed2279(o.operations);
}
buildCounterOperationsListResponse--;
}
-buildUnnamed2261() {
+buildUnnamed2280() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed2261(core.List<api.AuditConfig> o) {
+checkUnnamed2280(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed2262() {
+buildUnnamed2281() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed2262(core.List<api.Binding> o) {
+checkUnnamed2281(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
}
-buildUnnamed2263() {
+buildUnnamed2282() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed2263(core.List<api.Rule> o) {
+checkUnnamed2282(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -927,11 +927,11 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed2261();
- o.bindings = buildUnnamed2262();
+ o.auditConfigs = buildUnnamed2280();
+ o.bindings = buildUnnamed2281();
o.etag = "foo";
o.iamOwned = true;
- o.rules = buildUnnamed2263();
+ o.rules = buildUnnamed2282();
o.version = 42;
}
buildCounterPolicy--;
@@ -941,11 +941,11 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed2261(o.auditConfigs);
- checkUnnamed2262(o.bindings);
+ checkUnnamed2280(o.auditConfigs);
+ checkUnnamed2281(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
- checkUnnamed2263(o.rules);
+ checkUnnamed2282(o.rules);
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
@@ -972,14 +972,14 @@
buildCounterResourceWarningsData--;
}
-buildUnnamed2264() {
+buildUnnamed2283() {
var o = new core.List<api.ResourceWarningsData>();
o.add(buildResourceWarningsData());
o.add(buildResourceWarningsData());
return o;
}
-checkUnnamed2264(core.List<api.ResourceWarningsData> o) {
+checkUnnamed2283(core.List<api.ResourceWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceWarningsData(o[0]);
checkResourceWarningsData(o[1]);
@@ -991,7 +991,7 @@
buildCounterResourceWarnings++;
if (buildCounterResourceWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2264();
+ o.data = buildUnnamed2283();
o.message = "foo";
}
buildCounterResourceWarnings--;
@@ -1002,20 +1002,20 @@
buildCounterResourceWarnings++;
if (buildCounterResourceWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2264(o.data);
+ checkUnnamed2283(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterResourceWarnings--;
}
-buildUnnamed2265() {
+buildUnnamed2284() {
var o = new core.List<api.ResourceWarnings>();
o.add(buildResourceWarnings());
o.add(buildResourceWarnings());
return o;
}
-checkUnnamed2265(core.List<api.ResourceWarnings> o) {
+checkUnnamed2284(core.List<api.ResourceWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceWarnings(o[0]);
checkResourceWarnings(o[1]);
@@ -1037,7 +1037,7 @@
o.update = buildResourceUpdate();
o.updateTime = "foo";
o.url = "foo";
- o.warnings = buildUnnamed2265();
+ o.warnings = buildUnnamed2284();
}
buildCounterResource--;
return o;
@@ -1057,7 +1057,7 @@
checkResourceUpdate(o.update);
unittest.expect(o.updateTime, unittest.equals('foo'));
unittest.expect(o.url, unittest.equals('foo'));
- checkUnnamed2265(o.warnings);
+ checkUnnamed2284(o.warnings);
}
buildCounterResource--;
}
@@ -1104,14 +1104,14 @@
buildCounterResourceUpdateErrorErrors--;
}
-buildUnnamed2266() {
+buildUnnamed2285() {
var o = new core.List<api.ResourceUpdateErrorErrors>();
o.add(buildResourceUpdateErrorErrors());
o.add(buildResourceUpdateErrorErrors());
return o;
}
-checkUnnamed2266(core.List<api.ResourceUpdateErrorErrors> o) {
+checkUnnamed2285(core.List<api.ResourceUpdateErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceUpdateErrorErrors(o[0]);
checkResourceUpdateErrorErrors(o[1]);
@@ -1122,7 +1122,7 @@
var o = new api.ResourceUpdateError();
buildCounterResourceUpdateError++;
if (buildCounterResourceUpdateError < 3) {
- o.errors = buildUnnamed2266();
+ o.errors = buildUnnamed2285();
}
buildCounterResourceUpdateError--;
return o;
@@ -1131,7 +1131,7 @@
checkResourceUpdateError(api.ResourceUpdateError o) {
buildCounterResourceUpdateError++;
if (buildCounterResourceUpdateError < 3) {
- checkUnnamed2266(o.errors);
+ checkUnnamed2285(o.errors);
}
buildCounterResourceUpdateError--;
}
@@ -1157,14 +1157,14 @@
buildCounterResourceUpdateWarningsData--;
}
-buildUnnamed2267() {
+buildUnnamed2286() {
var o = new core.List<api.ResourceUpdateWarningsData>();
o.add(buildResourceUpdateWarningsData());
o.add(buildResourceUpdateWarningsData());
return o;
}
-checkUnnamed2267(core.List<api.ResourceUpdateWarningsData> o) {
+checkUnnamed2286(core.List<api.ResourceUpdateWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceUpdateWarningsData(o[0]);
checkResourceUpdateWarningsData(o[1]);
@@ -1176,7 +1176,7 @@
buildCounterResourceUpdateWarnings++;
if (buildCounterResourceUpdateWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2267();
+ o.data = buildUnnamed2286();
o.message = "foo";
}
buildCounterResourceUpdateWarnings--;
@@ -1187,20 +1187,20 @@
buildCounterResourceUpdateWarnings++;
if (buildCounterResourceUpdateWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2267(o.data);
+ checkUnnamed2286(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterResourceUpdateWarnings--;
}
-buildUnnamed2268() {
+buildUnnamed2287() {
var o = new core.List<api.ResourceUpdateWarnings>();
o.add(buildResourceUpdateWarnings());
o.add(buildResourceUpdateWarnings());
return o;
}
-checkUnnamed2268(core.List<api.ResourceUpdateWarnings> o) {
+checkUnnamed2287(core.List<api.ResourceUpdateWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceUpdateWarnings(o[0]);
checkResourceUpdateWarnings(o[1]);
@@ -1218,7 +1218,7 @@
o.manifest = "foo";
o.properties = "foo";
o.state = "foo";
- o.warnings = buildUnnamed2268();
+ o.warnings = buildUnnamed2287();
}
buildCounterResourceUpdate--;
return o;
@@ -1234,19 +1234,19 @@
unittest.expect(o.manifest, unittest.equals('foo'));
unittest.expect(o.properties, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed2268(o.warnings);
+ checkUnnamed2287(o.warnings);
}
buildCounterResourceUpdate--;
}
-buildUnnamed2269() {
+buildUnnamed2288() {
var o = new core.List<api.Resource>();
o.add(buildResource());
o.add(buildResource());
return o;
}
-checkUnnamed2269(core.List<api.Resource> o) {
+checkUnnamed2288(core.List<api.Resource> o) {
unittest.expect(o, unittest.hasLength(2));
checkResource(o[0]);
checkResource(o[1]);
@@ -1258,7 +1258,7 @@
buildCounterResourcesListResponse++;
if (buildCounterResourcesListResponse < 3) {
o.nextPageToken = "foo";
- o.resources = buildUnnamed2269();
+ o.resources = buildUnnamed2288();
}
buildCounterResourcesListResponse--;
return o;
@@ -1268,71 +1268,71 @@
buildCounterResourcesListResponse++;
if (buildCounterResourcesListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2269(o.resources);
+ checkUnnamed2288(o.resources);
}
buildCounterResourcesListResponse--;
}
-buildUnnamed2270() {
+buildUnnamed2289() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed2270(core.List<api.Condition> o) {
+checkUnnamed2289(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed2271() {
+buildUnnamed2290() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2271(core.List<core.String> o) {
+checkUnnamed2290(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2272() {
+buildUnnamed2291() {
var o = new core.List<api.LogConfig>();
o.add(buildLogConfig());
o.add(buildLogConfig());
return o;
}
-checkUnnamed2272(core.List<api.LogConfig> o) {
+checkUnnamed2291(core.List<api.LogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogConfig(o[0]);
checkLogConfig(o[1]);
}
-buildUnnamed2273() {
+buildUnnamed2292() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2273(core.List<core.String> o) {
+checkUnnamed2292(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2274() {
+buildUnnamed2293() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2274(core.List<core.String> o) {
+checkUnnamed2293(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1344,12 +1344,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.action = "foo";
- o.conditions = buildUnnamed2270();
+ o.conditions = buildUnnamed2289();
o.description = "foo";
- o.ins = buildUnnamed2271();
- o.logConfigs = buildUnnamed2272();
- o.notIns = buildUnnamed2273();
- o.permissions = buildUnnamed2274();
+ o.ins = buildUnnamed2290();
+ o.logConfigs = buildUnnamed2291();
+ o.notIns = buildUnnamed2292();
+ o.permissions = buildUnnamed2293();
}
buildCounterRule--;
return o;
@@ -1359,24 +1359,24 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed2270(o.conditions);
+ checkUnnamed2289(o.conditions);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2271(o.ins);
- checkUnnamed2272(o.logConfigs);
- checkUnnamed2273(o.notIns);
- checkUnnamed2274(o.permissions);
+ checkUnnamed2290(o.ins);
+ checkUnnamed2291(o.logConfigs);
+ checkUnnamed2292(o.notIns);
+ checkUnnamed2293(o.permissions);
}
buildCounterRule--;
}
-buildUnnamed2275() {
+buildUnnamed2294() {
var o = new core.List<api.ImportFile>();
o.add(buildImportFile());
o.add(buildImportFile());
return o;
}
-checkUnnamed2275(core.List<api.ImportFile> o) {
+checkUnnamed2294(core.List<api.ImportFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkImportFile(o[0]);
checkImportFile(o[1]);
@@ -1388,7 +1388,7 @@
buildCounterTargetConfiguration++;
if (buildCounterTargetConfiguration < 3) {
o.config = buildConfigFile();
- o.imports = buildUnnamed2275();
+ o.imports = buildUnnamed2294();
}
buildCounterTargetConfiguration--;
return o;
@@ -1398,19 +1398,19 @@
buildCounterTargetConfiguration++;
if (buildCounterTargetConfiguration < 3) {
checkConfigFile(o.config);
- checkUnnamed2275(o.imports);
+ checkUnnamed2294(o.imports);
}
buildCounterTargetConfiguration--;
}
-buildUnnamed2276() {
+buildUnnamed2295() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2276(core.List<core.String> o) {
+checkUnnamed2295(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1421,7 +1421,7 @@
var o = new api.TestPermissionsRequest();
buildCounterTestPermissionsRequest++;
if (buildCounterTestPermissionsRequest < 3) {
- o.permissions = buildUnnamed2276();
+ o.permissions = buildUnnamed2295();
}
buildCounterTestPermissionsRequest--;
return o;
@@ -1430,19 +1430,19 @@
checkTestPermissionsRequest(api.TestPermissionsRequest o) {
buildCounterTestPermissionsRequest++;
if (buildCounterTestPermissionsRequest < 3) {
- checkUnnamed2276(o.permissions);
+ checkUnnamed2295(o.permissions);
}
buildCounterTestPermissionsRequest--;
}
-buildUnnamed2277() {
+buildUnnamed2296() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2277(core.List<core.String> o) {
+checkUnnamed2296(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1453,7 +1453,7 @@
var o = new api.TestPermissionsResponse();
buildCounterTestPermissionsResponse++;
if (buildCounterTestPermissionsResponse < 3) {
- o.permissions = buildUnnamed2277();
+ o.permissions = buildUnnamed2296();
}
buildCounterTestPermissionsResponse--;
return o;
@@ -1462,7 +1462,7 @@
checkTestPermissionsResponse(api.TestPermissionsResponse o) {
buildCounterTestPermissionsResponse++;
if (buildCounterTestPermissionsResponse < 3) {
- checkUnnamed2277(o.permissions);
+ checkUnnamed2296(o.permissions);
}
buildCounterTestPermissionsResponse--;
}
@@ -1494,14 +1494,14 @@
buildCounterType--;
}
-buildUnnamed2278() {
+buildUnnamed2297() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed2278(core.List<api.Type> o) {
+checkUnnamed2297(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
@@ -1513,7 +1513,7 @@
buildCounterTypesListResponse++;
if (buildCounterTypesListResponse < 3) {
o.nextPageToken = "foo";
- o.types = buildUnnamed2278();
+ o.types = buildUnnamed2297();
}
buildCounterTypesListResponse--;
return o;
@@ -1523,7 +1523,7 @@
buildCounterTypesListResponse++;
if (buildCounterTypesListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2278(o.types);
+ checkUnnamed2297(o.types);
}
buildCounterTypesListResponse--;
}
diff --git a/generated/googleapis/test/dfareporting/v2_8_test.dart b/generated/googleapis/test/dfareporting/v2_8_test.dart
index 28a87d0..c64abdd 100644
--- a/generated/googleapis/test/dfareporting/v2_8_test.dart
+++ b/generated/googleapis/test/dfareporting/v2_8_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3214() {
+buildUnnamed3233() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3214(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'));
}
-buildUnnamed3215() {
+buildUnnamed3234() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3215(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,12 +81,12 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.accountPermissionIds = buildUnnamed3214();
+ o.accountPermissionIds = buildUnnamed3233();
o.accountProfile = "foo";
o.active = true;
o.activeAdsLimitTier = "foo";
o.activeViewOptOut = true;
- o.availablePermissionIds = buildUnnamed3215();
+ o.availablePermissionIds = buildUnnamed3234();
o.countryId = "foo";
o.currencyId = "foo";
o.defaultCreativeSizeId = "foo";
@@ -108,12 +108,12 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed3214(o.accountPermissionIds);
+ checkUnnamed3233(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);
- checkUnnamed3215(o.availablePermissionIds);
+ checkUnnamed3234(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--;
}
-buildUnnamed3216() {
+buildUnnamed3235() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3216(core.List<core.String> o) {
+checkUnnamed3235(core.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 = buildUnnamed3216();
+ o.accountProfiles = buildUnnamed3235();
o.id = "foo";
o.kind = "foo";
o.level = "foo";
@@ -190,7 +190,7 @@
checkAccountPermission(api.AccountPermission o) {
buildCounterAccountPermission++;
if (buildCounterAccountPermission < 3) {
- checkUnnamed3216(o.accountProfiles);
+ checkUnnamed3235(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--;
}
-buildUnnamed3217() {
+buildUnnamed3236() {
var o = new core.List<api.AccountPermissionGroup>();
o.add(buildAccountPermissionGroup());
o.add(buildAccountPermissionGroup());
return o;
}
-checkUnnamed3217(core.List<api.AccountPermissionGroup> o) {
+checkUnnamed3236(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 = buildUnnamed3217();
+ o.accountPermissionGroups = buildUnnamed3236();
o.kind = "foo";
}
buildCounterAccountPermissionGroupsListResponse--;
@@ -252,20 +252,20 @@
api.AccountPermissionGroupsListResponse o) {
buildCounterAccountPermissionGroupsListResponse++;
if (buildCounterAccountPermissionGroupsListResponse < 3) {
- checkUnnamed3217(o.accountPermissionGroups);
+ checkUnnamed3236(o.accountPermissionGroups);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountPermissionGroupsListResponse--;
}
-buildUnnamed3218() {
+buildUnnamed3237() {
var o = new core.List<api.AccountPermission>();
o.add(buildAccountPermission());
o.add(buildAccountPermission());
return o;
}
-checkUnnamed3218(core.List<api.AccountPermission> o) {
+checkUnnamed3237(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 = buildUnnamed3218();
+ o.accountPermissions = buildUnnamed3237();
o.kind = "foo";
}
buildCounterAccountPermissionsListResponse--;
@@ -286,7 +286,7 @@
checkAccountPermissionsListResponse(api.AccountPermissionsListResponse o) {
buildCounterAccountPermissionsListResponse++;
if (buildCounterAccountPermissionsListResponse < 3) {
- checkUnnamed3218(o.accountPermissions);
+ checkUnnamed3237(o.accountPermissions);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountPermissionsListResponse--;
@@ -341,14 +341,14 @@
buildCounterAccountUserProfile--;
}
-buildUnnamed3219() {
+buildUnnamed3238() {
var o = new core.List<api.AccountUserProfile>();
o.add(buildAccountUserProfile());
o.add(buildAccountUserProfile());
return o;
}
-checkUnnamed3219(core.List<api.AccountUserProfile> o) {
+checkUnnamed3238(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 = buildUnnamed3219();
+ o.accountUserProfiles = buildUnnamed3238();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -370,21 +370,21 @@
checkAccountUserProfilesListResponse(api.AccountUserProfilesListResponse o) {
buildCounterAccountUserProfilesListResponse++;
if (buildCounterAccountUserProfilesListResponse < 3) {
- checkUnnamed3219(o.accountUserProfiles);
+ checkUnnamed3238(o.accountUserProfiles);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAccountUserProfilesListResponse--;
}
-buildUnnamed3220() {
+buildUnnamed3239() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed3220(core.List<api.Account> o) {
+checkUnnamed3239(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 = buildUnnamed3220();
+ o.accounts = buildUnnamed3239();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -406,34 +406,34 @@
checkAccountsListResponse(api.AccountsListResponse o) {
buildCounterAccountsListResponse++;
if (buildCounterAccountsListResponse < 3) {
- checkUnnamed3220(o.accounts);
+ checkUnnamed3239(o.accounts);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAccountsListResponse--;
}
-buildUnnamed3221() {
+buildUnnamed3240() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed3221(core.List<api.DimensionValue> o) {
+checkUnnamed3240(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed3222() {
+buildUnnamed3241() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3222(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'));
@@ -444,9 +444,9 @@
var o = new api.Activities();
buildCounterActivities++;
if (buildCounterActivities < 3) {
- o.filters = buildUnnamed3221();
+ o.filters = buildUnnamed3240();
o.kind = "foo";
- o.metricNames = buildUnnamed3222();
+ o.metricNames = buildUnnamed3241();
}
buildCounterActivities--;
return o;
@@ -455,47 +455,47 @@
checkActivities(api.Activities o) {
buildCounterActivities++;
if (buildCounterActivities < 3) {
- checkUnnamed3221(o.filters);
+ checkUnnamed3240(o.filters);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3222(o.metricNames);
+ checkUnnamed3241(o.metricNames);
}
buildCounterActivities--;
}
-buildUnnamed3223() {
+buildUnnamed3242() {
var o = new core.List<api.CreativeGroupAssignment>();
o.add(buildCreativeGroupAssignment());
o.add(buildCreativeGroupAssignment());
return o;
}
-checkUnnamed3223(core.List<api.CreativeGroupAssignment> o) {
+checkUnnamed3242(core.List<api.CreativeGroupAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroupAssignment(o[0]);
checkCreativeGroupAssignment(o[1]);
}
-buildUnnamed3224() {
+buildUnnamed3243() {
var o = new core.List<api.EventTagOverride>();
o.add(buildEventTagOverride());
o.add(buildEventTagOverride());
return o;
}
-checkUnnamed3224(core.List<api.EventTagOverride> o) {
+checkUnnamed3243(core.List<api.EventTagOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTagOverride(o[0]);
checkEventTagOverride(o[1]);
}
-buildUnnamed3225() {
+buildUnnamed3244() {
var o = new core.List<api.PlacementAssignment>();
o.add(buildPlacementAssignment());
o.add(buildPlacementAssignment());
return o;
}
-checkUnnamed3225(core.List<api.PlacementAssignment> o) {
+checkUnnamed3244(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 = buildUnnamed3223();
+ o.creativeGroupAssignments = buildUnnamed3242();
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 = buildUnnamed3224();
+ o.eventTagOverrides = buildUnnamed3243();
o.geoTargeting = buildGeoTargeting();
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
@@ -536,7 +536,7 @@
o.languageTargeting = buildLanguageTargeting();
o.lastModifiedInfo = buildLastModifiedInfo();
o.name = "foo";
- o.placementAssignments = buildUnnamed3225();
+ o.placementAssignments = buildUnnamed3244();
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);
- checkUnnamed3223(o.creativeGroupAssignments);
+ checkUnnamed3242(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")));
- checkUnnamed3224(o.eventTagOverrides);
+ checkUnnamed3243(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'));
- checkUnnamed3225(o.placementAssignments);
+ checkUnnamed3244(o.placementAssignments);
checkListTargetingExpression(o.remarketingListExpression);
checkSize(o.size);
unittest.expect(o.sslCompliant, unittest.isTrue);
@@ -658,14 +658,14 @@
buildCounterAdSlot--;
}
-buildUnnamed3226() {
+buildUnnamed3245() {
var o = new core.List<api.Ad>();
o.add(buildAd());
o.add(buildAd());
return o;
}
-checkUnnamed3226(core.List<api.Ad> o) {
+checkUnnamed3245(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 = buildUnnamed3226();
+ o.ads = buildUnnamed3245();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -687,7 +687,7 @@
checkAdsListResponse(api.AdsListResponse o) {
buildCounterAdsListResponse++;
if (buildCounterAdsListResponse < 3) {
- checkUnnamed3226(o.ads);
+ checkUnnamed3245(o.ads);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -767,14 +767,14 @@
buildCounterAdvertiserGroup--;
}
-buildUnnamed3227() {
+buildUnnamed3246() {
var o = new core.List<api.AdvertiserGroup>();
o.add(buildAdvertiserGroup());
o.add(buildAdvertiserGroup());
return o;
}
-checkUnnamed3227(core.List<api.AdvertiserGroup> o) {
+checkUnnamed3246(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 = buildUnnamed3227();
+ o.advertiserGroups = buildUnnamed3246();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -796,21 +796,21 @@
checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) {
buildCounterAdvertiserGroupsListResponse++;
if (buildCounterAdvertiserGroupsListResponse < 3) {
- checkUnnamed3227(o.advertiserGroups);
+ checkUnnamed3246(o.advertiserGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdvertiserGroupsListResponse--;
}
-buildUnnamed3228() {
+buildUnnamed3247() {
var o = new core.List<api.Advertiser>();
o.add(buildAdvertiser());
o.add(buildAdvertiser());
return o;
}
-checkUnnamed3228(core.List<api.Advertiser> o) {
+checkUnnamed3247(core.List<api.Advertiser> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvertiser(o[0]);
checkAdvertiser(o[1]);
@@ -821,7 +821,7 @@
var o = new api.AdvertisersListResponse();
buildCounterAdvertisersListResponse++;
if (buildCounterAdvertisersListResponse < 3) {
- o.advertisers = buildUnnamed3228();
+ o.advertisers = buildUnnamed3247();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -832,7 +832,7 @@
checkAdvertisersListResponse(api.AdvertisersListResponse o) {
buildCounterAdvertisersListResponse++;
if (buildCounterAdvertisersListResponse < 3) {
- checkUnnamed3228(o.advertisers);
+ checkUnnamed3247(o.advertisers);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -862,14 +862,14 @@
buildCounterAudienceSegment--;
}
-buildUnnamed3229() {
+buildUnnamed3248() {
var o = new core.List<api.AudienceSegment>();
o.add(buildAudienceSegment());
o.add(buildAudienceSegment());
return o;
}
-checkUnnamed3229(core.List<api.AudienceSegment> o) {
+checkUnnamed3248(core.List<api.AudienceSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudienceSegment(o[0]);
checkAudienceSegment(o[1]);
@@ -880,7 +880,7 @@
var o = new api.AudienceSegmentGroup();
buildCounterAudienceSegmentGroup++;
if (buildCounterAudienceSegmentGroup < 3) {
- o.audienceSegments = buildUnnamed3229();
+ o.audienceSegments = buildUnnamed3248();
o.id = "foo";
o.name = "foo";
}
@@ -891,7 +891,7 @@
checkAudienceSegmentGroup(api.AudienceSegmentGroup o) {
buildCounterAudienceSegmentGroup++;
if (buildCounterAudienceSegmentGroup < 3) {
- checkUnnamed3229(o.audienceSegments);
+ checkUnnamed3248(o.audienceSegments);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
}
@@ -927,14 +927,14 @@
buildCounterBrowser--;
}
-buildUnnamed3230() {
+buildUnnamed3249() {
var o = new core.List<api.Browser>();
o.add(buildBrowser());
o.add(buildBrowser());
return o;
}
-checkUnnamed3230(core.List<api.Browser> o) {
+checkUnnamed3249(core.List<api.Browser> o) {
unittest.expect(o, unittest.hasLength(2));
checkBrowser(o[0]);
checkBrowser(o[1]);
@@ -945,7 +945,7 @@
var o = new api.BrowsersListResponse();
buildCounterBrowsersListResponse++;
if (buildCounterBrowsersListResponse < 3) {
- o.browsers = buildUnnamed3230();
+ o.browsers = buildUnnamed3249();
o.kind = "foo";
}
buildCounterBrowsersListResponse--;
@@ -955,72 +955,72 @@
checkBrowsersListResponse(api.BrowsersListResponse o) {
buildCounterBrowsersListResponse++;
if (buildCounterBrowsersListResponse < 3) {
- checkUnnamed3230(o.browsers);
+ checkUnnamed3249(o.browsers);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBrowsersListResponse--;
}
-buildUnnamed3231() {
+buildUnnamed3250() {
var o = new core.List<api.CreativeOptimizationConfiguration>();
o.add(buildCreativeOptimizationConfiguration());
o.add(buildCreativeOptimizationConfiguration());
return o;
}
-checkUnnamed3231(core.List<api.CreativeOptimizationConfiguration> o) {
+checkUnnamed3250(core.List<api.CreativeOptimizationConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeOptimizationConfiguration(o[0]);
checkCreativeOptimizationConfiguration(o[1]);
}
-buildUnnamed3232() {
+buildUnnamed3251() {
var o = new core.List<api.AudienceSegmentGroup>();
o.add(buildAudienceSegmentGroup());
o.add(buildAudienceSegmentGroup());
return o;
}
-checkUnnamed3232(core.List<api.AudienceSegmentGroup> o) {
+checkUnnamed3251(core.List<api.AudienceSegmentGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudienceSegmentGroup(o[0]);
checkAudienceSegmentGroup(o[1]);
}
-buildUnnamed3233() {
+buildUnnamed3252() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3233(core.List<core.String> 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'));
}
-buildUnnamed3234() {
+buildUnnamed3253() {
var o = new core.List<api.EventTagOverride>();
o.add(buildEventTagOverride());
o.add(buildEventTagOverride());
return o;
}
-checkUnnamed3234(core.List<api.EventTagOverride> o) {
+checkUnnamed3253(core.List<api.EventTagOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTagOverride(o[0]);
checkEventTagOverride(o[1]);
}
-buildUnnamed3235() {
+buildUnnamed3254() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3235(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'));
@@ -1033,23 +1033,23 @@
if (buildCounterCampaign < 3) {
o.accountId = "foo";
o.adBlockingConfiguration = buildAdBlockingConfiguration();
- o.additionalCreativeOptimizationConfigurations = buildUnnamed3231();
+ o.additionalCreativeOptimizationConfigurations = buildUnnamed3250();
o.advertiserGroupId = "foo";
o.advertiserId = "foo";
o.advertiserIdDimensionValue = buildDimensionValue();
o.archived = true;
- o.audienceSegmentGroups = buildUnnamed3232();
+ o.audienceSegmentGroups = buildUnnamed3251();
o.billingInvoiceCode = "foo";
o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties();
o.comment = "foo";
o.createInfo = buildLastModifiedInfo();
- o.creativeGroupIds = buildUnnamed3233();
+ o.creativeGroupIds = buildUnnamed3252();
o.creativeOptimizationConfiguration =
buildCreativeOptimizationConfiguration();
o.defaultClickThroughEventTagProperties =
buildDefaultClickThroughEventTagProperties();
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.eventTagOverrides = buildUnnamed3234();
+ o.eventTagOverrides = buildUnnamed3253();
o.externalId = "foo";
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
@@ -1060,7 +1060,7 @@
o.nielsenOcrEnabled = true;
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.subaccountId = "foo";
- o.traffickerEmails = buildUnnamed3235();
+ o.traffickerEmails = buildUnnamed3254();
}
buildCounterCampaign--;
return o;
@@ -1071,23 +1071,23 @@
if (buildCounterCampaign < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
checkAdBlockingConfiguration(o.adBlockingConfiguration);
- checkUnnamed3231(o.additionalCreativeOptimizationConfigurations);
+ checkUnnamed3250(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);
- checkUnnamed3232(o.audienceSegmentGroups);
+ checkUnnamed3251(o.audienceSegmentGroups);
unittest.expect(o.billingInvoiceCode, unittest.equals('foo'));
checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties);
unittest.expect(o.comment, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
- checkUnnamed3233(o.creativeGroupIds);
+ checkUnnamed3252(o.creativeGroupIds);
checkCreativeOptimizationConfiguration(o.creativeOptimizationConfiguration);
checkDefaultClickThroughEventTagProperties(
o.defaultClickThroughEventTagProperties);
unittest.expect(
o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed3234(o.eventTagOverrides);
+ checkUnnamed3253(o.eventTagOverrides);
unittest.expect(o.externalId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
@@ -1099,7 +1099,7 @@
unittest.expect(o.startDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.subaccountId, unittest.equals('foo'));
- checkUnnamed3235(o.traffickerEmails);
+ checkUnnamed3254(o.traffickerEmails);
}
buildCounterCampaign--;
}
@@ -1125,14 +1125,14 @@
buildCounterCampaignCreativeAssociation--;
}
-buildUnnamed3236() {
+buildUnnamed3255() {
var o = new core.List<api.CampaignCreativeAssociation>();
o.add(buildCampaignCreativeAssociation());
o.add(buildCampaignCreativeAssociation());
return o;
}
-checkUnnamed3236(core.List<api.CampaignCreativeAssociation> o) {
+checkUnnamed3255(core.List<api.CampaignCreativeAssociation> o) {
unittest.expect(o, unittest.hasLength(2));
checkCampaignCreativeAssociation(o[0]);
checkCampaignCreativeAssociation(o[1]);
@@ -1143,7 +1143,7 @@
var o = new api.CampaignCreativeAssociationsListResponse();
buildCounterCampaignCreativeAssociationsListResponse++;
if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
- o.campaignCreativeAssociations = buildUnnamed3236();
+ o.campaignCreativeAssociations = buildUnnamed3255();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1155,21 +1155,21 @@
api.CampaignCreativeAssociationsListResponse o) {
buildCounterCampaignCreativeAssociationsListResponse++;
if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
- checkUnnamed3236(o.campaignCreativeAssociations);
+ checkUnnamed3255(o.campaignCreativeAssociations);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCampaignCreativeAssociationsListResponse--;
}
-buildUnnamed3237() {
+buildUnnamed3256() {
var o = new core.List<api.Campaign>();
o.add(buildCampaign());
o.add(buildCampaign());
return o;
}
-checkUnnamed3237(core.List<api.Campaign> o) {
+checkUnnamed3256(core.List<api.Campaign> o) {
unittest.expect(o, unittest.hasLength(2));
checkCampaign(o[0]);
checkCampaign(o[1]);
@@ -1180,7 +1180,7 @@
var o = new api.CampaignsListResponse();
buildCounterCampaignsListResponse++;
if (buildCounterCampaignsListResponse < 3) {
- o.campaigns = buildUnnamed3237();
+ o.campaigns = buildUnnamed3256();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1191,7 +1191,7 @@
checkCampaignsListResponse(api.CampaignsListResponse o) {
buildCounterCampaignsListResponse++;
if (buildCounterCampaignsListResponse < 3) {
- checkUnnamed3237(o.campaigns);
+ checkUnnamed3256(o.campaigns);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1244,14 +1244,14 @@
buildCounterChangeLog--;
}
-buildUnnamed3238() {
+buildUnnamed3257() {
var o = new core.List<api.ChangeLog>();
o.add(buildChangeLog());
o.add(buildChangeLog());
return o;
}
-checkUnnamed3238(core.List<api.ChangeLog> o) {
+checkUnnamed3257(core.List<api.ChangeLog> o) {
unittest.expect(o, unittest.hasLength(2));
checkChangeLog(o[0]);
checkChangeLog(o[1]);
@@ -1262,7 +1262,7 @@
var o = new api.ChangeLogsListResponse();
buildCounterChangeLogsListResponse++;
if (buildCounterChangeLogsListResponse < 3) {
- o.changeLogs = buildUnnamed3238();
+ o.changeLogs = buildUnnamed3257();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1273,21 +1273,21 @@
checkChangeLogsListResponse(api.ChangeLogsListResponse o) {
buildCounterChangeLogsListResponse++;
if (buildCounterChangeLogsListResponse < 3) {
- checkUnnamed3238(o.changeLogs);
+ checkUnnamed3257(o.changeLogs);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterChangeLogsListResponse--;
}
-buildUnnamed3239() {
+buildUnnamed3258() {
var o = new core.List<api.City>();
o.add(buildCity());
o.add(buildCity());
return o;
}
-checkUnnamed3239(core.List<api.City> o) {
+checkUnnamed3258(core.List<api.City> o) {
unittest.expect(o, unittest.hasLength(2));
checkCity(o[0]);
checkCity(o[1]);
@@ -1298,7 +1298,7 @@
var o = new api.CitiesListResponse();
buildCounterCitiesListResponse++;
if (buildCounterCitiesListResponse < 3) {
- o.cities = buildUnnamed3239();
+ o.cities = buildUnnamed3258();
o.kind = "foo";
}
buildCounterCitiesListResponse--;
@@ -1308,7 +1308,7 @@
checkCitiesListResponse(api.CitiesListResponse o) {
buildCounterCitiesListResponse++;
if (buildCounterCitiesListResponse < 3) {
- checkUnnamed3239(o.cities);
+ checkUnnamed3258(o.cities);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCitiesListResponse--;
@@ -1439,14 +1439,14 @@
buildCounterCompanionClickThroughOverride--;
}
-buildUnnamed3240() {
+buildUnnamed3259() {
var o = new core.List<api.Size>();
o.add(buildSize());
o.add(buildSize());
return o;
}
-checkUnnamed3240(core.List<api.Size> o) {
+checkUnnamed3259(core.List<api.Size> o) {
unittest.expect(o, unittest.hasLength(2));
checkSize(o[0]);
checkSize(o[1]);
@@ -1458,7 +1458,7 @@
buildCounterCompanionSetting++;
if (buildCounterCompanionSetting < 3) {
o.companionsDisabled = true;
- o.enabledSizes = buildUnnamed3240();
+ o.enabledSizes = buildUnnamed3259();
o.imageOnly = true;
o.kind = "foo";
}
@@ -1470,7 +1470,7 @@
buildCounterCompanionSetting++;
if (buildCounterCompanionSetting < 3) {
unittest.expect(o.companionsDisabled, unittest.isTrue);
- checkUnnamed3240(o.enabledSizes);
+ checkUnnamed3259(o.enabledSizes);
unittest.expect(o.imageOnly, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
}
@@ -1534,14 +1534,14 @@
buildCounterConnectionType--;
}
-buildUnnamed3241() {
+buildUnnamed3260() {
var o = new core.List<api.ConnectionType>();
o.add(buildConnectionType());
o.add(buildConnectionType());
return o;
}
-checkUnnamed3241(core.List<api.ConnectionType> o) {
+checkUnnamed3260(core.List<api.ConnectionType> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnectionType(o[0]);
checkConnectionType(o[1]);
@@ -1552,7 +1552,7 @@
var o = new api.ConnectionTypesListResponse();
buildCounterConnectionTypesListResponse++;
if (buildCounterConnectionTypesListResponse < 3) {
- o.connectionTypes = buildUnnamed3241();
+ o.connectionTypes = buildUnnamed3260();
o.kind = "foo";
}
buildCounterConnectionTypesListResponse--;
@@ -1562,20 +1562,20 @@
checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) {
buildCounterConnectionTypesListResponse++;
if (buildCounterConnectionTypesListResponse < 3) {
- checkUnnamed3241(o.connectionTypes);
+ checkUnnamed3260(o.connectionTypes);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConnectionTypesListResponse--;
}
-buildUnnamed3242() {
+buildUnnamed3261() {
var o = new core.List<api.ContentCategory>();
o.add(buildContentCategory());
o.add(buildContentCategory());
return o;
}
-checkUnnamed3242(core.List<api.ContentCategory> o) {
+checkUnnamed3261(core.List<api.ContentCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkContentCategory(o[0]);
checkContentCategory(o[1]);
@@ -1586,7 +1586,7 @@
var o = new api.ContentCategoriesListResponse();
buildCounterContentCategoriesListResponse++;
if (buildCounterContentCategoriesListResponse < 3) {
- o.contentCategories = buildUnnamed3242();
+ o.contentCategories = buildUnnamed3261();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1597,7 +1597,7 @@
checkContentCategoriesListResponse(api.ContentCategoriesListResponse o) {
buildCounterContentCategoriesListResponse++;
if (buildCounterContentCategoriesListResponse < 3) {
- checkUnnamed3242(o.contentCategories);
+ checkUnnamed3261(o.contentCategories);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1629,27 +1629,27 @@
buildCounterContentCategory--;
}
-buildUnnamed3243() {
+buildUnnamed3262() {
var o = new core.List<api.CustomFloodlightVariable>();
o.add(buildCustomFloodlightVariable());
o.add(buildCustomFloodlightVariable());
return o;
}
-checkUnnamed3243(core.List<api.CustomFloodlightVariable> o) {
+checkUnnamed3262(core.List<api.CustomFloodlightVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomFloodlightVariable(o[0]);
checkCustomFloodlightVariable(o[1]);
}
-buildUnnamed3244() {
+buildUnnamed3263() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3244(core.List<core.String> 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'));
@@ -1661,9 +1661,9 @@
buildCounterConversion++;
if (buildCounterConversion < 3) {
o.childDirectedTreatment = true;
- o.customVariables = buildUnnamed3243();
+ o.customVariables = buildUnnamed3262();
o.encryptedUserId = "foo";
- o.encryptedUserIdCandidates = buildUnnamed3244();
+ o.encryptedUserIdCandidates = buildUnnamed3263();
o.floodlightActivityId = "foo";
o.floodlightConfigurationId = "foo";
o.gclid = "foo";
@@ -1683,9 +1683,9 @@
buildCounterConversion++;
if (buildCounterConversion < 3) {
unittest.expect(o.childDirectedTreatment, unittest.isTrue);
- checkUnnamed3243(o.customVariables);
+ checkUnnamed3262(o.customVariables);
unittest.expect(o.encryptedUserId, unittest.equals('foo'));
- checkUnnamed3244(o.encryptedUserIdCandidates);
+ checkUnnamed3263(o.encryptedUserIdCandidates);
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
unittest.expect(o.floodlightConfigurationId, unittest.equals('foo'));
unittest.expect(o.gclid, unittest.equals('foo'));
@@ -1723,14 +1723,14 @@
buildCounterConversionError--;
}
-buildUnnamed3245() {
+buildUnnamed3264() {
var o = new core.List<api.ConversionError>();
o.add(buildConversionError());
o.add(buildConversionError());
return o;
}
-checkUnnamed3245(core.List<api.ConversionError> o) {
+checkUnnamed3264(core.List<api.ConversionError> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionError(o[0]);
checkConversionError(o[1]);
@@ -1742,7 +1742,7 @@
buildCounterConversionStatus++;
if (buildCounterConversionStatus < 3) {
o.conversion = buildConversion();
- o.errors = buildUnnamed3245();
+ o.errors = buildUnnamed3264();
o.kind = "foo";
}
buildCounterConversionStatus--;
@@ -1753,20 +1753,20 @@
buildCounterConversionStatus++;
if (buildCounterConversionStatus < 3) {
checkConversion(o.conversion);
- checkUnnamed3245(o.errors);
+ checkUnnamed3264(o.errors);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionStatus--;
}
-buildUnnamed3246() {
+buildUnnamed3265() {
var o = new core.List<api.Conversion>();
o.add(buildConversion());
o.add(buildConversion());
return o;
}
-checkUnnamed3246(core.List<api.Conversion> o) {
+checkUnnamed3265(core.List<api.Conversion> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversion(o[0]);
checkConversion(o[1]);
@@ -1777,7 +1777,7 @@
var o = new api.ConversionsBatchInsertRequest();
buildCounterConversionsBatchInsertRequest++;
if (buildCounterConversionsBatchInsertRequest < 3) {
- o.conversions = buildUnnamed3246();
+ o.conversions = buildUnnamed3265();
o.encryptionInfo = buildEncryptionInfo();
o.kind = "foo";
}
@@ -1788,21 +1788,21 @@
checkConversionsBatchInsertRequest(api.ConversionsBatchInsertRequest o) {
buildCounterConversionsBatchInsertRequest++;
if (buildCounterConversionsBatchInsertRequest < 3) {
- checkUnnamed3246(o.conversions);
+ checkUnnamed3265(o.conversions);
checkEncryptionInfo(o.encryptionInfo);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionsBatchInsertRequest--;
}
-buildUnnamed3247() {
+buildUnnamed3266() {
var o = new core.List<api.ConversionStatus>();
o.add(buildConversionStatus());
o.add(buildConversionStatus());
return o;
}
-checkUnnamed3247(core.List<api.ConversionStatus> o) {
+checkUnnamed3266(core.List<api.ConversionStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionStatus(o[0]);
checkConversionStatus(o[1]);
@@ -1815,7 +1815,7 @@
if (buildCounterConversionsBatchInsertResponse < 3) {
o.hasFailures = true;
o.kind = "foo";
- o.status = buildUnnamed3247();
+ o.status = buildUnnamed3266();
}
buildCounterConversionsBatchInsertResponse--;
return o;
@@ -1826,19 +1826,19 @@
if (buildCounterConversionsBatchInsertResponse < 3) {
unittest.expect(o.hasFailures, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3247(o.status);
+ checkUnnamed3266(o.status);
}
buildCounterConversionsBatchInsertResponse--;
}
-buildUnnamed3248() {
+buildUnnamed3267() {
var o = new core.List<api.Conversion>();
o.add(buildConversion());
o.add(buildConversion());
return o;
}
-checkUnnamed3248(core.List<api.Conversion> o) {
+checkUnnamed3267(core.List<api.Conversion> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversion(o[0]);
checkConversion(o[1]);
@@ -1849,7 +1849,7 @@
var o = new api.ConversionsBatchUpdateRequest();
buildCounterConversionsBatchUpdateRequest++;
if (buildCounterConversionsBatchUpdateRequest < 3) {
- o.conversions = buildUnnamed3248();
+ o.conversions = buildUnnamed3267();
o.encryptionInfo = buildEncryptionInfo();
o.kind = "foo";
}
@@ -1860,21 +1860,21 @@
checkConversionsBatchUpdateRequest(api.ConversionsBatchUpdateRequest o) {
buildCounterConversionsBatchUpdateRequest++;
if (buildCounterConversionsBatchUpdateRequest < 3) {
- checkUnnamed3248(o.conversions);
+ checkUnnamed3267(o.conversions);
checkEncryptionInfo(o.encryptionInfo);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionsBatchUpdateRequest--;
}
-buildUnnamed3249() {
+buildUnnamed3268() {
var o = new core.List<api.ConversionStatus>();
o.add(buildConversionStatus());
o.add(buildConversionStatus());
return o;
}
-checkUnnamed3249(core.List<api.ConversionStatus> o) {
+checkUnnamed3268(core.List<api.ConversionStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionStatus(o[0]);
checkConversionStatus(o[1]);
@@ -1887,7 +1887,7 @@
if (buildCounterConversionsBatchUpdateResponse < 3) {
o.hasFailures = true;
o.kind = "foo";
- o.status = buildUnnamed3249();
+ o.status = buildUnnamed3268();
}
buildCounterConversionsBatchUpdateResponse--;
return o;
@@ -1898,19 +1898,19 @@
if (buildCounterConversionsBatchUpdateResponse < 3) {
unittest.expect(o.hasFailures, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3249(o.status);
+ checkUnnamed3268(o.status);
}
buildCounterConversionsBatchUpdateResponse--;
}
-buildUnnamed3250() {
+buildUnnamed3269() {
var o = new core.List<api.Country>();
o.add(buildCountry());
o.add(buildCountry());
return o;
}
-checkUnnamed3250(core.List<api.Country> o) {
+checkUnnamed3269(core.List<api.Country> o) {
unittest.expect(o, unittest.hasLength(2));
checkCountry(o[0]);
checkCountry(o[1]);
@@ -1921,7 +1921,7 @@
var o = new api.CountriesListResponse();
buildCounterCountriesListResponse++;
if (buildCounterCountriesListResponse < 3) {
- o.countries = buildUnnamed3250();
+ o.countries = buildUnnamed3269();
o.kind = "foo";
}
buildCounterCountriesListResponse--;
@@ -1931,7 +1931,7 @@
checkCountriesListResponse(api.CountriesListResponse o) {
buildCounterCountriesListResponse++;
if (buildCounterCountriesListResponse < 3) {
- checkUnnamed3250(o.countries);
+ checkUnnamed3269(o.countries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCountriesListResponse--;
@@ -1964,157 +1964,157 @@
buildCounterCountry--;
}
-buildUnnamed3251() {
+buildUnnamed3270() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3251(core.List<core.String> o) {
+checkUnnamed3270(core.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() {
+buildUnnamed3271() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3252(core.List<core.String> o) {
+checkUnnamed3271(core.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() {
+buildUnnamed3272() {
var o = new core.List<api.ClickTag>();
o.add(buildClickTag());
o.add(buildClickTag());
return o;
}
-checkUnnamed3253(core.List<api.ClickTag> o) {
+checkUnnamed3272(core.List<api.ClickTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkClickTag(o[0]);
checkClickTag(o[1]);
}
-buildUnnamed3254() {
+buildUnnamed3273() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3254(core.List<core.String> o) {
+checkUnnamed3273(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3255() {
+buildUnnamed3274() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3255(core.List<core.String> 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'));
}
-buildUnnamed3256() {
+buildUnnamed3275() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed3256(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed3275(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
}
-buildUnnamed3257() {
+buildUnnamed3276() {
var o = new core.List<api.CreativeAsset>();
o.add(buildCreativeAsset());
o.add(buildCreativeAsset());
return o;
}
-checkUnnamed3257(core.List<api.CreativeAsset> o) {
+checkUnnamed3276(core.List<api.CreativeAsset> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeAsset(o[0]);
checkCreativeAsset(o[1]);
}
-buildUnnamed3258() {
+buildUnnamed3277() {
var o = new core.List<api.CreativeFieldAssignment>();
o.add(buildCreativeFieldAssignment());
o.add(buildCreativeFieldAssignment());
return o;
}
-checkUnnamed3258(core.List<api.CreativeFieldAssignment> o) {
+checkUnnamed3277(core.List<api.CreativeFieldAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFieldAssignment(o[0]);
checkCreativeFieldAssignment(o[1]);
}
-buildUnnamed3259() {
+buildUnnamed3278() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3259(core.List<core.String> 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'));
}
-buildUnnamed3260() {
+buildUnnamed3279() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed3260(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed3279(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
}
-buildUnnamed3261() {
+buildUnnamed3280() {
var o = new core.List<api.ThirdPartyTrackingUrl>();
o.add(buildThirdPartyTrackingUrl());
o.add(buildThirdPartyTrackingUrl());
return o;
}
-checkUnnamed3261(core.List<api.ThirdPartyTrackingUrl> o) {
+checkUnnamed3280(core.List<api.ThirdPartyTrackingUrl> o) {
unittest.expect(o, unittest.hasLength(2));
checkThirdPartyTrackingUrl(o[0]);
checkThirdPartyTrackingUrl(o[1]);
}
-buildUnnamed3262() {
+buildUnnamed3281() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed3262(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed3281(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
@@ -2128,7 +2128,7 @@
o.accountId = "foo";
o.active = true;
o.adParameters = "foo";
- o.adTagKeys = buildUnnamed3251();
+ o.adTagKeys = buildUnnamed3270();
o.advertiserId = "foo";
o.allowScriptAccess = true;
o.archived = true;
@@ -2138,21 +2138,21 @@
o.autoAdvanceImages = true;
o.backgroundColor = "foo";
o.backupImageClickThroughUrl = "foo";
- o.backupImageFeatures = buildUnnamed3252();
+ o.backupImageFeatures = buildUnnamed3271();
o.backupImageReportingLabel = "foo";
o.backupImageTargetWindow = buildTargetWindow();
- o.clickTags = buildUnnamed3253();
+ o.clickTags = buildUnnamed3272();
o.commercialId = "foo";
- o.companionCreatives = buildUnnamed3254();
- o.compatibility = buildUnnamed3255();
+ o.companionCreatives = buildUnnamed3273();
+ o.compatibility = buildUnnamed3274();
o.convertFlashToHtml5 = true;
- o.counterCustomEvents = buildUnnamed3256();
+ o.counterCustomEvents = buildUnnamed3275();
o.creativeAssetSelection = buildCreativeAssetSelection();
- o.creativeAssets = buildUnnamed3257();
- o.creativeFieldAssignments = buildUnnamed3258();
- o.customKeyValues = buildUnnamed3259();
+ o.creativeAssets = buildUnnamed3276();
+ o.creativeFieldAssignments = buildUnnamed3277();
+ o.customKeyValues = buildUnnamed3278();
o.dynamicAssetSelection = true;
- o.exitCustomEvents = buildUnnamed3260();
+ o.exitCustomEvents = buildUnnamed3279();
o.fsCommand = buildFsCommand();
o.htmlCode = "foo";
o.htmlCodeLocked = true;
@@ -2180,8 +2180,8 @@
o.subaccountId = "foo";
o.thirdPartyBackupImageImpressionsUrl = "foo";
o.thirdPartyRichMediaImpressionsUrl = "foo";
- o.thirdPartyUrls = buildUnnamed3261();
- o.timerCustomEvents = buildUnnamed3262();
+ o.thirdPartyUrls = buildUnnamed3280();
+ o.timerCustomEvents = buildUnnamed3281();
o.totalFileSize = "foo";
o.type = "foo";
o.universalAdId = buildUniversalAdId();
@@ -2199,7 +2199,7 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.adParameters, unittest.equals('foo'));
- checkUnnamed3251(o.adTagKeys);
+ checkUnnamed3270(o.adTagKeys);
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.allowScriptAccess, unittest.isTrue);
unittest.expect(o.archived, unittest.isTrue);
@@ -2209,21 +2209,21 @@
unittest.expect(o.autoAdvanceImages, unittest.isTrue);
unittest.expect(o.backgroundColor, unittest.equals('foo'));
unittest.expect(o.backupImageClickThroughUrl, unittest.equals('foo'));
- checkUnnamed3252(o.backupImageFeatures);
+ checkUnnamed3271(o.backupImageFeatures);
unittest.expect(o.backupImageReportingLabel, unittest.equals('foo'));
checkTargetWindow(o.backupImageTargetWindow);
- checkUnnamed3253(o.clickTags);
+ checkUnnamed3272(o.clickTags);
unittest.expect(o.commercialId, unittest.equals('foo'));
- checkUnnamed3254(o.companionCreatives);
- checkUnnamed3255(o.compatibility);
+ checkUnnamed3273(o.companionCreatives);
+ checkUnnamed3274(o.compatibility);
unittest.expect(o.convertFlashToHtml5, unittest.isTrue);
- checkUnnamed3256(o.counterCustomEvents);
+ checkUnnamed3275(o.counterCustomEvents);
checkCreativeAssetSelection(o.creativeAssetSelection);
- checkUnnamed3257(o.creativeAssets);
- checkUnnamed3258(o.creativeFieldAssignments);
- checkUnnamed3259(o.customKeyValues);
+ checkUnnamed3276(o.creativeAssets);
+ checkUnnamed3277(o.creativeFieldAssignments);
+ checkUnnamed3278(o.customKeyValues);
unittest.expect(o.dynamicAssetSelection, unittest.isTrue);
- checkUnnamed3260(o.exitCustomEvents);
+ checkUnnamed3279(o.exitCustomEvents);
checkFsCommand(o.fsCommand);
unittest.expect(o.htmlCode, unittest.equals('foo'));
unittest.expect(o.htmlCodeLocked, unittest.isTrue);
@@ -2253,8 +2253,8 @@
o.thirdPartyBackupImageImpressionsUrl, unittest.equals('foo'));
unittest.expect(
o.thirdPartyRichMediaImpressionsUrl, unittest.equals('foo'));
- checkUnnamed3261(o.thirdPartyUrls);
- checkUnnamed3262(o.timerCustomEvents);
+ checkUnnamed3280(o.thirdPartyUrls);
+ checkUnnamed3281(o.timerCustomEvents);
unittest.expect(o.totalFileSize, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
checkUniversalAdId(o.universalAdId);
@@ -2265,27 +2265,27 @@
buildCounterCreative--;
}
-buildUnnamed3263() {
+buildUnnamed3282() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3263(core.List<core.String> o) {
+checkUnnamed3282(core.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() {
+buildUnnamed3283() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3264(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'));
@@ -2305,9 +2305,9 @@
o.bitRate = 42;
o.childAssetType = "foo";
o.collapsedSize = buildSize();
- o.companionCreativeIds = buildUnnamed3263();
+ o.companionCreativeIds = buildUnnamed3282();
o.customStartTimeValue = 42;
- o.detectedFeatures = buildUnnamed3264();
+ o.detectedFeatures = buildUnnamed3283();
o.displayType = "foo";
o.duration = 42;
o.durationType = "foo";
@@ -2357,9 +2357,9 @@
unittest.expect(o.bitRate, unittest.equals(42));
unittest.expect(o.childAssetType, unittest.equals('foo'));
checkSize(o.collapsedSize);
- checkUnnamed3263(o.companionCreativeIds);
+ checkUnnamed3282(o.companionCreativeIds);
unittest.expect(o.customStartTimeValue, unittest.equals(42));
- checkUnnamed3264(o.detectedFeatures);
+ checkUnnamed3283(o.detectedFeatures);
unittest.expect(o.displayType, unittest.equals('foo'));
unittest.expect(o.duration, unittest.equals(42));
unittest.expect(o.durationType, unittest.equals('foo'));
@@ -2417,40 +2417,40 @@
buildCounterCreativeAssetId--;
}
-buildUnnamed3265() {
+buildUnnamed3284() {
var o = new core.List<api.ClickTag>();
o.add(buildClickTag());
o.add(buildClickTag());
return o;
}
-checkUnnamed3265(core.List<api.ClickTag> o) {
+checkUnnamed3284(core.List<api.ClickTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkClickTag(o[0]);
checkClickTag(o[1]);
}
-buildUnnamed3266() {
+buildUnnamed3285() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3266(core.List<core.String> o) {
+checkUnnamed3285(core.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() {
+buildUnnamed3286() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3267(core.List<core.String> 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'));
@@ -2462,12 +2462,12 @@
buildCounterCreativeAssetMetadata++;
if (buildCounterCreativeAssetMetadata < 3) {
o.assetIdentifier = buildCreativeAssetId();
- o.clickTags = buildUnnamed3265();
- o.detectedFeatures = buildUnnamed3266();
+ o.clickTags = buildUnnamed3284();
+ o.detectedFeatures = buildUnnamed3285();
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
o.kind = "foo";
- o.warnedValidationRules = buildUnnamed3267();
+ o.warnedValidationRules = buildUnnamed3286();
}
buildCounterCreativeAssetMetadata--;
return o;
@@ -2477,24 +2477,24 @@
buildCounterCreativeAssetMetadata++;
if (buildCounterCreativeAssetMetadata < 3) {
checkCreativeAssetId(o.assetIdentifier);
- checkUnnamed3265(o.clickTags);
- checkUnnamed3266(o.detectedFeatures);
+ checkUnnamed3284(o.clickTags);
+ checkUnnamed3285(o.detectedFeatures);
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3267(o.warnedValidationRules);
+ checkUnnamed3286(o.warnedValidationRules);
}
buildCounterCreativeAssetMetadata--;
}
-buildUnnamed3268() {
+buildUnnamed3287() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed3268(core.List<api.Rule> o) {
+checkUnnamed3287(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -2506,7 +2506,7 @@
buildCounterCreativeAssetSelection++;
if (buildCounterCreativeAssetSelection < 3) {
o.defaultAssetId = "foo";
- o.rules = buildUnnamed3268();
+ o.rules = buildUnnamed3287();
}
buildCounterCreativeAssetSelection--;
return o;
@@ -2516,45 +2516,45 @@
buildCounterCreativeAssetSelection++;
if (buildCounterCreativeAssetSelection < 3) {
unittest.expect(o.defaultAssetId, unittest.equals('foo'));
- checkUnnamed3268(o.rules);
+ checkUnnamed3287(o.rules);
}
buildCounterCreativeAssetSelection--;
}
-buildUnnamed3269() {
+buildUnnamed3288() {
var o = new core.List<api.CompanionClickThroughOverride>();
o.add(buildCompanionClickThroughOverride());
o.add(buildCompanionClickThroughOverride());
return o;
}
-checkUnnamed3269(core.List<api.CompanionClickThroughOverride> o) {
+checkUnnamed3288(core.List<api.CompanionClickThroughOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompanionClickThroughOverride(o[0]);
checkCompanionClickThroughOverride(o[1]);
}
-buildUnnamed3270() {
+buildUnnamed3289() {
var o = new core.List<api.CreativeGroupAssignment>();
o.add(buildCreativeGroupAssignment());
o.add(buildCreativeGroupAssignment());
return o;
}
-checkUnnamed3270(core.List<api.CreativeGroupAssignment> o) {
+checkUnnamed3289(core.List<api.CreativeGroupAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroupAssignment(o[0]);
checkCreativeGroupAssignment(o[1]);
}
-buildUnnamed3271() {
+buildUnnamed3290() {
var o = new core.List<api.RichMediaExitOverride>();
o.add(buildRichMediaExitOverride());
o.add(buildRichMediaExitOverride());
return o;
}
-checkUnnamed3271(core.List<api.RichMediaExitOverride> o) {
+checkUnnamed3290(core.List<api.RichMediaExitOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkRichMediaExitOverride(o[0]);
checkRichMediaExitOverride(o[1]);
@@ -2568,12 +2568,12 @@
o.active = true;
o.applyEventTags = true;
o.clickThroughUrl = buildClickThroughUrl();
- o.companionCreativeOverrides = buildUnnamed3269();
- o.creativeGroupAssignments = buildUnnamed3270();
+ o.companionCreativeOverrides = buildUnnamed3288();
+ o.creativeGroupAssignments = buildUnnamed3289();
o.creativeId = "foo";
o.creativeIdDimensionValue = buildDimensionValue();
o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.richMediaExitOverrides = buildUnnamed3271();
+ o.richMediaExitOverrides = buildUnnamed3290();
o.sequence = 42;
o.sslCompliant = true;
o.startTime = core.DateTime.parse("2002-02-27T14:01:02");
@@ -2589,13 +2589,13 @@
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.applyEventTags, unittest.isTrue);
checkClickThroughUrl(o.clickThroughUrl);
- checkUnnamed3269(o.companionCreativeOverrides);
- checkUnnamed3270(o.creativeGroupAssignments);
+ checkUnnamed3288(o.companionCreativeOverrides);
+ checkUnnamed3289(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")));
- checkUnnamed3271(o.richMediaExitOverrides);
+ checkUnnamed3290(o.richMediaExitOverrides);
unittest.expect(o.sequence, unittest.equals(42));
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.startTime,
@@ -2717,14 +2717,14 @@
buildCounterCreativeFieldValue--;
}
-buildUnnamed3272() {
+buildUnnamed3291() {
var o = new core.List<api.CreativeFieldValue>();
o.add(buildCreativeFieldValue());
o.add(buildCreativeFieldValue());
return o;
}
-checkUnnamed3272(core.List<api.CreativeFieldValue> o) {
+checkUnnamed3291(core.List<api.CreativeFieldValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFieldValue(o[0]);
checkCreativeFieldValue(o[1]);
@@ -2735,7 +2735,7 @@
var o = new api.CreativeFieldValuesListResponse();
buildCounterCreativeFieldValuesListResponse++;
if (buildCounterCreativeFieldValuesListResponse < 3) {
- o.creativeFieldValues = buildUnnamed3272();
+ o.creativeFieldValues = buildUnnamed3291();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2746,21 +2746,21 @@
checkCreativeFieldValuesListResponse(api.CreativeFieldValuesListResponse o) {
buildCounterCreativeFieldValuesListResponse++;
if (buildCounterCreativeFieldValuesListResponse < 3) {
- checkUnnamed3272(o.creativeFieldValues);
+ checkUnnamed3291(o.creativeFieldValues);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativeFieldValuesListResponse--;
}
-buildUnnamed3273() {
+buildUnnamed3292() {
var o = new core.List<api.CreativeField>();
o.add(buildCreativeField());
o.add(buildCreativeField());
return o;
}
-checkUnnamed3273(core.List<api.CreativeField> o) {
+checkUnnamed3292(core.List<api.CreativeField> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeField(o[0]);
checkCreativeField(o[1]);
@@ -2771,7 +2771,7 @@
var o = new api.CreativeFieldsListResponse();
buildCounterCreativeFieldsListResponse++;
if (buildCounterCreativeFieldsListResponse < 3) {
- o.creativeFields = buildUnnamed3273();
+ o.creativeFields = buildUnnamed3292();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2782,7 +2782,7 @@
checkCreativeFieldsListResponse(api.CreativeFieldsListResponse o) {
buildCounterCreativeFieldsListResponse++;
if (buildCounterCreativeFieldsListResponse < 3) {
- checkUnnamed3273(o.creativeFields);
+ checkUnnamed3292(o.creativeFields);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2843,14 +2843,14 @@
buildCounterCreativeGroupAssignment--;
}
-buildUnnamed3274() {
+buildUnnamed3293() {
var o = new core.List<api.CreativeGroup>();
o.add(buildCreativeGroup());
o.add(buildCreativeGroup());
return o;
}
-checkUnnamed3274(core.List<api.CreativeGroup> o) {
+checkUnnamed3293(core.List<api.CreativeGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroup(o[0]);
checkCreativeGroup(o[1]);
@@ -2861,7 +2861,7 @@
var o = new api.CreativeGroupsListResponse();
buildCounterCreativeGroupsListResponse++;
if (buildCounterCreativeGroupsListResponse < 3) {
- o.creativeGroups = buildUnnamed3274();
+ o.creativeGroups = buildUnnamed3293();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2872,21 +2872,21 @@
checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) {
buildCounterCreativeGroupsListResponse++;
if (buildCounterCreativeGroupsListResponse < 3) {
- checkUnnamed3274(o.creativeGroups);
+ checkUnnamed3293(o.creativeGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativeGroupsListResponse--;
}
-buildUnnamed3275() {
+buildUnnamed3294() {
var o = new core.List<api.OptimizationActivity>();
o.add(buildOptimizationActivity());
o.add(buildOptimizationActivity());
return o;
}
-checkUnnamed3275(core.List<api.OptimizationActivity> o) {
+checkUnnamed3294(core.List<api.OptimizationActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkOptimizationActivity(o[0]);
checkOptimizationActivity(o[1]);
@@ -2899,7 +2899,7 @@
if (buildCounterCreativeOptimizationConfiguration < 3) {
o.id = "foo";
o.name = "foo";
- o.optimizationActivitys = buildUnnamed3275();
+ o.optimizationActivitys = buildUnnamed3294();
o.optimizationModel = "foo";
}
buildCounterCreativeOptimizationConfiguration--;
@@ -2912,20 +2912,20 @@
if (buildCounterCreativeOptimizationConfiguration < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3275(o.optimizationActivitys);
+ checkUnnamed3294(o.optimizationActivitys);
unittest.expect(o.optimizationModel, unittest.equals('foo'));
}
buildCounterCreativeOptimizationConfiguration--;
}
-buildUnnamed3276() {
+buildUnnamed3295() {
var o = new core.List<api.CreativeAssignment>();
o.add(buildCreativeAssignment());
o.add(buildCreativeAssignment());
return o;
}
-checkUnnamed3276(core.List<api.CreativeAssignment> o) {
+checkUnnamed3295(core.List<api.CreativeAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeAssignment(o[0]);
checkCreativeAssignment(o[1]);
@@ -2936,7 +2936,7 @@
var o = new api.CreativeRotation();
buildCounterCreativeRotation++;
if (buildCounterCreativeRotation < 3) {
- o.creativeAssignments = buildUnnamed3276();
+ o.creativeAssignments = buildUnnamed3295();
o.creativeOptimizationConfigurationId = "foo";
o.type = "foo";
o.weightCalculationStrategy = "foo";
@@ -2948,7 +2948,7 @@
checkCreativeRotation(api.CreativeRotation o) {
buildCounterCreativeRotation++;
if (buildCounterCreativeRotation < 3) {
- checkUnnamed3276(o.creativeAssignments);
+ checkUnnamed3295(o.creativeAssignments);
unittest.expect(
o.creativeOptimizationConfigurationId, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -2978,14 +2978,14 @@
buildCounterCreativeSettings--;
}
-buildUnnamed3277() {
+buildUnnamed3296() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed3277(core.List<api.Creative> o) {
+checkUnnamed3296(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -2996,7 +2996,7 @@
var o = new api.CreativesListResponse();
buildCounterCreativesListResponse++;
if (buildCounterCreativesListResponse < 3) {
- o.creatives = buildUnnamed3277();
+ o.creatives = buildUnnamed3296();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3007,60 +3007,60 @@
checkCreativesListResponse(api.CreativesListResponse o) {
buildCounterCreativesListResponse++;
if (buildCounterCreativesListResponse < 3) {
- checkUnnamed3277(o.creatives);
+ checkUnnamed3296(o.creatives);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativesListResponse--;
}
-buildUnnamed3278() {
+buildUnnamed3297() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3278(core.List<api.Dimension> o) {
+checkUnnamed3297(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed3279() {
+buildUnnamed3298() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3279(core.List<api.Dimension> o) {
+checkUnnamed3298(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed3280() {
+buildUnnamed3299() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed3280(core.List<api.Metric> o) {
+checkUnnamed3299(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed3281() {
+buildUnnamed3300() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed3281(core.List<api.Metric> o) {
+checkUnnamed3300(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -3071,11 +3071,11 @@
var o = new api.CrossDimensionReachReportCompatibleFields();
buildCounterCrossDimensionReachReportCompatibleFields++;
if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
- o.breakdown = buildUnnamed3278();
- o.dimensionFilters = buildUnnamed3279();
+ o.breakdown = buildUnnamed3297();
+ o.dimensionFilters = buildUnnamed3298();
o.kind = "foo";
- o.metrics = buildUnnamed3280();
- o.overlapMetrics = buildUnnamed3281();
+ o.metrics = buildUnnamed3299();
+ o.overlapMetrics = buildUnnamed3300();
}
buildCounterCrossDimensionReachReportCompatibleFields--;
return o;
@@ -3085,11 +3085,11 @@
api.CrossDimensionReachReportCompatibleFields o) {
buildCounterCrossDimensionReachReportCompatibleFields++;
if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
- checkUnnamed3278(o.breakdown);
- checkUnnamed3279(o.dimensionFilters);
+ checkUnnamed3297(o.breakdown);
+ checkUnnamed3298(o.dimensionFilters);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3280(o.metrics);
- checkUnnamed3281(o.overlapMetrics);
+ checkUnnamed3299(o.metrics);
+ checkUnnamed3300(o.overlapMetrics);
}
buildCounterCrossDimensionReachReportCompatibleFields--;
}
@@ -3117,14 +3117,14 @@
buildCounterCustomFloodlightVariable--;
}
-buildUnnamed3282() {
+buildUnnamed3301() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed3282(core.List<api.DimensionValue> o) {
+checkUnnamed3301(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
@@ -3135,7 +3135,7 @@
var o = new api.CustomRichMediaEvents();
buildCounterCustomRichMediaEvents++;
if (buildCounterCustomRichMediaEvents < 3) {
- o.filteredEventIds = buildUnnamed3282();
+ o.filteredEventIds = buildUnnamed3301();
o.kind = "foo";
}
buildCounterCustomRichMediaEvents--;
@@ -3145,7 +3145,7 @@
checkCustomRichMediaEvents(api.CustomRichMediaEvents o) {
buildCounterCustomRichMediaEvents++;
if (buildCounterCustomRichMediaEvents < 3) {
- checkUnnamed3282(o.filteredEventIds);
+ checkUnnamed3301(o.filteredEventIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCustomRichMediaEvents--;
@@ -3178,27 +3178,27 @@
buildCounterDateRange--;
}
-buildUnnamed3283() {
+buildUnnamed3302() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3283(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'));
}
-buildUnnamed3284() {
+buildUnnamed3303() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed3284(core.List<core.int> o) {
+checkUnnamed3303(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));
@@ -3209,8 +3209,8 @@
var o = new api.DayPartTargeting();
buildCounterDayPartTargeting++;
if (buildCounterDayPartTargeting < 3) {
- o.daysOfWeek = buildUnnamed3283();
- o.hoursOfDay = buildUnnamed3284();
+ o.daysOfWeek = buildUnnamed3302();
+ o.hoursOfDay = buildUnnamed3303();
o.userLocalTime = true;
}
buildCounterDayPartTargeting--;
@@ -3220,8 +3220,8 @@
checkDayPartTargeting(api.DayPartTargeting o) {
buildCounterDayPartTargeting++;
if (buildCounterDayPartTargeting < 3) {
- checkUnnamed3283(o.daysOfWeek);
- checkUnnamed3284(o.hoursOfDay);
+ checkUnnamed3302(o.daysOfWeek);
+ checkUnnamed3303(o.hoursOfDay);
unittest.expect(o.userLocalTime, unittest.isTrue);
}
buildCounterDayPartTargeting--;
@@ -3374,14 +3374,14 @@
buildCounterDimensionValue--;
}
-buildUnnamed3285() {
+buildUnnamed3304() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed3285(core.List<api.DimensionValue> o) {
+checkUnnamed3304(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
@@ -3393,7 +3393,7 @@
buildCounterDimensionValueList++;
if (buildCounterDimensionValueList < 3) {
o.etag = "foo";
- o.items = buildUnnamed3285();
+ o.items = buildUnnamed3304();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3405,21 +3405,21 @@
buildCounterDimensionValueList++;
if (buildCounterDimensionValueList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3285(o.items);
+ checkUnnamed3304(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterDimensionValueList--;
}
-buildUnnamed3286() {
+buildUnnamed3305() {
var o = new core.List<api.DimensionFilter>();
o.add(buildDimensionFilter());
o.add(buildDimensionFilter());
return o;
}
-checkUnnamed3286(core.List<api.DimensionFilter> o) {
+checkUnnamed3305(core.List<api.DimensionFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilter(o[0]);
checkDimensionFilter(o[1]);
@@ -3432,7 +3432,7 @@
if (buildCounterDimensionValueRequest < 3) {
o.dimensionName = "foo";
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.filters = buildUnnamed3286();
+ o.filters = buildUnnamed3305();
o.kind = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
}
@@ -3446,7 +3446,7 @@
unittest.expect(o.dimensionName, unittest.equals('foo'));
unittest.expect(
o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed3286(o.filters);
+ checkUnnamed3305(o.filters);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.startDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -3454,40 +3454,40 @@
buildCounterDimensionValueRequest--;
}
-buildUnnamed3287() {
+buildUnnamed3306() {
var o = new core.List<api.DirectorySiteContactAssignment>();
o.add(buildDirectorySiteContactAssignment());
o.add(buildDirectorySiteContactAssignment());
return o;
}
-checkUnnamed3287(core.List<api.DirectorySiteContactAssignment> o) {
+checkUnnamed3306(core.List<api.DirectorySiteContactAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySiteContactAssignment(o[0]);
checkDirectorySiteContactAssignment(o[1]);
}
-buildUnnamed3288() {
+buildUnnamed3307() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3288(core.List<core.String> o) {
+checkUnnamed3307(core.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() {
+buildUnnamed3308() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3289(core.List<core.String> o) {
+checkUnnamed3308(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3499,14 +3499,14 @@
buildCounterDirectorySite++;
if (buildCounterDirectorySite < 3) {
o.active = true;
- o.contactAssignments = buildUnnamed3287();
+ o.contactAssignments = buildUnnamed3306();
o.countryId = "foo";
o.currencyId = "foo";
o.description = "foo";
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
- o.inpageTagFormats = buildUnnamed3288();
- o.interstitialTagFormats = buildUnnamed3289();
+ o.inpageTagFormats = buildUnnamed3307();
+ o.interstitialTagFormats = buildUnnamed3308();
o.kind = "foo";
o.name = "foo";
o.parentId = "foo";
@@ -3521,14 +3521,14 @@
buildCounterDirectorySite++;
if (buildCounterDirectorySite < 3) {
unittest.expect(o.active, unittest.isTrue);
- checkUnnamed3287(o.contactAssignments);
+ checkUnnamed3306(o.contactAssignments);
unittest.expect(o.countryId, unittest.equals('foo'));
unittest.expect(o.currencyId, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
- checkUnnamed3288(o.inpageTagFormats);
- checkUnnamed3289(o.interstitialTagFormats);
+ checkUnnamed3307(o.inpageTagFormats);
+ checkUnnamed3308(o.interstitialTagFormats);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentId, unittest.equals('foo'));
@@ -3596,14 +3596,14 @@
buildCounterDirectorySiteContactAssignment--;
}
-buildUnnamed3290() {
+buildUnnamed3309() {
var o = new core.List<api.DirectorySiteContact>();
o.add(buildDirectorySiteContact());
o.add(buildDirectorySiteContact());
return o;
}
-checkUnnamed3290(core.List<api.DirectorySiteContact> o) {
+checkUnnamed3309(core.List<api.DirectorySiteContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySiteContact(o[0]);
checkDirectorySiteContact(o[1]);
@@ -3614,7 +3614,7 @@
var o = new api.DirectorySiteContactsListResponse();
buildCounterDirectorySiteContactsListResponse++;
if (buildCounterDirectorySiteContactsListResponse < 3) {
- o.directorySiteContacts = buildUnnamed3290();
+ o.directorySiteContacts = buildUnnamed3309();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3626,7 +3626,7 @@
api.DirectorySiteContactsListResponse o) {
buildCounterDirectorySiteContactsListResponse++;
if (buildCounterDirectorySiteContactsListResponse < 3) {
- checkUnnamed3290(o.directorySiteContacts);
+ checkUnnamed3309(o.directorySiteContacts);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3664,14 +3664,14 @@
buildCounterDirectorySiteSettings--;
}
-buildUnnamed3291() {
+buildUnnamed3310() {
var o = new core.List<api.DirectorySite>();
o.add(buildDirectorySite());
o.add(buildDirectorySite());
return o;
}
-checkUnnamed3291(core.List<api.DirectorySite> o) {
+checkUnnamed3310(core.List<api.DirectorySite> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySite(o[0]);
checkDirectorySite(o[1]);
@@ -3682,7 +3682,7 @@
var o = new api.DirectorySitesListResponse();
buildCounterDirectorySitesListResponse++;
if (buildCounterDirectorySitesListResponse < 3) {
- o.directorySites = buildUnnamed3291();
+ o.directorySites = buildUnnamed3310();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3693,7 +3693,7 @@
checkDirectorySitesListResponse(api.DirectorySitesListResponse o) {
buildCounterDirectorySitesListResponse++;
if (buildCounterDirectorySitesListResponse < 3) {
- checkUnnamed3291(o.directorySites);
+ checkUnnamed3310(o.directorySites);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3725,14 +3725,14 @@
buildCounterDynamicTargetingKey--;
}
-buildUnnamed3292() {
+buildUnnamed3311() {
var o = new core.List<api.DynamicTargetingKey>();
o.add(buildDynamicTargetingKey());
o.add(buildDynamicTargetingKey());
return o;
}
-checkUnnamed3292(core.List<api.DynamicTargetingKey> o) {
+checkUnnamed3311(core.List<api.DynamicTargetingKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkDynamicTargetingKey(o[0]);
checkDynamicTargetingKey(o[1]);
@@ -3743,7 +3743,7 @@
var o = new api.DynamicTargetingKeysListResponse();
buildCounterDynamicTargetingKeysListResponse++;
if (buildCounterDynamicTargetingKeysListResponse < 3) {
- o.dynamicTargetingKeys = buildUnnamed3292();
+ o.dynamicTargetingKeys = buildUnnamed3311();
o.kind = "foo";
}
buildCounterDynamicTargetingKeysListResponse--;
@@ -3753,7 +3753,7 @@
checkDynamicTargetingKeysListResponse(api.DynamicTargetingKeysListResponse o) {
buildCounterDynamicTargetingKeysListResponse++;
if (buildCounterDynamicTargetingKeysListResponse < 3) {
- checkUnnamed3292(o.dynamicTargetingKeys);
+ checkUnnamed3311(o.dynamicTargetingKeys);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDynamicTargetingKeysListResponse--;
@@ -3784,14 +3784,14 @@
buildCounterEncryptionInfo--;
}
-buildUnnamed3293() {
+buildUnnamed3312() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3293(core.List<core.String> o) {
+checkUnnamed3312(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3813,7 +3813,7 @@
o.kind = "foo";
o.name = "foo";
o.siteFilterType = "foo";
- o.siteIds = buildUnnamed3293();
+ o.siteIds = buildUnnamed3312();
o.sslCompliant = true;
o.status = "foo";
o.subaccountId = "foo";
@@ -3839,7 +3839,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.siteFilterType, unittest.equals('foo'));
- checkUnnamed3293(o.siteIds);
+ checkUnnamed3312(o.siteIds);
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subaccountId, unittest.equals('foo'));
@@ -3871,14 +3871,14 @@
buildCounterEventTagOverride--;
}
-buildUnnamed3294() {
+buildUnnamed3313() {
var o = new core.List<api.EventTag>();
o.add(buildEventTag());
o.add(buildEventTag());
return o;
}
-checkUnnamed3294(core.List<api.EventTag> o) {
+checkUnnamed3313(core.List<api.EventTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTag(o[0]);
checkEventTag(o[1]);
@@ -3889,7 +3889,7 @@
var o = new api.EventTagsListResponse();
buildCounterEventTagsListResponse++;
if (buildCounterEventTagsListResponse < 3) {
- o.eventTags = buildUnnamed3294();
+ o.eventTags = buildUnnamed3313();
o.kind = "foo";
}
buildCounterEventTagsListResponse--;
@@ -3899,7 +3899,7 @@
checkEventTagsListResponse(api.EventTagsListResponse o) {
buildCounterEventTagsListResponse++;
if (buildCounterEventTagsListResponse < 3) {
- checkUnnamed3294(o.eventTags);
+ checkUnnamed3313(o.eventTags);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEventTagsListResponse--;
@@ -3963,14 +3963,14 @@
buildCounterFile--;
}
-buildUnnamed3295() {
+buildUnnamed3314() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed3295(core.List<api.File> o) {
+checkUnnamed3314(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -3982,7 +3982,7 @@
buildCounterFileList++;
if (buildCounterFileList < 3) {
o.etag = "foo";
- o.items = buildUnnamed3295();
+ o.items = buildUnnamed3314();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3994,7 +3994,7 @@
buildCounterFileList++;
if (buildCounterFileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3295(o.items);
+ checkUnnamed3314(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -4050,14 +4050,14 @@
buildCounterFloodlightActivitiesGenerateTagResponse--;
}
-buildUnnamed3296() {
+buildUnnamed3315() {
var o = new core.List<api.FloodlightActivity>();
o.add(buildFloodlightActivity());
o.add(buildFloodlightActivity());
return o;
}
-checkUnnamed3296(core.List<api.FloodlightActivity> o) {
+checkUnnamed3315(core.List<api.FloodlightActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivity(o[0]);
checkFloodlightActivity(o[1]);
@@ -4068,7 +4068,7 @@
var o = new api.FloodlightActivitiesListResponse();
buildCounterFloodlightActivitiesListResponse++;
if (buildCounterFloodlightActivitiesListResponse < 3) {
- o.floodlightActivities = buildUnnamed3296();
+ o.floodlightActivities = buildUnnamed3315();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4079,47 +4079,47 @@
checkFloodlightActivitiesListResponse(api.FloodlightActivitiesListResponse o) {
buildCounterFloodlightActivitiesListResponse++;
if (buildCounterFloodlightActivitiesListResponse < 3) {
- checkUnnamed3296(o.floodlightActivities);
+ checkUnnamed3315(o.floodlightActivities);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterFloodlightActivitiesListResponse--;
}
-buildUnnamed3297() {
+buildUnnamed3316() {
var o = new core.List<api.FloodlightActivityDynamicTag>();
o.add(buildFloodlightActivityDynamicTag());
o.add(buildFloodlightActivityDynamicTag());
return o;
}
-checkUnnamed3297(core.List<api.FloodlightActivityDynamicTag> o) {
+checkUnnamed3316(core.List<api.FloodlightActivityDynamicTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityDynamicTag(o[0]);
checkFloodlightActivityDynamicTag(o[1]);
}
-buildUnnamed3298() {
+buildUnnamed3317() {
var o = new core.List<api.FloodlightActivityPublisherDynamicTag>();
o.add(buildFloodlightActivityPublisherDynamicTag());
o.add(buildFloodlightActivityPublisherDynamicTag());
return o;
}
-checkUnnamed3298(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
+checkUnnamed3317(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityPublisherDynamicTag(o[0]);
checkFloodlightActivityPublisherDynamicTag(o[1]);
}
-buildUnnamed3299() {
+buildUnnamed3318() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3299(core.List<core.String> o) {
+checkUnnamed3318(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4135,7 +4135,7 @@
o.advertiserIdDimensionValue = buildDimensionValue();
o.cacheBustingType = "foo";
o.countingMethod = "foo";
- o.defaultTags = buildUnnamed3297();
+ o.defaultTags = buildUnnamed3316();
o.expectedUrl = "foo";
o.floodlightActivityGroupId = "foo";
o.floodlightActivityGroupName = "foo";
@@ -4150,14 +4150,14 @@
o.kind = "foo";
o.name = "foo";
o.notes = "foo";
- o.publisherTags = buildUnnamed3298();
+ o.publisherTags = buildUnnamed3317();
o.secure = true;
o.sslCompliant = true;
o.sslRequired = true;
o.subaccountId = "foo";
o.tagFormat = "foo";
o.tagString = "foo";
- o.userDefinedVariableTypes = buildUnnamed3299();
+ o.userDefinedVariableTypes = buildUnnamed3318();
}
buildCounterFloodlightActivity--;
return o;
@@ -4171,7 +4171,7 @@
checkDimensionValue(o.advertiserIdDimensionValue);
unittest.expect(o.cacheBustingType, unittest.equals('foo'));
unittest.expect(o.countingMethod, unittest.equals('foo'));
- checkUnnamed3297(o.defaultTags);
+ checkUnnamed3316(o.defaultTags);
unittest.expect(o.expectedUrl, unittest.equals('foo'));
unittest.expect(o.floodlightActivityGroupId, unittest.equals('foo'));
unittest.expect(o.floodlightActivityGroupName, unittest.equals('foo'));
@@ -4186,14 +4186,14 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed3298(o.publisherTags);
+ checkUnnamed3317(o.publisherTags);
unittest.expect(o.secure, unittest.isTrue);
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.sslRequired, unittest.isTrue);
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.tagFormat, unittest.equals('foo'));
unittest.expect(o.tagString, unittest.equals('foo'));
- checkUnnamed3299(o.userDefinedVariableTypes);
+ checkUnnamed3318(o.userDefinedVariableTypes);
}
buildCounterFloodlightActivity--;
}
@@ -4262,14 +4262,14 @@
buildCounterFloodlightActivityGroup--;
}
-buildUnnamed3300() {
+buildUnnamed3319() {
var o = new core.List<api.FloodlightActivityGroup>();
o.add(buildFloodlightActivityGroup());
o.add(buildFloodlightActivityGroup());
return o;
}
-checkUnnamed3300(core.List<api.FloodlightActivityGroup> o) {
+checkUnnamed3319(core.List<api.FloodlightActivityGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityGroup(o[0]);
checkFloodlightActivityGroup(o[1]);
@@ -4280,7 +4280,7 @@
var o = new api.FloodlightActivityGroupsListResponse();
buildCounterFloodlightActivityGroupsListResponse++;
if (buildCounterFloodlightActivityGroupsListResponse < 3) {
- o.floodlightActivityGroups = buildUnnamed3300();
+ o.floodlightActivityGroups = buildUnnamed3319();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4292,7 +4292,7 @@
api.FloodlightActivityGroupsListResponse o) {
buildCounterFloodlightActivityGroupsListResponse++;
if (buildCounterFloodlightActivityGroupsListResponse < 3) {
- checkUnnamed3300(o.floodlightActivityGroups);
+ checkUnnamed3319(o.floodlightActivityGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -4329,27 +4329,27 @@
buildCounterFloodlightActivityPublisherDynamicTag--;
}
-buildUnnamed3301() {
+buildUnnamed3320() {
var o = new core.List<api.ThirdPartyAuthenticationToken>();
o.add(buildThirdPartyAuthenticationToken());
o.add(buildThirdPartyAuthenticationToken());
return o;
}
-checkUnnamed3301(core.List<api.ThirdPartyAuthenticationToken> o) {
+checkUnnamed3320(core.List<api.ThirdPartyAuthenticationToken> o) {
unittest.expect(o, unittest.hasLength(2));
checkThirdPartyAuthenticationToken(o[0]);
checkThirdPartyAuthenticationToken(o[1]);
}
-buildUnnamed3302() {
+buildUnnamed3321() {
var o = new core.List<api.UserDefinedVariableConfiguration>();
o.add(buildUserDefinedVariableConfiguration());
o.add(buildUserDefinedVariableConfiguration());
return o;
}
-checkUnnamed3302(core.List<api.UserDefinedVariableConfiguration> o) {
+checkUnnamed3321(core.List<api.UserDefinedVariableConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedVariableConfiguration(o[0]);
checkUserDefinedVariableConfiguration(o[1]);
@@ -4375,8 +4375,8 @@
o.omnitureSettings = buildOmnitureSettings();
o.subaccountId = "foo";
o.tagSettings = buildTagSettings();
- o.thirdPartyAuthenticationTokens = buildUnnamed3301();
- o.userDefinedVariableConfigurations = buildUnnamed3302();
+ o.thirdPartyAuthenticationTokens = buildUnnamed3320();
+ o.userDefinedVariableConfigurations = buildUnnamed3321();
}
buildCounterFloodlightConfiguration--;
return o;
@@ -4401,20 +4401,20 @@
checkOmnitureSettings(o.omnitureSettings);
unittest.expect(o.subaccountId, unittest.equals('foo'));
checkTagSettings(o.tagSettings);
- checkUnnamed3301(o.thirdPartyAuthenticationTokens);
- checkUnnamed3302(o.userDefinedVariableConfigurations);
+ checkUnnamed3320(o.thirdPartyAuthenticationTokens);
+ checkUnnamed3321(o.userDefinedVariableConfigurations);
}
buildCounterFloodlightConfiguration--;
}
-buildUnnamed3303() {
+buildUnnamed3322() {
var o = new core.List<api.FloodlightConfiguration>();
o.add(buildFloodlightConfiguration());
o.add(buildFloodlightConfiguration());
return o;
}
-checkUnnamed3303(core.List<api.FloodlightConfiguration> o) {
+checkUnnamed3322(core.List<api.FloodlightConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightConfiguration(o[0]);
checkFloodlightConfiguration(o[1]);
@@ -4425,7 +4425,7 @@
var o = new api.FloodlightConfigurationsListResponse();
buildCounterFloodlightConfigurationsListResponse++;
if (buildCounterFloodlightConfigurationsListResponse < 3) {
- o.floodlightConfigurations = buildUnnamed3303();
+ o.floodlightConfigurations = buildUnnamed3322();
o.kind = "foo";
}
buildCounterFloodlightConfigurationsListResponse--;
@@ -4436,46 +4436,46 @@
api.FloodlightConfigurationsListResponse o) {
buildCounterFloodlightConfigurationsListResponse++;
if (buildCounterFloodlightConfigurationsListResponse < 3) {
- checkUnnamed3303(o.floodlightConfigurations);
+ checkUnnamed3322(o.floodlightConfigurations);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterFloodlightConfigurationsListResponse--;
}
-buildUnnamed3304() {
+buildUnnamed3323() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3304(core.List<api.Dimension> o) {
+checkUnnamed3323(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed3305() {
+buildUnnamed3324() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3305(core.List<api.Dimension> o) {
+checkUnnamed3324(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed3306() {
+buildUnnamed3325() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed3306(core.List<api.Metric> o) {
+checkUnnamed3325(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -4486,10 +4486,10 @@
var o = new api.FloodlightReportCompatibleFields();
buildCounterFloodlightReportCompatibleFields++;
if (buildCounterFloodlightReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed3304();
- o.dimensions = buildUnnamed3305();
+ o.dimensionFilters = buildUnnamed3323();
+ o.dimensions = buildUnnamed3324();
o.kind = "foo";
- o.metrics = buildUnnamed3306();
+ o.metrics = buildUnnamed3325();
}
buildCounterFloodlightReportCompatibleFields--;
return o;
@@ -4498,10 +4498,10 @@
checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) {
buildCounterFloodlightReportCompatibleFields++;
if (buildCounterFloodlightReportCompatibleFields < 3) {
- checkUnnamed3304(o.dimensionFilters);
- checkUnnamed3305(o.dimensions);
+ checkUnnamed3323(o.dimensionFilters);
+ checkUnnamed3324(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3306(o.metrics);
+ checkUnnamed3325(o.metrics);
}
buildCounterFloodlightReportCompatibleFields--;
}
@@ -4554,66 +4554,66 @@
buildCounterFsCommand--;
}
-buildUnnamed3307() {
+buildUnnamed3326() {
var o = new core.List<api.City>();
o.add(buildCity());
o.add(buildCity());
return o;
}
-checkUnnamed3307(core.List<api.City> o) {
+checkUnnamed3326(core.List<api.City> o) {
unittest.expect(o, unittest.hasLength(2));
checkCity(o[0]);
checkCity(o[1]);
}
-buildUnnamed3308() {
+buildUnnamed3327() {
var o = new core.List<api.Country>();
o.add(buildCountry());
o.add(buildCountry());
return o;
}
-checkUnnamed3308(core.List<api.Country> o) {
+checkUnnamed3327(core.List<api.Country> o) {
unittest.expect(o, unittest.hasLength(2));
checkCountry(o[0]);
checkCountry(o[1]);
}
-buildUnnamed3309() {
+buildUnnamed3328() {
var o = new core.List<api.Metro>();
o.add(buildMetro());
o.add(buildMetro());
return o;
}
-checkUnnamed3309(core.List<api.Metro> o) {
+checkUnnamed3328(core.List<api.Metro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetro(o[0]);
checkMetro(o[1]);
}
-buildUnnamed3310() {
+buildUnnamed3329() {
var o = new core.List<api.PostalCode>();
o.add(buildPostalCode());
o.add(buildPostalCode());
return o;
}
-checkUnnamed3310(core.List<api.PostalCode> o) {
+checkUnnamed3329(core.List<api.PostalCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCode(o[0]);
checkPostalCode(o[1]);
}
-buildUnnamed3311() {
+buildUnnamed3330() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed3311(core.List<api.Region> o) {
+checkUnnamed3330(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -4624,12 +4624,12 @@
var o = new api.GeoTargeting();
buildCounterGeoTargeting++;
if (buildCounterGeoTargeting < 3) {
- o.cities = buildUnnamed3307();
- o.countries = buildUnnamed3308();
+ o.cities = buildUnnamed3326();
+ o.countries = buildUnnamed3327();
o.excludeCountries = true;
- o.metros = buildUnnamed3309();
- o.postalCodes = buildUnnamed3310();
- o.regions = buildUnnamed3311();
+ o.metros = buildUnnamed3328();
+ o.postalCodes = buildUnnamed3329();
+ o.regions = buildUnnamed3330();
}
buildCounterGeoTargeting--;
return o;
@@ -4638,24 +4638,24 @@
checkGeoTargeting(api.GeoTargeting o) {
buildCounterGeoTargeting++;
if (buildCounterGeoTargeting < 3) {
- checkUnnamed3307(o.cities);
- checkUnnamed3308(o.countries);
+ checkUnnamed3326(o.cities);
+ checkUnnamed3327(o.countries);
unittest.expect(o.excludeCountries, unittest.isTrue);
- checkUnnamed3309(o.metros);
- checkUnnamed3310(o.postalCodes);
- checkUnnamed3311(o.regions);
+ checkUnnamed3328(o.metros);
+ checkUnnamed3329(o.postalCodes);
+ checkUnnamed3330(o.regions);
}
buildCounterGeoTargeting--;
}
-buildUnnamed3312() {
+buildUnnamed3331() {
var o = new core.List<api.AdSlot>();
o.add(buildAdSlot());
o.add(buildAdSlot());
return o;
}
-checkUnnamed3312(core.List<api.AdSlot> o) {
+checkUnnamed3331(core.List<api.AdSlot> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdSlot(o[0]);
checkAdSlot(o[1]);
@@ -4667,7 +4667,7 @@
buildCounterInventoryItem++;
if (buildCounterInventoryItem < 3) {
o.accountId = "foo";
- o.adSlots = buildUnnamed3312();
+ o.adSlots = buildUnnamed3331();
o.advertiserId = "foo";
o.contentCategoryId = "foo";
o.estimatedClickThroughRate = "foo";
@@ -4695,7 +4695,7 @@
buildCounterInventoryItem++;
if (buildCounterInventoryItem < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed3312(o.adSlots);
+ checkUnnamed3331(o.adSlots);
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.contentCategoryId, unittest.equals('foo'));
unittest.expect(o.estimatedClickThroughRate, unittest.equals('foo'));
@@ -4718,14 +4718,14 @@
buildCounterInventoryItem--;
}
-buildUnnamed3313() {
+buildUnnamed3332() {
var o = new core.List<api.InventoryItem>();
o.add(buildInventoryItem());
o.add(buildInventoryItem());
return o;
}
-checkUnnamed3313(core.List<api.InventoryItem> o) {
+checkUnnamed3332(core.List<api.InventoryItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkInventoryItem(o[0]);
checkInventoryItem(o[1]);
@@ -4736,7 +4736,7 @@
var o = new api.InventoryItemsListResponse();
buildCounterInventoryItemsListResponse++;
if (buildCounterInventoryItemsListResponse < 3) {
- o.inventoryItems = buildUnnamed3313();
+ o.inventoryItems = buildUnnamed3332();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4747,7 +4747,7 @@
checkInventoryItemsListResponse(api.InventoryItemsListResponse o) {
buildCounterInventoryItemsListResponse++;
if (buildCounterInventoryItemsListResponse < 3) {
- checkUnnamed3313(o.inventoryItems);
+ checkUnnamed3332(o.inventoryItems);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -4800,14 +4800,14 @@
buildCounterLandingPage--;
}
-buildUnnamed3314() {
+buildUnnamed3333() {
var o = new core.List<api.LandingPage>();
o.add(buildLandingPage());
o.add(buildLandingPage());
return o;
}
-checkUnnamed3314(core.List<api.LandingPage> o) {
+checkUnnamed3333(core.List<api.LandingPage> o) {
unittest.expect(o, unittest.hasLength(2));
checkLandingPage(o[0]);
checkLandingPage(o[1]);
@@ -4819,7 +4819,7 @@
buildCounterLandingPagesListResponse++;
if (buildCounterLandingPagesListResponse < 3) {
o.kind = "foo";
- o.landingPages = buildUnnamed3314();
+ o.landingPages = buildUnnamed3333();
}
buildCounterLandingPagesListResponse--;
return o;
@@ -4829,7 +4829,7 @@
buildCounterLandingPagesListResponse++;
if (buildCounterLandingPagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3314(o.landingPages);
+ checkUnnamed3333(o.landingPages);
}
buildCounterLandingPagesListResponse--;
}
@@ -4859,14 +4859,14 @@
buildCounterLanguage--;
}
-buildUnnamed3315() {
+buildUnnamed3334() {
var o = new core.List<api.Language>();
o.add(buildLanguage());
o.add(buildLanguage());
return o;
}
-checkUnnamed3315(core.List<api.Language> o) {
+checkUnnamed3334(core.List<api.Language> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguage(o[0]);
checkLanguage(o[1]);
@@ -4877,7 +4877,7 @@
var o = new api.LanguageTargeting();
buildCounterLanguageTargeting++;
if (buildCounterLanguageTargeting < 3) {
- o.languages = buildUnnamed3315();
+ o.languages = buildUnnamed3334();
}
buildCounterLanguageTargeting--;
return o;
@@ -4886,19 +4886,19 @@
checkLanguageTargeting(api.LanguageTargeting o) {
buildCounterLanguageTargeting++;
if (buildCounterLanguageTargeting < 3) {
- checkUnnamed3315(o.languages);
+ checkUnnamed3334(o.languages);
}
buildCounterLanguageTargeting--;
}
-buildUnnamed3316() {
+buildUnnamed3335() {
var o = new core.List<api.Language>();
o.add(buildLanguage());
o.add(buildLanguage());
return o;
}
-checkUnnamed3316(core.List<api.Language> o) {
+checkUnnamed3335(core.List<api.Language> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguage(o[0]);
checkLanguage(o[1]);
@@ -4910,7 +4910,7 @@
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
o.kind = "foo";
- o.languages = buildUnnamed3316();
+ o.languages = buildUnnamed3335();
}
buildCounterLanguagesListResponse--;
return o;
@@ -4920,7 +4920,7 @@
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3316(o.languages);
+ checkUnnamed3335(o.languages);
}
buildCounterLanguagesListResponse--;
}
@@ -4944,14 +4944,14 @@
buildCounterLastModifiedInfo--;
}
-buildUnnamed3317() {
+buildUnnamed3336() {
var o = new core.List<api.ListPopulationTerm>();
o.add(buildListPopulationTerm());
o.add(buildListPopulationTerm());
return o;
}
-checkUnnamed3317(core.List<api.ListPopulationTerm> o) {
+checkUnnamed3336(core.List<api.ListPopulationTerm> o) {
unittest.expect(o, unittest.hasLength(2));
checkListPopulationTerm(o[0]);
checkListPopulationTerm(o[1]);
@@ -4962,7 +4962,7 @@
var o = new api.ListPopulationClause();
buildCounterListPopulationClause++;
if (buildCounterListPopulationClause < 3) {
- o.terms = buildUnnamed3317();
+ o.terms = buildUnnamed3336();
}
buildCounterListPopulationClause--;
return o;
@@ -4971,19 +4971,19 @@
checkListPopulationClause(api.ListPopulationClause o) {
buildCounterListPopulationClause++;
if (buildCounterListPopulationClause < 3) {
- checkUnnamed3317(o.terms);
+ checkUnnamed3336(o.terms);
}
buildCounterListPopulationClause--;
}
-buildUnnamed3318() {
+buildUnnamed3337() {
var o = new core.List<api.ListPopulationClause>();
o.add(buildListPopulationClause());
o.add(buildListPopulationClause());
return o;
}
-checkUnnamed3318(core.List<api.ListPopulationClause> o) {
+checkUnnamed3337(core.List<api.ListPopulationClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkListPopulationClause(o[0]);
checkListPopulationClause(o[1]);
@@ -4996,7 +4996,7 @@
if (buildCounterListPopulationRule < 3) {
o.floodlightActivityId = "foo";
o.floodlightActivityName = "foo";
- o.listPopulationClauses = buildUnnamed3318();
+ o.listPopulationClauses = buildUnnamed3337();
}
buildCounterListPopulationRule--;
return o;
@@ -5007,7 +5007,7 @@
if (buildCounterListPopulationRule < 3) {
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
unittest.expect(o.floodlightActivityName, unittest.equals('foo'));
- checkUnnamed3318(o.listPopulationClauses);
+ checkUnnamed3337(o.listPopulationClauses);
}
buildCounterListPopulationRule--;
}
@@ -5137,14 +5137,14 @@
buildCounterMetro--;
}
-buildUnnamed3319() {
+buildUnnamed3338() {
var o = new core.List<api.Metro>();
o.add(buildMetro());
o.add(buildMetro());
return o;
}
-checkUnnamed3319(core.List<api.Metro> o) {
+checkUnnamed3338(core.List<api.Metro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetro(o[0]);
checkMetro(o[1]);
@@ -5156,7 +5156,7 @@
buildCounterMetrosListResponse++;
if (buildCounterMetrosListResponse < 3) {
o.kind = "foo";
- o.metros = buildUnnamed3319();
+ o.metros = buildUnnamed3338();
}
buildCounterMetrosListResponse--;
return o;
@@ -5166,7 +5166,7 @@
buildCounterMetrosListResponse++;
if (buildCounterMetrosListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3319(o.metros);
+ checkUnnamed3338(o.metros);
}
buildCounterMetrosListResponse--;
}
@@ -5198,14 +5198,14 @@
buildCounterMobileCarrier--;
}
-buildUnnamed3320() {
+buildUnnamed3339() {
var o = new core.List<api.MobileCarrier>();
o.add(buildMobileCarrier());
o.add(buildMobileCarrier());
return o;
}
-checkUnnamed3320(core.List<api.MobileCarrier> o) {
+checkUnnamed3339(core.List<api.MobileCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileCarrier(o[0]);
checkMobileCarrier(o[1]);
@@ -5217,7 +5217,7 @@
buildCounterMobileCarriersListResponse++;
if (buildCounterMobileCarriersListResponse < 3) {
o.kind = "foo";
- o.mobileCarriers = buildUnnamed3320();
+ o.mobileCarriers = buildUnnamed3339();
}
buildCounterMobileCarriersListResponse--;
return o;
@@ -5227,19 +5227,19 @@
buildCounterMobileCarriersListResponse++;
if (buildCounterMobileCarriersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3320(o.mobileCarriers);
+ checkUnnamed3339(o.mobileCarriers);
}
buildCounterMobileCarriersListResponse--;
}
-buildUnnamed3321() {
+buildUnnamed3340() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3321(core.List<core.String> o) {
+checkUnnamed3340(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5251,7 +5251,7 @@
buildCounterObjectFilter++;
if (buildCounterObjectFilter < 3) {
o.kind = "foo";
- o.objectIds = buildUnnamed3321();
+ o.objectIds = buildUnnamed3340();
o.status = "foo";
}
buildCounterObjectFilter--;
@@ -5262,7 +5262,7 @@
buildCounterObjectFilter++;
if (buildCounterObjectFilter < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3321(o.objectIds);
+ checkUnnamed3340(o.objectIds);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterObjectFilter--;
@@ -5366,14 +5366,14 @@
buildCounterOperatingSystemVersion--;
}
-buildUnnamed3322() {
+buildUnnamed3341() {
var o = new core.List<api.OperatingSystemVersion>();
o.add(buildOperatingSystemVersion());
o.add(buildOperatingSystemVersion());
return o;
}
-checkUnnamed3322(core.List<api.OperatingSystemVersion> o) {
+checkUnnamed3341(core.List<api.OperatingSystemVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystemVersion(o[0]);
checkOperatingSystemVersion(o[1]);
@@ -5385,7 +5385,7 @@
buildCounterOperatingSystemVersionsListResponse++;
if (buildCounterOperatingSystemVersionsListResponse < 3) {
o.kind = "foo";
- o.operatingSystemVersions = buildUnnamed3322();
+ o.operatingSystemVersions = buildUnnamed3341();
}
buildCounterOperatingSystemVersionsListResponse--;
return o;
@@ -5396,19 +5396,19 @@
buildCounterOperatingSystemVersionsListResponse++;
if (buildCounterOperatingSystemVersionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3322(o.operatingSystemVersions);
+ checkUnnamed3341(o.operatingSystemVersions);
}
buildCounterOperatingSystemVersionsListResponse--;
}
-buildUnnamed3323() {
+buildUnnamed3342() {
var o = new core.List<api.OperatingSystem>();
o.add(buildOperatingSystem());
o.add(buildOperatingSystem());
return o;
}
-checkUnnamed3323(core.List<api.OperatingSystem> o) {
+checkUnnamed3342(core.List<api.OperatingSystem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystem(o[0]);
checkOperatingSystem(o[1]);
@@ -5420,7 +5420,7 @@
buildCounterOperatingSystemsListResponse++;
if (buildCounterOperatingSystemsListResponse < 3) {
o.kind = "foo";
- o.operatingSystems = buildUnnamed3323();
+ o.operatingSystems = buildUnnamed3342();
}
buildCounterOperatingSystemsListResponse--;
return o;
@@ -5430,7 +5430,7 @@
buildCounterOperatingSystemsListResponse++;
if (buildCounterOperatingSystemsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3323(o.operatingSystems);
+ checkUnnamed3342(o.operatingSystems);
}
buildCounterOperatingSystemsListResponse--;
}
@@ -5458,53 +5458,53 @@
buildCounterOptimizationActivity--;
}
-buildUnnamed3324() {
+buildUnnamed3343() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3324(core.List<core.String> o) {
+checkUnnamed3343(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3325() {
+buildUnnamed3344() {
var o = new core.List<api.OrderContact>();
o.add(buildOrderContact());
o.add(buildOrderContact());
return o;
}
-checkUnnamed3325(core.List<api.OrderContact> o) {
+checkUnnamed3344(core.List<api.OrderContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderContact(o[0]);
checkOrderContact(o[1]);
}
-buildUnnamed3326() {
+buildUnnamed3345() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3326(core.List<core.String> o) {
+checkUnnamed3345(core.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() {
+buildUnnamed3346() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3327(core.List<core.String> o) {
+checkUnnamed3346(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5517,11 +5517,11 @@
if (buildCounterOrder < 3) {
o.accountId = "foo";
o.advertiserId = "foo";
- o.approverUserProfileIds = buildUnnamed3324();
+ o.approverUserProfileIds = buildUnnamed3343();
o.buyerInvoiceId = "foo";
o.buyerOrganizationName = "foo";
o.comments = "foo";
- o.contacts = buildUnnamed3325();
+ o.contacts = buildUnnamed3344();
o.id = "foo";
o.kind = "foo";
o.lastModifiedInfo = buildLastModifiedInfo();
@@ -5531,8 +5531,8 @@
o.projectId = "foo";
o.sellerOrderId = "foo";
o.sellerOrganizationName = "foo";
- o.siteId = buildUnnamed3326();
- o.siteNames = buildUnnamed3327();
+ o.siteId = buildUnnamed3345();
+ o.siteNames = buildUnnamed3346();
o.subaccountId = "foo";
o.termsAndConditions = "foo";
}
@@ -5545,11 +5545,11 @@
if (buildCounterOrder < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
- checkUnnamed3324(o.approverUserProfileIds);
+ checkUnnamed3343(o.approverUserProfileIds);
unittest.expect(o.buyerInvoiceId, unittest.equals('foo'));
unittest.expect(o.buyerOrganizationName, unittest.equals('foo'));
unittest.expect(o.comments, unittest.equals('foo'));
- checkUnnamed3325(o.contacts);
+ checkUnnamed3344(o.contacts);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkLastModifiedInfo(o.lastModifiedInfo);
@@ -5559,8 +5559,8 @@
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.sellerOrderId, unittest.equals('foo'));
unittest.expect(o.sellerOrganizationName, unittest.equals('foo'));
- checkUnnamed3326(o.siteId);
- checkUnnamed3327(o.siteNames);
+ checkUnnamed3345(o.siteId);
+ checkUnnamed3346(o.siteNames);
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.termsAndConditions, unittest.equals('foo'));
}
@@ -5594,27 +5594,27 @@
buildCounterOrderContact--;
}
-buildUnnamed3328() {
+buildUnnamed3347() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3328(core.List<core.String> 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'));
}
-buildUnnamed3329() {
+buildUnnamed3348() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3329(core.List<core.String> 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'));
@@ -5628,13 +5628,13 @@
o.accountId = "foo";
o.advertiserId = "foo";
o.amendedOrderDocumentId = "foo";
- o.approvedByUserProfileIds = buildUnnamed3328();
+ o.approvedByUserProfileIds = buildUnnamed3347();
o.cancelled = true;
o.createdInfo = buildLastModifiedInfo();
o.effectiveDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.id = "foo";
o.kind = "foo";
- o.lastSentRecipients = buildUnnamed3329();
+ o.lastSentRecipients = buildUnnamed3348();
o.lastSentTime = core.DateTime.parse("2002-02-27T14:01:02");
o.orderId = "foo";
o.projectId = "foo";
@@ -5653,14 +5653,14 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.amendedOrderDocumentId, unittest.equals('foo'));
- checkUnnamed3328(o.approvedByUserProfileIds);
+ checkUnnamed3347(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'));
- checkUnnamed3329(o.lastSentRecipients);
+ checkUnnamed3348(o.lastSentRecipients);
unittest.expect(o.lastSentTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.orderId, unittest.equals('foo'));
@@ -5673,14 +5673,14 @@
buildCounterOrderDocument--;
}
-buildUnnamed3330() {
+buildUnnamed3349() {
var o = new core.List<api.OrderDocument>();
o.add(buildOrderDocument());
o.add(buildOrderDocument());
return o;
}
-checkUnnamed3330(core.List<api.OrderDocument> o) {
+checkUnnamed3349(core.List<api.OrderDocument> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderDocument(o[0]);
checkOrderDocument(o[1]);
@@ -5693,7 +5693,7 @@
if (buildCounterOrderDocumentsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.orderDocuments = buildUnnamed3330();
+ o.orderDocuments = buildUnnamed3349();
}
buildCounterOrderDocumentsListResponse--;
return o;
@@ -5704,19 +5704,19 @@
if (buildCounterOrderDocumentsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3330(o.orderDocuments);
+ checkUnnamed3349(o.orderDocuments);
}
buildCounterOrderDocumentsListResponse--;
}
-buildUnnamed3331() {
+buildUnnamed3350() {
var o = new core.List<api.Order>();
o.add(buildOrder());
o.add(buildOrder());
return o;
}
-checkUnnamed3331(core.List<api.Order> o) {
+checkUnnamed3350(core.List<api.Order> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrder(o[0]);
checkOrder(o[1]);
@@ -5729,7 +5729,7 @@
if (buildCounterOrdersListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.orders = buildUnnamed3331();
+ o.orders = buildUnnamed3350();
}
buildCounterOrdersListResponse--;
return o;
@@ -5740,58 +5740,58 @@
if (buildCounterOrdersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3331(o.orders);
+ checkUnnamed3350(o.orders);
}
buildCounterOrdersListResponse--;
}
-buildUnnamed3332() {
+buildUnnamed3351() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3332(core.List<api.Dimension> o) {
+checkUnnamed3351(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed3333() {
+buildUnnamed3352() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3333(core.List<api.Dimension> o) {
+checkUnnamed3352(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed3334() {
+buildUnnamed3353() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed3334(core.List<api.Metric> o) {
+checkUnnamed3353(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed3335() {
+buildUnnamed3354() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3335(core.List<api.Dimension> o) {
+checkUnnamed3354(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
@@ -5802,11 +5802,11 @@
var o = new api.PathToConversionReportCompatibleFields();
buildCounterPathToConversionReportCompatibleFields++;
if (buildCounterPathToConversionReportCompatibleFields < 3) {
- o.conversionDimensions = buildUnnamed3332();
- o.customFloodlightVariables = buildUnnamed3333();
+ o.conversionDimensions = buildUnnamed3351();
+ o.customFloodlightVariables = buildUnnamed3352();
o.kind = "foo";
- o.metrics = buildUnnamed3334();
- o.perInteractionDimensions = buildUnnamed3335();
+ o.metrics = buildUnnamed3353();
+ o.perInteractionDimensions = buildUnnamed3354();
}
buildCounterPathToConversionReportCompatibleFields--;
return o;
@@ -5816,23 +5816,23 @@
api.PathToConversionReportCompatibleFields o) {
buildCounterPathToConversionReportCompatibleFields++;
if (buildCounterPathToConversionReportCompatibleFields < 3) {
- checkUnnamed3332(o.conversionDimensions);
- checkUnnamed3333(o.customFloodlightVariables);
+ checkUnnamed3351(o.conversionDimensions);
+ checkUnnamed3352(o.customFloodlightVariables);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3334(o.metrics);
- checkUnnamed3335(o.perInteractionDimensions);
+ checkUnnamed3353(o.metrics);
+ checkUnnamed3354(o.perInteractionDimensions);
}
buildCounterPathToConversionReportCompatibleFields--;
}
-buildUnnamed3336() {
+buildUnnamed3355() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3336(core.List<core.String> o) {
+checkUnnamed3355(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5878,7 +5878,7 @@
o.sslRequired = true;
o.status = "foo";
o.subaccountId = "foo";
- o.tagFormats = buildUnnamed3336();
+ o.tagFormats = buildUnnamed3355();
o.tagSetting = buildTagSetting();
o.videoActiveViewOptOut = true;
o.videoSettings = buildVideoSettings();
@@ -5926,7 +5926,7 @@
unittest.expect(o.sslRequired, unittest.isTrue);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subaccountId, unittest.equals('foo'));
- checkUnnamed3336(o.tagFormats);
+ checkUnnamed3355(o.tagFormats);
checkTagSetting(o.tagSetting);
unittest.expect(o.videoActiveViewOptOut, unittest.isTrue);
checkVideoSettings(o.videoSettings);
@@ -5960,14 +5960,14 @@
buildCounterPlacementAssignment--;
}
-buildUnnamed3337() {
+buildUnnamed3356() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3337(core.List<core.String> o) {
+checkUnnamed3356(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5984,7 +5984,7 @@
o.archived = true;
o.campaignId = "foo";
o.campaignIdDimensionValue = buildDimensionValue();
- o.childPlacementIds = buildUnnamed3337();
+ o.childPlacementIds = buildUnnamed3356();
o.comment = "foo";
o.contentCategoryId = "foo";
o.createInfo = buildLastModifiedInfo();
@@ -6018,7 +6018,7 @@
unittest.expect(o.archived, unittest.isTrue);
unittest.expect(o.campaignId, unittest.equals('foo'));
checkDimensionValue(o.campaignIdDimensionValue);
- checkUnnamed3337(o.childPlacementIds);
+ checkUnnamed3356(o.childPlacementIds);
unittest.expect(o.comment, unittest.equals('foo'));
unittest.expect(o.contentCategoryId, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
@@ -6042,14 +6042,14 @@
buildCounterPlacementGroup--;
}
-buildUnnamed3338() {
+buildUnnamed3357() {
var o = new core.List<api.PlacementGroup>();
o.add(buildPlacementGroup());
o.add(buildPlacementGroup());
return o;
}
-checkUnnamed3338(core.List<api.PlacementGroup> o) {
+checkUnnamed3357(core.List<api.PlacementGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementGroup(o[0]);
checkPlacementGroup(o[1]);
@@ -6062,7 +6062,7 @@
if (buildCounterPlacementGroupsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placementGroups = buildUnnamed3338();
+ o.placementGroups = buildUnnamed3357();
}
buildCounterPlacementGroupsListResponse--;
return o;
@@ -6073,19 +6073,19 @@
if (buildCounterPlacementGroupsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3338(o.placementGroups);
+ checkUnnamed3357(o.placementGroups);
}
buildCounterPlacementGroupsListResponse--;
}
-buildUnnamed3339() {
+buildUnnamed3358() {
var o = new core.List<api.PlacementStrategy>();
o.add(buildPlacementStrategy());
o.add(buildPlacementStrategy());
return o;
}
-checkUnnamed3339(core.List<api.PlacementStrategy> o) {
+checkUnnamed3358(core.List<api.PlacementStrategy> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementStrategy(o[0]);
checkPlacementStrategy(o[1]);
@@ -6098,7 +6098,7 @@
if (buildCounterPlacementStrategiesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placementStrategies = buildUnnamed3339();
+ o.placementStrategies = buildUnnamed3358();
}
buildCounterPlacementStrategiesListResponse--;
return o;
@@ -6109,7 +6109,7 @@
if (buildCounterPlacementStrategiesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3339(o.placementStrategies);
+ checkUnnamed3358(o.placementStrategies);
}
buildCounterPlacementStrategiesListResponse--;
}
@@ -6139,14 +6139,14 @@
buildCounterPlacementStrategy--;
}
-buildUnnamed3340() {
+buildUnnamed3359() {
var o = new core.List<api.TagData>();
o.add(buildTagData());
o.add(buildTagData());
return o;
}
-checkUnnamed3340(core.List<api.TagData> o) {
+checkUnnamed3359(core.List<api.TagData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTagData(o[0]);
checkTagData(o[1]);
@@ -6158,7 +6158,7 @@
buildCounterPlacementTag++;
if (buildCounterPlacementTag < 3) {
o.placementId = "foo";
- o.tagDatas = buildUnnamed3340();
+ o.tagDatas = buildUnnamed3359();
}
buildCounterPlacementTag--;
return o;
@@ -6168,19 +6168,19 @@
buildCounterPlacementTag++;
if (buildCounterPlacementTag < 3) {
unittest.expect(o.placementId, unittest.equals('foo'));
- checkUnnamed3340(o.tagDatas);
+ checkUnnamed3359(o.tagDatas);
}
buildCounterPlacementTag--;
}
-buildUnnamed3341() {
+buildUnnamed3360() {
var o = new core.List<api.PlacementTag>();
o.add(buildPlacementTag());
o.add(buildPlacementTag());
return o;
}
-checkUnnamed3341(core.List<api.PlacementTag> o) {
+checkUnnamed3360(core.List<api.PlacementTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementTag(o[0]);
checkPlacementTag(o[1]);
@@ -6192,7 +6192,7 @@
buildCounterPlacementsGenerateTagsResponse++;
if (buildCounterPlacementsGenerateTagsResponse < 3) {
o.kind = "foo";
- o.placementTags = buildUnnamed3341();
+ o.placementTags = buildUnnamed3360();
}
buildCounterPlacementsGenerateTagsResponse--;
return o;
@@ -6202,19 +6202,19 @@
buildCounterPlacementsGenerateTagsResponse++;
if (buildCounterPlacementsGenerateTagsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3341(o.placementTags);
+ checkUnnamed3360(o.placementTags);
}
buildCounterPlacementsGenerateTagsResponse--;
}
-buildUnnamed3342() {
+buildUnnamed3361() {
var o = new core.List<api.Placement>();
o.add(buildPlacement());
o.add(buildPlacement());
return o;
}
-checkUnnamed3342(core.List<api.Placement> o) {
+checkUnnamed3361(core.List<api.Placement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacement(o[0]);
checkPlacement(o[1]);
@@ -6227,7 +6227,7 @@
if (buildCounterPlacementsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placements = buildUnnamed3342();
+ o.placements = buildUnnamed3361();
}
buildCounterPlacementsListResponse--;
return o;
@@ -6238,7 +6238,7 @@
if (buildCounterPlacementsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3342(o.placements);
+ checkUnnamed3361(o.placements);
}
buildCounterPlacementsListResponse--;
}
@@ -6266,14 +6266,14 @@
buildCounterPlatformType--;
}
-buildUnnamed3343() {
+buildUnnamed3362() {
var o = new core.List<api.PlatformType>();
o.add(buildPlatformType());
o.add(buildPlatformType());
return o;
}
-checkUnnamed3343(core.List<api.PlatformType> o) {
+checkUnnamed3362(core.List<api.PlatformType> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlatformType(o[0]);
checkPlatformType(o[1]);
@@ -6285,7 +6285,7 @@
buildCounterPlatformTypesListResponse++;
if (buildCounterPlatformTypesListResponse < 3) {
o.kind = "foo";
- o.platformTypes = buildUnnamed3343();
+ o.platformTypes = buildUnnamed3362();
}
buildCounterPlatformTypesListResponse--;
return o;
@@ -6295,7 +6295,7 @@
buildCounterPlatformTypesListResponse++;
if (buildCounterPlatformTypesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3343(o.platformTypes);
+ checkUnnamed3362(o.platformTypes);
}
buildCounterPlatformTypesListResponse--;
}
@@ -6362,14 +6362,14 @@
buildCounterPostalCode--;
}
-buildUnnamed3344() {
+buildUnnamed3363() {
var o = new core.List<api.PostalCode>();
o.add(buildPostalCode());
o.add(buildPostalCode());
return o;
}
-checkUnnamed3344(core.List<api.PostalCode> o) {
+checkUnnamed3363(core.List<api.PostalCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCode(o[0]);
checkPostalCode(o[1]);
@@ -6381,7 +6381,7 @@
buildCounterPostalCodesListResponse++;
if (buildCounterPostalCodesListResponse < 3) {
o.kind = "foo";
- o.postalCodes = buildUnnamed3344();
+ o.postalCodes = buildUnnamed3363();
}
buildCounterPostalCodesListResponse--;
return o;
@@ -6391,19 +6391,19 @@
buildCounterPostalCodesListResponse++;
if (buildCounterPostalCodesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3344(o.postalCodes);
+ checkUnnamed3363(o.postalCodes);
}
buildCounterPostalCodesListResponse--;
}
-buildUnnamed3345() {
+buildUnnamed3364() {
var o = new core.List<api.Flight>();
o.add(buildFlight());
o.add(buildFlight());
return o;
}
-checkUnnamed3345(core.List<api.Flight> o) {
+checkUnnamed3364(core.List<api.Flight> o) {
unittest.expect(o, unittest.hasLength(2));
checkFlight(o[0]);
checkFlight(o[1]);
@@ -6416,7 +6416,7 @@
if (buildCounterPricing < 3) {
o.capCostType = "foo";
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.flights = buildUnnamed3345();
+ o.flights = buildUnnamed3364();
o.groupType = "foo";
o.pricingType = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
@@ -6431,7 +6431,7 @@
unittest.expect(o.capCostType, unittest.equals('foo'));
unittest.expect(
o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed3345(o.flights);
+ checkUnnamed3364(o.flights);
unittest.expect(o.groupType, unittest.equals('foo'));
unittest.expect(o.pricingType, unittest.equals('foo'));
unittest.expect(o.startDate,
@@ -6440,14 +6440,14 @@
buildCounterPricing--;
}
-buildUnnamed3346() {
+buildUnnamed3365() {
var o = new core.List<api.PricingSchedulePricingPeriod>();
o.add(buildPricingSchedulePricingPeriod());
o.add(buildPricingSchedulePricingPeriod());
return o;
}
-checkUnnamed3346(core.List<api.PricingSchedulePricingPeriod> o) {
+checkUnnamed3365(core.List<api.PricingSchedulePricingPeriod> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricingSchedulePricingPeriod(o[0]);
checkPricingSchedulePricingPeriod(o[1]);
@@ -6463,7 +6463,7 @@
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.flighted = true;
o.floodlightActivityId = "foo";
- o.pricingPeriods = buildUnnamed3346();
+ o.pricingPeriods = buildUnnamed3365();
o.pricingType = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.testingStartDate = core.DateTime.parse("2002-02-27T14:01:02Z");
@@ -6481,7 +6481,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'));
- checkUnnamed3346(o.pricingPeriods);
+ checkUnnamed3365(o.pricingPeriods);
unittest.expect(o.pricingType, unittest.equals('foo'));
unittest.expect(o.startDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -6583,14 +6583,14 @@
buildCounterProject--;
}
-buildUnnamed3347() {
+buildUnnamed3366() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed3347(core.List<api.Project> o) {
+checkUnnamed3366(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -6603,7 +6603,7 @@
if (buildCounterProjectsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.projects = buildUnnamed3347();
+ o.projects = buildUnnamed3366();
}
buildCounterProjectsListResponse--;
return o;
@@ -6614,71 +6614,71 @@
if (buildCounterProjectsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3347(o.projects);
+ checkUnnamed3366(o.projects);
}
buildCounterProjectsListResponse--;
}
-buildUnnamed3348() {
+buildUnnamed3367() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3348(core.List<api.Dimension> o) {
+checkUnnamed3367(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed3349() {
+buildUnnamed3368() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3349(core.List<api.Dimension> o) {
+checkUnnamed3368(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed3350() {
+buildUnnamed3369() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed3350(core.List<api.Metric> o) {
+checkUnnamed3369(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed3351() {
+buildUnnamed3370() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed3351(core.List<api.Metric> o) {
+checkUnnamed3370(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed3352() {
+buildUnnamed3371() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed3352(core.List<api.Metric> o) {
+checkUnnamed3371(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -6689,12 +6689,12 @@
var o = new api.ReachReportCompatibleFields();
buildCounterReachReportCompatibleFields++;
if (buildCounterReachReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed3348();
- o.dimensions = buildUnnamed3349();
+ o.dimensionFilters = buildUnnamed3367();
+ o.dimensions = buildUnnamed3368();
o.kind = "foo";
- o.metrics = buildUnnamed3350();
- o.pivotedActivityMetrics = buildUnnamed3351();
- o.reachByFrequencyMetrics = buildUnnamed3352();
+ o.metrics = buildUnnamed3369();
+ o.pivotedActivityMetrics = buildUnnamed3370();
+ o.reachByFrequencyMetrics = buildUnnamed3371();
}
buildCounterReachReportCompatibleFields--;
return o;
@@ -6703,12 +6703,12 @@
checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) {
buildCounterReachReportCompatibleFields++;
if (buildCounterReachReportCompatibleFields < 3) {
- checkUnnamed3348(o.dimensionFilters);
- checkUnnamed3349(o.dimensions);
+ checkUnnamed3367(o.dimensionFilters);
+ checkUnnamed3368(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3350(o.metrics);
- checkUnnamed3351(o.pivotedActivityMetrics);
- checkUnnamed3352(o.reachByFrequencyMetrics);
+ checkUnnamed3369(o.metrics);
+ checkUnnamed3370(o.pivotedActivityMetrics);
+ checkUnnamed3371(o.reachByFrequencyMetrics);
}
buildCounterReachReportCompatibleFields--;
}
@@ -6765,14 +6765,14 @@
buildCounterRegion--;
}
-buildUnnamed3353() {
+buildUnnamed3372() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed3353(core.List<api.Region> o) {
+checkUnnamed3372(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -6784,7 +6784,7 @@
buildCounterRegionsListResponse++;
if (buildCounterRegionsListResponse < 3) {
o.kind = "foo";
- o.regions = buildUnnamed3353();
+ o.regions = buildUnnamed3372();
}
buildCounterRegionsListResponse--;
return o;
@@ -6794,7 +6794,7 @@
buildCounterRegionsListResponse++;
if (buildCounterRegionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3353(o.regions);
+ checkUnnamed3372(o.regions);
}
buildCounterRegionsListResponse--;
}
@@ -6842,27 +6842,27 @@
buildCounterRemarketingList--;
}
-buildUnnamed3354() {
+buildUnnamed3373() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3354(core.List<core.String> o) {
+checkUnnamed3373(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3355() {
+buildUnnamed3374() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3355(core.List<core.String> o) {
+checkUnnamed3374(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6875,8 +6875,8 @@
if (buildCounterRemarketingListShare < 3) {
o.kind = "foo";
o.remarketingListId = "foo";
- o.sharedAccountIds = buildUnnamed3354();
- o.sharedAdvertiserIds = buildUnnamed3355();
+ o.sharedAccountIds = buildUnnamed3373();
+ o.sharedAdvertiserIds = buildUnnamed3374();
}
buildCounterRemarketingListShare--;
return o;
@@ -6887,20 +6887,20 @@
if (buildCounterRemarketingListShare < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.remarketingListId, unittest.equals('foo'));
- checkUnnamed3354(o.sharedAccountIds);
- checkUnnamed3355(o.sharedAdvertiserIds);
+ checkUnnamed3373(o.sharedAccountIds);
+ checkUnnamed3374(o.sharedAdvertiserIds);
}
buildCounterRemarketingListShare--;
}
-buildUnnamed3356() {
+buildUnnamed3375() {
var o = new core.List<api.RemarketingList>();
o.add(buildRemarketingList());
o.add(buildRemarketingList());
return o;
}
-checkUnnamed3356(core.List<api.RemarketingList> o) {
+checkUnnamed3375(core.List<api.RemarketingList> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemarketingList(o[0]);
checkRemarketingList(o[1]);
@@ -6913,7 +6913,7 @@
if (buildCounterRemarketingListsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.remarketingLists = buildUnnamed3356();
+ o.remarketingLists = buildUnnamed3375();
}
buildCounterRemarketingListsListResponse--;
return o;
@@ -6924,45 +6924,45 @@
if (buildCounterRemarketingListsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3356(o.remarketingLists);
+ checkUnnamed3375(o.remarketingLists);
}
buildCounterRemarketingListsListResponse--;
}
-buildUnnamed3357() {
+buildUnnamed3376() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed3357(core.List<api.DimensionValue> o) {
+checkUnnamed3376(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed3358() {
+buildUnnamed3377() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed3358(core.List<api.SortedDimension> o) {
+checkUnnamed3377(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed3359() {
+buildUnnamed3378() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3359(core.List<core.String> o) {
+checkUnnamed3378(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6976,9 +6976,9 @@
o.activities = buildActivities();
o.customRichMediaEvents = buildCustomRichMediaEvents();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed3357();
- o.dimensions = buildUnnamed3358();
- o.metricNames = buildUnnamed3359();
+ o.dimensionFilters = buildUnnamed3376();
+ o.dimensions = buildUnnamed3377();
+ o.metricNames = buildUnnamed3378();
}
buildCounterReportCriteria--;
return o;
@@ -6990,60 +6990,60 @@
checkActivities(o.activities);
checkCustomRichMediaEvents(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed3357(o.dimensionFilters);
- checkUnnamed3358(o.dimensions);
- checkUnnamed3359(o.metricNames);
+ checkUnnamed3376(o.dimensionFilters);
+ checkUnnamed3377(o.dimensions);
+ checkUnnamed3378(o.metricNames);
}
buildCounterReportCriteria--;
}
-buildUnnamed3360() {
+buildUnnamed3379() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed3360(core.List<api.SortedDimension> o) {
+checkUnnamed3379(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed3361() {
+buildUnnamed3380() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed3361(core.List<api.DimensionValue> o) {
+checkUnnamed3380(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed3362() {
+buildUnnamed3381() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3362(core.List<core.String> o) {
+checkUnnamed3381(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3363() {
+buildUnnamed3382() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3363(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'));
@@ -7054,12 +7054,12 @@
var o = new api.ReportCrossDimensionReachCriteria();
buildCounterReportCrossDimensionReachCriteria++;
if (buildCounterReportCrossDimensionReachCriteria < 3) {
- o.breakdown = buildUnnamed3360();
+ o.breakdown = buildUnnamed3379();
o.dateRange = buildDateRange();
o.dimension = "foo";
- o.dimensionFilters = buildUnnamed3361();
- o.metricNames = buildUnnamed3362();
- o.overlapMetricNames = buildUnnamed3363();
+ o.dimensionFilters = buildUnnamed3380();
+ o.metricNames = buildUnnamed3381();
+ o.overlapMetricNames = buildUnnamed3382();
o.pivoted = true;
}
buildCounterReportCrossDimensionReachCriteria--;
@@ -7070,25 +7070,25 @@
api.ReportCrossDimensionReachCriteria o) {
buildCounterReportCrossDimensionReachCriteria++;
if (buildCounterReportCrossDimensionReachCriteria < 3) {
- checkUnnamed3360(o.breakdown);
+ checkUnnamed3379(o.breakdown);
checkDateRange(o.dateRange);
unittest.expect(o.dimension, unittest.equals('foo'));
- checkUnnamed3361(o.dimensionFilters);
- checkUnnamed3362(o.metricNames);
- checkUnnamed3363(o.overlapMetricNames);
+ checkUnnamed3380(o.dimensionFilters);
+ checkUnnamed3381(o.metricNames);
+ checkUnnamed3382(o.overlapMetricNames);
unittest.expect(o.pivoted, unittest.isTrue);
}
buildCounterReportCrossDimensionReachCriteria--;
}
-buildUnnamed3364() {
+buildUnnamed3383() {
var o = new core.List<api.Recipient>();
o.add(buildRecipient());
o.add(buildRecipient());
return o;
}
-checkUnnamed3364(core.List<api.Recipient> o) {
+checkUnnamed3383(core.List<api.Recipient> o) {
unittest.expect(o, unittest.hasLength(2));
checkRecipient(o[0]);
checkRecipient(o[1]);
@@ -7102,7 +7102,7 @@
o.emailOwner = true;
o.emailOwnerDeliveryType = "foo";
o.message = "foo";
- o.recipients = buildUnnamed3364();
+ o.recipients = buildUnnamed3383();
}
buildCounterReportDelivery--;
return o;
@@ -7114,58 +7114,58 @@
unittest.expect(o.emailOwner, unittest.isTrue);
unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo'));
unittest.expect(o.message, unittest.equals('foo'));
- checkUnnamed3364(o.recipients);
+ checkUnnamed3383(o.recipients);
}
buildCounterReportDelivery--;
}
-buildUnnamed3365() {
+buildUnnamed3384() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed3365(core.List<api.DimensionValue> o) {
+checkUnnamed3384(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed3366() {
+buildUnnamed3385() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed3366(core.List<api.DimensionValue> o) {
+checkUnnamed3385(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed3367() {
+buildUnnamed3386() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed3367(core.List<api.SortedDimension> o) {
+checkUnnamed3386(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed3368() {
+buildUnnamed3387() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3368(core.List<core.String> o) {
+checkUnnamed3387(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7200,12 +7200,12 @@
var o = new api.ReportFloodlightCriteria();
buildCounterReportFloodlightCriteria++;
if (buildCounterReportFloodlightCriteria < 3) {
- o.customRichMediaEvents = buildUnnamed3365();
+ o.customRichMediaEvents = buildUnnamed3384();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed3366();
- o.dimensions = buildUnnamed3367();
+ o.dimensionFilters = buildUnnamed3385();
+ o.dimensions = buildUnnamed3386();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed3368();
+ o.metricNames = buildUnnamed3387();
o.reportProperties = buildReportFloodlightCriteriaReportProperties();
}
buildCounterReportFloodlightCriteria--;
@@ -7215,90 +7215,90 @@
checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) {
buildCounterReportFloodlightCriteria++;
if (buildCounterReportFloodlightCriteria < 3) {
- checkUnnamed3365(o.customRichMediaEvents);
+ checkUnnamed3384(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed3366(o.dimensionFilters);
- checkUnnamed3367(o.dimensions);
+ checkUnnamed3385(o.dimensionFilters);
+ checkUnnamed3386(o.dimensions);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed3368(o.metricNames);
+ checkUnnamed3387(o.metricNames);
checkReportFloodlightCriteriaReportProperties(o.reportProperties);
}
buildCounterReportFloodlightCriteria--;
}
-buildUnnamed3369() {
+buildUnnamed3388() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed3369(core.List<api.DimensionValue> o) {
+checkUnnamed3388(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed3370() {
+buildUnnamed3389() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed3370(core.List<api.SortedDimension> o) {
+checkUnnamed3389(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed3371() {
+buildUnnamed3390() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed3371(core.List<api.SortedDimension> o) {
+checkUnnamed3390(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed3372() {
+buildUnnamed3391() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed3372(core.List<api.DimensionValue> o) {
+checkUnnamed3391(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed3373() {
+buildUnnamed3392() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3373(core.List<core.String> o) {
+checkUnnamed3392(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3374() {
+buildUnnamed3393() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed3374(core.List<api.SortedDimension> o) {
+checkUnnamed3393(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
@@ -7345,14 +7345,14 @@
var o = new api.ReportPathToConversionCriteria();
buildCounterReportPathToConversionCriteria++;
if (buildCounterReportPathToConversionCriteria < 3) {
- o.activityFilters = buildUnnamed3369();
- o.conversionDimensions = buildUnnamed3370();
- o.customFloodlightVariables = buildUnnamed3371();
- o.customRichMediaEvents = buildUnnamed3372();
+ o.activityFilters = buildUnnamed3388();
+ o.conversionDimensions = buildUnnamed3389();
+ o.customFloodlightVariables = buildUnnamed3390();
+ o.customRichMediaEvents = buildUnnamed3391();
o.dateRange = buildDateRange();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed3373();
- o.perInteractionDimensions = buildUnnamed3374();
+ o.metricNames = buildUnnamed3392();
+ o.perInteractionDimensions = buildUnnamed3393();
o.reportProperties = buildReportPathToConversionCriteriaReportProperties();
}
buildCounterReportPathToConversionCriteria--;
@@ -7362,66 +7362,66 @@
checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) {
buildCounterReportPathToConversionCriteria++;
if (buildCounterReportPathToConversionCriteria < 3) {
- checkUnnamed3369(o.activityFilters);
- checkUnnamed3370(o.conversionDimensions);
- checkUnnamed3371(o.customFloodlightVariables);
- checkUnnamed3372(o.customRichMediaEvents);
+ checkUnnamed3388(o.activityFilters);
+ checkUnnamed3389(o.conversionDimensions);
+ checkUnnamed3390(o.customFloodlightVariables);
+ checkUnnamed3391(o.customRichMediaEvents);
checkDateRange(o.dateRange);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed3373(o.metricNames);
- checkUnnamed3374(o.perInteractionDimensions);
+ checkUnnamed3392(o.metricNames);
+ checkUnnamed3393(o.perInteractionDimensions);
checkReportPathToConversionCriteriaReportProperties(o.reportProperties);
}
buildCounterReportPathToConversionCriteria--;
}
-buildUnnamed3375() {
+buildUnnamed3394() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed3375(core.List<api.DimensionValue> o) {
+checkUnnamed3394(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed3376() {
+buildUnnamed3395() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed3376(core.List<api.SortedDimension> o) {
+checkUnnamed3395(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed3377() {
+buildUnnamed3396() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3377(core.List<core.String> o) {
+checkUnnamed3396(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3378() {
+buildUnnamed3397() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3378(core.List<core.String> o) {
+checkUnnamed3397(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7435,11 +7435,11 @@
o.activities = buildActivities();
o.customRichMediaEvents = buildCustomRichMediaEvents();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed3375();
- o.dimensions = buildUnnamed3376();
+ o.dimensionFilters = buildUnnamed3394();
+ o.dimensions = buildUnnamed3395();
o.enableAllDimensionCombinations = true;
- o.metricNames = buildUnnamed3377();
- o.reachByFrequencyMetricNames = buildUnnamed3378();
+ o.metricNames = buildUnnamed3396();
+ o.reachByFrequencyMetricNames = buildUnnamed3397();
}
buildCounterReportReachCriteria--;
return o;
@@ -7451,23 +7451,23 @@
checkActivities(o.activities);
checkCustomRichMediaEvents(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed3375(o.dimensionFilters);
- checkUnnamed3376(o.dimensions);
+ checkUnnamed3394(o.dimensionFilters);
+ checkUnnamed3395(o.dimensions);
unittest.expect(o.enableAllDimensionCombinations, unittest.isTrue);
- checkUnnamed3377(o.metricNames);
- checkUnnamed3378(o.reachByFrequencyMetricNames);
+ checkUnnamed3396(o.metricNames);
+ checkUnnamed3397(o.reachByFrequencyMetricNames);
}
buildCounterReportReachCriteria--;
}
-buildUnnamed3379() {
+buildUnnamed3398() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3379(core.List<core.String> o) {
+checkUnnamed3398(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7482,7 +7482,7 @@
o.every = 42;
o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.repeats = "foo";
- o.repeatsOnWeekDays = buildUnnamed3379();
+ o.repeatsOnWeekDays = buildUnnamed3398();
o.runsOnDayOfMonth = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
}
@@ -7498,7 +7498,7 @@
unittest.expect(o.expirationDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.repeats, unittest.equals('foo'));
- checkUnnamed3379(o.repeatsOnWeekDays);
+ checkUnnamed3398(o.repeatsOnWeekDays);
unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo'));
unittest.expect(o.startDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -7559,53 +7559,53 @@
buildCounterReport--;
}
-buildUnnamed3380() {
+buildUnnamed3399() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3380(core.List<api.Dimension> o) {
+checkUnnamed3399(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed3381() {
+buildUnnamed3400() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3381(core.List<api.Dimension> o) {
+checkUnnamed3400(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed3382() {
+buildUnnamed3401() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed3382(core.List<api.Metric> o) {
+checkUnnamed3401(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed3383() {
+buildUnnamed3402() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed3383(core.List<api.Metric> o) {
+checkUnnamed3402(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -7616,11 +7616,11 @@
var o = new api.ReportCompatibleFields();
buildCounterReportCompatibleFields++;
if (buildCounterReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed3380();
- o.dimensions = buildUnnamed3381();
+ o.dimensionFilters = buildUnnamed3399();
+ o.dimensions = buildUnnamed3400();
o.kind = "foo";
- o.metrics = buildUnnamed3382();
- o.pivotedActivityMetrics = buildUnnamed3383();
+ o.metrics = buildUnnamed3401();
+ o.pivotedActivityMetrics = buildUnnamed3402();
}
buildCounterReportCompatibleFields--;
return o;
@@ -7629,23 +7629,23 @@
checkReportCompatibleFields(api.ReportCompatibleFields o) {
buildCounterReportCompatibleFields++;
if (buildCounterReportCompatibleFields < 3) {
- checkUnnamed3380(o.dimensionFilters);
- checkUnnamed3381(o.dimensions);
+ checkUnnamed3399(o.dimensionFilters);
+ checkUnnamed3400(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3382(o.metrics);
- checkUnnamed3383(o.pivotedActivityMetrics);
+ checkUnnamed3401(o.metrics);
+ checkUnnamed3402(o.pivotedActivityMetrics);
}
buildCounterReportCompatibleFields--;
}
-buildUnnamed3384() {
+buildUnnamed3403() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed3384(core.List<api.Report> o) {
+checkUnnamed3403(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -7657,7 +7657,7 @@
buildCounterReportList++;
if (buildCounterReportList < 3) {
o.etag = "foo";
- o.items = buildUnnamed3384();
+ o.items = buildUnnamed3403();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -7669,7 +7669,7 @@
buildCounterReportList++;
if (buildCounterReportList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3384(o.items);
+ checkUnnamed3403(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -7745,14 +7745,14 @@
buildCounterRule--;
}
-buildUnnamed3385() {
+buildUnnamed3404() {
var o = new core.List<api.SiteContact>();
o.add(buildSiteContact());
o.add(buildSiteContact());
return o;
}
-checkUnnamed3385(core.List<api.SiteContact> o) {
+checkUnnamed3404(core.List<api.SiteContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkSiteContact(o[0]);
checkSiteContact(o[1]);
@@ -7772,7 +7772,7 @@
o.keyName = "foo";
o.kind = "foo";
o.name = "foo";
- o.siteContacts = buildUnnamed3385();
+ o.siteContacts = buildUnnamed3404();
o.siteSettings = buildSiteSettings();
o.subaccountId = "foo";
}
@@ -7792,7 +7792,7 @@
unittest.expect(o.keyName, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3385(o.siteContacts);
+ checkUnnamed3404(o.siteContacts);
checkSiteSettings(o.siteSettings);
unittest.expect(o.subaccountId, unittest.equals('foo'));
}
@@ -7865,14 +7865,14 @@
buildCounterSiteSettings--;
}
-buildUnnamed3386() {
+buildUnnamed3405() {
var o = new core.List<api.Site>();
o.add(buildSite());
o.add(buildSite());
return o;
}
-checkUnnamed3386(core.List<api.Site> o) {
+checkUnnamed3405(core.List<api.Site> o) {
unittest.expect(o, unittest.hasLength(2));
checkSite(o[0]);
checkSite(o[1]);
@@ -7885,7 +7885,7 @@
if (buildCounterSitesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.sites = buildUnnamed3386();
+ o.sites = buildUnnamed3405();
}
buildCounterSitesListResponse--;
return o;
@@ -7896,7 +7896,7 @@
if (buildCounterSitesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3386(o.sites);
+ checkUnnamed3405(o.sites);
}
buildCounterSitesListResponse--;
}
@@ -7928,14 +7928,14 @@
buildCounterSize--;
}
-buildUnnamed3387() {
+buildUnnamed3406() {
var o = new core.List<api.Size>();
o.add(buildSize());
o.add(buildSize());
return o;
}
-checkUnnamed3387(core.List<api.Size> o) {
+checkUnnamed3406(core.List<api.Size> o) {
unittest.expect(o, unittest.hasLength(2));
checkSize(o[0]);
checkSize(o[1]);
@@ -7947,7 +7947,7 @@
buildCounterSizesListResponse++;
if (buildCounterSizesListResponse < 3) {
o.kind = "foo";
- o.sizes = buildUnnamed3387();
+ o.sizes = buildUnnamed3406();
}
buildCounterSizesListResponse--;
return o;
@@ -7957,7 +7957,7 @@
buildCounterSizesListResponse++;
if (buildCounterSizesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3387(o.sizes);
+ checkUnnamed3406(o.sizes);
}
buildCounterSizesListResponse--;
}
@@ -8010,14 +8010,14 @@
buildCounterSortedDimension--;
}
-buildUnnamed3388() {
+buildUnnamed3407() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3388(core.List<core.String> o) {
+checkUnnamed3407(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8029,7 +8029,7 @@
buildCounterSubaccount++;
if (buildCounterSubaccount < 3) {
o.accountId = "foo";
- o.availablePermissionIds = buildUnnamed3388();
+ o.availablePermissionIds = buildUnnamed3407();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -8042,7 +8042,7 @@
buildCounterSubaccount++;
if (buildCounterSubaccount < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed3388(o.availablePermissionIds);
+ checkUnnamed3407(o.availablePermissionIds);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -8050,14 +8050,14 @@
buildCounterSubaccount--;
}
-buildUnnamed3389() {
+buildUnnamed3408() {
var o = new core.List<api.Subaccount>();
o.add(buildSubaccount());
o.add(buildSubaccount());
return o;
}
-checkUnnamed3389(core.List<api.Subaccount> o) {
+checkUnnamed3408(core.List<api.Subaccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubaccount(o[0]);
checkSubaccount(o[1]);
@@ -8070,7 +8070,7 @@
if (buildCounterSubaccountsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.subaccounts = buildUnnamed3389();
+ o.subaccounts = buildUnnamed3408();
}
buildCounterSubaccountsListResponse--;
return o;
@@ -8081,7 +8081,7 @@
if (buildCounterSubaccountsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3389(o.subaccounts);
+ checkUnnamed3408(o.subaccounts);
}
buildCounterSubaccountsListResponse--;
}
@@ -8221,14 +8221,14 @@
buildCounterTargetableRemarketingList--;
}
-buildUnnamed3390() {
+buildUnnamed3409() {
var o = new core.List<api.TargetableRemarketingList>();
o.add(buildTargetableRemarketingList());
o.add(buildTargetableRemarketingList());
return o;
}
-checkUnnamed3390(core.List<api.TargetableRemarketingList> o) {
+checkUnnamed3409(core.List<api.TargetableRemarketingList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetableRemarketingList(o[0]);
checkTargetableRemarketingList(o[1]);
@@ -8241,7 +8241,7 @@
if (buildCounterTargetableRemarketingListsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.targetableRemarketingLists = buildUnnamed3390();
+ o.targetableRemarketingLists = buildUnnamed3409();
}
buildCounterTargetableRemarketingListsListResponse--;
return o;
@@ -8253,7 +8253,7 @@
if (buildCounterTargetableRemarketingListsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3390(o.targetableRemarketingLists);
+ checkUnnamed3409(o.targetableRemarketingLists);
}
buildCounterTargetableRemarketingListsListResponse--;
}
@@ -8301,14 +8301,14 @@
buildCounterTargetingTemplate--;
}
-buildUnnamed3391() {
+buildUnnamed3410() {
var o = new core.List<api.TargetingTemplate>();
o.add(buildTargetingTemplate());
o.add(buildTargetingTemplate());
return o;
}
-checkUnnamed3391(core.List<api.TargetingTemplate> o) {
+checkUnnamed3410(core.List<api.TargetingTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingTemplate(o[0]);
checkTargetingTemplate(o[1]);
@@ -8321,7 +8321,7 @@
if (buildCounterTargetingTemplatesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.targetingTemplates = buildUnnamed3391();
+ o.targetingTemplates = buildUnnamed3410();
}
buildCounterTargetingTemplatesListResponse--;
return o;
@@ -8332,84 +8332,84 @@
if (buildCounterTargetingTemplatesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3391(o.targetingTemplates);
+ checkUnnamed3410(o.targetingTemplates);
}
buildCounterTargetingTemplatesListResponse--;
}
-buildUnnamed3392() {
+buildUnnamed3411() {
var o = new core.List<api.Browser>();
o.add(buildBrowser());
o.add(buildBrowser());
return o;
}
-checkUnnamed3392(core.List<api.Browser> o) {
+checkUnnamed3411(core.List<api.Browser> o) {
unittest.expect(o, unittest.hasLength(2));
checkBrowser(o[0]);
checkBrowser(o[1]);
}
-buildUnnamed3393() {
+buildUnnamed3412() {
var o = new core.List<api.ConnectionType>();
o.add(buildConnectionType());
o.add(buildConnectionType());
return o;
}
-checkUnnamed3393(core.List<api.ConnectionType> o) {
+checkUnnamed3412(core.List<api.ConnectionType> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnectionType(o[0]);
checkConnectionType(o[1]);
}
-buildUnnamed3394() {
+buildUnnamed3413() {
var o = new core.List<api.MobileCarrier>();
o.add(buildMobileCarrier());
o.add(buildMobileCarrier());
return o;
}
-checkUnnamed3394(core.List<api.MobileCarrier> o) {
+checkUnnamed3413(core.List<api.MobileCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileCarrier(o[0]);
checkMobileCarrier(o[1]);
}
-buildUnnamed3395() {
+buildUnnamed3414() {
var o = new core.List<api.OperatingSystemVersion>();
o.add(buildOperatingSystemVersion());
o.add(buildOperatingSystemVersion());
return o;
}
-checkUnnamed3395(core.List<api.OperatingSystemVersion> o) {
+checkUnnamed3414(core.List<api.OperatingSystemVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystemVersion(o[0]);
checkOperatingSystemVersion(o[1]);
}
-buildUnnamed3396() {
+buildUnnamed3415() {
var o = new core.List<api.OperatingSystem>();
o.add(buildOperatingSystem());
o.add(buildOperatingSystem());
return o;
}
-checkUnnamed3396(core.List<api.OperatingSystem> o) {
+checkUnnamed3415(core.List<api.OperatingSystem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystem(o[0]);
checkOperatingSystem(o[1]);
}
-buildUnnamed3397() {
+buildUnnamed3416() {
var o = new core.List<api.PlatformType>();
o.add(buildPlatformType());
o.add(buildPlatformType());
return o;
}
-checkUnnamed3397(core.List<api.PlatformType> o) {
+checkUnnamed3416(core.List<api.PlatformType> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlatformType(o[0]);
checkPlatformType(o[1]);
@@ -8420,12 +8420,12 @@
var o = new api.TechnologyTargeting();
buildCounterTechnologyTargeting++;
if (buildCounterTechnologyTargeting < 3) {
- o.browsers = buildUnnamed3392();
- o.connectionTypes = buildUnnamed3393();
- o.mobileCarriers = buildUnnamed3394();
- o.operatingSystemVersions = buildUnnamed3395();
- o.operatingSystems = buildUnnamed3396();
- o.platformTypes = buildUnnamed3397();
+ o.browsers = buildUnnamed3411();
+ o.connectionTypes = buildUnnamed3412();
+ o.mobileCarriers = buildUnnamed3413();
+ o.operatingSystemVersions = buildUnnamed3414();
+ o.operatingSystems = buildUnnamed3415();
+ o.platformTypes = buildUnnamed3416();
}
buildCounterTechnologyTargeting--;
return o;
@@ -8434,12 +8434,12 @@
checkTechnologyTargeting(api.TechnologyTargeting o) {
buildCounterTechnologyTargeting++;
if (buildCounterTechnologyTargeting < 3) {
- checkUnnamed3392(o.browsers);
- checkUnnamed3393(o.connectionTypes);
- checkUnnamed3394(o.mobileCarriers);
- checkUnnamed3395(o.operatingSystemVersions);
- checkUnnamed3396(o.operatingSystems);
- checkUnnamed3397(o.platformTypes);
+ checkUnnamed3411(o.browsers);
+ checkUnnamed3412(o.connectionTypes);
+ checkUnnamed3413(o.mobileCarriers);
+ checkUnnamed3414(o.operatingSystemVersions);
+ checkUnnamed3415(o.operatingSystems);
+ checkUnnamed3416(o.platformTypes);
}
buildCounterTechnologyTargeting--;
}
@@ -8486,14 +8486,14 @@
buildCounterThirdPartyTrackingUrl--;
}
-buildUnnamed3398() {
+buildUnnamed3417() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed3398(core.List<core.int> o) {
+checkUnnamed3417(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));
@@ -8504,7 +8504,7 @@
var o = new api.TranscodeSetting();
buildCounterTranscodeSetting++;
if (buildCounterTranscodeSetting < 3) {
- o.enabledVideoFormats = buildUnnamed3398();
+ o.enabledVideoFormats = buildUnnamed3417();
o.kind = "foo";
}
buildCounterTranscodeSetting--;
@@ -8514,7 +8514,7 @@
checkTranscodeSetting(api.TranscodeSetting o) {
buildCounterTranscodeSetting++;
if (buildCounterTranscodeSetting < 3) {
- checkUnnamed3398(o.enabledVideoFormats);
+ checkUnnamed3417(o.enabledVideoFormats);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTranscodeSetting--;
@@ -8597,14 +8597,14 @@
buildCounterUserProfile--;
}
-buildUnnamed3399() {
+buildUnnamed3418() {
var o = new core.List<api.UserProfile>();
o.add(buildUserProfile());
o.add(buildUserProfile());
return o;
}
-checkUnnamed3399(core.List<api.UserProfile> o) {
+checkUnnamed3418(core.List<api.UserProfile> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserProfile(o[0]);
checkUserProfile(o[1]);
@@ -8616,7 +8616,7 @@
buildCounterUserProfileList++;
if (buildCounterUserProfileList < 3) {
o.etag = "foo";
- o.items = buildUnnamed3399();
+ o.items = buildUnnamed3418();
o.kind = "foo";
}
buildCounterUserProfileList--;
@@ -8627,20 +8627,20 @@
buildCounterUserProfileList++;
if (buildCounterUserProfileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3399(o.items);
+ checkUnnamed3418(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterUserProfileList--;
}
-buildUnnamed3400() {
+buildUnnamed3419() {
var o = new core.List<api.UserRolePermission>();
o.add(buildUserRolePermission());
o.add(buildUserRolePermission());
return o;
}
-checkUnnamed3400(core.List<api.UserRolePermission> o) {
+checkUnnamed3419(core.List<api.UserRolePermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermission(o[0]);
checkUserRolePermission(o[1]);
@@ -8657,7 +8657,7 @@
o.kind = "foo";
o.name = "foo";
o.parentUserRoleId = "foo";
- o.permissions = buildUnnamed3400();
+ o.permissions = buildUnnamed3419();
o.subaccountId = "foo";
}
buildCounterUserRole--;
@@ -8673,7 +8673,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentUserRoleId, unittest.equals('foo'));
- checkUnnamed3400(o.permissions);
+ checkUnnamed3419(o.permissions);
unittest.expect(o.subaccountId, unittest.equals('foo'));
}
buildCounterUserRole--;
@@ -8729,14 +8729,14 @@
buildCounterUserRolePermissionGroup--;
}
-buildUnnamed3401() {
+buildUnnamed3420() {
var o = new core.List<api.UserRolePermissionGroup>();
o.add(buildUserRolePermissionGroup());
o.add(buildUserRolePermissionGroup());
return o;
}
-checkUnnamed3401(core.List<api.UserRolePermissionGroup> o) {
+checkUnnamed3420(core.List<api.UserRolePermissionGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermissionGroup(o[0]);
checkUserRolePermissionGroup(o[1]);
@@ -8748,7 +8748,7 @@
buildCounterUserRolePermissionGroupsListResponse++;
if (buildCounterUserRolePermissionGroupsListResponse < 3) {
o.kind = "foo";
- o.userRolePermissionGroups = buildUnnamed3401();
+ o.userRolePermissionGroups = buildUnnamed3420();
}
buildCounterUserRolePermissionGroupsListResponse--;
return o;
@@ -8759,19 +8759,19 @@
buildCounterUserRolePermissionGroupsListResponse++;
if (buildCounterUserRolePermissionGroupsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3401(o.userRolePermissionGroups);
+ checkUnnamed3420(o.userRolePermissionGroups);
}
buildCounterUserRolePermissionGroupsListResponse--;
}
-buildUnnamed3402() {
+buildUnnamed3421() {
var o = new core.List<api.UserRolePermission>();
o.add(buildUserRolePermission());
o.add(buildUserRolePermission());
return o;
}
-checkUnnamed3402(core.List<api.UserRolePermission> o) {
+checkUnnamed3421(core.List<api.UserRolePermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermission(o[0]);
checkUserRolePermission(o[1]);
@@ -8783,7 +8783,7 @@
buildCounterUserRolePermissionsListResponse++;
if (buildCounterUserRolePermissionsListResponse < 3) {
o.kind = "foo";
- o.userRolePermissions = buildUnnamed3402();
+ o.userRolePermissions = buildUnnamed3421();
}
buildCounterUserRolePermissionsListResponse--;
return o;
@@ -8793,19 +8793,19 @@
buildCounterUserRolePermissionsListResponse++;
if (buildCounterUserRolePermissionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3402(o.userRolePermissions);
+ checkUnnamed3421(o.userRolePermissions);
}
buildCounterUserRolePermissionsListResponse--;
}
-buildUnnamed3403() {
+buildUnnamed3422() {
var o = new core.List<api.UserRole>();
o.add(buildUserRole());
o.add(buildUserRole());
return o;
}
-checkUnnamed3403(core.List<api.UserRole> o) {
+checkUnnamed3422(core.List<api.UserRole> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRole(o[0]);
checkUserRole(o[1]);
@@ -8818,7 +8818,7 @@
if (buildCounterUserRolesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.userRoles = buildUnnamed3403();
+ o.userRoles = buildUnnamed3422();
}
buildCounterUserRolesListResponse--;
return o;
@@ -8829,7 +8829,7 @@
if (buildCounterUserRolesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3403(o.userRoles);
+ checkUnnamed3422(o.userRoles);
}
buildCounterUserRolesListResponse--;
}
@@ -8861,14 +8861,14 @@
buildCounterVideoFormat--;
}
-buildUnnamed3404() {
+buildUnnamed3423() {
var o = new core.List<api.VideoFormat>();
o.add(buildVideoFormat());
o.add(buildVideoFormat());
return o;
}
-checkUnnamed3404(core.List<api.VideoFormat> o) {
+checkUnnamed3423(core.List<api.VideoFormat> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFormat(o[0]);
checkVideoFormat(o[1]);
@@ -8880,7 +8880,7 @@
buildCounterVideoFormatsListResponse++;
if (buildCounterVideoFormatsListResponse < 3) {
o.kind = "foo";
- o.videoFormats = buildUnnamed3404();
+ o.videoFormats = buildUnnamed3423();
}
buildCounterVideoFormatsListResponse--;
return o;
@@ -8890,7 +8890,7 @@
buildCounterVideoFormatsListResponse++;
if (buildCounterVideoFormatsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3404(o.videoFormats);
+ checkUnnamed3423(o.videoFormats);
}
buildCounterVideoFormatsListResponse--;
}
@@ -8941,253 +8941,6 @@
buildCounterVideoSettings--;
}
-buildUnnamed3405() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3405(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3406() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3406(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3407() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3407(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3408() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-buildUnnamed3409() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3409(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3410() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3410(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3411() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3411(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3412() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3412(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3413() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3413(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3414() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3414(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3415() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3415(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3416() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3416(core.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() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-buildUnnamed3418() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3418(core.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() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3419(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3420() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-buildUnnamed3421() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3421(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3422() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-buildUnnamed3423() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3423(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed3424() {
var o = new core.List<core.String>();
o.add("foo");
@@ -10085,6 +9838,253 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed3493() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3493(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3494() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3494(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3495() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3495(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3496() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+buildUnnamed3497() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+buildUnnamed3498() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3498(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3499() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3499(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3500() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3500(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3501() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3501(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3502() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3502(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3503() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3503(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3504() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+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'));
+}
+
+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'));
+}
+
+buildUnnamed3507() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3507(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+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'));
+}
+
+buildUnnamed3509() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3509(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+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'));
+}
+
+buildUnnamed3511() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3511(core.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", () {
@@ -12332,7 +12332,7 @@
new api.DfareportingApi(mock).accountUserProfiles;
var arg_profileId = "foo";
var arg_active = true;
- var arg_ids = buildUnnamed3405();
+ var arg_ids = buildUnnamed3424();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -12635,7 +12635,7 @@
api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts;
var arg_profileId = "foo";
var arg_active = true;
- var arg_ids = buildUnnamed3406();
+ var arg_ids = buildUnnamed3425();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -12995,26 +12995,26 @@
var arg_active = true;
var arg_advertiserId = "foo";
var arg_archived = true;
- var arg_audienceSegmentIds = buildUnnamed3407();
- var arg_campaignIds = buildUnnamed3408();
+ var arg_audienceSegmentIds = buildUnnamed3426();
+ var arg_campaignIds = buildUnnamed3427();
var arg_compatibility = "foo";
- var arg_creativeIds = buildUnnamed3409();
- var arg_creativeOptimizationConfigurationIds = buildUnnamed3410();
+ var arg_creativeIds = buildUnnamed3428();
+ var arg_creativeOptimizationConfigurationIds = buildUnnamed3429();
var arg_dynamicClickTracker = true;
- var arg_ids = buildUnnamed3411();
- var arg_landingPageIds = buildUnnamed3412();
+ var arg_ids = buildUnnamed3430();
+ var arg_landingPageIds = buildUnnamed3431();
var arg_maxResults = 42;
var arg_overriddenEventTagId = "foo";
var arg_pageToken = "foo";
- var arg_placementIds = buildUnnamed3413();
- var arg_remarketingListIds = buildUnnamed3414();
+ var arg_placementIds = buildUnnamed3432();
+ var arg_remarketingListIds = buildUnnamed3433();
var arg_searchString = "foo";
- var arg_sizeIds = buildUnnamed3415();
+ var arg_sizeIds = buildUnnamed3434();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_sslCompliant = true;
var arg_sslRequired = true;
- var arg_type = buildUnnamed3416();
+ var arg_type = buildUnnamed3435();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -13481,7 +13481,7 @@
api.AdvertiserGroupsResourceApi res =
new api.DfareportingApi(mock).advertiserGroups;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed3417();
+ var arg_ids = buildUnnamed3436();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -13841,9 +13841,9 @@
api.AdvertisersResourceApi res =
new api.DfareportingApi(mock).advertisers;
var arg_profileId = "foo";
- var arg_advertiserGroupIds = buildUnnamed3418();
- var arg_floodlightConfigurationIds = buildUnnamed3419();
- var arg_ids = buildUnnamed3420();
+ var arg_advertiserGroupIds = buildUnnamed3437();
+ var arg_floodlightConfigurationIds = buildUnnamed3438();
+ var arg_ids = buildUnnamed3439();
var arg_includeAdvertisersWithoutGroupsOnly = true;
var arg_maxResults = 42;
var arg_onlyParent = true;
@@ -14462,12 +14462,12 @@
var mock = new HttpServerMock();
api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns;
var arg_profileId = "foo";
- var arg_advertiserGroupIds = buildUnnamed3421();
- var arg_advertiserIds = buildUnnamed3422();
+ var arg_advertiserGroupIds = buildUnnamed3440();
+ var arg_advertiserIds = buildUnnamed3441();
var arg_archived = true;
var arg_atLeastOneOptimizationActivity = true;
- var arg_excludedIds = buildUnnamed3423();
- var arg_ids = buildUnnamed3424();
+ var arg_excludedIds = buildUnnamed3442();
+ var arg_ids = buildUnnamed3443();
var arg_maxResults = 42;
var arg_overriddenEventTagId = "foo";
var arg_pageToken = "foo";
@@ -14780,15 +14780,15 @@
api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs;
var arg_profileId = "foo";
var arg_action = "foo";
- var arg_ids = buildUnnamed3425();
+ var arg_ids = buildUnnamed3444();
var arg_maxChangeTime = "foo";
var arg_maxResults = 42;
var arg_minChangeTime = "foo";
- var arg_objectIds = buildUnnamed3426();
+ var arg_objectIds = buildUnnamed3445();
var arg_objectType = "foo";
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_userProfileIds = buildUnnamed3427();
+ var arg_userProfileIds = buildUnnamed3446();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -14881,10 +14881,10 @@
var mock = new HttpServerMock();
api.CitiesResourceApi res = new api.DfareportingApi(mock).cities;
var arg_profileId = "foo";
- var arg_countryDartIds = buildUnnamed3428();
- var arg_dartIds = buildUnnamed3429();
+ var arg_countryDartIds = buildUnnamed3447();
+ var arg_dartIds = buildUnnamed3448();
var arg_namePrefix = "foo";
- var arg_regionDartIds = buildUnnamed3430();
+ var arg_regionDartIds = buildUnnamed3449();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -15292,7 +15292,7 @@
api.ContentCategoriesResourceApi res =
new api.DfareportingApi(mock).contentCategories;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed3431();
+ var arg_ids = buildUnnamed3450();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -16097,7 +16097,7 @@
new api.DfareportingApi(mock).creativeFieldValues;
var arg_profileId = "foo";
var arg_creativeFieldId = "foo";
- var arg_ids = buildUnnamed3432();
+ var arg_ids = buildUnnamed3451();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -16553,8 +16553,8 @@
api.CreativeFieldsResourceApi res =
new api.DfareportingApi(mock).creativeFields;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed3433();
- var arg_ids = buildUnnamed3434();
+ var arg_advertiserIds = buildUnnamed3452();
+ var arg_ids = buildUnnamed3453();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -16917,9 +16917,9 @@
api.CreativeGroupsResourceApi res =
new api.DfareportingApi(mock).creativeGroups;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed3435();
+ var arg_advertiserIds = buildUnnamed3454();
var arg_groupNumber = 42;
- var arg_ids = buildUnnamed3436();
+ var arg_ids = buildUnnamed3455();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -17286,18 +17286,18 @@
var arg_advertiserId = "foo";
var arg_archived = true;
var arg_campaignId = "foo";
- var arg_companionCreativeIds = buildUnnamed3437();
- var arg_creativeFieldIds = buildUnnamed3438();
- var arg_ids = buildUnnamed3439();
+ var arg_companionCreativeIds = buildUnnamed3456();
+ var arg_creativeFieldIds = buildUnnamed3457();
+ var arg_ids = buildUnnamed3458();
var arg_maxResults = 42;
var arg_pageToken = "foo";
- var arg_renderingIds = buildUnnamed3440();
+ var arg_renderingIds = buildUnnamed3459();
var arg_searchString = "foo";
- var arg_sizeIds = buildUnnamed3441();
+ var arg_sizeIds = buildUnnamed3460();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_studioCreativeId = "foo";
- var arg_types = buildUnnamed3442();
+ var arg_types = buildUnnamed3461();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -17688,8 +17688,8 @@
api.DirectorySiteContactsResourceApi res =
new api.DfareportingApi(mock).directorySiteContacts;
var arg_profileId = "foo";
- var arg_directorySiteIds = buildUnnamed3443();
- var arg_ids = buildUnnamed3444();
+ var arg_directorySiteIds = buildUnnamed3462();
+ var arg_ids = buildUnnamed3463();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -17923,7 +17923,7 @@
var arg_active = true;
var arg_countryId = "foo";
var arg_dfpNetworkCode = "foo";
- var arg_ids = buildUnnamed3445();
+ var arg_ids = buildUnnamed3464();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_parentId = "foo";
@@ -18176,7 +18176,7 @@
new api.DfareportingApi(mock).dynamicTargetingKeys;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_names = buildUnnamed3446();
+ var arg_names = buildUnnamed3465();
var arg_objectId = "foo";
var arg_objectType = "foo";
var arg_$fields = "foo";
@@ -18457,8 +18457,8 @@
var arg_campaignId = "foo";
var arg_definitionsOnly = true;
var arg_enabled = true;
- var arg_eventTagTypes = buildUnnamed3447();
- var arg_ids = buildUnnamed3448();
+ var arg_eventTagTypes = buildUnnamed3466();
+ var arg_ids = buildUnnamed3467();
var arg_searchString = "foo";
var arg_sortField = "foo";
var arg_sortOrder = "foo";
@@ -19113,12 +19113,12 @@
new api.DfareportingApi(mock).floodlightActivities;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_floodlightActivityGroupIds = buildUnnamed3449();
+ var arg_floodlightActivityGroupIds = buildUnnamed3468();
var arg_floodlightActivityGroupName = "foo";
var arg_floodlightActivityGroupTagString = "foo";
var arg_floodlightActivityGroupType = "foo";
var arg_floodlightConfigurationId = "foo";
- var arg_ids = buildUnnamed3450();
+ var arg_ids = buildUnnamed3469();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -19503,7 +19503,7 @@
var arg_profileId = "foo";
var arg_advertiserId = "foo";
var arg_floodlightConfigurationId = "foo";
- var arg_ids = buildUnnamed3451();
+ var arg_ids = buildUnnamed3470();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -19806,7 +19806,7 @@
api.FloodlightConfigurationsResourceApi res =
new api.DfareportingApi(mock).floodlightConfigurations;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed3452();
+ var arg_ids = buildUnnamed3471();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -20087,12 +20087,12 @@
new api.DfareportingApi(mock).inventoryItems;
var arg_profileId = "foo";
var arg_projectId = "foo";
- var arg_ids = buildUnnamed3453();
+ var arg_ids = buildUnnamed3472();
var arg_inPlan = true;
var arg_maxResults = 42;
- var arg_orderId = buildUnnamed3454();
+ var arg_orderId = buildUnnamed3473();
var arg_pageToken = "foo";
- var arg_siteId = buildUnnamed3455();
+ var arg_siteId = buildUnnamed3474();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_type = "foo";
@@ -21259,12 +21259,12 @@
var arg_profileId = "foo";
var arg_projectId = "foo";
var arg_approved = true;
- var arg_ids = buildUnnamed3456();
+ var arg_ids = buildUnnamed3475();
var arg_maxResults = 42;
- var arg_orderId = buildUnnamed3457();
+ var arg_orderId = buildUnnamed3476();
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_siteId = buildUnnamed3458();
+ var arg_siteId = buildUnnamed3477();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_$fields = "foo";
@@ -21443,11 +21443,11 @@
api.OrdersResourceApi res = new api.DfareportingApi(mock).orders;
var arg_profileId = "foo";
var arg_projectId = "foo";
- var arg_ids = buildUnnamed3459();
+ var arg_ids = buildUnnamed3478();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_siteId = buildUnnamed3460();
+ var arg_siteId = buildUnnamed3479();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_$fields = "foo";
@@ -21678,12 +21678,12 @@
api.PlacementGroupsResourceApi res =
new api.DfareportingApi(mock).placementGroups;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed3461();
+ var arg_advertiserIds = buildUnnamed3480();
var arg_archived = true;
- var arg_campaignIds = buildUnnamed3462();
- var arg_contentCategoryIds = buildUnnamed3463();
- var arg_directorySiteIds = buildUnnamed3464();
- var arg_ids = buildUnnamed3465();
+ var arg_campaignIds = buildUnnamed3481();
+ var arg_contentCategoryIds = buildUnnamed3482();
+ var arg_directorySiteIds = buildUnnamed3483();
+ var arg_ids = buildUnnamed3484();
var arg_maxEndDate = "foo";
var arg_maxResults = 42;
var arg_maxStartDate = "foo";
@@ -21691,10 +21691,10 @@
var arg_minStartDate = "foo";
var arg_pageToken = "foo";
var arg_placementGroupType = "foo";
- var arg_placementStrategyIds = buildUnnamed3466();
- var arg_pricingTypes = buildUnnamed3467();
+ var arg_placementStrategyIds = buildUnnamed3485();
+ var arg_pricingTypes = buildUnnamed3486();
var arg_searchString = "foo";
- var arg_siteIds = buildUnnamed3468();
+ var arg_siteIds = buildUnnamed3487();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_$fields = "foo";
@@ -22154,7 +22154,7 @@
api.PlacementStrategiesResourceApi res =
new api.DfareportingApi(mock).placementStrategies;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed3469();
+ var arg_ids = buildUnnamed3488();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -22380,8 +22380,8 @@
api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
var arg_profileId = "foo";
var arg_campaignId = "foo";
- var arg_placementIds = buildUnnamed3470();
- var arg_tagFormats = buildUnnamed3471();
+ var arg_placementIds = buildUnnamed3489();
+ var arg_tagFormats = buildUnnamed3490();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -22587,14 +22587,14 @@
var mock = new HttpServerMock();
api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed3472();
+ var arg_advertiserIds = buildUnnamed3491();
var arg_archived = true;
- var arg_campaignIds = buildUnnamed3473();
- var arg_compatibilities = buildUnnamed3474();
- var arg_contentCategoryIds = buildUnnamed3475();
- var arg_directorySiteIds = buildUnnamed3476();
- var arg_groupIds = buildUnnamed3477();
- var arg_ids = buildUnnamed3478();
+ var arg_campaignIds = buildUnnamed3492();
+ var arg_compatibilities = buildUnnamed3493();
+ var arg_contentCategoryIds = buildUnnamed3494();
+ var arg_directorySiteIds = buildUnnamed3495();
+ var arg_groupIds = buildUnnamed3496();
+ var arg_ids = buildUnnamed3497();
var arg_maxEndDate = "foo";
var arg_maxResults = 42;
var arg_maxStartDate = "foo";
@@ -22602,11 +22602,11 @@
var arg_minStartDate = "foo";
var arg_pageToken = "foo";
var arg_paymentSource = "foo";
- var arg_placementStrategyIds = buildUnnamed3479();
- var arg_pricingTypes = buildUnnamed3480();
+ var arg_placementStrategyIds = buildUnnamed3498();
+ var arg_pricingTypes = buildUnnamed3499();
var arg_searchString = "foo";
- var arg_siteIds = buildUnnamed3481();
- var arg_sizeIds = buildUnnamed3482();
+ var arg_siteIds = buildUnnamed3500();
+ var arg_sizeIds = buildUnnamed3501();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_$fields = "foo";
@@ -23199,8 +23199,8 @@
var mock = new HttpServerMock();
api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed3483();
- var arg_ids = buildUnnamed3484();
+ var arg_advertiserIds = buildUnnamed3502();
+ var arg_ids = buildUnnamed3503();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -24804,9 +24804,9 @@
var arg_acceptsPublisherPaidPlacements = true;
var arg_adWordsSite = true;
var arg_approved = true;
- var arg_campaignIds = buildUnnamed3485();
- var arg_directorySiteIds = buildUnnamed3486();
- var arg_ids = buildUnnamed3487();
+ var arg_campaignIds = buildUnnamed3504();
+ var arg_directorySiteIds = buildUnnamed3505();
+ var arg_ids = buildUnnamed3506();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -25193,7 +25193,7 @@
var arg_profileId = "foo";
var arg_height = 42;
var arg_iabStandard = true;
- var arg_ids = buildUnnamed3488();
+ var arg_ids = buildUnnamed3507();
var arg_width = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -25406,7 +25406,7 @@
api.SubaccountsResourceApi res =
new api.DfareportingApi(mock).subaccounts;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed3489();
+ var arg_ids = buildUnnamed3508();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -25926,7 +25926,7 @@
new api.DfareportingApi(mock).targetingTemplates;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_ids = buildUnnamed3490();
+ var arg_ids = buildUnnamed3509();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -26466,7 +26466,7 @@
api.UserRolePermissionsResourceApi res =
new api.DfareportingApi(mock).userRolePermissions;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed3491();
+ var arg_ids = buildUnnamed3510();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -26728,7 +26728,7 @@
api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
var arg_profileId = "foo";
var arg_accountUserRoleOnly = true;
- var arg_ids = buildUnnamed3492();
+ var arg_ids = buildUnnamed3511();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
diff --git a/generated/googleapis/test/dfareporting/v3_0_test.dart b/generated/googleapis/test/dfareporting/v3_0_test.dart
index d02957e..c7ffe12 100644
--- a/generated/googleapis/test/dfareporting/v3_0_test.dart
+++ b/generated/googleapis/test/dfareporting/v3_0_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2660() {
+buildUnnamed2679() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2660(core.List<core.String> o) {
+checkUnnamed2679(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2661() {
+buildUnnamed2680() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2661(core.List<core.String> o) {
+checkUnnamed2680(core.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 = buildUnnamed2660();
+ o.accountPermissionIds = buildUnnamed2679();
o.accountProfile = "foo";
o.active = true;
o.activeAdsLimitTier = "foo";
o.activeViewOptOut = true;
- o.availablePermissionIds = buildUnnamed2661();
+ o.availablePermissionIds = buildUnnamed2680();
o.countryId = "foo";
o.currencyId = "foo";
o.defaultCreativeSizeId = "foo";
@@ -108,12 +108,12 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed2660(o.accountPermissionIds);
+ checkUnnamed2679(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);
- checkUnnamed2661(o.availablePermissionIds);
+ checkUnnamed2680(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--;
}
-buildUnnamed2662() {
+buildUnnamed2681() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2662(core.List<core.String> o) {
+checkUnnamed2681(core.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 = buildUnnamed2662();
+ o.accountProfiles = buildUnnamed2681();
o.id = "foo";
o.kind = "foo";
o.level = "foo";
@@ -190,7 +190,7 @@
checkAccountPermission(api.AccountPermission o) {
buildCounterAccountPermission++;
if (buildCounterAccountPermission < 3) {
- checkUnnamed2662(o.accountProfiles);
+ checkUnnamed2681(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--;
}
-buildUnnamed2663() {
+buildUnnamed2682() {
var o = new core.List<api.AccountPermissionGroup>();
o.add(buildAccountPermissionGroup());
o.add(buildAccountPermissionGroup());
return o;
}
-checkUnnamed2663(core.List<api.AccountPermissionGroup> o) {
+checkUnnamed2682(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 = buildUnnamed2663();
+ o.accountPermissionGroups = buildUnnamed2682();
o.kind = "foo";
}
buildCounterAccountPermissionGroupsListResponse--;
@@ -252,20 +252,20 @@
api.AccountPermissionGroupsListResponse o) {
buildCounterAccountPermissionGroupsListResponse++;
if (buildCounterAccountPermissionGroupsListResponse < 3) {
- checkUnnamed2663(o.accountPermissionGroups);
+ checkUnnamed2682(o.accountPermissionGroups);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountPermissionGroupsListResponse--;
}
-buildUnnamed2664() {
+buildUnnamed2683() {
var o = new core.List<api.AccountPermission>();
o.add(buildAccountPermission());
o.add(buildAccountPermission());
return o;
}
-checkUnnamed2664(core.List<api.AccountPermission> o) {
+checkUnnamed2683(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 = buildUnnamed2664();
+ o.accountPermissions = buildUnnamed2683();
o.kind = "foo";
}
buildCounterAccountPermissionsListResponse--;
@@ -286,7 +286,7 @@
checkAccountPermissionsListResponse(api.AccountPermissionsListResponse o) {
buildCounterAccountPermissionsListResponse++;
if (buildCounterAccountPermissionsListResponse < 3) {
- checkUnnamed2664(o.accountPermissions);
+ checkUnnamed2683(o.accountPermissions);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountPermissionsListResponse--;
@@ -341,14 +341,14 @@
buildCounterAccountUserProfile--;
}
-buildUnnamed2665() {
+buildUnnamed2684() {
var o = new core.List<api.AccountUserProfile>();
o.add(buildAccountUserProfile());
o.add(buildAccountUserProfile());
return o;
}
-checkUnnamed2665(core.List<api.AccountUserProfile> o) {
+checkUnnamed2684(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 = buildUnnamed2665();
+ o.accountUserProfiles = buildUnnamed2684();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -370,21 +370,21 @@
checkAccountUserProfilesListResponse(api.AccountUserProfilesListResponse o) {
buildCounterAccountUserProfilesListResponse++;
if (buildCounterAccountUserProfilesListResponse < 3) {
- checkUnnamed2665(o.accountUserProfiles);
+ checkUnnamed2684(o.accountUserProfiles);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAccountUserProfilesListResponse--;
}
-buildUnnamed2666() {
+buildUnnamed2685() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed2666(core.List<api.Account> o) {
+checkUnnamed2685(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 = buildUnnamed2666();
+ o.accounts = buildUnnamed2685();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -406,34 +406,34 @@
checkAccountsListResponse(api.AccountsListResponse o) {
buildCounterAccountsListResponse++;
if (buildCounterAccountsListResponse < 3) {
- checkUnnamed2666(o.accounts);
+ checkUnnamed2685(o.accounts);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAccountsListResponse--;
}
-buildUnnamed2667() {
+buildUnnamed2686() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2667(core.List<api.DimensionValue> o) {
+checkUnnamed2686(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2668() {
+buildUnnamed2687() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2668(core.List<core.String> o) {
+checkUnnamed2687(core.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 = buildUnnamed2667();
+ o.filters = buildUnnamed2686();
o.kind = "foo";
- o.metricNames = buildUnnamed2668();
+ o.metricNames = buildUnnamed2687();
}
buildCounterActivities--;
return o;
@@ -455,47 +455,47 @@
checkActivities(api.Activities o) {
buildCounterActivities++;
if (buildCounterActivities < 3) {
- checkUnnamed2667(o.filters);
+ checkUnnamed2686(o.filters);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2668(o.metricNames);
+ checkUnnamed2687(o.metricNames);
}
buildCounterActivities--;
}
-buildUnnamed2669() {
+buildUnnamed2688() {
var o = new core.List<api.CreativeGroupAssignment>();
o.add(buildCreativeGroupAssignment());
o.add(buildCreativeGroupAssignment());
return o;
}
-checkUnnamed2669(core.List<api.CreativeGroupAssignment> o) {
+checkUnnamed2688(core.List<api.CreativeGroupAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroupAssignment(o[0]);
checkCreativeGroupAssignment(o[1]);
}
-buildUnnamed2670() {
+buildUnnamed2689() {
var o = new core.List<api.EventTagOverride>();
o.add(buildEventTagOverride());
o.add(buildEventTagOverride());
return o;
}
-checkUnnamed2670(core.List<api.EventTagOverride> o) {
+checkUnnamed2689(core.List<api.EventTagOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTagOverride(o[0]);
checkEventTagOverride(o[1]);
}
-buildUnnamed2671() {
+buildUnnamed2690() {
var o = new core.List<api.PlacementAssignment>();
o.add(buildPlacementAssignment());
o.add(buildPlacementAssignment());
return o;
}
-checkUnnamed2671(core.List<api.PlacementAssignment> o) {
+checkUnnamed2690(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 = buildUnnamed2669();
+ o.creativeGroupAssignments = buildUnnamed2688();
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 = buildUnnamed2670();
+ o.eventTagOverrides = buildUnnamed2689();
o.geoTargeting = buildGeoTargeting();
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
@@ -536,7 +536,7 @@
o.languageTargeting = buildLanguageTargeting();
o.lastModifiedInfo = buildLastModifiedInfo();
o.name = "foo";
- o.placementAssignments = buildUnnamed2671();
+ o.placementAssignments = buildUnnamed2690();
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);
- checkUnnamed2669(o.creativeGroupAssignments);
+ checkUnnamed2688(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")));
- checkUnnamed2670(o.eventTagOverrides);
+ checkUnnamed2689(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'));
- checkUnnamed2671(o.placementAssignments);
+ checkUnnamed2690(o.placementAssignments);
checkListTargetingExpression(o.remarketingListExpression);
checkSize(o.size);
unittest.expect(o.sslCompliant, unittest.isTrue);
@@ -658,14 +658,14 @@
buildCounterAdSlot--;
}
-buildUnnamed2672() {
+buildUnnamed2691() {
var o = new core.List<api.Ad>();
o.add(buildAd());
o.add(buildAd());
return o;
}
-checkUnnamed2672(core.List<api.Ad> o) {
+checkUnnamed2691(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 = buildUnnamed2672();
+ o.ads = buildUnnamed2691();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -687,7 +687,7 @@
checkAdsListResponse(api.AdsListResponse o) {
buildCounterAdsListResponse++;
if (buildCounterAdsListResponse < 3) {
- checkUnnamed2672(o.ads);
+ checkUnnamed2691(o.ads);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -767,14 +767,14 @@
buildCounterAdvertiserGroup--;
}
-buildUnnamed2673() {
+buildUnnamed2692() {
var o = new core.List<api.AdvertiserGroup>();
o.add(buildAdvertiserGroup());
o.add(buildAdvertiserGroup());
return o;
}
-checkUnnamed2673(core.List<api.AdvertiserGroup> o) {
+checkUnnamed2692(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 = buildUnnamed2673();
+ o.advertiserGroups = buildUnnamed2692();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -796,21 +796,21 @@
checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) {
buildCounterAdvertiserGroupsListResponse++;
if (buildCounterAdvertiserGroupsListResponse < 3) {
- checkUnnamed2673(o.advertiserGroups);
+ checkUnnamed2692(o.advertiserGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdvertiserGroupsListResponse--;
}
-buildUnnamed2674() {
+buildUnnamed2693() {
var o = new core.List<api.LandingPage>();
o.add(buildLandingPage());
o.add(buildLandingPage());
return o;
}
-checkUnnamed2674(core.List<api.LandingPage> o) {
+checkUnnamed2693(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 = buildUnnamed2674();
+ o.landingPages = buildUnnamed2693();
o.nextPageToken = "foo";
}
buildCounterAdvertiserLandingPagesListResponse--;
@@ -834,20 +834,20 @@
buildCounterAdvertiserLandingPagesListResponse++;
if (buildCounterAdvertiserLandingPagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2674(o.landingPages);
+ checkUnnamed2693(o.landingPages);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdvertiserLandingPagesListResponse--;
}
-buildUnnamed2675() {
+buildUnnamed2694() {
var o = new core.List<api.Advertiser>();
o.add(buildAdvertiser());
o.add(buildAdvertiser());
return o;
}
-checkUnnamed2675(core.List<api.Advertiser> o) {
+checkUnnamed2694(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 = buildUnnamed2675();
+ o.advertisers = buildUnnamed2694();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -869,7 +869,7 @@
checkAdvertisersListResponse(api.AdvertisersListResponse o) {
buildCounterAdvertisersListResponse++;
if (buildCounterAdvertisersListResponse < 3) {
- checkUnnamed2675(o.advertisers);
+ checkUnnamed2694(o.advertisers);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -899,14 +899,14 @@
buildCounterAudienceSegment--;
}
-buildUnnamed2676() {
+buildUnnamed2695() {
var o = new core.List<api.AudienceSegment>();
o.add(buildAudienceSegment());
o.add(buildAudienceSegment());
return o;
}
-checkUnnamed2676(core.List<api.AudienceSegment> o) {
+checkUnnamed2695(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 = buildUnnamed2676();
+ o.audienceSegments = buildUnnamed2695();
o.id = "foo";
o.name = "foo";
}
@@ -928,7 +928,7 @@
checkAudienceSegmentGroup(api.AudienceSegmentGroup o) {
buildCounterAudienceSegmentGroup++;
if (buildCounterAudienceSegmentGroup < 3) {
- checkUnnamed2676(o.audienceSegments);
+ checkUnnamed2695(o.audienceSegments);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
}
@@ -964,14 +964,14 @@
buildCounterBrowser--;
}
-buildUnnamed2677() {
+buildUnnamed2696() {
var o = new core.List<api.Browser>();
o.add(buildBrowser());
o.add(buildBrowser());
return o;
}
-checkUnnamed2677(core.List<api.Browser> o) {
+checkUnnamed2696(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 = buildUnnamed2677();
+ o.browsers = buildUnnamed2696();
o.kind = "foo";
}
buildCounterBrowsersListResponse--;
@@ -992,72 +992,72 @@
checkBrowsersListResponse(api.BrowsersListResponse o) {
buildCounterBrowsersListResponse++;
if (buildCounterBrowsersListResponse < 3) {
- checkUnnamed2677(o.browsers);
+ checkUnnamed2696(o.browsers);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBrowsersListResponse--;
}
-buildUnnamed2678() {
+buildUnnamed2697() {
var o = new core.List<api.CreativeOptimizationConfiguration>();
o.add(buildCreativeOptimizationConfiguration());
o.add(buildCreativeOptimizationConfiguration());
return o;
}
-checkUnnamed2678(core.List<api.CreativeOptimizationConfiguration> o) {
+checkUnnamed2697(core.List<api.CreativeOptimizationConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeOptimizationConfiguration(o[0]);
checkCreativeOptimizationConfiguration(o[1]);
}
-buildUnnamed2679() {
+buildUnnamed2698() {
var o = new core.List<api.AudienceSegmentGroup>();
o.add(buildAudienceSegmentGroup());
o.add(buildAudienceSegmentGroup());
return o;
}
-checkUnnamed2679(core.List<api.AudienceSegmentGroup> o) {
+checkUnnamed2698(core.List<api.AudienceSegmentGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudienceSegmentGroup(o[0]);
checkAudienceSegmentGroup(o[1]);
}
-buildUnnamed2680() {
+buildUnnamed2699() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2680(core.List<core.String> o) {
+checkUnnamed2699(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2681() {
+buildUnnamed2700() {
var o = new core.List<api.EventTagOverride>();
o.add(buildEventTagOverride());
o.add(buildEventTagOverride());
return o;
}
-checkUnnamed2681(core.List<api.EventTagOverride> o) {
+checkUnnamed2700(core.List<api.EventTagOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTagOverride(o[0]);
checkEventTagOverride(o[1]);
}
-buildUnnamed2682() {
+buildUnnamed2701() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2682(core.List<core.String> o) {
+checkUnnamed2701(core.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 = buildUnnamed2678();
+ o.additionalCreativeOptimizationConfigurations = buildUnnamed2697();
o.advertiserGroupId = "foo";
o.advertiserId = "foo";
o.advertiserIdDimensionValue = buildDimensionValue();
o.archived = true;
- o.audienceSegmentGroups = buildUnnamed2679();
+ o.audienceSegmentGroups = buildUnnamed2698();
o.billingInvoiceCode = "foo";
o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties();
o.comment = "foo";
o.createInfo = buildLastModifiedInfo();
- o.creativeGroupIds = buildUnnamed2680();
+ o.creativeGroupIds = buildUnnamed2699();
o.creativeOptimizationConfiguration =
buildCreativeOptimizationConfiguration();
o.defaultClickThroughEventTagProperties =
buildDefaultClickThroughEventTagProperties();
o.defaultLandingPageId = "foo";
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.eventTagOverrides = buildUnnamed2681();
+ o.eventTagOverrides = buildUnnamed2700();
o.externalId = "foo";
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
@@ -1098,7 +1098,7 @@
o.nielsenOcrEnabled = true;
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.subaccountId = "foo";
- o.traffickerEmails = buildUnnamed2682();
+ o.traffickerEmails = buildUnnamed2701();
}
buildCounterCampaign--;
return o;
@@ -1109,24 +1109,24 @@
if (buildCounterCampaign < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
checkAdBlockingConfiguration(o.adBlockingConfiguration);
- checkUnnamed2678(o.additionalCreativeOptimizationConfigurations);
+ checkUnnamed2697(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);
- checkUnnamed2679(o.audienceSegmentGroups);
+ checkUnnamed2698(o.audienceSegmentGroups);
unittest.expect(o.billingInvoiceCode, unittest.equals('foo'));
checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties);
unittest.expect(o.comment, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
- checkUnnamed2680(o.creativeGroupIds);
+ checkUnnamed2699(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")));
- checkUnnamed2681(o.eventTagOverrides);
+ checkUnnamed2700(o.eventTagOverrides);
unittest.expect(o.externalId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
@@ -1138,7 +1138,7 @@
unittest.expect(o.startDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.subaccountId, unittest.equals('foo'));
- checkUnnamed2682(o.traffickerEmails);
+ checkUnnamed2701(o.traffickerEmails);
}
buildCounterCampaign--;
}
@@ -1164,14 +1164,14 @@
buildCounterCampaignCreativeAssociation--;
}
-buildUnnamed2683() {
+buildUnnamed2702() {
var o = new core.List<api.CampaignCreativeAssociation>();
o.add(buildCampaignCreativeAssociation());
o.add(buildCampaignCreativeAssociation());
return o;
}
-checkUnnamed2683(core.List<api.CampaignCreativeAssociation> o) {
+checkUnnamed2702(core.List<api.CampaignCreativeAssociation> o) {
unittest.expect(o, unittest.hasLength(2));
checkCampaignCreativeAssociation(o[0]);
checkCampaignCreativeAssociation(o[1]);
@@ -1182,7 +1182,7 @@
var o = new api.CampaignCreativeAssociationsListResponse();
buildCounterCampaignCreativeAssociationsListResponse++;
if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
- o.campaignCreativeAssociations = buildUnnamed2683();
+ o.campaignCreativeAssociations = buildUnnamed2702();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1194,21 +1194,21 @@
api.CampaignCreativeAssociationsListResponse o) {
buildCounterCampaignCreativeAssociationsListResponse++;
if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
- checkUnnamed2683(o.campaignCreativeAssociations);
+ checkUnnamed2702(o.campaignCreativeAssociations);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCampaignCreativeAssociationsListResponse--;
}
-buildUnnamed2684() {
+buildUnnamed2703() {
var o = new core.List<api.Campaign>();
o.add(buildCampaign());
o.add(buildCampaign());
return o;
}
-checkUnnamed2684(core.List<api.Campaign> o) {
+checkUnnamed2703(core.List<api.Campaign> o) {
unittest.expect(o, unittest.hasLength(2));
checkCampaign(o[0]);
checkCampaign(o[1]);
@@ -1219,7 +1219,7 @@
var o = new api.CampaignsListResponse();
buildCounterCampaignsListResponse++;
if (buildCounterCampaignsListResponse < 3) {
- o.campaigns = buildUnnamed2684();
+ o.campaigns = buildUnnamed2703();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1230,7 +1230,7 @@
checkCampaignsListResponse(api.CampaignsListResponse o) {
buildCounterCampaignsListResponse++;
if (buildCounterCampaignsListResponse < 3) {
- checkUnnamed2684(o.campaigns);
+ checkUnnamed2703(o.campaigns);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1283,14 +1283,14 @@
buildCounterChangeLog--;
}
-buildUnnamed2685() {
+buildUnnamed2704() {
var o = new core.List<api.ChangeLog>();
o.add(buildChangeLog());
o.add(buildChangeLog());
return o;
}
-checkUnnamed2685(core.List<api.ChangeLog> o) {
+checkUnnamed2704(core.List<api.ChangeLog> o) {
unittest.expect(o, unittest.hasLength(2));
checkChangeLog(o[0]);
checkChangeLog(o[1]);
@@ -1301,7 +1301,7 @@
var o = new api.ChangeLogsListResponse();
buildCounterChangeLogsListResponse++;
if (buildCounterChangeLogsListResponse < 3) {
- o.changeLogs = buildUnnamed2685();
+ o.changeLogs = buildUnnamed2704();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1312,21 +1312,21 @@
checkChangeLogsListResponse(api.ChangeLogsListResponse o) {
buildCounterChangeLogsListResponse++;
if (buildCounterChangeLogsListResponse < 3) {
- checkUnnamed2685(o.changeLogs);
+ checkUnnamed2704(o.changeLogs);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterChangeLogsListResponse--;
}
-buildUnnamed2686() {
+buildUnnamed2705() {
var o = new core.List<api.City>();
o.add(buildCity());
o.add(buildCity());
return o;
}
-checkUnnamed2686(core.List<api.City> o) {
+checkUnnamed2705(core.List<api.City> o) {
unittest.expect(o, unittest.hasLength(2));
checkCity(o[0]);
checkCity(o[1]);
@@ -1337,7 +1337,7 @@
var o = new api.CitiesListResponse();
buildCounterCitiesListResponse++;
if (buildCounterCitiesListResponse < 3) {
- o.cities = buildUnnamed2686();
+ o.cities = buildUnnamed2705();
o.kind = "foo";
}
buildCounterCitiesListResponse--;
@@ -1347,7 +1347,7 @@
checkCitiesListResponse(api.CitiesListResponse o) {
buildCounterCitiesListResponse++;
if (buildCounterCitiesListResponse < 3) {
- checkUnnamed2686(o.cities);
+ checkUnnamed2705(o.cities);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCitiesListResponse--;
@@ -1478,14 +1478,14 @@
buildCounterCompanionClickThroughOverride--;
}
-buildUnnamed2687() {
+buildUnnamed2706() {
var o = new core.List<api.Size>();
o.add(buildSize());
o.add(buildSize());
return o;
}
-checkUnnamed2687(core.List<api.Size> o) {
+checkUnnamed2706(core.List<api.Size> o) {
unittest.expect(o, unittest.hasLength(2));
checkSize(o[0]);
checkSize(o[1]);
@@ -1497,7 +1497,7 @@
buildCounterCompanionSetting++;
if (buildCounterCompanionSetting < 3) {
o.companionsDisabled = true;
- o.enabledSizes = buildUnnamed2687();
+ o.enabledSizes = buildUnnamed2706();
o.imageOnly = true;
o.kind = "foo";
}
@@ -1509,7 +1509,7 @@
buildCounterCompanionSetting++;
if (buildCounterCompanionSetting < 3) {
unittest.expect(o.companionsDisabled, unittest.isTrue);
- checkUnnamed2687(o.enabledSizes);
+ checkUnnamed2706(o.enabledSizes);
unittest.expect(o.imageOnly, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
}
@@ -1573,14 +1573,14 @@
buildCounterConnectionType--;
}
-buildUnnamed2688() {
+buildUnnamed2707() {
var o = new core.List<api.ConnectionType>();
o.add(buildConnectionType());
o.add(buildConnectionType());
return o;
}
-checkUnnamed2688(core.List<api.ConnectionType> o) {
+checkUnnamed2707(core.List<api.ConnectionType> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnectionType(o[0]);
checkConnectionType(o[1]);
@@ -1591,7 +1591,7 @@
var o = new api.ConnectionTypesListResponse();
buildCounterConnectionTypesListResponse++;
if (buildCounterConnectionTypesListResponse < 3) {
- o.connectionTypes = buildUnnamed2688();
+ o.connectionTypes = buildUnnamed2707();
o.kind = "foo";
}
buildCounterConnectionTypesListResponse--;
@@ -1601,20 +1601,20 @@
checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) {
buildCounterConnectionTypesListResponse++;
if (buildCounterConnectionTypesListResponse < 3) {
- checkUnnamed2688(o.connectionTypes);
+ checkUnnamed2707(o.connectionTypes);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConnectionTypesListResponse--;
}
-buildUnnamed2689() {
+buildUnnamed2708() {
var o = new core.List<api.ContentCategory>();
o.add(buildContentCategory());
o.add(buildContentCategory());
return o;
}
-checkUnnamed2689(core.List<api.ContentCategory> o) {
+checkUnnamed2708(core.List<api.ContentCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkContentCategory(o[0]);
checkContentCategory(o[1]);
@@ -1625,7 +1625,7 @@
var o = new api.ContentCategoriesListResponse();
buildCounterContentCategoriesListResponse++;
if (buildCounterContentCategoriesListResponse < 3) {
- o.contentCategories = buildUnnamed2689();
+ o.contentCategories = buildUnnamed2708();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1636,7 +1636,7 @@
checkContentCategoriesListResponse(api.ContentCategoriesListResponse o) {
buildCounterContentCategoriesListResponse++;
if (buildCounterContentCategoriesListResponse < 3) {
- checkUnnamed2689(o.contentCategories);
+ checkUnnamed2708(o.contentCategories);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1668,27 +1668,27 @@
buildCounterContentCategory--;
}
-buildUnnamed2690() {
+buildUnnamed2709() {
var o = new core.List<api.CustomFloodlightVariable>();
o.add(buildCustomFloodlightVariable());
o.add(buildCustomFloodlightVariable());
return o;
}
-checkUnnamed2690(core.List<api.CustomFloodlightVariable> o) {
+checkUnnamed2709(core.List<api.CustomFloodlightVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomFloodlightVariable(o[0]);
checkCustomFloodlightVariable(o[1]);
}
-buildUnnamed2691() {
+buildUnnamed2710() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2691(core.List<core.String> o) {
+checkUnnamed2710(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1700,9 +1700,9 @@
buildCounterConversion++;
if (buildCounterConversion < 3) {
o.childDirectedTreatment = true;
- o.customVariables = buildUnnamed2690();
+ o.customVariables = buildUnnamed2709();
o.encryptedUserId = "foo";
- o.encryptedUserIdCandidates = buildUnnamed2691();
+ o.encryptedUserIdCandidates = buildUnnamed2710();
o.floodlightActivityId = "foo";
o.floodlightConfigurationId = "foo";
o.gclid = "foo";
@@ -1722,9 +1722,9 @@
buildCounterConversion++;
if (buildCounterConversion < 3) {
unittest.expect(o.childDirectedTreatment, unittest.isTrue);
- checkUnnamed2690(o.customVariables);
+ checkUnnamed2709(o.customVariables);
unittest.expect(o.encryptedUserId, unittest.equals('foo'));
- checkUnnamed2691(o.encryptedUserIdCandidates);
+ checkUnnamed2710(o.encryptedUserIdCandidates);
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
unittest.expect(o.floodlightConfigurationId, unittest.equals('foo'));
unittest.expect(o.gclid, unittest.equals('foo'));
@@ -1762,14 +1762,14 @@
buildCounterConversionError--;
}
-buildUnnamed2692() {
+buildUnnamed2711() {
var o = new core.List<api.ConversionError>();
o.add(buildConversionError());
o.add(buildConversionError());
return o;
}
-checkUnnamed2692(core.List<api.ConversionError> o) {
+checkUnnamed2711(core.List<api.ConversionError> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionError(o[0]);
checkConversionError(o[1]);
@@ -1781,7 +1781,7 @@
buildCounterConversionStatus++;
if (buildCounterConversionStatus < 3) {
o.conversion = buildConversion();
- o.errors = buildUnnamed2692();
+ o.errors = buildUnnamed2711();
o.kind = "foo";
}
buildCounterConversionStatus--;
@@ -1792,20 +1792,20 @@
buildCounterConversionStatus++;
if (buildCounterConversionStatus < 3) {
checkConversion(o.conversion);
- checkUnnamed2692(o.errors);
+ checkUnnamed2711(o.errors);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionStatus--;
}
-buildUnnamed2693() {
+buildUnnamed2712() {
var o = new core.List<api.Conversion>();
o.add(buildConversion());
o.add(buildConversion());
return o;
}
-checkUnnamed2693(core.List<api.Conversion> o) {
+checkUnnamed2712(core.List<api.Conversion> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversion(o[0]);
checkConversion(o[1]);
@@ -1816,7 +1816,7 @@
var o = new api.ConversionsBatchInsertRequest();
buildCounterConversionsBatchInsertRequest++;
if (buildCounterConversionsBatchInsertRequest < 3) {
- o.conversions = buildUnnamed2693();
+ o.conversions = buildUnnamed2712();
o.encryptionInfo = buildEncryptionInfo();
o.kind = "foo";
}
@@ -1827,21 +1827,21 @@
checkConversionsBatchInsertRequest(api.ConversionsBatchInsertRequest o) {
buildCounterConversionsBatchInsertRequest++;
if (buildCounterConversionsBatchInsertRequest < 3) {
- checkUnnamed2693(o.conversions);
+ checkUnnamed2712(o.conversions);
checkEncryptionInfo(o.encryptionInfo);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionsBatchInsertRequest--;
}
-buildUnnamed2694() {
+buildUnnamed2713() {
var o = new core.List<api.ConversionStatus>();
o.add(buildConversionStatus());
o.add(buildConversionStatus());
return o;
}
-checkUnnamed2694(core.List<api.ConversionStatus> o) {
+checkUnnamed2713(core.List<api.ConversionStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionStatus(o[0]);
checkConversionStatus(o[1]);
@@ -1854,7 +1854,7 @@
if (buildCounterConversionsBatchInsertResponse < 3) {
o.hasFailures = true;
o.kind = "foo";
- o.status = buildUnnamed2694();
+ o.status = buildUnnamed2713();
}
buildCounterConversionsBatchInsertResponse--;
return o;
@@ -1865,19 +1865,19 @@
if (buildCounterConversionsBatchInsertResponse < 3) {
unittest.expect(o.hasFailures, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2694(o.status);
+ checkUnnamed2713(o.status);
}
buildCounterConversionsBatchInsertResponse--;
}
-buildUnnamed2695() {
+buildUnnamed2714() {
var o = new core.List<api.Conversion>();
o.add(buildConversion());
o.add(buildConversion());
return o;
}
-checkUnnamed2695(core.List<api.Conversion> o) {
+checkUnnamed2714(core.List<api.Conversion> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversion(o[0]);
checkConversion(o[1]);
@@ -1888,7 +1888,7 @@
var o = new api.ConversionsBatchUpdateRequest();
buildCounterConversionsBatchUpdateRequest++;
if (buildCounterConversionsBatchUpdateRequest < 3) {
- o.conversions = buildUnnamed2695();
+ o.conversions = buildUnnamed2714();
o.encryptionInfo = buildEncryptionInfo();
o.kind = "foo";
}
@@ -1899,21 +1899,21 @@
checkConversionsBatchUpdateRequest(api.ConversionsBatchUpdateRequest o) {
buildCounterConversionsBatchUpdateRequest++;
if (buildCounterConversionsBatchUpdateRequest < 3) {
- checkUnnamed2695(o.conversions);
+ checkUnnamed2714(o.conversions);
checkEncryptionInfo(o.encryptionInfo);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionsBatchUpdateRequest--;
}
-buildUnnamed2696() {
+buildUnnamed2715() {
var o = new core.List<api.ConversionStatus>();
o.add(buildConversionStatus());
o.add(buildConversionStatus());
return o;
}
-checkUnnamed2696(core.List<api.ConversionStatus> o) {
+checkUnnamed2715(core.List<api.ConversionStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionStatus(o[0]);
checkConversionStatus(o[1]);
@@ -1926,7 +1926,7 @@
if (buildCounterConversionsBatchUpdateResponse < 3) {
o.hasFailures = true;
o.kind = "foo";
- o.status = buildUnnamed2696();
+ o.status = buildUnnamed2715();
}
buildCounterConversionsBatchUpdateResponse--;
return o;
@@ -1937,19 +1937,19 @@
if (buildCounterConversionsBatchUpdateResponse < 3) {
unittest.expect(o.hasFailures, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2696(o.status);
+ checkUnnamed2715(o.status);
}
buildCounterConversionsBatchUpdateResponse--;
}
-buildUnnamed2697() {
+buildUnnamed2716() {
var o = new core.List<api.Country>();
o.add(buildCountry());
o.add(buildCountry());
return o;
}
-checkUnnamed2697(core.List<api.Country> o) {
+checkUnnamed2716(core.List<api.Country> o) {
unittest.expect(o, unittest.hasLength(2));
checkCountry(o[0]);
checkCountry(o[1]);
@@ -1960,7 +1960,7 @@
var o = new api.CountriesListResponse();
buildCounterCountriesListResponse++;
if (buildCounterCountriesListResponse < 3) {
- o.countries = buildUnnamed2697();
+ o.countries = buildUnnamed2716();
o.kind = "foo";
}
buildCounterCountriesListResponse--;
@@ -1970,7 +1970,7 @@
checkCountriesListResponse(api.CountriesListResponse o) {
buildCounterCountriesListResponse++;
if (buildCounterCountriesListResponse < 3) {
- checkUnnamed2697(o.countries);
+ checkUnnamed2716(o.countries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCountriesListResponse--;
@@ -2003,157 +2003,157 @@
buildCounterCountry--;
}
-buildUnnamed2698() {
+buildUnnamed2717() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2698(core.List<core.String> o) {
+checkUnnamed2717(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2699() {
+buildUnnamed2718() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2699(core.List<core.String> o) {
+checkUnnamed2718(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2700() {
+buildUnnamed2719() {
var o = new core.List<api.ClickTag>();
o.add(buildClickTag());
o.add(buildClickTag());
return o;
}
-checkUnnamed2700(core.List<api.ClickTag> o) {
+checkUnnamed2719(core.List<api.ClickTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkClickTag(o[0]);
checkClickTag(o[1]);
}
-buildUnnamed2701() {
+buildUnnamed2720() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2701(core.List<core.String> o) {
+checkUnnamed2720(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2702() {
+buildUnnamed2721() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2702(core.List<core.String> o) {
+checkUnnamed2721(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2703() {
+buildUnnamed2722() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed2703(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed2722(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
}
-buildUnnamed2704() {
+buildUnnamed2723() {
var o = new core.List<api.CreativeAsset>();
o.add(buildCreativeAsset());
o.add(buildCreativeAsset());
return o;
}
-checkUnnamed2704(core.List<api.CreativeAsset> o) {
+checkUnnamed2723(core.List<api.CreativeAsset> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeAsset(o[0]);
checkCreativeAsset(o[1]);
}
-buildUnnamed2705() {
+buildUnnamed2724() {
var o = new core.List<api.CreativeFieldAssignment>();
o.add(buildCreativeFieldAssignment());
o.add(buildCreativeFieldAssignment());
return o;
}
-checkUnnamed2705(core.List<api.CreativeFieldAssignment> o) {
+checkUnnamed2724(core.List<api.CreativeFieldAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFieldAssignment(o[0]);
checkCreativeFieldAssignment(o[1]);
}
-buildUnnamed2706() {
+buildUnnamed2725() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2706(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'));
}
-buildUnnamed2707() {
+buildUnnamed2726() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed2707(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed2726(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
}
-buildUnnamed2708() {
+buildUnnamed2727() {
var o = new core.List<api.ThirdPartyTrackingUrl>();
o.add(buildThirdPartyTrackingUrl());
o.add(buildThirdPartyTrackingUrl());
return o;
}
-checkUnnamed2708(core.List<api.ThirdPartyTrackingUrl> o) {
+checkUnnamed2727(core.List<api.ThirdPartyTrackingUrl> o) {
unittest.expect(o, unittest.hasLength(2));
checkThirdPartyTrackingUrl(o[0]);
checkThirdPartyTrackingUrl(o[1]);
}
-buildUnnamed2709() {
+buildUnnamed2728() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed2709(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed2728(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
@@ -2167,7 +2167,7 @@
o.accountId = "foo";
o.active = true;
o.adParameters = "foo";
- o.adTagKeys = buildUnnamed2698();
+ o.adTagKeys = buildUnnamed2717();
o.advertiserId = "foo";
o.allowScriptAccess = true;
o.archived = true;
@@ -2177,21 +2177,21 @@
o.autoAdvanceImages = true;
o.backgroundColor = "foo";
o.backupImageClickThroughUrl = buildCreativeClickThroughUrl();
- o.backupImageFeatures = buildUnnamed2699();
+ o.backupImageFeatures = buildUnnamed2718();
o.backupImageReportingLabel = "foo";
o.backupImageTargetWindow = buildTargetWindow();
- o.clickTags = buildUnnamed2700();
+ o.clickTags = buildUnnamed2719();
o.commercialId = "foo";
- o.companionCreatives = buildUnnamed2701();
- o.compatibility = buildUnnamed2702();
+ o.companionCreatives = buildUnnamed2720();
+ o.compatibility = buildUnnamed2721();
o.convertFlashToHtml5 = true;
- o.counterCustomEvents = buildUnnamed2703();
+ o.counterCustomEvents = buildUnnamed2722();
o.creativeAssetSelection = buildCreativeAssetSelection();
- o.creativeAssets = buildUnnamed2704();
- o.creativeFieldAssignments = buildUnnamed2705();
- o.customKeyValues = buildUnnamed2706();
+ o.creativeAssets = buildUnnamed2723();
+ o.creativeFieldAssignments = buildUnnamed2724();
+ o.customKeyValues = buildUnnamed2725();
o.dynamicAssetSelection = true;
- o.exitCustomEvents = buildUnnamed2707();
+ o.exitCustomEvents = buildUnnamed2726();
o.fsCommand = buildFsCommand();
o.htmlCode = "foo";
o.htmlCodeLocked = true;
@@ -2220,8 +2220,8 @@
o.subaccountId = "foo";
o.thirdPartyBackupImageImpressionsUrl = "foo";
o.thirdPartyRichMediaImpressionsUrl = "foo";
- o.thirdPartyUrls = buildUnnamed2708();
- o.timerCustomEvents = buildUnnamed2709();
+ o.thirdPartyUrls = buildUnnamed2727();
+ o.timerCustomEvents = buildUnnamed2728();
o.totalFileSize = "foo";
o.type = "foo";
o.universalAdId = buildUniversalAdId();
@@ -2239,7 +2239,7 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.adParameters, unittest.equals('foo'));
- checkUnnamed2698(o.adTagKeys);
+ checkUnnamed2717(o.adTagKeys);
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.allowScriptAccess, unittest.isTrue);
unittest.expect(o.archived, unittest.isTrue);
@@ -2249,21 +2249,21 @@
unittest.expect(o.autoAdvanceImages, unittest.isTrue);
unittest.expect(o.backgroundColor, unittest.equals('foo'));
checkCreativeClickThroughUrl(o.backupImageClickThroughUrl);
- checkUnnamed2699(o.backupImageFeatures);
+ checkUnnamed2718(o.backupImageFeatures);
unittest.expect(o.backupImageReportingLabel, unittest.equals('foo'));
checkTargetWindow(o.backupImageTargetWindow);
- checkUnnamed2700(o.clickTags);
+ checkUnnamed2719(o.clickTags);
unittest.expect(o.commercialId, unittest.equals('foo'));
- checkUnnamed2701(o.companionCreatives);
- checkUnnamed2702(o.compatibility);
+ checkUnnamed2720(o.companionCreatives);
+ checkUnnamed2721(o.compatibility);
unittest.expect(o.convertFlashToHtml5, unittest.isTrue);
- checkUnnamed2703(o.counterCustomEvents);
+ checkUnnamed2722(o.counterCustomEvents);
checkCreativeAssetSelection(o.creativeAssetSelection);
- checkUnnamed2704(o.creativeAssets);
- checkUnnamed2705(o.creativeFieldAssignments);
- checkUnnamed2706(o.customKeyValues);
+ checkUnnamed2723(o.creativeAssets);
+ checkUnnamed2724(o.creativeFieldAssignments);
+ checkUnnamed2725(o.customKeyValues);
unittest.expect(o.dynamicAssetSelection, unittest.isTrue);
- checkUnnamed2707(o.exitCustomEvents);
+ checkUnnamed2726(o.exitCustomEvents);
checkFsCommand(o.fsCommand);
unittest.expect(o.htmlCode, unittest.equals('foo'));
unittest.expect(o.htmlCodeLocked, unittest.isTrue);
@@ -2294,8 +2294,8 @@
o.thirdPartyBackupImageImpressionsUrl, unittest.equals('foo'));
unittest.expect(
o.thirdPartyRichMediaImpressionsUrl, unittest.equals('foo'));
- checkUnnamed2708(o.thirdPartyUrls);
- checkUnnamed2709(o.timerCustomEvents);
+ checkUnnamed2727(o.thirdPartyUrls);
+ checkUnnamed2728(o.timerCustomEvents);
unittest.expect(o.totalFileSize, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
checkUniversalAdId(o.universalAdId);
@@ -2306,27 +2306,27 @@
buildCounterCreative--;
}
-buildUnnamed2710() {
+buildUnnamed2729() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2710(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'));
}
-buildUnnamed2711() {
+buildUnnamed2730() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2711(core.List<core.String> o) {
+checkUnnamed2730(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2346,9 +2346,9 @@
o.bitRate = 42;
o.childAssetType = "foo";
o.collapsedSize = buildSize();
- o.companionCreativeIds = buildUnnamed2710();
+ o.companionCreativeIds = buildUnnamed2729();
o.customStartTimeValue = 42;
- o.detectedFeatures = buildUnnamed2711();
+ o.detectedFeatures = buildUnnamed2730();
o.displayType = "foo";
o.duration = 42;
o.durationType = "foo";
@@ -2399,9 +2399,9 @@
unittest.expect(o.bitRate, unittest.equals(42));
unittest.expect(o.childAssetType, unittest.equals('foo'));
checkSize(o.collapsedSize);
- checkUnnamed2710(o.companionCreativeIds);
+ checkUnnamed2729(o.companionCreativeIds);
unittest.expect(o.customStartTimeValue, unittest.equals(42));
- checkUnnamed2711(o.detectedFeatures);
+ checkUnnamed2730(o.detectedFeatures);
unittest.expect(o.displayType, unittest.equals('foo'));
unittest.expect(o.duration, unittest.equals(42));
unittest.expect(o.durationType, unittest.equals('foo'));
@@ -2460,40 +2460,40 @@
buildCounterCreativeAssetId--;
}
-buildUnnamed2712() {
+buildUnnamed2731() {
var o = new core.List<api.ClickTag>();
o.add(buildClickTag());
o.add(buildClickTag());
return o;
}
-checkUnnamed2712(core.List<api.ClickTag> o) {
+checkUnnamed2731(core.List<api.ClickTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkClickTag(o[0]);
checkClickTag(o[1]);
}
-buildUnnamed2713() {
+buildUnnamed2732() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2713(core.List<core.String> o) {
+checkUnnamed2732(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2714() {
+buildUnnamed2733() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2714(core.List<core.String> o) {
+checkUnnamed2733(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2505,12 +2505,12 @@
buildCounterCreativeAssetMetadata++;
if (buildCounterCreativeAssetMetadata < 3) {
o.assetIdentifier = buildCreativeAssetId();
- o.clickTags = buildUnnamed2712();
- o.detectedFeatures = buildUnnamed2713();
+ o.clickTags = buildUnnamed2731();
+ o.detectedFeatures = buildUnnamed2732();
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
o.kind = "foo";
- o.warnedValidationRules = buildUnnamed2714();
+ o.warnedValidationRules = buildUnnamed2733();
}
buildCounterCreativeAssetMetadata--;
return o;
@@ -2520,24 +2520,24 @@
buildCounterCreativeAssetMetadata++;
if (buildCounterCreativeAssetMetadata < 3) {
checkCreativeAssetId(o.assetIdentifier);
- checkUnnamed2712(o.clickTags);
- checkUnnamed2713(o.detectedFeatures);
+ checkUnnamed2731(o.clickTags);
+ checkUnnamed2732(o.detectedFeatures);
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2714(o.warnedValidationRules);
+ checkUnnamed2733(o.warnedValidationRules);
}
buildCounterCreativeAssetMetadata--;
}
-buildUnnamed2715() {
+buildUnnamed2734() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed2715(core.List<api.Rule> o) {
+checkUnnamed2734(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -2549,7 +2549,7 @@
buildCounterCreativeAssetSelection++;
if (buildCounterCreativeAssetSelection < 3) {
o.defaultAssetId = "foo";
- o.rules = buildUnnamed2715();
+ o.rules = buildUnnamed2734();
}
buildCounterCreativeAssetSelection--;
return o;
@@ -2559,45 +2559,45 @@
buildCounterCreativeAssetSelection++;
if (buildCounterCreativeAssetSelection < 3) {
unittest.expect(o.defaultAssetId, unittest.equals('foo'));
- checkUnnamed2715(o.rules);
+ checkUnnamed2734(o.rules);
}
buildCounterCreativeAssetSelection--;
}
-buildUnnamed2716() {
+buildUnnamed2735() {
var o = new core.List<api.CompanionClickThroughOverride>();
o.add(buildCompanionClickThroughOverride());
o.add(buildCompanionClickThroughOverride());
return o;
}
-checkUnnamed2716(core.List<api.CompanionClickThroughOverride> o) {
+checkUnnamed2735(core.List<api.CompanionClickThroughOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompanionClickThroughOverride(o[0]);
checkCompanionClickThroughOverride(o[1]);
}
-buildUnnamed2717() {
+buildUnnamed2736() {
var o = new core.List<api.CreativeGroupAssignment>();
o.add(buildCreativeGroupAssignment());
o.add(buildCreativeGroupAssignment());
return o;
}
-checkUnnamed2717(core.List<api.CreativeGroupAssignment> o) {
+checkUnnamed2736(core.List<api.CreativeGroupAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroupAssignment(o[0]);
checkCreativeGroupAssignment(o[1]);
}
-buildUnnamed2718() {
+buildUnnamed2737() {
var o = new core.List<api.RichMediaExitOverride>();
o.add(buildRichMediaExitOverride());
o.add(buildRichMediaExitOverride());
return o;
}
-checkUnnamed2718(core.List<api.RichMediaExitOverride> o) {
+checkUnnamed2737(core.List<api.RichMediaExitOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkRichMediaExitOverride(o[0]);
checkRichMediaExitOverride(o[1]);
@@ -2611,12 +2611,12 @@
o.active = true;
o.applyEventTags = true;
o.clickThroughUrl = buildClickThroughUrl();
- o.companionCreativeOverrides = buildUnnamed2716();
- o.creativeGroupAssignments = buildUnnamed2717();
+ o.companionCreativeOverrides = buildUnnamed2735();
+ o.creativeGroupAssignments = buildUnnamed2736();
o.creativeId = "foo";
o.creativeIdDimensionValue = buildDimensionValue();
o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.richMediaExitOverrides = buildUnnamed2718();
+ o.richMediaExitOverrides = buildUnnamed2737();
o.sequence = 42;
o.sslCompliant = true;
o.startTime = core.DateTime.parse("2002-02-27T14:01:02");
@@ -2632,13 +2632,13 @@
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.applyEventTags, unittest.isTrue);
checkClickThroughUrl(o.clickThroughUrl);
- checkUnnamed2716(o.companionCreativeOverrides);
- checkUnnamed2717(o.creativeGroupAssignments);
+ checkUnnamed2735(o.companionCreativeOverrides);
+ checkUnnamed2736(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")));
- checkUnnamed2718(o.richMediaExitOverrides);
+ checkUnnamed2737(o.richMediaExitOverrides);
unittest.expect(o.sequence, unittest.equals(42));
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.startTime,
@@ -2783,14 +2783,14 @@
buildCounterCreativeFieldValue--;
}
-buildUnnamed2719() {
+buildUnnamed2738() {
var o = new core.List<api.CreativeFieldValue>();
o.add(buildCreativeFieldValue());
o.add(buildCreativeFieldValue());
return o;
}
-checkUnnamed2719(core.List<api.CreativeFieldValue> o) {
+checkUnnamed2738(core.List<api.CreativeFieldValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFieldValue(o[0]);
checkCreativeFieldValue(o[1]);
@@ -2801,7 +2801,7 @@
var o = new api.CreativeFieldValuesListResponse();
buildCounterCreativeFieldValuesListResponse++;
if (buildCounterCreativeFieldValuesListResponse < 3) {
- o.creativeFieldValues = buildUnnamed2719();
+ o.creativeFieldValues = buildUnnamed2738();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2812,21 +2812,21 @@
checkCreativeFieldValuesListResponse(api.CreativeFieldValuesListResponse o) {
buildCounterCreativeFieldValuesListResponse++;
if (buildCounterCreativeFieldValuesListResponse < 3) {
- checkUnnamed2719(o.creativeFieldValues);
+ checkUnnamed2738(o.creativeFieldValues);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativeFieldValuesListResponse--;
}
-buildUnnamed2720() {
+buildUnnamed2739() {
var o = new core.List<api.CreativeField>();
o.add(buildCreativeField());
o.add(buildCreativeField());
return o;
}
-checkUnnamed2720(core.List<api.CreativeField> o) {
+checkUnnamed2739(core.List<api.CreativeField> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeField(o[0]);
checkCreativeField(o[1]);
@@ -2837,7 +2837,7 @@
var o = new api.CreativeFieldsListResponse();
buildCounterCreativeFieldsListResponse++;
if (buildCounterCreativeFieldsListResponse < 3) {
- o.creativeFields = buildUnnamed2720();
+ o.creativeFields = buildUnnamed2739();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2848,7 +2848,7 @@
checkCreativeFieldsListResponse(api.CreativeFieldsListResponse o) {
buildCounterCreativeFieldsListResponse++;
if (buildCounterCreativeFieldsListResponse < 3) {
- checkUnnamed2720(o.creativeFields);
+ checkUnnamed2739(o.creativeFields);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2909,14 +2909,14 @@
buildCounterCreativeGroupAssignment--;
}
-buildUnnamed2721() {
+buildUnnamed2740() {
var o = new core.List<api.CreativeGroup>();
o.add(buildCreativeGroup());
o.add(buildCreativeGroup());
return o;
}
-checkUnnamed2721(core.List<api.CreativeGroup> o) {
+checkUnnamed2740(core.List<api.CreativeGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroup(o[0]);
checkCreativeGroup(o[1]);
@@ -2927,7 +2927,7 @@
var o = new api.CreativeGroupsListResponse();
buildCounterCreativeGroupsListResponse++;
if (buildCounterCreativeGroupsListResponse < 3) {
- o.creativeGroups = buildUnnamed2721();
+ o.creativeGroups = buildUnnamed2740();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2938,21 +2938,21 @@
checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) {
buildCounterCreativeGroupsListResponse++;
if (buildCounterCreativeGroupsListResponse < 3) {
- checkUnnamed2721(o.creativeGroups);
+ checkUnnamed2740(o.creativeGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativeGroupsListResponse--;
}
-buildUnnamed2722() {
+buildUnnamed2741() {
var o = new core.List<api.OptimizationActivity>();
o.add(buildOptimizationActivity());
o.add(buildOptimizationActivity());
return o;
}
-checkUnnamed2722(core.List<api.OptimizationActivity> o) {
+checkUnnamed2741(core.List<api.OptimizationActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkOptimizationActivity(o[0]);
checkOptimizationActivity(o[1]);
@@ -2965,7 +2965,7 @@
if (buildCounterCreativeOptimizationConfiguration < 3) {
o.id = "foo";
o.name = "foo";
- o.optimizationActivitys = buildUnnamed2722();
+ o.optimizationActivitys = buildUnnamed2741();
o.optimizationModel = "foo";
}
buildCounterCreativeOptimizationConfiguration--;
@@ -2978,20 +2978,20 @@
if (buildCounterCreativeOptimizationConfiguration < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2722(o.optimizationActivitys);
+ checkUnnamed2741(o.optimizationActivitys);
unittest.expect(o.optimizationModel, unittest.equals('foo'));
}
buildCounterCreativeOptimizationConfiguration--;
}
-buildUnnamed2723() {
+buildUnnamed2742() {
var o = new core.List<api.CreativeAssignment>();
o.add(buildCreativeAssignment());
o.add(buildCreativeAssignment());
return o;
}
-checkUnnamed2723(core.List<api.CreativeAssignment> o) {
+checkUnnamed2742(core.List<api.CreativeAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeAssignment(o[0]);
checkCreativeAssignment(o[1]);
@@ -3002,7 +3002,7 @@
var o = new api.CreativeRotation();
buildCounterCreativeRotation++;
if (buildCounterCreativeRotation < 3) {
- o.creativeAssignments = buildUnnamed2723();
+ o.creativeAssignments = buildUnnamed2742();
o.creativeOptimizationConfigurationId = "foo";
o.type = "foo";
o.weightCalculationStrategy = "foo";
@@ -3014,7 +3014,7 @@
checkCreativeRotation(api.CreativeRotation o) {
buildCounterCreativeRotation++;
if (buildCounterCreativeRotation < 3) {
- checkUnnamed2723(o.creativeAssignments);
+ checkUnnamed2742(o.creativeAssignments);
unittest.expect(
o.creativeOptimizationConfigurationId, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -3044,14 +3044,14 @@
buildCounterCreativeSettings--;
}
-buildUnnamed2724() {
+buildUnnamed2743() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed2724(core.List<api.Creative> o) {
+checkUnnamed2743(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -3062,7 +3062,7 @@
var o = new api.CreativesListResponse();
buildCounterCreativesListResponse++;
if (buildCounterCreativesListResponse < 3) {
- o.creatives = buildUnnamed2724();
+ o.creatives = buildUnnamed2743();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3073,60 +3073,60 @@
checkCreativesListResponse(api.CreativesListResponse o) {
buildCounterCreativesListResponse++;
if (buildCounterCreativesListResponse < 3) {
- checkUnnamed2724(o.creatives);
+ checkUnnamed2743(o.creatives);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativesListResponse--;
}
-buildUnnamed2725() {
+buildUnnamed2744() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2725(core.List<api.Dimension> o) {
+checkUnnamed2744(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2726() {
+buildUnnamed2745() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2726(core.List<api.Dimension> o) {
+checkUnnamed2745(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2727() {
+buildUnnamed2746() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2727(core.List<api.Metric> o) {
+checkUnnamed2746(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2728() {
+buildUnnamed2747() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2728(core.List<api.Metric> o) {
+checkUnnamed2747(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -3137,11 +3137,11 @@
var o = new api.CrossDimensionReachReportCompatibleFields();
buildCounterCrossDimensionReachReportCompatibleFields++;
if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
- o.breakdown = buildUnnamed2725();
- o.dimensionFilters = buildUnnamed2726();
+ o.breakdown = buildUnnamed2744();
+ o.dimensionFilters = buildUnnamed2745();
o.kind = "foo";
- o.metrics = buildUnnamed2727();
- o.overlapMetrics = buildUnnamed2728();
+ o.metrics = buildUnnamed2746();
+ o.overlapMetrics = buildUnnamed2747();
}
buildCounterCrossDimensionReachReportCompatibleFields--;
return o;
@@ -3151,11 +3151,11 @@
api.CrossDimensionReachReportCompatibleFields o) {
buildCounterCrossDimensionReachReportCompatibleFields++;
if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
- checkUnnamed2725(o.breakdown);
- checkUnnamed2726(o.dimensionFilters);
+ checkUnnamed2744(o.breakdown);
+ checkUnnamed2745(o.dimensionFilters);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2727(o.metrics);
- checkUnnamed2728(o.overlapMetrics);
+ checkUnnamed2746(o.metrics);
+ checkUnnamed2747(o.overlapMetrics);
}
buildCounterCrossDimensionReachReportCompatibleFields--;
}
@@ -3183,14 +3183,14 @@
buildCounterCustomFloodlightVariable--;
}
-buildUnnamed2729() {
+buildUnnamed2748() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2729(core.List<api.DimensionValue> o) {
+checkUnnamed2748(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
@@ -3201,7 +3201,7 @@
var o = new api.CustomRichMediaEvents();
buildCounterCustomRichMediaEvents++;
if (buildCounterCustomRichMediaEvents < 3) {
- o.filteredEventIds = buildUnnamed2729();
+ o.filteredEventIds = buildUnnamed2748();
o.kind = "foo";
}
buildCounterCustomRichMediaEvents--;
@@ -3211,7 +3211,7 @@
checkCustomRichMediaEvents(api.CustomRichMediaEvents o) {
buildCounterCustomRichMediaEvents++;
if (buildCounterCustomRichMediaEvents < 3) {
- checkUnnamed2729(o.filteredEventIds);
+ checkUnnamed2748(o.filteredEventIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCustomRichMediaEvents--;
@@ -3244,27 +3244,27 @@
buildCounterDateRange--;
}
-buildUnnamed2730() {
+buildUnnamed2749() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2730(core.List<core.String> 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'));
}
-buildUnnamed2731() {
+buildUnnamed2750() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2731(core.List<core.int> o) {
+checkUnnamed2750(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));
@@ -3275,8 +3275,8 @@
var o = new api.DayPartTargeting();
buildCounterDayPartTargeting++;
if (buildCounterDayPartTargeting < 3) {
- o.daysOfWeek = buildUnnamed2730();
- o.hoursOfDay = buildUnnamed2731();
+ o.daysOfWeek = buildUnnamed2749();
+ o.hoursOfDay = buildUnnamed2750();
o.userLocalTime = true;
}
buildCounterDayPartTargeting--;
@@ -3286,8 +3286,8 @@
checkDayPartTargeting(api.DayPartTargeting o) {
buildCounterDayPartTargeting++;
if (buildCounterDayPartTargeting < 3) {
- checkUnnamed2730(o.daysOfWeek);
- checkUnnamed2731(o.hoursOfDay);
+ checkUnnamed2749(o.daysOfWeek);
+ checkUnnamed2750(o.hoursOfDay);
unittest.expect(o.userLocalTime, unittest.isTrue);
}
buildCounterDayPartTargeting--;
@@ -3440,14 +3440,14 @@
buildCounterDimensionValue--;
}
-buildUnnamed2732() {
+buildUnnamed2751() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2732(core.List<api.DimensionValue> o) {
+checkUnnamed2751(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
@@ -3459,7 +3459,7 @@
buildCounterDimensionValueList++;
if (buildCounterDimensionValueList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2732();
+ o.items = buildUnnamed2751();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3471,21 +3471,21 @@
buildCounterDimensionValueList++;
if (buildCounterDimensionValueList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2732(o.items);
+ checkUnnamed2751(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterDimensionValueList--;
}
-buildUnnamed2733() {
+buildUnnamed2752() {
var o = new core.List<api.DimensionFilter>();
o.add(buildDimensionFilter());
o.add(buildDimensionFilter());
return o;
}
-checkUnnamed2733(core.List<api.DimensionFilter> o) {
+checkUnnamed2752(core.List<api.DimensionFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilter(o[0]);
checkDimensionFilter(o[1]);
@@ -3498,7 +3498,7 @@
if (buildCounterDimensionValueRequest < 3) {
o.dimensionName = "foo";
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.filters = buildUnnamed2733();
+ o.filters = buildUnnamed2752();
o.kind = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
}
@@ -3512,7 +3512,7 @@
unittest.expect(o.dimensionName, unittest.equals('foo'));
unittest.expect(
o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed2733(o.filters);
+ checkUnnamed2752(o.filters);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.startDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -3520,40 +3520,40 @@
buildCounterDimensionValueRequest--;
}
-buildUnnamed2734() {
+buildUnnamed2753() {
var o = new core.List<api.DirectorySiteContactAssignment>();
o.add(buildDirectorySiteContactAssignment());
o.add(buildDirectorySiteContactAssignment());
return o;
}
-checkUnnamed2734(core.List<api.DirectorySiteContactAssignment> o) {
+checkUnnamed2753(core.List<api.DirectorySiteContactAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySiteContactAssignment(o[0]);
checkDirectorySiteContactAssignment(o[1]);
}
-buildUnnamed2735() {
+buildUnnamed2754() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2735(core.List<core.String> o) {
+checkUnnamed2754(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2736() {
+buildUnnamed2755() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2736(core.List<core.String> o) {
+checkUnnamed2755(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3565,14 +3565,14 @@
buildCounterDirectorySite++;
if (buildCounterDirectorySite < 3) {
o.active = true;
- o.contactAssignments = buildUnnamed2734();
+ o.contactAssignments = buildUnnamed2753();
o.countryId = "foo";
o.currencyId = "foo";
o.description = "foo";
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
- o.inpageTagFormats = buildUnnamed2735();
- o.interstitialTagFormats = buildUnnamed2736();
+ o.inpageTagFormats = buildUnnamed2754();
+ o.interstitialTagFormats = buildUnnamed2755();
o.kind = "foo";
o.name = "foo";
o.parentId = "foo";
@@ -3587,14 +3587,14 @@
buildCounterDirectorySite++;
if (buildCounterDirectorySite < 3) {
unittest.expect(o.active, unittest.isTrue);
- checkUnnamed2734(o.contactAssignments);
+ checkUnnamed2753(o.contactAssignments);
unittest.expect(o.countryId, unittest.equals('foo'));
unittest.expect(o.currencyId, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
- checkUnnamed2735(o.inpageTagFormats);
- checkUnnamed2736(o.interstitialTagFormats);
+ checkUnnamed2754(o.inpageTagFormats);
+ checkUnnamed2755(o.interstitialTagFormats);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentId, unittest.equals('foo'));
@@ -3662,14 +3662,14 @@
buildCounterDirectorySiteContactAssignment--;
}
-buildUnnamed2737() {
+buildUnnamed2756() {
var o = new core.List<api.DirectorySiteContact>();
o.add(buildDirectorySiteContact());
o.add(buildDirectorySiteContact());
return o;
}
-checkUnnamed2737(core.List<api.DirectorySiteContact> o) {
+checkUnnamed2756(core.List<api.DirectorySiteContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySiteContact(o[0]);
checkDirectorySiteContact(o[1]);
@@ -3680,7 +3680,7 @@
var o = new api.DirectorySiteContactsListResponse();
buildCounterDirectorySiteContactsListResponse++;
if (buildCounterDirectorySiteContactsListResponse < 3) {
- o.directorySiteContacts = buildUnnamed2737();
+ o.directorySiteContacts = buildUnnamed2756();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3692,7 +3692,7 @@
api.DirectorySiteContactsListResponse o) {
buildCounterDirectorySiteContactsListResponse++;
if (buildCounterDirectorySiteContactsListResponse < 3) {
- checkUnnamed2737(o.directorySiteContacts);
+ checkUnnamed2756(o.directorySiteContacts);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3730,14 +3730,14 @@
buildCounterDirectorySiteSettings--;
}
-buildUnnamed2738() {
+buildUnnamed2757() {
var o = new core.List<api.DirectorySite>();
o.add(buildDirectorySite());
o.add(buildDirectorySite());
return o;
}
-checkUnnamed2738(core.List<api.DirectorySite> o) {
+checkUnnamed2757(core.List<api.DirectorySite> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySite(o[0]);
checkDirectorySite(o[1]);
@@ -3748,7 +3748,7 @@
var o = new api.DirectorySitesListResponse();
buildCounterDirectorySitesListResponse++;
if (buildCounterDirectorySitesListResponse < 3) {
- o.directorySites = buildUnnamed2738();
+ o.directorySites = buildUnnamed2757();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3759,7 +3759,7 @@
checkDirectorySitesListResponse(api.DirectorySitesListResponse o) {
buildCounterDirectorySitesListResponse++;
if (buildCounterDirectorySitesListResponse < 3) {
- checkUnnamed2738(o.directorySites);
+ checkUnnamed2757(o.directorySites);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3791,14 +3791,14 @@
buildCounterDynamicTargetingKey--;
}
-buildUnnamed2739() {
+buildUnnamed2758() {
var o = new core.List<api.DynamicTargetingKey>();
o.add(buildDynamicTargetingKey());
o.add(buildDynamicTargetingKey());
return o;
}
-checkUnnamed2739(core.List<api.DynamicTargetingKey> o) {
+checkUnnamed2758(core.List<api.DynamicTargetingKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkDynamicTargetingKey(o[0]);
checkDynamicTargetingKey(o[1]);
@@ -3809,7 +3809,7 @@
var o = new api.DynamicTargetingKeysListResponse();
buildCounterDynamicTargetingKeysListResponse++;
if (buildCounterDynamicTargetingKeysListResponse < 3) {
- o.dynamicTargetingKeys = buildUnnamed2739();
+ o.dynamicTargetingKeys = buildUnnamed2758();
o.kind = "foo";
}
buildCounterDynamicTargetingKeysListResponse--;
@@ -3819,7 +3819,7 @@
checkDynamicTargetingKeysListResponse(api.DynamicTargetingKeysListResponse o) {
buildCounterDynamicTargetingKeysListResponse++;
if (buildCounterDynamicTargetingKeysListResponse < 3) {
- checkUnnamed2739(o.dynamicTargetingKeys);
+ checkUnnamed2758(o.dynamicTargetingKeys);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDynamicTargetingKeysListResponse--;
@@ -3850,14 +3850,14 @@
buildCounterEncryptionInfo--;
}
-buildUnnamed2740() {
+buildUnnamed2759() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2740(core.List<core.String> o) {
+checkUnnamed2759(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3879,7 +3879,7 @@
o.kind = "foo";
o.name = "foo";
o.siteFilterType = "foo";
- o.siteIds = buildUnnamed2740();
+ o.siteIds = buildUnnamed2759();
o.sslCompliant = true;
o.status = "foo";
o.subaccountId = "foo";
@@ -3905,7 +3905,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.siteFilterType, unittest.equals('foo'));
- checkUnnamed2740(o.siteIds);
+ checkUnnamed2759(o.siteIds);
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subaccountId, unittest.equals('foo'));
@@ -3937,14 +3937,14 @@
buildCounterEventTagOverride--;
}
-buildUnnamed2741() {
+buildUnnamed2760() {
var o = new core.List<api.EventTag>();
o.add(buildEventTag());
o.add(buildEventTag());
return o;
}
-checkUnnamed2741(core.List<api.EventTag> o) {
+checkUnnamed2760(core.List<api.EventTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTag(o[0]);
checkEventTag(o[1]);
@@ -3955,7 +3955,7 @@
var o = new api.EventTagsListResponse();
buildCounterEventTagsListResponse++;
if (buildCounterEventTagsListResponse < 3) {
- o.eventTags = buildUnnamed2741();
+ o.eventTags = buildUnnamed2760();
o.kind = "foo";
}
buildCounterEventTagsListResponse--;
@@ -3965,7 +3965,7 @@
checkEventTagsListResponse(api.EventTagsListResponse o) {
buildCounterEventTagsListResponse++;
if (buildCounterEventTagsListResponse < 3) {
- checkUnnamed2741(o.eventTags);
+ checkUnnamed2760(o.eventTags);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEventTagsListResponse--;
@@ -4029,14 +4029,14 @@
buildCounterFile--;
}
-buildUnnamed2742() {
+buildUnnamed2761() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed2742(core.List<api.File> o) {
+checkUnnamed2761(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -4048,7 +4048,7 @@
buildCounterFileList++;
if (buildCounterFileList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2742();
+ o.items = buildUnnamed2761();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4060,7 +4060,7 @@
buildCounterFileList++;
if (buildCounterFileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2742(o.items);
+ checkUnnamed2761(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -4118,14 +4118,14 @@
buildCounterFloodlightActivitiesGenerateTagResponse--;
}
-buildUnnamed2743() {
+buildUnnamed2762() {
var o = new core.List<api.FloodlightActivity>();
o.add(buildFloodlightActivity());
o.add(buildFloodlightActivity());
return o;
}
-checkUnnamed2743(core.List<api.FloodlightActivity> o) {
+checkUnnamed2762(core.List<api.FloodlightActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivity(o[0]);
checkFloodlightActivity(o[1]);
@@ -4136,7 +4136,7 @@
var o = new api.FloodlightActivitiesListResponse();
buildCounterFloodlightActivitiesListResponse++;
if (buildCounterFloodlightActivitiesListResponse < 3) {
- o.floodlightActivities = buildUnnamed2743();
+ o.floodlightActivities = buildUnnamed2762();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4147,47 +4147,47 @@
checkFloodlightActivitiesListResponse(api.FloodlightActivitiesListResponse o) {
buildCounterFloodlightActivitiesListResponse++;
if (buildCounterFloodlightActivitiesListResponse < 3) {
- checkUnnamed2743(o.floodlightActivities);
+ checkUnnamed2762(o.floodlightActivities);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterFloodlightActivitiesListResponse--;
}
-buildUnnamed2744() {
+buildUnnamed2763() {
var o = new core.List<api.FloodlightActivityDynamicTag>();
o.add(buildFloodlightActivityDynamicTag());
o.add(buildFloodlightActivityDynamicTag());
return o;
}
-checkUnnamed2744(core.List<api.FloodlightActivityDynamicTag> o) {
+checkUnnamed2763(core.List<api.FloodlightActivityDynamicTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityDynamicTag(o[0]);
checkFloodlightActivityDynamicTag(o[1]);
}
-buildUnnamed2745() {
+buildUnnamed2764() {
var o = new core.List<api.FloodlightActivityPublisherDynamicTag>();
o.add(buildFloodlightActivityPublisherDynamicTag());
o.add(buildFloodlightActivityPublisherDynamicTag());
return o;
}
-checkUnnamed2745(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
+checkUnnamed2764(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityPublisherDynamicTag(o[0]);
checkFloodlightActivityPublisherDynamicTag(o[1]);
}
-buildUnnamed2746() {
+buildUnnamed2765() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2746(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'));
@@ -4203,7 +4203,7 @@
o.advertiserIdDimensionValue = buildDimensionValue();
o.cacheBustingType = "foo";
o.countingMethod = "foo";
- o.defaultTags = buildUnnamed2744();
+ o.defaultTags = buildUnnamed2763();
o.expectedUrl = "foo";
o.floodlightActivityGroupId = "foo";
o.floodlightActivityGroupName = "foo";
@@ -4218,14 +4218,14 @@
o.kind = "foo";
o.name = "foo";
o.notes = "foo";
- o.publisherTags = buildUnnamed2745();
+ o.publisherTags = buildUnnamed2764();
o.secure = true;
o.sslCompliant = true;
o.sslRequired = true;
o.subaccountId = "foo";
o.tagFormat = "foo";
o.tagString = "foo";
- o.userDefinedVariableTypes = buildUnnamed2746();
+ o.userDefinedVariableTypes = buildUnnamed2765();
}
buildCounterFloodlightActivity--;
return o;
@@ -4239,7 +4239,7 @@
checkDimensionValue(o.advertiserIdDimensionValue);
unittest.expect(o.cacheBustingType, unittest.equals('foo'));
unittest.expect(o.countingMethod, unittest.equals('foo'));
- checkUnnamed2744(o.defaultTags);
+ checkUnnamed2763(o.defaultTags);
unittest.expect(o.expectedUrl, unittest.equals('foo'));
unittest.expect(o.floodlightActivityGroupId, unittest.equals('foo'));
unittest.expect(o.floodlightActivityGroupName, unittest.equals('foo'));
@@ -4254,14 +4254,14 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed2745(o.publisherTags);
+ checkUnnamed2764(o.publisherTags);
unittest.expect(o.secure, unittest.isTrue);
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.sslRequired, unittest.isTrue);
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.tagFormat, unittest.equals('foo'));
unittest.expect(o.tagString, unittest.equals('foo'));
- checkUnnamed2746(o.userDefinedVariableTypes);
+ checkUnnamed2765(o.userDefinedVariableTypes);
}
buildCounterFloodlightActivity--;
}
@@ -4330,14 +4330,14 @@
buildCounterFloodlightActivityGroup--;
}
-buildUnnamed2747() {
+buildUnnamed2766() {
var o = new core.List<api.FloodlightActivityGroup>();
o.add(buildFloodlightActivityGroup());
o.add(buildFloodlightActivityGroup());
return o;
}
-checkUnnamed2747(core.List<api.FloodlightActivityGroup> o) {
+checkUnnamed2766(core.List<api.FloodlightActivityGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityGroup(o[0]);
checkFloodlightActivityGroup(o[1]);
@@ -4348,7 +4348,7 @@
var o = new api.FloodlightActivityGroupsListResponse();
buildCounterFloodlightActivityGroupsListResponse++;
if (buildCounterFloodlightActivityGroupsListResponse < 3) {
- o.floodlightActivityGroups = buildUnnamed2747();
+ o.floodlightActivityGroups = buildUnnamed2766();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4360,7 +4360,7 @@
api.FloodlightActivityGroupsListResponse o) {
buildCounterFloodlightActivityGroupsListResponse++;
if (buildCounterFloodlightActivityGroupsListResponse < 3) {
- checkUnnamed2747(o.floodlightActivityGroups);
+ checkUnnamed2766(o.floodlightActivityGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -4397,27 +4397,27 @@
buildCounterFloodlightActivityPublisherDynamicTag--;
}
-buildUnnamed2748() {
+buildUnnamed2767() {
var o = new core.List<api.ThirdPartyAuthenticationToken>();
o.add(buildThirdPartyAuthenticationToken());
o.add(buildThirdPartyAuthenticationToken());
return o;
}
-checkUnnamed2748(core.List<api.ThirdPartyAuthenticationToken> o) {
+checkUnnamed2767(core.List<api.ThirdPartyAuthenticationToken> o) {
unittest.expect(o, unittest.hasLength(2));
checkThirdPartyAuthenticationToken(o[0]);
checkThirdPartyAuthenticationToken(o[1]);
}
-buildUnnamed2749() {
+buildUnnamed2768() {
var o = new core.List<api.UserDefinedVariableConfiguration>();
o.add(buildUserDefinedVariableConfiguration());
o.add(buildUserDefinedVariableConfiguration());
return o;
}
-checkUnnamed2749(core.List<api.UserDefinedVariableConfiguration> o) {
+checkUnnamed2768(core.List<api.UserDefinedVariableConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedVariableConfiguration(o[0]);
checkUserDefinedVariableConfiguration(o[1]);
@@ -4443,8 +4443,8 @@
o.omnitureSettings = buildOmnitureSettings();
o.subaccountId = "foo";
o.tagSettings = buildTagSettings();
- o.thirdPartyAuthenticationTokens = buildUnnamed2748();
- o.userDefinedVariableConfigurations = buildUnnamed2749();
+ o.thirdPartyAuthenticationTokens = buildUnnamed2767();
+ o.userDefinedVariableConfigurations = buildUnnamed2768();
}
buildCounterFloodlightConfiguration--;
return o;
@@ -4469,20 +4469,20 @@
checkOmnitureSettings(o.omnitureSettings);
unittest.expect(o.subaccountId, unittest.equals('foo'));
checkTagSettings(o.tagSettings);
- checkUnnamed2748(o.thirdPartyAuthenticationTokens);
- checkUnnamed2749(o.userDefinedVariableConfigurations);
+ checkUnnamed2767(o.thirdPartyAuthenticationTokens);
+ checkUnnamed2768(o.userDefinedVariableConfigurations);
}
buildCounterFloodlightConfiguration--;
}
-buildUnnamed2750() {
+buildUnnamed2769() {
var o = new core.List<api.FloodlightConfiguration>();
o.add(buildFloodlightConfiguration());
o.add(buildFloodlightConfiguration());
return o;
}
-checkUnnamed2750(core.List<api.FloodlightConfiguration> o) {
+checkUnnamed2769(core.List<api.FloodlightConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightConfiguration(o[0]);
checkFloodlightConfiguration(o[1]);
@@ -4493,7 +4493,7 @@
var o = new api.FloodlightConfigurationsListResponse();
buildCounterFloodlightConfigurationsListResponse++;
if (buildCounterFloodlightConfigurationsListResponse < 3) {
- o.floodlightConfigurations = buildUnnamed2750();
+ o.floodlightConfigurations = buildUnnamed2769();
o.kind = "foo";
}
buildCounterFloodlightConfigurationsListResponse--;
@@ -4504,46 +4504,46 @@
api.FloodlightConfigurationsListResponse o) {
buildCounterFloodlightConfigurationsListResponse++;
if (buildCounterFloodlightConfigurationsListResponse < 3) {
- checkUnnamed2750(o.floodlightConfigurations);
+ checkUnnamed2769(o.floodlightConfigurations);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterFloodlightConfigurationsListResponse--;
}
-buildUnnamed2751() {
+buildUnnamed2770() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2751(core.List<api.Dimension> o) {
+checkUnnamed2770(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2752() {
+buildUnnamed2771() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2752(core.List<api.Dimension> o) {
+checkUnnamed2771(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2753() {
+buildUnnamed2772() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2753(core.List<api.Metric> o) {
+checkUnnamed2772(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -4554,10 +4554,10 @@
var o = new api.FloodlightReportCompatibleFields();
buildCounterFloodlightReportCompatibleFields++;
if (buildCounterFloodlightReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed2751();
- o.dimensions = buildUnnamed2752();
+ o.dimensionFilters = buildUnnamed2770();
+ o.dimensions = buildUnnamed2771();
o.kind = "foo";
- o.metrics = buildUnnamed2753();
+ o.metrics = buildUnnamed2772();
}
buildCounterFloodlightReportCompatibleFields--;
return o;
@@ -4566,10 +4566,10 @@
checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) {
buildCounterFloodlightReportCompatibleFields++;
if (buildCounterFloodlightReportCompatibleFields < 3) {
- checkUnnamed2751(o.dimensionFilters);
- checkUnnamed2752(o.dimensions);
+ checkUnnamed2770(o.dimensionFilters);
+ checkUnnamed2771(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2753(o.metrics);
+ checkUnnamed2772(o.metrics);
}
buildCounterFloodlightReportCompatibleFields--;
}
@@ -4622,66 +4622,66 @@
buildCounterFsCommand--;
}
-buildUnnamed2754() {
+buildUnnamed2773() {
var o = new core.List<api.City>();
o.add(buildCity());
o.add(buildCity());
return o;
}
-checkUnnamed2754(core.List<api.City> o) {
+checkUnnamed2773(core.List<api.City> o) {
unittest.expect(o, unittest.hasLength(2));
checkCity(o[0]);
checkCity(o[1]);
}
-buildUnnamed2755() {
+buildUnnamed2774() {
var o = new core.List<api.Country>();
o.add(buildCountry());
o.add(buildCountry());
return o;
}
-checkUnnamed2755(core.List<api.Country> o) {
+checkUnnamed2774(core.List<api.Country> o) {
unittest.expect(o, unittest.hasLength(2));
checkCountry(o[0]);
checkCountry(o[1]);
}
-buildUnnamed2756() {
+buildUnnamed2775() {
var o = new core.List<api.Metro>();
o.add(buildMetro());
o.add(buildMetro());
return o;
}
-checkUnnamed2756(core.List<api.Metro> o) {
+checkUnnamed2775(core.List<api.Metro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetro(o[0]);
checkMetro(o[1]);
}
-buildUnnamed2757() {
+buildUnnamed2776() {
var o = new core.List<api.PostalCode>();
o.add(buildPostalCode());
o.add(buildPostalCode());
return o;
}
-checkUnnamed2757(core.List<api.PostalCode> o) {
+checkUnnamed2776(core.List<api.PostalCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCode(o[0]);
checkPostalCode(o[1]);
}
-buildUnnamed2758() {
+buildUnnamed2777() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed2758(core.List<api.Region> o) {
+checkUnnamed2777(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -4692,12 +4692,12 @@
var o = new api.GeoTargeting();
buildCounterGeoTargeting++;
if (buildCounterGeoTargeting < 3) {
- o.cities = buildUnnamed2754();
- o.countries = buildUnnamed2755();
+ o.cities = buildUnnamed2773();
+ o.countries = buildUnnamed2774();
o.excludeCountries = true;
- o.metros = buildUnnamed2756();
- o.postalCodes = buildUnnamed2757();
- o.regions = buildUnnamed2758();
+ o.metros = buildUnnamed2775();
+ o.postalCodes = buildUnnamed2776();
+ o.regions = buildUnnamed2777();
}
buildCounterGeoTargeting--;
return o;
@@ -4706,24 +4706,24 @@
checkGeoTargeting(api.GeoTargeting o) {
buildCounterGeoTargeting++;
if (buildCounterGeoTargeting < 3) {
- checkUnnamed2754(o.cities);
- checkUnnamed2755(o.countries);
+ checkUnnamed2773(o.cities);
+ checkUnnamed2774(o.countries);
unittest.expect(o.excludeCountries, unittest.isTrue);
- checkUnnamed2756(o.metros);
- checkUnnamed2757(o.postalCodes);
- checkUnnamed2758(o.regions);
+ checkUnnamed2775(o.metros);
+ checkUnnamed2776(o.postalCodes);
+ checkUnnamed2777(o.regions);
}
buildCounterGeoTargeting--;
}
-buildUnnamed2759() {
+buildUnnamed2778() {
var o = new core.List<api.AdSlot>();
o.add(buildAdSlot());
o.add(buildAdSlot());
return o;
}
-checkUnnamed2759(core.List<api.AdSlot> o) {
+checkUnnamed2778(core.List<api.AdSlot> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdSlot(o[0]);
checkAdSlot(o[1]);
@@ -4735,7 +4735,7 @@
buildCounterInventoryItem++;
if (buildCounterInventoryItem < 3) {
o.accountId = "foo";
- o.adSlots = buildUnnamed2759();
+ o.adSlots = buildUnnamed2778();
o.advertiserId = "foo";
o.contentCategoryId = "foo";
o.estimatedClickThroughRate = "foo";
@@ -4763,7 +4763,7 @@
buildCounterInventoryItem++;
if (buildCounterInventoryItem < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed2759(o.adSlots);
+ checkUnnamed2778(o.adSlots);
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.contentCategoryId, unittest.equals('foo'));
unittest.expect(o.estimatedClickThroughRate, unittest.equals('foo'));
@@ -4786,14 +4786,14 @@
buildCounterInventoryItem--;
}
-buildUnnamed2760() {
+buildUnnamed2779() {
var o = new core.List<api.InventoryItem>();
o.add(buildInventoryItem());
o.add(buildInventoryItem());
return o;
}
-checkUnnamed2760(core.List<api.InventoryItem> o) {
+checkUnnamed2779(core.List<api.InventoryItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkInventoryItem(o[0]);
checkInventoryItem(o[1]);
@@ -4804,7 +4804,7 @@
var o = new api.InventoryItemsListResponse();
buildCounterInventoryItemsListResponse++;
if (buildCounterInventoryItemsListResponse < 3) {
- o.inventoryItems = buildUnnamed2760();
+ o.inventoryItems = buildUnnamed2779();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4815,7 +4815,7 @@
checkInventoryItemsListResponse(api.InventoryItemsListResponse o) {
buildCounterInventoryItemsListResponse++;
if (buildCounterInventoryItemsListResponse < 3) {
- checkUnnamed2760(o.inventoryItems);
+ checkUnnamed2779(o.inventoryItems);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -4895,14 +4895,14 @@
buildCounterLanguage--;
}
-buildUnnamed2761() {
+buildUnnamed2780() {
var o = new core.List<api.Language>();
o.add(buildLanguage());
o.add(buildLanguage());
return o;
}
-checkUnnamed2761(core.List<api.Language> o) {
+checkUnnamed2780(core.List<api.Language> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguage(o[0]);
checkLanguage(o[1]);
@@ -4913,7 +4913,7 @@
var o = new api.LanguageTargeting();
buildCounterLanguageTargeting++;
if (buildCounterLanguageTargeting < 3) {
- o.languages = buildUnnamed2761();
+ o.languages = buildUnnamed2780();
}
buildCounterLanguageTargeting--;
return o;
@@ -4922,19 +4922,19 @@
checkLanguageTargeting(api.LanguageTargeting o) {
buildCounterLanguageTargeting++;
if (buildCounterLanguageTargeting < 3) {
- checkUnnamed2761(o.languages);
+ checkUnnamed2780(o.languages);
}
buildCounterLanguageTargeting--;
}
-buildUnnamed2762() {
+buildUnnamed2781() {
var o = new core.List<api.Language>();
o.add(buildLanguage());
o.add(buildLanguage());
return o;
}
-checkUnnamed2762(core.List<api.Language> o) {
+checkUnnamed2781(core.List<api.Language> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguage(o[0]);
checkLanguage(o[1]);
@@ -4946,7 +4946,7 @@
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
o.kind = "foo";
- o.languages = buildUnnamed2762();
+ o.languages = buildUnnamed2781();
}
buildCounterLanguagesListResponse--;
return o;
@@ -4956,7 +4956,7 @@
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2762(o.languages);
+ checkUnnamed2781(o.languages);
}
buildCounterLanguagesListResponse--;
}
@@ -4980,14 +4980,14 @@
buildCounterLastModifiedInfo--;
}
-buildUnnamed2763() {
+buildUnnamed2782() {
var o = new core.List<api.ListPopulationTerm>();
o.add(buildListPopulationTerm());
o.add(buildListPopulationTerm());
return o;
}
-checkUnnamed2763(core.List<api.ListPopulationTerm> o) {
+checkUnnamed2782(core.List<api.ListPopulationTerm> o) {
unittest.expect(o, unittest.hasLength(2));
checkListPopulationTerm(o[0]);
checkListPopulationTerm(o[1]);
@@ -4998,7 +4998,7 @@
var o = new api.ListPopulationClause();
buildCounterListPopulationClause++;
if (buildCounterListPopulationClause < 3) {
- o.terms = buildUnnamed2763();
+ o.terms = buildUnnamed2782();
}
buildCounterListPopulationClause--;
return o;
@@ -5007,19 +5007,19 @@
checkListPopulationClause(api.ListPopulationClause o) {
buildCounterListPopulationClause++;
if (buildCounterListPopulationClause < 3) {
- checkUnnamed2763(o.terms);
+ checkUnnamed2782(o.terms);
}
buildCounterListPopulationClause--;
}
-buildUnnamed2764() {
+buildUnnamed2783() {
var o = new core.List<api.ListPopulationClause>();
o.add(buildListPopulationClause());
o.add(buildListPopulationClause());
return o;
}
-checkUnnamed2764(core.List<api.ListPopulationClause> o) {
+checkUnnamed2783(core.List<api.ListPopulationClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkListPopulationClause(o[0]);
checkListPopulationClause(o[1]);
@@ -5032,7 +5032,7 @@
if (buildCounterListPopulationRule < 3) {
o.floodlightActivityId = "foo";
o.floodlightActivityName = "foo";
- o.listPopulationClauses = buildUnnamed2764();
+ o.listPopulationClauses = buildUnnamed2783();
}
buildCounterListPopulationRule--;
return o;
@@ -5043,7 +5043,7 @@
if (buildCounterListPopulationRule < 3) {
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
unittest.expect(o.floodlightActivityName, unittest.equals('foo'));
- checkUnnamed2764(o.listPopulationClauses);
+ checkUnnamed2783(o.listPopulationClauses);
}
buildCounterListPopulationRule--;
}
@@ -5173,14 +5173,14 @@
buildCounterMetro--;
}
-buildUnnamed2765() {
+buildUnnamed2784() {
var o = new core.List<api.Metro>();
o.add(buildMetro());
o.add(buildMetro());
return o;
}
-checkUnnamed2765(core.List<api.Metro> o) {
+checkUnnamed2784(core.List<api.Metro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetro(o[0]);
checkMetro(o[1]);
@@ -5192,7 +5192,7 @@
buildCounterMetrosListResponse++;
if (buildCounterMetrosListResponse < 3) {
o.kind = "foo";
- o.metros = buildUnnamed2765();
+ o.metros = buildUnnamed2784();
}
buildCounterMetrosListResponse--;
return o;
@@ -5202,7 +5202,7 @@
buildCounterMetrosListResponse++;
if (buildCounterMetrosListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2765(o.metros);
+ checkUnnamed2784(o.metros);
}
buildCounterMetrosListResponse--;
}
@@ -5234,14 +5234,14 @@
buildCounterMobileCarrier--;
}
-buildUnnamed2766() {
+buildUnnamed2785() {
var o = new core.List<api.MobileCarrier>();
o.add(buildMobileCarrier());
o.add(buildMobileCarrier());
return o;
}
-checkUnnamed2766(core.List<api.MobileCarrier> o) {
+checkUnnamed2785(core.List<api.MobileCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileCarrier(o[0]);
checkMobileCarrier(o[1]);
@@ -5253,7 +5253,7 @@
buildCounterMobileCarriersListResponse++;
if (buildCounterMobileCarriersListResponse < 3) {
o.kind = "foo";
- o.mobileCarriers = buildUnnamed2766();
+ o.mobileCarriers = buildUnnamed2785();
}
buildCounterMobileCarriersListResponse--;
return o;
@@ -5263,19 +5263,19 @@
buildCounterMobileCarriersListResponse++;
if (buildCounterMobileCarriersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2766(o.mobileCarriers);
+ checkUnnamed2785(o.mobileCarriers);
}
buildCounterMobileCarriersListResponse--;
}
-buildUnnamed2767() {
+buildUnnamed2786() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2767(core.List<core.String> o) {
+checkUnnamed2786(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5287,7 +5287,7 @@
buildCounterObjectFilter++;
if (buildCounterObjectFilter < 3) {
o.kind = "foo";
- o.objectIds = buildUnnamed2767();
+ o.objectIds = buildUnnamed2786();
o.status = "foo";
}
buildCounterObjectFilter--;
@@ -5298,7 +5298,7 @@
buildCounterObjectFilter++;
if (buildCounterObjectFilter < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2767(o.objectIds);
+ checkUnnamed2786(o.objectIds);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterObjectFilter--;
@@ -5402,14 +5402,14 @@
buildCounterOperatingSystemVersion--;
}
-buildUnnamed2768() {
+buildUnnamed2787() {
var o = new core.List<api.OperatingSystemVersion>();
o.add(buildOperatingSystemVersion());
o.add(buildOperatingSystemVersion());
return o;
}
-checkUnnamed2768(core.List<api.OperatingSystemVersion> o) {
+checkUnnamed2787(core.List<api.OperatingSystemVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystemVersion(o[0]);
checkOperatingSystemVersion(o[1]);
@@ -5421,7 +5421,7 @@
buildCounterOperatingSystemVersionsListResponse++;
if (buildCounterOperatingSystemVersionsListResponse < 3) {
o.kind = "foo";
- o.operatingSystemVersions = buildUnnamed2768();
+ o.operatingSystemVersions = buildUnnamed2787();
}
buildCounterOperatingSystemVersionsListResponse--;
return o;
@@ -5432,19 +5432,19 @@
buildCounterOperatingSystemVersionsListResponse++;
if (buildCounterOperatingSystemVersionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2768(o.operatingSystemVersions);
+ checkUnnamed2787(o.operatingSystemVersions);
}
buildCounterOperatingSystemVersionsListResponse--;
}
-buildUnnamed2769() {
+buildUnnamed2788() {
var o = new core.List<api.OperatingSystem>();
o.add(buildOperatingSystem());
o.add(buildOperatingSystem());
return o;
}
-checkUnnamed2769(core.List<api.OperatingSystem> o) {
+checkUnnamed2788(core.List<api.OperatingSystem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystem(o[0]);
checkOperatingSystem(o[1]);
@@ -5456,7 +5456,7 @@
buildCounterOperatingSystemsListResponse++;
if (buildCounterOperatingSystemsListResponse < 3) {
o.kind = "foo";
- o.operatingSystems = buildUnnamed2769();
+ o.operatingSystems = buildUnnamed2788();
}
buildCounterOperatingSystemsListResponse--;
return o;
@@ -5466,7 +5466,7 @@
buildCounterOperatingSystemsListResponse++;
if (buildCounterOperatingSystemsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2769(o.operatingSystems);
+ checkUnnamed2788(o.operatingSystems);
}
buildCounterOperatingSystemsListResponse--;
}
@@ -5494,53 +5494,53 @@
buildCounterOptimizationActivity--;
}
-buildUnnamed2770() {
+buildUnnamed2789() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2770(core.List<core.String> o) {
+checkUnnamed2789(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2771() {
+buildUnnamed2790() {
var o = new core.List<api.OrderContact>();
o.add(buildOrderContact());
o.add(buildOrderContact());
return o;
}
-checkUnnamed2771(core.List<api.OrderContact> o) {
+checkUnnamed2790(core.List<api.OrderContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderContact(o[0]);
checkOrderContact(o[1]);
}
-buildUnnamed2772() {
+buildUnnamed2791() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2772(core.List<core.String> o) {
+checkUnnamed2791(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2773() {
+buildUnnamed2792() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2773(core.List<core.String> o) {
+checkUnnamed2792(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5553,11 +5553,11 @@
if (buildCounterOrder < 3) {
o.accountId = "foo";
o.advertiserId = "foo";
- o.approverUserProfileIds = buildUnnamed2770();
+ o.approverUserProfileIds = buildUnnamed2789();
o.buyerInvoiceId = "foo";
o.buyerOrganizationName = "foo";
o.comments = "foo";
- o.contacts = buildUnnamed2771();
+ o.contacts = buildUnnamed2790();
o.id = "foo";
o.kind = "foo";
o.lastModifiedInfo = buildLastModifiedInfo();
@@ -5567,8 +5567,8 @@
o.projectId = "foo";
o.sellerOrderId = "foo";
o.sellerOrganizationName = "foo";
- o.siteId = buildUnnamed2772();
- o.siteNames = buildUnnamed2773();
+ o.siteId = buildUnnamed2791();
+ o.siteNames = buildUnnamed2792();
o.subaccountId = "foo";
o.termsAndConditions = "foo";
}
@@ -5581,11 +5581,11 @@
if (buildCounterOrder < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
- checkUnnamed2770(o.approverUserProfileIds);
+ checkUnnamed2789(o.approverUserProfileIds);
unittest.expect(o.buyerInvoiceId, unittest.equals('foo'));
unittest.expect(o.buyerOrganizationName, unittest.equals('foo'));
unittest.expect(o.comments, unittest.equals('foo'));
- checkUnnamed2771(o.contacts);
+ checkUnnamed2790(o.contacts);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkLastModifiedInfo(o.lastModifiedInfo);
@@ -5595,8 +5595,8 @@
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.sellerOrderId, unittest.equals('foo'));
unittest.expect(o.sellerOrganizationName, unittest.equals('foo'));
- checkUnnamed2772(o.siteId);
- checkUnnamed2773(o.siteNames);
+ checkUnnamed2791(o.siteId);
+ checkUnnamed2792(o.siteNames);
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.termsAndConditions, unittest.equals('foo'));
}
@@ -5630,27 +5630,27 @@
buildCounterOrderContact--;
}
-buildUnnamed2774() {
+buildUnnamed2793() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2774(core.List<core.String> o) {
+checkUnnamed2793(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2775() {
+buildUnnamed2794() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2775(core.List<core.String> o) {
+checkUnnamed2794(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5664,13 +5664,13 @@
o.accountId = "foo";
o.advertiserId = "foo";
o.amendedOrderDocumentId = "foo";
- o.approvedByUserProfileIds = buildUnnamed2774();
+ o.approvedByUserProfileIds = buildUnnamed2793();
o.cancelled = true;
o.createdInfo = buildLastModifiedInfo();
o.effectiveDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.id = "foo";
o.kind = "foo";
- o.lastSentRecipients = buildUnnamed2775();
+ o.lastSentRecipients = buildUnnamed2794();
o.lastSentTime = core.DateTime.parse("2002-02-27T14:01:02");
o.orderId = "foo";
o.projectId = "foo";
@@ -5689,14 +5689,14 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.amendedOrderDocumentId, unittest.equals('foo'));
- checkUnnamed2774(o.approvedByUserProfileIds);
+ checkUnnamed2793(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'));
- checkUnnamed2775(o.lastSentRecipients);
+ checkUnnamed2794(o.lastSentRecipients);
unittest.expect(o.lastSentTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.orderId, unittest.equals('foo'));
@@ -5709,14 +5709,14 @@
buildCounterOrderDocument--;
}
-buildUnnamed2776() {
+buildUnnamed2795() {
var o = new core.List<api.OrderDocument>();
o.add(buildOrderDocument());
o.add(buildOrderDocument());
return o;
}
-checkUnnamed2776(core.List<api.OrderDocument> o) {
+checkUnnamed2795(core.List<api.OrderDocument> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderDocument(o[0]);
checkOrderDocument(o[1]);
@@ -5729,7 +5729,7 @@
if (buildCounterOrderDocumentsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.orderDocuments = buildUnnamed2776();
+ o.orderDocuments = buildUnnamed2795();
}
buildCounterOrderDocumentsListResponse--;
return o;
@@ -5740,19 +5740,19 @@
if (buildCounterOrderDocumentsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2776(o.orderDocuments);
+ checkUnnamed2795(o.orderDocuments);
}
buildCounterOrderDocumentsListResponse--;
}
-buildUnnamed2777() {
+buildUnnamed2796() {
var o = new core.List<api.Order>();
o.add(buildOrder());
o.add(buildOrder());
return o;
}
-checkUnnamed2777(core.List<api.Order> o) {
+checkUnnamed2796(core.List<api.Order> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrder(o[0]);
checkOrder(o[1]);
@@ -5765,7 +5765,7 @@
if (buildCounterOrdersListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.orders = buildUnnamed2777();
+ o.orders = buildUnnamed2796();
}
buildCounterOrdersListResponse--;
return o;
@@ -5776,58 +5776,58 @@
if (buildCounterOrdersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2777(o.orders);
+ checkUnnamed2796(o.orders);
}
buildCounterOrdersListResponse--;
}
-buildUnnamed2778() {
+buildUnnamed2797() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2778(core.List<api.Dimension> o) {
+checkUnnamed2797(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2779() {
+buildUnnamed2798() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2779(core.List<api.Dimension> o) {
+checkUnnamed2798(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2780() {
+buildUnnamed2799() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2780(core.List<api.Metric> o) {
+checkUnnamed2799(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2781() {
+buildUnnamed2800() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2781(core.List<api.Dimension> o) {
+checkUnnamed2800(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
@@ -5838,11 +5838,11 @@
var o = new api.PathToConversionReportCompatibleFields();
buildCounterPathToConversionReportCompatibleFields++;
if (buildCounterPathToConversionReportCompatibleFields < 3) {
- o.conversionDimensions = buildUnnamed2778();
- o.customFloodlightVariables = buildUnnamed2779();
+ o.conversionDimensions = buildUnnamed2797();
+ o.customFloodlightVariables = buildUnnamed2798();
o.kind = "foo";
- o.metrics = buildUnnamed2780();
- o.perInteractionDimensions = buildUnnamed2781();
+ o.metrics = buildUnnamed2799();
+ o.perInteractionDimensions = buildUnnamed2800();
}
buildCounterPathToConversionReportCompatibleFields--;
return o;
@@ -5852,23 +5852,23 @@
api.PathToConversionReportCompatibleFields o) {
buildCounterPathToConversionReportCompatibleFields++;
if (buildCounterPathToConversionReportCompatibleFields < 3) {
- checkUnnamed2778(o.conversionDimensions);
- checkUnnamed2779(o.customFloodlightVariables);
+ checkUnnamed2797(o.conversionDimensions);
+ checkUnnamed2798(o.customFloodlightVariables);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2780(o.metrics);
- checkUnnamed2781(o.perInteractionDimensions);
+ checkUnnamed2799(o.metrics);
+ checkUnnamed2800(o.perInteractionDimensions);
}
buildCounterPathToConversionReportCompatibleFields--;
}
-buildUnnamed2782() {
+buildUnnamed2801() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2782(core.List<core.String> o) {
+checkUnnamed2801(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5914,7 +5914,7 @@
o.sslRequired = true;
o.status = "foo";
o.subaccountId = "foo";
- o.tagFormats = buildUnnamed2782();
+ o.tagFormats = buildUnnamed2801();
o.tagSetting = buildTagSetting();
o.videoActiveViewOptOut = true;
o.videoSettings = buildVideoSettings();
@@ -5962,7 +5962,7 @@
unittest.expect(o.sslRequired, unittest.isTrue);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subaccountId, unittest.equals('foo'));
- checkUnnamed2782(o.tagFormats);
+ checkUnnamed2801(o.tagFormats);
checkTagSetting(o.tagSetting);
unittest.expect(o.videoActiveViewOptOut, unittest.isTrue);
checkVideoSettings(o.videoSettings);
@@ -5996,14 +5996,14 @@
buildCounterPlacementAssignment--;
}
-buildUnnamed2783() {
+buildUnnamed2802() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2783(core.List<core.String> o) {
+checkUnnamed2802(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6020,7 +6020,7 @@
o.archived = true;
o.campaignId = "foo";
o.campaignIdDimensionValue = buildDimensionValue();
- o.childPlacementIds = buildUnnamed2783();
+ o.childPlacementIds = buildUnnamed2802();
o.comment = "foo";
o.contentCategoryId = "foo";
o.createInfo = buildLastModifiedInfo();
@@ -6054,7 +6054,7 @@
unittest.expect(o.archived, unittest.isTrue);
unittest.expect(o.campaignId, unittest.equals('foo'));
checkDimensionValue(o.campaignIdDimensionValue);
- checkUnnamed2783(o.childPlacementIds);
+ checkUnnamed2802(o.childPlacementIds);
unittest.expect(o.comment, unittest.equals('foo'));
unittest.expect(o.contentCategoryId, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
@@ -6078,14 +6078,14 @@
buildCounterPlacementGroup--;
}
-buildUnnamed2784() {
+buildUnnamed2803() {
var o = new core.List<api.PlacementGroup>();
o.add(buildPlacementGroup());
o.add(buildPlacementGroup());
return o;
}
-checkUnnamed2784(core.List<api.PlacementGroup> o) {
+checkUnnamed2803(core.List<api.PlacementGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementGroup(o[0]);
checkPlacementGroup(o[1]);
@@ -6098,7 +6098,7 @@
if (buildCounterPlacementGroupsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placementGroups = buildUnnamed2784();
+ o.placementGroups = buildUnnamed2803();
}
buildCounterPlacementGroupsListResponse--;
return o;
@@ -6109,19 +6109,19 @@
if (buildCounterPlacementGroupsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2784(o.placementGroups);
+ checkUnnamed2803(o.placementGroups);
}
buildCounterPlacementGroupsListResponse--;
}
-buildUnnamed2785() {
+buildUnnamed2804() {
var o = new core.List<api.PlacementStrategy>();
o.add(buildPlacementStrategy());
o.add(buildPlacementStrategy());
return o;
}
-checkUnnamed2785(core.List<api.PlacementStrategy> o) {
+checkUnnamed2804(core.List<api.PlacementStrategy> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementStrategy(o[0]);
checkPlacementStrategy(o[1]);
@@ -6134,7 +6134,7 @@
if (buildCounterPlacementStrategiesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placementStrategies = buildUnnamed2785();
+ o.placementStrategies = buildUnnamed2804();
}
buildCounterPlacementStrategiesListResponse--;
return o;
@@ -6145,7 +6145,7 @@
if (buildCounterPlacementStrategiesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2785(o.placementStrategies);
+ checkUnnamed2804(o.placementStrategies);
}
buildCounterPlacementStrategiesListResponse--;
}
@@ -6175,14 +6175,14 @@
buildCounterPlacementStrategy--;
}
-buildUnnamed2786() {
+buildUnnamed2805() {
var o = new core.List<api.TagData>();
o.add(buildTagData());
o.add(buildTagData());
return o;
}
-checkUnnamed2786(core.List<api.TagData> o) {
+checkUnnamed2805(core.List<api.TagData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTagData(o[0]);
checkTagData(o[1]);
@@ -6194,7 +6194,7 @@
buildCounterPlacementTag++;
if (buildCounterPlacementTag < 3) {
o.placementId = "foo";
- o.tagDatas = buildUnnamed2786();
+ o.tagDatas = buildUnnamed2805();
}
buildCounterPlacementTag--;
return o;
@@ -6204,19 +6204,19 @@
buildCounterPlacementTag++;
if (buildCounterPlacementTag < 3) {
unittest.expect(o.placementId, unittest.equals('foo'));
- checkUnnamed2786(o.tagDatas);
+ checkUnnamed2805(o.tagDatas);
}
buildCounterPlacementTag--;
}
-buildUnnamed2787() {
+buildUnnamed2806() {
var o = new core.List<api.PlacementTag>();
o.add(buildPlacementTag());
o.add(buildPlacementTag());
return o;
}
-checkUnnamed2787(core.List<api.PlacementTag> o) {
+checkUnnamed2806(core.List<api.PlacementTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementTag(o[0]);
checkPlacementTag(o[1]);
@@ -6228,7 +6228,7 @@
buildCounterPlacementsGenerateTagsResponse++;
if (buildCounterPlacementsGenerateTagsResponse < 3) {
o.kind = "foo";
- o.placementTags = buildUnnamed2787();
+ o.placementTags = buildUnnamed2806();
}
buildCounterPlacementsGenerateTagsResponse--;
return o;
@@ -6238,19 +6238,19 @@
buildCounterPlacementsGenerateTagsResponse++;
if (buildCounterPlacementsGenerateTagsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2787(o.placementTags);
+ checkUnnamed2806(o.placementTags);
}
buildCounterPlacementsGenerateTagsResponse--;
}
-buildUnnamed2788() {
+buildUnnamed2807() {
var o = new core.List<api.Placement>();
o.add(buildPlacement());
o.add(buildPlacement());
return o;
}
-checkUnnamed2788(core.List<api.Placement> o) {
+checkUnnamed2807(core.List<api.Placement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacement(o[0]);
checkPlacement(o[1]);
@@ -6263,7 +6263,7 @@
if (buildCounterPlacementsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placements = buildUnnamed2788();
+ o.placements = buildUnnamed2807();
}
buildCounterPlacementsListResponse--;
return o;
@@ -6274,7 +6274,7 @@
if (buildCounterPlacementsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2788(o.placements);
+ checkUnnamed2807(o.placements);
}
buildCounterPlacementsListResponse--;
}
@@ -6302,14 +6302,14 @@
buildCounterPlatformType--;
}
-buildUnnamed2789() {
+buildUnnamed2808() {
var o = new core.List<api.PlatformType>();
o.add(buildPlatformType());
o.add(buildPlatformType());
return o;
}
-checkUnnamed2789(core.List<api.PlatformType> o) {
+checkUnnamed2808(core.List<api.PlatformType> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlatformType(o[0]);
checkPlatformType(o[1]);
@@ -6321,7 +6321,7 @@
buildCounterPlatformTypesListResponse++;
if (buildCounterPlatformTypesListResponse < 3) {
o.kind = "foo";
- o.platformTypes = buildUnnamed2789();
+ o.platformTypes = buildUnnamed2808();
}
buildCounterPlatformTypesListResponse--;
return o;
@@ -6331,7 +6331,7 @@
buildCounterPlatformTypesListResponse++;
if (buildCounterPlatformTypesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2789(o.platformTypes);
+ checkUnnamed2808(o.platformTypes);
}
buildCounterPlatformTypesListResponse--;
}
@@ -6398,14 +6398,14 @@
buildCounterPostalCode--;
}
-buildUnnamed2790() {
+buildUnnamed2809() {
var o = new core.List<api.PostalCode>();
o.add(buildPostalCode());
o.add(buildPostalCode());
return o;
}
-checkUnnamed2790(core.List<api.PostalCode> o) {
+checkUnnamed2809(core.List<api.PostalCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCode(o[0]);
checkPostalCode(o[1]);
@@ -6417,7 +6417,7 @@
buildCounterPostalCodesListResponse++;
if (buildCounterPostalCodesListResponse < 3) {
o.kind = "foo";
- o.postalCodes = buildUnnamed2790();
+ o.postalCodes = buildUnnamed2809();
}
buildCounterPostalCodesListResponse--;
return o;
@@ -6427,19 +6427,19 @@
buildCounterPostalCodesListResponse++;
if (buildCounterPostalCodesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2790(o.postalCodes);
+ checkUnnamed2809(o.postalCodes);
}
buildCounterPostalCodesListResponse--;
}
-buildUnnamed2791() {
+buildUnnamed2810() {
var o = new core.List<api.Flight>();
o.add(buildFlight());
o.add(buildFlight());
return o;
}
-checkUnnamed2791(core.List<api.Flight> o) {
+checkUnnamed2810(core.List<api.Flight> o) {
unittest.expect(o, unittest.hasLength(2));
checkFlight(o[0]);
checkFlight(o[1]);
@@ -6452,7 +6452,7 @@
if (buildCounterPricing < 3) {
o.capCostType = "foo";
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.flights = buildUnnamed2791();
+ o.flights = buildUnnamed2810();
o.groupType = "foo";
o.pricingType = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
@@ -6467,7 +6467,7 @@
unittest.expect(o.capCostType, unittest.equals('foo'));
unittest.expect(
o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed2791(o.flights);
+ checkUnnamed2810(o.flights);
unittest.expect(o.groupType, unittest.equals('foo'));
unittest.expect(o.pricingType, unittest.equals('foo'));
unittest.expect(o.startDate,
@@ -6476,14 +6476,14 @@
buildCounterPricing--;
}
-buildUnnamed2792() {
+buildUnnamed2811() {
var o = new core.List<api.PricingSchedulePricingPeriod>();
o.add(buildPricingSchedulePricingPeriod());
o.add(buildPricingSchedulePricingPeriod());
return o;
}
-checkUnnamed2792(core.List<api.PricingSchedulePricingPeriod> o) {
+checkUnnamed2811(core.List<api.PricingSchedulePricingPeriod> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricingSchedulePricingPeriod(o[0]);
checkPricingSchedulePricingPeriod(o[1]);
@@ -6499,7 +6499,7 @@
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.flighted = true;
o.floodlightActivityId = "foo";
- o.pricingPeriods = buildUnnamed2792();
+ o.pricingPeriods = buildUnnamed2811();
o.pricingType = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.testingStartDate = core.DateTime.parse("2002-02-27T14:01:02Z");
@@ -6517,7 +6517,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'));
- checkUnnamed2792(o.pricingPeriods);
+ checkUnnamed2811(o.pricingPeriods);
unittest.expect(o.pricingType, unittest.equals('foo'));
unittest.expect(o.startDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -6619,14 +6619,14 @@
buildCounterProject--;
}
-buildUnnamed2793() {
+buildUnnamed2812() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed2793(core.List<api.Project> o) {
+checkUnnamed2812(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -6639,7 +6639,7 @@
if (buildCounterProjectsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.projects = buildUnnamed2793();
+ o.projects = buildUnnamed2812();
}
buildCounterProjectsListResponse--;
return o;
@@ -6650,71 +6650,71 @@
if (buildCounterProjectsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2793(o.projects);
+ checkUnnamed2812(o.projects);
}
buildCounterProjectsListResponse--;
}
-buildUnnamed2794() {
+buildUnnamed2813() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2794(core.List<api.Dimension> o) {
+checkUnnamed2813(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2795() {
+buildUnnamed2814() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2795(core.List<api.Dimension> o) {
+checkUnnamed2814(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2796() {
+buildUnnamed2815() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2796(core.List<api.Metric> o) {
+checkUnnamed2815(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2797() {
+buildUnnamed2816() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2797(core.List<api.Metric> o) {
+checkUnnamed2816(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2798() {
+buildUnnamed2817() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2798(core.List<api.Metric> o) {
+checkUnnamed2817(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -6725,12 +6725,12 @@
var o = new api.ReachReportCompatibleFields();
buildCounterReachReportCompatibleFields++;
if (buildCounterReachReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed2794();
- o.dimensions = buildUnnamed2795();
+ o.dimensionFilters = buildUnnamed2813();
+ o.dimensions = buildUnnamed2814();
o.kind = "foo";
- o.metrics = buildUnnamed2796();
- o.pivotedActivityMetrics = buildUnnamed2797();
- o.reachByFrequencyMetrics = buildUnnamed2798();
+ o.metrics = buildUnnamed2815();
+ o.pivotedActivityMetrics = buildUnnamed2816();
+ o.reachByFrequencyMetrics = buildUnnamed2817();
}
buildCounterReachReportCompatibleFields--;
return o;
@@ -6739,12 +6739,12 @@
checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) {
buildCounterReachReportCompatibleFields++;
if (buildCounterReachReportCompatibleFields < 3) {
- checkUnnamed2794(o.dimensionFilters);
- checkUnnamed2795(o.dimensions);
+ checkUnnamed2813(o.dimensionFilters);
+ checkUnnamed2814(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2796(o.metrics);
- checkUnnamed2797(o.pivotedActivityMetrics);
- checkUnnamed2798(o.reachByFrequencyMetrics);
+ checkUnnamed2815(o.metrics);
+ checkUnnamed2816(o.pivotedActivityMetrics);
+ checkUnnamed2817(o.reachByFrequencyMetrics);
}
buildCounterReachReportCompatibleFields--;
}
@@ -6801,14 +6801,14 @@
buildCounterRegion--;
}
-buildUnnamed2799() {
+buildUnnamed2818() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed2799(core.List<api.Region> o) {
+checkUnnamed2818(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -6820,7 +6820,7 @@
buildCounterRegionsListResponse++;
if (buildCounterRegionsListResponse < 3) {
o.kind = "foo";
- o.regions = buildUnnamed2799();
+ o.regions = buildUnnamed2818();
}
buildCounterRegionsListResponse--;
return o;
@@ -6830,7 +6830,7 @@
buildCounterRegionsListResponse++;
if (buildCounterRegionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2799(o.regions);
+ checkUnnamed2818(o.regions);
}
buildCounterRegionsListResponse--;
}
@@ -6878,27 +6878,27 @@
buildCounterRemarketingList--;
}
-buildUnnamed2800() {
+buildUnnamed2819() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2800(core.List<core.String> o) {
+checkUnnamed2819(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2801() {
+buildUnnamed2820() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2801(core.List<core.String> o) {
+checkUnnamed2820(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6911,8 +6911,8 @@
if (buildCounterRemarketingListShare < 3) {
o.kind = "foo";
o.remarketingListId = "foo";
- o.sharedAccountIds = buildUnnamed2800();
- o.sharedAdvertiserIds = buildUnnamed2801();
+ o.sharedAccountIds = buildUnnamed2819();
+ o.sharedAdvertiserIds = buildUnnamed2820();
}
buildCounterRemarketingListShare--;
return o;
@@ -6923,20 +6923,20 @@
if (buildCounterRemarketingListShare < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.remarketingListId, unittest.equals('foo'));
- checkUnnamed2800(o.sharedAccountIds);
- checkUnnamed2801(o.sharedAdvertiserIds);
+ checkUnnamed2819(o.sharedAccountIds);
+ checkUnnamed2820(o.sharedAdvertiserIds);
}
buildCounterRemarketingListShare--;
}
-buildUnnamed2802() {
+buildUnnamed2821() {
var o = new core.List<api.RemarketingList>();
o.add(buildRemarketingList());
o.add(buildRemarketingList());
return o;
}
-checkUnnamed2802(core.List<api.RemarketingList> o) {
+checkUnnamed2821(core.List<api.RemarketingList> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemarketingList(o[0]);
checkRemarketingList(o[1]);
@@ -6949,7 +6949,7 @@
if (buildCounterRemarketingListsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.remarketingLists = buildUnnamed2802();
+ o.remarketingLists = buildUnnamed2821();
}
buildCounterRemarketingListsListResponse--;
return o;
@@ -6960,45 +6960,45 @@
if (buildCounterRemarketingListsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2802(o.remarketingLists);
+ checkUnnamed2821(o.remarketingLists);
}
buildCounterRemarketingListsListResponse--;
}
-buildUnnamed2803() {
+buildUnnamed2822() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2803(core.List<api.DimensionValue> o) {
+checkUnnamed2822(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2804() {
+buildUnnamed2823() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2804(core.List<api.SortedDimension> o) {
+checkUnnamed2823(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2805() {
+buildUnnamed2824() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2805(core.List<core.String> o) {
+checkUnnamed2824(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7012,9 +7012,9 @@
o.activities = buildActivities();
o.customRichMediaEvents = buildCustomRichMediaEvents();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed2803();
- o.dimensions = buildUnnamed2804();
- o.metricNames = buildUnnamed2805();
+ o.dimensionFilters = buildUnnamed2822();
+ o.dimensions = buildUnnamed2823();
+ o.metricNames = buildUnnamed2824();
}
buildCounterReportCriteria--;
return o;
@@ -7026,60 +7026,60 @@
checkActivities(o.activities);
checkCustomRichMediaEvents(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed2803(o.dimensionFilters);
- checkUnnamed2804(o.dimensions);
- checkUnnamed2805(o.metricNames);
+ checkUnnamed2822(o.dimensionFilters);
+ checkUnnamed2823(o.dimensions);
+ checkUnnamed2824(o.metricNames);
}
buildCounterReportCriteria--;
}
-buildUnnamed2806() {
+buildUnnamed2825() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2806(core.List<api.SortedDimension> o) {
+checkUnnamed2825(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2807() {
+buildUnnamed2826() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2807(core.List<api.DimensionValue> o) {
+checkUnnamed2826(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2808() {
+buildUnnamed2827() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2808(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'));
}
-buildUnnamed2809() {
+buildUnnamed2828() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2809(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'));
@@ -7090,12 +7090,12 @@
var o = new api.ReportCrossDimensionReachCriteria();
buildCounterReportCrossDimensionReachCriteria++;
if (buildCounterReportCrossDimensionReachCriteria < 3) {
- o.breakdown = buildUnnamed2806();
+ o.breakdown = buildUnnamed2825();
o.dateRange = buildDateRange();
o.dimension = "foo";
- o.dimensionFilters = buildUnnamed2807();
- o.metricNames = buildUnnamed2808();
- o.overlapMetricNames = buildUnnamed2809();
+ o.dimensionFilters = buildUnnamed2826();
+ o.metricNames = buildUnnamed2827();
+ o.overlapMetricNames = buildUnnamed2828();
o.pivoted = true;
}
buildCounterReportCrossDimensionReachCriteria--;
@@ -7106,25 +7106,25 @@
api.ReportCrossDimensionReachCriteria o) {
buildCounterReportCrossDimensionReachCriteria++;
if (buildCounterReportCrossDimensionReachCriteria < 3) {
- checkUnnamed2806(o.breakdown);
+ checkUnnamed2825(o.breakdown);
checkDateRange(o.dateRange);
unittest.expect(o.dimension, unittest.equals('foo'));
- checkUnnamed2807(o.dimensionFilters);
- checkUnnamed2808(o.metricNames);
- checkUnnamed2809(o.overlapMetricNames);
+ checkUnnamed2826(o.dimensionFilters);
+ checkUnnamed2827(o.metricNames);
+ checkUnnamed2828(o.overlapMetricNames);
unittest.expect(o.pivoted, unittest.isTrue);
}
buildCounterReportCrossDimensionReachCriteria--;
}
-buildUnnamed2810() {
+buildUnnamed2829() {
var o = new core.List<api.Recipient>();
o.add(buildRecipient());
o.add(buildRecipient());
return o;
}
-checkUnnamed2810(core.List<api.Recipient> o) {
+checkUnnamed2829(core.List<api.Recipient> o) {
unittest.expect(o, unittest.hasLength(2));
checkRecipient(o[0]);
checkRecipient(o[1]);
@@ -7138,7 +7138,7 @@
o.emailOwner = true;
o.emailOwnerDeliveryType = "foo";
o.message = "foo";
- o.recipients = buildUnnamed2810();
+ o.recipients = buildUnnamed2829();
}
buildCounterReportDelivery--;
return o;
@@ -7150,58 +7150,58 @@
unittest.expect(o.emailOwner, unittest.isTrue);
unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo'));
unittest.expect(o.message, unittest.equals('foo'));
- checkUnnamed2810(o.recipients);
+ checkUnnamed2829(o.recipients);
}
buildCounterReportDelivery--;
}
-buildUnnamed2811() {
+buildUnnamed2830() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2811(core.List<api.DimensionValue> o) {
+checkUnnamed2830(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2812() {
+buildUnnamed2831() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2812(core.List<api.DimensionValue> o) {
+checkUnnamed2831(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2813() {
+buildUnnamed2832() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2813(core.List<api.SortedDimension> o) {
+checkUnnamed2832(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2814() {
+buildUnnamed2833() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2814(core.List<core.String> o) {
+checkUnnamed2833(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7236,12 +7236,12 @@
var o = new api.ReportFloodlightCriteria();
buildCounterReportFloodlightCriteria++;
if (buildCounterReportFloodlightCriteria < 3) {
- o.customRichMediaEvents = buildUnnamed2811();
+ o.customRichMediaEvents = buildUnnamed2830();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed2812();
- o.dimensions = buildUnnamed2813();
+ o.dimensionFilters = buildUnnamed2831();
+ o.dimensions = buildUnnamed2832();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed2814();
+ o.metricNames = buildUnnamed2833();
o.reportProperties = buildReportFloodlightCriteriaReportProperties();
}
buildCounterReportFloodlightCriteria--;
@@ -7251,90 +7251,90 @@
checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) {
buildCounterReportFloodlightCriteria++;
if (buildCounterReportFloodlightCriteria < 3) {
- checkUnnamed2811(o.customRichMediaEvents);
+ checkUnnamed2830(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed2812(o.dimensionFilters);
- checkUnnamed2813(o.dimensions);
+ checkUnnamed2831(o.dimensionFilters);
+ checkUnnamed2832(o.dimensions);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed2814(o.metricNames);
+ checkUnnamed2833(o.metricNames);
checkReportFloodlightCriteriaReportProperties(o.reportProperties);
}
buildCounterReportFloodlightCriteria--;
}
-buildUnnamed2815() {
+buildUnnamed2834() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2815(core.List<api.DimensionValue> o) {
+checkUnnamed2834(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2816() {
+buildUnnamed2835() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2816(core.List<api.SortedDimension> o) {
+checkUnnamed2835(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2817() {
+buildUnnamed2836() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2817(core.List<api.SortedDimension> o) {
+checkUnnamed2836(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2818() {
+buildUnnamed2837() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2818(core.List<api.DimensionValue> o) {
+checkUnnamed2837(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2819() {
+buildUnnamed2838() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2819(core.List<core.String> o) {
+checkUnnamed2838(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2820() {
+buildUnnamed2839() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2820(core.List<api.SortedDimension> o) {
+checkUnnamed2839(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
@@ -7381,14 +7381,14 @@
var o = new api.ReportPathToConversionCriteria();
buildCounterReportPathToConversionCriteria++;
if (buildCounterReportPathToConversionCriteria < 3) {
- o.activityFilters = buildUnnamed2815();
- o.conversionDimensions = buildUnnamed2816();
- o.customFloodlightVariables = buildUnnamed2817();
- o.customRichMediaEvents = buildUnnamed2818();
+ o.activityFilters = buildUnnamed2834();
+ o.conversionDimensions = buildUnnamed2835();
+ o.customFloodlightVariables = buildUnnamed2836();
+ o.customRichMediaEvents = buildUnnamed2837();
o.dateRange = buildDateRange();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed2819();
- o.perInteractionDimensions = buildUnnamed2820();
+ o.metricNames = buildUnnamed2838();
+ o.perInteractionDimensions = buildUnnamed2839();
o.reportProperties = buildReportPathToConversionCriteriaReportProperties();
}
buildCounterReportPathToConversionCriteria--;
@@ -7398,66 +7398,66 @@
checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) {
buildCounterReportPathToConversionCriteria++;
if (buildCounterReportPathToConversionCriteria < 3) {
- checkUnnamed2815(o.activityFilters);
- checkUnnamed2816(o.conversionDimensions);
- checkUnnamed2817(o.customFloodlightVariables);
- checkUnnamed2818(o.customRichMediaEvents);
+ checkUnnamed2834(o.activityFilters);
+ checkUnnamed2835(o.conversionDimensions);
+ checkUnnamed2836(o.customFloodlightVariables);
+ checkUnnamed2837(o.customRichMediaEvents);
checkDateRange(o.dateRange);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed2819(o.metricNames);
- checkUnnamed2820(o.perInteractionDimensions);
+ checkUnnamed2838(o.metricNames);
+ checkUnnamed2839(o.perInteractionDimensions);
checkReportPathToConversionCriteriaReportProperties(o.reportProperties);
}
buildCounterReportPathToConversionCriteria--;
}
-buildUnnamed2821() {
+buildUnnamed2840() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2821(core.List<api.DimensionValue> o) {
+checkUnnamed2840(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2822() {
+buildUnnamed2841() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed2822(core.List<api.SortedDimension> o) {
+checkUnnamed2841(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed2823() {
+buildUnnamed2842() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2823(core.List<core.String> o) {
+checkUnnamed2842(core.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() {
+buildUnnamed2843() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2824(core.List<core.String> o) {
+checkUnnamed2843(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7471,11 +7471,11 @@
o.activities = buildActivities();
o.customRichMediaEvents = buildCustomRichMediaEvents();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed2821();
- o.dimensions = buildUnnamed2822();
+ o.dimensionFilters = buildUnnamed2840();
+ o.dimensions = buildUnnamed2841();
o.enableAllDimensionCombinations = true;
- o.metricNames = buildUnnamed2823();
- o.reachByFrequencyMetricNames = buildUnnamed2824();
+ o.metricNames = buildUnnamed2842();
+ o.reachByFrequencyMetricNames = buildUnnamed2843();
}
buildCounterReportReachCriteria--;
return o;
@@ -7487,23 +7487,23 @@
checkActivities(o.activities);
checkCustomRichMediaEvents(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed2821(o.dimensionFilters);
- checkUnnamed2822(o.dimensions);
+ checkUnnamed2840(o.dimensionFilters);
+ checkUnnamed2841(o.dimensions);
unittest.expect(o.enableAllDimensionCombinations, unittest.isTrue);
- checkUnnamed2823(o.metricNames);
- checkUnnamed2824(o.reachByFrequencyMetricNames);
+ checkUnnamed2842(o.metricNames);
+ checkUnnamed2843(o.reachByFrequencyMetricNames);
}
buildCounterReportReachCriteria--;
}
-buildUnnamed2825() {
+buildUnnamed2844() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2825(core.List<core.String> o) {
+checkUnnamed2844(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7518,7 +7518,7 @@
o.every = 42;
o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.repeats = "foo";
- o.repeatsOnWeekDays = buildUnnamed2825();
+ o.repeatsOnWeekDays = buildUnnamed2844();
o.runsOnDayOfMonth = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
}
@@ -7534,7 +7534,7 @@
unittest.expect(o.expirationDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.repeats, unittest.equals('foo'));
- checkUnnamed2825(o.repeatsOnWeekDays);
+ checkUnnamed2844(o.repeatsOnWeekDays);
unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo'));
unittest.expect(o.startDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -7595,53 +7595,53 @@
buildCounterReport--;
}
-buildUnnamed2826() {
+buildUnnamed2845() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2826(core.List<api.Dimension> o) {
+checkUnnamed2845(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2827() {
+buildUnnamed2846() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2827(core.List<api.Dimension> o) {
+checkUnnamed2846(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2828() {
+buildUnnamed2847() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2828(core.List<api.Metric> o) {
+checkUnnamed2847(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2829() {
+buildUnnamed2848() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2829(core.List<api.Metric> o) {
+checkUnnamed2848(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -7652,11 +7652,11 @@
var o = new api.ReportCompatibleFields();
buildCounterReportCompatibleFields++;
if (buildCounterReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed2826();
- o.dimensions = buildUnnamed2827();
+ o.dimensionFilters = buildUnnamed2845();
+ o.dimensions = buildUnnamed2846();
o.kind = "foo";
- o.metrics = buildUnnamed2828();
- o.pivotedActivityMetrics = buildUnnamed2829();
+ o.metrics = buildUnnamed2847();
+ o.pivotedActivityMetrics = buildUnnamed2848();
}
buildCounterReportCompatibleFields--;
return o;
@@ -7665,23 +7665,23 @@
checkReportCompatibleFields(api.ReportCompatibleFields o) {
buildCounterReportCompatibleFields++;
if (buildCounterReportCompatibleFields < 3) {
- checkUnnamed2826(o.dimensionFilters);
- checkUnnamed2827(o.dimensions);
+ checkUnnamed2845(o.dimensionFilters);
+ checkUnnamed2846(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2828(o.metrics);
- checkUnnamed2829(o.pivotedActivityMetrics);
+ checkUnnamed2847(o.metrics);
+ checkUnnamed2848(o.pivotedActivityMetrics);
}
buildCounterReportCompatibleFields--;
}
-buildUnnamed2830() {
+buildUnnamed2849() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed2830(core.List<api.Report> o) {
+checkUnnamed2849(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -7693,7 +7693,7 @@
buildCounterReportList++;
if (buildCounterReportList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2830();
+ o.items = buildUnnamed2849();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -7705,7 +7705,7 @@
buildCounterReportList++;
if (buildCounterReportList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2830(o.items);
+ checkUnnamed2849(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -7781,14 +7781,14 @@
buildCounterRule--;
}
-buildUnnamed2831() {
+buildUnnamed2850() {
var o = new core.List<api.SiteContact>();
o.add(buildSiteContact());
o.add(buildSiteContact());
return o;
}
-checkUnnamed2831(core.List<api.SiteContact> o) {
+checkUnnamed2850(core.List<api.SiteContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkSiteContact(o[0]);
checkSiteContact(o[1]);
@@ -7808,7 +7808,7 @@
o.keyName = "foo";
o.kind = "foo";
o.name = "foo";
- o.siteContacts = buildUnnamed2831();
+ o.siteContacts = buildUnnamed2850();
o.siteSettings = buildSiteSettings();
o.subaccountId = "foo";
}
@@ -7828,7 +7828,7 @@
unittest.expect(o.keyName, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2831(o.siteContacts);
+ checkUnnamed2850(o.siteContacts);
checkSiteSettings(o.siteSettings);
unittest.expect(o.subaccountId, unittest.equals('foo'));
}
@@ -7901,14 +7901,14 @@
buildCounterSiteSettings--;
}
-buildUnnamed2832() {
+buildUnnamed2851() {
var o = new core.List<api.Site>();
o.add(buildSite());
o.add(buildSite());
return o;
}
-checkUnnamed2832(core.List<api.Site> o) {
+checkUnnamed2851(core.List<api.Site> o) {
unittest.expect(o, unittest.hasLength(2));
checkSite(o[0]);
checkSite(o[1]);
@@ -7921,7 +7921,7 @@
if (buildCounterSitesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.sites = buildUnnamed2832();
+ o.sites = buildUnnamed2851();
}
buildCounterSitesListResponse--;
return o;
@@ -7932,7 +7932,7 @@
if (buildCounterSitesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2832(o.sites);
+ checkUnnamed2851(o.sites);
}
buildCounterSitesListResponse--;
}
@@ -7964,14 +7964,14 @@
buildCounterSize--;
}
-buildUnnamed2833() {
+buildUnnamed2852() {
var o = new core.List<api.Size>();
o.add(buildSize());
o.add(buildSize());
return o;
}
-checkUnnamed2833(core.List<api.Size> o) {
+checkUnnamed2852(core.List<api.Size> o) {
unittest.expect(o, unittest.hasLength(2));
checkSize(o[0]);
checkSize(o[1]);
@@ -7983,7 +7983,7 @@
buildCounterSizesListResponse++;
if (buildCounterSizesListResponse < 3) {
o.kind = "foo";
- o.sizes = buildUnnamed2833();
+ o.sizes = buildUnnamed2852();
}
buildCounterSizesListResponse--;
return o;
@@ -7993,7 +7993,7 @@
buildCounterSizesListResponse++;
if (buildCounterSizesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2833(o.sizes);
+ checkUnnamed2852(o.sizes);
}
buildCounterSizesListResponse--;
}
@@ -8046,14 +8046,14 @@
buildCounterSortedDimension--;
}
-buildUnnamed2834() {
+buildUnnamed2853() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2834(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'));
@@ -8065,7 +8065,7 @@
buildCounterSubaccount++;
if (buildCounterSubaccount < 3) {
o.accountId = "foo";
- o.availablePermissionIds = buildUnnamed2834();
+ o.availablePermissionIds = buildUnnamed2853();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -8078,7 +8078,7 @@
buildCounterSubaccount++;
if (buildCounterSubaccount < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed2834(o.availablePermissionIds);
+ checkUnnamed2853(o.availablePermissionIds);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -8086,14 +8086,14 @@
buildCounterSubaccount--;
}
-buildUnnamed2835() {
+buildUnnamed2854() {
var o = new core.List<api.Subaccount>();
o.add(buildSubaccount());
o.add(buildSubaccount());
return o;
}
-checkUnnamed2835(core.List<api.Subaccount> o) {
+checkUnnamed2854(core.List<api.Subaccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubaccount(o[0]);
checkSubaccount(o[1]);
@@ -8106,7 +8106,7 @@
if (buildCounterSubaccountsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.subaccounts = buildUnnamed2835();
+ o.subaccounts = buildUnnamed2854();
}
buildCounterSubaccountsListResponse--;
return o;
@@ -8117,7 +8117,7 @@
if (buildCounterSubaccountsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2835(o.subaccounts);
+ checkUnnamed2854(o.subaccounts);
}
buildCounterSubaccountsListResponse--;
}
@@ -8257,14 +8257,14 @@
buildCounterTargetableRemarketingList--;
}
-buildUnnamed2836() {
+buildUnnamed2855() {
var o = new core.List<api.TargetableRemarketingList>();
o.add(buildTargetableRemarketingList());
o.add(buildTargetableRemarketingList());
return o;
}
-checkUnnamed2836(core.List<api.TargetableRemarketingList> o) {
+checkUnnamed2855(core.List<api.TargetableRemarketingList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetableRemarketingList(o[0]);
checkTargetableRemarketingList(o[1]);
@@ -8277,7 +8277,7 @@
if (buildCounterTargetableRemarketingListsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.targetableRemarketingLists = buildUnnamed2836();
+ o.targetableRemarketingLists = buildUnnamed2855();
}
buildCounterTargetableRemarketingListsListResponse--;
return o;
@@ -8289,7 +8289,7 @@
if (buildCounterTargetableRemarketingListsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2836(o.targetableRemarketingLists);
+ checkUnnamed2855(o.targetableRemarketingLists);
}
buildCounterTargetableRemarketingListsListResponse--;
}
@@ -8337,14 +8337,14 @@
buildCounterTargetingTemplate--;
}
-buildUnnamed2837() {
+buildUnnamed2856() {
var o = new core.List<api.TargetingTemplate>();
o.add(buildTargetingTemplate());
o.add(buildTargetingTemplate());
return o;
}
-checkUnnamed2837(core.List<api.TargetingTemplate> o) {
+checkUnnamed2856(core.List<api.TargetingTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingTemplate(o[0]);
checkTargetingTemplate(o[1]);
@@ -8357,7 +8357,7 @@
if (buildCounterTargetingTemplatesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.targetingTemplates = buildUnnamed2837();
+ o.targetingTemplates = buildUnnamed2856();
}
buildCounterTargetingTemplatesListResponse--;
return o;
@@ -8368,84 +8368,84 @@
if (buildCounterTargetingTemplatesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2837(o.targetingTemplates);
+ checkUnnamed2856(o.targetingTemplates);
}
buildCounterTargetingTemplatesListResponse--;
}
-buildUnnamed2838() {
+buildUnnamed2857() {
var o = new core.List<api.Browser>();
o.add(buildBrowser());
o.add(buildBrowser());
return o;
}
-checkUnnamed2838(core.List<api.Browser> o) {
+checkUnnamed2857(core.List<api.Browser> o) {
unittest.expect(o, unittest.hasLength(2));
checkBrowser(o[0]);
checkBrowser(o[1]);
}
-buildUnnamed2839() {
+buildUnnamed2858() {
var o = new core.List<api.ConnectionType>();
o.add(buildConnectionType());
o.add(buildConnectionType());
return o;
}
-checkUnnamed2839(core.List<api.ConnectionType> o) {
+checkUnnamed2858(core.List<api.ConnectionType> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnectionType(o[0]);
checkConnectionType(o[1]);
}
-buildUnnamed2840() {
+buildUnnamed2859() {
var o = new core.List<api.MobileCarrier>();
o.add(buildMobileCarrier());
o.add(buildMobileCarrier());
return o;
}
-checkUnnamed2840(core.List<api.MobileCarrier> o) {
+checkUnnamed2859(core.List<api.MobileCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileCarrier(o[0]);
checkMobileCarrier(o[1]);
}
-buildUnnamed2841() {
+buildUnnamed2860() {
var o = new core.List<api.OperatingSystemVersion>();
o.add(buildOperatingSystemVersion());
o.add(buildOperatingSystemVersion());
return o;
}
-checkUnnamed2841(core.List<api.OperatingSystemVersion> o) {
+checkUnnamed2860(core.List<api.OperatingSystemVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystemVersion(o[0]);
checkOperatingSystemVersion(o[1]);
}
-buildUnnamed2842() {
+buildUnnamed2861() {
var o = new core.List<api.OperatingSystem>();
o.add(buildOperatingSystem());
o.add(buildOperatingSystem());
return o;
}
-checkUnnamed2842(core.List<api.OperatingSystem> o) {
+checkUnnamed2861(core.List<api.OperatingSystem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystem(o[0]);
checkOperatingSystem(o[1]);
}
-buildUnnamed2843() {
+buildUnnamed2862() {
var o = new core.List<api.PlatformType>();
o.add(buildPlatformType());
o.add(buildPlatformType());
return o;
}
-checkUnnamed2843(core.List<api.PlatformType> o) {
+checkUnnamed2862(core.List<api.PlatformType> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlatformType(o[0]);
checkPlatformType(o[1]);
@@ -8456,12 +8456,12 @@
var o = new api.TechnologyTargeting();
buildCounterTechnologyTargeting++;
if (buildCounterTechnologyTargeting < 3) {
- o.browsers = buildUnnamed2838();
- o.connectionTypes = buildUnnamed2839();
- o.mobileCarriers = buildUnnamed2840();
- o.operatingSystemVersions = buildUnnamed2841();
- o.operatingSystems = buildUnnamed2842();
- o.platformTypes = buildUnnamed2843();
+ o.browsers = buildUnnamed2857();
+ o.connectionTypes = buildUnnamed2858();
+ o.mobileCarriers = buildUnnamed2859();
+ o.operatingSystemVersions = buildUnnamed2860();
+ o.operatingSystems = buildUnnamed2861();
+ o.platformTypes = buildUnnamed2862();
}
buildCounterTechnologyTargeting--;
return o;
@@ -8470,12 +8470,12 @@
checkTechnologyTargeting(api.TechnologyTargeting o) {
buildCounterTechnologyTargeting++;
if (buildCounterTechnologyTargeting < 3) {
- checkUnnamed2838(o.browsers);
- checkUnnamed2839(o.connectionTypes);
- checkUnnamed2840(o.mobileCarriers);
- checkUnnamed2841(o.operatingSystemVersions);
- checkUnnamed2842(o.operatingSystems);
- checkUnnamed2843(o.platformTypes);
+ checkUnnamed2857(o.browsers);
+ checkUnnamed2858(o.connectionTypes);
+ checkUnnamed2859(o.mobileCarriers);
+ checkUnnamed2860(o.operatingSystemVersions);
+ checkUnnamed2861(o.operatingSystems);
+ checkUnnamed2862(o.platformTypes);
}
buildCounterTechnologyTargeting--;
}
@@ -8522,14 +8522,14 @@
buildCounterThirdPartyTrackingUrl--;
}
-buildUnnamed2844() {
+buildUnnamed2863() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2844(core.List<core.int> o) {
+checkUnnamed2863(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));
@@ -8540,7 +8540,7 @@
var o = new api.TranscodeSetting();
buildCounterTranscodeSetting++;
if (buildCounterTranscodeSetting < 3) {
- o.enabledVideoFormats = buildUnnamed2844();
+ o.enabledVideoFormats = buildUnnamed2863();
o.kind = "foo";
}
buildCounterTranscodeSetting--;
@@ -8550,7 +8550,7 @@
checkTranscodeSetting(api.TranscodeSetting o) {
buildCounterTranscodeSetting++;
if (buildCounterTranscodeSetting < 3) {
- checkUnnamed2844(o.enabledVideoFormats);
+ checkUnnamed2863(o.enabledVideoFormats);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTranscodeSetting--;
@@ -8633,14 +8633,14 @@
buildCounterUserProfile--;
}
-buildUnnamed2845() {
+buildUnnamed2864() {
var o = new core.List<api.UserProfile>();
o.add(buildUserProfile());
o.add(buildUserProfile());
return o;
}
-checkUnnamed2845(core.List<api.UserProfile> o) {
+checkUnnamed2864(core.List<api.UserProfile> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserProfile(o[0]);
checkUserProfile(o[1]);
@@ -8652,7 +8652,7 @@
buildCounterUserProfileList++;
if (buildCounterUserProfileList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2845();
+ o.items = buildUnnamed2864();
o.kind = "foo";
}
buildCounterUserProfileList--;
@@ -8663,20 +8663,20 @@
buildCounterUserProfileList++;
if (buildCounterUserProfileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2845(o.items);
+ checkUnnamed2864(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterUserProfileList--;
}
-buildUnnamed2846() {
+buildUnnamed2865() {
var o = new core.List<api.UserRolePermission>();
o.add(buildUserRolePermission());
o.add(buildUserRolePermission());
return o;
}
-checkUnnamed2846(core.List<api.UserRolePermission> o) {
+checkUnnamed2865(core.List<api.UserRolePermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermission(o[0]);
checkUserRolePermission(o[1]);
@@ -8693,7 +8693,7 @@
o.kind = "foo";
o.name = "foo";
o.parentUserRoleId = "foo";
- o.permissions = buildUnnamed2846();
+ o.permissions = buildUnnamed2865();
o.subaccountId = "foo";
}
buildCounterUserRole--;
@@ -8709,7 +8709,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentUserRoleId, unittest.equals('foo'));
- checkUnnamed2846(o.permissions);
+ checkUnnamed2865(o.permissions);
unittest.expect(o.subaccountId, unittest.equals('foo'));
}
buildCounterUserRole--;
@@ -8765,14 +8765,14 @@
buildCounterUserRolePermissionGroup--;
}
-buildUnnamed2847() {
+buildUnnamed2866() {
var o = new core.List<api.UserRolePermissionGroup>();
o.add(buildUserRolePermissionGroup());
o.add(buildUserRolePermissionGroup());
return o;
}
-checkUnnamed2847(core.List<api.UserRolePermissionGroup> o) {
+checkUnnamed2866(core.List<api.UserRolePermissionGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermissionGroup(o[0]);
checkUserRolePermissionGroup(o[1]);
@@ -8784,7 +8784,7 @@
buildCounterUserRolePermissionGroupsListResponse++;
if (buildCounterUserRolePermissionGroupsListResponse < 3) {
o.kind = "foo";
- o.userRolePermissionGroups = buildUnnamed2847();
+ o.userRolePermissionGroups = buildUnnamed2866();
}
buildCounterUserRolePermissionGroupsListResponse--;
return o;
@@ -8795,19 +8795,19 @@
buildCounterUserRolePermissionGroupsListResponse++;
if (buildCounterUserRolePermissionGroupsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2847(o.userRolePermissionGroups);
+ checkUnnamed2866(o.userRolePermissionGroups);
}
buildCounterUserRolePermissionGroupsListResponse--;
}
-buildUnnamed2848() {
+buildUnnamed2867() {
var o = new core.List<api.UserRolePermission>();
o.add(buildUserRolePermission());
o.add(buildUserRolePermission());
return o;
}
-checkUnnamed2848(core.List<api.UserRolePermission> o) {
+checkUnnamed2867(core.List<api.UserRolePermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermission(o[0]);
checkUserRolePermission(o[1]);
@@ -8819,7 +8819,7 @@
buildCounterUserRolePermissionsListResponse++;
if (buildCounterUserRolePermissionsListResponse < 3) {
o.kind = "foo";
- o.userRolePermissions = buildUnnamed2848();
+ o.userRolePermissions = buildUnnamed2867();
}
buildCounterUserRolePermissionsListResponse--;
return o;
@@ -8829,19 +8829,19 @@
buildCounterUserRolePermissionsListResponse++;
if (buildCounterUserRolePermissionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2848(o.userRolePermissions);
+ checkUnnamed2867(o.userRolePermissions);
}
buildCounterUserRolePermissionsListResponse--;
}
-buildUnnamed2849() {
+buildUnnamed2868() {
var o = new core.List<api.UserRole>();
o.add(buildUserRole());
o.add(buildUserRole());
return o;
}
-checkUnnamed2849(core.List<api.UserRole> o) {
+checkUnnamed2868(core.List<api.UserRole> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRole(o[0]);
checkUserRole(o[1]);
@@ -8854,7 +8854,7 @@
if (buildCounterUserRolesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.userRoles = buildUnnamed2849();
+ o.userRoles = buildUnnamed2868();
}
buildCounterUserRolesListResponse--;
return o;
@@ -8865,7 +8865,7 @@
if (buildCounterUserRolesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2849(o.userRoles);
+ checkUnnamed2868(o.userRoles);
}
buildCounterUserRolesListResponse--;
}
@@ -8897,14 +8897,14 @@
buildCounterVideoFormat--;
}
-buildUnnamed2850() {
+buildUnnamed2869() {
var o = new core.List<api.VideoFormat>();
o.add(buildVideoFormat());
o.add(buildVideoFormat());
return o;
}
-checkUnnamed2850(core.List<api.VideoFormat> o) {
+checkUnnamed2869(core.List<api.VideoFormat> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFormat(o[0]);
checkVideoFormat(o[1]);
@@ -8916,7 +8916,7 @@
buildCounterVideoFormatsListResponse++;
if (buildCounterVideoFormatsListResponse < 3) {
o.kind = "foo";
- o.videoFormats = buildUnnamed2850();
+ o.videoFormats = buildUnnamed2869();
}
buildCounterVideoFormatsListResponse--;
return o;
@@ -8926,7 +8926,7 @@
buildCounterVideoFormatsListResponse++;
if (buildCounterVideoFormatsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2850(o.videoFormats);
+ checkUnnamed2869(o.videoFormats);
}
buildCounterVideoFormatsListResponse--;
}
@@ -8979,253 +8979,6 @@
buildCounterVideoSettings--;
}
-buildUnnamed2851() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2851(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2852() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2852(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2853() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-buildUnnamed2854() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2854(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2855() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2855(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2856() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-buildUnnamed2857() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2857(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2858() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2858(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2859() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2859(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2860() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2860(core.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() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-buildUnnamed2862() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2862(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2863() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2863(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2864() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-buildUnnamed2865() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2865(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2866() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2866(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2867() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2867(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2868() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2868(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2869() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2869(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed2870() {
var o = new core.List<core.String>();
o.add("foo");
@@ -10149,6 +9902,253 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed2941() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2941(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2942() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2942(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2943() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2943(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2944() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2944(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2945() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2945(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2946() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2946(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2947() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2947(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2948() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2948(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2949() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2949(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2950() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2950(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2951() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2951(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2952() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2952(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2953() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2953(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2954() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2954(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2955() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2955(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2956() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2956(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2957() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2957(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2958() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2958(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2959() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2959(core.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", () {
@@ -12404,7 +12404,7 @@
new api.DfareportingApi(mock).accountUserProfiles;
var arg_profileId = "foo";
var arg_active = true;
- var arg_ids = buildUnnamed2851();
+ var arg_ids = buildUnnamed2870();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -12707,7 +12707,7 @@
api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts;
var arg_profileId = "foo";
var arg_active = true;
- var arg_ids = buildUnnamed2852();
+ var arg_ids = buildUnnamed2871();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -13067,26 +13067,26 @@
var arg_active = true;
var arg_advertiserId = "foo";
var arg_archived = true;
- var arg_audienceSegmentIds = buildUnnamed2853();
- var arg_campaignIds = buildUnnamed2854();
+ var arg_audienceSegmentIds = buildUnnamed2872();
+ var arg_campaignIds = buildUnnamed2873();
var arg_compatibility = "foo";
- var arg_creativeIds = buildUnnamed2855();
- var arg_creativeOptimizationConfigurationIds = buildUnnamed2856();
+ var arg_creativeIds = buildUnnamed2874();
+ var arg_creativeOptimizationConfigurationIds = buildUnnamed2875();
var arg_dynamicClickTracker = true;
- var arg_ids = buildUnnamed2857();
- var arg_landingPageIds = buildUnnamed2858();
+ var arg_ids = buildUnnamed2876();
+ var arg_landingPageIds = buildUnnamed2877();
var arg_maxResults = 42;
var arg_overriddenEventTagId = "foo";
var arg_pageToken = "foo";
- var arg_placementIds = buildUnnamed2859();
- var arg_remarketingListIds = buildUnnamed2860();
+ var arg_placementIds = buildUnnamed2878();
+ var arg_remarketingListIds = buildUnnamed2879();
var arg_searchString = "foo";
- var arg_sizeIds = buildUnnamed2861();
+ var arg_sizeIds = buildUnnamed2880();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_sslCompliant = true;
var arg_sslRequired = true;
- var arg_type = buildUnnamed2862();
+ var arg_type = buildUnnamed2881();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -13553,7 +13553,7 @@
api.AdvertiserGroupsResourceApi res =
new api.DfareportingApi(mock).advertiserGroups;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2863();
+ var arg_ids = buildUnnamed2882();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -13913,9 +13913,9 @@
api.AdvertiserLandingPagesResourceApi res =
new api.DfareportingApi(mock).advertiserLandingPages;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2864();
+ var arg_advertiserIds = buildUnnamed2883();
var arg_archived = true;
- var arg_ids = buildUnnamed2865();
+ var arg_ids = buildUnnamed2884();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -14286,9 +14286,9 @@
api.AdvertisersResourceApi res =
new api.DfareportingApi(mock).advertisers;
var arg_profileId = "foo";
- var arg_advertiserGroupIds = buildUnnamed2866();
- var arg_floodlightConfigurationIds = buildUnnamed2867();
- var arg_ids = buildUnnamed2868();
+ var arg_advertiserGroupIds = buildUnnamed2885();
+ var arg_floodlightConfigurationIds = buildUnnamed2886();
+ var arg_ids = buildUnnamed2887();
var arg_includeAdvertisersWithoutGroupsOnly = true;
var arg_maxResults = 42;
var arg_onlyParent = true;
@@ -14899,12 +14899,12 @@
var mock = new HttpServerMock();
api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns;
var arg_profileId = "foo";
- var arg_advertiserGroupIds = buildUnnamed2869();
- var arg_advertiserIds = buildUnnamed2870();
+ var arg_advertiserGroupIds = buildUnnamed2888();
+ var arg_advertiserIds = buildUnnamed2889();
var arg_archived = true;
var arg_atLeastOneOptimizationActivity = true;
- var arg_excludedIds = buildUnnamed2871();
- var arg_ids = buildUnnamed2872();
+ var arg_excludedIds = buildUnnamed2890();
+ var arg_ids = buildUnnamed2891();
var arg_maxResults = 42;
var arg_overriddenEventTagId = "foo";
var arg_pageToken = "foo";
@@ -15217,15 +15217,15 @@
api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs;
var arg_profileId = "foo";
var arg_action = "foo";
- var arg_ids = buildUnnamed2873();
+ var arg_ids = buildUnnamed2892();
var arg_maxChangeTime = "foo";
var arg_maxResults = 42;
var arg_minChangeTime = "foo";
- var arg_objectIds = buildUnnamed2874();
+ var arg_objectIds = buildUnnamed2893();
var arg_objectType = "foo";
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_userProfileIds = buildUnnamed2875();
+ var arg_userProfileIds = buildUnnamed2894();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -15318,10 +15318,10 @@
var mock = new HttpServerMock();
api.CitiesResourceApi res = new api.DfareportingApi(mock).cities;
var arg_profileId = "foo";
- var arg_countryDartIds = buildUnnamed2876();
- var arg_dartIds = buildUnnamed2877();
+ var arg_countryDartIds = buildUnnamed2895();
+ var arg_dartIds = buildUnnamed2896();
var arg_namePrefix = "foo";
- var arg_regionDartIds = buildUnnamed2878();
+ var arg_regionDartIds = buildUnnamed2897();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -15729,7 +15729,7 @@
api.ContentCategoriesResourceApi res =
new api.DfareportingApi(mock).contentCategories;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2879();
+ var arg_ids = buildUnnamed2898();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -16534,7 +16534,7 @@
new api.DfareportingApi(mock).creativeFieldValues;
var arg_profileId = "foo";
var arg_creativeFieldId = "foo";
- var arg_ids = buildUnnamed2880();
+ var arg_ids = buildUnnamed2899();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -16990,8 +16990,8 @@
api.CreativeFieldsResourceApi res =
new api.DfareportingApi(mock).creativeFields;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2881();
- var arg_ids = buildUnnamed2882();
+ var arg_advertiserIds = buildUnnamed2900();
+ var arg_ids = buildUnnamed2901();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -17354,9 +17354,9 @@
api.CreativeGroupsResourceApi res =
new api.DfareportingApi(mock).creativeGroups;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2883();
+ var arg_advertiserIds = buildUnnamed2902();
var arg_groupNumber = 42;
- var arg_ids = buildUnnamed2884();
+ var arg_ids = buildUnnamed2903();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -17723,18 +17723,18 @@
var arg_advertiserId = "foo";
var arg_archived = true;
var arg_campaignId = "foo";
- var arg_companionCreativeIds = buildUnnamed2885();
- var arg_creativeFieldIds = buildUnnamed2886();
- var arg_ids = buildUnnamed2887();
+ var arg_companionCreativeIds = buildUnnamed2904();
+ var arg_creativeFieldIds = buildUnnamed2905();
+ var arg_ids = buildUnnamed2906();
var arg_maxResults = 42;
var arg_pageToken = "foo";
- var arg_renderingIds = buildUnnamed2888();
+ var arg_renderingIds = buildUnnamed2907();
var arg_searchString = "foo";
- var arg_sizeIds = buildUnnamed2889();
+ var arg_sizeIds = buildUnnamed2908();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_studioCreativeId = "foo";
- var arg_types = buildUnnamed2890();
+ var arg_types = buildUnnamed2909();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -18125,8 +18125,8 @@
api.DirectorySiteContactsResourceApi res =
new api.DfareportingApi(mock).directorySiteContacts;
var arg_profileId = "foo";
- var arg_directorySiteIds = buildUnnamed2891();
- var arg_ids = buildUnnamed2892();
+ var arg_directorySiteIds = buildUnnamed2910();
+ var arg_ids = buildUnnamed2911();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -18360,7 +18360,7 @@
var arg_active = true;
var arg_countryId = "foo";
var arg_dfpNetworkCode = "foo";
- var arg_ids = buildUnnamed2893();
+ var arg_ids = buildUnnamed2912();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_parentId = "foo";
@@ -18613,7 +18613,7 @@
new api.DfareportingApi(mock).dynamicTargetingKeys;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_names = buildUnnamed2894();
+ var arg_names = buildUnnamed2913();
var arg_objectId = "foo";
var arg_objectType = "foo";
var arg_$fields = "foo";
@@ -18894,8 +18894,8 @@
var arg_campaignId = "foo";
var arg_definitionsOnly = true;
var arg_enabled = true;
- var arg_eventTagTypes = buildUnnamed2895();
- var arg_ids = buildUnnamed2896();
+ var arg_eventTagTypes = buildUnnamed2914();
+ var arg_ids = buildUnnamed2915();
var arg_searchString = "foo";
var arg_sortField = "foo";
var arg_sortOrder = "foo";
@@ -19550,12 +19550,12 @@
new api.DfareportingApi(mock).floodlightActivities;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_floodlightActivityGroupIds = buildUnnamed2897();
+ var arg_floodlightActivityGroupIds = buildUnnamed2916();
var arg_floodlightActivityGroupName = "foo";
var arg_floodlightActivityGroupTagString = "foo";
var arg_floodlightActivityGroupType = "foo";
var arg_floodlightConfigurationId = "foo";
- var arg_ids = buildUnnamed2898();
+ var arg_ids = buildUnnamed2917();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -19940,7 +19940,7 @@
var arg_profileId = "foo";
var arg_advertiserId = "foo";
var arg_floodlightConfigurationId = "foo";
- var arg_ids = buildUnnamed2899();
+ var arg_ids = buildUnnamed2918();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -20243,7 +20243,7 @@
api.FloodlightConfigurationsResourceApi res =
new api.DfareportingApi(mock).floodlightConfigurations;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2900();
+ var arg_ids = buildUnnamed2919();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -20524,12 +20524,12 @@
new api.DfareportingApi(mock).inventoryItems;
var arg_profileId = "foo";
var arg_projectId = "foo";
- var arg_ids = buildUnnamed2901();
+ var arg_ids = buildUnnamed2920();
var arg_inPlan = true;
var arg_maxResults = 42;
- var arg_orderId = buildUnnamed2902();
+ var arg_orderId = buildUnnamed2921();
var arg_pageToken = "foo";
- var arg_siteId = buildUnnamed2903();
+ var arg_siteId = buildUnnamed2922();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_type = "foo";
@@ -21233,12 +21233,12 @@
var arg_profileId = "foo";
var arg_projectId = "foo";
var arg_approved = true;
- var arg_ids = buildUnnamed2904();
+ var arg_ids = buildUnnamed2923();
var arg_maxResults = 42;
- var arg_orderId = buildUnnamed2905();
+ var arg_orderId = buildUnnamed2924();
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_siteId = buildUnnamed2906();
+ var arg_siteId = buildUnnamed2925();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_$fields = "foo";
@@ -21417,11 +21417,11 @@
api.OrdersResourceApi res = new api.DfareportingApi(mock).orders;
var arg_profileId = "foo";
var arg_projectId = "foo";
- var arg_ids = buildUnnamed2907();
+ var arg_ids = buildUnnamed2926();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_siteId = buildUnnamed2908();
+ var arg_siteId = buildUnnamed2927();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_$fields = "foo";
@@ -21652,12 +21652,12 @@
api.PlacementGroupsResourceApi res =
new api.DfareportingApi(mock).placementGroups;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2909();
+ var arg_advertiserIds = buildUnnamed2928();
var arg_archived = true;
- var arg_campaignIds = buildUnnamed2910();
- var arg_contentCategoryIds = buildUnnamed2911();
- var arg_directorySiteIds = buildUnnamed2912();
- var arg_ids = buildUnnamed2913();
+ var arg_campaignIds = buildUnnamed2929();
+ var arg_contentCategoryIds = buildUnnamed2930();
+ var arg_directorySiteIds = buildUnnamed2931();
+ var arg_ids = buildUnnamed2932();
var arg_maxEndDate = "foo";
var arg_maxResults = 42;
var arg_maxStartDate = "foo";
@@ -21665,10 +21665,10 @@
var arg_minStartDate = "foo";
var arg_pageToken = "foo";
var arg_placementGroupType = "foo";
- var arg_placementStrategyIds = buildUnnamed2914();
- var arg_pricingTypes = buildUnnamed2915();
+ var arg_placementStrategyIds = buildUnnamed2933();
+ var arg_pricingTypes = buildUnnamed2934();
var arg_searchString = "foo";
- var arg_siteIds = buildUnnamed2916();
+ var arg_siteIds = buildUnnamed2935();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_$fields = "foo";
@@ -22128,7 +22128,7 @@
api.PlacementStrategiesResourceApi res =
new api.DfareportingApi(mock).placementStrategies;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2917();
+ var arg_ids = buildUnnamed2936();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -22354,8 +22354,8 @@
api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
var arg_profileId = "foo";
var arg_campaignId = "foo";
- var arg_placementIds = buildUnnamed2918();
- var arg_tagFormats = buildUnnamed2919();
+ var arg_placementIds = buildUnnamed2937();
+ var arg_tagFormats = buildUnnamed2938();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -22561,14 +22561,14 @@
var mock = new HttpServerMock();
api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2920();
+ var arg_advertiserIds = buildUnnamed2939();
var arg_archived = true;
- var arg_campaignIds = buildUnnamed2921();
- var arg_compatibilities = buildUnnamed2922();
- var arg_contentCategoryIds = buildUnnamed2923();
- var arg_directorySiteIds = buildUnnamed2924();
- var arg_groupIds = buildUnnamed2925();
- var arg_ids = buildUnnamed2926();
+ var arg_campaignIds = buildUnnamed2940();
+ var arg_compatibilities = buildUnnamed2941();
+ var arg_contentCategoryIds = buildUnnamed2942();
+ var arg_directorySiteIds = buildUnnamed2943();
+ var arg_groupIds = buildUnnamed2944();
+ var arg_ids = buildUnnamed2945();
var arg_maxEndDate = "foo";
var arg_maxResults = 42;
var arg_maxStartDate = "foo";
@@ -22576,11 +22576,11 @@
var arg_minStartDate = "foo";
var arg_pageToken = "foo";
var arg_paymentSource = "foo";
- var arg_placementStrategyIds = buildUnnamed2927();
- var arg_pricingTypes = buildUnnamed2928();
+ var arg_placementStrategyIds = buildUnnamed2946();
+ var arg_pricingTypes = buildUnnamed2947();
var arg_searchString = "foo";
- var arg_siteIds = buildUnnamed2929();
- var arg_sizeIds = buildUnnamed2930();
+ var arg_siteIds = buildUnnamed2948();
+ var arg_sizeIds = buildUnnamed2949();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_$fields = "foo";
@@ -23173,8 +23173,8 @@
var mock = new HttpServerMock();
api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed2931();
- var arg_ids = buildUnnamed2932();
+ var arg_advertiserIds = buildUnnamed2950();
+ var arg_ids = buildUnnamed2951();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -24778,9 +24778,9 @@
var arg_acceptsPublisherPaidPlacements = true;
var arg_adWordsSite = true;
var arg_approved = true;
- var arg_campaignIds = buildUnnamed2933();
- var arg_directorySiteIds = buildUnnamed2934();
- var arg_ids = buildUnnamed2935();
+ var arg_campaignIds = buildUnnamed2952();
+ var arg_directorySiteIds = buildUnnamed2953();
+ var arg_ids = buildUnnamed2954();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -25167,7 +25167,7 @@
var arg_profileId = "foo";
var arg_height = 42;
var arg_iabStandard = true;
- var arg_ids = buildUnnamed2936();
+ var arg_ids = buildUnnamed2955();
var arg_width = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -25380,7 +25380,7 @@
api.SubaccountsResourceApi res =
new api.DfareportingApi(mock).subaccounts;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2937();
+ var arg_ids = buildUnnamed2956();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -25900,7 +25900,7 @@
new api.DfareportingApi(mock).targetingTemplates;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_ids = buildUnnamed2938();
+ var arg_ids = buildUnnamed2957();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -26440,7 +26440,7 @@
api.UserRolePermissionsResourceApi res =
new api.DfareportingApi(mock).userRolePermissions;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed2939();
+ var arg_ids = buildUnnamed2958();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -26702,7 +26702,7 @@
api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
var arg_profileId = "foo";
var arg_accountUserRoleOnly = true;
- var arg_ids = buildUnnamed2940();
+ var arg_ids = buildUnnamed2959();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
diff --git a/generated/googleapis/test/dns/v1_test.dart b/generated/googleapis/test/dns/v1_test.dart
index f7a2f69..1cf13dd 100644
--- a/generated/googleapis/test/dns/v1_test.dart
+++ b/generated/googleapis/test/dns/v1_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed829() {
+buildUnnamed836() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed829(core.List<api.ResourceRecordSet> o) {
+checkUnnamed836(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
}
-buildUnnamed830() {
+buildUnnamed837() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed830(core.List<api.ResourceRecordSet> o) {
+checkUnnamed837(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
@@ -81,8 +81,8 @@
var o = new api.Change();
buildCounterChange++;
if (buildCounterChange < 3) {
- o.additions = buildUnnamed829();
- o.deletions = buildUnnamed830();
+ o.additions = buildUnnamed836();
+ o.deletions = buildUnnamed837();
o.id = "foo";
o.kind = "foo";
o.startTime = "foo";
@@ -95,8 +95,8 @@
checkChange(api.Change o) {
buildCounterChange++;
if (buildCounterChange < 3) {
- checkUnnamed829(o.additions);
- checkUnnamed830(o.deletions);
+ checkUnnamed836(o.additions);
+ checkUnnamed837(o.deletions);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
@@ -105,14 +105,14 @@
buildCounterChange--;
}
-buildUnnamed831() {
+buildUnnamed838() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed831(core.List<api.Change> o) {
+checkUnnamed838(core.List<api.Change> o) {
unittest.expect(o, unittest.hasLength(2));
checkChange(o[0]);
checkChange(o[1]);
@@ -123,7 +123,7 @@
var o = new api.ChangesListResponse();
buildCounterChangesListResponse++;
if (buildCounterChangesListResponse < 3) {
- o.changes = buildUnnamed831();
+ o.changes = buildUnnamed838();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -134,21 +134,21 @@
checkChangesListResponse(api.ChangesListResponse o) {
buildCounterChangesListResponse++;
if (buildCounterChangesListResponse < 3) {
- checkUnnamed831(o.changes);
+ checkUnnamed838(o.changes);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterChangesListResponse--;
}
-buildUnnamed832() {
+buildUnnamed839() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed832(core.List<core.String> o) {
+checkUnnamed839(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -166,7 +166,7 @@
o.kind = "foo";
o.name = "foo";
o.nameServerSet = "foo";
- o.nameServers = buildUnnamed832();
+ o.nameServers = buildUnnamed839();
}
buildCounterManagedZone--;
return o;
@@ -182,19 +182,19 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nameServerSet, unittest.equals('foo'));
- checkUnnamed832(o.nameServers);
+ checkUnnamed839(o.nameServers);
}
buildCounterManagedZone--;
}
-buildUnnamed833() {
+buildUnnamed840() {
var o = new core.List<api.ManagedZone>();
o.add(buildManagedZone());
o.add(buildManagedZone());
return o;
}
-checkUnnamed833(core.List<api.ManagedZone> o) {
+checkUnnamed840(core.List<api.ManagedZone> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedZone(o[0]);
checkManagedZone(o[1]);
@@ -206,7 +206,7 @@
buildCounterManagedZonesListResponse++;
if (buildCounterManagedZonesListResponse < 3) {
o.kind = "foo";
- o.managedZones = buildUnnamed833();
+ o.managedZones = buildUnnamed840();
o.nextPageToken = "foo";
}
buildCounterManagedZonesListResponse--;
@@ -217,7 +217,7 @@
buildCounterManagedZonesListResponse++;
if (buildCounterManagedZonesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed833(o.managedZones);
+ checkUnnamed840(o.managedZones);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterManagedZonesListResponse--;
@@ -279,14 +279,14 @@
buildCounterQuota--;
}
-buildUnnamed834() {
+buildUnnamed841() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed834(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'));
@@ -299,7 +299,7 @@
if (buildCounterResourceRecordSet < 3) {
o.kind = "foo";
o.name = "foo";
- o.rrdatas = buildUnnamed834();
+ o.rrdatas = buildUnnamed841();
o.ttl = 42;
o.type = "foo";
}
@@ -312,21 +312,21 @@
if (buildCounterResourceRecordSet < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed834(o.rrdatas);
+ checkUnnamed841(o.rrdatas);
unittest.expect(o.ttl, unittest.equals(42));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterResourceRecordSet--;
}
-buildUnnamed835() {
+buildUnnamed842() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed835(core.List<api.ResourceRecordSet> o) {
+checkUnnamed842(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
@@ -339,7 +339,7 @@
if (buildCounterResourceRecordSetsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.rrsets = buildUnnamed835();
+ o.rrsets = buildUnnamed842();
}
buildCounterResourceRecordSetsListResponse--;
return o;
@@ -350,7 +350,7 @@
if (buildCounterResourceRecordSetsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed835(o.rrsets);
+ checkUnnamed842(o.rrsets);
}
buildCounterResourceRecordSetsListResponse--;
}
diff --git a/generated/googleapis/test/doubleclickbidmanager/v1_test.dart b/generated/googleapis/test/doubleclickbidmanager/v1_test.dart
index f2fe83f..7592b0f 100644
--- a/generated/googleapis/test/doubleclickbidmanager/v1_test.dart
+++ b/generated/googleapis/test/doubleclickbidmanager/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1294() {
+buildUnnamed1301() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1294(core.List<core.String> o) {
+checkUnnamed1301(core.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 @@
buildCounterDownloadLineItemsRequest++;
if (buildCounterDownloadLineItemsRequest < 3) {
o.fileSpec = "foo";
- o.filterIds = buildUnnamed1294();
+ o.filterIds = buildUnnamed1301();
o.filterType = "foo";
o.format = "foo";
}
@@ -81,7 +81,7 @@
buildCounterDownloadLineItemsRequest++;
if (buildCounterDownloadLineItemsRequest < 3) {
unittest.expect(o.fileSpec, unittest.equals('foo'));
- checkUnnamed1294(o.filterIds);
+ checkUnnamed1301(o.filterIds);
unittest.expect(o.filterType, unittest.equals('foo'));
unittest.expect(o.format, unittest.equals('foo'));
}
@@ -107,27 +107,27 @@
buildCounterDownloadLineItemsResponse--;
}
-buildUnnamed1295() {
+buildUnnamed1302() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1295(core.List<core.String> o) {
+checkUnnamed1302(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1296() {
+buildUnnamed1303() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1296(core.List<core.String> o) {
+checkUnnamed1303(core.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,8 +138,8 @@
var o = new api.DownloadRequest();
buildCounterDownloadRequest++;
if (buildCounterDownloadRequest < 3) {
- o.fileTypes = buildUnnamed1295();
- o.filterIds = buildUnnamed1296();
+ o.fileTypes = buildUnnamed1302();
+ o.filterIds = buildUnnamed1303();
o.filterType = "foo";
o.version = "foo";
}
@@ -150,8 +150,8 @@
checkDownloadRequest(api.DownloadRequest o) {
buildCounterDownloadRequest++;
if (buildCounterDownloadRequest < 3) {
- checkUnnamed1295(o.fileTypes);
- checkUnnamed1296(o.filterIds);
+ checkUnnamed1302(o.fileTypes);
+ checkUnnamed1303(o.filterIds);
unittest.expect(o.filterType, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
}
@@ -204,14 +204,14 @@
buildCounterFilterPair--;
}
-buildUnnamed1297() {
+buildUnnamed1304() {
var o = new core.List<api.Query>();
o.add(buildQuery());
o.add(buildQuery());
return o;
}
-checkUnnamed1297(core.List<api.Query> o) {
+checkUnnamed1304(core.List<api.Query> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuery(o[0]);
checkQuery(o[1]);
@@ -223,7 +223,7 @@
buildCounterListQueriesResponse++;
if (buildCounterListQueriesResponse < 3) {
o.kind = "foo";
- o.queries = buildUnnamed1297();
+ o.queries = buildUnnamed1304();
}
buildCounterListQueriesResponse--;
return o;
@@ -233,19 +233,19 @@
buildCounterListQueriesResponse++;
if (buildCounterListQueriesResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1297(o.queries);
+ checkUnnamed1304(o.queries);
}
buildCounterListQueriesResponse--;
}
-buildUnnamed1298() {
+buildUnnamed1305() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed1298(core.List<api.Report> o) {
+checkUnnamed1305(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -257,7 +257,7 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
o.kind = "foo";
- o.reports = buildUnnamed1298();
+ o.reports = buildUnnamed1305();
}
buildCounterListReportsResponse--;
return o;
@@ -267,45 +267,45 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1298(o.reports);
+ checkUnnamed1305(o.reports);
}
buildCounterListReportsResponse--;
}
-buildUnnamed1299() {
+buildUnnamed1306() {
var o = new core.List<api.FilterPair>();
o.add(buildFilterPair());
o.add(buildFilterPair());
return o;
}
-checkUnnamed1299(core.List<api.FilterPair> o) {
+checkUnnamed1306(core.List<api.FilterPair> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilterPair(o[0]);
checkFilterPair(o[1]);
}
-buildUnnamed1300() {
+buildUnnamed1307() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1300(core.List<core.String> o) {
+checkUnnamed1307(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1301() {
+buildUnnamed1308() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1301(core.List<core.String> o) {
+checkUnnamed1308(core.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,10 +316,10 @@
var o = new api.Parameters();
buildCounterParameters++;
if (buildCounterParameters < 3) {
- o.filters = buildUnnamed1299();
- o.groupBys = buildUnnamed1300();
+ o.filters = buildUnnamed1306();
+ o.groupBys = buildUnnamed1307();
o.includeInviteData = true;
- o.metrics = buildUnnamed1301();
+ o.metrics = buildUnnamed1308();
o.type = "foo";
}
buildCounterParameters--;
@@ -329,10 +329,10 @@
checkParameters(api.Parameters o) {
buildCounterParameters++;
if (buildCounterParameters < 3) {
- checkUnnamed1299(o.filters);
- checkUnnamed1300(o.groupBys);
+ checkUnnamed1306(o.filters);
+ checkUnnamed1307(o.groupBys);
unittest.expect(o.includeInviteData, unittest.isTrue);
- checkUnnamed1301(o.metrics);
+ checkUnnamed1308(o.metrics);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterParameters--;
@@ -371,14 +371,14 @@
buildCounterQuery--;
}
-buildUnnamed1302() {
+buildUnnamed1309() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1302(core.List<core.String> 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'));
@@ -398,7 +398,7 @@
o.reportCount = 42;
o.running = true;
o.sendNotification = true;
- o.shareEmailAddress = buildUnnamed1302();
+ o.shareEmailAddress = buildUnnamed1309();
o.title = "foo";
}
buildCounterQueryMetadata--;
@@ -418,7 +418,7 @@
unittest.expect(o.reportCount, unittest.equals(42));
unittest.expect(o.running, unittest.isTrue);
unittest.expect(o.sendNotification, unittest.isTrue);
- checkUnnamed1302(o.shareEmailAddress);
+ checkUnnamed1309(o.shareEmailAddress);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterQueryMetadata--;
@@ -562,14 +562,14 @@
buildCounterReportStatus--;
}
-buildUnnamed1303() {
+buildUnnamed1310() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1303(core.List<core.String> o) {
+checkUnnamed1310(core.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.changed = true;
o.entityId = "foo";
o.entityName = "foo";
- o.errors = buildUnnamed1303();
+ o.errors = buildUnnamed1310();
o.persisted = true;
o.rowNumber = 42;
}
@@ -597,7 +597,7 @@
unittest.expect(o.changed, unittest.isTrue);
unittest.expect(o.entityId, unittest.equals('foo'));
unittest.expect(o.entityName, unittest.equals('foo'));
- checkUnnamed1303(o.errors);
+ checkUnnamed1310(o.errors);
unittest.expect(o.persisted, unittest.isTrue);
unittest.expect(o.rowNumber, unittest.equals(42));
}
@@ -671,27 +671,27 @@
buildCounterUploadLineItemsResponse--;
}
-buildUnnamed1304() {
+buildUnnamed1311() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1304(core.List<core.String> o) {
+checkUnnamed1311(core.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() {
+buildUnnamed1312() {
var o = new core.List<api.RowStatus>();
o.add(buildRowStatus());
o.add(buildRowStatus());
return o;
}
-checkUnnamed1305(core.List<api.RowStatus> o) {
+checkUnnamed1312(core.List<api.RowStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRowStatus(o[0]);
checkRowStatus(o[1]);
@@ -702,8 +702,8 @@
var o = new api.UploadStatus();
buildCounterUploadStatus++;
if (buildCounterUploadStatus < 3) {
- o.errors = buildUnnamed1304();
- o.rowStatus = buildUnnamed1305();
+ o.errors = buildUnnamed1311();
+ o.rowStatus = buildUnnamed1312();
}
buildCounterUploadStatus--;
return o;
@@ -712,8 +712,8 @@
checkUploadStatus(api.UploadStatus o) {
buildCounterUploadStatus++;
if (buildCounterUploadStatus < 3) {
- checkUnnamed1304(o.errors);
- checkUnnamed1305(o.rowStatus);
+ checkUnnamed1311(o.errors);
+ checkUnnamed1312(o.rowStatus);
}
buildCounterUploadStatus--;
}
diff --git a/generated/googleapis/test/doubleclicksearch/v2_test.dart b/generated/googleapis/test/doubleclicksearch/v2_test.dart
index 3863fb5..5268756 100644
--- a/generated/googleapis/test/doubleclicksearch/v2_test.dart
+++ b/generated/googleapis/test/doubleclicksearch/v2_test.dart
@@ -79,27 +79,27 @@
buildCounterAvailability--;
}
-buildUnnamed1476() {
+buildUnnamed1485() {
var o = new core.List<api.CustomDimension>();
o.add(buildCustomDimension());
o.add(buildCustomDimension());
return o;
}
-checkUnnamed1476(core.List<api.CustomDimension> o) {
+checkUnnamed1485(core.List<api.CustomDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDimension(o[0]);
checkCustomDimension(o[1]);
}
-buildUnnamed1477() {
+buildUnnamed1486() {
var o = new core.List<api.CustomMetric>();
o.add(buildCustomMetric());
o.add(buildCustomMetric());
return o;
}
-checkUnnamed1477(core.List<api.CustomMetric> o) {
+checkUnnamed1486(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 = buildUnnamed1476();
- o.customMetric = buildUnnamed1477();
+ o.customDimension = buildUnnamed1485();
+ o.customMetric = buildUnnamed1486();
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'));
- checkUnnamed1476(o.customDimension);
- checkUnnamed1477(o.customMetric);
+ checkUnnamed1485(o.customDimension);
+ checkUnnamed1486(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--;
}
-buildUnnamed1478() {
+buildUnnamed1487() {
var o = new core.List<api.Conversion>();
o.add(buildConversion());
o.add(buildConversion());
return o;
}
-checkUnnamed1478(core.List<api.Conversion> o) {
+checkUnnamed1487(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 = buildUnnamed1478();
+ o.conversion = buildUnnamed1487();
o.kind = "foo";
}
buildCounterConversionList--;
@@ -216,7 +216,7 @@
checkConversionList(api.ConversionList o) {
buildCounterConversionList++;
if (buildCounterConversionList < 3) {
- checkUnnamed1478(o.conversion);
+ checkUnnamed1487(o.conversion);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionList--;
@@ -285,27 +285,27 @@
buildCounterReportFiles--;
}
-buildUnnamed1479() {
+buildUnnamed1488() {
var o = new core.List<api.ReportFiles>();
o.add(buildReportFiles());
o.add(buildReportFiles());
return o;
}
-checkUnnamed1479(core.List<api.ReportFiles> o) {
+checkUnnamed1488(core.List<api.ReportFiles> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportFiles(o[0]);
checkReportFiles(o[1]);
}
-buildUnnamed1480() {
+buildUnnamed1489() {
var o = new core.List<api.ReportRow>();
o.add(buildReportRow());
o.add(buildReportRow());
return o;
}
-checkUnnamed1480(core.List<api.ReportRow> o) {
+checkUnnamed1489(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 = buildUnnamed1479();
+ o.files = buildUnnamed1488();
o.id = "foo";
o.isReportReady = true;
o.kind = "foo";
o.request = buildReportRequest();
o.rowCount = 42;
- o.rows = buildUnnamed1480();
+ o.rows = buildUnnamed1489();
o.statisticsCurrencyCode = "foo";
o.statisticsTimeZone = "foo";
}
@@ -333,13 +333,13 @@
checkReport(api.Report o) {
buildCounterReport++;
if (buildCounterReport < 3) {
- checkUnnamed1479(o.files);
+ checkUnnamed1488(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));
- checkUnnamed1480(o.rows);
+ checkUnnamed1489(o.rows);
unittest.expect(o.statisticsCurrencyCode, unittest.equals('foo'));
unittest.expect(o.statisticsTimeZone, unittest.equals('foo'));
}
@@ -383,20 +383,20 @@
buildCounterReportApiColumnSpec--;
}
-buildUnnamed1481() {
+buildUnnamed1490() {
var o = new core.List<api.ReportApiColumnSpec>();
o.add(buildReportApiColumnSpec());
o.add(buildReportApiColumnSpec());
return o;
}
-checkUnnamed1481(core.List<api.ReportApiColumnSpec> o) {
+checkUnnamed1490(core.List<api.ReportApiColumnSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportApiColumnSpec(o[0]);
checkReportApiColumnSpec(o[1]);
}
-buildUnnamed1482() {
+buildUnnamed1491() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -411,7 +411,7 @@
return o;
}
-checkUnnamed1482(core.List<core.Object> o) {
+checkUnnamed1491(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 = buildUnnamed1482();
+ o.values = buildUnnamed1491();
}
buildCounterReportRequestFilters--;
return o;
@@ -443,19 +443,19 @@
if (buildCounterReportRequestFilters < 3) {
checkReportApiColumnSpec(o.column);
unittest.expect(o.operator, unittest.equals('foo'));
- checkUnnamed1482(o.values);
+ checkUnnamed1491(o.values);
}
buildCounterReportRequestFilters--;
}
-buildUnnamed1483() {
+buildUnnamed1492() {
var o = new core.List<api.ReportRequestFilters>();
o.add(buildReportRequestFilters());
o.add(buildReportRequestFilters());
return o;
}
-checkUnnamed1483(core.List<api.ReportRequestFilters> o) {
+checkUnnamed1492(core.List<api.ReportRequestFilters> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRequestFilters(o[0]);
checkReportRequestFilters(o[1]);
@@ -482,14 +482,14 @@
buildCounterReportRequestOrderBy--;
}
-buildUnnamed1484() {
+buildUnnamed1493() {
var o = new core.List<api.ReportRequestOrderBy>();
o.add(buildReportRequestOrderBy());
o.add(buildReportRequestOrderBy());
return o;
}
-checkUnnamed1484(core.List<api.ReportRequestOrderBy> o) {
+checkUnnamed1493(core.List<api.ReportRequestOrderBy> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRequestOrderBy(o[0]);
checkReportRequestOrderBy(o[1]);
@@ -559,13 +559,13 @@
var o = new api.ReportRequest();
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- o.columns = buildUnnamed1481();
+ o.columns = buildUnnamed1490();
o.downloadFormat = "foo";
- o.filters = buildUnnamed1483();
+ o.filters = buildUnnamed1492();
o.includeDeletedEntities = true;
o.includeRemovedEntities = true;
o.maxRowsPerFile = 42;
- o.orderBy = buildUnnamed1484();
+ o.orderBy = buildUnnamed1493();
o.reportScope = buildReportRequestReportScope();
o.reportType = "foo";
o.rowCount = 42;
@@ -581,13 +581,13 @@
checkReportRequest(api.ReportRequest o) {
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- checkUnnamed1481(o.columns);
+ checkUnnamed1490(o.columns);
unittest.expect(o.downloadFormat, unittest.equals('foo'));
- checkUnnamed1483(o.filters);
+ checkUnnamed1492(o.filters);
unittest.expect(o.includeDeletedEntities, unittest.isTrue);
unittest.expect(o.includeRemovedEntities, unittest.isTrue);
unittest.expect(o.maxRowsPerFile, unittest.equals(42));
- checkUnnamed1484(o.orderBy);
+ checkUnnamed1493(o.orderBy);
checkReportRequestReportScope(o.reportScope);
unittest.expect(o.reportType, unittest.equals('foo'));
unittest.expect(o.rowCount, unittest.equals(42));
@@ -651,14 +651,14 @@
buildCounterSavedColumn--;
}
-buildUnnamed1485() {
+buildUnnamed1494() {
var o = new core.List<api.SavedColumn>();
o.add(buildSavedColumn());
o.add(buildSavedColumn());
return o;
}
-checkUnnamed1485(core.List<api.SavedColumn> o) {
+checkUnnamed1494(core.List<api.SavedColumn> o) {
unittest.expect(o, unittest.hasLength(2));
checkSavedColumn(o[0]);
checkSavedColumn(o[1]);
@@ -669,7 +669,7 @@
var o = new api.SavedColumnList();
buildCounterSavedColumnList++;
if (buildCounterSavedColumnList < 3) {
- o.items = buildUnnamed1485();
+ o.items = buildUnnamed1494();
o.kind = "foo";
}
buildCounterSavedColumnList--;
@@ -679,20 +679,20 @@
checkSavedColumnList(api.SavedColumnList o) {
buildCounterSavedColumnList++;
if (buildCounterSavedColumnList < 3) {
- checkUnnamed1485(o.items);
+ checkUnnamed1494(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSavedColumnList--;
}
-buildUnnamed1486() {
+buildUnnamed1495() {
var o = new core.List<api.Availability>();
o.add(buildAvailability());
o.add(buildAvailability());
return o;
}
-checkUnnamed1486(core.List<api.Availability> o) {
+checkUnnamed1495(core.List<api.Availability> o) {
unittest.expect(o, unittest.hasLength(2));
checkAvailability(o[0]);
checkAvailability(o[1]);
@@ -703,7 +703,7 @@
var o = new api.UpdateAvailabilityRequest();
buildCounterUpdateAvailabilityRequest++;
if (buildCounterUpdateAvailabilityRequest < 3) {
- o.availabilities = buildUnnamed1486();
+ o.availabilities = buildUnnamed1495();
}
buildCounterUpdateAvailabilityRequest--;
return o;
@@ -712,19 +712,19 @@
checkUpdateAvailabilityRequest(api.UpdateAvailabilityRequest o) {
buildCounterUpdateAvailabilityRequest++;
if (buildCounterUpdateAvailabilityRequest < 3) {
- checkUnnamed1486(o.availabilities);
+ checkUnnamed1495(o.availabilities);
}
buildCounterUpdateAvailabilityRequest--;
}
-buildUnnamed1487() {
+buildUnnamed1496() {
var o = new core.List<api.Availability>();
o.add(buildAvailability());
o.add(buildAvailability());
return o;
}
-checkUnnamed1487(core.List<api.Availability> o) {
+checkUnnamed1496(core.List<api.Availability> o) {
unittest.expect(o, unittest.hasLength(2));
checkAvailability(o[0]);
checkAvailability(o[1]);
@@ -735,7 +735,7 @@
var o = new api.UpdateAvailabilityResponse();
buildCounterUpdateAvailabilityResponse++;
if (buildCounterUpdateAvailabilityResponse < 3) {
- o.availabilities = buildUnnamed1487();
+ o.availabilities = buildUnnamed1496();
}
buildCounterUpdateAvailabilityResponse--;
return o;
@@ -744,7 +744,7 @@
checkUpdateAvailabilityResponse(api.UpdateAvailabilityResponse o) {
buildCounterUpdateAvailabilityResponse++;
if (buildCounterUpdateAvailabilityResponse < 3) {
- checkUnnamed1487(o.availabilities);
+ checkUnnamed1496(o.availabilities);
}
buildCounterUpdateAvailabilityResponse--;
}
diff --git a/generated/googleapis/test/drive/v2_test.dart b/generated/googleapis/test/drive/v2_test.dart
index b4b552e..24f4075 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);
}
-buildUnnamed730() {
+buildUnnamed735() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed730(core.List<core.String> o) {
+checkUnnamed735(core.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 = buildUnnamed730();
+ o.additionalRoles = buildUnnamed735();
o.primaryRole = "foo";
}
buildCounterAboutAdditionalRoleInfoRoleSets--;
@@ -78,20 +78,20 @@
checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) {
buildCounterAboutAdditionalRoleInfoRoleSets++;
if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) {
- checkUnnamed730(o.additionalRoles);
+ checkUnnamed735(o.additionalRoles);
unittest.expect(o.primaryRole, unittest.equals('foo'));
}
buildCounterAboutAdditionalRoleInfoRoleSets--;
}
-buildUnnamed731() {
+buildUnnamed736() {
var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>();
o.add(buildAboutAdditionalRoleInfoRoleSets());
o.add(buildAboutAdditionalRoleInfoRoleSets());
return o;
}
-checkUnnamed731(core.List<api.AboutAdditionalRoleInfoRoleSets> o) {
+checkUnnamed736(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 = buildUnnamed731();
+ o.roleSets = buildUnnamed736();
o.type = "foo";
}
buildCounterAboutAdditionalRoleInfo--;
@@ -112,33 +112,33 @@
checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) {
buildCounterAboutAdditionalRoleInfo++;
if (buildCounterAboutAdditionalRoleInfo < 3) {
- checkUnnamed731(o.roleSets);
+ checkUnnamed736(o.roleSets);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterAboutAdditionalRoleInfo--;
}
-buildUnnamed732() {
+buildUnnamed737() {
var o = new core.List<api.AboutAdditionalRoleInfo>();
o.add(buildAboutAdditionalRoleInfo());
o.add(buildAboutAdditionalRoleInfo());
return o;
}
-checkUnnamed732(core.List<api.AboutAdditionalRoleInfo> o) {
+checkUnnamed737(core.List<api.AboutAdditionalRoleInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutAdditionalRoleInfo(o[0]);
checkAboutAdditionalRoleInfo(o[1]);
}
-buildUnnamed733() {
+buildUnnamed738() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed733(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'));
@@ -150,7 +150,7 @@
buildCounterAboutExportFormats++;
if (buildCounterAboutExportFormats < 3) {
o.source = "foo";
- o.targets = buildUnnamed733();
+ o.targets = buildUnnamed738();
}
buildCounterAboutExportFormats--;
return o;
@@ -160,19 +160,19 @@
buildCounterAboutExportFormats++;
if (buildCounterAboutExportFormats < 3) {
unittest.expect(o.source, unittest.equals('foo'));
- checkUnnamed733(o.targets);
+ checkUnnamed738(o.targets);
}
buildCounterAboutExportFormats--;
}
-buildUnnamed734() {
+buildUnnamed739() {
var o = new core.List<api.AboutExportFormats>();
o.add(buildAboutExportFormats());
o.add(buildAboutExportFormats());
return o;
}
-checkUnnamed734(core.List<api.AboutExportFormats> o) {
+checkUnnamed739(core.List<api.AboutExportFormats> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutExportFormats(o[0]);
checkAboutExportFormats(o[1]);
@@ -199,40 +199,40 @@
buildCounterAboutFeatures--;
}
-buildUnnamed735() {
+buildUnnamed740() {
var o = new core.List<api.AboutFeatures>();
o.add(buildAboutFeatures());
o.add(buildAboutFeatures());
return o;
}
-checkUnnamed735(core.List<api.AboutFeatures> o) {
+checkUnnamed740(core.List<api.AboutFeatures> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutFeatures(o[0]);
checkAboutFeatures(o[1]);
}
-buildUnnamed736() {
+buildUnnamed741() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed736(core.List<core.String> o) {
+checkUnnamed741(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed737() {
+buildUnnamed742() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed737(core.List<core.String> o) {
+checkUnnamed742(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -244,7 +244,7 @@
buildCounterAboutImportFormats++;
if (buildCounterAboutImportFormats < 3) {
o.source = "foo";
- o.targets = buildUnnamed737();
+ o.targets = buildUnnamed742();
}
buildCounterAboutImportFormats--;
return o;
@@ -254,19 +254,19 @@
buildCounterAboutImportFormats++;
if (buildCounterAboutImportFormats < 3) {
unittest.expect(o.source, unittest.equals('foo'));
- checkUnnamed737(o.targets);
+ checkUnnamed742(o.targets);
}
buildCounterAboutImportFormats--;
}
-buildUnnamed738() {
+buildUnnamed743() {
var o = new core.List<api.AboutImportFormats>();
o.add(buildAboutImportFormats());
o.add(buildAboutImportFormats());
return o;
}
-checkUnnamed738(core.List<api.AboutImportFormats> o) {
+checkUnnamed743(core.List<api.AboutImportFormats> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutImportFormats(o[0]);
checkAboutImportFormats(o[1]);
@@ -293,14 +293,14 @@
buildCounterAboutMaxUploadSizes--;
}
-buildUnnamed739() {
+buildUnnamed744() {
var o = new core.List<api.AboutMaxUploadSizes>();
o.add(buildAboutMaxUploadSizes());
o.add(buildAboutMaxUploadSizes());
return o;
}
-checkUnnamed739(core.List<api.AboutMaxUploadSizes> o) {
+checkUnnamed744(core.List<api.AboutMaxUploadSizes> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutMaxUploadSizes(o[0]);
checkAboutMaxUploadSizes(o[1]);
@@ -327,14 +327,14 @@
buildCounterAboutQuotaBytesByService--;
}
-buildUnnamed740() {
+buildUnnamed745() {
var o = new core.List<api.AboutQuotaBytesByService>();
o.add(buildAboutQuotaBytesByService());
o.add(buildAboutQuotaBytesByService());
return o;
}
-checkUnnamed740(core.List<api.AboutQuotaBytesByService> o) {
+checkUnnamed745(core.List<api.AboutQuotaBytesByService> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutQuotaBytesByService(o[0]);
checkAboutQuotaBytesByService(o[1]);
@@ -363,14 +363,14 @@
buildCounterAboutTeamDriveThemes--;
}
-buildUnnamed741() {
+buildUnnamed746() {
var o = new core.List<api.AboutTeamDriveThemes>();
o.add(buildAboutTeamDriveThemes());
o.add(buildAboutTeamDriveThemes());
return o;
}
-checkUnnamed741(core.List<api.AboutTeamDriveThemes> o) {
+checkUnnamed746(core.List<api.AboutTeamDriveThemes> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutTeamDriveThemes(o[0]);
checkAboutTeamDriveThemes(o[1]);
@@ -381,21 +381,21 @@
var o = new api.About();
buildCounterAbout++;
if (buildCounterAbout < 3) {
- o.additionalRoleInfo = buildUnnamed732();
+ o.additionalRoleInfo = buildUnnamed737();
o.domainSharingPolicy = "foo";
o.etag = "foo";
- o.exportFormats = buildUnnamed734();
- o.features = buildUnnamed735();
- o.folderColorPalette = buildUnnamed736();
- o.importFormats = buildUnnamed738();
+ o.exportFormats = buildUnnamed739();
+ o.features = buildUnnamed740();
+ o.folderColorPalette = buildUnnamed741();
+ o.importFormats = buildUnnamed743();
o.isCurrentAppInstalled = true;
o.kind = "foo";
o.languageCode = "foo";
o.largestChangeId = "foo";
- o.maxUploadSizes = buildUnnamed739();
+ o.maxUploadSizes = buildUnnamed744();
o.name = "foo";
o.permissionId = "foo";
- o.quotaBytesByService = buildUnnamed740();
+ o.quotaBytesByService = buildUnnamed745();
o.quotaBytesTotal = "foo";
o.quotaBytesUsed = "foo";
o.quotaBytesUsedAggregate = "foo";
@@ -404,7 +404,7 @@
o.remainingChangeIds = "foo";
o.rootFolderId = "foo";
o.selfLink = "foo";
- o.teamDriveThemes = buildUnnamed741();
+ o.teamDriveThemes = buildUnnamed746();
o.user = buildUser();
}
buildCounterAbout--;
@@ -414,21 +414,21 @@
checkAbout(api.About o) {
buildCounterAbout++;
if (buildCounterAbout < 3) {
- checkUnnamed732(o.additionalRoleInfo);
+ checkUnnamed737(o.additionalRoleInfo);
unittest.expect(o.domainSharingPolicy, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed734(o.exportFormats);
- checkUnnamed735(o.features);
- checkUnnamed736(o.folderColorPalette);
- checkUnnamed738(o.importFormats);
+ checkUnnamed739(o.exportFormats);
+ checkUnnamed740(o.features);
+ checkUnnamed741(o.folderColorPalette);
+ checkUnnamed743(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'));
- checkUnnamed739(o.maxUploadSizes);
+ checkUnnamed744(o.maxUploadSizes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.permissionId, unittest.equals('foo'));
- checkUnnamed740(o.quotaBytesByService);
+ checkUnnamed745(o.quotaBytesByService);
unittest.expect(o.quotaBytesTotal, unittest.equals('foo'));
unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
unittest.expect(o.quotaBytesUsedAggregate, unittest.equals('foo'));
@@ -437,7 +437,7 @@
unittest.expect(o.remainingChangeIds, unittest.equals('foo'));
unittest.expect(o.rootFolderId, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed741(o.teamDriveThemes);
+ checkUnnamed746(o.teamDriveThemes);
checkUser(o.user);
}
buildCounterAbout--;
@@ -466,66 +466,66 @@
buildCounterAppIcons--;
}
-buildUnnamed742() {
+buildUnnamed747() {
var o = new core.List<api.AppIcons>();
o.add(buildAppIcons());
o.add(buildAppIcons());
return o;
}
-checkUnnamed742(core.List<api.AppIcons> o) {
+checkUnnamed747(core.List<api.AppIcons> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppIcons(o[0]);
checkAppIcons(o[1]);
}
-buildUnnamed743() {
+buildUnnamed748() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed743(core.List<core.String> 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'));
}
-buildUnnamed744() {
+buildUnnamed749() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed744(core.List<core.String> o) {
+checkUnnamed749(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed745() {
+buildUnnamed750() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed745(core.List<core.String> o) {
+checkUnnamed750(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed746() {
+buildUnnamed751() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed746(core.List<core.String> 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'));
@@ -540,7 +540,7 @@
o.createInFolderTemplate = "foo";
o.createUrl = "foo";
o.hasDriveWideScope = true;
- o.icons = buildUnnamed742();
+ o.icons = buildUnnamed747();
o.id = "foo";
o.installed = true;
o.kind = "foo";
@@ -548,12 +548,12 @@
o.name = "foo";
o.objectType = "foo";
o.openUrlTemplate = "foo";
- o.primaryFileExtensions = buildUnnamed743();
- o.primaryMimeTypes = buildUnnamed744();
+ o.primaryFileExtensions = buildUnnamed748();
+ o.primaryMimeTypes = buildUnnamed749();
o.productId = "foo";
o.productUrl = "foo";
- o.secondaryFileExtensions = buildUnnamed745();
- o.secondaryMimeTypes = buildUnnamed746();
+ o.secondaryFileExtensions = buildUnnamed750();
+ o.secondaryMimeTypes = buildUnnamed751();
o.shortDescription = "foo";
o.supportsCreate = true;
o.supportsImport = true;
@@ -572,7 +572,7 @@
unittest.expect(o.createInFolderTemplate, unittest.equals('foo'));
unittest.expect(o.createUrl, unittest.equals('foo'));
unittest.expect(o.hasDriveWideScope, unittest.isTrue);
- checkUnnamed742(o.icons);
+ checkUnnamed747(o.icons);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.installed, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -580,12 +580,12 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
unittest.expect(o.openUrlTemplate, unittest.equals('foo'));
- checkUnnamed743(o.primaryFileExtensions);
- checkUnnamed744(o.primaryMimeTypes);
+ checkUnnamed748(o.primaryFileExtensions);
+ checkUnnamed749(o.primaryMimeTypes);
unittest.expect(o.productId, unittest.equals('foo'));
unittest.expect(o.productUrl, unittest.equals('foo'));
- checkUnnamed745(o.secondaryFileExtensions);
- checkUnnamed746(o.secondaryMimeTypes);
+ checkUnnamed750(o.secondaryFileExtensions);
+ checkUnnamed751(o.secondaryMimeTypes);
unittest.expect(o.shortDescription, unittest.equals('foo'));
unittest.expect(o.supportsCreate, unittest.isTrue);
unittest.expect(o.supportsImport, unittest.isTrue);
@@ -596,27 +596,27 @@
buildCounterApp--;
}
-buildUnnamed747() {
+buildUnnamed752() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed747(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'));
}
-buildUnnamed748() {
+buildUnnamed753() {
var o = new core.List<api.App>();
o.add(buildApp());
o.add(buildApp());
return o;
}
-checkUnnamed748(core.List<api.App> o) {
+checkUnnamed753(core.List<api.App> o) {
unittest.expect(o, unittest.hasLength(2));
checkApp(o[0]);
checkApp(o[1]);
@@ -627,9 +627,9 @@
var o = new api.AppList();
buildCounterAppList++;
if (buildCounterAppList < 3) {
- o.defaultAppIds = buildUnnamed747();
+ o.defaultAppIds = buildUnnamed752();
o.etag = "foo";
- o.items = buildUnnamed748();
+ o.items = buildUnnamed753();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -640,9 +640,9 @@
checkAppList(api.AppList o) {
buildCounterAppList++;
if (buildCounterAppList < 3) {
- checkUnnamed747(o.defaultAppIds);
+ checkUnnamed752(o.defaultAppIds);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed748(o.items);
+ checkUnnamed753(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
@@ -687,14 +687,14 @@
buildCounterChange--;
}
-buildUnnamed749() {
+buildUnnamed754() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed749(core.List<api.Change> o) {
+checkUnnamed754(core.List<api.Change> o) {
unittest.expect(o, unittest.hasLength(2));
checkChange(o[0]);
checkChange(o[1]);
@@ -706,7 +706,7 @@
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
o.etag = "foo";
- o.items = buildUnnamed749();
+ o.items = buildUnnamed754();
o.kind = "foo";
o.largestChangeId = "foo";
o.newStartPageToken = "foo";
@@ -722,7 +722,7 @@
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed749(o.items);
+ checkUnnamed754(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.largestChangeId, unittest.equals('foo'));
unittest.expect(o.newStartPageToken, unittest.equals('foo'));
@@ -733,14 +733,14 @@
buildCounterChangeList--;
}
-buildUnnamed750() {
+buildUnnamed755() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed750(core.Map<core.String, core.String> o) {
+checkUnnamed755(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 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed750();
+ o.params = buildUnnamed755();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -773,7 +773,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed750(o.params);
+ checkUnnamed755(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -783,14 +783,14 @@
buildCounterChannel--;
}
-buildUnnamed751() {
+buildUnnamed756() {
var o = new core.List<api.ChildReference>();
o.add(buildChildReference());
o.add(buildChildReference());
return o;
}
-checkUnnamed751(core.List<api.ChildReference> o) {
+checkUnnamed756(core.List<api.ChildReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkChildReference(o[0]);
checkChildReference(o[1]);
@@ -802,7 +802,7 @@
buildCounterChildList++;
if (buildCounterChildList < 3) {
o.etag = "foo";
- o.items = buildUnnamed751();
+ o.items = buildUnnamed756();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -816,7 +816,7 @@
buildCounterChildList++;
if (buildCounterChildList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed751(o.items);
+ checkUnnamed756(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -871,14 +871,14 @@
buildCounterCommentContext--;
}
-buildUnnamed752() {
+buildUnnamed757() {
var o = new core.List<api.CommentReply>();
o.add(buildCommentReply());
o.add(buildCommentReply());
return o;
}
-checkUnnamed752(core.List<api.CommentReply> o) {
+checkUnnamed757(core.List<api.CommentReply> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentReply(o[0]);
checkCommentReply(o[1]);
@@ -901,7 +901,7 @@
o.htmlContent = "foo";
o.kind = "foo";
o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02");
- o.replies = buildUnnamed752();
+ o.replies = buildUnnamed757();
o.selfLink = "foo";
o.status = "foo";
}
@@ -926,21 +926,21 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.modifiedDate,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed752(o.replies);
+ checkUnnamed757(o.replies);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterComment--;
}
-buildUnnamed753() {
+buildUnnamed758() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed753(core.List<api.Comment> o) {
+checkUnnamed758(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -951,7 +951,7 @@
var o = new api.CommentList();
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- o.items = buildUnnamed753();
+ o.items = buildUnnamed758();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -964,7 +964,7 @@
checkCommentList(api.CommentList o) {
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- checkUnnamed753(o.items);
+ checkUnnamed758(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1010,14 +1010,14 @@
buildCounterCommentReply--;
}
-buildUnnamed754() {
+buildUnnamed759() {
var o = new core.List<api.CommentReply>();
o.add(buildCommentReply());
o.add(buildCommentReply());
return o;
}
-checkUnnamed754(core.List<api.CommentReply> o) {
+checkUnnamed759(core.List<api.CommentReply> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentReply(o[0]);
checkCommentReply(o[1]);
@@ -1028,7 +1028,7 @@
var o = new api.CommentReplyList();
buildCounterCommentReplyList++;
if (buildCounterCommentReplyList < 3) {
- o.items = buildUnnamed754();
+ o.items = buildUnnamed759();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1041,7 +1041,7 @@
checkCommentReplyList(api.CommentReplyList o) {
buildCounterCommentReplyList++;
if (buildCounterCommentReplyList < 3) {
- checkUnnamed754(o.items);
+ checkUnnamed759(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1101,14 +1101,14 @@
buildCounterFileCapabilities--;
}
-buildUnnamed755() {
+buildUnnamed760() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed755(core.Map<core.String, core.String> o) {
+checkUnnamed760(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'));
@@ -1244,105 +1244,105 @@
buildCounterFileLabels--;
}
-buildUnnamed756() {
+buildUnnamed761() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed756(core.Map<core.String, core.String> o) {
+checkUnnamed761(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'));
}
-buildUnnamed757() {
+buildUnnamed762() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed757(core.List<core.String> o) {
+checkUnnamed762(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed758() {
+buildUnnamed763() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed758(core.List<api.User> o) {
+checkUnnamed763(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
}
-buildUnnamed759() {
+buildUnnamed764() {
var o = new core.List<api.ParentReference>();
o.add(buildParentReference());
o.add(buildParentReference());
return o;
}
-checkUnnamed759(core.List<api.ParentReference> o) {
+checkUnnamed764(core.List<api.ParentReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkParentReference(o[0]);
checkParentReference(o[1]);
}
-buildUnnamed760() {
+buildUnnamed765() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed760(core.List<core.String> o) {
+checkUnnamed765(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed761() {
+buildUnnamed766() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed761(core.List<api.Permission> o) {
+checkUnnamed766(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
}
-buildUnnamed762() {
+buildUnnamed767() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed762(core.List<api.Property> o) {
+checkUnnamed767(core.List<api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o[0]);
checkProperty(o[1]);
}
-buildUnnamed763() {
+buildUnnamed768() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed763(core.List<core.String> o) {
+checkUnnamed768(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1411,7 +1411,7 @@
o.embedLink = "foo";
o.etag = "foo";
o.explicitlyTrashed = true;
- o.exportLinks = buildUnnamed755();
+ o.exportLinks = buildUnnamed760();
o.fileExtension = "foo";
o.fileSize = "foo";
o.folderColorRgb = "foo";
@@ -1434,22 +1434,22 @@
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 = buildUnnamed756();
+ o.openWithLinks = buildUnnamed761();
o.originalFilename = "foo";
o.ownedByMe = true;
- o.ownerNames = buildUnnamed757();
- o.owners = buildUnnamed758();
- o.parents = buildUnnamed759();
- o.permissionIds = buildUnnamed760();
- o.permissions = buildUnnamed761();
- o.properties = buildUnnamed762();
+ o.ownerNames = buildUnnamed762();
+ o.owners = buildUnnamed763();
+ o.parents = buildUnnamed764();
+ o.permissionIds = buildUnnamed765();
+ o.permissions = buildUnnamed766();
+ o.properties = buildUnnamed767();
o.quotaBytesUsed = "foo";
o.selfLink = "foo";
o.shareable = true;
o.shared = true;
o.sharedWithMeDate = core.DateTime.parse("2002-02-27T14:01:02");
o.sharingUser = buildUser();
- o.spaces = buildUnnamed763();
+ o.spaces = buildUnnamed768();
o.teamDriveId = "foo";
o.thumbnail = buildFileThumbnail();
o.thumbnailLink = "foo";
@@ -1486,7 +1486,7 @@
unittest.expect(o.embedLink, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.explicitlyTrashed, unittest.isTrue);
- checkUnnamed755(o.exportLinks);
+ checkUnnamed760(o.exportLinks);
unittest.expect(o.fileExtension, unittest.equals('foo'));
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.folderColorRgb, unittest.equals('foo'));
@@ -1513,15 +1513,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")));
- checkUnnamed756(o.openWithLinks);
+ checkUnnamed761(o.openWithLinks);
unittest.expect(o.originalFilename, unittest.equals('foo'));
unittest.expect(o.ownedByMe, unittest.isTrue);
- checkUnnamed757(o.ownerNames);
- checkUnnamed758(o.owners);
- checkUnnamed759(o.parents);
- checkUnnamed760(o.permissionIds);
- checkUnnamed761(o.permissions);
- checkUnnamed762(o.properties);
+ checkUnnamed762(o.ownerNames);
+ checkUnnamed763(o.owners);
+ checkUnnamed764(o.parents);
+ checkUnnamed765(o.permissionIds);
+ checkUnnamed766(o.permissions);
+ checkUnnamed767(o.properties);
unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.shareable, unittest.isTrue);
@@ -1529,7 +1529,7 @@
unittest.expect(o.sharedWithMeDate,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkUser(o.sharingUser);
- checkUnnamed763(o.spaces);
+ checkUnnamed768(o.spaces);
unittest.expect(o.teamDriveId, unittest.equals('foo'));
checkFileThumbnail(o.thumbnail);
unittest.expect(o.thumbnailLink, unittest.equals('foo'));
@@ -1548,14 +1548,14 @@
buildCounterFile--;
}
-buildUnnamed764() {
+buildUnnamed769() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed764(core.List<api.File> o) {
+checkUnnamed769(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -1568,7 +1568,7 @@
if (buildCounterFileList < 3) {
o.etag = "foo";
o.incompleteSearch = true;
- o.items = buildUnnamed764();
+ o.items = buildUnnamed769();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1583,7 +1583,7 @@
if (buildCounterFileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.incompleteSearch, unittest.isTrue);
- checkUnnamed764(o.items);
+ checkUnnamed769(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1592,14 +1592,14 @@
buildCounterFileList--;
}
-buildUnnamed765() {
+buildUnnamed770() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed765(core.List<core.String> o) {
+checkUnnamed770(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1610,7 +1610,7 @@
var o = new api.GeneratedIds();
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- o.ids = buildUnnamed765();
+ o.ids = buildUnnamed770();
o.kind = "foo";
o.space = "foo";
}
@@ -1621,21 +1621,21 @@
checkGeneratedIds(api.GeneratedIds o) {
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- checkUnnamed765(o.ids);
+ checkUnnamed770(o.ids);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.space, unittest.equals('foo'));
}
buildCounterGeneratedIds--;
}
-buildUnnamed766() {
+buildUnnamed771() {
var o = new core.List<api.ParentReference>();
o.add(buildParentReference());
o.add(buildParentReference());
return o;
}
-checkUnnamed766(core.List<api.ParentReference> o) {
+checkUnnamed771(core.List<api.ParentReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkParentReference(o[0]);
checkParentReference(o[1]);
@@ -1647,7 +1647,7 @@
buildCounterParentList++;
if (buildCounterParentList < 3) {
o.etag = "foo";
- o.items = buildUnnamed766();
+ o.items = buildUnnamed771();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -1659,7 +1659,7 @@
buildCounterParentList++;
if (buildCounterParentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed766(o.items);
+ checkUnnamed771(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
@@ -1693,27 +1693,27 @@
buildCounterParentReference--;
}
-buildUnnamed767() {
+buildUnnamed772() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed767(core.List<core.String> o) {
+checkUnnamed772(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed768() {
+buildUnnamed773() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed768(core.List<core.String> o) {
+checkUnnamed773(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1724,7 +1724,7 @@
var o = new api.PermissionTeamDrivePermissionDetails();
buildCounterPermissionTeamDrivePermissionDetails++;
if (buildCounterPermissionTeamDrivePermissionDetails < 3) {
- o.additionalRoles = buildUnnamed768();
+ o.additionalRoles = buildUnnamed773();
o.inherited = true;
o.inheritedFrom = "foo";
o.role = "foo";
@@ -1738,7 +1738,7 @@
api.PermissionTeamDrivePermissionDetails o) {
buildCounterPermissionTeamDrivePermissionDetails++;
if (buildCounterPermissionTeamDrivePermissionDetails < 3) {
- checkUnnamed768(o.additionalRoles);
+ checkUnnamed773(o.additionalRoles);
unittest.expect(o.inherited, unittest.isTrue);
unittest.expect(o.inheritedFrom, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
@@ -1747,14 +1747,14 @@
buildCounterPermissionTeamDrivePermissionDetails--;
}
-buildUnnamed769() {
+buildUnnamed774() {
var o = new core.List<api.PermissionTeamDrivePermissionDetails>();
o.add(buildPermissionTeamDrivePermissionDetails());
o.add(buildPermissionTeamDrivePermissionDetails());
return o;
}
-checkUnnamed769(core.List<api.PermissionTeamDrivePermissionDetails> o) {
+checkUnnamed774(core.List<api.PermissionTeamDrivePermissionDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionTeamDrivePermissionDetails(o[0]);
checkPermissionTeamDrivePermissionDetails(o[1]);
@@ -1765,7 +1765,7 @@
var o = new api.Permission();
buildCounterPermission++;
if (buildCounterPermission < 3) {
- o.additionalRoles = buildUnnamed767();
+ o.additionalRoles = buildUnnamed772();
o.authKey = "foo";
o.deleted = true;
o.domain = "foo";
@@ -1778,7 +1778,7 @@
o.photoLink = "foo";
o.role = "foo";
o.selfLink = "foo";
- o.teamDrivePermissionDetails = buildUnnamed769();
+ o.teamDrivePermissionDetails = buildUnnamed774();
o.type = "foo";
o.value = "foo";
o.withLink = true;
@@ -1790,7 +1790,7 @@
checkPermission(api.Permission o) {
buildCounterPermission++;
if (buildCounterPermission < 3) {
- checkUnnamed767(o.additionalRoles);
+ checkUnnamed772(o.additionalRoles);
unittest.expect(o.authKey, unittest.equals('foo'));
unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.domain, unittest.equals('foo'));
@@ -1804,7 +1804,7 @@
unittest.expect(o.photoLink, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed769(o.teamDrivePermissionDetails);
+ checkUnnamed774(o.teamDrivePermissionDetails);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
unittest.expect(o.withLink, unittest.isTrue);
@@ -1833,14 +1833,14 @@
buildCounterPermissionId--;
}
-buildUnnamed770() {
+buildUnnamed775() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed770(core.List<api.Permission> o) {
+checkUnnamed775(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -1852,7 +1852,7 @@
buildCounterPermissionList++;
if (buildCounterPermissionList < 3) {
o.etag = "foo";
- o.items = buildUnnamed770();
+ o.items = buildUnnamed775();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1865,7 +1865,7 @@
buildCounterPermissionList++;
if (buildCounterPermissionList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed770(o.items);
+ checkUnnamed775(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1902,14 +1902,14 @@
buildCounterProperty--;
}
-buildUnnamed771() {
+buildUnnamed776() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed771(core.List<api.Property> o) {
+checkUnnamed776(core.List<api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o[0]);
checkProperty(o[1]);
@@ -1921,7 +1921,7 @@
buildCounterPropertyList++;
if (buildCounterPropertyList < 3) {
o.etag = "foo";
- o.items = buildUnnamed771();
+ o.items = buildUnnamed776();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -1933,21 +1933,21 @@
buildCounterPropertyList++;
if (buildCounterPropertyList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed771(o.items);
+ checkUnnamed776(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterPropertyList--;
}
-buildUnnamed772() {
+buildUnnamed777() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed772(core.Map<core.String, core.String> o) {
+checkUnnamed777(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'));
@@ -1960,7 +1960,7 @@
if (buildCounterRevision < 3) {
o.downloadUrl = "foo";
o.etag = "foo";
- o.exportLinks = buildUnnamed772();
+ o.exportLinks = buildUnnamed777();
o.fileSize = "foo";
o.id = "foo";
o.kind = "foo";
@@ -1986,7 +1986,7 @@
if (buildCounterRevision < 3) {
unittest.expect(o.downloadUrl, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed772(o.exportLinks);
+ checkUnnamed777(o.exportLinks);
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -2007,14 +2007,14 @@
buildCounterRevision--;
}
-buildUnnamed773() {
+buildUnnamed778() {
var o = new core.List<api.Revision>();
o.add(buildRevision());
o.add(buildRevision());
return o;
}
-checkUnnamed773(core.List<api.Revision> o) {
+checkUnnamed778(core.List<api.Revision> o) {
unittest.expect(o, unittest.hasLength(2));
checkRevision(o[0]);
checkRevision(o[1]);
@@ -2026,7 +2026,7 @@
buildCounterRevisionList++;
if (buildCounterRevisionList < 3) {
o.etag = "foo";
- o.items = buildUnnamed773();
+ o.items = buildUnnamed778();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2039,7 +2039,7 @@
buildCounterRevisionList++;
if (buildCounterRevisionList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed773(o.items);
+ checkUnnamed778(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2174,14 +2174,14 @@
buildCounterTeamDrive--;
}
-buildUnnamed774() {
+buildUnnamed779() {
var o = new core.List<api.TeamDrive>();
o.add(buildTeamDrive());
o.add(buildTeamDrive());
return o;
}
-checkUnnamed774(core.List<api.TeamDrive> o) {
+checkUnnamed779(core.List<api.TeamDrive> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeamDrive(o[0]);
checkTeamDrive(o[1]);
@@ -2192,7 +2192,7 @@
var o = new api.TeamDriveList();
buildCounterTeamDriveList++;
if (buildCounterTeamDriveList < 3) {
- o.items = buildUnnamed774();
+ o.items = buildUnnamed779();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2203,7 +2203,7 @@
checkTeamDriveList(api.TeamDriveList o) {
buildCounterTeamDriveList++;
if (buildCounterTeamDriveList < 3) {
- checkUnnamed774(o.items);
+ checkUnnamed779(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 eb039e4..6ac2d09 100644
--- a/generated/googleapis/test/drive/v3_test.dart
+++ b/generated/googleapis/test/drive/v3_test.dart
@@ -50,79 +50,79 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1658() {
+buildUnnamed1672() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1658(core.List<core.String> o) {
+checkUnnamed1672(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1659() {
+buildUnnamed1673() {
var o = new core.Map<core.String, core.List<core.String>>();
- o["x"] = buildUnnamed1658();
- o["y"] = buildUnnamed1658();
+ o["x"] = buildUnnamed1672();
+ o["y"] = buildUnnamed1672();
return o;
}
-checkUnnamed1659(core.Map<core.String, core.List<core.String>> o) {
+checkUnnamed1673(core.Map<core.String, core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1658(o["x"]);
- checkUnnamed1658(o["y"]);
+ checkUnnamed1672(o["x"]);
+ checkUnnamed1672(o["y"]);
}
-buildUnnamed1660() {
+buildUnnamed1674() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1660(core.List<core.String> o) {
+checkUnnamed1674(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1661() {
+buildUnnamed1675() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1661(core.List<core.String> 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'));
}
-buildUnnamed1662() {
+buildUnnamed1676() {
var o = new core.Map<core.String, core.List<core.String>>();
- o["x"] = buildUnnamed1661();
- o["y"] = buildUnnamed1661();
+ o["x"] = buildUnnamed1675();
+ o["y"] = buildUnnamed1675();
return o;
}
-checkUnnamed1662(core.Map<core.String, core.List<core.String>> o) {
+checkUnnamed1676(core.Map<core.String, core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1661(o["x"]);
- checkUnnamed1661(o["y"]);
+ checkUnnamed1675(o["x"]);
+ checkUnnamed1675(o["y"]);
}
-buildUnnamed1663() {
+buildUnnamed1677() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1663(core.Map<core.String, core.String> o) {
+checkUnnamed1677(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'));
@@ -176,14 +176,14 @@
buildCounterAboutTeamDriveThemes--;
}
-buildUnnamed1664() {
+buildUnnamed1678() {
var o = new core.List<api.AboutTeamDriveThemes>();
o.add(buildAboutTeamDriveThemes());
o.add(buildAboutTeamDriveThemes());
return o;
}
-checkUnnamed1664(core.List<api.AboutTeamDriveThemes> o) {
+checkUnnamed1678(core.List<api.AboutTeamDriveThemes> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutTeamDriveThemes(o[0]);
checkAboutTeamDriveThemes(o[1]);
@@ -195,14 +195,14 @@
buildCounterAbout++;
if (buildCounterAbout < 3) {
o.appInstalled = true;
- o.exportFormats = buildUnnamed1659();
- o.folderColorPalette = buildUnnamed1660();
- o.importFormats = buildUnnamed1662();
+ o.exportFormats = buildUnnamed1673();
+ o.folderColorPalette = buildUnnamed1674();
+ o.importFormats = buildUnnamed1676();
o.kind = "foo";
- o.maxImportSizes = buildUnnamed1663();
+ o.maxImportSizes = buildUnnamed1677();
o.maxUploadSize = "foo";
o.storageQuota = buildAboutStorageQuota();
- o.teamDriveThemes = buildUnnamed1664();
+ o.teamDriveThemes = buildUnnamed1678();
o.user = buildUser();
}
buildCounterAbout--;
@@ -213,14 +213,14 @@
buildCounterAbout++;
if (buildCounterAbout < 3) {
unittest.expect(o.appInstalled, unittest.isTrue);
- checkUnnamed1659(o.exportFormats);
- checkUnnamed1660(o.folderColorPalette);
- checkUnnamed1662(o.importFormats);
+ checkUnnamed1673(o.exportFormats);
+ checkUnnamed1674(o.folderColorPalette);
+ checkUnnamed1676(o.importFormats);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1663(o.maxImportSizes);
+ checkUnnamed1677(o.maxImportSizes);
unittest.expect(o.maxUploadSize, unittest.equals('foo'));
checkAboutStorageQuota(o.storageQuota);
- checkUnnamed1664(o.teamDriveThemes);
+ checkUnnamed1678(o.teamDriveThemes);
checkUser(o.user);
}
buildCounterAbout--;
@@ -260,14 +260,14 @@
buildCounterChange--;
}
-buildUnnamed1665() {
+buildUnnamed1679() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed1665(core.List<api.Change> o) {
+checkUnnamed1679(core.List<api.Change> o) {
unittest.expect(o, unittest.hasLength(2));
checkChange(o[0]);
checkChange(o[1]);
@@ -278,7 +278,7 @@
var o = new api.ChangeList();
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
- o.changes = buildUnnamed1665();
+ o.changes = buildUnnamed1679();
o.kind = "foo";
o.newStartPageToken = "foo";
o.nextPageToken = "foo";
@@ -290,7 +290,7 @@
checkChangeList(api.ChangeList o) {
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
- checkUnnamed1665(o.changes);
+ checkUnnamed1679(o.changes);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.newStartPageToken, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -298,14 +298,14 @@
buildCounterChangeList--;
}
-buildUnnamed1666() {
+buildUnnamed1680() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1666(core.Map<core.String, core.String> o) {
+checkUnnamed1680(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'));
@@ -320,7 +320,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed1666();
+ o.params = buildUnnamed1680();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -338,7 +338,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1666(o.params);
+ checkUnnamed1680(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -369,14 +369,14 @@
buildCounterCommentQuotedFileContent--;
}
-buildUnnamed1667() {
+buildUnnamed1681() {
var o = new core.List<api.Reply>();
o.add(buildReply());
o.add(buildReply());
return o;
}
-checkUnnamed1667(core.List<api.Reply> o) {
+checkUnnamed1681(core.List<api.Reply> o) {
unittest.expect(o, unittest.hasLength(2));
checkReply(o[0]);
checkReply(o[1]);
@@ -397,7 +397,7 @@
o.kind = "foo";
o.modifiedTime = core.DateTime.parse("2002-02-27T14:01:02");
o.quotedFileContent = buildCommentQuotedFileContent();
- o.replies = buildUnnamed1667();
+ o.replies = buildUnnamed1681();
o.resolved = true;
}
buildCounterComment--;
@@ -419,20 +419,20 @@
unittest.expect(o.modifiedTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkCommentQuotedFileContent(o.quotedFileContent);
- checkUnnamed1667(o.replies);
+ checkUnnamed1681(o.replies);
unittest.expect(o.resolved, unittest.isTrue);
}
buildCounterComment--;
}
-buildUnnamed1668() {
+buildUnnamed1682() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed1668(core.List<api.Comment> o) {
+checkUnnamed1682(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -443,7 +443,7 @@
var o = new api.CommentList();
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- o.comments = buildUnnamed1668();
+ o.comments = buildUnnamed1682();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -454,21 +454,21 @@
checkCommentList(api.CommentList o) {
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- checkUnnamed1668(o.comments);
+ checkUnnamed1682(o.comments);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCommentList--;
}
-buildUnnamed1669() {
+buildUnnamed1683() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1669(core.Map<core.String, core.String> o) {
+checkUnnamed1683(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'));
@@ -649,79 +649,79 @@
buildCounterFileImageMediaMetadata--;
}
-buildUnnamed1670() {
+buildUnnamed1684() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed1670(core.List<api.User> o) {
+checkUnnamed1684(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
}
-buildUnnamed1671() {
+buildUnnamed1685() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1671(core.List<core.String> o) {
+checkUnnamed1685(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1672() {
+buildUnnamed1686() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1672(core.List<core.String> o) {
+checkUnnamed1686(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1673() {
+buildUnnamed1687() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1673(core.List<api.Permission> o) {
+checkUnnamed1687(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
}
-buildUnnamed1674() {
+buildUnnamed1688() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1674(core.Map<core.String, core.String> o) {
+checkUnnamed1688(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'));
}
-buildUnnamed1675() {
+buildUnnamed1689() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1675(core.List<core.String> 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'));
@@ -755,7 +755,7 @@
var o = new api.File();
buildCounterFile++;
if (buildCounterFile < 3) {
- o.appProperties = buildUnnamed1669();
+ o.appProperties = buildUnnamed1683();
o.capabilities = buildFileCapabilities();
o.contentHints = buildFileContentHints();
o.createdTime = core.DateTime.parse("2002-02-27T14:01:02");
@@ -781,17 +781,17 @@
o.name = "foo";
o.originalFilename = "foo";
o.ownedByMe = true;
- o.owners = buildUnnamed1670();
- o.parents = buildUnnamed1671();
- o.permissionIds = buildUnnamed1672();
- o.permissions = buildUnnamed1673();
- o.properties = buildUnnamed1674();
+ o.owners = buildUnnamed1684();
+ o.parents = buildUnnamed1685();
+ o.permissionIds = buildUnnamed1686();
+ o.permissions = buildUnnamed1687();
+ o.properties = buildUnnamed1688();
o.quotaBytesUsed = "foo";
o.shared = true;
o.sharedWithMeTime = core.DateTime.parse("2002-02-27T14:01:02");
o.sharingUser = buildUser();
o.size = "foo";
- o.spaces = buildUnnamed1675();
+ o.spaces = buildUnnamed1689();
o.starred = true;
o.teamDriveId = "foo";
o.thumbnailLink = "foo";
@@ -815,7 +815,7 @@
checkFile(api.File o) {
buildCounterFile++;
if (buildCounterFile < 3) {
- checkUnnamed1669(o.appProperties);
+ checkUnnamed1683(o.appProperties);
checkFileCapabilities(o.capabilities);
checkFileContentHints(o.contentHints);
unittest.expect(o.createdTime,
@@ -844,18 +844,18 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.originalFilename, unittest.equals('foo'));
unittest.expect(o.ownedByMe, unittest.isTrue);
- checkUnnamed1670(o.owners);
- checkUnnamed1671(o.parents);
- checkUnnamed1672(o.permissionIds);
- checkUnnamed1673(o.permissions);
- checkUnnamed1674(o.properties);
+ checkUnnamed1684(o.owners);
+ checkUnnamed1685(o.parents);
+ checkUnnamed1686(o.permissionIds);
+ checkUnnamed1687(o.permissions);
+ checkUnnamed1688(o.properties);
unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
unittest.expect(o.shared, unittest.isTrue);
unittest.expect(o.sharedWithMeTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkUser(o.sharingUser);
unittest.expect(o.size, unittest.equals('foo'));
- checkUnnamed1675(o.spaces);
+ checkUnnamed1689(o.spaces);
unittest.expect(o.starred, unittest.isTrue);
unittest.expect(o.teamDriveId, unittest.equals('foo'));
unittest.expect(o.thumbnailLink, unittest.equals('foo'));
@@ -877,14 +877,14 @@
buildCounterFile--;
}
-buildUnnamed1676() {
+buildUnnamed1690() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed1676(core.List<api.File> o) {
+checkUnnamed1690(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -895,7 +895,7 @@
var o = new api.FileList();
buildCounterFileList++;
if (buildCounterFileList < 3) {
- o.files = buildUnnamed1676();
+ o.files = buildUnnamed1690();
o.incompleteSearch = true;
o.kind = "foo";
o.nextPageToken = "foo";
@@ -907,7 +907,7 @@
checkFileList(api.FileList o) {
buildCounterFileList++;
if (buildCounterFileList < 3) {
- checkUnnamed1676(o.files);
+ checkUnnamed1690(o.files);
unittest.expect(o.incompleteSearch, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -915,14 +915,14 @@
buildCounterFileList--;
}
-buildUnnamed1677() {
+buildUnnamed1691() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1677(core.List<core.String> 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'));
@@ -933,7 +933,7 @@
var o = new api.GeneratedIds();
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- o.ids = buildUnnamed1677();
+ o.ids = buildUnnamed1691();
o.kind = "foo";
o.space = "foo";
}
@@ -944,7 +944,7 @@
checkGeneratedIds(api.GeneratedIds o) {
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- checkUnnamed1677(o.ids);
+ checkUnnamed1691(o.ids);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.space, unittest.equals('foo'));
}
@@ -977,14 +977,14 @@
buildCounterPermissionTeamDrivePermissionDetails--;
}
-buildUnnamed1678() {
+buildUnnamed1692() {
var o = new core.List<api.PermissionTeamDrivePermissionDetails>();
o.add(buildPermissionTeamDrivePermissionDetails());
o.add(buildPermissionTeamDrivePermissionDetails());
return o;
}
-checkUnnamed1678(core.List<api.PermissionTeamDrivePermissionDetails> o) {
+checkUnnamed1692(core.List<api.PermissionTeamDrivePermissionDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionTeamDrivePermissionDetails(o[0]);
checkPermissionTeamDrivePermissionDetails(o[1]);
@@ -1005,7 +1005,7 @@
o.kind = "foo";
o.photoLink = "foo";
o.role = "foo";
- o.teamDrivePermissionDetails = buildUnnamed1678();
+ o.teamDrivePermissionDetails = buildUnnamed1692();
o.type = "foo";
}
buildCounterPermission--;
@@ -1026,20 +1026,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.photoLink, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
- checkUnnamed1678(o.teamDrivePermissionDetails);
+ checkUnnamed1692(o.teamDrivePermissionDetails);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPermission--;
}
-buildUnnamed1679() {
+buildUnnamed1693() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1679(core.List<api.Permission> o) {
+checkUnnamed1693(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -1052,7 +1052,7 @@
if (buildCounterPermissionList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.permissions = buildUnnamed1679();
+ o.permissions = buildUnnamed1693();
}
buildCounterPermissionList--;
return o;
@@ -1063,7 +1063,7 @@
if (buildCounterPermissionList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1679(o.permissions);
+ checkUnnamed1693(o.permissions);
}
buildCounterPermissionList--;
}
@@ -1105,14 +1105,14 @@
buildCounterReply--;
}
-buildUnnamed1680() {
+buildUnnamed1694() {
var o = new core.List<api.Reply>();
o.add(buildReply());
o.add(buildReply());
return o;
}
-checkUnnamed1680(core.List<api.Reply> o) {
+checkUnnamed1694(core.List<api.Reply> o) {
unittest.expect(o, unittest.hasLength(2));
checkReply(o[0]);
checkReply(o[1]);
@@ -1125,7 +1125,7 @@
if (buildCounterReplyList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.replies = buildUnnamed1680();
+ o.replies = buildUnnamed1694();
}
buildCounterReplyList--;
return o;
@@ -1136,7 +1136,7 @@
if (buildCounterReplyList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1680(o.replies);
+ checkUnnamed1694(o.replies);
}
buildCounterReplyList--;
}
@@ -1183,14 +1183,14 @@
buildCounterRevision--;
}
-buildUnnamed1681() {
+buildUnnamed1695() {
var o = new core.List<api.Revision>();
o.add(buildRevision());
o.add(buildRevision());
return o;
}
-checkUnnamed1681(core.List<api.Revision> o) {
+checkUnnamed1695(core.List<api.Revision> o) {
unittest.expect(o, unittest.hasLength(2));
checkRevision(o[0]);
checkRevision(o[1]);
@@ -1203,7 +1203,7 @@
if (buildCounterRevisionList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.revisions = buildUnnamed1681();
+ o.revisions = buildUnnamed1695();
}
buildCounterRevisionList--;
return o;
@@ -1214,7 +1214,7 @@
if (buildCounterRevisionList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1681(o.revisions);
+ checkUnnamed1695(o.revisions);
}
buildCounterRevisionList--;
}
@@ -1346,14 +1346,14 @@
buildCounterTeamDrive--;
}
-buildUnnamed1682() {
+buildUnnamed1696() {
var o = new core.List<api.TeamDrive>();
o.add(buildTeamDrive());
o.add(buildTeamDrive());
return o;
}
-checkUnnamed1682(core.List<api.TeamDrive> o) {
+checkUnnamed1696(core.List<api.TeamDrive> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeamDrive(o[0]);
checkTeamDrive(o[1]);
@@ -1366,7 +1366,7 @@
if (buildCounterTeamDriveList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.teamDrives = buildUnnamed1682();
+ o.teamDrives = buildUnnamed1696();
}
buildCounterTeamDriveList--;
return o;
@@ -1377,7 +1377,7 @@
if (buildCounterTeamDriveList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1682(o.teamDrives);
+ checkUnnamed1696(o.teamDrives);
}
buildCounterTeamDriveList--;
}
diff --git a/generated/googleapis/test/firebasedynamiclinks/v1_test.dart b/generated/googleapis/test/firebasedynamiclinks/v1_test.dart
index 16de78d..e5ce150 100644
--- a/generated/googleapis/test/firebasedynamiclinks/v1_test.dart
+++ b/generated/googleapis/test/firebasedynamiclinks/v1_test.dart
@@ -119,14 +119,14 @@
buildCounterCreateShortDynamicLinkRequest--;
}
-buildUnnamed2245() {
+buildUnnamed2264() {
var o = new core.List<api.DynamicLinkWarning>();
o.add(buildDynamicLinkWarning());
o.add(buildDynamicLinkWarning());
return o;
}
-checkUnnamed2245(core.List<api.DynamicLinkWarning> o) {
+checkUnnamed2264(core.List<api.DynamicLinkWarning> o) {
unittest.expect(o, unittest.hasLength(2));
checkDynamicLinkWarning(o[0]);
checkDynamicLinkWarning(o[1]);
@@ -139,7 +139,7 @@
if (buildCounterCreateShortDynamicLinkResponse < 3) {
o.previewLink = "foo";
o.shortLink = "foo";
- o.warning = buildUnnamed2245();
+ o.warning = buildUnnamed2264();
}
buildCounterCreateShortDynamicLinkResponse--;
return o;
@@ -150,7 +150,7 @@
if (buildCounterCreateShortDynamicLinkResponse < 3) {
unittest.expect(o.previewLink, unittest.equals('foo'));
unittest.expect(o.shortLink, unittest.equals('foo'));
- checkUnnamed2245(o.warning);
+ checkUnnamed2264(o.warning);
}
buildCounterCreateShortDynamicLinkResponse--;
}
@@ -259,14 +259,14 @@
buildCounterDynamicLinkInfo--;
}
-buildUnnamed2246() {
+buildUnnamed2265() {
var o = new core.List<api.DynamicLinkEventStat>();
o.add(buildDynamicLinkEventStat());
o.add(buildDynamicLinkEventStat());
return o;
}
-checkUnnamed2246(core.List<api.DynamicLinkEventStat> o) {
+checkUnnamed2265(core.List<api.DynamicLinkEventStat> o) {
unittest.expect(o, unittest.hasLength(2));
checkDynamicLinkEventStat(o[0]);
checkDynamicLinkEventStat(o[1]);
@@ -277,7 +277,7 @@
var o = new api.DynamicLinkStats();
buildCounterDynamicLinkStats++;
if (buildCounterDynamicLinkStats < 3) {
- o.linkEventStats = buildUnnamed2246();
+ o.linkEventStats = buildUnnamed2265();
}
buildCounterDynamicLinkStats--;
return o;
@@ -286,7 +286,7 @@
checkDynamicLinkStats(api.DynamicLinkStats o) {
buildCounterDynamicLinkStats++;
if (buildCounterDynamicLinkStats < 3) {
- checkUnnamed2246(o.linkEventStats);
+ checkUnnamed2265(o.linkEventStats);
}
buildCounterDynamicLinkStats--;
}
diff --git a/generated/googleapis/test/firebaseremoteconfig/v1_test.dart b/generated/googleapis/test/firebaseremoteconfig/v1_test.dart
index 0f2c253..17b0918 100644
--- a/generated/googleapis/test/firebaseremoteconfig/v1_test.dart
+++ b/generated/googleapis/test/firebaseremoteconfig/v1_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed786() {
+buildUnnamed793() {
var o = new core.List<api.RemoteConfigCondition>();
o.add(buildRemoteConfigCondition());
o.add(buildRemoteConfigCondition());
return o;
}
-checkUnnamed786(core.List<api.RemoteConfigCondition> o) {
+checkUnnamed793(core.List<api.RemoteConfigCondition> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemoteConfigCondition(o[0]);
checkRemoteConfigCondition(o[1]);
}
-buildUnnamed787() {
+buildUnnamed794() {
var o = new core.Map<core.String, api.RemoteConfigParameter>();
o["x"] = buildRemoteConfigParameter();
o["y"] = buildRemoteConfigParameter();
return o;
}
-checkUnnamed787(core.Map<core.String, api.RemoteConfigParameter> o) {
+checkUnnamed794(core.Map<core.String, api.RemoteConfigParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemoteConfigParameter(o["x"]);
checkRemoteConfigParameter(o["y"]);
@@ -81,8 +81,8 @@
var o = new api.RemoteConfig();
buildCounterRemoteConfig++;
if (buildCounterRemoteConfig < 3) {
- o.conditions = buildUnnamed786();
- o.parameters = buildUnnamed787();
+ o.conditions = buildUnnamed793();
+ o.parameters = buildUnnamed794();
}
buildCounterRemoteConfig--;
return o;
@@ -91,8 +91,8 @@
checkRemoteConfig(api.RemoteConfig o) {
buildCounterRemoteConfig++;
if (buildCounterRemoteConfig < 3) {
- checkUnnamed786(o.conditions);
- checkUnnamed787(o.parameters);
+ checkUnnamed793(o.conditions);
+ checkUnnamed794(o.parameters);
}
buildCounterRemoteConfig--;
}
@@ -122,14 +122,14 @@
buildCounterRemoteConfigCondition--;
}
-buildUnnamed788() {
+buildUnnamed795() {
var o = new core.Map<core.String, api.RemoteConfigParameterValue>();
o["x"] = buildRemoteConfigParameterValue();
o["y"] = buildRemoteConfigParameterValue();
return o;
}
-checkUnnamed788(core.Map<core.String, api.RemoteConfigParameterValue> o) {
+checkUnnamed795(core.Map<core.String, api.RemoteConfigParameterValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemoteConfigParameterValue(o["x"]);
checkRemoteConfigParameterValue(o["y"]);
@@ -140,7 +140,7 @@
var o = new api.RemoteConfigParameter();
buildCounterRemoteConfigParameter++;
if (buildCounterRemoteConfigParameter < 3) {
- o.conditionalValues = buildUnnamed788();
+ o.conditionalValues = buildUnnamed795();
o.defaultValue = buildRemoteConfigParameterValue();
o.description = "foo";
}
@@ -151,7 +151,7 @@
checkRemoteConfigParameter(api.RemoteConfigParameter o) {
buildCounterRemoteConfigParameter++;
if (buildCounterRemoteConfigParameter < 3) {
- checkUnnamed788(o.conditionalValues);
+ checkUnnamed795(o.conditionalValues);
checkRemoteConfigParameterValue(o.defaultValue);
unittest.expect(o.description, unittest.equals('foo'));
}
diff --git a/generated/googleapis/test/firebaserules/v1_test.dart b/generated/googleapis/test/firebaserules/v1_test.dart
index 9ba10e8..8dc3a32 100644
--- a/generated/googleapis/test/firebaserules/v1_test.dart
+++ b/generated/googleapis/test/firebaserules/v1_test.dart
@@ -117,7 +117,7 @@
buildCounterFile--;
}
-buildUnnamed3506() {
+buildUnnamed3598() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -132,7 +132,7 @@
return o;
}
-checkUnnamed3506(core.List<core.Object> o) {
+checkUnnamed3598(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted2 = (o[0]) as core.Map;
unittest.expect(casted2, unittest.hasLength(3));
@@ -151,7 +151,7 @@
var o = new api.FunctionCall();
buildCounterFunctionCall++;
if (buildCounterFunctionCall < 3) {
- o.args = buildUnnamed3506();
+ o.args = buildUnnamed3598();
o.function = "foo";
}
buildCounterFunctionCall--;
@@ -161,20 +161,20 @@
checkFunctionCall(api.FunctionCall o) {
buildCounterFunctionCall++;
if (buildCounterFunctionCall < 3) {
- checkUnnamed3506(o.args);
+ checkUnnamed3598(o.args);
unittest.expect(o.function, unittest.equals('foo'));
}
buildCounterFunctionCall--;
}
-buildUnnamed3507() {
+buildUnnamed3599() {
var o = new core.List<api.Arg>();
o.add(buildArg());
o.add(buildArg());
return o;
}
-checkUnnamed3507(core.List<api.Arg> o) {
+checkUnnamed3599(core.List<api.Arg> o) {
unittest.expect(o, unittest.hasLength(2));
checkArg(o[0]);
checkArg(o[1]);
@@ -185,7 +185,7 @@
var o = new api.FunctionMock();
buildCounterFunctionMock++;
if (buildCounterFunctionMock < 3) {
- o.args = buildUnnamed3507();
+ o.args = buildUnnamed3599();
o.function = "foo";
o.result = buildResult();
}
@@ -196,7 +196,7 @@
checkFunctionMock(api.FunctionMock o) {
buildCounterFunctionMock++;
if (buildCounterFunctionMock < 3) {
- checkUnnamed3507(o.args);
+ checkUnnamed3599(o.args);
unittest.expect(o.function, unittest.equals('foo'));
checkResult(o.result);
}
@@ -253,14 +253,14 @@
buildCounterIssue--;
}
-buildUnnamed3508() {
+buildUnnamed3600() {
var o = new core.List<api.Release>();
o.add(buildRelease());
o.add(buildRelease());
return o;
}
-checkUnnamed3508(core.List<api.Release> o) {
+checkUnnamed3600(core.List<api.Release> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelease(o[0]);
checkRelease(o[1]);
@@ -272,7 +272,7 @@
buildCounterListReleasesResponse++;
if (buildCounterListReleasesResponse < 3) {
o.nextPageToken = "foo";
- o.releases = buildUnnamed3508();
+ o.releases = buildUnnamed3600();
}
buildCounterListReleasesResponse--;
return o;
@@ -282,19 +282,19 @@
buildCounterListReleasesResponse++;
if (buildCounterListReleasesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3508(o.releases);
+ checkUnnamed3600(o.releases);
}
buildCounterListReleasesResponse--;
}
-buildUnnamed3509() {
+buildUnnamed3601() {
var o = new core.List<api.Ruleset>();
o.add(buildRuleset());
o.add(buildRuleset());
return o;
}
-checkUnnamed3509(core.List<api.Ruleset> o) {
+checkUnnamed3601(core.List<api.Ruleset> o) {
unittest.expect(o, unittest.hasLength(2));
checkRuleset(o[0]);
checkRuleset(o[1]);
@@ -306,7 +306,7 @@
buildCounterListRulesetsResponse++;
if (buildCounterListRulesetsResponse < 3) {
o.nextPageToken = "foo";
- o.rulesets = buildUnnamed3509();
+ o.rulesets = buildUnnamed3601();
}
buildCounterListRulesetsResponse--;
return o;
@@ -316,7 +316,7 @@
buildCounterListRulesetsResponse++;
if (buildCounterListRulesetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3509(o.rulesets);
+ checkUnnamed3601(o.rulesets);
}
buildCounterListRulesetsResponse--;
}
@@ -398,14 +398,14 @@
buildCounterRuleset--;
}
-buildUnnamed3510() {
+buildUnnamed3602() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed3510(core.List<api.File> o) {
+checkUnnamed3602(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -416,7 +416,7 @@
var o = new api.Source();
buildCounterSource++;
if (buildCounterSource < 3) {
- o.files = buildUnnamed3510();
+ o.files = buildUnnamed3602();
}
buildCounterSource--;
return o;
@@ -425,7 +425,7 @@
checkSource(api.Source o) {
buildCounterSource++;
if (buildCounterSource < 3) {
- checkUnnamed3510(o.files);
+ checkUnnamed3602(o.files);
}
buildCounterSource--;
}
@@ -453,14 +453,14 @@
buildCounterSourcePosition--;
}
-buildUnnamed3511() {
+buildUnnamed3603() {
var o = new core.List<api.FunctionMock>();
o.add(buildFunctionMock());
o.add(buildFunctionMock());
return o;
}
-checkUnnamed3511(core.List<api.FunctionMock> o) {
+checkUnnamed3603(core.List<api.FunctionMock> o) {
unittest.expect(o, unittest.hasLength(2));
checkFunctionMock(o[0]);
checkFunctionMock(o[1]);
@@ -472,7 +472,7 @@
buildCounterTestCase++;
if (buildCounterTestCase < 3) {
o.expectation = "foo";
- o.functionMocks = buildUnnamed3511();
+ o.functionMocks = buildUnnamed3603();
o.request = {
'list': [1, 2, 3],
'bool': true,
@@ -492,7 +492,7 @@
buildCounterTestCase++;
if (buildCounterTestCase < 3) {
unittest.expect(o.expectation, unittest.equals('foo'));
- checkUnnamed3511(o.functionMocks);
+ checkUnnamed3603(o.functionMocks);
var casted5 = (o.request) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
@@ -507,27 +507,27 @@
buildCounterTestCase--;
}
-buildUnnamed3512() {
+buildUnnamed3604() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3512(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'));
}
-buildUnnamed3513() {
+buildUnnamed3605() {
var o = new core.List<api.FunctionCall>();
o.add(buildFunctionCall());
o.add(buildFunctionCall());
return o;
}
-checkUnnamed3513(core.List<api.FunctionCall> o) {
+checkUnnamed3605(core.List<api.FunctionCall> o) {
unittest.expect(o, unittest.hasLength(2));
checkFunctionCall(o[0]);
checkFunctionCall(o[1]);
@@ -538,9 +538,9 @@
var o = new api.TestResult();
buildCounterTestResult++;
if (buildCounterTestResult < 3) {
- o.debugMessages = buildUnnamed3512();
+ o.debugMessages = buildUnnamed3604();
o.errorPosition = buildSourcePosition();
- o.functionCalls = buildUnnamed3513();
+ o.functionCalls = buildUnnamed3605();
o.state = "foo";
}
buildCounterTestResult--;
@@ -550,9 +550,9 @@
checkTestResult(api.TestResult o) {
buildCounterTestResult++;
if (buildCounterTestResult < 3) {
- checkUnnamed3512(o.debugMessages);
+ checkUnnamed3604(o.debugMessages);
checkSourcePosition(o.errorPosition);
- checkUnnamed3513(o.functionCalls);
+ checkUnnamed3605(o.functionCalls);
unittest.expect(o.state, unittest.equals('foo'));
}
buildCounterTestResult--;
@@ -579,27 +579,27 @@
buildCounterTestRulesetRequest--;
}
-buildUnnamed3514() {
+buildUnnamed3606() {
var o = new core.List<api.Issue>();
o.add(buildIssue());
o.add(buildIssue());
return o;
}
-checkUnnamed3514(core.List<api.Issue> o) {
+checkUnnamed3606(core.List<api.Issue> o) {
unittest.expect(o, unittest.hasLength(2));
checkIssue(o[0]);
checkIssue(o[1]);
}
-buildUnnamed3515() {
+buildUnnamed3607() {
var o = new core.List<api.TestResult>();
o.add(buildTestResult());
o.add(buildTestResult());
return o;
}
-checkUnnamed3515(core.List<api.TestResult> o) {
+checkUnnamed3607(core.List<api.TestResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestResult(o[0]);
checkTestResult(o[1]);
@@ -610,8 +610,8 @@
var o = new api.TestRulesetResponse();
buildCounterTestRulesetResponse++;
if (buildCounterTestRulesetResponse < 3) {
- o.issues = buildUnnamed3514();
- o.testResults = buildUnnamed3515();
+ o.issues = buildUnnamed3606();
+ o.testResults = buildUnnamed3607();
}
buildCounterTestRulesetResponse--;
return o;
@@ -620,20 +620,20 @@
checkTestRulesetResponse(api.TestRulesetResponse o) {
buildCounterTestRulesetResponse++;
if (buildCounterTestRulesetResponse < 3) {
- checkUnnamed3514(o.issues);
- checkUnnamed3515(o.testResults);
+ checkUnnamed3606(o.issues);
+ checkUnnamed3607(o.testResults);
}
buildCounterTestRulesetResponse--;
}
-buildUnnamed3516() {
+buildUnnamed3608() {
var o = new core.List<api.TestCase>();
o.add(buildTestCase());
o.add(buildTestCase());
return o;
}
-checkUnnamed3516(core.List<api.TestCase> o) {
+checkUnnamed3608(core.List<api.TestCase> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestCase(o[0]);
checkTestCase(o[1]);
@@ -644,7 +644,7 @@
var o = new api.TestSuite();
buildCounterTestSuite++;
if (buildCounterTestSuite < 3) {
- o.testCases = buildUnnamed3516();
+ o.testCases = buildUnnamed3608();
}
buildCounterTestSuite--;
return o;
@@ -653,7 +653,7 @@
checkTestSuite(api.TestSuite o) {
buildCounterTestSuite++;
if (buildCounterTestSuite < 3) {
- checkUnnamed3516(o.testCases);
+ checkUnnamed3608(o.testCases);
}
buildCounterTestSuite--;
}
@@ -1120,9 +1120,9 @@
api.ProjectsReleasesResourceApi res =
new api.FirebaserulesApi(mock).projects.releases;
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;
@@ -1155,11 +1155,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 = {
@@ -1170,9 +1170,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListReleasesResponse response) {
checkListReleasesResponse(response);
@@ -1458,9 +1458,9 @@
api.ProjectsRulesetsResourceApi res =
new api.FirebaserulesApi(mock).projects.rulesets;
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;
@@ -1493,11 +1493,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 = {
@@ -1508,9 +1508,9 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
filter: arg_filter,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListRulesetsResponse response) {
checkListRulesetsResponse(response);
diff --git a/generated/googleapis/test/fitness/v1_test.dart b/generated/googleapis/test/fitness/v1_test.dart
index cad08ac..ca53ba6 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);
}
-buildUnnamed1990() {
+buildUnnamed2004() {
var o = new core.List<api.Dataset>();
o.add(buildDataset());
o.add(buildDataset());
return o;
}
-checkUnnamed1990(core.List<api.Dataset> o) {
+checkUnnamed2004(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 = buildUnnamed1990();
+ o.dataset = buildUnnamed2004();
o.endTimeMillis = "foo";
o.session = buildSession();
o.startTimeMillis = "foo";
@@ -83,7 +83,7 @@
buildCounterAggregateBucket++;
if (buildCounterAggregateBucket < 3) {
unittest.expect(o.activity, unittest.equals(42));
- checkUnnamed1990(o.dataset);
+ checkUnnamed2004(o.dataset);
unittest.expect(o.endTimeMillis, unittest.equals('foo'));
checkSession(o.session);
unittest.expect(o.startTimeMillis, unittest.equals('foo'));
@@ -113,27 +113,27 @@
buildCounterAggregateBy--;
}
-buildUnnamed1991() {
+buildUnnamed2005() {
var o = new core.List<api.AggregateBy>();
o.add(buildAggregateBy());
o.add(buildAggregateBy());
return o;
}
-checkUnnamed1991(core.List<api.AggregateBy> o) {
+checkUnnamed2005(core.List<api.AggregateBy> o) {
unittest.expect(o, unittest.hasLength(2));
checkAggregateBy(o[0]);
checkAggregateBy(o[1]);
}
-buildUnnamed1992() {
+buildUnnamed2006() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1992(core.List<core.String> o) {
+checkUnnamed2006(core.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 = buildUnnamed1991();
+ o.aggregateBy = buildUnnamed2005();
o.bucketByActivitySegment = buildBucketByActivity();
o.bucketByActivityType = buildBucketByActivity();
o.bucketBySession = buildBucketBySession();
o.bucketByTime = buildBucketByTime();
o.endTimeMillis = "foo";
- o.filteredDataQualityStandard = buildUnnamed1992();
+ o.filteredDataQualityStandard = buildUnnamed2006();
o.startTimeMillis = "foo";
}
buildCounterAggregateRequest--;
@@ -160,26 +160,26 @@
checkAggregateRequest(api.AggregateRequest o) {
buildCounterAggregateRequest++;
if (buildCounterAggregateRequest < 3) {
- checkUnnamed1991(o.aggregateBy);
+ checkUnnamed2005(o.aggregateBy);
checkBucketByActivity(o.bucketByActivitySegment);
checkBucketByActivity(o.bucketByActivityType);
checkBucketBySession(o.bucketBySession);
checkBucketByTime(o.bucketByTime);
unittest.expect(o.endTimeMillis, unittest.equals('foo'));
- checkUnnamed1992(o.filteredDataQualityStandard);
+ checkUnnamed2006(o.filteredDataQualityStandard);
unittest.expect(o.startTimeMillis, unittest.equals('foo'));
}
buildCounterAggregateRequest--;
}
-buildUnnamed1993() {
+buildUnnamed2007() {
var o = new core.List<api.AggregateBucket>();
o.add(buildAggregateBucket());
o.add(buildAggregateBucket());
return o;
}
-checkUnnamed1993(core.List<api.AggregateBucket> o) {
+checkUnnamed2007(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 = buildUnnamed1993();
+ o.bucket = buildUnnamed2007();
}
buildCounterAggregateResponse--;
return o;
@@ -199,7 +199,7 @@
checkAggregateResponse(api.AggregateResponse o) {
buildCounterAggregateResponse++;
if (buildCounterAggregateResponse < 3) {
- checkUnnamed1993(o.bucket);
+ checkUnnamed2007(o.bucket);
}
buildCounterAggregateResponse--;
}
@@ -313,14 +313,14 @@
buildCounterBucketByTimePeriod--;
}
-buildUnnamed1994() {
+buildUnnamed2008() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed1994(core.List<api.Value> o) {
+checkUnnamed2008(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 = buildUnnamed1994();
+ o.value = buildUnnamed2008();
}
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'));
- checkUnnamed1994(o.value);
+ checkUnnamed2008(o.value);
}
buildCounterDataPoint--;
}
-buildUnnamed1995() {
+buildUnnamed2009() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1995(core.List<core.String> o) {
+checkUnnamed2009(core.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 = buildUnnamed1995();
+ o.dataQualityStandard = buildUnnamed2009();
o.dataStreamId = "foo";
o.dataStreamName = "foo";
o.dataType = buildDataType();
@@ -394,7 +394,7 @@
buildCounterDataSource++;
if (buildCounterDataSource < 3) {
checkApplication(o.application);
- checkUnnamed1995(o.dataQualityStandard);
+ checkUnnamed2009(o.dataQualityStandard);
unittest.expect(o.dataStreamId, unittest.equals('foo'));
unittest.expect(o.dataStreamName, unittest.equals('foo'));
checkDataType(o.dataType);
@@ -405,14 +405,14 @@
buildCounterDataSource--;
}
-buildUnnamed1996() {
+buildUnnamed2010() {
var o = new core.List<api.DataTypeField>();
o.add(buildDataTypeField());
o.add(buildDataTypeField());
return o;
}
-checkUnnamed1996(core.List<api.DataTypeField> o) {
+checkUnnamed2010(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 = buildUnnamed1996();
+ o.field = buildUnnamed2010();
o.name = "foo";
}
buildCounterDataType--;
@@ -433,7 +433,7 @@
checkDataType(api.DataType o) {
buildCounterDataType++;
if (buildCounterDataType < 3) {
- checkUnnamed1996(o.field);
+ checkUnnamed2010(o.field);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterDataType--;
@@ -462,14 +462,14 @@
buildCounterDataTypeField--;
}
-buildUnnamed1997() {
+buildUnnamed2011() {
var o = new core.List<api.DataPoint>();
o.add(buildDataPoint());
o.add(buildDataPoint());
return o;
}
-checkUnnamed1997(core.List<api.DataPoint> o) {
+checkUnnamed2011(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 = buildUnnamed1997();
+ o.point = buildUnnamed2011();
}
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'));
- checkUnnamed1997(o.point);
+ checkUnnamed2011(o.point);
}
buildCounterDataset--;
}
@@ -529,27 +529,27 @@
buildCounterDevice--;
}
-buildUnnamed1998() {
+buildUnnamed2012() {
var o = new core.List<api.DataPoint>();
o.add(buildDataPoint());
o.add(buildDataPoint());
return o;
}
-checkUnnamed1998(core.List<api.DataPoint> o) {
+checkUnnamed2012(core.List<api.DataPoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataPoint(o[0]);
checkDataPoint(o[1]);
}
-buildUnnamed1999() {
+buildUnnamed2013() {
var o = new core.List<api.DataPoint>();
o.add(buildDataPoint());
o.add(buildDataPoint());
return o;
}
-checkUnnamed1999(core.List<api.DataPoint> o) {
+checkUnnamed2013(core.List<api.DataPoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataPoint(o[0]);
checkDataPoint(o[1]);
@@ -561,8 +561,8 @@
buildCounterListDataPointChangesResponse++;
if (buildCounterListDataPointChangesResponse < 3) {
o.dataSourceId = "foo";
- o.deletedDataPoint = buildUnnamed1998();
- o.insertedDataPoint = buildUnnamed1999();
+ o.deletedDataPoint = buildUnnamed2012();
+ o.insertedDataPoint = buildUnnamed2013();
o.nextPageToken = "foo";
}
buildCounterListDataPointChangesResponse--;
@@ -573,21 +573,21 @@
buildCounterListDataPointChangesResponse++;
if (buildCounterListDataPointChangesResponse < 3) {
unittest.expect(o.dataSourceId, unittest.equals('foo'));
- checkUnnamed1998(o.deletedDataPoint);
- checkUnnamed1999(o.insertedDataPoint);
+ checkUnnamed2012(o.deletedDataPoint);
+ checkUnnamed2013(o.insertedDataPoint);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDataPointChangesResponse--;
}
-buildUnnamed2000() {
+buildUnnamed2014() {
var o = new core.List<api.DataSource>();
o.add(buildDataSource());
o.add(buildDataSource());
return o;
}
-checkUnnamed2000(core.List<api.DataSource> o) {
+checkUnnamed2014(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 = buildUnnamed2000();
+ o.dataSource = buildUnnamed2014();
}
buildCounterListDataSourcesResponse--;
return o;
@@ -607,32 +607,32 @@
checkListDataSourcesResponse(api.ListDataSourcesResponse o) {
buildCounterListDataSourcesResponse++;
if (buildCounterListDataSourcesResponse < 3) {
- checkUnnamed2000(o.dataSource);
+ checkUnnamed2014(o.dataSource);
}
buildCounterListDataSourcesResponse--;
}
-buildUnnamed2001() {
+buildUnnamed2015() {
var o = new core.List<api.Session>();
o.add(buildSession());
o.add(buildSession());
return o;
}
-checkUnnamed2001(core.List<api.Session> o) {
+checkUnnamed2015(core.List<api.Session> o) {
unittest.expect(o, unittest.hasLength(2));
checkSession(o[0]);
checkSession(o[1]);
}
-buildUnnamed2002() {
+buildUnnamed2016() {
var o = new core.List<api.Session>();
o.add(buildSession());
o.add(buildSession());
return o;
}
-checkUnnamed2002(core.List<api.Session> o) {
+checkUnnamed2016(core.List<api.Session> o) {
unittest.expect(o, unittest.hasLength(2));
checkSession(o[0]);
checkSession(o[1]);
@@ -643,10 +643,10 @@
var o = new api.ListSessionsResponse();
buildCounterListSessionsResponse++;
if (buildCounterListSessionsResponse < 3) {
- o.deletedSession = buildUnnamed2001();
+ o.deletedSession = buildUnnamed2015();
o.hasMoreData = true;
o.nextPageToken = "foo";
- o.session = buildUnnamed2002();
+ o.session = buildUnnamed2016();
}
buildCounterListSessionsResponse--;
return o;
@@ -655,10 +655,10 @@
checkListSessionsResponse(api.ListSessionsResponse o) {
buildCounterListSessionsResponse++;
if (buildCounterListSessionsResponse < 3) {
- checkUnnamed2001(o.deletedSession);
+ checkUnnamed2015(o.deletedSession);
unittest.expect(o.hasMoreData, unittest.isTrue);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2002(o.session);
+ checkUnnamed2016(o.session);
}
buildCounterListSessionsResponse--;
}
@@ -717,14 +717,14 @@
buildCounterSession--;
}
-buildUnnamed2003() {
+buildUnnamed2017() {
var o = new core.List<api.ValueMapValEntry>();
o.add(buildValueMapValEntry());
o.add(buildValueMapValEntry());
return o;
}
-checkUnnamed2003(core.List<api.ValueMapValEntry> o) {
+checkUnnamed2017(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 = buildUnnamed2003();
+ o.mapVal = buildUnnamed2017();
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));
- checkUnnamed2003(o.mapVal);
+ checkUnnamed2017(o.mapVal);
unittest.expect(o.stringVal, unittest.equals('foo'));
}
buildCounterValue--;
@@ -776,14 +776,14 @@
buildCounterValueMapValEntry--;
}
-buildUnnamed2004() {
+buildUnnamed2018() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2004(core.List<core.String> o) {
+checkUnnamed2018(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1122,7 +1122,7 @@
api.UsersDataSourcesResourceApi res =
new api.FitnessApi(mock).users.dataSources;
var arg_userId = "foo";
- var arg_dataTypeName = buildUnnamed2004();
+ var arg_dataTypeName = buildUnnamed2018();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/fusiontables/v1_test.dart b/generated/googleapis/test/fusiontables/v1_test.dart
index 9548be3..8b43433 100644
--- a/generated/googleapis/test/fusiontables/v1_test.dart
+++ b/generated/googleapis/test/fusiontables/v1_test.dart
@@ -131,14 +131,14 @@
buildCounterColumn--;
}
-buildUnnamed3074() {
+buildUnnamed3093() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed3074(core.List<api.Column> o) {
+checkUnnamed3093(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -149,7 +149,7 @@
var o = new api.ColumnList();
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- o.items = buildUnnamed3074();
+ o.items = buildUnnamed3093();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -161,7 +161,7 @@
checkColumnList(api.ColumnList o) {
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- checkUnnamed3074(o.items);
+ checkUnnamed3093(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -169,7 +169,7 @@
buildCounterColumnList--;
}
-buildUnnamed3075() {
+buildUnnamed3094() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -184,7 +184,7 @@
return o;
}
-checkUnnamed3075(core.List<core.Object> o) {
+checkUnnamed3094(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -203,7 +203,7 @@
var o = new api.Geometry();
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- o.geometries = buildUnnamed3075();
+ o.geometries = buildUnnamed3094();
o.geometry = {
'list': [1, 2, 3],
'bool': true,
@@ -218,7 +218,7 @@
checkGeometry(api.Geometry o) {
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- checkUnnamed3075(o.geometries);
+ checkUnnamed3094(o.geometries);
var casted3 = (o.geometry) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
@@ -250,30 +250,30 @@
buildCounterImport--;
}
-buildUnnamed3076() {
+buildUnnamed3095() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed3076(core.List<core.double> o) {
+checkUnnamed3095(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));
}
-buildUnnamed3077() {
+buildUnnamed3096() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed3076());
- o.add(buildUnnamed3076());
+ o.add(buildUnnamed3095());
+ o.add(buildUnnamed3095());
return o;
}
-checkUnnamed3077(core.List<core.List<core.double>> o) {
+checkUnnamed3096(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3076(o[0]);
- checkUnnamed3076(o[1]);
+ checkUnnamed3095(o[0]);
+ checkUnnamed3095(o[1]);
}
core.int buildCounterLine = 0;
@@ -281,7 +281,7 @@
var o = new api.Line();
buildCounterLine++;
if (buildCounterLine < 3) {
- o.coordinates = buildUnnamed3077();
+ o.coordinates = buildUnnamed3096();
o.type = "foo";
}
buildCounterLine--;
@@ -291,7 +291,7 @@
checkLine(api.Line o) {
buildCounterLine++;
if (buildCounterLine < 3) {
- checkUnnamed3077(o.coordinates);
+ checkUnnamed3096(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterLine--;
@@ -324,14 +324,14 @@
buildCounterLineStyle--;
}
-buildUnnamed3078() {
+buildUnnamed3097() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed3078(core.List<core.double> o) {
+checkUnnamed3097(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));
@@ -342,7 +342,7 @@
var o = new api.Point();
buildCounterPoint++;
if (buildCounterPoint < 3) {
- o.coordinates = buildUnnamed3078();
+ o.coordinates = buildUnnamed3097();
o.type = "foo";
}
buildCounterPoint--;
@@ -352,7 +352,7 @@
checkPoint(api.Point o) {
buildCounterPoint++;
if (buildCounterPoint < 3) {
- checkUnnamed3078(o.coordinates);
+ checkUnnamed3097(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPoint--;
@@ -379,43 +379,43 @@
buildCounterPointStyle--;
}
-buildUnnamed3079() {
+buildUnnamed3098() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed3079(core.List<core.double> o) {
+checkUnnamed3098(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));
}
-buildUnnamed3080() {
+buildUnnamed3099() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed3079());
- o.add(buildUnnamed3079());
+ o.add(buildUnnamed3098());
+ o.add(buildUnnamed3098());
return o;
}
-checkUnnamed3080(core.List<core.List<core.double>> o) {
+checkUnnamed3099(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3079(o[0]);
- checkUnnamed3079(o[1]);
+ checkUnnamed3098(o[0]);
+ checkUnnamed3098(o[1]);
}
-buildUnnamed3081() {
+buildUnnamed3100() {
var o = new core.List<core.List<core.List<core.double>>>();
- o.add(buildUnnamed3080());
- o.add(buildUnnamed3080());
+ o.add(buildUnnamed3099());
+ o.add(buildUnnamed3099());
return o;
}
-checkUnnamed3081(core.List<core.List<core.List<core.double>>> o) {
+checkUnnamed3100(core.List<core.List<core.List<core.double>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3080(o[0]);
- checkUnnamed3080(o[1]);
+ checkUnnamed3099(o[0]);
+ checkUnnamed3099(o[1]);
}
core.int buildCounterPolygon = 0;
@@ -423,7 +423,7 @@
var o = new api.Polygon();
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- o.coordinates = buildUnnamed3081();
+ o.coordinates = buildUnnamed3100();
o.type = "foo";
}
buildCounterPolygon--;
@@ -433,7 +433,7 @@
checkPolygon(api.Polygon o) {
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- checkUnnamed3081(o.coordinates);
+ checkUnnamed3100(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPolygon--;
@@ -472,20 +472,20 @@
buildCounterPolygonStyle--;
}
-buildUnnamed3082() {
+buildUnnamed3101() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3082(core.List<core.String> o) {
+checkUnnamed3101(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3083() {
+buildUnnamed3102() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -500,7 +500,7 @@
return o;
}
-checkUnnamed3083(core.List<core.Object> o) {
+checkUnnamed3102(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted4 = (o[0]) as core.Map;
unittest.expect(casted4, unittest.hasLength(3));
@@ -514,17 +514,17 @@
unittest.expect(casted5["string"], unittest.equals('foo'));
}
-buildUnnamed3084() {
+buildUnnamed3103() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed3083());
- o.add(buildUnnamed3083());
+ o.add(buildUnnamed3102());
+ o.add(buildUnnamed3102());
return o;
}
-checkUnnamed3084(core.List<core.List<core.Object>> o) {
+checkUnnamed3103(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3083(o[0]);
- checkUnnamed3083(o[1]);
+ checkUnnamed3102(o[0]);
+ checkUnnamed3102(o[1]);
}
core.int buildCounterSqlresponse = 0;
@@ -532,9 +532,9 @@
var o = new api.Sqlresponse();
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- o.columns = buildUnnamed3082();
+ o.columns = buildUnnamed3101();
o.kind = "foo";
- o.rows = buildUnnamed3084();
+ o.rows = buildUnnamed3103();
}
buildCounterSqlresponse--;
return o;
@@ -543,21 +543,21 @@
checkSqlresponse(api.Sqlresponse o) {
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- checkUnnamed3082(o.columns);
+ checkUnnamed3101(o.columns);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3084(o.rows);
+ checkUnnamed3103(o.rows);
}
buildCounterSqlresponse--;
}
-buildUnnamed3085() {
+buildUnnamed3104() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed3085(core.List<api.Bucket> o) {
+checkUnnamed3104(core.List<api.Bucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucket(o[0]);
checkBucket(o[1]);
@@ -584,14 +584,14 @@
buildCounterStyleFunctionGradientColors--;
}
-buildUnnamed3086() {
+buildUnnamed3105() {
var o = new core.List<api.StyleFunctionGradientColors>();
o.add(buildStyleFunctionGradientColors());
o.add(buildStyleFunctionGradientColors());
return o;
}
-checkUnnamed3086(core.List<api.StyleFunctionGradientColors> o) {
+checkUnnamed3105(core.List<api.StyleFunctionGradientColors> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleFunctionGradientColors(o[0]);
checkStyleFunctionGradientColors(o[1]);
@@ -602,7 +602,7 @@
var o = new api.StyleFunctionGradient();
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- o.colors = buildUnnamed3086();
+ o.colors = buildUnnamed3105();
o.max = 42.0;
o.min = 42.0;
}
@@ -613,7 +613,7 @@
checkStyleFunctionGradient(api.StyleFunctionGradient o) {
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- checkUnnamed3086(o.colors);
+ checkUnnamed3105(o.colors);
unittest.expect(o.max, unittest.equals(42.0));
unittest.expect(o.min, unittest.equals(42.0));
}
@@ -625,7 +625,7 @@
var o = new api.StyleFunction();
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- o.buckets = buildUnnamed3085();
+ o.buckets = buildUnnamed3104();
o.columnName = "foo";
o.gradient = buildStyleFunctionGradient();
o.kind = "foo";
@@ -637,7 +637,7 @@
checkStyleFunction(api.StyleFunction o) {
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- checkUnnamed3085(o.buckets);
+ checkUnnamed3104(o.buckets);
unittest.expect(o.columnName, unittest.equals('foo'));
checkStyleFunctionGradient(o.gradient);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -676,14 +676,14 @@
buildCounterStyleSetting--;
}
-buildUnnamed3087() {
+buildUnnamed3106() {
var o = new core.List<api.StyleSetting>();
o.add(buildStyleSetting());
o.add(buildStyleSetting());
return o;
}
-checkUnnamed3087(core.List<api.StyleSetting> o) {
+checkUnnamed3106(core.List<api.StyleSetting> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleSetting(o[0]);
checkStyleSetting(o[1]);
@@ -694,7 +694,7 @@
var o = new api.StyleSettingList();
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- o.items = buildUnnamed3087();
+ o.items = buildUnnamed3106();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -706,7 +706,7 @@
checkStyleSettingList(api.StyleSettingList o) {
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- checkUnnamed3087(o.items);
+ checkUnnamed3106(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -714,27 +714,27 @@
buildCounterStyleSettingList--;
}
-buildUnnamed3088() {
+buildUnnamed3107() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3088(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'));
}
-buildUnnamed3089() {
+buildUnnamed3108() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed3089(core.List<api.Column> o) {
+checkUnnamed3108(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -747,8 +747,8 @@
if (buildCounterTable < 3) {
o.attribution = "foo";
o.attributionLink = "foo";
- o.baseTableIds = buildUnnamed3088();
- o.columns = buildUnnamed3089();
+ o.baseTableIds = buildUnnamed3107();
+ o.columns = buildUnnamed3108();
o.description = "foo";
o.isExportable = true;
o.kind = "foo";
@@ -765,8 +765,8 @@
if (buildCounterTable < 3) {
unittest.expect(o.attribution, unittest.equals('foo'));
unittest.expect(o.attributionLink, unittest.equals('foo'));
- checkUnnamed3088(o.baseTableIds);
- checkUnnamed3089(o.columns);
+ checkUnnamed3107(o.baseTableIds);
+ checkUnnamed3108(o.columns);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.isExportable, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -777,14 +777,14 @@
buildCounterTable--;
}
-buildUnnamed3090() {
+buildUnnamed3109() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed3090(core.List<api.Table> o) {
+checkUnnamed3109(core.List<api.Table> o) {
unittest.expect(o, unittest.hasLength(2));
checkTable(o[0]);
checkTable(o[1]);
@@ -795,7 +795,7 @@
var o = new api.TableList();
buildCounterTableList++;
if (buildCounterTableList < 3) {
- o.items = buildUnnamed3090();
+ o.items = buildUnnamed3109();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -806,7 +806,7 @@
checkTableList(api.TableList o) {
buildCounterTableList++;
if (buildCounterTableList < 3) {
- checkUnnamed3090(o.items);
+ checkUnnamed3109(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -840,14 +840,14 @@
buildCounterTask--;
}
-buildUnnamed3091() {
+buildUnnamed3110() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed3091(core.List<api.Task> o) {
+checkUnnamed3110(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -858,7 +858,7 @@
var o = new api.TaskList();
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- o.items = buildUnnamed3091();
+ o.items = buildUnnamed3110();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -870,7 +870,7 @@
checkTaskList(api.TaskList o) {
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- checkUnnamed3091(o.items);
+ checkUnnamed3110(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -878,14 +878,14 @@
buildCounterTaskList--;
}
-buildUnnamed3092() {
+buildUnnamed3111() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3092(core.List<core.String> 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'));
@@ -896,7 +896,7 @@
var o = new api.Template();
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- o.automaticColumnNames = buildUnnamed3092();
+ o.automaticColumnNames = buildUnnamed3111();
o.body = "foo";
o.kind = "foo";
o.name = "foo";
@@ -910,7 +910,7 @@
checkTemplate(api.Template o) {
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- checkUnnamed3092(o.automaticColumnNames);
+ checkUnnamed3111(o.automaticColumnNames);
unittest.expect(o.body, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -920,14 +920,14 @@
buildCounterTemplate--;
}
-buildUnnamed3093() {
+buildUnnamed3112() {
var o = new core.List<api.Template>();
o.add(buildTemplate());
o.add(buildTemplate());
return o;
}
-checkUnnamed3093(core.List<api.Template> o) {
+checkUnnamed3112(core.List<api.Template> o) {
unittest.expect(o, unittest.hasLength(2));
checkTemplate(o[0]);
checkTemplate(o[1]);
@@ -938,7 +938,7 @@
var o = new api.TemplateList();
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- o.items = buildUnnamed3093();
+ o.items = buildUnnamed3112();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -950,7 +950,7 @@
checkTemplateList(api.TemplateList o) {
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- checkUnnamed3093(o.items);
+ checkUnnamed3112(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
diff --git a/generated/googleapis/test/fusiontables/v2_test.dart b/generated/googleapis/test/fusiontables/v2_test.dart
index e633a2c..948f474 100644
--- a/generated/googleapis/test/fusiontables/v2_test.dart
+++ b/generated/googleapis/test/fusiontables/v2_test.dart
@@ -100,14 +100,14 @@
buildCounterColumnBaseColumn--;
}
-buildUnnamed507() {
+buildUnnamed512() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed507(core.List<core.String> o) {
+checkUnnamed512(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -128,7 +128,7 @@
o.kind = "foo";
o.name = "foo";
o.type = "foo";
- o.validValues = buildUnnamed507();
+ o.validValues = buildUnnamed512();
o.validateData = true;
}
buildCounterColumn--;
@@ -148,20 +148,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
- checkUnnamed507(o.validValues);
+ checkUnnamed512(o.validValues);
unittest.expect(o.validateData, unittest.isTrue);
}
buildCounterColumn--;
}
-buildUnnamed508() {
+buildUnnamed513() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed508(core.List<api.Column> o) {
+checkUnnamed513(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -172,7 +172,7 @@
var o = new api.ColumnList();
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- o.items = buildUnnamed508();
+ o.items = buildUnnamed513();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -184,7 +184,7 @@
checkColumnList(api.ColumnList o) {
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- checkUnnamed508(o.items);
+ checkUnnamed513(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -192,7 +192,7 @@
buildCounterColumnList--;
}
-buildUnnamed509() {
+buildUnnamed514() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -207,7 +207,7 @@
return o;
}
-checkUnnamed509(core.List<core.Object> o) {
+checkUnnamed514(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -226,7 +226,7 @@
var o = new api.Geometry();
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- o.geometries = buildUnnamed509();
+ o.geometries = buildUnnamed514();
o.geometry = {
'list': [1, 2, 3],
'bool': true,
@@ -241,7 +241,7 @@
checkGeometry(api.Geometry o) {
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- checkUnnamed509(o.geometries);
+ checkUnnamed514(o.geometries);
var casted3 = (o.geometry) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
@@ -273,30 +273,30 @@
buildCounterImport--;
}
-buildUnnamed510() {
+buildUnnamed515() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed510(core.List<core.double> o) {
+checkUnnamed515(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));
}
-buildUnnamed511() {
+buildUnnamed516() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed510());
- o.add(buildUnnamed510());
+ o.add(buildUnnamed515());
+ o.add(buildUnnamed515());
return o;
}
-checkUnnamed511(core.List<core.List<core.double>> o) {
+checkUnnamed516(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed510(o[0]);
- checkUnnamed510(o[1]);
+ checkUnnamed515(o[0]);
+ checkUnnamed515(o[1]);
}
core.int buildCounterLine = 0;
@@ -304,7 +304,7 @@
var o = new api.Line();
buildCounterLine++;
if (buildCounterLine < 3) {
- o.coordinates = buildUnnamed511();
+ o.coordinates = buildUnnamed516();
o.type = "foo";
}
buildCounterLine--;
@@ -314,7 +314,7 @@
checkLine(api.Line o) {
buildCounterLine++;
if (buildCounterLine < 3) {
- checkUnnamed511(o.coordinates);
+ checkUnnamed516(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterLine--;
@@ -347,14 +347,14 @@
buildCounterLineStyle--;
}
-buildUnnamed512() {
+buildUnnamed517() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed512(core.List<core.double> o) {
+checkUnnamed517(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));
@@ -365,7 +365,7 @@
var o = new api.Point();
buildCounterPoint++;
if (buildCounterPoint < 3) {
- o.coordinates = buildUnnamed512();
+ o.coordinates = buildUnnamed517();
o.type = "foo";
}
buildCounterPoint--;
@@ -375,7 +375,7 @@
checkPoint(api.Point o) {
buildCounterPoint++;
if (buildCounterPoint < 3) {
- checkUnnamed512(o.coordinates);
+ checkUnnamed517(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPoint--;
@@ -402,43 +402,43 @@
buildCounterPointStyle--;
}
-buildUnnamed513() {
+buildUnnamed518() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed513(core.List<core.double> o) {
+checkUnnamed518(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));
}
-buildUnnamed514() {
+buildUnnamed519() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed513());
- o.add(buildUnnamed513());
+ o.add(buildUnnamed518());
+ o.add(buildUnnamed518());
return o;
}
-checkUnnamed514(core.List<core.List<core.double>> o) {
+checkUnnamed519(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed513(o[0]);
- checkUnnamed513(o[1]);
+ checkUnnamed518(o[0]);
+ checkUnnamed518(o[1]);
}
-buildUnnamed515() {
+buildUnnamed520() {
var o = new core.List<core.List<core.List<core.double>>>();
- o.add(buildUnnamed514());
- o.add(buildUnnamed514());
+ o.add(buildUnnamed519());
+ o.add(buildUnnamed519());
return o;
}
-checkUnnamed515(core.List<core.List<core.List<core.double>>> o) {
+checkUnnamed520(core.List<core.List<core.List<core.double>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed514(o[0]);
- checkUnnamed514(o[1]);
+ checkUnnamed519(o[0]);
+ checkUnnamed519(o[1]);
}
core.int buildCounterPolygon = 0;
@@ -446,7 +446,7 @@
var o = new api.Polygon();
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- o.coordinates = buildUnnamed515();
+ o.coordinates = buildUnnamed520();
o.type = "foo";
}
buildCounterPolygon--;
@@ -456,7 +456,7 @@
checkPolygon(api.Polygon o) {
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- checkUnnamed515(o.coordinates);
+ checkUnnamed520(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPolygon--;
@@ -495,20 +495,20 @@
buildCounterPolygonStyle--;
}
-buildUnnamed516() {
+buildUnnamed521() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed516(core.List<core.String> 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'));
}
-buildUnnamed517() {
+buildUnnamed522() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -523,7 +523,7 @@
return o;
}
-checkUnnamed517(core.List<core.Object> o) {
+checkUnnamed522(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted4 = (o[0]) as core.Map;
unittest.expect(casted4, unittest.hasLength(3));
@@ -537,17 +537,17 @@
unittest.expect(casted5["string"], unittest.equals('foo'));
}
-buildUnnamed518() {
+buildUnnamed523() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed517());
- o.add(buildUnnamed517());
+ o.add(buildUnnamed522());
+ o.add(buildUnnamed522());
return o;
}
-checkUnnamed518(core.List<core.List<core.Object>> o) {
+checkUnnamed523(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed517(o[0]);
- checkUnnamed517(o[1]);
+ checkUnnamed522(o[0]);
+ checkUnnamed522(o[1]);
}
core.int buildCounterSqlresponse = 0;
@@ -555,9 +555,9 @@
var o = new api.Sqlresponse();
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- o.columns = buildUnnamed516();
+ o.columns = buildUnnamed521();
o.kind = "foo";
- o.rows = buildUnnamed518();
+ o.rows = buildUnnamed523();
}
buildCounterSqlresponse--;
return o;
@@ -566,21 +566,21 @@
checkSqlresponse(api.Sqlresponse o) {
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- checkUnnamed516(o.columns);
+ checkUnnamed521(o.columns);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed518(o.rows);
+ checkUnnamed523(o.rows);
}
buildCounterSqlresponse--;
}
-buildUnnamed519() {
+buildUnnamed524() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed519(core.List<api.Bucket> o) {
+checkUnnamed524(core.List<api.Bucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucket(o[0]);
checkBucket(o[1]);
@@ -607,14 +607,14 @@
buildCounterStyleFunctionGradientColors--;
}
-buildUnnamed520() {
+buildUnnamed525() {
var o = new core.List<api.StyleFunctionGradientColors>();
o.add(buildStyleFunctionGradientColors());
o.add(buildStyleFunctionGradientColors());
return o;
}
-checkUnnamed520(core.List<api.StyleFunctionGradientColors> o) {
+checkUnnamed525(core.List<api.StyleFunctionGradientColors> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleFunctionGradientColors(o[0]);
checkStyleFunctionGradientColors(o[1]);
@@ -625,7 +625,7 @@
var o = new api.StyleFunctionGradient();
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- o.colors = buildUnnamed520();
+ o.colors = buildUnnamed525();
o.max = 42.0;
o.min = 42.0;
}
@@ -636,7 +636,7 @@
checkStyleFunctionGradient(api.StyleFunctionGradient o) {
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- checkUnnamed520(o.colors);
+ checkUnnamed525(o.colors);
unittest.expect(o.max, unittest.equals(42.0));
unittest.expect(o.min, unittest.equals(42.0));
}
@@ -648,7 +648,7 @@
var o = new api.StyleFunction();
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- o.buckets = buildUnnamed519();
+ o.buckets = buildUnnamed524();
o.columnName = "foo";
o.gradient = buildStyleFunctionGradient();
o.kind = "foo";
@@ -660,7 +660,7 @@
checkStyleFunction(api.StyleFunction o) {
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- checkUnnamed519(o.buckets);
+ checkUnnamed524(o.buckets);
unittest.expect(o.columnName, unittest.equals('foo'));
checkStyleFunctionGradient(o.gradient);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -699,14 +699,14 @@
buildCounterStyleSetting--;
}
-buildUnnamed521() {
+buildUnnamed526() {
var o = new core.List<api.StyleSetting>();
o.add(buildStyleSetting());
o.add(buildStyleSetting());
return o;
}
-checkUnnamed521(core.List<api.StyleSetting> o) {
+checkUnnamed526(core.List<api.StyleSetting> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleSetting(o[0]);
checkStyleSetting(o[1]);
@@ -717,7 +717,7 @@
var o = new api.StyleSettingList();
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- o.items = buildUnnamed521();
+ o.items = buildUnnamed526();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -729,7 +729,7 @@
checkStyleSettingList(api.StyleSettingList o) {
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- checkUnnamed521(o.items);
+ checkUnnamed526(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -737,27 +737,27 @@
buildCounterStyleSettingList--;
}
-buildUnnamed522() {
+buildUnnamed527() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed522(core.List<core.String> o) {
+checkUnnamed527(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed523() {
+buildUnnamed528() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed523(core.List<api.Column> o) {
+checkUnnamed528(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -770,9 +770,9 @@
if (buildCounterTable < 3) {
o.attribution = "foo";
o.attributionLink = "foo";
- o.baseTableIds = buildUnnamed522();
+ o.baseTableIds = buildUnnamed527();
o.columnPropertiesJsonSchema = "foo";
- o.columns = buildUnnamed523();
+ o.columns = buildUnnamed528();
o.description = "foo";
o.isExportable = true;
o.kind = "foo";
@@ -791,9 +791,9 @@
if (buildCounterTable < 3) {
unittest.expect(o.attribution, unittest.equals('foo'));
unittest.expect(o.attributionLink, unittest.equals('foo'));
- checkUnnamed522(o.baseTableIds);
+ checkUnnamed527(o.baseTableIds);
unittest.expect(o.columnPropertiesJsonSchema, unittest.equals('foo'));
- checkUnnamed523(o.columns);
+ checkUnnamed528(o.columns);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.isExportable, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -806,14 +806,14 @@
buildCounterTable--;
}
-buildUnnamed524() {
+buildUnnamed529() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed524(core.List<api.Table> o) {
+checkUnnamed529(core.List<api.Table> o) {
unittest.expect(o, unittest.hasLength(2));
checkTable(o[0]);
checkTable(o[1]);
@@ -824,7 +824,7 @@
var o = new api.TableList();
buildCounterTableList++;
if (buildCounterTableList < 3) {
- o.items = buildUnnamed524();
+ o.items = buildUnnamed529();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -835,7 +835,7 @@
checkTableList(api.TableList o) {
buildCounterTableList++;
if (buildCounterTableList < 3) {
- checkUnnamed524(o.items);
+ checkUnnamed529(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -869,14 +869,14 @@
buildCounterTask--;
}
-buildUnnamed525() {
+buildUnnamed530() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed525(core.List<api.Task> o) {
+checkUnnamed530(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -887,7 +887,7 @@
var o = new api.TaskList();
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- o.items = buildUnnamed525();
+ o.items = buildUnnamed530();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -899,7 +899,7 @@
checkTaskList(api.TaskList o) {
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- checkUnnamed525(o.items);
+ checkUnnamed530(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -907,14 +907,14 @@
buildCounterTaskList--;
}
-buildUnnamed526() {
+buildUnnamed531() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed526(core.List<core.String> o) {
+checkUnnamed531(core.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 @@
var o = new api.Template();
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- o.automaticColumnNames = buildUnnamed526();
+ o.automaticColumnNames = buildUnnamed531();
o.body = "foo";
o.kind = "foo";
o.name = "foo";
@@ -939,7 +939,7 @@
checkTemplate(api.Template o) {
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- checkUnnamed526(o.automaticColumnNames);
+ checkUnnamed531(o.automaticColumnNames);
unittest.expect(o.body, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -949,14 +949,14 @@
buildCounterTemplate--;
}
-buildUnnamed527() {
+buildUnnamed532() {
var o = new core.List<api.Template>();
o.add(buildTemplate());
o.add(buildTemplate());
return o;
}
-checkUnnamed527(core.List<api.Template> o) {
+checkUnnamed532(core.List<api.Template> o) {
unittest.expect(o, unittest.hasLength(2));
checkTemplate(o[0]);
checkTemplate(o[1]);
@@ -967,7 +967,7 @@
var o = new api.TemplateList();
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- o.items = buildUnnamed527();
+ o.items = buildUnnamed532();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -979,7 +979,7 @@
checkTemplateList(api.TemplateList o) {
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- checkUnnamed527(o.items);
+ checkUnnamed532(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -2635,6 +2635,68 @@
})));
});
+ unittest.test("method--refetchSheet", () {
+ var mock = new HttpServerMock();
+ api.TableResourceApi res = new api.FusiontablesApi(mock).table;
+ var arg_tableId = "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 + 16),
+ unittest.equals("fusiontables/v2/"));
+ pathOffset += 16;
+ unittest.expect(path.substring(pathOffset, pathOffset + 7),
+ unittest.equals("tables/"));
+ pathOffset += 7;
+ index = path.indexOf("/refetch", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_tableId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 8),
+ unittest.equals("/refetch"));
+ pathOffset += 8;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ 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(buildTask());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .refetchSheet(arg_tableId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Task response) {
+ checkTask(response);
+ })));
+ });
+
unittest.test("method--replaceRows", () {
// TODO: Implement tests for media upload;
// TODO: Implement tests for media download;
diff --git a/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart b/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
index 5ba5139..656cc35 100644
--- a/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
+++ b/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
@@ -112,14 +112,14 @@
buildCounterAchievementConfigurationDetail--;
}
-buildUnnamed783() {
+buildUnnamed788() {
var o = new core.List<api.AchievementConfiguration>();
o.add(buildAchievementConfiguration());
o.add(buildAchievementConfiguration());
return o;
}
-checkUnnamed783(core.List<api.AchievementConfiguration> o) {
+checkUnnamed788(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 = buildUnnamed783();
+ o.items = buildUnnamed788();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -142,7 +142,7 @@
api.AchievementConfigurationListResponse o) {
buildCounterAchievementConfigurationListResponse++;
if (buildCounterAchievementConfigurationListResponse < 3) {
- checkUnnamed783(o.items);
+ checkUnnamed788(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -288,14 +288,14 @@
buildCounterLeaderboardConfigurationDetail--;
}
-buildUnnamed784() {
+buildUnnamed789() {
var o = new core.List<api.LeaderboardConfiguration>();
o.add(buildLeaderboardConfiguration());
o.add(buildLeaderboardConfiguration());
return o;
}
-checkUnnamed784(core.List<api.LeaderboardConfiguration> o) {
+checkUnnamed789(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 = buildUnnamed784();
+ o.items = buildUnnamed789();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -318,7 +318,7 @@
api.LeaderboardConfigurationListResponse o) {
buildCounterLeaderboardConfigurationListResponse++;
if (buildCounterLeaderboardConfigurationListResponse < 3) {
- checkUnnamed784(o.items);
+ checkUnnamed789(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -348,14 +348,14 @@
buildCounterLocalizedString--;
}
-buildUnnamed785() {
+buildUnnamed790() {
var o = new core.List<api.LocalizedString>();
o.add(buildLocalizedString());
o.add(buildLocalizedString());
return o;
}
-checkUnnamed785(core.List<api.LocalizedString> o) {
+checkUnnamed790(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 = buildUnnamed785();
+ o.translations = buildUnnamed790();
}
buildCounterLocalizedStringBundle--;
return o;
@@ -377,7 +377,7 @@
buildCounterLocalizedStringBundle++;
if (buildCounterLocalizedStringBundle < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed785(o.translations);
+ checkUnnamed790(o.translations);
}
buildCounterLocalizedStringBundle--;
}
diff --git a/generated/googleapis/test/gamesmanagement/v1management_test.dart b/generated/googleapis/test/gamesmanagement/v1management_test.dart
index 6ecf5e7..1401441 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);
}
-buildUnnamed775() {
+buildUnnamed780() {
var o = new core.List<api.AchievementResetResponse>();
o.add(buildAchievementResetResponse());
o.add(buildAchievementResetResponse());
return o;
}
-checkUnnamed775(core.List<api.AchievementResetResponse> o) {
+checkUnnamed780(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 = buildUnnamed775();
+ o.results = buildUnnamed780();
}
buildCounterAchievementResetAllResponse--;
return o;
@@ -79,19 +79,19 @@
buildCounterAchievementResetAllResponse++;
if (buildCounterAchievementResetAllResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed775(o.results);
+ checkUnnamed780(o.results);
}
buildCounterAchievementResetAllResponse--;
}
-buildUnnamed776() {
+buildUnnamed781() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed776(core.List<core.String> o) {
+checkUnnamed781(core.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 = buildUnnamed776();
+ o.achievementIds = buildUnnamed781();
o.kind = "foo";
}
buildCounterAchievementResetMultipleForAllRequest--;
@@ -113,7 +113,7 @@
api.AchievementResetMultipleForAllRequest o) {
buildCounterAchievementResetMultipleForAllRequest++;
if (buildCounterAchievementResetMultipleForAllRequest < 3) {
- checkUnnamed776(o.achievementIds);
+ checkUnnamed781(o.achievementIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAchievementResetMultipleForAllRequest--;
@@ -144,14 +144,14 @@
buildCounterAchievementResetResponse--;
}
-buildUnnamed777() {
+buildUnnamed782() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed777(core.List<core.String> o) {
+checkUnnamed782(core.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 = buildUnnamed777();
+ o.eventIds = buildUnnamed782();
o.kind = "foo";
}
buildCounterEventsResetMultipleForAllRequest--;
@@ -172,7 +172,7 @@
checkEventsResetMultipleForAllRequest(api.EventsResetMultipleForAllRequest o) {
buildCounterEventsResetMultipleForAllRequest++;
if (buildCounterEventsResetMultipleForAllRequest < 3) {
- checkUnnamed777(o.eventIds);
+ checkUnnamed782(o.eventIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEventsResetMultipleForAllRequest--;
@@ -271,14 +271,14 @@
buildCounterHiddenPlayer--;
}
-buildUnnamed778() {
+buildUnnamed783() {
var o = new core.List<api.HiddenPlayer>();
o.add(buildHiddenPlayer());
o.add(buildHiddenPlayer());
return o;
}
-checkUnnamed778(core.List<api.HiddenPlayer> o) {
+checkUnnamed783(core.List<api.HiddenPlayer> o) {
unittest.expect(o, unittest.hasLength(2));
checkHiddenPlayer(o[0]);
checkHiddenPlayer(o[1]);
@@ -289,7 +289,7 @@
var o = new api.HiddenPlayerList();
buildCounterHiddenPlayerList++;
if (buildCounterHiddenPlayerList < 3) {
- o.items = buildUnnamed778();
+ o.items = buildUnnamed783();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -300,7 +300,7 @@
checkHiddenPlayerList(api.HiddenPlayerList o) {
buildCounterHiddenPlayerList++;
if (buildCounterHiddenPlayerList < 3) {
- checkUnnamed778(o.items);
+ checkUnnamed783(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -369,14 +369,14 @@
buildCounterPlayer--;
}
-buildUnnamed779() {
+buildUnnamed784() {
var o = new core.List<api.PlayerScoreResetResponse>();
o.add(buildPlayerScoreResetResponse());
o.add(buildPlayerScoreResetResponse());
return o;
}
-checkUnnamed779(core.List<api.PlayerScoreResetResponse> o) {
+checkUnnamed784(core.List<api.PlayerScoreResetResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerScoreResetResponse(o[0]);
checkPlayerScoreResetResponse(o[1]);
@@ -388,7 +388,7 @@
buildCounterPlayerScoreResetAllResponse++;
if (buildCounterPlayerScoreResetAllResponse < 3) {
o.kind = "foo";
- o.results = buildUnnamed779();
+ o.results = buildUnnamed784();
}
buildCounterPlayerScoreResetAllResponse--;
return o;
@@ -398,19 +398,19 @@
buildCounterPlayerScoreResetAllResponse++;
if (buildCounterPlayerScoreResetAllResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed779(o.results);
+ checkUnnamed784(o.results);
}
buildCounterPlayerScoreResetAllResponse--;
}
-buildUnnamed780() {
+buildUnnamed785() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed780(core.List<core.String> o) {
+checkUnnamed785(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -423,7 +423,7 @@
if (buildCounterPlayerScoreResetResponse < 3) {
o.definitionId = "foo";
o.kind = "foo";
- o.resetScoreTimeSpans = buildUnnamed780();
+ o.resetScoreTimeSpans = buildUnnamed785();
}
buildCounterPlayerScoreResetResponse--;
return o;
@@ -434,7 +434,7 @@
if (buildCounterPlayerScoreResetResponse < 3) {
unittest.expect(o.definitionId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed780(o.resetScoreTimeSpans);
+ checkUnnamed785(o.resetScoreTimeSpans);
}
buildCounterPlayerScoreResetResponse--;
}
@@ -460,14 +460,14 @@
buildCounterProfileSettings--;
}
-buildUnnamed781() {
+buildUnnamed786() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed781(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'));
@@ -479,7 +479,7 @@
buildCounterQuestsResetMultipleForAllRequest++;
if (buildCounterQuestsResetMultipleForAllRequest < 3) {
o.kind = "foo";
- o.questIds = buildUnnamed781();
+ o.questIds = buildUnnamed786();
}
buildCounterQuestsResetMultipleForAllRequest--;
return o;
@@ -489,19 +489,19 @@
buildCounterQuestsResetMultipleForAllRequest++;
if (buildCounterQuestsResetMultipleForAllRequest < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed781(o.questIds);
+ checkUnnamed786(o.questIds);
}
buildCounterQuestsResetMultipleForAllRequest--;
}
-buildUnnamed782() {
+buildUnnamed787() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed782(core.List<core.String> o) {
+checkUnnamed787(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -513,7 +513,7 @@
buildCounterScoresResetMultipleForAllRequest++;
if (buildCounterScoresResetMultipleForAllRequest < 3) {
o.kind = "foo";
- o.leaderboardIds = buildUnnamed782();
+ o.leaderboardIds = buildUnnamed787();
}
buildCounterScoresResetMultipleForAllRequest--;
return o;
@@ -523,7 +523,7 @@
buildCounterScoresResetMultipleForAllRequest++;
if (buildCounterScoresResetMultipleForAllRequest < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed782(o.leaderboardIds);
+ checkUnnamed787(o.leaderboardIds);
}
buildCounterScoresResetMultipleForAllRequest--;
}
diff --git a/generated/googleapis/test/genomics/v1_test.dart b/generated/googleapis/test/genomics/v1_test.dart
index d85e4ce..f8de9fd 100644
--- a/generated/googleapis/test/genomics/v1_test.dart
+++ b/generated/googleapis/test/genomics/v1_test.dart
@@ -50,7 +50,7 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2962() {
+buildUnnamed2981() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -65,7 +65,7 @@
return o;
}
-checkUnnamed2962(core.List<core.Object> o) {
+checkUnnamed2981(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -79,17 +79,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed2963() {
+buildUnnamed2982() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2962();
- o["y"] = buildUnnamed2962();
+ o["x"] = buildUnnamed2981();
+ o["y"] = buildUnnamed2981();
return o;
}
-checkUnnamed2963(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2982(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2962(o["x"]);
- checkUnnamed2962(o["y"]);
+ checkUnnamed2981(o["x"]);
+ checkUnnamed2981(o["y"]);
}
core.int buildCounterAnnotation = 0;
@@ -100,7 +100,7 @@
o.annotationSetId = "foo";
o.end = "foo";
o.id = "foo";
- o.info = buildUnnamed2963();
+ o.info = buildUnnamed2982();
o.name = "foo";
o.referenceId = "foo";
o.referenceName = "foo";
@@ -120,7 +120,7 @@
unittest.expect(o.annotationSetId, unittest.equals('foo'));
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2963(o.info);
+ checkUnnamed2982(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.referenceId, unittest.equals('foo'));
unittest.expect(o.referenceName, unittest.equals('foo'));
@@ -133,7 +133,7 @@
buildCounterAnnotation--;
}
-buildUnnamed2964() {
+buildUnnamed2983() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -148,7 +148,7 @@
return o;
}
-checkUnnamed2964(core.List<core.Object> o) {
+checkUnnamed2983(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -162,17 +162,17 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed2965() {
+buildUnnamed2984() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2964();
- o["y"] = buildUnnamed2964();
+ o["x"] = buildUnnamed2983();
+ o["y"] = buildUnnamed2983();
return o;
}
-checkUnnamed2965(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2984(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2964(o["x"]);
- checkUnnamed2964(o["y"]);
+ checkUnnamed2983(o["x"]);
+ checkUnnamed2983(o["y"]);
}
core.int buildCounterAnnotationSet = 0;
@@ -182,7 +182,7 @@
if (buildCounterAnnotationSet < 3) {
o.datasetId = "foo";
o.id = "foo";
- o.info = buildUnnamed2965();
+ o.info = buildUnnamed2984();
o.name = "foo";
o.referenceSetId = "foo";
o.sourceUri = "foo";
@@ -197,7 +197,7 @@
if (buildCounterAnnotationSet < 3) {
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2965(o.info);
+ checkUnnamed2984(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
unittest.expect(o.sourceUri, unittest.equals('foo'));
@@ -206,14 +206,14 @@
buildCounterAnnotationSet--;
}
-buildUnnamed2966() {
+buildUnnamed2985() {
var o = new core.List<api.Annotation>();
o.add(buildAnnotation());
o.add(buildAnnotation());
return o;
}
-checkUnnamed2966(core.List<api.Annotation> o) {
+checkUnnamed2985(core.List<api.Annotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotation(o[0]);
checkAnnotation(o[1]);
@@ -224,7 +224,7 @@
var o = new api.BatchCreateAnnotationsRequest();
buildCounterBatchCreateAnnotationsRequest++;
if (buildCounterBatchCreateAnnotationsRequest < 3) {
- o.annotations = buildUnnamed2966();
+ o.annotations = buildUnnamed2985();
o.requestId = "foo";
}
buildCounterBatchCreateAnnotationsRequest--;
@@ -234,20 +234,20 @@
checkBatchCreateAnnotationsRequest(api.BatchCreateAnnotationsRequest o) {
buildCounterBatchCreateAnnotationsRequest++;
if (buildCounterBatchCreateAnnotationsRequest < 3) {
- checkUnnamed2966(o.annotations);
+ checkUnnamed2985(o.annotations);
unittest.expect(o.requestId, unittest.equals('foo'));
}
buildCounterBatchCreateAnnotationsRequest--;
}
-buildUnnamed2967() {
+buildUnnamed2986() {
var o = new core.List<api.Entry>();
o.add(buildEntry());
o.add(buildEntry());
return o;
}
-checkUnnamed2967(core.List<api.Entry> o) {
+checkUnnamed2986(core.List<api.Entry> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntry(o[0]);
checkEntry(o[1]);
@@ -258,7 +258,7 @@
var o = new api.BatchCreateAnnotationsResponse();
buildCounterBatchCreateAnnotationsResponse++;
if (buildCounterBatchCreateAnnotationsResponse < 3) {
- o.entries = buildUnnamed2967();
+ o.entries = buildUnnamed2986();
}
buildCounterBatchCreateAnnotationsResponse--;
return o;
@@ -267,19 +267,19 @@
checkBatchCreateAnnotationsResponse(api.BatchCreateAnnotationsResponse o) {
buildCounterBatchCreateAnnotationsResponse++;
if (buildCounterBatchCreateAnnotationsResponse < 3) {
- checkUnnamed2967(o.entries);
+ checkUnnamed2986(o.entries);
}
buildCounterBatchCreateAnnotationsResponse--;
}
-buildUnnamed2968() {
+buildUnnamed2987() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2968(core.List<core.String> o) {
+checkUnnamed2987(core.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,7 +290,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed2968();
+ o.members = buildUnnamed2987();
o.role = "foo";
}
buildCounterBinding--;
@@ -300,13 +300,13 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed2968(o.members);
+ checkUnnamed2987(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed2969() {
+buildUnnamed2988() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -321,7 +321,7 @@
return o;
}
-checkUnnamed2969(core.List<core.Object> o) {
+checkUnnamed2988(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -335,27 +335,27 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed2970() {
+buildUnnamed2989() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2969();
- o["y"] = buildUnnamed2969();
+ o["x"] = buildUnnamed2988();
+ o["y"] = buildUnnamed2988();
return o;
}
-checkUnnamed2970(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2989(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2969(o["x"]);
- checkUnnamed2969(o["y"]);
+ checkUnnamed2988(o["x"]);
+ checkUnnamed2988(o["y"]);
}
-buildUnnamed2971() {
+buildUnnamed2990() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2971(core.List<core.String> o) {
+checkUnnamed2990(core.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,10 +368,10 @@
if (buildCounterCallSet < 3) {
o.created = "foo";
o.id = "foo";
- o.info = buildUnnamed2970();
+ o.info = buildUnnamed2989();
o.name = "foo";
o.sampleId = "foo";
- o.variantSetIds = buildUnnamed2971();
+ o.variantSetIds = buildUnnamed2990();
}
buildCounterCallSet--;
return o;
@@ -382,10 +382,10 @@
if (buildCounterCallSet < 3) {
unittest.expect(o.created, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2970(o.info);
+ checkUnnamed2989(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.sampleId, unittest.equals('foo'));
- checkUnnamed2971(o.variantSetIds);
+ checkUnnamed2990(o.variantSetIds);
}
buildCounterCallSet--;
}
@@ -428,27 +428,27 @@
buildCounterCigarUnit--;
}
-buildUnnamed2972() {
+buildUnnamed2991() {
var o = new core.List<api.ExternalId>();
o.add(buildExternalId());
o.add(buildExternalId());
return o;
}
-checkUnnamed2972(core.List<api.ExternalId> o) {
+checkUnnamed2991(core.List<api.ExternalId> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternalId(o[0]);
checkExternalId(o[1]);
}
-buildUnnamed2973() {
+buildUnnamed2992() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2973(core.List<core.String> o) {
+checkUnnamed2992(core.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,8 +460,8 @@
buildCounterClinicalCondition++;
if (buildCounterClinicalCondition < 3) {
o.conceptId = "foo";
- o.externalIds = buildUnnamed2972();
- o.names = buildUnnamed2973();
+ o.externalIds = buildUnnamed2991();
+ o.names = buildUnnamed2992();
o.omimId = "foo";
}
buildCounterClinicalCondition--;
@@ -472,8 +472,8 @@
buildCounterClinicalCondition++;
if (buildCounterClinicalCondition < 3) {
unittest.expect(o.conceptId, unittest.equals('foo'));
- checkUnnamed2972(o.externalIds);
- checkUnnamed2973(o.names);
+ checkUnnamed2991(o.externalIds);
+ checkUnnamed2992(o.names);
unittest.expect(o.omimId, unittest.equals('foo'));
}
buildCounterClinicalCondition--;
@@ -500,14 +500,14 @@
buildCounterCodingSequence--;
}
-buildUnnamed2974() {
+buildUnnamed2993() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2974(core.List<core.String> o) {
+checkUnnamed2993(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -518,7 +518,7 @@
var o = new api.ComputeEngine();
buildCounterComputeEngine++;
if (buildCounterComputeEngine < 3) {
- o.diskNames = buildUnnamed2974();
+ o.diskNames = buildUnnamed2993();
o.instanceName = "foo";
o.machineType = "foo";
o.zone = "foo";
@@ -530,7 +530,7 @@
checkComputeEngine(api.ComputeEngine o) {
buildCounterComputeEngine++;
if (buildCounterComputeEngine < 3) {
- checkUnnamed2974(o.diskNames);
+ checkUnnamed2993(o.diskNames);
unittest.expect(o.instanceName, unittest.equals('foo'));
unittest.expect(o.machineType, unittest.equals('foo'));
unittest.expect(o.zone, unittest.equals('foo'));
@@ -668,14 +668,14 @@
buildCounterExperiment--;
}
-buildUnnamed2975() {
+buildUnnamed2994() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2975(core.List<core.String> o) {
+checkUnnamed2994(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -688,7 +688,7 @@
if (buildCounterExportReadGroupSetRequest < 3) {
o.exportUri = "foo";
o.projectId = "foo";
- o.referenceNames = buildUnnamed2975();
+ o.referenceNames = buildUnnamed2994();
}
buildCounterExportReadGroupSetRequest--;
return o;
@@ -699,19 +699,19 @@
if (buildCounterExportReadGroupSetRequest < 3) {
unittest.expect(o.exportUri, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed2975(o.referenceNames);
+ checkUnnamed2994(o.referenceNames);
}
buildCounterExportReadGroupSetRequest--;
}
-buildUnnamed2976() {
+buildUnnamed2995() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2976(core.List<core.String> o) {
+checkUnnamed2995(core.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 @@
if (buildCounterExportVariantSetRequest < 3) {
o.bigqueryDataset = "foo";
o.bigqueryTable = "foo";
- o.callSetIds = buildUnnamed2976();
+ o.callSetIds = buildUnnamed2995();
o.format = "foo";
o.projectId = "foo";
}
@@ -737,7 +737,7 @@
if (buildCounterExportVariantSetRequest < 3) {
unittest.expect(o.bigqueryDataset, unittest.equals('foo'));
unittest.expect(o.bigqueryTable, unittest.equals('foo'));
- checkUnnamed2976(o.callSetIds);
+ checkUnnamed2995(o.callSetIds);
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
}
@@ -780,14 +780,14 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed2977() {
+buildUnnamed2996() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2977(core.List<core.String> o) {
+checkUnnamed2996(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -801,7 +801,7 @@
o.datasetId = "foo";
o.partitionStrategy = "foo";
o.referenceSetId = "foo";
- o.sourceUris = buildUnnamed2977();
+ o.sourceUris = buildUnnamed2996();
}
buildCounterImportReadGroupSetsRequest--;
return o;
@@ -813,19 +813,19 @@
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.partitionStrategy, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
- checkUnnamed2977(o.sourceUris);
+ checkUnnamed2996(o.sourceUris);
}
buildCounterImportReadGroupSetsRequest--;
}
-buildUnnamed2978() {
+buildUnnamed2997() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2978(core.List<core.String> o) {
+checkUnnamed2997(core.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,7 +836,7 @@
var o = new api.ImportReadGroupSetsResponse();
buildCounterImportReadGroupSetsResponse++;
if (buildCounterImportReadGroupSetsResponse < 3) {
- o.readGroupSetIds = buildUnnamed2978();
+ o.readGroupSetIds = buildUnnamed2997();
}
buildCounterImportReadGroupSetsResponse--;
return o;
@@ -845,32 +845,32 @@
checkImportReadGroupSetsResponse(api.ImportReadGroupSetsResponse o) {
buildCounterImportReadGroupSetsResponse++;
if (buildCounterImportReadGroupSetsResponse < 3) {
- checkUnnamed2978(o.readGroupSetIds);
+ checkUnnamed2997(o.readGroupSetIds);
}
buildCounterImportReadGroupSetsResponse--;
}
-buildUnnamed2979() {
+buildUnnamed2998() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2979(core.Map<core.String, core.String> o) {
+checkUnnamed2998(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'));
}
-buildUnnamed2980() {
+buildUnnamed2999() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2980(core.List<core.String> o) {
+checkUnnamed2999(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -882,9 +882,9 @@
buildCounterImportVariantsRequest++;
if (buildCounterImportVariantsRequest < 3) {
o.format = "foo";
- o.infoMergeConfig = buildUnnamed2979();
+ o.infoMergeConfig = buildUnnamed2998();
o.normalizeReferenceNames = true;
- o.sourceUris = buildUnnamed2980();
+ o.sourceUris = buildUnnamed2999();
o.variantSetId = "foo";
}
buildCounterImportVariantsRequest--;
@@ -895,22 +895,22 @@
buildCounterImportVariantsRequest++;
if (buildCounterImportVariantsRequest < 3) {
unittest.expect(o.format, unittest.equals('foo'));
- checkUnnamed2979(o.infoMergeConfig);
+ checkUnnamed2998(o.infoMergeConfig);
unittest.expect(o.normalizeReferenceNames, unittest.isTrue);
- checkUnnamed2980(o.sourceUris);
+ checkUnnamed2999(o.sourceUris);
unittest.expect(o.variantSetId, unittest.equals('foo'));
}
buildCounterImportVariantsRequest--;
}
-buildUnnamed2981() {
+buildUnnamed3000() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2981(core.List<core.String> o) {
+checkUnnamed3000(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -921,7 +921,7 @@
var o = new api.ImportVariantsResponse();
buildCounterImportVariantsResponse++;
if (buildCounterImportVariantsResponse < 3) {
- o.callSetIds = buildUnnamed2981();
+ o.callSetIds = buildUnnamed3000();
}
buildCounterImportVariantsResponse--;
return o;
@@ -930,19 +930,19 @@
checkImportVariantsResponse(api.ImportVariantsResponse o) {
buildCounterImportVariantsResponse++;
if (buildCounterImportVariantsResponse < 3) {
- checkUnnamed2981(o.callSetIds);
+ checkUnnamed3000(o.callSetIds);
}
buildCounterImportVariantsResponse--;
}
-buildUnnamed2982() {
+buildUnnamed3001() {
var o = new core.List<api.CigarUnit>();
o.add(buildCigarUnit());
o.add(buildCigarUnit());
return o;
}
-checkUnnamed2982(core.List<api.CigarUnit> o) {
+checkUnnamed3001(core.List<api.CigarUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkCigarUnit(o[0]);
checkCigarUnit(o[1]);
@@ -953,7 +953,7 @@
var o = new api.LinearAlignment();
buildCounterLinearAlignment++;
if (buildCounterLinearAlignment < 3) {
- o.cigar = buildUnnamed2982();
+ o.cigar = buildUnnamed3001();
o.mappingQuality = 42;
o.position = buildPosition();
}
@@ -964,7 +964,7 @@
checkLinearAlignment(api.LinearAlignment o) {
buildCounterLinearAlignment++;
if (buildCounterLinearAlignment < 3) {
- checkUnnamed2982(o.cigar);
+ checkUnnamed3001(o.cigar);
unittest.expect(o.mappingQuality, unittest.equals(42));
checkPosition(o.position);
}
@@ -994,14 +994,14 @@
buildCounterListBasesResponse--;
}
-buildUnnamed2983() {
+buildUnnamed3002() {
var o = new core.List<api.CoverageBucket>();
o.add(buildCoverageBucket());
o.add(buildCoverageBucket());
return o;
}
-checkUnnamed2983(core.List<api.CoverageBucket> o) {
+checkUnnamed3002(core.List<api.CoverageBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkCoverageBucket(o[0]);
checkCoverageBucket(o[1]);
@@ -1013,7 +1013,7 @@
buildCounterListCoverageBucketsResponse++;
if (buildCounterListCoverageBucketsResponse < 3) {
o.bucketWidth = "foo";
- o.coverageBuckets = buildUnnamed2983();
+ o.coverageBuckets = buildUnnamed3002();
o.nextPageToken = "foo";
}
buildCounterListCoverageBucketsResponse--;
@@ -1024,20 +1024,20 @@
buildCounterListCoverageBucketsResponse++;
if (buildCounterListCoverageBucketsResponse < 3) {
unittest.expect(o.bucketWidth, unittest.equals('foo'));
- checkUnnamed2983(o.coverageBuckets);
+ checkUnnamed3002(o.coverageBuckets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCoverageBucketsResponse--;
}
-buildUnnamed2984() {
+buildUnnamed3003() {
var o = new core.List<api.Dataset>();
o.add(buildDataset());
o.add(buildDataset());
return o;
}
-checkUnnamed2984(core.List<api.Dataset> o) {
+checkUnnamed3003(core.List<api.Dataset> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataset(o[0]);
checkDataset(o[1]);
@@ -1048,7 +1048,7 @@
var o = new api.ListDatasetsResponse();
buildCounterListDatasetsResponse++;
if (buildCounterListDatasetsResponse < 3) {
- o.datasets = buildUnnamed2984();
+ o.datasets = buildUnnamed3003();
o.nextPageToken = "foo";
}
buildCounterListDatasetsResponse--;
@@ -1058,20 +1058,20 @@
checkListDatasetsResponse(api.ListDatasetsResponse o) {
buildCounterListDatasetsResponse++;
if (buildCounterListDatasetsResponse < 3) {
- checkUnnamed2984(o.datasets);
+ checkUnnamed3003(o.datasets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDatasetsResponse--;
}
-buildUnnamed2985() {
+buildUnnamed3004() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2985(core.List<api.Operation> o) {
+checkUnnamed3004(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1083,7 +1083,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2985();
+ o.operations = buildUnnamed3004();
}
buildCounterListOperationsResponse--;
return o;
@@ -1093,32 +1093,32 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2985(o.operations);
+ checkUnnamed3004(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed2986() {
+buildUnnamed3005() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2986(core.Map<core.String, core.String> o) {
+checkUnnamed3005(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'));
}
-buildUnnamed2987() {
+buildUnnamed3006() {
var o = new core.List<api.Variant>();
o.add(buildVariant());
o.add(buildVariant());
return o;
}
-checkUnnamed2987(core.List<api.Variant> o) {
+checkUnnamed3006(core.List<api.Variant> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariant(o[0]);
checkVariant(o[1]);
@@ -1129,9 +1129,9 @@
var o = new api.MergeVariantsRequest();
buildCounterMergeVariantsRequest++;
if (buildCounterMergeVariantsRequest < 3) {
- o.infoMergeConfig = buildUnnamed2986();
+ o.infoMergeConfig = buildUnnamed3005();
o.variantSetId = "foo";
- o.variants = buildUnnamed2987();
+ o.variants = buildUnnamed3006();
}
buildCounterMergeVariantsRequest--;
return o;
@@ -1140,14 +1140,14 @@
checkMergeVariantsRequest(api.MergeVariantsRequest o) {
buildCounterMergeVariantsRequest++;
if (buildCounterMergeVariantsRequest < 3) {
- checkUnnamed2986(o.infoMergeConfig);
+ checkUnnamed3005(o.infoMergeConfig);
unittest.expect(o.variantSetId, unittest.equals('foo'));
- checkUnnamed2987(o.variants);
+ checkUnnamed3006(o.variants);
}
buildCounterMergeVariantsRequest--;
}
-buildUnnamed2988() {
+buildUnnamed3007() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1162,7 +1162,7 @@
return o;
}
-checkUnnamed2988(core.Map<core.String, core.Object> o) {
+checkUnnamed3007(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));
@@ -1176,7 +1176,7 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed2989() {
+buildUnnamed3008() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1191,7 +1191,7 @@
return o;
}
-checkUnnamed2989(core.Map<core.String, core.Object> o) {
+checkUnnamed3008(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));
@@ -1212,9 +1212,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2988();
+ o.metadata = buildUnnamed3007();
o.name = "foo";
- o.response = buildUnnamed2989();
+ o.response = buildUnnamed3008();
}
buildCounterOperation--;
return o;
@@ -1225,9 +1225,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2988(o.metadata);
+ checkUnnamed3007(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2989(o.response);
+ checkUnnamed3008(o.response);
}
buildCounterOperation--;
}
@@ -1255,33 +1255,33 @@
buildCounterOperationEvent--;
}
-buildUnnamed2990() {
+buildUnnamed3009() {
var o = new core.List<api.OperationEvent>();
o.add(buildOperationEvent());
o.add(buildOperationEvent());
return o;
}
-checkUnnamed2990(core.List<api.OperationEvent> o) {
+checkUnnamed3009(core.List<api.OperationEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationEvent(o[0]);
checkOperationEvent(o[1]);
}
-buildUnnamed2991() {
+buildUnnamed3010() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2991(core.Map<core.String, core.String> o) {
+checkUnnamed3010(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'));
}
-buildUnnamed2992() {
+buildUnnamed3011() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1296,7 +1296,7 @@
return o;
}
-checkUnnamed2992(core.Map<core.String, core.Object> o) {
+checkUnnamed3011(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));
@@ -1310,7 +1310,7 @@
unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed2993() {
+buildUnnamed3012() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1325,7 +1325,7 @@
return o;
}
-checkUnnamed2993(core.Map<core.String, core.Object> o) {
+checkUnnamed3012(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));
@@ -1347,11 +1347,11 @@
o.clientId = "foo";
o.createTime = "foo";
o.endTime = "foo";
- o.events = buildUnnamed2990();
- o.labels = buildUnnamed2991();
+ o.events = buildUnnamed3009();
+ o.labels = buildUnnamed3010();
o.projectId = "foo";
- o.request = buildUnnamed2992();
- o.runtimeMetadata = buildUnnamed2993();
+ o.request = buildUnnamed3011();
+ o.runtimeMetadata = buildUnnamed3012();
o.startTime = "foo";
}
buildCounterOperationMetadata--;
@@ -1364,24 +1364,24 @@
unittest.expect(o.clientId, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed2990(o.events);
- checkUnnamed2991(o.labels);
+ checkUnnamed3009(o.events);
+ checkUnnamed3010(o.labels);
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed2992(o.request);
- checkUnnamed2993(o.runtimeMetadata);
+ checkUnnamed3011(o.request);
+ checkUnnamed3012(o.runtimeMetadata);
unittest.expect(o.startTime, unittest.equals('foo'));
}
buildCounterOperationMetadata--;
}
-buildUnnamed2994() {
+buildUnnamed3013() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed2994(core.List<api.Binding> o) {
+checkUnnamed3013(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -1392,7 +1392,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed2994();
+ o.bindings = buildUnnamed3013();
o.etag = "foo";
o.version = 42;
}
@@ -1403,7 +1403,7 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed2994(o.bindings);
+ checkUnnamed3013(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -1483,20 +1483,20 @@
buildCounterRange--;
}
-buildUnnamed2995() {
+buildUnnamed3014() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2995(core.List<core.int> o) {
+checkUnnamed3014(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));
}
-buildUnnamed2996() {
+buildUnnamed3015() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -1511,7 +1511,7 @@
return o;
}
-checkUnnamed2996(core.List<core.Object> o) {
+checkUnnamed3015(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted15 = (o[0]) as core.Map;
unittest.expect(casted15, unittest.hasLength(3));
@@ -1525,17 +1525,17 @@
unittest.expect(casted16["string"], unittest.equals('foo'));
}
-buildUnnamed2997() {
+buildUnnamed3016() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2996();
- o["y"] = buildUnnamed2996();
+ o["x"] = buildUnnamed3015();
+ o["y"] = buildUnnamed3015();
return o;
}
-checkUnnamed2997(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed3016(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2996(o["x"]);
- checkUnnamed2996(o["y"]);
+ checkUnnamed3015(o["x"]);
+ checkUnnamed3015(o["y"]);
}
core.int buildCounterRead = 0;
@@ -1543,7 +1543,7 @@
var o = new api.Read();
buildCounterRead++;
if (buildCounterRead < 3) {
- o.alignedQuality = buildUnnamed2995();
+ o.alignedQuality = buildUnnamed3014();
o.alignedSequence = "foo";
o.alignment = buildLinearAlignment();
o.duplicateFragment = true;
@@ -1551,7 +1551,7 @@
o.fragmentLength = 42;
o.fragmentName = "foo";
o.id = "foo";
- o.info = buildUnnamed2997();
+ o.info = buildUnnamed3016();
o.nextMatePosition = buildPosition();
o.numberReads = 42;
o.properPlacement = true;
@@ -1568,7 +1568,7 @@
checkRead(api.Read o) {
buildCounterRead++;
if (buildCounterRead < 3) {
- checkUnnamed2995(o.alignedQuality);
+ checkUnnamed3014(o.alignedQuality);
unittest.expect(o.alignedSequence, unittest.equals('foo'));
checkLinearAlignment(o.alignment);
unittest.expect(o.duplicateFragment, unittest.isTrue);
@@ -1576,7 +1576,7 @@
unittest.expect(o.fragmentLength, unittest.equals(42));
unittest.expect(o.fragmentName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2997(o.info);
+ checkUnnamed3016(o.info);
checkPosition(o.nextMatePosition);
unittest.expect(o.numberReads, unittest.equals(42));
unittest.expect(o.properPlacement, unittest.isTrue);
@@ -1589,7 +1589,7 @@
buildCounterRead--;
}
-buildUnnamed2998() {
+buildUnnamed3017() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -1604,7 +1604,7 @@
return o;
}
-checkUnnamed2998(core.List<core.Object> o) {
+checkUnnamed3017(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted17 = (o[0]) as core.Map;
unittest.expect(casted17, unittest.hasLength(3));
@@ -1618,27 +1618,27 @@
unittest.expect(casted18["string"], unittest.equals('foo'));
}
-buildUnnamed2999() {
+buildUnnamed3018() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2998();
- o["y"] = buildUnnamed2998();
+ o["x"] = buildUnnamed3017();
+ o["y"] = buildUnnamed3017();
return o;
}
-checkUnnamed2999(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed3018(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2998(o["x"]);
- checkUnnamed2998(o["y"]);
+ checkUnnamed3017(o["x"]);
+ checkUnnamed3017(o["y"]);
}
-buildUnnamed3000() {
+buildUnnamed3019() {
var o = new core.List<api.Program>();
o.add(buildProgram());
o.add(buildProgram());
return o;
}
-checkUnnamed3000(core.List<api.Program> o) {
+checkUnnamed3019(core.List<api.Program> o) {
unittest.expect(o, unittest.hasLength(2));
checkProgram(o[0]);
checkProgram(o[1]);
@@ -1653,10 +1653,10 @@
o.description = "foo";
o.experiment = buildExperiment();
o.id = "foo";
- o.info = buildUnnamed2999();
+ o.info = buildUnnamed3018();
o.name = "foo";
o.predictedInsertSize = 42;
- o.programs = buildUnnamed3000();
+ o.programs = buildUnnamed3019();
o.referenceSetId = "foo";
o.sampleId = "foo";
}
@@ -1671,17 +1671,17 @@
unittest.expect(o.description, unittest.equals('foo'));
checkExperiment(o.experiment);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2999(o.info);
+ checkUnnamed3018(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.predictedInsertSize, unittest.equals(42));
- checkUnnamed3000(o.programs);
+ checkUnnamed3019(o.programs);
unittest.expect(o.referenceSetId, unittest.equals('foo'));
unittest.expect(o.sampleId, unittest.equals('foo'));
}
buildCounterReadGroup--;
}
-buildUnnamed3001() {
+buildUnnamed3020() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -1696,7 +1696,7 @@
return o;
}
-checkUnnamed3001(core.List<core.Object> o) {
+checkUnnamed3020(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted19 = (o[0]) as core.Map;
unittest.expect(casted19, unittest.hasLength(3));
@@ -1710,27 +1710,27 @@
unittest.expect(casted20["string"], unittest.equals('foo'));
}
-buildUnnamed3002() {
+buildUnnamed3021() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed3001();
- o["y"] = buildUnnamed3001();
+ o["x"] = buildUnnamed3020();
+ o["y"] = buildUnnamed3020();
return o;
}
-checkUnnamed3002(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed3021(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3001(o["x"]);
- checkUnnamed3001(o["y"]);
+ checkUnnamed3020(o["x"]);
+ checkUnnamed3020(o["y"]);
}
-buildUnnamed3003() {
+buildUnnamed3022() {
var o = new core.List<api.ReadGroup>();
o.add(buildReadGroup());
o.add(buildReadGroup());
return o;
}
-checkUnnamed3003(core.List<api.ReadGroup> o) {
+checkUnnamed3022(core.List<api.ReadGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkReadGroup(o[0]);
checkReadGroup(o[1]);
@@ -1744,9 +1744,9 @@
o.datasetId = "foo";
o.filename = "foo";
o.id = "foo";
- o.info = buildUnnamed3002();
+ o.info = buildUnnamed3021();
o.name = "foo";
- o.readGroups = buildUnnamed3003();
+ o.readGroups = buildUnnamed3022();
o.referenceSetId = "foo";
}
buildCounterReadGroupSet--;
@@ -1759,22 +1759,22 @@
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.filename, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3002(o.info);
+ checkUnnamed3021(o.info);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3003(o.readGroups);
+ checkUnnamed3022(o.readGroups);
unittest.expect(o.referenceSetId, unittest.equals('foo'));
}
buildCounterReadGroupSet--;
}
-buildUnnamed3004() {
+buildUnnamed3023() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3004(core.List<core.String> o) {
+checkUnnamed3023(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1790,7 +1790,7 @@
o.md5checksum = "foo";
o.name = "foo";
o.ncbiTaxonId = 42;
- o.sourceAccessions = buildUnnamed3004();
+ o.sourceAccessions = buildUnnamed3023();
o.sourceUri = "foo";
}
buildCounterReference--;
@@ -1805,7 +1805,7 @@
unittest.expect(o.md5checksum, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.ncbiTaxonId, unittest.equals(42));
- checkUnnamed3004(o.sourceAccessions);
+ checkUnnamed3023(o.sourceAccessions);
unittest.expect(o.sourceUri, unittest.equals('foo'));
}
buildCounterReference--;
@@ -1832,27 +1832,27 @@
buildCounterReferenceBound--;
}
-buildUnnamed3005() {
+buildUnnamed3024() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3005(core.List<core.String> o) {
+checkUnnamed3024(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3006() {
+buildUnnamed3025() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3006(core.List<core.String> o) {
+checkUnnamed3025(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1868,8 +1868,8 @@
o.id = "foo";
o.md5checksum = "foo";
o.ncbiTaxonId = 42;
- o.referenceIds = buildUnnamed3005();
- o.sourceAccessions = buildUnnamed3006();
+ o.referenceIds = buildUnnamed3024();
+ o.sourceAccessions = buildUnnamed3025();
o.sourceUri = "foo";
}
buildCounterReferenceSet--;
@@ -1884,8 +1884,8 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.md5checksum, unittest.equals('foo'));
unittest.expect(o.ncbiTaxonId, unittest.equals(42));
- checkUnnamed3005(o.referenceIds);
- checkUnnamed3006(o.sourceAccessions);
+ checkUnnamed3024(o.referenceIds);
+ checkUnnamed3025(o.sourceAccessions);
unittest.expect(o.sourceUri, unittest.equals('foo'));
}
buildCounterReferenceSet--;
@@ -1910,650 +1910,17 @@
buildCounterRuntimeMetadata--;
}
-buildUnnamed3007() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3007(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3008() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3008(core.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 buildCounterSearchAnnotationSetsRequest = 0;
-buildSearchAnnotationSetsRequest() {
- var o = new api.SearchAnnotationSetsRequest();
- buildCounterSearchAnnotationSetsRequest++;
- if (buildCounterSearchAnnotationSetsRequest < 3) {
- o.datasetIds = buildUnnamed3007();
- o.name = "foo";
- o.pageSize = 42;
- o.pageToken = "foo";
- o.referenceSetId = "foo";
- o.types = buildUnnamed3008();
- }
- buildCounterSearchAnnotationSetsRequest--;
- return o;
-}
-
-checkSearchAnnotationSetsRequest(api.SearchAnnotationSetsRequest o) {
- buildCounterSearchAnnotationSetsRequest++;
- if (buildCounterSearchAnnotationSetsRequest < 3) {
- checkUnnamed3007(o.datasetIds);
- unittest.expect(o.name, unittest.equals('foo'));
- unittest.expect(o.pageSize, unittest.equals(42));
- unittest.expect(o.pageToken, unittest.equals('foo'));
- unittest.expect(o.referenceSetId, unittest.equals('foo'));
- checkUnnamed3008(o.types);
- }
- buildCounterSearchAnnotationSetsRequest--;
-}
-
-buildUnnamed3009() {
- var o = new core.List<api.AnnotationSet>();
- o.add(buildAnnotationSet());
- o.add(buildAnnotationSet());
- return o;
-}
-
-checkUnnamed3009(core.List<api.AnnotationSet> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkAnnotationSet(o[0]);
- checkAnnotationSet(o[1]);
-}
-
-core.int buildCounterSearchAnnotationSetsResponse = 0;
-buildSearchAnnotationSetsResponse() {
- var o = new api.SearchAnnotationSetsResponse();
- buildCounterSearchAnnotationSetsResponse++;
- if (buildCounterSearchAnnotationSetsResponse < 3) {
- o.annotationSets = buildUnnamed3009();
- o.nextPageToken = "foo";
- }
- buildCounterSearchAnnotationSetsResponse--;
- return o;
-}
-
-checkSearchAnnotationSetsResponse(api.SearchAnnotationSetsResponse o) {
- buildCounterSearchAnnotationSetsResponse++;
- if (buildCounterSearchAnnotationSetsResponse < 3) {
- checkUnnamed3009(o.annotationSets);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterSearchAnnotationSetsResponse--;
-}
-
-buildUnnamed3010() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3010(core.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 buildCounterSearchAnnotationsRequest = 0;
-buildSearchAnnotationsRequest() {
- var o = new api.SearchAnnotationsRequest();
- buildCounterSearchAnnotationsRequest++;
- if (buildCounterSearchAnnotationsRequest < 3) {
- o.annotationSetIds = buildUnnamed3010();
- o.end = "foo";
- o.pageSize = 42;
- o.pageToken = "foo";
- o.referenceId = "foo";
- o.referenceName = "foo";
- o.start = "foo";
- }
- buildCounterSearchAnnotationsRequest--;
- return o;
-}
-
-checkSearchAnnotationsRequest(api.SearchAnnotationsRequest o) {
- buildCounterSearchAnnotationsRequest++;
- if (buildCounterSearchAnnotationsRequest < 3) {
- checkUnnamed3010(o.annotationSetIds);
- unittest.expect(o.end, unittest.equals('foo'));
- unittest.expect(o.pageSize, unittest.equals(42));
- unittest.expect(o.pageToken, unittest.equals('foo'));
- unittest.expect(o.referenceId, unittest.equals('foo'));
- unittest.expect(o.referenceName, unittest.equals('foo'));
- unittest.expect(o.start, unittest.equals('foo'));
- }
- buildCounterSearchAnnotationsRequest--;
-}
-
-buildUnnamed3011() {
- var o = new core.List<api.Annotation>();
- o.add(buildAnnotation());
- o.add(buildAnnotation());
- return o;
-}
-
-checkUnnamed3011(core.List<api.Annotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkAnnotation(o[0]);
- checkAnnotation(o[1]);
-}
-
-core.int buildCounterSearchAnnotationsResponse = 0;
-buildSearchAnnotationsResponse() {
- var o = new api.SearchAnnotationsResponse();
- buildCounterSearchAnnotationsResponse++;
- if (buildCounterSearchAnnotationsResponse < 3) {
- o.annotations = buildUnnamed3011();
- o.nextPageToken = "foo";
- }
- buildCounterSearchAnnotationsResponse--;
- return o;
-}
-
-checkSearchAnnotationsResponse(api.SearchAnnotationsResponse o) {
- buildCounterSearchAnnotationsResponse++;
- if (buildCounterSearchAnnotationsResponse < 3) {
- checkUnnamed3011(o.annotations);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterSearchAnnotationsResponse--;
-}
-
-buildUnnamed3012() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3012(core.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 buildCounterSearchCallSetsRequest = 0;
-buildSearchCallSetsRequest() {
- var o = new api.SearchCallSetsRequest();
- buildCounterSearchCallSetsRequest++;
- if (buildCounterSearchCallSetsRequest < 3) {
- o.name = "foo";
- o.pageSize = 42;
- o.pageToken = "foo";
- o.variantSetIds = buildUnnamed3012();
- }
- buildCounterSearchCallSetsRequest--;
- return o;
-}
-
-checkSearchCallSetsRequest(api.SearchCallSetsRequest o) {
- buildCounterSearchCallSetsRequest++;
- if (buildCounterSearchCallSetsRequest < 3) {
- unittest.expect(o.name, unittest.equals('foo'));
- unittest.expect(o.pageSize, unittest.equals(42));
- unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed3012(o.variantSetIds);
- }
- buildCounterSearchCallSetsRequest--;
-}
-
-buildUnnamed3013() {
- var o = new core.List<api.CallSet>();
- o.add(buildCallSet());
- o.add(buildCallSet());
- return o;
-}
-
-checkUnnamed3013(core.List<api.CallSet> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkCallSet(o[0]);
- checkCallSet(o[1]);
-}
-
-core.int buildCounterSearchCallSetsResponse = 0;
-buildSearchCallSetsResponse() {
- var o = new api.SearchCallSetsResponse();
- buildCounterSearchCallSetsResponse++;
- if (buildCounterSearchCallSetsResponse < 3) {
- o.callSets = buildUnnamed3013();
- o.nextPageToken = "foo";
- }
- buildCounterSearchCallSetsResponse--;
- return o;
-}
-
-checkSearchCallSetsResponse(api.SearchCallSetsResponse o) {
- buildCounterSearchCallSetsResponse++;
- if (buildCounterSearchCallSetsResponse < 3) {
- checkUnnamed3013(o.callSets);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterSearchCallSetsResponse--;
-}
-
-buildUnnamed3014() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3014(core.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 buildCounterSearchReadGroupSetsRequest = 0;
-buildSearchReadGroupSetsRequest() {
- var o = new api.SearchReadGroupSetsRequest();
- buildCounterSearchReadGroupSetsRequest++;
- if (buildCounterSearchReadGroupSetsRequest < 3) {
- o.datasetIds = buildUnnamed3014();
- o.name = "foo";
- o.pageSize = 42;
- o.pageToken = "foo";
- }
- buildCounterSearchReadGroupSetsRequest--;
- return o;
-}
-
-checkSearchReadGroupSetsRequest(api.SearchReadGroupSetsRequest o) {
- buildCounterSearchReadGroupSetsRequest++;
- if (buildCounterSearchReadGroupSetsRequest < 3) {
- checkUnnamed3014(o.datasetIds);
- unittest.expect(o.name, unittest.equals('foo'));
- unittest.expect(o.pageSize, unittest.equals(42));
- unittest.expect(o.pageToken, unittest.equals('foo'));
- }
- buildCounterSearchReadGroupSetsRequest--;
-}
-
-buildUnnamed3015() {
- var o = new core.List<api.ReadGroupSet>();
- o.add(buildReadGroupSet());
- o.add(buildReadGroupSet());
- return o;
-}
-
-checkUnnamed3015(core.List<api.ReadGroupSet> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkReadGroupSet(o[0]);
- checkReadGroupSet(o[1]);
-}
-
-core.int buildCounterSearchReadGroupSetsResponse = 0;
-buildSearchReadGroupSetsResponse() {
- var o = new api.SearchReadGroupSetsResponse();
- buildCounterSearchReadGroupSetsResponse++;
- if (buildCounterSearchReadGroupSetsResponse < 3) {
- o.nextPageToken = "foo";
- o.readGroupSets = buildUnnamed3015();
- }
- buildCounterSearchReadGroupSetsResponse--;
- return o;
-}
-
-checkSearchReadGroupSetsResponse(api.SearchReadGroupSetsResponse o) {
- buildCounterSearchReadGroupSetsResponse++;
- if (buildCounterSearchReadGroupSetsResponse < 3) {
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3015(o.readGroupSets);
- }
- buildCounterSearchReadGroupSetsResponse--;
-}
-
-buildUnnamed3016() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3016(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3017() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3017(core.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 buildCounterSearchReadsRequest = 0;
-buildSearchReadsRequest() {
- var o = new api.SearchReadsRequest();
- buildCounterSearchReadsRequest++;
- if (buildCounterSearchReadsRequest < 3) {
- o.end = "foo";
- o.pageSize = 42;
- o.pageToken = "foo";
- o.readGroupIds = buildUnnamed3016();
- o.readGroupSetIds = buildUnnamed3017();
- o.referenceName = "foo";
- o.start = "foo";
- }
- buildCounterSearchReadsRequest--;
- return o;
-}
-
-checkSearchReadsRequest(api.SearchReadsRequest o) {
- buildCounterSearchReadsRequest++;
- if (buildCounterSearchReadsRequest < 3) {
- unittest.expect(o.end, unittest.equals('foo'));
- unittest.expect(o.pageSize, unittest.equals(42));
- unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed3016(o.readGroupIds);
- checkUnnamed3017(o.readGroupSetIds);
- unittest.expect(o.referenceName, unittest.equals('foo'));
- unittest.expect(o.start, unittest.equals('foo'));
- }
- buildCounterSearchReadsRequest--;
-}
-
-buildUnnamed3018() {
- var o = new core.List<api.Read>();
- o.add(buildRead());
- o.add(buildRead());
- return o;
-}
-
-checkUnnamed3018(core.List<api.Read> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkRead(o[0]);
- checkRead(o[1]);
-}
-
-core.int buildCounterSearchReadsResponse = 0;
-buildSearchReadsResponse() {
- var o = new api.SearchReadsResponse();
- buildCounterSearchReadsResponse++;
- if (buildCounterSearchReadsResponse < 3) {
- o.alignments = buildUnnamed3018();
- o.nextPageToken = "foo";
- }
- buildCounterSearchReadsResponse--;
- return o;
-}
-
-checkSearchReadsResponse(api.SearchReadsResponse o) {
- buildCounterSearchReadsResponse++;
- if (buildCounterSearchReadsResponse < 3) {
- checkUnnamed3018(o.alignments);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterSearchReadsResponse--;
-}
-
-buildUnnamed3019() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3019(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3020() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3020(core.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 buildCounterSearchReferenceSetsRequest = 0;
-buildSearchReferenceSetsRequest() {
- var o = new api.SearchReferenceSetsRequest();
- buildCounterSearchReferenceSetsRequest++;
- if (buildCounterSearchReferenceSetsRequest < 3) {
- o.accessions = buildUnnamed3019();
- o.assemblyId = "foo";
- o.md5checksums = buildUnnamed3020();
- o.pageSize = 42;
- o.pageToken = "foo";
- }
- buildCounterSearchReferenceSetsRequest--;
- return o;
-}
-
-checkSearchReferenceSetsRequest(api.SearchReferenceSetsRequest o) {
- buildCounterSearchReferenceSetsRequest++;
- if (buildCounterSearchReferenceSetsRequest < 3) {
- checkUnnamed3019(o.accessions);
- unittest.expect(o.assemblyId, unittest.equals('foo'));
- checkUnnamed3020(o.md5checksums);
- unittest.expect(o.pageSize, unittest.equals(42));
- unittest.expect(o.pageToken, unittest.equals('foo'));
- }
- buildCounterSearchReferenceSetsRequest--;
-}
-
-buildUnnamed3021() {
- var o = new core.List<api.ReferenceSet>();
- o.add(buildReferenceSet());
- o.add(buildReferenceSet());
- return o;
-}
-
-checkUnnamed3021(core.List<api.ReferenceSet> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkReferenceSet(o[0]);
- checkReferenceSet(o[1]);
-}
-
-core.int buildCounterSearchReferenceSetsResponse = 0;
-buildSearchReferenceSetsResponse() {
- var o = new api.SearchReferenceSetsResponse();
- buildCounterSearchReferenceSetsResponse++;
- if (buildCounterSearchReferenceSetsResponse < 3) {
- o.nextPageToken = "foo";
- o.referenceSets = buildUnnamed3021();
- }
- buildCounterSearchReferenceSetsResponse--;
- return o;
-}
-
-checkSearchReferenceSetsResponse(api.SearchReferenceSetsResponse o) {
- buildCounterSearchReferenceSetsResponse++;
- if (buildCounterSearchReferenceSetsResponse < 3) {
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3021(o.referenceSets);
- }
- buildCounterSearchReferenceSetsResponse--;
-}
-
-buildUnnamed3022() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3022(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3023() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3023(core.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 buildCounterSearchReferencesRequest = 0;
-buildSearchReferencesRequest() {
- var o = new api.SearchReferencesRequest();
- buildCounterSearchReferencesRequest++;
- if (buildCounterSearchReferencesRequest < 3) {
- o.accessions = buildUnnamed3022();
- o.md5checksums = buildUnnamed3023();
- o.pageSize = 42;
- o.pageToken = "foo";
- o.referenceSetId = "foo";
- }
- buildCounterSearchReferencesRequest--;
- return o;
-}
-
-checkSearchReferencesRequest(api.SearchReferencesRequest o) {
- buildCounterSearchReferencesRequest++;
- if (buildCounterSearchReferencesRequest < 3) {
- checkUnnamed3022(o.accessions);
- checkUnnamed3023(o.md5checksums);
- unittest.expect(o.pageSize, unittest.equals(42));
- unittest.expect(o.pageToken, unittest.equals('foo'));
- unittest.expect(o.referenceSetId, unittest.equals('foo'));
- }
- buildCounterSearchReferencesRequest--;
-}
-
-buildUnnamed3024() {
- var o = new core.List<api.Reference>();
- o.add(buildReference());
- o.add(buildReference());
- return o;
-}
-
-checkUnnamed3024(core.List<api.Reference> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkReference(o[0]);
- checkReference(o[1]);
-}
-
-core.int buildCounterSearchReferencesResponse = 0;
-buildSearchReferencesResponse() {
- var o = new api.SearchReferencesResponse();
- buildCounterSearchReferencesResponse++;
- if (buildCounterSearchReferencesResponse < 3) {
- o.nextPageToken = "foo";
- o.references = buildUnnamed3024();
- }
- buildCounterSearchReferencesResponse--;
- return o;
-}
-
-checkSearchReferencesResponse(api.SearchReferencesResponse o) {
- buildCounterSearchReferencesResponse++;
- if (buildCounterSearchReferencesResponse < 3) {
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3024(o.references);
- }
- buildCounterSearchReferencesResponse--;
-}
-
-buildUnnamed3025() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3025(core.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 buildCounterSearchVariantSetsRequest = 0;
-buildSearchVariantSetsRequest() {
- var o = new api.SearchVariantSetsRequest();
- buildCounterSearchVariantSetsRequest++;
- if (buildCounterSearchVariantSetsRequest < 3) {
- o.datasetIds = buildUnnamed3025();
- o.pageSize = 42;
- o.pageToken = "foo";
- }
- buildCounterSearchVariantSetsRequest--;
- return o;
-}
-
-checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) {
- buildCounterSearchVariantSetsRequest++;
- if (buildCounterSearchVariantSetsRequest < 3) {
- checkUnnamed3025(o.datasetIds);
- unittest.expect(o.pageSize, unittest.equals(42));
- unittest.expect(o.pageToken, unittest.equals('foo'));
- }
- buildCounterSearchVariantSetsRequest--;
-}
-
buildUnnamed3026() {
- var o = new core.List<api.VariantSet>();
- o.add(buildVariantSet());
- o.add(buildVariantSet());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed3026(core.List<api.VariantSet> o) {
+checkUnnamed3026(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkVariantSet(o[0]);
- checkVariantSet(o[1]);
-}
-
-core.int buildCounterSearchVariantSetsResponse = 0;
-buildSearchVariantSetsResponse() {
- var o = new api.SearchVariantSetsResponse();
- buildCounterSearchVariantSetsResponse++;
- if (buildCounterSearchVariantSetsResponse < 3) {
- o.nextPageToken = "foo";
- o.variantSets = buildUnnamed3026();
- }
- buildCounterSearchVariantSetsResponse--;
- return o;
-}
-
-checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) {
- buildCounterSearchVariantSetsResponse++;
- if (buildCounterSearchVariantSetsResponse < 3) {
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3026(o.variantSets);
- }
- buildCounterSearchVariantSetsResponse--;
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed3027() {
@@ -2569,14 +1936,647 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterSearchAnnotationSetsRequest = 0;
+buildSearchAnnotationSetsRequest() {
+ var o = new api.SearchAnnotationSetsRequest();
+ buildCounterSearchAnnotationSetsRequest++;
+ if (buildCounterSearchAnnotationSetsRequest < 3) {
+ o.datasetIds = buildUnnamed3026();
+ o.name = "foo";
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ o.referenceSetId = "foo";
+ o.types = buildUnnamed3027();
+ }
+ buildCounterSearchAnnotationSetsRequest--;
+ return o;
+}
+
+checkSearchAnnotationSetsRequest(api.SearchAnnotationSetsRequest o) {
+ buildCounterSearchAnnotationSetsRequest++;
+ if (buildCounterSearchAnnotationSetsRequest < 3) {
+ checkUnnamed3026(o.datasetIds);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ unittest.expect(o.referenceSetId, unittest.equals('foo'));
+ checkUnnamed3027(o.types);
+ }
+ buildCounterSearchAnnotationSetsRequest--;
+}
+
buildUnnamed3028() {
+ var o = new core.List<api.AnnotationSet>();
+ o.add(buildAnnotationSet());
+ o.add(buildAnnotationSet());
+ return o;
+}
+
+checkUnnamed3028(core.List<api.AnnotationSet> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAnnotationSet(o[0]);
+ checkAnnotationSet(o[1]);
+}
+
+core.int buildCounterSearchAnnotationSetsResponse = 0;
+buildSearchAnnotationSetsResponse() {
+ var o = new api.SearchAnnotationSetsResponse();
+ buildCounterSearchAnnotationSetsResponse++;
+ if (buildCounterSearchAnnotationSetsResponse < 3) {
+ o.annotationSets = buildUnnamed3028();
+ o.nextPageToken = "foo";
+ }
+ buildCounterSearchAnnotationSetsResponse--;
+ return o;
+}
+
+checkSearchAnnotationSetsResponse(api.SearchAnnotationSetsResponse o) {
+ buildCounterSearchAnnotationSetsResponse++;
+ if (buildCounterSearchAnnotationSetsResponse < 3) {
+ checkUnnamed3028(o.annotationSets);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterSearchAnnotationSetsResponse--;
+}
+
+buildUnnamed3029() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3028(core.List<core.String> o) {
+checkUnnamed3029(core.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 buildCounterSearchAnnotationsRequest = 0;
+buildSearchAnnotationsRequest() {
+ var o = new api.SearchAnnotationsRequest();
+ buildCounterSearchAnnotationsRequest++;
+ if (buildCounterSearchAnnotationsRequest < 3) {
+ o.annotationSetIds = buildUnnamed3029();
+ o.end = "foo";
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ o.referenceId = "foo";
+ o.referenceName = "foo";
+ o.start = "foo";
+ }
+ buildCounterSearchAnnotationsRequest--;
+ return o;
+}
+
+checkSearchAnnotationsRequest(api.SearchAnnotationsRequest o) {
+ buildCounterSearchAnnotationsRequest++;
+ if (buildCounterSearchAnnotationsRequest < 3) {
+ checkUnnamed3029(o.annotationSetIds);
+ unittest.expect(o.end, unittest.equals('foo'));
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ unittest.expect(o.referenceId, unittest.equals('foo'));
+ unittest.expect(o.referenceName, unittest.equals('foo'));
+ unittest.expect(o.start, unittest.equals('foo'));
+ }
+ buildCounterSearchAnnotationsRequest--;
+}
+
+buildUnnamed3030() {
+ var o = new core.List<api.Annotation>();
+ o.add(buildAnnotation());
+ o.add(buildAnnotation());
+ return o;
+}
+
+checkUnnamed3030(core.List<api.Annotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAnnotation(o[0]);
+ checkAnnotation(o[1]);
+}
+
+core.int buildCounterSearchAnnotationsResponse = 0;
+buildSearchAnnotationsResponse() {
+ var o = new api.SearchAnnotationsResponse();
+ buildCounterSearchAnnotationsResponse++;
+ if (buildCounterSearchAnnotationsResponse < 3) {
+ o.annotations = buildUnnamed3030();
+ o.nextPageToken = "foo";
+ }
+ buildCounterSearchAnnotationsResponse--;
+ return o;
+}
+
+checkSearchAnnotationsResponse(api.SearchAnnotationsResponse o) {
+ buildCounterSearchAnnotationsResponse++;
+ if (buildCounterSearchAnnotationsResponse < 3) {
+ checkUnnamed3030(o.annotations);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterSearchAnnotationsResponse--;
+}
+
+buildUnnamed3031() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3031(core.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 buildCounterSearchCallSetsRequest = 0;
+buildSearchCallSetsRequest() {
+ var o = new api.SearchCallSetsRequest();
+ buildCounterSearchCallSetsRequest++;
+ if (buildCounterSearchCallSetsRequest < 3) {
+ o.name = "foo";
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ o.variantSetIds = buildUnnamed3031();
+ }
+ buildCounterSearchCallSetsRequest--;
+ return o;
+}
+
+checkSearchCallSetsRequest(api.SearchCallSetsRequest o) {
+ buildCounterSearchCallSetsRequest++;
+ if (buildCounterSearchCallSetsRequest < 3) {
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ checkUnnamed3031(o.variantSetIds);
+ }
+ buildCounterSearchCallSetsRequest--;
+}
+
+buildUnnamed3032() {
+ var o = new core.List<api.CallSet>();
+ o.add(buildCallSet());
+ o.add(buildCallSet());
+ return o;
+}
+
+checkUnnamed3032(core.List<api.CallSet> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCallSet(o[0]);
+ checkCallSet(o[1]);
+}
+
+core.int buildCounterSearchCallSetsResponse = 0;
+buildSearchCallSetsResponse() {
+ var o = new api.SearchCallSetsResponse();
+ buildCounterSearchCallSetsResponse++;
+ if (buildCounterSearchCallSetsResponse < 3) {
+ o.callSets = buildUnnamed3032();
+ o.nextPageToken = "foo";
+ }
+ buildCounterSearchCallSetsResponse--;
+ return o;
+}
+
+checkSearchCallSetsResponse(api.SearchCallSetsResponse o) {
+ buildCounterSearchCallSetsResponse++;
+ if (buildCounterSearchCallSetsResponse < 3) {
+ checkUnnamed3032(o.callSets);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterSearchCallSetsResponse--;
+}
+
+buildUnnamed3033() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3033(core.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 buildCounterSearchReadGroupSetsRequest = 0;
+buildSearchReadGroupSetsRequest() {
+ var o = new api.SearchReadGroupSetsRequest();
+ buildCounterSearchReadGroupSetsRequest++;
+ if (buildCounterSearchReadGroupSetsRequest < 3) {
+ o.datasetIds = buildUnnamed3033();
+ o.name = "foo";
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ }
+ buildCounterSearchReadGroupSetsRequest--;
+ return o;
+}
+
+checkSearchReadGroupSetsRequest(api.SearchReadGroupSetsRequest o) {
+ buildCounterSearchReadGroupSetsRequest++;
+ if (buildCounterSearchReadGroupSetsRequest < 3) {
+ checkUnnamed3033(o.datasetIds);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ }
+ buildCounterSearchReadGroupSetsRequest--;
+}
+
+buildUnnamed3034() {
+ var o = new core.List<api.ReadGroupSet>();
+ o.add(buildReadGroupSet());
+ o.add(buildReadGroupSet());
+ return o;
+}
+
+checkUnnamed3034(core.List<api.ReadGroupSet> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkReadGroupSet(o[0]);
+ checkReadGroupSet(o[1]);
+}
+
+core.int buildCounterSearchReadGroupSetsResponse = 0;
+buildSearchReadGroupSetsResponse() {
+ var o = new api.SearchReadGroupSetsResponse();
+ buildCounterSearchReadGroupSetsResponse++;
+ if (buildCounterSearchReadGroupSetsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.readGroupSets = buildUnnamed3034();
+ }
+ buildCounterSearchReadGroupSetsResponse--;
+ return o;
+}
+
+checkSearchReadGroupSetsResponse(api.SearchReadGroupSetsResponse o) {
+ buildCounterSearchReadGroupSetsResponse++;
+ if (buildCounterSearchReadGroupSetsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed3034(o.readGroupSets);
+ }
+ buildCounterSearchReadGroupSetsResponse--;
+}
+
+buildUnnamed3035() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3035(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3036() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3036(core.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 buildCounterSearchReadsRequest = 0;
+buildSearchReadsRequest() {
+ var o = new api.SearchReadsRequest();
+ buildCounterSearchReadsRequest++;
+ if (buildCounterSearchReadsRequest < 3) {
+ o.end = "foo";
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ o.readGroupIds = buildUnnamed3035();
+ o.readGroupSetIds = buildUnnamed3036();
+ o.referenceName = "foo";
+ o.start = "foo";
+ }
+ buildCounterSearchReadsRequest--;
+ return o;
+}
+
+checkSearchReadsRequest(api.SearchReadsRequest o) {
+ buildCounterSearchReadsRequest++;
+ if (buildCounterSearchReadsRequest < 3) {
+ unittest.expect(o.end, unittest.equals('foo'));
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ checkUnnamed3035(o.readGroupIds);
+ checkUnnamed3036(o.readGroupSetIds);
+ unittest.expect(o.referenceName, unittest.equals('foo'));
+ unittest.expect(o.start, unittest.equals('foo'));
+ }
+ buildCounterSearchReadsRequest--;
+}
+
+buildUnnamed3037() {
+ var o = new core.List<api.Read>();
+ o.add(buildRead());
+ o.add(buildRead());
+ return o;
+}
+
+checkUnnamed3037(core.List<api.Read> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkRead(o[0]);
+ checkRead(o[1]);
+}
+
+core.int buildCounterSearchReadsResponse = 0;
+buildSearchReadsResponse() {
+ var o = new api.SearchReadsResponse();
+ buildCounterSearchReadsResponse++;
+ if (buildCounterSearchReadsResponse < 3) {
+ o.alignments = buildUnnamed3037();
+ o.nextPageToken = "foo";
+ }
+ buildCounterSearchReadsResponse--;
+ return o;
+}
+
+checkSearchReadsResponse(api.SearchReadsResponse o) {
+ buildCounterSearchReadsResponse++;
+ if (buildCounterSearchReadsResponse < 3) {
+ checkUnnamed3037(o.alignments);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterSearchReadsResponse--;
+}
+
+buildUnnamed3038() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3038(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3039() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3039(core.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 buildCounterSearchReferenceSetsRequest = 0;
+buildSearchReferenceSetsRequest() {
+ var o = new api.SearchReferenceSetsRequest();
+ buildCounterSearchReferenceSetsRequest++;
+ if (buildCounterSearchReferenceSetsRequest < 3) {
+ o.accessions = buildUnnamed3038();
+ o.assemblyId = "foo";
+ o.md5checksums = buildUnnamed3039();
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ }
+ buildCounterSearchReferenceSetsRequest--;
+ return o;
+}
+
+checkSearchReferenceSetsRequest(api.SearchReferenceSetsRequest o) {
+ buildCounterSearchReferenceSetsRequest++;
+ if (buildCounterSearchReferenceSetsRequest < 3) {
+ checkUnnamed3038(o.accessions);
+ unittest.expect(o.assemblyId, unittest.equals('foo'));
+ checkUnnamed3039(o.md5checksums);
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ }
+ buildCounterSearchReferenceSetsRequest--;
+}
+
+buildUnnamed3040() {
+ var o = new core.List<api.ReferenceSet>();
+ o.add(buildReferenceSet());
+ o.add(buildReferenceSet());
+ return o;
+}
+
+checkUnnamed3040(core.List<api.ReferenceSet> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkReferenceSet(o[0]);
+ checkReferenceSet(o[1]);
+}
+
+core.int buildCounterSearchReferenceSetsResponse = 0;
+buildSearchReferenceSetsResponse() {
+ var o = new api.SearchReferenceSetsResponse();
+ buildCounterSearchReferenceSetsResponse++;
+ if (buildCounterSearchReferenceSetsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.referenceSets = buildUnnamed3040();
+ }
+ buildCounterSearchReferenceSetsResponse--;
+ return o;
+}
+
+checkSearchReferenceSetsResponse(api.SearchReferenceSetsResponse o) {
+ buildCounterSearchReferenceSetsResponse++;
+ if (buildCounterSearchReferenceSetsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed3040(o.referenceSets);
+ }
+ buildCounterSearchReferenceSetsResponse--;
+}
+
+buildUnnamed3041() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3041(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3042() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3042(core.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 buildCounterSearchReferencesRequest = 0;
+buildSearchReferencesRequest() {
+ var o = new api.SearchReferencesRequest();
+ buildCounterSearchReferencesRequest++;
+ if (buildCounterSearchReferencesRequest < 3) {
+ o.accessions = buildUnnamed3041();
+ o.md5checksums = buildUnnamed3042();
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ o.referenceSetId = "foo";
+ }
+ buildCounterSearchReferencesRequest--;
+ return o;
+}
+
+checkSearchReferencesRequest(api.SearchReferencesRequest o) {
+ buildCounterSearchReferencesRequest++;
+ if (buildCounterSearchReferencesRequest < 3) {
+ checkUnnamed3041(o.accessions);
+ checkUnnamed3042(o.md5checksums);
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ unittest.expect(o.referenceSetId, unittest.equals('foo'));
+ }
+ buildCounterSearchReferencesRequest--;
+}
+
+buildUnnamed3043() {
+ var o = new core.List<api.Reference>();
+ o.add(buildReference());
+ o.add(buildReference());
+ return o;
+}
+
+checkUnnamed3043(core.List<api.Reference> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkReference(o[0]);
+ checkReference(o[1]);
+}
+
+core.int buildCounterSearchReferencesResponse = 0;
+buildSearchReferencesResponse() {
+ var o = new api.SearchReferencesResponse();
+ buildCounterSearchReferencesResponse++;
+ if (buildCounterSearchReferencesResponse < 3) {
+ o.nextPageToken = "foo";
+ o.references = buildUnnamed3043();
+ }
+ buildCounterSearchReferencesResponse--;
+ return o;
+}
+
+checkSearchReferencesResponse(api.SearchReferencesResponse o) {
+ buildCounterSearchReferencesResponse++;
+ if (buildCounterSearchReferencesResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed3043(o.references);
+ }
+ buildCounterSearchReferencesResponse--;
+}
+
+buildUnnamed3044() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3044(core.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 buildCounterSearchVariantSetsRequest = 0;
+buildSearchVariantSetsRequest() {
+ var o = new api.SearchVariantSetsRequest();
+ buildCounterSearchVariantSetsRequest++;
+ if (buildCounterSearchVariantSetsRequest < 3) {
+ o.datasetIds = buildUnnamed3044();
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ }
+ buildCounterSearchVariantSetsRequest--;
+ return o;
+}
+
+checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) {
+ buildCounterSearchVariantSetsRequest++;
+ if (buildCounterSearchVariantSetsRequest < 3) {
+ checkUnnamed3044(o.datasetIds);
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ }
+ buildCounterSearchVariantSetsRequest--;
+}
+
+buildUnnamed3045() {
+ var o = new core.List<api.VariantSet>();
+ o.add(buildVariantSet());
+ o.add(buildVariantSet());
+ return o;
+}
+
+checkUnnamed3045(core.List<api.VariantSet> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkVariantSet(o[0]);
+ checkVariantSet(o[1]);
+}
+
+core.int buildCounterSearchVariantSetsResponse = 0;
+buildSearchVariantSetsResponse() {
+ var o = new api.SearchVariantSetsResponse();
+ buildCounterSearchVariantSetsResponse++;
+ if (buildCounterSearchVariantSetsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.variantSets = buildUnnamed3045();
+ }
+ buildCounterSearchVariantSetsResponse--;
+ return o;
+}
+
+checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) {
+ buildCounterSearchVariantSetsResponse++;
+ if (buildCounterSearchVariantSetsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed3045(o.variantSets);
+ }
+ buildCounterSearchVariantSetsResponse--;
+}
+
+buildUnnamed3046() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3046(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3047() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3047(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2587,7 +2587,7 @@
var o = new api.SearchVariantsRequest();
buildCounterSearchVariantsRequest++;
if (buildCounterSearchVariantsRequest < 3) {
- o.callSetIds = buildUnnamed3027();
+ o.callSetIds = buildUnnamed3046();
o.end = "foo";
o.maxCalls = 42;
o.pageSize = 42;
@@ -2595,7 +2595,7 @@
o.referenceName = "foo";
o.start = "foo";
o.variantName = "foo";
- o.variantSetIds = buildUnnamed3028();
+ o.variantSetIds = buildUnnamed3047();
}
buildCounterSearchVariantsRequest--;
return o;
@@ -2604,7 +2604,7 @@
checkSearchVariantsRequest(api.SearchVariantsRequest o) {
buildCounterSearchVariantsRequest++;
if (buildCounterSearchVariantsRequest < 3) {
- checkUnnamed3027(o.callSetIds);
+ checkUnnamed3046(o.callSetIds);
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.maxCalls, unittest.equals(42));
unittest.expect(o.pageSize, unittest.equals(42));
@@ -2612,19 +2612,19 @@
unittest.expect(o.referenceName, unittest.equals('foo'));
unittest.expect(o.start, unittest.equals('foo'));
unittest.expect(o.variantName, unittest.equals('foo'));
- checkUnnamed3028(o.variantSetIds);
+ checkUnnamed3047(o.variantSetIds);
}
buildCounterSearchVariantsRequest--;
}
-buildUnnamed3029() {
+buildUnnamed3048() {
var o = new core.List<api.Variant>();
o.add(buildVariant());
o.add(buildVariant());
return o;
}
-checkUnnamed3029(core.List<api.Variant> o) {
+checkUnnamed3048(core.List<api.Variant> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariant(o[0]);
checkVariant(o[1]);
@@ -2636,7 +2636,7 @@
buildCounterSearchVariantsResponse++;
if (buildCounterSearchVariantsResponse < 3) {
o.nextPageToken = "foo";
- o.variants = buildUnnamed3029();
+ o.variants = buildUnnamed3048();
}
buildCounterSearchVariantsResponse--;
return o;
@@ -2646,7 +2646,7 @@
buildCounterSearchVariantsResponse++;
if (buildCounterSearchVariantsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3029(o.variants);
+ checkUnnamed3048(o.variants);
}
buildCounterSearchVariantsResponse--;
}
@@ -2670,7 +2670,7 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed3030() {
+buildUnnamed3049() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2685,7 +2685,7 @@
return o;
}
-checkUnnamed3030(core.Map<core.String, core.Object> o) {
+checkUnnamed3049(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));
@@ -2699,17 +2699,17 @@
unittest.expect(casted22["string"], unittest.equals('foo'));
}
-buildUnnamed3031() {
+buildUnnamed3050() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3030());
- o.add(buildUnnamed3030());
+ o.add(buildUnnamed3049());
+ o.add(buildUnnamed3049());
return o;
}
-checkUnnamed3031(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3050(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3030(o[0]);
- checkUnnamed3030(o[1]);
+ checkUnnamed3049(o[0]);
+ checkUnnamed3049(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2718,7 +2718,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3031();
+ o.details = buildUnnamed3050();
o.message = "foo";
}
buildCounterStatus--;
@@ -2729,20 +2729,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3031(o.details);
+ checkUnnamed3050(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed3032() {
+buildUnnamed3051() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3032(core.List<core.String> o) {
+checkUnnamed3051(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2753,7 +2753,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed3032();
+ o.permissions = buildUnnamed3051();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -2762,19 +2762,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed3032(o.permissions);
+ checkUnnamed3051(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed3033() {
+buildUnnamed3052() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3033(core.List<core.String> o) {
+checkUnnamed3052(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2785,7 +2785,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed3033();
+ o.permissions = buildUnnamed3052();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -2794,19 +2794,19 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed3033(o.permissions);
+ checkUnnamed3052(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed3034() {
+buildUnnamed3053() {
var o = new core.List<api.Exon>();
o.add(buildExon());
o.add(buildExon());
return o;
}
-checkUnnamed3034(core.List<api.Exon> o) {
+checkUnnamed3053(core.List<api.Exon> o) {
unittest.expect(o, unittest.hasLength(2));
checkExon(o[0]);
checkExon(o[1]);
@@ -2818,7 +2818,7 @@
buildCounterTranscript++;
if (buildCounterTranscript < 3) {
o.codingSequence = buildCodingSequence();
- o.exons = buildUnnamed3034();
+ o.exons = buildUnnamed3053();
o.geneId = "foo";
}
buildCounterTranscript--;
@@ -2829,7 +2829,7 @@
buildCounterTranscript++;
if (buildCounterTranscript < 3) {
checkCodingSequence(o.codingSequence);
- checkUnnamed3034(o.exons);
+ checkUnnamed3053(o.exons);
unittest.expect(o.geneId, unittest.equals('foo'));
}
buildCounterTranscript--;
@@ -2850,46 +2850,46 @@
buildCounterUndeleteDatasetRequest--;
}
-buildUnnamed3035() {
+buildUnnamed3054() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3035(core.List<core.String> o) {
+checkUnnamed3054(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3036() {
+buildUnnamed3055() {
var o = new core.List<api.VariantCall>();
o.add(buildVariantCall());
o.add(buildVariantCall());
return o;
}
-checkUnnamed3036(core.List<api.VariantCall> o) {
+checkUnnamed3055(core.List<api.VariantCall> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariantCall(o[0]);
checkVariantCall(o[1]);
}
-buildUnnamed3037() {
+buildUnnamed3056() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3037(core.List<core.String> o) {
+checkUnnamed3056(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3038() {
+buildUnnamed3057() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -2904,7 +2904,7 @@
return o;
}
-checkUnnamed3038(core.List<core.Object> o) {
+checkUnnamed3057(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted23 = (o[0]) as core.Map;
unittest.expect(casted23, unittest.hasLength(3));
@@ -2918,27 +2918,27 @@
unittest.expect(casted24["string"], unittest.equals('foo'));
}
-buildUnnamed3039() {
+buildUnnamed3058() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed3038();
- o["y"] = buildUnnamed3038();
+ o["x"] = buildUnnamed3057();
+ o["y"] = buildUnnamed3057();
return o;
}
-checkUnnamed3039(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed3058(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3038(o["x"]);
- checkUnnamed3038(o["y"]);
+ checkUnnamed3057(o["x"]);
+ checkUnnamed3057(o["y"]);
}
-buildUnnamed3040() {
+buildUnnamed3059() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3040(core.List<core.String> o) {
+checkUnnamed3059(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2949,14 +2949,14 @@
var o = new api.Variant();
buildCounterVariant++;
if (buildCounterVariant < 3) {
- o.alternateBases = buildUnnamed3035();
- o.calls = buildUnnamed3036();
+ o.alternateBases = buildUnnamed3054();
+ o.calls = buildUnnamed3055();
o.created = "foo";
o.end = "foo";
- o.filter = buildUnnamed3037();
+ o.filter = buildUnnamed3056();
o.id = "foo";
- o.info = buildUnnamed3039();
- o.names = buildUnnamed3040();
+ o.info = buildUnnamed3058();
+ o.names = buildUnnamed3059();
o.quality = 42.0;
o.referenceBases = "foo";
o.referenceName = "foo";
@@ -2970,14 +2970,14 @@
checkVariant(api.Variant o) {
buildCounterVariant++;
if (buildCounterVariant < 3) {
- checkUnnamed3035(o.alternateBases);
- checkUnnamed3036(o.calls);
+ checkUnnamed3054(o.alternateBases);
+ checkUnnamed3055(o.calls);
unittest.expect(o.created, unittest.equals('foo'));
unittest.expect(o.end, unittest.equals('foo'));
- checkUnnamed3037(o.filter);
+ checkUnnamed3056(o.filter);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3039(o.info);
- checkUnnamed3040(o.names);
+ checkUnnamed3058(o.info);
+ checkUnnamed3059(o.names);
unittest.expect(o.quality, unittest.equals(42.0));
unittest.expect(o.referenceBases, unittest.equals('foo'));
unittest.expect(o.referenceName, unittest.equals('foo'));
@@ -2987,27 +2987,27 @@
buildCounterVariant--;
}
-buildUnnamed3041() {
+buildUnnamed3060() {
var o = new core.List<api.ClinicalCondition>();
o.add(buildClinicalCondition());
o.add(buildClinicalCondition());
return o;
}
-checkUnnamed3041(core.List<api.ClinicalCondition> o) {
+checkUnnamed3060(core.List<api.ClinicalCondition> o) {
unittest.expect(o, unittest.hasLength(2));
checkClinicalCondition(o[0]);
checkClinicalCondition(o[1]);
}
-buildUnnamed3042() {
+buildUnnamed3061() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3042(core.List<core.String> o) {
+checkUnnamed3061(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3020,10 +3020,10 @@
if (buildCounterVariantAnnotation < 3) {
o.alternateBases = "foo";
o.clinicalSignificance = "foo";
- o.conditions = buildUnnamed3041();
+ o.conditions = buildUnnamed3060();
o.effect = "foo";
o.geneId = "foo";
- o.transcriptIds = buildUnnamed3042();
+ o.transcriptIds = buildUnnamed3061();
o.type = "foo";
}
buildCounterVariantAnnotation--;
@@ -3035,42 +3035,42 @@
if (buildCounterVariantAnnotation < 3) {
unittest.expect(o.alternateBases, unittest.equals('foo'));
unittest.expect(o.clinicalSignificance, unittest.equals('foo'));
- checkUnnamed3041(o.conditions);
+ checkUnnamed3060(o.conditions);
unittest.expect(o.effect, unittest.equals('foo'));
unittest.expect(o.geneId, unittest.equals('foo'));
- checkUnnamed3042(o.transcriptIds);
+ checkUnnamed3061(o.transcriptIds);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterVariantAnnotation--;
}
-buildUnnamed3043() {
+buildUnnamed3062() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed3043(core.List<core.int> o) {
+checkUnnamed3062(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));
}
-buildUnnamed3044() {
+buildUnnamed3063() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed3044(core.List<core.double> o) {
+checkUnnamed3063(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));
}
-buildUnnamed3045() {
+buildUnnamed3064() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -3085,7 +3085,7 @@
return o;
}
-checkUnnamed3045(core.List<core.Object> o) {
+checkUnnamed3064(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted25 = (o[0]) as core.Map;
unittest.expect(casted25, unittest.hasLength(3));
@@ -3099,17 +3099,17 @@
unittest.expect(casted26["string"], unittest.equals('foo'));
}
-buildUnnamed3046() {
+buildUnnamed3065() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed3045();
- o["y"] = buildUnnamed3045();
+ o["x"] = buildUnnamed3064();
+ o["y"] = buildUnnamed3064();
return o;
}
-checkUnnamed3046(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed3065(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3045(o["x"]);
- checkUnnamed3045(o["y"]);
+ checkUnnamed3064(o["x"]);
+ checkUnnamed3064(o["y"]);
}
core.int buildCounterVariantCall = 0;
@@ -3119,9 +3119,9 @@
if (buildCounterVariantCall < 3) {
o.callSetId = "foo";
o.callSetName = "foo";
- o.genotype = buildUnnamed3043();
- o.genotypeLikelihood = buildUnnamed3044();
- o.info = buildUnnamed3046();
+ o.genotype = buildUnnamed3062();
+ o.genotypeLikelihood = buildUnnamed3063();
+ o.info = buildUnnamed3065();
o.phaseset = "foo";
}
buildCounterVariantCall--;
@@ -3133,35 +3133,35 @@
if (buildCounterVariantCall < 3) {
unittest.expect(o.callSetId, unittest.equals('foo'));
unittest.expect(o.callSetName, unittest.equals('foo'));
- checkUnnamed3043(o.genotype);
- checkUnnamed3044(o.genotypeLikelihood);
- checkUnnamed3046(o.info);
+ checkUnnamed3062(o.genotype);
+ checkUnnamed3063(o.genotypeLikelihood);
+ checkUnnamed3065(o.info);
unittest.expect(o.phaseset, unittest.equals('foo'));
}
buildCounterVariantCall--;
}
-buildUnnamed3047() {
+buildUnnamed3066() {
var o = new core.List<api.VariantSetMetadata>();
o.add(buildVariantSetMetadata());
o.add(buildVariantSetMetadata());
return o;
}
-checkUnnamed3047(core.List<api.VariantSetMetadata> o) {
+checkUnnamed3066(core.List<api.VariantSetMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariantSetMetadata(o[0]);
checkVariantSetMetadata(o[1]);
}
-buildUnnamed3048() {
+buildUnnamed3067() {
var o = new core.List<api.ReferenceBound>();
o.add(buildReferenceBound());
o.add(buildReferenceBound());
return o;
}
-checkUnnamed3048(core.List<api.ReferenceBound> o) {
+checkUnnamed3067(core.List<api.ReferenceBound> o) {
unittest.expect(o, unittest.hasLength(2));
checkReferenceBound(o[0]);
checkReferenceBound(o[1]);
@@ -3175,9 +3175,9 @@
o.datasetId = "foo";
o.description = "foo";
o.id = "foo";
- o.metadata = buildUnnamed3047();
+ o.metadata = buildUnnamed3066();
o.name = "foo";
- o.referenceBounds = buildUnnamed3048();
+ o.referenceBounds = buildUnnamed3067();
o.referenceSetId = "foo";
}
buildCounterVariantSet--;
@@ -3190,15 +3190,15 @@
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3047(o.metadata);
+ checkUnnamed3066(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3048(o.referenceBounds);
+ checkUnnamed3067(o.referenceBounds);
unittest.expect(o.referenceSetId, unittest.equals('foo'));
}
buildCounterVariantSet--;
}
-buildUnnamed3049() {
+buildUnnamed3068() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -3213,7 +3213,7 @@
return o;
}
-checkUnnamed3049(core.List<core.Object> o) {
+checkUnnamed3068(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted27 = (o[0]) as core.Map;
unittest.expect(casted27, unittest.hasLength(3));
@@ -3227,17 +3227,17 @@
unittest.expect(casted28["string"], unittest.equals('foo'));
}
-buildUnnamed3050() {
+buildUnnamed3069() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed3049();
- o["y"] = buildUnnamed3049();
+ o["x"] = buildUnnamed3068();
+ o["y"] = buildUnnamed3068();
return o;
}
-checkUnnamed3050(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed3069(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3049(o["x"]);
- checkUnnamed3049(o["y"]);
+ checkUnnamed3068(o["x"]);
+ checkUnnamed3068(o["y"]);
}
core.int buildCounterVariantSetMetadata = 0;
@@ -3247,7 +3247,7 @@
if (buildCounterVariantSetMetadata < 3) {
o.description = "foo";
o.id = "foo";
- o.info = buildUnnamed3050();
+ o.info = buildUnnamed3069();
o.key = "foo";
o.number = "foo";
o.type = "foo";
@@ -3262,7 +3262,7 @@
if (buildCounterVariantSetMetadata < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3050(o.info);
+ checkUnnamed3069(o.info);
unittest.expect(o.key, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -4962,9 +4962,9 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
- var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_projectId = "foo";
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4996,12 +4996,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["projectId"].first, unittest.equals(arg_projectId));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5012,9 +5012,9 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
projectId: arg_projectId,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListDatasetsResponse response) {
checkListDatasetsResponse(response);
@@ -5368,9 +5368,9 @@
var mock = new HttpServerMock();
api.OperationsResourceApi res = new api.GenomicsApi(mock).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;
@@ -5403,11 +5403,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 = {
@@ -5418,9 +5418,9 @@
}), true);
res
.list(arg_name,
+ pageSize: arg_pageSize,
filter: arg_filter,
pageToken: arg_pageToken,
- pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
@@ -5777,12 +5777,12 @@
api.ReadgroupsetsCoveragebucketsResourceApi res =
new api.GenomicsApi(mock).readgroupsets.coveragebuckets;
var arg_readGroupSetId = "foo";
+ var arg_referenceName = "foo";
+ var arg_end = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_start = "foo";
var arg_targetBucketWidth = "foo";
- var arg_referenceName = "foo";
- var arg_end = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5823,6 +5823,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["referenceName"].first,
+ unittest.equals(arg_referenceName));
+ unittest.expect(queryMap["end"].first, unittest.equals(arg_end));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
@@ -5830,9 +5833,6 @@
unittest.expect(queryMap["start"].first, unittest.equals(arg_start));
unittest.expect(queryMap["targetBucketWidth"].first,
unittest.equals(arg_targetBucketWidth));
- unittest.expect(queryMap["referenceName"].first,
- unittest.equals(arg_referenceName));
- unittest.expect(queryMap["end"].first, unittest.equals(arg_end));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5843,12 +5843,12 @@
}), true);
res
.list(arg_readGroupSetId,
+ referenceName: arg_referenceName,
+ end: arg_end,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
start: arg_start,
targetBucketWidth: arg_targetBucketWidth,
- referenceName: arg_referenceName,
- end: arg_end,
$fields: arg_$fields)
.then(unittest
.expectAsync1(((api.ListCoverageBucketsResponse response) {
@@ -6026,10 +6026,10 @@
api.ReferencesBasesResourceApi res =
new api.GenomicsApi(mock).references.bases;
var arg_referenceId = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_start = "foo";
var arg_end = "foo";
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6070,12 +6070,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["start"].first, unittest.equals(arg_start));
unittest.expect(queryMap["end"].first, unittest.equals(arg_end));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6086,10 +6086,10 @@
}), true);
res
.list(arg_referenceId,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
start: arg_start,
end: arg_end,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListBasesResponse response) {
checkListBasesResponse(response);
diff --git a/generated/googleapis/test/iam/v1_test.dart b/generated/googleapis/test/iam/v1_test.dart
index b995152..4d25c45 100644
--- a/generated/googleapis/test/iam/v1_test.dart
+++ b/generated/googleapis/test/iam/v1_test.dart
@@ -69,14 +69,14 @@
buildCounterAuditData--;
}
-buildUnnamed1268() {
+buildUnnamed1275() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1268(core.List<core.String> o) {
+checkUnnamed1275(core.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.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1268();
+ o.members = buildUnnamed1275();
o.role = "foo";
}
buildCounterBinding--;
@@ -97,7 +97,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1268(o.members);
+ checkUnnamed1275(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -231,14 +231,14 @@
buildCounterExpr--;
}
-buildUnnamed1269() {
+buildUnnamed1276() {
var o = new core.List<api.Role>();
o.add(buildRole());
o.add(buildRole());
return o;
}
-checkUnnamed1269(core.List<api.Role> o) {
+checkUnnamed1276(core.List<api.Role> o) {
unittest.expect(o, unittest.hasLength(2));
checkRole(o[0]);
checkRole(o[1]);
@@ -250,7 +250,7 @@
buildCounterListRolesResponse++;
if (buildCounterListRolesResponse < 3) {
o.nextPageToken = "foo";
- o.roles = buildUnnamed1269();
+ o.roles = buildUnnamed1276();
}
buildCounterListRolesResponse--;
return o;
@@ -260,19 +260,19 @@
buildCounterListRolesResponse++;
if (buildCounterListRolesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1269(o.roles);
+ checkUnnamed1276(o.roles);
}
buildCounterListRolesResponse--;
}
-buildUnnamed1270() {
+buildUnnamed1277() {
var o = new core.List<api.ServiceAccountKey>();
o.add(buildServiceAccountKey());
o.add(buildServiceAccountKey());
return o;
}
-checkUnnamed1270(core.List<api.ServiceAccountKey> o) {
+checkUnnamed1277(core.List<api.ServiceAccountKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccountKey(o[0]);
checkServiceAccountKey(o[1]);
@@ -283,7 +283,7 @@
var o = new api.ListServiceAccountKeysResponse();
buildCounterListServiceAccountKeysResponse++;
if (buildCounterListServiceAccountKeysResponse < 3) {
- o.keys = buildUnnamed1270();
+ o.keys = buildUnnamed1277();
}
buildCounterListServiceAccountKeysResponse--;
return o;
@@ -292,19 +292,19 @@
checkListServiceAccountKeysResponse(api.ListServiceAccountKeysResponse o) {
buildCounterListServiceAccountKeysResponse++;
if (buildCounterListServiceAccountKeysResponse < 3) {
- checkUnnamed1270(o.keys);
+ checkUnnamed1277(o.keys);
}
buildCounterListServiceAccountKeysResponse--;
}
-buildUnnamed1271() {
+buildUnnamed1278() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed1271(core.List<api.ServiceAccount> o) {
+checkUnnamed1278(core.List<api.ServiceAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccount(o[0]);
checkServiceAccount(o[1]);
@@ -315,7 +315,7 @@
var o = new api.ListServiceAccountsResponse();
buildCounterListServiceAccountsResponse++;
if (buildCounterListServiceAccountsResponse < 3) {
- o.accounts = buildUnnamed1271();
+ o.accounts = buildUnnamed1278();
o.nextPageToken = "foo";
}
buildCounterListServiceAccountsResponse--;
@@ -325,7 +325,7 @@
checkListServiceAccountsResponse(api.ListServiceAccountsResponse o) {
buildCounterListServiceAccountsResponse++;
if (buildCounterListServiceAccountsResponse < 3) {
- checkUnnamed1271(o.accounts);
+ checkUnnamed1278(o.accounts);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListServiceAccountsResponse--;
@@ -360,14 +360,14 @@
buildCounterPermission--;
}
-buildUnnamed1272() {
+buildUnnamed1279() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1272(core.List<api.Binding> o) {
+checkUnnamed1279(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -378,7 +378,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed1272();
+ o.bindings = buildUnnamed1279();
o.etag = "foo";
o.version = 42;
}
@@ -389,21 +389,21 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1272(o.bindings);
+ checkUnnamed1279(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed1273() {
+buildUnnamed1280() {
var o = new core.List<api.BindingDelta>();
o.add(buildBindingDelta());
o.add(buildBindingDelta());
return o;
}
-checkUnnamed1273(core.List<api.BindingDelta> o) {
+checkUnnamed1280(core.List<api.BindingDelta> o) {
unittest.expect(o, unittest.hasLength(2));
checkBindingDelta(o[0]);
checkBindingDelta(o[1]);
@@ -414,7 +414,7 @@
var o = new api.PolicyDelta();
buildCounterPolicyDelta++;
if (buildCounterPolicyDelta < 3) {
- o.bindingDeltas = buildUnnamed1273();
+ o.bindingDeltas = buildUnnamed1280();
}
buildCounterPolicyDelta--;
return o;
@@ -423,7 +423,7 @@
checkPolicyDelta(api.PolicyDelta o) {
buildCounterPolicyDelta++;
if (buildCounterPolicyDelta < 3) {
- checkUnnamed1273(o.bindingDeltas);
+ checkUnnamed1280(o.bindingDeltas);
}
buildCounterPolicyDelta--;
}
@@ -453,14 +453,14 @@
buildCounterQueryGrantableRolesRequest--;
}
-buildUnnamed1274() {
+buildUnnamed1281() {
var o = new core.List<api.Role>();
o.add(buildRole());
o.add(buildRole());
return o;
}
-checkUnnamed1274(core.List<api.Role> o) {
+checkUnnamed1281(core.List<api.Role> o) {
unittest.expect(o, unittest.hasLength(2));
checkRole(o[0]);
checkRole(o[1]);
@@ -472,7 +472,7 @@
buildCounterQueryGrantableRolesResponse++;
if (buildCounterQueryGrantableRolesResponse < 3) {
o.nextPageToken = "foo";
- o.roles = buildUnnamed1274();
+ o.roles = buildUnnamed1281();
}
buildCounterQueryGrantableRolesResponse--;
return o;
@@ -482,7 +482,7 @@
buildCounterQueryGrantableRolesResponse++;
if (buildCounterQueryGrantableRolesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1274(o.roles);
+ checkUnnamed1281(o.roles);
}
buildCounterQueryGrantableRolesResponse--;
}
@@ -510,14 +510,14 @@
buildCounterQueryTestablePermissionsRequest--;
}
-buildUnnamed1275() {
+buildUnnamed1282() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1275(core.List<api.Permission> o) {
+checkUnnamed1282(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -529,7 +529,7 @@
buildCounterQueryTestablePermissionsResponse++;
if (buildCounterQueryTestablePermissionsResponse < 3) {
o.nextPageToken = "foo";
- o.permissions = buildUnnamed1275();
+ o.permissions = buildUnnamed1282();
}
buildCounterQueryTestablePermissionsResponse--;
return o;
@@ -539,19 +539,19 @@
buildCounterQueryTestablePermissionsResponse++;
if (buildCounterQueryTestablePermissionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1275(o.permissions);
+ checkUnnamed1282(o.permissions);
}
buildCounterQueryTestablePermissionsResponse--;
}
-buildUnnamed1276() {
+buildUnnamed1283() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1276(core.List<core.String> o) {
+checkUnnamed1283(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -565,7 +565,7 @@
o.deleted = true;
o.description = "foo";
o.etag = "foo";
- o.includedPermissions = buildUnnamed1276();
+ o.includedPermissions = buildUnnamed1283();
o.name = "foo";
o.stage = "foo";
o.title = "foo";
@@ -580,7 +580,7 @@
unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1276(o.includedPermissions);
+ checkUnnamed1283(o.includedPermissions);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.stage, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
@@ -749,14 +749,14 @@
buildCounterSignJwtResponse--;
}
-buildUnnamed1277() {
+buildUnnamed1284() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1277(core.List<core.String> o) {
+checkUnnamed1284(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -767,7 +767,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1277();
+ o.permissions = buildUnnamed1284();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -776,19 +776,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1277(o.permissions);
+ checkUnnamed1284(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1278() {
+buildUnnamed1285() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1278(core.List<core.String> 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'));
@@ -799,7 +799,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1278();
+ o.permissions = buildUnnamed1285();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -808,7 +808,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1278(o.permissions);
+ checkUnnamed1285(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -832,14 +832,14 @@
buildCounterUndeleteRoleRequest--;
}
-buildUnnamed1279() {
+buildUnnamed1286() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1279(core.List<core.String> o) {
+checkUnnamed1286(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1246,10 +1246,10 @@
api.OrganizationsRolesResourceApi res =
new api.IamApi(mock).organizations.roles;
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;
@@ -1283,12 +1283,12 @@
}
}
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 = {
@@ -1299,10 +1299,10 @@
}), true);
res
.list(arg_parent,
+ showDeleted: arg_showDeleted,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
view: arg_view,
- showDeleted: arg_showDeleted,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListRolesResponse response) {
checkListRolesResponse(response);
@@ -2549,7 +2549,7 @@
api.ProjectsServiceAccountsKeysResourceApi res =
new api.IamApi(mock).projects.serviceAccounts.keys;
var arg_name = "foo";
- var arg_keyTypes = buildUnnamed1279();
+ var arg_keyTypes = buildUnnamed1286();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2653,11 +2653,11 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.RolesResourceApi res = new api.IamApi(mock).roles;
- var arg_parent = "foo";
- var arg_showDeleted = true;
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_view = "foo";
+ var arg_parent = "foo";
+ var arg_showDeleted = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2689,14 +2689,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["parent"].first, unittest.equals(arg_parent));
+ unittest.expect(
+ queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2707,11 +2707,11 @@
}), true);
res
.list(
- parent: arg_parent,
- showDeleted: arg_showDeleted,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
view: arg_view,
+ parent: arg_parent,
+ showDeleted: arg_showDeleted,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListRolesResponse response) {
checkListRolesResponse(response);
diff --git a/generated/googleapis/test/identitytoolkit/v3_test.dart b/generated/googleapis/test/identitytoolkit/v3_test.dart
index ae6a0a1..52cfcbd 100644
--- a/generated/googleapis/test/identitytoolkit/v3_test.dart
+++ b/generated/googleapis/test/identitytoolkit/v3_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2586() {
+buildUnnamed2605() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2586(core.List<core.String> 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'));
}
-buildUnnamed2587() {
+buildUnnamed2606() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2587(core.List<core.String> 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'));
@@ -81,7 +81,7 @@
var o = new api.CreateAuthUriResponse();
buildCounterCreateAuthUriResponse++;
if (buildCounterCreateAuthUriResponse < 3) {
- o.allProviders = buildUnnamed2586();
+ o.allProviders = buildUnnamed2605();
o.authUri = "foo";
o.captchaRequired = true;
o.forExistingProvider = true;
@@ -89,7 +89,7 @@
o.providerId = "foo";
o.registered = true;
o.sessionId = "foo";
- o.signinMethods = buildUnnamed2587();
+ o.signinMethods = buildUnnamed2606();
}
buildCounterCreateAuthUriResponse--;
return o;
@@ -98,7 +98,7 @@
checkCreateAuthUriResponse(api.CreateAuthUriResponse o) {
buildCounterCreateAuthUriResponse++;
if (buildCounterCreateAuthUriResponse < 3) {
- checkUnnamed2586(o.allProviders);
+ checkUnnamed2605(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'));
- checkUnnamed2587(o.signinMethods);
+ checkUnnamed2606(o.signinMethods);
}
buildCounterCreateAuthUriResponse--;
}
@@ -130,14 +130,14 @@
buildCounterDeleteAccountResponse--;
}
-buildUnnamed2588() {
+buildUnnamed2607() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed2588(core.List<api.UserInfo> o) {
+checkUnnamed2607(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 = buildUnnamed2588();
+ o.users = buildUnnamed2607();
}
buildCounterDownloadAccountResponse--;
return o;
@@ -161,7 +161,7 @@
if (buildCounterDownloadAccountResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2588(o.users);
+ checkUnnamed2607(o.users);
}
buildCounterDownloadAccountResponse--;
}
@@ -226,14 +226,14 @@
buildCounterEmailTemplate--;
}
-buildUnnamed2589() {
+buildUnnamed2608() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed2589(core.List<api.UserInfo> o) {
+checkUnnamed2608(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 = buildUnnamed2589();
+ o.users = buildUnnamed2608();
}
buildCounterGetAccountInfoResponse--;
return o;
@@ -255,7 +255,7 @@
buildCounterGetAccountInfoResponse++;
if (buildCounterGetAccountInfoResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2589(o.users);
+ checkUnnamed2608(o.users);
}
buildCounterGetAccountInfoResponse--;
}
@@ -306,14 +306,14 @@
buildCounterGetRecaptchaParamResponse--;
}
-buildUnnamed2590() {
+buildUnnamed2609() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2590(core.Map<core.String, core.String> o) {
+checkUnnamed2609(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 = buildUnnamed2590();
+ o.customParameter = buildUnnamed2609();
o.hostedDomain = "foo";
o.identifier = "foo";
o.oauthConsumerKey = "foo";
@@ -352,7 +352,7 @@
unittest.expect(o.clientId, unittest.equals('foo'));
unittest.expect(o.context, unittest.equals('foo'));
unittest.expect(o.continueUri, unittest.equals('foo'));
- checkUnnamed2590(o.customParameter);
+ checkUnnamed2609(o.customParameter);
unittest.expect(o.hostedDomain, unittest.equals('foo'));
unittest.expect(o.identifier, unittest.equals('foo'));
unittest.expect(o.oauthConsumerKey, unittest.equals('foo'));
@@ -439,40 +439,40 @@
buildCounterIdentitytoolkitRelyingpartyEmailLinkSigninRequest--;
}
-buildUnnamed2591() {
+buildUnnamed2610() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2591(core.List<core.String> 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'));
}
-buildUnnamed2592() {
+buildUnnamed2611() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2592(core.List<core.String> 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'));
}
-buildUnnamed2593() {
+buildUnnamed2612() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2593(core.List<core.String> 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'));
@@ -484,10 +484,10 @@
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++;
if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) {
o.delegatedProjectNumber = "foo";
- o.email = buildUnnamed2591();
+ o.email = buildUnnamed2610();
o.idToken = "foo";
- o.localId = buildUnnamed2592();
- o.phoneNumber = buildUnnamed2593();
+ o.localId = buildUnnamed2611();
+ o.phoneNumber = buildUnnamed2612();
}
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--;
return o;
@@ -498,35 +498,35 @@
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++;
if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) {
unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
- checkUnnamed2591(o.email);
+ checkUnnamed2610(o.email);
unittest.expect(o.idToken, unittest.equals('foo'));
- checkUnnamed2592(o.localId);
- checkUnnamed2593(o.phoneNumber);
+ checkUnnamed2611(o.localId);
+ checkUnnamed2612(o.phoneNumber);
}
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--;
}
-buildUnnamed2594() {
+buildUnnamed2613() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2594(core.List<core.String> o) {
+checkUnnamed2613(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2595() {
+buildUnnamed2614() {
var o = new core.List<api.IdpConfig>();
o.add(buildIdpConfig());
o.add(buildIdpConfig());
return o;
}
-checkUnnamed2595(core.List<api.IdpConfig> o) {
+checkUnnamed2614(core.List<api.IdpConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkIdpConfig(o[0]);
checkIdpConfig(o[1]);
@@ -539,11 +539,11 @@
if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) {
o.allowPasswordUser = true;
o.apiKey = "foo";
- o.authorizedDomains = buildUnnamed2594();
+ o.authorizedDomains = buildUnnamed2613();
o.changeEmailTemplate = buildEmailTemplate();
o.dynamicLinksDomain = "foo";
o.enableAnonymousUser = true;
- o.idpConfig = buildUnnamed2595();
+ o.idpConfig = buildUnnamed2614();
o.legacyResetPasswordTemplate = buildEmailTemplate();
o.projectId = "foo";
o.resetPasswordTemplate = buildEmailTemplate();
@@ -560,11 +560,11 @@
if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) {
unittest.expect(o.allowPasswordUser, unittest.isTrue);
unittest.expect(o.apiKey, unittest.equals('foo'));
- checkUnnamed2594(o.authorizedDomains);
+ checkUnnamed2613(o.authorizedDomains);
checkEmailTemplate(o.changeEmailTemplate);
unittest.expect(o.dynamicLinksDomain, unittest.equals('foo'));
unittest.expect(o.enableAnonymousUser, unittest.isTrue);
- checkUnnamed2595(o.idpConfig);
+ checkUnnamed2614(o.idpConfig);
checkEmailTemplate(o.legacyResetPasswordTemplate);
unittest.expect(o.projectId, unittest.equals('foo'));
checkEmailTemplate(o.resetPasswordTemplate);
@@ -661,40 +661,40 @@
buildCounterIdentitytoolkitRelyingpartySendVerificationCodeResponse--;
}
-buildUnnamed2596() {
+buildUnnamed2615() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2596(core.List<core.String> o) {
+checkUnnamed2615(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2597() {
+buildUnnamed2616() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2597(core.List<core.String> o) {
+checkUnnamed2616(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2598() {
+buildUnnamed2617() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2598(core.List<core.String> o) {
+checkUnnamed2617(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -710,8 +710,8 @@
o.createdAt = "foo";
o.customAttributes = "foo";
o.delegatedProjectNumber = "foo";
- o.deleteAttribute = buildUnnamed2596();
- o.deleteProvider = buildUnnamed2597();
+ o.deleteAttribute = buildUnnamed2615();
+ o.deleteProvider = buildUnnamed2616();
o.disableUser = true;
o.displayName = "foo";
o.email = "foo";
@@ -724,7 +724,7 @@
o.password = "foo";
o.phoneNumber = "foo";
o.photoUrl = "foo";
- o.provider = buildUnnamed2598();
+ o.provider = buildUnnamed2617();
o.returnSecureToken = true;
o.upgradeToFederatedLogin = true;
o.validSince = "foo";
@@ -742,8 +742,8 @@
unittest.expect(o.createdAt, unittest.equals('foo'));
unittest.expect(o.customAttributes, unittest.equals('foo'));
unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
- checkUnnamed2596(o.deleteAttribute);
- checkUnnamed2597(o.deleteProvider);
+ checkUnnamed2615(o.deleteAttribute);
+ checkUnnamed2616(o.deleteProvider);
unittest.expect(o.disableUser, unittest.isTrue);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.email, unittest.equals('foo'));
@@ -756,7 +756,7 @@
unittest.expect(o.password, unittest.equals('foo'));
unittest.expect(o.phoneNumber, unittest.equals('foo'));
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2598(o.provider);
+ checkUnnamed2617(o.provider);
unittest.expect(o.returnSecureToken, unittest.isTrue);
unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue);
unittest.expect(o.validSince, unittest.equals('foo'));
@@ -764,27 +764,27 @@
buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--;
}
-buildUnnamed2599() {
+buildUnnamed2618() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2599(core.List<core.String> o) {
+checkUnnamed2618(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2600() {
+buildUnnamed2619() {
var o = new core.List<api.IdpConfig>();
o.add(buildIdpConfig());
o.add(buildIdpConfig());
return o;
}
-checkUnnamed2600(core.List<api.IdpConfig> o) {
+checkUnnamed2619(core.List<api.IdpConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkIdpConfig(o[0]);
checkIdpConfig(o[1]);
@@ -797,11 +797,11 @@
if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) {
o.allowPasswordUser = true;
o.apiKey = "foo";
- o.authorizedDomains = buildUnnamed2599();
+ o.authorizedDomains = buildUnnamed2618();
o.changeEmailTemplate = buildEmailTemplate();
o.delegatedProjectNumber = "foo";
o.enableAnonymousUser = true;
- o.idpConfig = buildUnnamed2600();
+ o.idpConfig = buildUnnamed2619();
o.legacyResetPasswordTemplate = buildEmailTemplate();
o.resetPasswordTemplate = buildEmailTemplate();
o.useEmailSending = true;
@@ -817,11 +817,11 @@
if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) {
unittest.expect(o.allowPasswordUser, unittest.isTrue);
unittest.expect(o.apiKey, unittest.equals('foo'));
- checkUnnamed2599(o.authorizedDomains);
+ checkUnnamed2618(o.authorizedDomains);
checkEmailTemplate(o.changeEmailTemplate);
unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
unittest.expect(o.enableAnonymousUser, unittest.isTrue);
- checkUnnamed2600(o.idpConfig);
+ checkUnnamed2619(o.idpConfig);
checkEmailTemplate(o.legacyResetPasswordTemplate);
checkEmailTemplate(o.resetPasswordTemplate);
unittest.expect(o.useEmailSending, unittest.isTrue);
@@ -934,14 +934,14 @@
buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--;
}
-buildUnnamed2601() {
+buildUnnamed2620() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed2601(core.List<api.UserInfo> o) {
+checkUnnamed2620(core.List<api.UserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfo(o[0]);
checkUserInfo(o[1]);
@@ -965,7 +965,7 @@
o.sanityCheck = true;
o.signerKey = "foo";
o.targetProjectId = "foo";
- o.users = buildUnnamed2601();
+ o.users = buildUnnamed2620();
}
buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--;
return o;
@@ -988,7 +988,7 @@
unittest.expect(o.sanityCheck, unittest.isTrue);
unittest.expect(o.signerKey, unittest.equals('foo'));
unittest.expect(o.targetProjectId, unittest.equals('foo'));
- checkUnnamed2601(o.users);
+ checkUnnamed2620(o.users);
}
buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--;
}
@@ -1165,14 +1165,14 @@
buildCounterIdentitytoolkitRelyingpartyVerifyPhoneNumberResponse--;
}
-buildUnnamed2602() {
+buildUnnamed2621() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2602(core.List<core.String> o) {
+checkUnnamed2621(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1188,7 +1188,7 @@
o.experimentPercent = 42;
o.provider = "foo";
o.secret = "foo";
- o.whitelistedAudiences = buildUnnamed2602();
+ o.whitelistedAudiences = buildUnnamed2621();
}
buildCounterIdpConfig--;
return o;
@@ -1202,7 +1202,7 @@
unittest.expect(o.experimentPercent, unittest.equals(42));
unittest.expect(o.provider, unittest.equals('foo'));
unittest.expect(o.secret, unittest.equals('foo'));
- checkUnnamed2602(o.whitelistedAudiences);
+ checkUnnamed2621(o.whitelistedAudiences);
}
buildCounterIdpConfig--;
}
@@ -1305,14 +1305,14 @@
buildCounterSetAccountInfoResponseProviderUserInfo--;
}
-buildUnnamed2603() {
+buildUnnamed2622() {
var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>();
o.add(buildSetAccountInfoResponseProviderUserInfo());
o.add(buildSetAccountInfoResponseProviderUserInfo());
return o;
}
-checkUnnamed2603(core.List<api.SetAccountInfoResponseProviderUserInfo> o) {
+checkUnnamed2622(core.List<api.SetAccountInfoResponseProviderUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSetAccountInfoResponseProviderUserInfo(o[0]);
checkSetAccountInfoResponseProviderUserInfo(o[1]);
@@ -1333,7 +1333,7 @@
o.newEmail = "foo";
o.passwordHash = "foo";
o.photoUrl = "foo";
- o.providerUserInfo = buildUnnamed2603();
+ o.providerUserInfo = buildUnnamed2622();
o.refreshToken = "foo";
}
buildCounterSetAccountInfoResponse--;
@@ -1353,7 +1353,7 @@
unittest.expect(o.newEmail, unittest.equals('foo'));
unittest.expect(o.passwordHash, unittest.equals('foo'));
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2603(o.providerUserInfo);
+ checkUnnamed2622(o.providerUserInfo);
unittest.expect(o.refreshToken, unittest.equals('foo'));
}
buildCounterSetAccountInfoResponse--;
@@ -1411,14 +1411,14 @@
buildCounterUploadAccountResponseError--;
}
-buildUnnamed2604() {
+buildUnnamed2623() {
var o = new core.List<api.UploadAccountResponseError>();
o.add(buildUploadAccountResponseError());
o.add(buildUploadAccountResponseError());
return o;
}
-checkUnnamed2604(core.List<api.UploadAccountResponseError> o) {
+checkUnnamed2623(core.List<api.UploadAccountResponseError> o) {
unittest.expect(o, unittest.hasLength(2));
checkUploadAccountResponseError(o[0]);
checkUploadAccountResponseError(o[1]);
@@ -1429,7 +1429,7 @@
var o = new api.UploadAccountResponse();
buildCounterUploadAccountResponse++;
if (buildCounterUploadAccountResponse < 3) {
- o.error = buildUnnamed2604();
+ o.error = buildUnnamed2623();
o.kind = "foo";
}
buildCounterUploadAccountResponse--;
@@ -1439,7 +1439,7 @@
checkUploadAccountResponse(api.UploadAccountResponse o) {
buildCounterUploadAccountResponse++;
if (buildCounterUploadAccountResponse < 3) {
- checkUnnamed2604(o.error);
+ checkUnnamed2623(o.error);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterUploadAccountResponse--;
@@ -1478,14 +1478,14 @@
buildCounterUserInfoProviderUserInfo--;
}
-buildUnnamed2605() {
+buildUnnamed2624() {
var o = new core.List<api.UserInfoProviderUserInfo>();
o.add(buildUserInfoProviderUserInfo());
o.add(buildUserInfoProviderUserInfo());
return o;
}
-checkUnnamed2605(core.List<api.UserInfoProviderUserInfo> o) {
+checkUnnamed2624(core.List<api.UserInfoProviderUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfoProviderUserInfo(o[0]);
checkUserInfoProviderUserInfo(o[1]);
@@ -1509,7 +1509,7 @@
o.passwordUpdatedAt = 42.0;
o.phoneNumber = "foo";
o.photoUrl = "foo";
- o.providerUserInfo = buildUnnamed2605();
+ o.providerUserInfo = buildUnnamed2624();
o.rawPassword = "foo";
o.salt = "foo";
o.screenName = "foo";
@@ -1536,7 +1536,7 @@
unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0));
unittest.expect(o.phoneNumber, unittest.equals('foo'));
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2605(o.providerUserInfo);
+ checkUnnamed2624(o.providerUserInfo);
unittest.expect(o.rawPassword, unittest.equals('foo'));
unittest.expect(o.salt, unittest.equals('foo'));
unittest.expect(o.screenName, unittest.equals('foo'));
@@ -1546,14 +1546,14 @@
buildCounterUserInfo--;
}
-buildUnnamed2606() {
+buildUnnamed2625() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2606(core.List<core.String> o) {
+checkUnnamed2625(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1602,7 +1602,7 @@
o.refreshToken = "foo";
o.screenName = "foo";
o.timeZone = "foo";
- o.verifiedProvider = buildUnnamed2606();
+ o.verifiedProvider = buildUnnamed2625();
}
buildCounterVerifyAssertionResponse--;
return o;
@@ -1649,7 +1649,7 @@
unittest.expect(o.refreshToken, unittest.equals('foo'));
unittest.expect(o.screenName, unittest.equals('foo'));
unittest.expect(o.timeZone, unittest.equals('foo'));
- checkUnnamed2606(o.verifiedProvider);
+ checkUnnamed2625(o.verifiedProvider);
}
buildCounterVerifyAssertionResponse--;
}
diff --git a/generated/googleapis/test/kgsearch/v1_test.dart b/generated/googleapis/test/kgsearch/v1_test.dart
index ec274cb..d74b676 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);
}
-buildUnnamed1036() {
+buildUnnamed1043() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -65,7 +65,7 @@
return o;
}
-checkUnnamed1036(core.List<core.Object> o) {
+checkUnnamed1043(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 = buildUnnamed1036();
+ o.itemListElement = buildUnnamed1043();
}
buildCounterSearchResponse--;
return o;
@@ -113,45 +113,45 @@
unittest.expect(casted4["list"], unittest.equals([1, 2, 3]));
unittest.expect(casted4["bool"], unittest.equals(true));
unittest.expect(casted4["string"], unittest.equals('foo'));
- checkUnnamed1036(o.itemListElement);
+ checkUnnamed1043(o.itemListElement);
}
buildCounterSearchResponse--;
}
-buildUnnamed1037() {
+buildUnnamed1044() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1037(core.List<core.String> o) {
+checkUnnamed1044(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1038() {
+buildUnnamed1045() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1038(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'));
}
-buildUnnamed1039() {
+buildUnnamed1046() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1039(core.List<core.String> o) {
+checkUnnamed1046(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -170,13 +170,13 @@
unittest.test("method--search", () {
var mock = new HttpServerMock();
api.EntitiesResourceApi res = new api.KgsearchApi(mock).entities;
- var arg_limit = 42;
var arg_prefix = true;
var arg_query = "foo";
- var arg_types = buildUnnamed1037();
+ var arg_types = buildUnnamed1044();
var arg_indent = true;
- var arg_languages = buildUnnamed1038();
- var arg_ids = buildUnnamed1039();
+ var arg_languages = buildUnnamed1045();
+ var arg_ids = buildUnnamed1046();
+ var arg_limit = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -208,8 +208,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["limit"].first),
- unittest.equals(arg_limit));
unittest.expect(
queryMap["prefix"].first, unittest.equals("$arg_prefix"));
unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
@@ -218,6 +216,8 @@
queryMap["indent"].first, unittest.equals("$arg_indent"));
unittest.expect(queryMap["languages"], unittest.equals(arg_languages));
unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["limit"].first),
+ unittest.equals(arg_limit));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -228,13 +228,13 @@
}), true);
res
.search(
- limit: arg_limit,
prefix: arg_prefix,
query: arg_query,
types: arg_types,
indent: arg_indent,
languages: arg_languages,
ids: arg_ids,
+ limit: arg_limit,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.SearchResponse response) {
checkSearchResponse(response);
diff --git a/generated/googleapis/test/language/v1_test.dart b/generated/googleapis/test/language/v1_test.dart
index 98c0f9e..008bd80 100644
--- a/generated/googleapis/test/language/v1_test.dart
+++ b/generated/googleapis/test/language/v1_test.dart
@@ -71,14 +71,14 @@
buildCounterAnalyzeEntitiesRequest--;
}
-buildUnnamed910() {
+buildUnnamed917() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed910(core.List<api.Entity> o) {
+checkUnnamed917(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 = buildUnnamed910();
+ o.entities = buildUnnamed917();
o.language = "foo";
}
buildCounterAnalyzeEntitiesResponse--;
@@ -99,7 +99,7 @@
checkAnalyzeEntitiesResponse(api.AnalyzeEntitiesResponse o) {
buildCounterAnalyzeEntitiesResponse++;
if (buildCounterAnalyzeEntitiesResponse < 3) {
- checkUnnamed910(o.entities);
+ checkUnnamed917(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
}
buildCounterAnalyzeEntitiesResponse--;
@@ -126,14 +126,14 @@
buildCounterAnalyzeEntitySentimentRequest--;
}
-buildUnnamed911() {
+buildUnnamed918() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed911(core.List<api.Entity> o) {
+checkUnnamed918(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 = buildUnnamed911();
+ o.entities = buildUnnamed918();
o.language = "foo";
}
buildCounterAnalyzeEntitySentimentResponse--;
@@ -154,7 +154,7 @@
checkAnalyzeEntitySentimentResponse(api.AnalyzeEntitySentimentResponse o) {
buildCounterAnalyzeEntitySentimentResponse++;
if (buildCounterAnalyzeEntitySentimentResponse < 3) {
- checkUnnamed911(o.entities);
+ checkUnnamed918(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
}
buildCounterAnalyzeEntitySentimentResponse--;
@@ -181,14 +181,14 @@
buildCounterAnalyzeSentimentRequest--;
}
-buildUnnamed912() {
+buildUnnamed919() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed912(core.List<api.Sentence> o) {
+checkUnnamed919(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 = buildUnnamed912();
+ o.sentences = buildUnnamed919();
}
buildCounterAnalyzeSentimentResponse--;
return o;
@@ -212,7 +212,7 @@
if (buildCounterAnalyzeSentimentResponse < 3) {
checkSentiment(o.documentSentiment);
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed912(o.sentences);
+ checkUnnamed919(o.sentences);
}
buildCounterAnalyzeSentimentResponse--;
}
@@ -238,27 +238,27 @@
buildCounterAnalyzeSyntaxRequest--;
}
-buildUnnamed913() {
+buildUnnamed920() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed913(core.List<api.Sentence> o) {
+checkUnnamed920(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
}
-buildUnnamed914() {
+buildUnnamed921() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed914(core.List<api.Token> o) {
+checkUnnamed921(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 = buildUnnamed913();
- o.tokens = buildUnnamed914();
+ o.sentences = buildUnnamed920();
+ o.tokens = buildUnnamed921();
}
buildCounterAnalyzeSyntaxResponse--;
return o;
@@ -281,8 +281,8 @@
buildCounterAnalyzeSyntaxResponse++;
if (buildCounterAnalyzeSyntaxResponse < 3) {
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed913(o.sentences);
- checkUnnamed914(o.tokens);
+ checkUnnamed920(o.sentences);
+ checkUnnamed921(o.tokens);
}
buildCounterAnalyzeSyntaxResponse--;
}
@@ -310,53 +310,53 @@
buildCounterAnnotateTextRequest--;
}
-buildUnnamed915() {
+buildUnnamed922() {
var o = new core.List<api.ClassificationCategory>();
o.add(buildClassificationCategory());
o.add(buildClassificationCategory());
return o;
}
-checkUnnamed915(core.List<api.ClassificationCategory> o) {
+checkUnnamed922(core.List<api.ClassificationCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkClassificationCategory(o[0]);
checkClassificationCategory(o[1]);
}
-buildUnnamed916() {
+buildUnnamed923() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed916(core.List<api.Entity> o) {
+checkUnnamed923(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
}
-buildUnnamed917() {
+buildUnnamed924() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed917(core.List<api.Sentence> o) {
+checkUnnamed924(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
}
-buildUnnamed918() {
+buildUnnamed925() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed918(core.List<api.Token> o) {
+checkUnnamed925(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 = buildUnnamed915();
+ o.categories = buildUnnamed922();
o.documentSentiment = buildSentiment();
- o.entities = buildUnnamed916();
+ o.entities = buildUnnamed923();
o.language = "foo";
- o.sentences = buildUnnamed917();
- o.tokens = buildUnnamed918();
+ o.sentences = buildUnnamed924();
+ o.tokens = buildUnnamed925();
}
buildCounterAnnotateTextResponse--;
return o;
@@ -381,12 +381,12 @@
checkAnnotateTextResponse(api.AnnotateTextResponse o) {
buildCounterAnnotateTextResponse++;
if (buildCounterAnnotateTextResponse < 3) {
- checkUnnamed915(o.categories);
+ checkUnnamed922(o.categories);
checkSentiment(o.documentSentiment);
- checkUnnamed916(o.entities);
+ checkUnnamed923(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed917(o.sentences);
- checkUnnamed918(o.tokens);
+ checkUnnamed924(o.sentences);
+ checkUnnamed925(o.tokens);
}
buildCounterAnnotateTextResponse--;
}
@@ -431,14 +431,14 @@
buildCounterClassifyTextRequest--;
}
-buildUnnamed919() {
+buildUnnamed926() {
var o = new core.List<api.ClassificationCategory>();
o.add(buildClassificationCategory());
o.add(buildClassificationCategory());
return o;
}
-checkUnnamed919(core.List<api.ClassificationCategory> o) {
+checkUnnamed926(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 = buildUnnamed919();
+ o.categories = buildUnnamed926();
}
buildCounterClassifyTextResponse--;
return o;
@@ -458,7 +458,7 @@
checkClassifyTextResponse(api.ClassifyTextResponse o) {
buildCounterClassifyTextResponse++;
if (buildCounterClassifyTextResponse < 3) {
- checkUnnamed919(o.categories);
+ checkUnnamed926(o.categories);
}
buildCounterClassifyTextResponse--;
}
@@ -509,27 +509,27 @@
buildCounterDocument--;
}
-buildUnnamed920() {
+buildUnnamed927() {
var o = new core.List<api.EntityMention>();
o.add(buildEntityMention());
o.add(buildEntityMention());
return o;
}
-checkUnnamed920(core.List<api.EntityMention> o) {
+checkUnnamed927(core.List<api.EntityMention> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityMention(o[0]);
checkEntityMention(o[1]);
}
-buildUnnamed921() {
+buildUnnamed928() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed921(core.Map<core.String, core.String> o) {
+checkUnnamed928(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 = buildUnnamed920();
- o.metadata = buildUnnamed921();
+ o.mentions = buildUnnamed927();
+ o.metadata = buildUnnamed928();
o.name = "foo";
o.salience = 42.0;
o.sentiment = buildSentiment();
@@ -554,8 +554,8 @@
checkEntity(api.Entity o) {
buildCounterEntity++;
if (buildCounterEntity < 3) {
- checkUnnamed920(o.mentions);
- checkUnnamed921(o.metadata);
+ checkUnnamed927(o.mentions);
+ checkUnnamed928(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--;
}
-buildUnnamed922() {
+buildUnnamed929() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -712,7 +712,7 @@
return o;
}
-checkUnnamed922(core.Map<core.String, core.Object> o) {
+checkUnnamed929(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'));
}
-buildUnnamed923() {
+buildUnnamed930() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed922());
- o.add(buildUnnamed922());
+ o.add(buildUnnamed929());
+ o.add(buildUnnamed929());
return o;
}
-checkUnnamed923(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed930(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed922(o[0]);
- checkUnnamed922(o[1]);
+ checkUnnamed929(o[0]);
+ checkUnnamed929(o[1]);
}
core.int buildCounterStatus = 0;
@@ -745,7 +745,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed923();
+ o.details = buildUnnamed930();
o.message = "foo";
}
buildCounterStatus--;
@@ -756,7 +756,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed923(o.details);
+ checkUnnamed930(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
diff --git a/generated/googleapis/test/licensing/v1_test.dart b/generated/googleapis/test/licensing/v1_test.dart
index ce956c0..6cdccea 100644
--- a/generated/googleapis/test/licensing/v1_test.dart
+++ b/generated/googleapis/test/licensing/v1_test.dart
@@ -102,14 +102,14 @@
buildCounterLicenseAssignmentInsert--;
}
-buildUnnamed2163() {
+buildUnnamed2177() {
var o = new core.List<api.LicenseAssignment>();
o.add(buildLicenseAssignment());
o.add(buildLicenseAssignment());
return o;
}
-checkUnnamed2163(core.List<api.LicenseAssignment> o) {
+checkUnnamed2177(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 = buildUnnamed2163();
+ o.items = buildUnnamed2177();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -133,7 +133,7 @@
buildCounterLicenseAssignmentList++;
if (buildCounterLicenseAssignmentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2163(o.items);
+ checkUnnamed2177(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
diff --git a/generated/googleapis/test/logging/v2_test.dart b/generated/googleapis/test/logging/v2_test.dart
index d08df78..3286559 100644
--- a/generated/googleapis/test/logging/v2_test.dart
+++ b/generated/googleapis/test/logging/v2_test.dart
@@ -1705,8 +1705,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;
@@ -1739,10 +1739,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 = {
@@ -1753,8 +1753,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListLogsResponse response) {
checkListLogsResponse(response);
@@ -2845,8 +2845,8 @@
var mock = new HttpServerMock();
api.FoldersLogsResourceApi res = new api.LoggingApi(mock).folders.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;
@@ -2879,10 +2879,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 = {
@@ -2893,8 +2893,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListLogsResponse response) {
checkListLogsResponse(response);
@@ -3069,8 +3069,8 @@
var mock = new HttpServerMock();
api.FoldersSinksResourceApi res = new api.LoggingApi(mock).folders.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;
@@ -3103,10 +3103,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 = {
@@ -3117,8 +3117,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListSinksResponse response) {
checkListSinksResponse(response);
@@ -3372,8 +3372,8 @@
var mock = new HttpServerMock();
api.MonitoredResourceDescriptorsResourceApi res =
new api.LoggingApi(mock).monitoredResourceDescriptors;
- 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;
@@ -3405,10 +3405,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 = {
@@ -3420,8 +3420,8 @@
}), true);
res
.list(
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(
((api.ListMonitoredResourceDescriptorsResponse response) {
@@ -4525,8 +4525,8 @@
var mock = new HttpServerMock();
api.ProjectsLogsResourceApi res = new api.LoggingApi(mock).projects.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;
@@ -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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4573,8 +4573,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListLogsResponse response) {
checkListLogsResponse(response);
@@ -5032,8 +5032,8 @@
api.ProjectsSinksResourceApi res =
new api.LoggingApi(mock).projects.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;
@@ -5066,10 +5066,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 = {
@@ -5080,8 +5080,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListSinksResponse response) {
checkListSinksResponse(response);
diff --git a/generated/googleapis/test/manufacturers/v1_test.dart b/generated/googleapis/test/manufacturers/v1_test.dart
index fd7a60b..b6b2c99 100644
--- a/generated/googleapis/test/manufacturers/v1_test.dart
+++ b/generated/googleapis/test/manufacturers/v1_test.dart
@@ -50,79 +50,79 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1649() {
+buildUnnamed1663() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed1649(core.List<api.Image> o) {
+checkUnnamed1663(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
}
-buildUnnamed1650() {
+buildUnnamed1664() {
var o = new core.List<api.FeatureDescription>();
o.add(buildFeatureDescription());
o.add(buildFeatureDescription());
return o;
}
-checkUnnamed1650(core.List<api.FeatureDescription> o) {
+checkUnnamed1664(core.List<api.FeatureDescription> o) {
unittest.expect(o, unittest.hasLength(2));
checkFeatureDescription(o[0]);
checkFeatureDescription(o[1]);
}
-buildUnnamed1651() {
+buildUnnamed1665() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1651(core.List<core.String> o) {
+checkUnnamed1665(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1652() {
+buildUnnamed1666() {
var o = new core.List<api.ProductDetail>();
o.add(buildProductDetail());
o.add(buildProductDetail());
return o;
}
-checkUnnamed1652(core.List<api.ProductDetail> o) {
+checkUnnamed1666(core.List<api.ProductDetail> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductDetail(o[0]);
checkProductDetail(o[1]);
}
-buildUnnamed1653() {
+buildUnnamed1667() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1653(core.List<core.String> o) {
+checkUnnamed1667(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1654() {
+buildUnnamed1668() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1654(core.List<core.String> o) {
+checkUnnamed1668(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -133,7 +133,7 @@
var o = new api.Attributes();
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- o.additionalImageLink = buildUnnamed1649();
+ o.additionalImageLink = buildUnnamed1663();
o.ageGroup = "foo";
o.brand = "foo";
o.capacity = buildCapacity();
@@ -141,21 +141,21 @@
o.count = buildCount();
o.description = "foo";
o.disclosureDate = "foo";
- o.featureDescription = buildUnnamed1650();
+ o.featureDescription = buildUnnamed1664();
o.flavor = "foo";
o.format = "foo";
o.gender = "foo";
- o.gtin = buildUnnamed1651();
+ o.gtin = buildUnnamed1665();
o.imageLink = buildImage();
o.itemGroupId = "foo";
o.material = "foo";
o.mpn = "foo";
o.pattern = "foo";
- o.productDetail = buildUnnamed1652();
+ o.productDetail = buildUnnamed1666();
o.productLine = "foo";
o.productName = "foo";
o.productPageUrl = "foo";
- o.productType = buildUnnamed1653();
+ o.productType = buildUnnamed1667();
o.releaseDate = "foo";
o.scent = "foo";
o.size = "foo";
@@ -165,7 +165,7 @@
o.targetClientId = "foo";
o.theme = "foo";
o.title = "foo";
- o.videoLink = buildUnnamed1654();
+ o.videoLink = buildUnnamed1668();
}
buildCounterAttributes--;
return o;
@@ -174,7 +174,7 @@
checkAttributes(api.Attributes o) {
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- checkUnnamed1649(o.additionalImageLink);
+ checkUnnamed1663(o.additionalImageLink);
unittest.expect(o.ageGroup, unittest.equals('foo'));
unittest.expect(o.brand, unittest.equals('foo'));
checkCapacity(o.capacity);
@@ -182,21 +182,21 @@
checkCount(o.count);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.disclosureDate, unittest.equals('foo'));
- checkUnnamed1650(o.featureDescription);
+ checkUnnamed1664(o.featureDescription);
unittest.expect(o.flavor, unittest.equals('foo'));
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
- checkUnnamed1651(o.gtin);
+ checkUnnamed1665(o.gtin);
checkImage(o.imageLink);
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'));
- checkUnnamed1652(o.productDetail);
+ checkUnnamed1666(o.productDetail);
unittest.expect(o.productLine, unittest.equals('foo'));
unittest.expect(o.productName, unittest.equals('foo'));
unittest.expect(o.productPageUrl, unittest.equals('foo'));
- checkUnnamed1653(o.productType);
+ checkUnnamed1667(o.productType);
unittest.expect(o.releaseDate, unittest.equals('foo'));
unittest.expect(o.scent, unittest.equals('foo'));
unittest.expect(o.size, unittest.equals('foo'));
@@ -206,7 +206,7 @@
unittest.expect(o.targetClientId, unittest.equals('foo'));
unittest.expect(o.theme, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1654(o.videoLink);
+ checkUnnamed1668(o.videoLink);
}
buildCounterAttributes--;
}
@@ -341,14 +341,14 @@
buildCounterIssue--;
}
-buildUnnamed1655() {
+buildUnnamed1669() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed1655(core.List<api.Product> o) {
+checkUnnamed1669(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -360,7 +360,7 @@
buildCounterListProductsResponse++;
if (buildCounterListProductsResponse < 3) {
o.nextPageToken = "foo";
- o.products = buildUnnamed1655();
+ o.products = buildUnnamed1669();
}
buildCounterListProductsResponse--;
return o;
@@ -370,7 +370,7 @@
buildCounterListProductsResponse++;
if (buildCounterListProductsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1655(o.products);
+ checkUnnamed1669(o.products);
}
buildCounterListProductsResponse--;
}
@@ -396,27 +396,27 @@
buildCounterPrice--;
}
-buildUnnamed1656() {
+buildUnnamed1670() {
var o = new core.List<api.Issue>();
o.add(buildIssue());
o.add(buildIssue());
return o;
}
-checkUnnamed1656(core.List<api.Issue> o) {
+checkUnnamed1670(core.List<api.Issue> o) {
unittest.expect(o, unittest.hasLength(2));
checkIssue(o[0]);
checkIssue(o[1]);
}
-buildUnnamed1657() {
+buildUnnamed1671() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1657(core.List<core.String> o) {
+checkUnnamed1671(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -429,8 +429,8 @@
if (buildCounterProduct < 3) {
o.contentLanguage = "foo";
o.finalAttributes = buildAttributes();
- o.issues = buildUnnamed1656();
- o.manuallyDeletedAttributes = buildUnnamed1657();
+ o.issues = buildUnnamed1670();
+ o.manuallyDeletedAttributes = buildUnnamed1671();
o.manuallyProvidedAttributes = buildAttributes();
o.name = "foo";
o.parent = "foo";
@@ -447,8 +447,8 @@
if (buildCounterProduct < 3) {
unittest.expect(o.contentLanguage, unittest.equals('foo'));
checkAttributes(o.finalAttributes);
- checkUnnamed1656(o.issues);
- checkUnnamed1657(o.manuallyDeletedAttributes);
+ checkUnnamed1670(o.issues);
+ checkUnnamed1671(o.manuallyDeletedAttributes);
checkAttributes(o.manuallyProvidedAttributes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
diff --git a/generated/googleapis/test/mirror/v1_test.dart b/generated/googleapis/test/mirror/v1_test.dart
index 00d62ac..199f39f 100644
--- a/generated/googleapis/test/mirror/v1_test.dart
+++ b/generated/googleapis/test/mirror/v1_test.dart
@@ -50,40 +50,40 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1531() {
+buildUnnamed1540() {
var o = new core.List<api.AuthToken>();
o.add(buildAuthToken());
o.add(buildAuthToken());
return o;
}
-checkUnnamed1531(core.List<api.AuthToken> o) {
+checkUnnamed1540(core.List<api.AuthToken> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthToken(o[0]);
checkAuthToken(o[1]);
}
-buildUnnamed1532() {
+buildUnnamed1541() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1532(core.List<core.String> o) {
+checkUnnamed1541(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1533() {
+buildUnnamed1542() {
var o = new core.List<api.UserData>();
o.add(buildUserData());
o.add(buildUserData());
return o;
}
-checkUnnamed1533(core.List<api.UserData> o) {
+checkUnnamed1542(core.List<api.UserData> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserData(o[0]);
checkUserData(o[1]);
@@ -94,10 +94,10 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.authTokens = buildUnnamed1531();
- o.features = buildUnnamed1532();
+ o.authTokens = buildUnnamed1540();
+ o.features = buildUnnamed1541();
o.password = "foo";
- o.userData = buildUnnamed1533();
+ o.userData = buildUnnamed1542();
}
buildCounterAccount--;
return o;
@@ -106,10 +106,10 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed1531(o.authTokens);
- checkUnnamed1532(o.features);
+ checkUnnamed1540(o.authTokens);
+ checkUnnamed1541(o.features);
unittest.expect(o.password, unittest.equals('foo'));
- checkUnnamed1533(o.userData);
+ checkUnnamed1542(o.userData);
}
buildCounterAccount--;
}
@@ -139,14 +139,14 @@
buildCounterAttachment--;
}
-buildUnnamed1534() {
+buildUnnamed1543() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed1534(core.List<api.Attachment> o) {
+checkUnnamed1543(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
@@ -157,7 +157,7 @@
var o = new api.AttachmentsListResponse();
buildCounterAttachmentsListResponse++;
if (buildCounterAttachmentsListResponse < 3) {
- o.items = buildUnnamed1534();
+ o.items = buildUnnamed1543();
o.kind = "foo";
}
buildCounterAttachmentsListResponse--;
@@ -167,7 +167,7 @@
checkAttachmentsListResponse(api.AttachmentsListResponse o) {
buildCounterAttachmentsListResponse++;
if (buildCounterAttachmentsListResponse < 3) {
- checkUnnamed1534(o.items);
+ checkUnnamed1543(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAttachmentsListResponse--;
@@ -213,53 +213,53 @@
buildCounterCommand--;
}
-buildUnnamed1535() {
+buildUnnamed1544() {
var o = new core.List<api.Command>();
o.add(buildCommand());
o.add(buildCommand());
return o;
}
-checkUnnamed1535(core.List<api.Command> o) {
+checkUnnamed1544(core.List<api.Command> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommand(o[0]);
checkCommand(o[1]);
}
-buildUnnamed1536() {
+buildUnnamed1545() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1536(core.List<core.String> o) {
+checkUnnamed1545(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1537() {
+buildUnnamed1546() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1537(core.List<core.String> o) {
+checkUnnamed1546(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1538() {
+buildUnnamed1547() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1538(core.List<core.String> o) {
+checkUnnamed1547(core.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,15 +270,15 @@
var o = new api.Contact();
buildCounterContact++;
if (buildCounterContact < 3) {
- o.acceptCommands = buildUnnamed1535();
- o.acceptTypes = buildUnnamed1536();
+ o.acceptCommands = buildUnnamed1544();
+ o.acceptTypes = buildUnnamed1545();
o.displayName = "foo";
o.id = "foo";
- o.imageUrls = buildUnnamed1537();
+ o.imageUrls = buildUnnamed1546();
o.kind = "foo";
o.phoneNumber = "foo";
o.priority = 42;
- o.sharingFeatures = buildUnnamed1538();
+ o.sharingFeatures = buildUnnamed1547();
o.source = "foo";
o.speakableName = "foo";
o.type = "foo";
@@ -290,15 +290,15 @@
checkContact(api.Contact o) {
buildCounterContact++;
if (buildCounterContact < 3) {
- checkUnnamed1535(o.acceptCommands);
- checkUnnamed1536(o.acceptTypes);
+ checkUnnamed1544(o.acceptCommands);
+ checkUnnamed1545(o.acceptTypes);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1537(o.imageUrls);
+ checkUnnamed1546(o.imageUrls);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.phoneNumber, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
- checkUnnamed1538(o.sharingFeatures);
+ checkUnnamed1547(o.sharingFeatures);
unittest.expect(o.source, unittest.equals('foo'));
unittest.expect(o.speakableName, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -306,14 +306,14 @@
buildCounterContact--;
}
-buildUnnamed1539() {
+buildUnnamed1548() {
var o = new core.List<api.Contact>();
o.add(buildContact());
o.add(buildContact());
return o;
}
-checkUnnamed1539(core.List<api.Contact> o) {
+checkUnnamed1548(core.List<api.Contact> o) {
unittest.expect(o, unittest.hasLength(2));
checkContact(o[0]);
checkContact(o[1]);
@@ -324,7 +324,7 @@
var o = new api.ContactsListResponse();
buildCounterContactsListResponse++;
if (buildCounterContactsListResponse < 3) {
- o.items = buildUnnamed1539();
+ o.items = buildUnnamed1548();
o.kind = "foo";
}
buildCounterContactsListResponse--;
@@ -334,7 +334,7 @@
checkContactsListResponse(api.ContactsListResponse o) {
buildCounterContactsListResponse++;
if (buildCounterContactsListResponse < 3) {
- checkUnnamed1539(o.items);
+ checkUnnamed1548(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterContactsListResponse--;
@@ -374,14 +374,14 @@
buildCounterLocation--;
}
-buildUnnamed1540() {
+buildUnnamed1549() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed1540(core.List<api.Location> o) {
+checkUnnamed1549(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -392,7 +392,7 @@
var o = new api.LocationsListResponse();
buildCounterLocationsListResponse++;
if (buildCounterLocationsListResponse < 3) {
- o.items = buildUnnamed1540();
+ o.items = buildUnnamed1549();
o.kind = "foo";
}
buildCounterLocationsListResponse--;
@@ -402,20 +402,20 @@
checkLocationsListResponse(api.LocationsListResponse o) {
buildCounterLocationsListResponse++;
if (buildCounterLocationsListResponse < 3) {
- checkUnnamed1540(o.items);
+ checkUnnamed1549(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterLocationsListResponse--;
}
-buildUnnamed1541() {
+buildUnnamed1550() {
var o = new core.List<api.MenuValue>();
o.add(buildMenuValue());
o.add(buildMenuValue());
return o;
}
-checkUnnamed1541(core.List<api.MenuValue> o) {
+checkUnnamed1550(core.List<api.MenuValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMenuValue(o[0]);
checkMenuValue(o[1]);
@@ -431,7 +431,7 @@
o.id = "foo";
o.payload = "foo";
o.removeWhenSelected = true;
- o.values = buildUnnamed1541();
+ o.values = buildUnnamed1550();
}
buildCounterMenuItem--;
return o;
@@ -445,7 +445,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.payload, unittest.equals('foo'));
unittest.expect(o.removeWhenSelected, unittest.isTrue);
- checkUnnamed1541(o.values);
+ checkUnnamed1550(o.values);
}
buildCounterMenuItem--;
}
@@ -473,14 +473,14 @@
buildCounterMenuValue--;
}
-buildUnnamed1542() {
+buildUnnamed1551() {
var o = new core.List<api.UserAction>();
o.add(buildUserAction());
o.add(buildUserAction());
return o;
}
-checkUnnamed1542(core.List<api.UserAction> o) {
+checkUnnamed1551(core.List<api.UserAction> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserAction(o[0]);
checkUserAction(o[1]);
@@ -494,7 +494,7 @@
o.collection = "foo";
o.itemId = "foo";
o.operation = "foo";
- o.userActions = buildUnnamed1542();
+ o.userActions = buildUnnamed1551();
o.userToken = "foo";
o.verifyToken = "foo";
}
@@ -508,7 +508,7 @@
unittest.expect(o.collection, unittest.equals('foo'));
unittest.expect(o.itemId, unittest.equals('foo'));
unittest.expect(o.operation, unittest.equals('foo'));
- checkUnnamed1542(o.userActions);
+ checkUnnamed1551(o.userActions);
unittest.expect(o.userToken, unittest.equals('foo'));
unittest.expect(o.verifyToken, unittest.equals('foo'));
}
@@ -560,14 +560,14 @@
buildCounterSetting--;
}
-buildUnnamed1543() {
+buildUnnamed1552() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1543(core.List<core.String> o) {
+checkUnnamed1552(core.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.id = "foo";
o.kind = "foo";
o.notification = buildNotification();
- o.operation = buildUnnamed1543();
+ o.operation = buildUnnamed1552();
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
o.userToken = "foo";
o.verifyToken = "foo";
@@ -600,7 +600,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkNotification(o.notification);
- checkUnnamed1543(o.operation);
+ checkUnnamed1552(o.operation);
unittest.expect(
o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.userToken, unittest.equals('foo'));
@@ -609,14 +609,14 @@
buildCounterSubscription--;
}
-buildUnnamed1544() {
+buildUnnamed1553() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed1544(core.List<api.Subscription> o) {
+checkUnnamed1553(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -627,7 +627,7 @@
var o = new api.SubscriptionsListResponse();
buildCounterSubscriptionsListResponse++;
if (buildCounterSubscriptionsListResponse < 3) {
- o.items = buildUnnamed1544();
+ o.items = buildUnnamed1553();
o.kind = "foo";
}
buildCounterSubscriptionsListResponse--;
@@ -637,46 +637,46 @@
checkSubscriptionsListResponse(api.SubscriptionsListResponse o) {
buildCounterSubscriptionsListResponse++;
if (buildCounterSubscriptionsListResponse < 3) {
- checkUnnamed1544(o.items);
+ checkUnnamed1553(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSubscriptionsListResponse--;
}
-buildUnnamed1545() {
+buildUnnamed1554() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed1545(core.List<api.Attachment> o) {
+checkUnnamed1554(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
}
-buildUnnamed1546() {
+buildUnnamed1555() {
var o = new core.List<api.MenuItem>();
o.add(buildMenuItem());
o.add(buildMenuItem());
return o;
}
-checkUnnamed1546(core.List<api.MenuItem> o) {
+checkUnnamed1555(core.List<api.MenuItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkMenuItem(o[0]);
checkMenuItem(o[1]);
}
-buildUnnamed1547() {
+buildUnnamed1556() {
var o = new core.List<api.Contact>();
o.add(buildContact());
o.add(buildContact());
return o;
}
-checkUnnamed1547(core.List<api.Contact> o) {
+checkUnnamed1556(core.List<api.Contact> o) {
unittest.expect(o, unittest.hasLength(2));
checkContact(o[0]);
checkContact(o[1]);
@@ -687,7 +687,7 @@
var o = new api.TimelineItem();
buildCounterTimelineItem++;
if (buildCounterTimelineItem < 3) {
- o.attachments = buildUnnamed1545();
+ o.attachments = buildUnnamed1554();
o.bundleId = "foo";
o.canonicalUrl = "foo";
o.created = core.DateTime.parse("2002-02-27T14:01:02");
@@ -702,10 +702,10 @@
o.isPinned = true;
o.kind = "foo";
o.location = buildLocation();
- o.menuItems = buildUnnamed1546();
+ o.menuItems = buildUnnamed1555();
o.notification = buildNotificationConfig();
o.pinScore = 42;
- o.recipients = buildUnnamed1547();
+ o.recipients = buildUnnamed1556();
o.selfLink = "foo";
o.sourceItemId = "foo";
o.speakableText = "foo";
@@ -721,7 +721,7 @@
checkTimelineItem(api.TimelineItem o) {
buildCounterTimelineItem++;
if (buildCounterTimelineItem < 3) {
- checkUnnamed1545(o.attachments);
+ checkUnnamed1554(o.attachments);
unittest.expect(o.bundleId, unittest.equals('foo'));
unittest.expect(o.canonicalUrl, unittest.equals('foo'));
unittest.expect(
@@ -738,10 +738,10 @@
unittest.expect(o.isPinned, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
checkLocation(o.location);
- checkUnnamed1546(o.menuItems);
+ checkUnnamed1555(o.menuItems);
checkNotificationConfig(o.notification);
unittest.expect(o.pinScore, unittest.equals(42));
- checkUnnamed1547(o.recipients);
+ checkUnnamed1556(o.recipients);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.sourceItemId, unittest.equals('foo'));
unittest.expect(o.speakableText, unittest.equals('foo'));
@@ -754,14 +754,14 @@
buildCounterTimelineItem--;
}
-buildUnnamed1548() {
+buildUnnamed1557() {
var o = new core.List<api.TimelineItem>();
o.add(buildTimelineItem());
o.add(buildTimelineItem());
return o;
}
-checkUnnamed1548(core.List<api.TimelineItem> o) {
+checkUnnamed1557(core.List<api.TimelineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimelineItem(o[0]);
checkTimelineItem(o[1]);
@@ -772,7 +772,7 @@
var o = new api.TimelineListResponse();
buildCounterTimelineListResponse++;
if (buildCounterTimelineListResponse < 3) {
- o.items = buildUnnamed1548();
+ o.items = buildUnnamed1557();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -783,7 +783,7 @@
checkTimelineListResponse(api.TimelineListResponse o) {
buildCounterTimelineListResponse++;
if (buildCounterTimelineListResponse < 3) {
- checkUnnamed1548(o.items);
+ checkUnnamed1557(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
diff --git a/generated/googleapis/test/ml/v1_test.dart b/generated/googleapis/test/ml/v1_test.dart
index 8a80655..1fc9c68 100644
--- a/generated/googleapis/test/ml/v1_test.dart
+++ b/generated/googleapis/test/ml/v1_test.dart
@@ -547,6 +547,7 @@
o.labels = buildUnnamed11();
o.modelName = "foo";
o.operationType = "foo";
+ o.projectNumber = "foo";
o.startTime = "foo";
o.version = buildGoogleCloudMlV1Version();
}
@@ -563,6 +564,7 @@
checkUnnamed11(o.labels);
unittest.expect(o.modelName, unittest.equals('foo'));
unittest.expect(o.operationType, unittest.equals('foo'));
+ unittest.expect(o.projectNumber, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
checkGoogleCloudMlV1Version(o.version);
}
@@ -671,6 +673,7 @@
o.outputPath = "foo";
o.region = "foo";
o.runtimeVersion = "foo";
+ o.signatureName = "foo";
o.uri = "foo";
o.versionName = "foo";
}
@@ -689,6 +692,7 @@
unittest.expect(o.outputPath, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.runtimeVersion, unittest.equals('foo'));
+ unittest.expect(o.signatureName, unittest.equals('foo'));
unittest.expect(o.uri, unittest.equals('foo'));
unittest.expect(o.versionName, unittest.equals('foo'));
}
@@ -775,6 +779,7 @@
o.parameterServerCount = "foo";
o.parameterServerType = "foo";
o.pythonModule = "foo";
+ o.pythonVersion = "foo";
o.region = "foo";
o.runtimeVersion = "foo";
o.scaleTier = "foo";
@@ -796,6 +801,7 @@
unittest.expect(o.parameterServerCount, unittest.equals('foo'));
unittest.expect(o.parameterServerType, unittest.equals('foo'));
unittest.expect(o.pythonModule, unittest.equals('foo'));
+ unittest.expect(o.pythonVersion, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.runtimeVersion, unittest.equals('foo'));
unittest.expect(o.scaleTier, unittest.equals('foo'));
@@ -1987,9 +1993,9 @@
var mock = new HttpServerMock();
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_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2022,11 +2028,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 = {
@@ -2037,9 +2043,9 @@
}), true);
res
.list(arg_parent,
- filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest
.expectAsync1(((api.GoogleCloudMlV1ListJobsResponse response) {
@@ -2829,9 +2835,9 @@
api.ProjectsModelsVersionsResourceApi res =
new api.MlApi(mock).projects.models.versions;
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;
@@ -2864,11 +2870,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 = {
@@ -2880,9 +2886,9 @@
}), true);
res
.list(arg_parent,
- filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(
((api.GoogleCloudMlV1ListVersionsResponse response) {
@@ -3170,9 +3176,9 @@
api.ProjectsOperationsResourceApi res =
new api.MlApi(mock).projects.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;
@@ -3205,11 +3211,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 = {
@@ -3221,9 +3227,9 @@
}), true);
res
.list(arg_name,
- filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(
((api.GoogleLongrunningListOperationsResponse response) {
diff --git a/generated/googleapis/test/monitoring/v3_test.dart b/generated/googleapis/test/monitoring/v3_test.dart
index b5fc0d1..a2999e2 100644
--- a/generated/googleapis/test/monitoring/v3_test.dart
+++ b/generated/googleapis/test/monitoring/v3_test.dart
@@ -94,27 +94,27 @@
buildCounterBucketOptions--;
}
-buildUnnamed1573() {
+buildUnnamed1582() {
var o = new core.Map<core.String, api.TypedValue>();
o["x"] = buildTypedValue();
o["y"] = buildTypedValue();
return o;
}
-checkUnnamed1573(core.Map<core.String, api.TypedValue> o) {
+checkUnnamed1582(core.Map<core.String, api.TypedValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkTypedValue(o["x"]);
checkTypedValue(o["y"]);
}
-buildUnnamed1574() {
+buildUnnamed1583() {
var o = new core.List<api.CollectdValue>();
o.add(buildCollectdValue());
o.add(buildCollectdValue());
return o;
}
-checkUnnamed1574(core.List<api.CollectdValue> o) {
+checkUnnamed1583(core.List<api.CollectdValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkCollectdValue(o[0]);
checkCollectdValue(o[1]);
@@ -126,13 +126,13 @@
buildCounterCollectdPayload++;
if (buildCounterCollectdPayload < 3) {
o.endTime = "foo";
- o.metadata = buildUnnamed1573();
+ o.metadata = buildUnnamed1582();
o.plugin = "foo";
o.pluginInstance = "foo";
o.startTime = "foo";
o.type = "foo";
o.typeInstance = "foo";
- o.values = buildUnnamed1574();
+ o.values = buildUnnamed1583();
}
buildCounterCollectdPayload--;
return o;
@@ -142,25 +142,25 @@
buildCounterCollectdPayload++;
if (buildCounterCollectdPayload < 3) {
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed1573(o.metadata);
+ checkUnnamed1582(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'));
- checkUnnamed1574(o.values);
+ checkUnnamed1583(o.values);
}
buildCounterCollectdPayload--;
}
-buildUnnamed1575() {
+buildUnnamed1584() {
var o = new core.List<api.CollectdValueError>();
o.add(buildCollectdValueError());
o.add(buildCollectdValueError());
return o;
}
-checkUnnamed1575(core.List<api.CollectdValueError> o) {
+checkUnnamed1584(core.List<api.CollectdValueError> o) {
unittest.expect(o, unittest.hasLength(2));
checkCollectdValueError(o[0]);
checkCollectdValueError(o[1]);
@@ -173,7 +173,7 @@
if (buildCounterCollectdPayloadError < 3) {
o.error = buildStatus();
o.index = 42;
- o.valueErrors = buildUnnamed1575();
+ o.valueErrors = buildUnnamed1584();
}
buildCounterCollectdPayloadError--;
return o;
@@ -184,7 +184,7 @@
if (buildCounterCollectdPayloadError < 3) {
checkStatus(o.error);
unittest.expect(o.index, unittest.equals(42));
- checkUnnamed1575(o.valueErrors);
+ checkUnnamed1584(o.valueErrors);
}
buildCounterCollectdPayloadError--;
}
@@ -252,14 +252,14 @@
buildCounterContentMatcher--;
}
-buildUnnamed1576() {
+buildUnnamed1585() {
var o = new core.List<api.CollectdPayload>();
o.add(buildCollectdPayload());
o.add(buildCollectdPayload());
return o;
}
-checkUnnamed1576(core.List<api.CollectdPayload> o) {
+checkUnnamed1585(core.List<api.CollectdPayload> o) {
unittest.expect(o, unittest.hasLength(2));
checkCollectdPayload(o[0]);
checkCollectdPayload(o[1]);
@@ -270,7 +270,7 @@
var o = new api.CreateCollectdTimeSeriesRequest();
buildCounterCreateCollectdTimeSeriesRequest++;
if (buildCounterCreateCollectdTimeSeriesRequest < 3) {
- o.collectdPayloads = buildUnnamed1576();
+ o.collectdPayloads = buildUnnamed1585();
o.collectdVersion = "foo";
o.resource = buildMonitoredResource();
}
@@ -281,21 +281,21 @@
checkCreateCollectdTimeSeriesRequest(api.CreateCollectdTimeSeriesRequest o) {
buildCounterCreateCollectdTimeSeriesRequest++;
if (buildCounterCreateCollectdTimeSeriesRequest < 3) {
- checkUnnamed1576(o.collectdPayloads);
+ checkUnnamed1585(o.collectdPayloads);
unittest.expect(o.collectdVersion, unittest.equals('foo'));
checkMonitoredResource(o.resource);
}
buildCounterCreateCollectdTimeSeriesRequest--;
}
-buildUnnamed1577() {
+buildUnnamed1586() {
var o = new core.List<api.CollectdPayloadError>();
o.add(buildCollectdPayloadError());
o.add(buildCollectdPayloadError());
return o;
}
-checkUnnamed1577(core.List<api.CollectdPayloadError> o) {
+checkUnnamed1586(core.List<api.CollectdPayloadError> o) {
unittest.expect(o, unittest.hasLength(2));
checkCollectdPayloadError(o[0]);
checkCollectdPayloadError(o[1]);
@@ -306,7 +306,7 @@
var o = new api.CreateCollectdTimeSeriesResponse();
buildCounterCreateCollectdTimeSeriesResponse++;
if (buildCounterCreateCollectdTimeSeriesResponse < 3) {
- o.payloadErrors = buildUnnamed1577();
+ o.payloadErrors = buildUnnamed1586();
}
buildCounterCreateCollectdTimeSeriesResponse--;
return o;
@@ -315,19 +315,19 @@
checkCreateCollectdTimeSeriesResponse(api.CreateCollectdTimeSeriesResponse o) {
buildCounterCreateCollectdTimeSeriesResponse++;
if (buildCounterCreateCollectdTimeSeriesResponse < 3) {
- checkUnnamed1577(o.payloadErrors);
+ checkUnnamed1586(o.payloadErrors);
}
buildCounterCreateCollectdTimeSeriesResponse--;
}
-buildUnnamed1578() {
+buildUnnamed1587() {
var o = new core.List<api.TimeSeries>();
o.add(buildTimeSeries());
o.add(buildTimeSeries());
return o;
}
-checkUnnamed1578(core.List<api.TimeSeries> o) {
+checkUnnamed1587(core.List<api.TimeSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeSeries(o[0]);
checkTimeSeries(o[1]);
@@ -338,7 +338,7 @@
var o = new api.CreateTimeSeriesRequest();
buildCounterCreateTimeSeriesRequest++;
if (buildCounterCreateTimeSeriesRequest < 3) {
- o.timeSeries = buildUnnamed1578();
+ o.timeSeries = buildUnnamed1587();
}
buildCounterCreateTimeSeriesRequest--;
return o;
@@ -347,19 +347,19 @@
checkCreateTimeSeriesRequest(api.CreateTimeSeriesRequest o) {
buildCounterCreateTimeSeriesRequest++;
if (buildCounterCreateTimeSeriesRequest < 3) {
- checkUnnamed1578(o.timeSeries);
+ checkUnnamed1587(o.timeSeries);
}
buildCounterCreateTimeSeriesRequest--;
}
-buildUnnamed1579() {
+buildUnnamed1588() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1579(core.List<core.String> o) {
+checkUnnamed1588(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -370,7 +370,7 @@
var o = new api.Distribution();
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- o.bucketCounts = buildUnnamed1579();
+ o.bucketCounts = buildUnnamed1588();
o.bucketOptions = buildBucketOptions();
o.count = "foo";
o.mean = 42.0;
@@ -384,7 +384,7 @@
checkDistribution(api.Distribution o) {
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- checkUnnamed1579(o.bucketCounts);
+ checkUnnamed1588(o.bucketCounts);
checkBucketOptions(o.bucketOptions);
unittest.expect(o.count, unittest.equals('foo'));
unittest.expect(o.mean, unittest.equals(42.0));
@@ -409,14 +409,14 @@
buildCounterEmpty--;
}
-buildUnnamed1580() {
+buildUnnamed1589() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1580(core.List<core.double> o) {
+checkUnnamed1589(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));
@@ -427,7 +427,7 @@
var o = new api.Explicit();
buildCounterExplicit++;
if (buildCounterExplicit < 3) {
- o.bounds = buildUnnamed1580();
+ o.bounds = buildUnnamed1589();
}
buildCounterExplicit--;
return o;
@@ -436,7 +436,7 @@
checkExplicit(api.Explicit o) {
buildCounterExplicit++;
if (buildCounterExplicit < 3) {
- checkUnnamed1580(o.bounds);
+ checkUnnamed1589(o.bounds);
}
buildCounterExplicit--;
}
@@ -464,14 +464,14 @@
buildCounterExponential--;
}
-buildUnnamed1581() {
+buildUnnamed1590() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1581(core.List<api.Option> o) {
+checkUnnamed1590(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -489,7 +489,7 @@
o.name = "foo";
o.number = 42;
o.oneofIndex = 42;
- o.options = buildUnnamed1581();
+ o.options = buildUnnamed1590();
o.packed = true;
o.typeUrl = "foo";
}
@@ -507,7 +507,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
unittest.expect(o.oneofIndex, unittest.equals(42));
- checkUnnamed1581(o.options);
+ checkUnnamed1590(o.options);
unittest.expect(o.packed, unittest.isTrue);
unittest.expect(o.typeUrl, unittest.equals('foo'));
}
@@ -541,14 +541,14 @@
buildCounterGroup--;
}
-buildUnnamed1582() {
+buildUnnamed1591() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1582(core.Map<core.String, core.String> o) {
+checkUnnamed1591(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'));
@@ -560,7 +560,7 @@
buildCounterHttpCheck++;
if (buildCounterHttpCheck < 3) {
o.authInfo = buildBasicAuthentication();
- o.headers = buildUnnamed1582();
+ o.headers = buildUnnamed1591();
o.maskHeaders = true;
o.path = "foo";
o.port = 42;
@@ -574,7 +574,7 @@
buildCounterHttpCheck++;
if (buildCounterHttpCheck < 3) {
checkBasicAuthentication(o.authInfo);
- checkUnnamed1582(o.headers);
+ checkUnnamed1591(o.headers);
unittest.expect(o.maskHeaders, unittest.isTrue);
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.port, unittest.equals(42));
@@ -583,6 +583,33 @@
buildCounterHttpCheck--;
}
+core.int buildCounterInternalChecker = 0;
+buildInternalChecker() {
+ var o = new api.InternalChecker();
+ buildCounterInternalChecker++;
+ if (buildCounterInternalChecker < 3) {
+ o.checkerId = "foo";
+ o.displayName = "foo";
+ o.gcpZone = "foo";
+ o.network = "foo";
+ o.projectId = "foo";
+ }
+ buildCounterInternalChecker--;
+ return o;
+}
+
+checkInternalChecker(api.InternalChecker o) {
+ buildCounterInternalChecker++;
+ if (buildCounterInternalChecker < 3) {
+ unittest.expect(o.checkerId, unittest.equals('foo'));
+ unittest.expect(o.displayName, unittest.equals('foo'));
+ unittest.expect(o.gcpZone, unittest.equals('foo'));
+ unittest.expect(o.network, unittest.equals('foo'));
+ unittest.expect(o.projectId, unittest.equals('foo'));
+ }
+ buildCounterInternalChecker--;
+}
+
core.int buildCounterLabelDescriptor = 0;
buildLabelDescriptor() {
var o = new api.LabelDescriptor();
@@ -629,14 +656,14 @@
buildCounterLinear--;
}
-buildUnnamed1583() {
+buildUnnamed1592() {
var o = new core.List<api.MonitoredResource>();
o.add(buildMonitoredResource());
o.add(buildMonitoredResource());
return o;
}
-checkUnnamed1583(core.List<api.MonitoredResource> o) {
+checkUnnamed1592(core.List<api.MonitoredResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResource(o[0]);
checkMonitoredResource(o[1]);
@@ -647,7 +674,7 @@
var o = new api.ListGroupMembersResponse();
buildCounterListGroupMembersResponse++;
if (buildCounterListGroupMembersResponse < 3) {
- o.members = buildUnnamed1583();
+ o.members = buildUnnamed1592();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -658,21 +685,21 @@
checkListGroupMembersResponse(api.ListGroupMembersResponse o) {
buildCounterListGroupMembersResponse++;
if (buildCounterListGroupMembersResponse < 3) {
- checkUnnamed1583(o.members);
+ checkUnnamed1592(o.members);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListGroupMembersResponse--;
}
-buildUnnamed1584() {
+buildUnnamed1593() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed1584(core.List<api.Group> o) {
+checkUnnamed1593(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -683,7 +710,7 @@
var o = new api.ListGroupsResponse();
buildCounterListGroupsResponse++;
if (buildCounterListGroupsResponse < 3) {
- o.group = buildUnnamed1584();
+ o.group = buildUnnamed1593();
o.nextPageToken = "foo";
}
buildCounterListGroupsResponse--;
@@ -693,20 +720,20 @@
checkListGroupsResponse(api.ListGroupsResponse o) {
buildCounterListGroupsResponse++;
if (buildCounterListGroupsResponse < 3) {
- checkUnnamed1584(o.group);
+ checkUnnamed1593(o.group);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGroupsResponse--;
}
-buildUnnamed1585() {
+buildUnnamed1594() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed1585(core.List<api.MetricDescriptor> o) {
+checkUnnamed1594(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
@@ -717,7 +744,7 @@
var o = new api.ListMetricDescriptorsResponse();
buildCounterListMetricDescriptorsResponse++;
if (buildCounterListMetricDescriptorsResponse < 3) {
- o.metricDescriptors = buildUnnamed1585();
+ o.metricDescriptors = buildUnnamed1594();
o.nextPageToken = "foo";
}
buildCounterListMetricDescriptorsResponse--;
@@ -727,20 +754,20 @@
checkListMetricDescriptorsResponse(api.ListMetricDescriptorsResponse o) {
buildCounterListMetricDescriptorsResponse++;
if (buildCounterListMetricDescriptorsResponse < 3) {
- checkUnnamed1585(o.metricDescriptors);
+ checkUnnamed1594(o.metricDescriptors);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListMetricDescriptorsResponse--;
}
-buildUnnamed1586() {
+buildUnnamed1595() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed1586(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed1595(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
@@ -752,7 +779,7 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
o.nextPageToken = "foo";
- o.resourceDescriptors = buildUnnamed1586();
+ o.resourceDescriptors = buildUnnamed1595();
}
buildCounterListMonitoredResourceDescriptorsResponse--;
return o;
@@ -763,19 +790,19 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1586(o.resourceDescriptors);
+ checkUnnamed1595(o.resourceDescriptors);
}
buildCounterListMonitoredResourceDescriptorsResponse--;
}
-buildUnnamed1587() {
+buildUnnamed1596() {
var o = new core.List<api.TimeSeries>();
o.add(buildTimeSeries());
o.add(buildTimeSeries());
return o;
}
-checkUnnamed1587(core.List<api.TimeSeries> o) {
+checkUnnamed1596(core.List<api.TimeSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeSeries(o[0]);
checkTimeSeries(o[1]);
@@ -787,7 +814,7 @@
buildCounterListTimeSeriesResponse++;
if (buildCounterListTimeSeriesResponse < 3) {
o.nextPageToken = "foo";
- o.timeSeries = buildUnnamed1587();
+ o.timeSeries = buildUnnamed1596();
}
buildCounterListTimeSeriesResponse--;
return o;
@@ -797,19 +824,19 @@
buildCounterListTimeSeriesResponse++;
if (buildCounterListTimeSeriesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1587(o.timeSeries);
+ checkUnnamed1596(o.timeSeries);
}
buildCounterListTimeSeriesResponse--;
}
-buildUnnamed1588() {
+buildUnnamed1597() {
var o = new core.List<api.UptimeCheckConfig>();
o.add(buildUptimeCheckConfig());
o.add(buildUptimeCheckConfig());
return o;
}
-checkUnnamed1588(core.List<api.UptimeCheckConfig> o) {
+checkUnnamed1597(core.List<api.UptimeCheckConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkUptimeCheckConfig(o[0]);
checkUptimeCheckConfig(o[1]);
@@ -821,7 +848,7 @@
buildCounterListUptimeCheckConfigsResponse++;
if (buildCounterListUptimeCheckConfigsResponse < 3) {
o.nextPageToken = "foo";
- o.uptimeCheckConfigs = buildUnnamed1588();
+ o.uptimeCheckConfigs = buildUnnamed1597();
}
buildCounterListUptimeCheckConfigsResponse--;
return o;
@@ -831,19 +858,19 @@
buildCounterListUptimeCheckConfigsResponse++;
if (buildCounterListUptimeCheckConfigsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1588(o.uptimeCheckConfigs);
+ checkUnnamed1597(o.uptimeCheckConfigs);
}
buildCounterListUptimeCheckConfigsResponse--;
}
-buildUnnamed1589() {
+buildUnnamed1598() {
var o = new core.List<api.UptimeCheckIp>();
o.add(buildUptimeCheckIp());
o.add(buildUptimeCheckIp());
return o;
}
-checkUnnamed1589(core.List<api.UptimeCheckIp> o) {
+checkUnnamed1598(core.List<api.UptimeCheckIp> o) {
unittest.expect(o, unittest.hasLength(2));
checkUptimeCheckIp(o[0]);
checkUptimeCheckIp(o[1]);
@@ -855,7 +882,7 @@
buildCounterListUptimeCheckIpsResponse++;
if (buildCounterListUptimeCheckIpsResponse < 3) {
o.nextPageToken = "foo";
- o.uptimeCheckIps = buildUnnamed1589();
+ o.uptimeCheckIps = buildUnnamed1598();
}
buildCounterListUptimeCheckIpsResponse--;
return o;
@@ -865,19 +892,19 @@
buildCounterListUptimeCheckIpsResponse++;
if (buildCounterListUptimeCheckIpsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1589(o.uptimeCheckIps);
+ checkUnnamed1598(o.uptimeCheckIps);
}
buildCounterListUptimeCheckIpsResponse--;
}
-buildUnnamed1590() {
+buildUnnamed1599() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1590(core.Map<core.String, core.String> o) {
+checkUnnamed1599(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'));
@@ -888,7 +915,7 @@
var o = new api.Metric();
buildCounterMetric++;
if (buildCounterMetric < 3) {
- o.labels = buildUnnamed1590();
+ o.labels = buildUnnamed1599();
o.type = "foo";
}
buildCounterMetric--;
@@ -898,20 +925,20 @@
checkMetric(api.Metric o) {
buildCounterMetric++;
if (buildCounterMetric < 3) {
- checkUnnamed1590(o.labels);
+ checkUnnamed1599(o.labels);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMetric--;
}
-buildUnnamed1591() {
+buildUnnamed1600() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1591(core.List<api.LabelDescriptor> o) {
+checkUnnamed1600(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -924,7 +951,7 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1591();
+ o.labels = buildUnnamed1600();
o.metricKind = "foo";
o.name = "foo";
o.type = "foo";
@@ -940,7 +967,7 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1591(o.labels);
+ checkUnnamed1600(o.labels);
unittest.expect(o.metricKind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -950,14 +977,14 @@
buildCounterMetricDescriptor--;
}
-buildUnnamed1592() {
+buildUnnamed1601() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1592(core.Map<core.String, core.String> o) {
+checkUnnamed1601(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'));
@@ -968,7 +995,7 @@
var o = new api.MonitoredResource();
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- o.labels = buildUnnamed1592();
+ o.labels = buildUnnamed1601();
o.type = "foo";
}
buildCounterMonitoredResource--;
@@ -978,20 +1005,20 @@
checkMonitoredResource(api.MonitoredResource o) {
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- checkUnnamed1592(o.labels);
+ checkUnnamed1601(o.labels);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResource--;
}
-buildUnnamed1593() {
+buildUnnamed1602() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1593(core.List<api.LabelDescriptor> o) {
+checkUnnamed1602(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1004,7 +1031,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1593();
+ o.labels = buildUnnamed1602();
o.name = "foo";
o.type = "foo";
}
@@ -1017,14 +1044,14 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1593(o.labels);
+ checkUnnamed1602(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed1594() {
+buildUnnamed1603() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1039,7 +1066,7 @@
return o;
}
-checkUnnamed1594(core.Map<core.String, core.Object> o) {
+checkUnnamed1603(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));
@@ -1059,7 +1086,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
o.name = "foo";
- o.value = buildUnnamed1594();
+ o.value = buildUnnamed1603();
}
buildCounterOption--;
return o;
@@ -1069,7 +1096,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1594(o.value);
+ checkUnnamed1603(o.value);
}
buildCounterOption--;
}
@@ -1156,7 +1183,7 @@
buildCounterSourceContext--;
}
-buildUnnamed1595() {
+buildUnnamed1604() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1171,7 +1198,7 @@
return o;
}
-checkUnnamed1595(core.Map<core.String, core.Object> o) {
+checkUnnamed1604(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));
@@ -1185,17 +1212,17 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed1596() {
+buildUnnamed1605() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1595());
- o.add(buildUnnamed1595());
+ o.add(buildUnnamed1604());
+ o.add(buildUnnamed1604());
return o;
}
-checkUnnamed1596(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1605(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1595(o[0]);
- checkUnnamed1595(o[1]);
+ checkUnnamed1604(o[0]);
+ checkUnnamed1604(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1204,7 +1231,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1596();
+ o.details = buildUnnamed1605();
o.message = "foo";
}
buildCounterStatus--;
@@ -1215,7 +1242,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1596(o.details);
+ checkUnnamed1605(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1261,14 +1288,14 @@
buildCounterTimeInterval--;
}
-buildUnnamed1597() {
+buildUnnamed1606() {
var o = new core.List<api.Point>();
o.add(buildPoint());
o.add(buildPoint());
return o;
}
-checkUnnamed1597(core.List<api.Point> o) {
+checkUnnamed1606(core.List<api.Point> o) {
unittest.expect(o, unittest.hasLength(2));
checkPoint(o[0]);
checkPoint(o[1]);
@@ -1281,7 +1308,7 @@
if (buildCounterTimeSeries < 3) {
o.metric = buildMetric();
o.metricKind = "foo";
- o.points = buildUnnamed1597();
+ o.points = buildUnnamed1606();
o.resource = buildMonitoredResource();
o.valueType = "foo";
}
@@ -1294,47 +1321,47 @@
if (buildCounterTimeSeries < 3) {
checkMetric(o.metric);
unittest.expect(o.metricKind, unittest.equals('foo'));
- checkUnnamed1597(o.points);
+ checkUnnamed1606(o.points);
checkMonitoredResource(o.resource);
unittest.expect(o.valueType, unittest.equals('foo'));
}
buildCounterTimeSeries--;
}
-buildUnnamed1598() {
+buildUnnamed1607() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed1598(core.List<api.Field> o) {
+checkUnnamed1607(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
}
-buildUnnamed1599() {
+buildUnnamed1608() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1599(core.List<core.String> o) {
+checkUnnamed1608(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1600() {
+buildUnnamed1609() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1600(core.List<api.Option> o) {
+checkUnnamed1609(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1345,10 +1372,10 @@
var o = new api.Type();
buildCounterType++;
if (buildCounterType < 3) {
- o.fields = buildUnnamed1598();
+ o.fields = buildUnnamed1607();
o.name = "foo";
- o.oneofs = buildUnnamed1599();
- o.options = buildUnnamed1600();
+ o.oneofs = buildUnnamed1608();
+ o.options = buildUnnamed1609();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -1359,10 +1386,10 @@
checkType(api.Type o) {
buildCounterType++;
if (buildCounterType < 3) {
- checkUnnamed1598(o.fields);
+ checkUnnamed1607(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1599(o.oneofs);
- checkUnnamed1600(o.options);
+ checkUnnamed1608(o.oneofs);
+ checkUnnamed1609(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
@@ -1396,27 +1423,40 @@
buildCounterTypedValue--;
}
-buildUnnamed1601() {
+buildUnnamed1610() {
var o = new core.List<api.ContentMatcher>();
o.add(buildContentMatcher());
o.add(buildContentMatcher());
return o;
}
-checkUnnamed1601(core.List<api.ContentMatcher> o) {
+checkUnnamed1610(core.List<api.ContentMatcher> o) {
unittest.expect(o, unittest.hasLength(2));
checkContentMatcher(o[0]);
checkContentMatcher(o[1]);
}
-buildUnnamed1602() {
+buildUnnamed1611() {
+ var o = new core.List<api.InternalChecker>();
+ o.add(buildInternalChecker());
+ o.add(buildInternalChecker());
+ return o;
+}
+
+checkUnnamed1611(core.List<api.InternalChecker> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkInternalChecker(o[0]);
+ checkInternalChecker(o[1]);
+}
+
+buildUnnamed1612() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1602(core.List<core.String> o) {
+checkUnnamed1612(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1427,14 +1467,16 @@
var o = new api.UptimeCheckConfig();
buildCounterUptimeCheckConfig++;
if (buildCounterUptimeCheckConfig < 3) {
- o.contentMatchers = buildUnnamed1601();
+ o.contentMatchers = buildUnnamed1610();
o.displayName = "foo";
o.httpCheck = buildHttpCheck();
+ o.internalCheckers = buildUnnamed1611();
+ o.isInternal = true;
o.monitoredResource = buildMonitoredResource();
o.name = "foo";
o.period = "foo";
o.resourceGroup = buildResourceGroup();
- o.selectedRegions = buildUnnamed1602();
+ o.selectedRegions = buildUnnamed1612();
o.tcpCheck = buildTcpCheck();
o.timeout = "foo";
}
@@ -1445,14 +1487,16 @@
checkUptimeCheckConfig(api.UptimeCheckConfig o) {
buildCounterUptimeCheckConfig++;
if (buildCounterUptimeCheckConfig < 3) {
- checkUnnamed1601(o.contentMatchers);
+ checkUnnamed1610(o.contentMatchers);
unittest.expect(o.displayName, unittest.equals('foo'));
checkHttpCheck(o.httpCheck);
+ checkUnnamed1611(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);
- checkUnnamed1602(o.selectedRegions);
+ checkUnnamed1612(o.selectedRegions);
checkTcpCheck(o.tcpCheck);
unittest.expect(o.timeout, unittest.equals('foo'));
}
@@ -1482,14 +1526,14 @@
buildCounterUptimeCheckIp--;
}
-buildUnnamed1603() {
+buildUnnamed1613() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1603(core.List<core.String> o) {
+checkUnnamed1613(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1632,6 +1676,14 @@
});
});
+ unittest.group("obj-schema-InternalChecker", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildInternalChecker();
+ var od = new api.InternalChecker.fromJson(o.toJson());
+ checkInternalChecker(od);
+ });
+ });
+
unittest.group("obj-schema-LabelDescriptor", () {
unittest.test("to-json--from-json", () {
var o = buildLabelDescriptor();
@@ -2068,11 +2120,11 @@
api.ProjectsGroupsResourceApi res =
new api.MonitoringApi(mock).projects.groups;
var arg_name = "foo";
- var arg_ancestorsOfGroup = "foo";
- var arg_childrenOfGroup = "foo";
var arg_descendantsOfGroup = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_ancestorsOfGroup = "foo";
+ var arg_childrenOfGroup = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2105,16 +2157,16 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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(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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2125,11 +2177,11 @@
}), true);
res
.list(arg_name,
- ancestorsOfGroup: arg_ancestorsOfGroup,
- childrenOfGroup: arg_childrenOfGroup,
descendantsOfGroup: arg_descendantsOfGroup,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ ancestorsOfGroup: arg_ancestorsOfGroup,
+ childrenOfGroup: arg_childrenOfGroup,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListGroupsResponse response) {
checkListGroupsResponse(response);
@@ -2206,8 +2258,8 @@
var arg_interval_endTime = "foo";
var arg_filter = "foo";
var arg_pageToken = "foo";
- var arg_pageSize = 42;
var arg_interval_startTime = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2245,10 +2297,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["interval.startTime"].first,
unittest.equals(arg_interval_startTime));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2262,8 +2314,8 @@
interval_endTime: arg_interval_endTime,
filter: arg_filter,
pageToken: arg_pageToken,
- pageSize: arg_pageSize,
interval_startTime: arg_interval_startTime,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListGroupMembersResponse response) {
checkListGroupMembersResponse(response);
@@ -2437,9 +2489,9 @@
api.ProjectsMetricDescriptorsResourceApi res =
new api.MonitoringApi(mock).projects.metricDescriptors;
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;
@@ -2472,11 +2524,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 = {
@@ -2487,9 +2539,9 @@
}), true);
res
.list(arg_name,
+ filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
- filter: arg_filter,
$fields: arg_$fields)
.then(unittest
.expectAsync1(((api.ListMetricDescriptorsResponse response) {
@@ -2680,17 +2732,17 @@
api.ProjectsTimeSeriesResourceApi res =
new api.MonitoringApi(mock).projects.timeSeries;
var arg_name = "foo";
- var arg_aggregation_groupByFields = buildUnnamed1603();
+ var arg_aggregation_crossSeriesReducer = "foo";
+ var arg_filter = "foo";
+ var arg_aggregation_perSeriesAligner = "foo";
+ var arg_pageToken = "foo";
+ var arg_interval_startTime = "foo";
+ var arg_view = "foo";
+ var arg_aggregation_groupByFields = buildUnnamed1613();
var arg_interval_endTime = "foo";
var arg_aggregation_alignmentPeriod = "foo";
var arg_pageSize = 42;
var arg_orderBy = "foo";
- var arg_aggregation_crossSeriesReducer = "foo";
- var arg_filter = "foo";
- var arg_pageToken = "foo";
- var arg_aggregation_perSeriesAligner = "foo";
- var arg_interval_startTime = "foo";
- var arg_view = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2723,6 +2775,16 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["aggregation.crossSeriesReducer"].first,
+ unittest.equals(arg_aggregation_crossSeriesReducer));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["aggregation.perSeriesAligner"].first,
+ unittest.equals(arg_aggregation_perSeriesAligner));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["interval.startTime"].first,
+ unittest.equals(arg_interval_startTime));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["aggregation.groupByFields"],
unittest.equals(arg_aggregation_groupByFields));
unittest.expect(queryMap["interval.endTime"].first,
@@ -2733,16 +2795,6 @@
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["aggregation.crossSeriesReducer"].first,
- unittest.equals(arg_aggregation_crossSeriesReducer));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["aggregation.perSeriesAligner"].first,
- unittest.equals(arg_aggregation_perSeriesAligner));
- unittest.expect(queryMap["interval.startTime"].first,
- unittest.equals(arg_interval_startTime));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2753,18 +2805,18 @@
}), true);
res
.list(arg_name,
+ aggregation_crossSeriesReducer:
+ arg_aggregation_crossSeriesReducer,
+ filter: arg_filter,
+ aggregation_perSeriesAligner: arg_aggregation_perSeriesAligner,
+ pageToken: arg_pageToken,
+ interval_startTime: arg_interval_startTime,
+ view: arg_view,
aggregation_groupByFields: arg_aggregation_groupByFields,
interval_endTime: arg_interval_endTime,
aggregation_alignmentPeriod: arg_aggregation_alignmentPeriod,
pageSize: arg_pageSize,
orderBy: arg_orderBy,
- aggregation_crossSeriesReducer:
- arg_aggregation_crossSeriesReducer,
- filter: arg_filter,
- pageToken: arg_pageToken,
- aggregation_perSeriesAligner: arg_aggregation_perSeriesAligner,
- interval_startTime: arg_interval_startTime,
- view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListTimeSeriesResponse response) {
checkListTimeSeriesResponse(response);
diff --git a/generated/googleapis/test/oauth2/v2_test.dart b/generated/googleapis/test/oauth2/v2_test.dart
index 161c245..6288653 100644
--- a/generated/googleapis/test/oauth2/v2_test.dart
+++ b/generated/googleapis/test/oauth2/v2_test.dart
@@ -79,14 +79,14 @@
buildCounterJwkKeys--;
}
-buildUnnamed2650() {
+buildUnnamed2669() {
var o = new core.List<api.JwkKeys>();
o.add(buildJwkKeys());
o.add(buildJwkKeys());
return o;
}
-checkUnnamed2650(core.List<api.JwkKeys> o) {
+checkUnnamed2669(core.List<api.JwkKeys> o) {
unittest.expect(o, unittest.hasLength(2));
checkJwkKeys(o[0]);
checkJwkKeys(o[1]);
@@ -97,7 +97,7 @@
var o = new api.Jwk();
buildCounterJwk++;
if (buildCounterJwk < 3) {
- o.keys = buildUnnamed2650();
+ o.keys = buildUnnamed2669();
}
buildCounterJwk--;
return o;
@@ -106,7 +106,7 @@
checkJwk(api.Jwk o) {
buildCounterJwk++;
if (buildCounterJwk < 3) {
- checkUnnamed2650(o.keys);
+ checkUnnamed2669(o.keys);
}
buildCounterJwk--;
}
diff --git a/generated/googleapis/test/oslogin/v1_test.dart b/generated/googleapis/test/oslogin/v1_test.dart
new file mode 100644
index 0000000..8acb584
--- /dev/null
+++ b/generated/googleapis/test/oslogin/v1_test.dart
@@ -0,0 +1,569 @@
+library googleapis.oslogin.v1.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/oslogin/v1.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 buildCounterEmpty = 0;
+buildEmpty() {
+ var o = new api.Empty();
+ buildCounterEmpty++;
+ if (buildCounterEmpty < 3) {}
+ buildCounterEmpty--;
+ return o;
+}
+
+checkEmpty(api.Empty o) {
+ buildCounterEmpty++;
+ if (buildCounterEmpty < 3) {}
+ buildCounterEmpty--;
+}
+
+core.int buildCounterImportSshPublicKeyResponse = 0;
+buildImportSshPublicKeyResponse() {
+ var o = new api.ImportSshPublicKeyResponse();
+ buildCounterImportSshPublicKeyResponse++;
+ if (buildCounterImportSshPublicKeyResponse < 3) {
+ o.loginProfile = buildLoginProfile();
+ }
+ buildCounterImportSshPublicKeyResponse--;
+ return o;
+}
+
+checkImportSshPublicKeyResponse(api.ImportSshPublicKeyResponse o) {
+ buildCounterImportSshPublicKeyResponse++;
+ if (buildCounterImportSshPublicKeyResponse < 3) {
+ checkLoginProfile(o.loginProfile);
+ }
+ buildCounterImportSshPublicKeyResponse--;
+}
+
+buildUnnamed791() {
+ var o = new core.List<api.PosixAccount>();
+ o.add(buildPosixAccount());
+ o.add(buildPosixAccount());
+ return o;
+}
+
+checkUnnamed791(core.List<api.PosixAccount> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPosixAccount(o[0]);
+ checkPosixAccount(o[1]);
+}
+
+buildUnnamed792() {
+ var o = new core.Map<core.String, api.SshPublicKey>();
+ o["x"] = buildSshPublicKey();
+ o["y"] = buildSshPublicKey();
+ return o;
+}
+
+checkUnnamed792(core.Map<core.String, api.SshPublicKey> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSshPublicKey(o["x"]);
+ checkSshPublicKey(o["y"]);
+}
+
+core.int buildCounterLoginProfile = 0;
+buildLoginProfile() {
+ var o = new api.LoginProfile();
+ buildCounterLoginProfile++;
+ if (buildCounterLoginProfile < 3) {
+ o.name = "foo";
+ o.posixAccounts = buildUnnamed791();
+ o.sshPublicKeys = buildUnnamed792();
+ o.suspended = true;
+ }
+ buildCounterLoginProfile--;
+ return o;
+}
+
+checkLoginProfile(api.LoginProfile o) {
+ buildCounterLoginProfile++;
+ if (buildCounterLoginProfile < 3) {
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed791(o.posixAccounts);
+ checkUnnamed792(o.sshPublicKeys);
+ unittest.expect(o.suspended, unittest.isTrue);
+ }
+ buildCounterLoginProfile--;
+}
+
+core.int buildCounterPosixAccount = 0;
+buildPosixAccount() {
+ var o = new api.PosixAccount();
+ buildCounterPosixAccount++;
+ if (buildCounterPosixAccount < 3) {
+ o.accountId = "foo";
+ o.gecos = "foo";
+ o.gid = "foo";
+ o.homeDirectory = "foo";
+ o.primary = true;
+ o.shell = "foo";
+ o.systemId = "foo";
+ o.uid = "foo";
+ o.username = "foo";
+ }
+ buildCounterPosixAccount--;
+ return o;
+}
+
+checkPosixAccount(api.PosixAccount o) {
+ buildCounterPosixAccount++;
+ if (buildCounterPosixAccount < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.gecos, unittest.equals('foo'));
+ unittest.expect(o.gid, unittest.equals('foo'));
+ unittest.expect(o.homeDirectory, unittest.equals('foo'));
+ unittest.expect(o.primary, unittest.isTrue);
+ unittest.expect(o.shell, unittest.equals('foo'));
+ unittest.expect(o.systemId, unittest.equals('foo'));
+ unittest.expect(o.uid, unittest.equals('foo'));
+ unittest.expect(o.username, unittest.equals('foo'));
+ }
+ buildCounterPosixAccount--;
+}
+
+core.int buildCounterSshPublicKey = 0;
+buildSshPublicKey() {
+ var o = new api.SshPublicKey();
+ buildCounterSshPublicKey++;
+ if (buildCounterSshPublicKey < 3) {
+ o.expirationTimeUsec = "foo";
+ o.fingerprint = "foo";
+ o.key = "foo";
+ }
+ buildCounterSshPublicKey--;
+ return o;
+}
+
+checkSshPublicKey(api.SshPublicKey o) {
+ buildCounterSshPublicKey++;
+ if (buildCounterSshPublicKey < 3) {
+ unittest.expect(o.expirationTimeUsec, unittest.equals('foo'));
+ unittest.expect(o.fingerprint, unittest.equals('foo'));
+ unittest.expect(o.key, unittest.equals('foo'));
+ }
+ buildCounterSshPublicKey--;
+}
+
+main() {
+ unittest.group("obj-schema-Empty", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildEmpty();
+ var od = new api.Empty.fromJson(o.toJson());
+ checkEmpty(od);
+ });
+ });
+
+ unittest.group("obj-schema-ImportSshPublicKeyResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildImportSshPublicKeyResponse();
+ var od = new api.ImportSshPublicKeyResponse.fromJson(o.toJson());
+ checkImportSshPublicKeyResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-LoginProfile", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLoginProfile();
+ var od = new api.LoginProfile.fromJson(o.toJson());
+ checkLoginProfile(od);
+ });
+ });
+
+ unittest.group("obj-schema-PosixAccount", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPosixAccount();
+ var od = new api.PosixAccount.fromJson(o.toJson());
+ checkPosixAccount(od);
+ });
+ });
+
+ unittest.group("obj-schema-SshPublicKey", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSshPublicKey();
+ var od = new api.SshPublicKey.fromJson(o.toJson());
+ checkSshPublicKey(od);
+ });
+ });
+
+ unittest.group("resource-UsersResourceApi", () {
+ unittest.test("method--getLoginProfile", () {
+ var mock = new HttpServerMock();
+ api.UsersResourceApi res = new api.OsloginApi(mock).users;
+ 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 = {};
+ 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(buildLoginProfile());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .getLoginProfile(arg_name, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.LoginProfile response) {
+ checkLoginProfile(response);
+ })));
+ });
+
+ unittest.test("method--importSshPublicKey", () {
+ var mock = new HttpServerMock();
+ api.UsersResourceApi res = new api.OsloginApi(mock).users;
+ var arg_request = buildSshPublicKey();
+ var arg_parent = "foo";
+ var arg_projectId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.SshPublicKey.fromJson(json);
+ checkSshPublicKey(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 = {};
+ 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["projectId"].first, unittest.equals(arg_projectId));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildImportSshPublicKeyResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .importSshPublicKey(arg_request, arg_parent,
+ projectId: arg_projectId, $fields: arg_$fields)
+ .then(
+ unittest.expectAsync1(((api.ImportSshPublicKeyResponse response) {
+ checkImportSshPublicKeyResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-UsersProjectsResourceApi", () {
+ unittest.test("method--delete", () {
+ var mock = new HttpServerMock();
+ api.UsersProjectsResourceApi res =
+ new api.OsloginApi(mock).users.projects;
+ 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 = {};
+ 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(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .delete(arg_name, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-UsersSshPublicKeysResourceApi", () {
+ unittest.test("method--delete", () {
+ var mock = new HttpServerMock();
+ api.UsersSshPublicKeysResourceApi res =
+ new api.OsloginApi(mock).users.sshPublicKeys;
+ 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 = {};
+ 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(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .delete(arg_name, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.UsersSshPublicKeysResourceApi res =
+ new api.OsloginApi(mock).users.sshPublicKeys;
+ 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 = {};
+ 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(buildSshPublicKey());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_name, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.SshPublicKey response) {
+ checkSshPublicKey(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.UsersSshPublicKeysResourceApi res =
+ new api.OsloginApi(mock).users.sshPublicKeys;
+ var arg_request = buildSshPublicKey();
+ var arg_name = "foo";
+ var arg_updateMask = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.SshPublicKey.fromJson(json);
+ checkSshPublicKey(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 = {};
+ 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["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildSshPublicKey());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_name,
+ updateMask: arg_updateMask, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.SshPublicKey response) {
+ checkSshPublicKey(response);
+ })));
+ });
+ });
+}
diff --git a/generated/googleapis/test/pagespeedonline/v1_test.dart b/generated/googleapis/test/pagespeedonline/v1_test.dart
index cde16d9..4b07059 100644
--- a/generated/googleapis/test/pagespeedonline/v1_test.dart
+++ b/generated/googleapis/test/pagespeedonline/v1_test.dart
@@ -75,7 +75,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs--;
}
-buildUnnamed2651() {
+buildUnnamed2670() {
var o = new core
.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs());
@@ -83,7 +83,7 @@
return o;
}
-checkUnnamed2651(
+checkUnnamed2670(
core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -96,7 +96,7 @@
var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksHeader();
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader < 3) {
- o.args = buildUnnamed2651();
+ o.args = buildUnnamed2670();
o.format = "foo";
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader--;
@@ -107,7 +107,7 @@
api.ResultFormattedResultsRuleResultsValueUrlBlocksHeader o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader < 3) {
- checkUnnamed2651(o.args);
+ checkUnnamed2670(o.args);
unittest.expect(o.format, unittest.equals('foo'));
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader--;
@@ -140,7 +140,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs--;
}
-buildUnnamed2652() {
+buildUnnamed2671() {
var o = new core.List<
api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs());
@@ -148,7 +148,7 @@
return o;
}
-checkUnnamed2652(
+checkUnnamed2671(
core.List<
api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs>
o) {
@@ -164,7 +164,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails <
3) {
- o.args = buildUnnamed2652();
+ o.args = buildUnnamed2671();
o.format = "foo";
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails--;
@@ -176,13 +176,13 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails <
3) {
- checkUnnamed2652(o.args);
+ checkUnnamed2671(o.args);
unittest.expect(o.format, unittest.equals('foo'));
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails--;
}
-buildUnnamed2653() {
+buildUnnamed2672() {
var o = new core
.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails());
@@ -190,7 +190,7 @@
return o;
}
-checkUnnamed2653(
+checkUnnamed2672(
core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -225,7 +225,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs--;
}
-buildUnnamed2654() {
+buildUnnamed2673() {
var o = new core.List<
api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs());
@@ -233,7 +233,7 @@
return o;
}
-checkUnnamed2654(
+checkUnnamed2673(
core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -248,7 +248,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult <
3) {
- o.args = buildUnnamed2654();
+ o.args = buildUnnamed2673();
o.format = "foo";
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult--;
@@ -260,7 +260,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult <
3) {
- checkUnnamed2654(o.args);
+ checkUnnamed2673(o.args);
unittest.expect(o.format, unittest.equals('foo'));
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult--;
@@ -271,7 +271,7 @@
var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls();
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls < 3) {
- o.details = buildUnnamed2653();
+ o.details = buildUnnamed2672();
o.result = buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult();
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--;
@@ -282,13 +282,13 @@
api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls < 3) {
- checkUnnamed2653(o.details);
+ checkUnnamed2672(o.details);
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult(o.result);
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--;
}
-buildUnnamed2655() {
+buildUnnamed2674() {
var o =
new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrls());
@@ -296,7 +296,7 @@
return o;
}
-checkUnnamed2655(
+checkUnnamed2674(
core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(o[0]);
@@ -309,7 +309,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocks < 3) {
o.header = buildResultFormattedResultsRuleResultsValueUrlBlocksHeader();
- o.urls = buildUnnamed2655();
+ o.urls = buildUnnamed2674();
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--;
return o;
@@ -320,19 +320,19 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocks < 3) {
checkResultFormattedResultsRuleResultsValueUrlBlocksHeader(o.header);
- checkUnnamed2655(o.urls);
+ checkUnnamed2674(o.urls);
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--;
}
-buildUnnamed2656() {
+buildUnnamed2675() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks());
return o;
}
-checkUnnamed2656(
+checkUnnamed2675(
core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocks(o[0]);
@@ -346,7 +346,7 @@
if (buildCounterResultFormattedResultsRuleResultsValue < 3) {
o.localizedRuleName = "foo";
o.ruleImpact = 42.0;
- o.urlBlocks = buildUnnamed2656();
+ o.urlBlocks = buildUnnamed2675();
}
buildCounterResultFormattedResultsRuleResultsValue--;
return o;
@@ -358,12 +358,12 @@
if (buildCounterResultFormattedResultsRuleResultsValue < 3) {
unittest.expect(o.localizedRuleName, unittest.equals('foo'));
unittest.expect(o.ruleImpact, unittest.equals(42.0));
- checkUnnamed2656(o.urlBlocks);
+ checkUnnamed2675(o.urlBlocks);
}
buildCounterResultFormattedResultsRuleResultsValue--;
}
-buildUnnamed2657() {
+buildUnnamed2676() {
var o =
new core.Map<core.String, api.ResultFormattedResultsRuleResultsValue>();
o["x"] = buildResultFormattedResultsRuleResultsValue();
@@ -371,7 +371,7 @@
return o;
}
-checkUnnamed2657(
+checkUnnamed2676(
core.Map<core.String, api.ResultFormattedResultsRuleResultsValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValue(o["x"]);
@@ -384,7 +384,7 @@
buildCounterResultFormattedResults++;
if (buildCounterResultFormattedResults < 3) {
o.locale = "foo";
- o.ruleResults = buildUnnamed2657();
+ o.ruleResults = buildUnnamed2676();
}
buildCounterResultFormattedResults--;
return o;
@@ -394,19 +394,19 @@
buildCounterResultFormattedResults++;
if (buildCounterResultFormattedResults < 3) {
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed2657(o.ruleResults);
+ checkUnnamed2676(o.ruleResults);
}
buildCounterResultFormattedResults--;
}
-buildUnnamed2658() {
+buildUnnamed2677() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2658(core.List<core.String> o) {
+checkUnnamed2677(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -508,7 +508,7 @@
if (buildCounterResult < 3) {
o.formattedResults = buildResultFormattedResults();
o.id = "foo";
- o.invalidRules = buildUnnamed2658();
+ o.invalidRules = buildUnnamed2677();
o.kind = "foo";
o.pageStats = buildResultPageStats();
o.responseCode = 42;
@@ -526,7 +526,7 @@
if (buildCounterResult < 3) {
checkResultFormattedResults(o.formattedResults);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2658(o.invalidRules);
+ checkUnnamed2677(o.invalidRules);
unittest.expect(o.kind, unittest.equals('foo'));
checkResultPageStats(o.pageStats);
unittest.expect(o.responseCode, unittest.equals(42));
@@ -538,14 +538,14 @@
buildCounterResult--;
}
-buildUnnamed2659() {
+buildUnnamed2678() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2659(core.List<core.String> o) {
+checkUnnamed2678(core.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,7 +703,7 @@
var arg_url = "foo";
var arg_filterThirdPartyResources = true;
var arg_locale = "foo";
- var arg_rule = buildUnnamed2659();
+ var arg_rule = buildUnnamed2678();
var arg_screenshot = true;
var arg_strategy = "foo";
var arg_$fields = "foo";
diff --git a/generated/googleapis/test/pagespeedonline/v2_test.dart b/generated/googleapis/test/pagespeedonline/v2_test.dart
index eec4f5c..0c624c2 100644
--- a/generated/googleapis/test/pagespeedonline/v2_test.dart
+++ b/generated/googleapis/test/pagespeedonline/v2_test.dart
@@ -76,14 +76,14 @@
buildCounterPagespeedApiFormatStringV2ArgsRects--;
}
-buildUnnamed1280() {
+buildUnnamed1287() {
var o = new core.List<api.PagespeedApiFormatStringV2ArgsRects>();
o.add(buildPagespeedApiFormatStringV2ArgsRects());
o.add(buildPagespeedApiFormatStringV2ArgsRects());
return o;
}
-checkUnnamed1280(core.List<api.PagespeedApiFormatStringV2ArgsRects> o) {
+checkUnnamed1287(core.List<api.PagespeedApiFormatStringV2ArgsRects> o) {
unittest.expect(o, unittest.hasLength(2));
checkPagespeedApiFormatStringV2ArgsRects(o[0]);
checkPagespeedApiFormatStringV2ArgsRects(o[1]);
@@ -115,14 +115,14 @@
buildCounterPagespeedApiFormatStringV2ArgsSecondaryRects--;
}
-buildUnnamed1281() {
+buildUnnamed1288() {
var o = new core.List<api.PagespeedApiFormatStringV2ArgsSecondaryRects>();
o.add(buildPagespeedApiFormatStringV2ArgsSecondaryRects());
o.add(buildPagespeedApiFormatStringV2ArgsSecondaryRects());
return o;
}
-checkUnnamed1281(
+checkUnnamed1288(
core.List<api.PagespeedApiFormatStringV2ArgsSecondaryRects> o) {
unittest.expect(o, unittest.hasLength(2));
checkPagespeedApiFormatStringV2ArgsSecondaryRects(o[0]);
@@ -135,8 +135,8 @@
buildCounterPagespeedApiFormatStringV2Args++;
if (buildCounterPagespeedApiFormatStringV2Args < 3) {
o.key = "foo";
- o.rects = buildUnnamed1280();
- o.secondaryRects = buildUnnamed1281();
+ o.rects = buildUnnamed1287();
+ o.secondaryRects = buildUnnamed1288();
o.type = "foo";
o.value = "foo";
}
@@ -148,22 +148,22 @@
buildCounterPagespeedApiFormatStringV2Args++;
if (buildCounterPagespeedApiFormatStringV2Args < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed1280(o.rects);
- checkUnnamed1281(o.secondaryRects);
+ checkUnnamed1287(o.rects);
+ checkUnnamed1288(o.secondaryRects);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterPagespeedApiFormatStringV2Args--;
}
-buildUnnamed1282() {
+buildUnnamed1289() {
var o = new core.List<api.PagespeedApiFormatStringV2Args>();
o.add(buildPagespeedApiFormatStringV2Args());
o.add(buildPagespeedApiFormatStringV2Args());
return o;
}
-checkUnnamed1282(core.List<api.PagespeedApiFormatStringV2Args> o) {
+checkUnnamed1289(core.List<api.PagespeedApiFormatStringV2Args> o) {
unittest.expect(o, unittest.hasLength(2));
checkPagespeedApiFormatStringV2Args(o[0]);
checkPagespeedApiFormatStringV2Args(o[1]);
@@ -174,7 +174,7 @@
var o = new api.PagespeedApiFormatStringV2();
buildCounterPagespeedApiFormatStringV2++;
if (buildCounterPagespeedApiFormatStringV2 < 3) {
- o.args = buildUnnamed1282();
+ o.args = buildUnnamed1289();
o.format = "foo";
}
buildCounterPagespeedApiFormatStringV2--;
@@ -184,7 +184,7 @@
checkPagespeedApiFormatStringV2(api.PagespeedApiFormatStringV2 o) {
buildCounterPagespeedApiFormatStringV2++;
if (buildCounterPagespeedApiFormatStringV2 < 3) {
- checkUnnamed1282(o.args);
+ checkUnnamed1289(o.args);
unittest.expect(o.format, unittest.equals('foo'));
}
buildCounterPagespeedApiFormatStringV2--;
@@ -244,27 +244,27 @@
buildCounterPagespeedApiImageV2--;
}
-buildUnnamed1283() {
+buildUnnamed1290() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1283(core.List<core.String> o) {
+checkUnnamed1290(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1284() {
+buildUnnamed1291() {
var o = new core.List<api.PagespeedApiFormatStringV2>();
o.add(buildPagespeedApiFormatStringV2());
o.add(buildPagespeedApiFormatStringV2());
return o;
}
-checkUnnamed1284(core.List<api.PagespeedApiFormatStringV2> o) {
+checkUnnamed1291(core.List<api.PagespeedApiFormatStringV2> o) {
unittest.expect(o, unittest.hasLength(2));
checkPagespeedApiFormatStringV2(o[0]);
checkPagespeedApiFormatStringV2(o[1]);
@@ -275,7 +275,7 @@
var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls();
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls < 3) {
- o.details = buildUnnamed1284();
+ o.details = buildUnnamed1291();
o.result = buildPagespeedApiFormatStringV2();
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--;
@@ -286,13 +286,13 @@
api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls < 3) {
- checkUnnamed1284(o.details);
+ checkUnnamed1291(o.details);
checkPagespeedApiFormatStringV2(o.result);
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--;
}
-buildUnnamed1285() {
+buildUnnamed1292() {
var o =
new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrls());
@@ -300,7 +300,7 @@
return o;
}
-checkUnnamed1285(
+checkUnnamed1292(
core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(o[0]);
@@ -313,7 +313,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocks < 3) {
o.header = buildPagespeedApiFormatStringV2();
- o.urls = buildUnnamed1285();
+ o.urls = buildUnnamed1292();
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--;
return o;
@@ -324,19 +324,19 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocks < 3) {
checkPagespeedApiFormatStringV2(o.header);
- checkUnnamed1285(o.urls);
+ checkUnnamed1292(o.urls);
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--;
}
-buildUnnamed1286() {
+buildUnnamed1293() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks());
return o;
}
-checkUnnamed1286(
+checkUnnamed1293(
core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocks(o[0]);
@@ -348,11 +348,11 @@
var o = new api.ResultFormattedResultsRuleResultsValue();
buildCounterResultFormattedResultsRuleResultsValue++;
if (buildCounterResultFormattedResultsRuleResultsValue < 3) {
- o.groups = buildUnnamed1283();
+ o.groups = buildUnnamed1290();
o.localizedRuleName = "foo";
o.ruleImpact = 42.0;
o.summary = buildPagespeedApiFormatStringV2();
- o.urlBlocks = buildUnnamed1286();
+ o.urlBlocks = buildUnnamed1293();
}
buildCounterResultFormattedResultsRuleResultsValue--;
return o;
@@ -362,16 +362,16 @@
api.ResultFormattedResultsRuleResultsValue o) {
buildCounterResultFormattedResultsRuleResultsValue++;
if (buildCounterResultFormattedResultsRuleResultsValue < 3) {
- checkUnnamed1283(o.groups);
+ checkUnnamed1290(o.groups);
unittest.expect(o.localizedRuleName, unittest.equals('foo'));
unittest.expect(o.ruleImpact, unittest.equals(42.0));
checkPagespeedApiFormatStringV2(o.summary);
- checkUnnamed1286(o.urlBlocks);
+ checkUnnamed1293(o.urlBlocks);
}
buildCounterResultFormattedResultsRuleResultsValue--;
}
-buildUnnamed1287() {
+buildUnnamed1294() {
var o =
new core.Map<core.String, api.ResultFormattedResultsRuleResultsValue>();
o["x"] = buildResultFormattedResultsRuleResultsValue();
@@ -379,7 +379,7 @@
return o;
}
-checkUnnamed1287(
+checkUnnamed1294(
core.Map<core.String, api.ResultFormattedResultsRuleResultsValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValue(o["x"]);
@@ -392,7 +392,7 @@
buildCounterResultFormattedResults++;
if (buildCounterResultFormattedResults < 3) {
o.locale = "foo";
- o.ruleResults = buildUnnamed1287();
+ o.ruleResults = buildUnnamed1294();
}
buildCounterResultFormattedResults--;
return o;
@@ -402,19 +402,19 @@
buildCounterResultFormattedResults++;
if (buildCounterResultFormattedResults < 3) {
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed1287(o.ruleResults);
+ checkUnnamed1294(o.ruleResults);
}
buildCounterResultFormattedResults--;
}
-buildUnnamed1288() {
+buildUnnamed1295() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1288(core.List<core.String> o) {
+checkUnnamed1295(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -482,14 +482,14 @@
buildCounterResultRuleGroupsValue--;
}
-buildUnnamed1289() {
+buildUnnamed1296() {
var o = new core.Map<core.String, api.ResultRuleGroupsValue>();
o["x"] = buildResultRuleGroupsValue();
o["y"] = buildResultRuleGroupsValue();
return o;
}
-checkUnnamed1289(core.Map<core.String, api.ResultRuleGroupsValue> o) {
+checkUnnamed1296(core.Map<core.String, api.ResultRuleGroupsValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultRuleGroupsValue(o["x"]);
checkResultRuleGroupsValue(o["y"]);
@@ -523,11 +523,11 @@
if (buildCounterResult < 3) {
o.formattedResults = buildResultFormattedResults();
o.id = "foo";
- o.invalidRules = buildUnnamed1288();
+ o.invalidRules = buildUnnamed1295();
o.kind = "foo";
o.pageStats = buildResultPageStats();
o.responseCode = 42;
- o.ruleGroups = buildUnnamed1289();
+ o.ruleGroups = buildUnnamed1296();
o.screenshot = buildPagespeedApiImageV2();
o.title = "foo";
o.version = buildResultVersion();
@@ -541,11 +541,11 @@
if (buildCounterResult < 3) {
checkResultFormattedResults(o.formattedResults);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1288(o.invalidRules);
+ checkUnnamed1295(o.invalidRules);
unittest.expect(o.kind, unittest.equals('foo'));
checkResultPageStats(o.pageStats);
unittest.expect(o.responseCode, unittest.equals(42));
- checkUnnamed1289(o.ruleGroups);
+ checkUnnamed1296(o.ruleGroups);
checkPagespeedApiImageV2(o.screenshot);
unittest.expect(o.title, unittest.equals('foo'));
checkResultVersion(o.version);
@@ -553,14 +553,14 @@
buildCounterResult--;
}
-buildUnnamed1290() {
+buildUnnamed1297() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1290(core.List<core.String> o) {
+checkUnnamed1297(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -694,7 +694,7 @@
var arg_url = "foo";
var arg_filterThirdPartyResources = true;
var arg_locale = "foo";
- var arg_rule = buildUnnamed1290();
+ var arg_rule = buildUnnamed1297();
var arg_screenshot = true;
var arg_strategy = "foo";
var arg_$fields = "foo";
diff --git a/generated/googleapis/test/partners/v2_test.dart b/generated/googleapis/test/partners/v2_test.dart
index a9b6bfe..640175e 100644
--- a/generated/googleapis/test/partners/v2_test.dart
+++ b/generated/googleapis/test/partners/v2_test.dart
@@ -96,14 +96,14 @@
buildCounterAnalytics--;
}
-buildUnnamed2010() {
+buildUnnamed2024() {
var o = new core.List<api.LatLng>();
o.add(buildLatLng());
o.add(buildLatLng());
return o;
}
-checkUnnamed2010(core.List<api.LatLng> o) {
+checkUnnamed2024(core.List<api.LatLng> o) {
unittest.expect(o, unittest.hasLength(2));
checkLatLng(o[0]);
checkLatLng(o[1]);
@@ -115,7 +115,7 @@
buildCounterAnalyticsDataPoint++;
if (buildCounterAnalyticsDataPoint < 3) {
o.eventCount = 42;
- o.eventLocations = buildUnnamed2010();
+ o.eventLocations = buildUnnamed2024();
}
buildCounterAnalyticsDataPoint--;
return o;
@@ -125,7 +125,7 @@
buildCounterAnalyticsDataPoint++;
if (buildCounterAnalyticsDataPoint < 3) {
unittest.expect(o.eventCount, unittest.equals(42));
- checkUnnamed2010(o.eventLocations);
+ checkUnnamed2024(o.eventLocations);
}
buildCounterAnalyticsDataPoint--;
}
@@ -153,27 +153,27 @@
buildCounterAnalyticsSummary--;
}
-buildUnnamed2011() {
+buildUnnamed2025() {
var o = new core.List<api.CountryOfferInfo>();
o.add(buildCountryOfferInfo());
o.add(buildCountryOfferInfo());
return o;
}
-checkUnnamed2011(core.List<api.CountryOfferInfo> o) {
+checkUnnamed2025(core.List<api.CountryOfferInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkCountryOfferInfo(o[0]);
checkCountryOfferInfo(o[1]);
}
-buildUnnamed2012() {
+buildUnnamed2026() {
var o = new core.List<api.OfferCustomer>();
o.add(buildOfferCustomer());
o.add(buildOfferCustomer());
return o;
}
-checkUnnamed2012(core.List<api.OfferCustomer> o) {
+checkUnnamed2026(core.List<api.OfferCustomer> o) {
unittest.expect(o, unittest.hasLength(2));
checkOfferCustomer(o[0]);
checkOfferCustomer(o[1]);
@@ -185,14 +185,14 @@
buildCounterAvailableOffer++;
if (buildCounterAvailableOffer < 3) {
o.available = 42;
- o.countryOfferInfos = buildUnnamed2011();
+ o.countryOfferInfos = buildUnnamed2025();
o.description = "foo";
o.id = "foo";
o.maxAccountAge = 42;
o.name = "foo";
o.offerLevel = "foo";
o.offerType = "foo";
- o.qualifiedCustomer = buildUnnamed2012();
+ o.qualifiedCustomer = buildUnnamed2026();
o.qualifiedCustomersComplete = true;
o.showSpecialOfferCopy = true;
o.terms = "foo";
@@ -205,14 +205,14 @@
buildCounterAvailableOffer++;
if (buildCounterAvailableOffer < 3) {
unittest.expect(o.available, unittest.equals(42));
- checkUnnamed2011(o.countryOfferInfos);
+ checkUnnamed2025(o.countryOfferInfos);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.maxAccountAge, unittest.equals(42));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.offerLevel, unittest.equals('foo'));
unittest.expect(o.offerType, unittest.equals('foo'));
- checkUnnamed2012(o.qualifiedCustomer);
+ checkUnnamed2026(o.qualifiedCustomer);
unittest.expect(o.qualifiedCustomersComplete, unittest.isTrue);
unittest.expect(o.showSpecialOfferCopy, unittest.isTrue);
unittest.expect(o.terms, unittest.equals('foo'));
@@ -268,14 +268,14 @@
buildCounterCertificationExamStatus--;
}
-buildUnnamed2013() {
+buildUnnamed2027() {
var o = new core.List<api.CertificationExamStatus>();
o.add(buildCertificationExamStatus());
o.add(buildCertificationExamStatus());
return o;
}
-checkUnnamed2013(core.List<api.CertificationExamStatus> o) {
+checkUnnamed2027(core.List<api.CertificationExamStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkCertificationExamStatus(o[0]);
checkCertificationExamStatus(o[1]);
@@ -286,7 +286,7 @@
var o = new api.CertificationStatus();
buildCounterCertificationStatus++;
if (buildCounterCertificationStatus < 3) {
- o.examStatuses = buildUnnamed2013();
+ o.examStatuses = buildUnnamed2027();
o.isCertified = true;
o.type = "foo";
o.userCount = 42;
@@ -298,7 +298,7 @@
checkCertificationStatus(api.CertificationStatus o) {
buildCounterCertificationStatus++;
if (buildCounterCertificationStatus < 3) {
- checkUnnamed2013(o.examStatuses);
+ checkUnnamed2027(o.examStatuses);
unittest.expect(o.isCertified, unittest.isTrue);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.userCount, unittest.equals(42));
@@ -306,131 +306,131 @@
buildCounterCertificationStatus--;
}
-buildUnnamed2014() {
+buildUnnamed2028() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2014(core.List<core.String> o) {
+checkUnnamed2028(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2015() {
+buildUnnamed2029() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2015(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'));
}
-buildUnnamed2016() {
+buildUnnamed2030() {
var o = new core.List<api.CertificationStatus>();
o.add(buildCertificationStatus());
o.add(buildCertificationStatus());
return o;
}
-checkUnnamed2016(core.List<api.CertificationStatus> o) {
+checkUnnamed2030(core.List<api.CertificationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkCertificationStatus(o[0]);
checkCertificationStatus(o[1]);
}
-buildUnnamed2017() {
+buildUnnamed2031() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2017(core.List<core.String> o) {
+checkUnnamed2031(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2018() {
+buildUnnamed2032() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2018(core.List<core.String> o) {
+checkUnnamed2032(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2019() {
+buildUnnamed2033() {
var o = new core.List<api.LocalizedCompanyInfo>();
o.add(buildLocalizedCompanyInfo());
o.add(buildLocalizedCompanyInfo());
return o;
}
-checkUnnamed2019(core.List<api.LocalizedCompanyInfo> o) {
+checkUnnamed2033(core.List<api.LocalizedCompanyInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedCompanyInfo(o[0]);
checkLocalizedCompanyInfo(o[1]);
}
-buildUnnamed2020() {
+buildUnnamed2034() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed2020(core.List<api.Location> o) {
+checkUnnamed2034(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
}
-buildUnnamed2021() {
+buildUnnamed2035() {
var o = new core.List<api.Rank>();
o.add(buildRank());
o.add(buildRank());
return o;
}
-checkUnnamed2021(core.List<api.Rank> o) {
+checkUnnamed2035(core.List<api.Rank> o) {
unittest.expect(o, unittest.hasLength(2));
checkRank(o[0]);
checkRank(o[1]);
}
-buildUnnamed2022() {
+buildUnnamed2036() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2022(core.List<core.String> o) {
+checkUnnamed2036(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2023() {
+buildUnnamed2037() {
var o = new core.List<api.SpecializationStatus>();
o.add(buildSpecializationStatus());
o.add(buildSpecializationStatus());
return o;
}
-checkUnnamed2023(core.List<api.SpecializationStatus> o) {
+checkUnnamed2037(core.List<api.SpecializationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpecializationStatus(o[0]);
checkSpecializationStatus(o[1]);
@@ -441,16 +441,16 @@
var o = new api.Company();
buildCounterCompany++;
if (buildCounterCompany < 3) {
- o.additionalWebsites = buildUnnamed2014();
- o.autoApprovalEmailDomains = buildUnnamed2015();
+ o.additionalWebsites = buildUnnamed2028();
+ o.autoApprovalEmailDomains = buildUnnamed2029();
o.badgeTier = "foo";
- o.certificationStatuses = buildUnnamed2016();
- o.companyTypes = buildUnnamed2017();
+ o.certificationStatuses = buildUnnamed2030();
+ o.companyTypes = buildUnnamed2031();
o.convertedMinMonthlyBudget = buildMoney();
o.id = "foo";
- o.industries = buildUnnamed2018();
- o.localizedInfos = buildUnnamed2019();
- o.locations = buildUnnamed2020();
+ o.industries = buildUnnamed2032();
+ o.localizedInfos = buildUnnamed2033();
+ o.locations = buildUnnamed2034();
o.name = "foo";
o.originalMinMonthlyBudget = buildMoney();
o.primaryAdwordsManagerAccountId = "foo";
@@ -458,9 +458,9 @@
o.primaryLocation = buildLocation();
o.profileStatus = "foo";
o.publicProfile = buildPublicProfile();
- o.ranks = buildUnnamed2021();
- o.services = buildUnnamed2022();
- o.specializationStatus = buildUnnamed2023();
+ o.ranks = buildUnnamed2035();
+ o.services = buildUnnamed2036();
+ o.specializationStatus = buildUnnamed2037();
o.websiteUrl = "foo";
}
buildCounterCompany--;
@@ -470,16 +470,16 @@
checkCompany(api.Company o) {
buildCounterCompany++;
if (buildCounterCompany < 3) {
- checkUnnamed2014(o.additionalWebsites);
- checkUnnamed2015(o.autoApprovalEmailDomains);
+ checkUnnamed2028(o.additionalWebsites);
+ checkUnnamed2029(o.autoApprovalEmailDomains);
unittest.expect(o.badgeTier, unittest.equals('foo'));
- checkUnnamed2016(o.certificationStatuses);
- checkUnnamed2017(o.companyTypes);
+ checkUnnamed2030(o.certificationStatuses);
+ checkUnnamed2031(o.companyTypes);
checkMoney(o.convertedMinMonthlyBudget);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2018(o.industries);
- checkUnnamed2019(o.localizedInfos);
- checkUnnamed2020(o.locations);
+ checkUnnamed2032(o.industries);
+ checkUnnamed2033(o.localizedInfos);
+ checkUnnamed2034(o.locations);
unittest.expect(o.name, unittest.equals('foo'));
checkMoney(o.originalMinMonthlyBudget);
unittest.expect(o.primaryAdwordsManagerAccountId, unittest.equals('foo'));
@@ -487,35 +487,35 @@
checkLocation(o.primaryLocation);
unittest.expect(o.profileStatus, unittest.equals('foo'));
checkPublicProfile(o.publicProfile);
- checkUnnamed2021(o.ranks);
- checkUnnamed2022(o.services);
- checkUnnamed2023(o.specializationStatus);
+ checkUnnamed2035(o.ranks);
+ checkUnnamed2036(o.services);
+ checkUnnamed2037(o.specializationStatus);
unittest.expect(o.websiteUrl, unittest.equals('foo'));
}
buildCounterCompany--;
}
-buildUnnamed2024() {
+buildUnnamed2038() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2024(core.List<core.String> o) {
+checkUnnamed2038(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2025() {
+buildUnnamed2039() {
var o = new core.List<api.SpecializationStatus>();
o.add(buildSpecializationStatus());
o.add(buildSpecializationStatus());
return o;
}
-checkUnnamed2025(core.List<api.SpecializationStatus> o) {
+checkUnnamed2039(core.List<api.SpecializationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpecializationStatus(o[0]);
checkSpecializationStatus(o[1]);
@@ -541,8 +541,8 @@
o.primaryCountryCode = "foo";
o.primaryLanguageCode = "foo";
o.resolvedTimestamp = "foo";
- o.segment = buildUnnamed2024();
- o.specializationStatus = buildUnnamed2025();
+ o.segment = buildUnnamed2038();
+ o.specializationStatus = buildUnnamed2039();
o.state = "foo";
o.website = "foo";
}
@@ -568,8 +568,8 @@
unittest.expect(o.primaryCountryCode, unittest.equals('foo'));
unittest.expect(o.primaryLanguageCode, unittest.equals('foo'));
unittest.expect(o.resolvedTimestamp, unittest.equals('foo'));
- checkUnnamed2024(o.segment);
- checkUnnamed2025(o.specializationStatus);
+ checkUnnamed2038(o.segment);
+ checkUnnamed2039(o.specializationStatus);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.website, unittest.equals('foo'));
}
@@ -708,14 +708,14 @@
buildCounterEmpty--;
}
-buildUnnamed2026() {
+buildUnnamed2040() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2026(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'));
@@ -727,7 +727,7 @@
buildCounterEventData++;
if (buildCounterEventData < 3) {
o.key = "foo";
- o.values = buildUnnamed2026();
+ o.values = buildUnnamed2040();
}
buildCounterEventData--;
return o;
@@ -737,7 +737,7 @@
buildCounterEventData++;
if (buildCounterEventData < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed2026(o.values);
+ checkUnnamed2040(o.values);
}
buildCounterEventData--;
}
@@ -896,14 +896,14 @@
buildCounterLatLng--;
}
-buildUnnamed2027() {
+buildUnnamed2041() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2027(core.List<core.String> o) {
+checkUnnamed2041(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -920,7 +920,7 @@
o.email = "foo";
o.familyName = "foo";
o.givenName = "foo";
- o.gpsMotivations = buildUnnamed2027();
+ o.gpsMotivations = buildUnnamed2041();
o.id = "foo";
o.languageCode = "foo";
o.marketingOptIn = true;
@@ -943,7 +943,7 @@
unittest.expect(o.email, unittest.equals('foo'));
unittest.expect(o.familyName, unittest.equals('foo'));
unittest.expect(o.givenName, unittest.equals('foo'));
- checkUnnamed2027(o.gpsMotivations);
+ checkUnnamed2041(o.gpsMotivations);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
unittest.expect(o.marketingOptIn, unittest.isTrue);
@@ -956,14 +956,14 @@
buildCounterLead--;
}
-buildUnnamed2028() {
+buildUnnamed2042() {
var o = new core.List<api.Analytics>();
o.add(buildAnalytics());
o.add(buildAnalytics());
return o;
}
-checkUnnamed2028(core.List<api.Analytics> o) {
+checkUnnamed2042(core.List<api.Analytics> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnalytics(o[0]);
checkAnalytics(o[1]);
@@ -974,7 +974,7 @@
var o = new api.ListAnalyticsResponse();
buildCounterListAnalyticsResponse++;
if (buildCounterListAnalyticsResponse < 3) {
- o.analytics = buildUnnamed2028();
+ o.analytics = buildUnnamed2042();
o.analyticsSummary = buildAnalyticsSummary();
o.nextPageToken = "foo";
o.responseMetadata = buildResponseMetadata();
@@ -986,7 +986,7 @@
checkListAnalyticsResponse(api.ListAnalyticsResponse o) {
buildCounterListAnalyticsResponse++;
if (buildCounterListAnalyticsResponse < 3) {
- checkUnnamed2028(o.analytics);
+ checkUnnamed2042(o.analytics);
checkAnalyticsSummary(o.analyticsSummary);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkResponseMetadata(o.responseMetadata);
@@ -994,14 +994,14 @@
buildCounterListAnalyticsResponse--;
}
-buildUnnamed2029() {
+buildUnnamed2043() {
var o = new core.List<api.Company>();
o.add(buildCompany());
o.add(buildCompany());
return o;
}
-checkUnnamed2029(core.List<api.Company> o) {
+checkUnnamed2043(core.List<api.Company> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompany(o[0]);
checkCompany(o[1]);
@@ -1012,7 +1012,7 @@
var o = new api.ListCompaniesResponse();
buildCounterListCompaniesResponse++;
if (buildCounterListCompaniesResponse < 3) {
- o.companies = buildUnnamed2029();
+ o.companies = buildUnnamed2043();
o.nextPageToken = "foo";
o.responseMetadata = buildResponseMetadata();
}
@@ -1023,21 +1023,21 @@
checkListCompaniesResponse(api.ListCompaniesResponse o) {
buildCounterListCompaniesResponse++;
if (buildCounterListCompaniesResponse < 3) {
- checkUnnamed2029(o.companies);
+ checkUnnamed2043(o.companies);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkResponseMetadata(o.responseMetadata);
}
buildCounterListCompaniesResponse--;
}
-buildUnnamed2030() {
+buildUnnamed2044() {
var o = new core.List<api.Lead>();
o.add(buildLead());
o.add(buildLead());
return o;
}
-checkUnnamed2030(core.List<api.Lead> o) {
+checkUnnamed2044(core.List<api.Lead> o) {
unittest.expect(o, unittest.hasLength(2));
checkLead(o[0]);
checkLead(o[1]);
@@ -1048,7 +1048,7 @@
var o = new api.ListLeadsResponse();
buildCounterListLeadsResponse++;
if (buildCounterListLeadsResponse < 3) {
- o.leads = buildUnnamed2030();
+ o.leads = buildUnnamed2044();
o.nextPageToken = "foo";
o.responseMetadata = buildResponseMetadata();
o.totalSize = 42;
@@ -1060,7 +1060,7 @@
checkListLeadsResponse(api.ListLeadsResponse o) {
buildCounterListLeadsResponse++;
if (buildCounterListLeadsResponse < 3) {
- checkUnnamed2030(o.leads);
+ checkUnnamed2044(o.leads);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkResponseMetadata(o.responseMetadata);
unittest.expect(o.totalSize, unittest.equals(42));
@@ -1068,14 +1068,14 @@
buildCounterListLeadsResponse--;
}
-buildUnnamed2031() {
+buildUnnamed2045() {
var o = new core.List<api.HistoricalOffer>();
o.add(buildHistoricalOffer());
o.add(buildHistoricalOffer());
return o;
}
-checkUnnamed2031(core.List<api.HistoricalOffer> o) {
+checkUnnamed2045(core.List<api.HistoricalOffer> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistoricalOffer(o[0]);
checkHistoricalOffer(o[1]);
@@ -1088,7 +1088,7 @@
if (buildCounterListOffersHistoryResponse < 3) {
o.canShowEntireCompany = true;
o.nextPageToken = "foo";
- o.offers = buildUnnamed2031();
+ o.offers = buildUnnamed2045();
o.responseMetadata = buildResponseMetadata();
o.showingEntireCompany = true;
o.totalResults = 42;
@@ -1102,7 +1102,7 @@
if (buildCounterListOffersHistoryResponse < 3) {
unittest.expect(o.canShowEntireCompany, unittest.isTrue);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2031(o.offers);
+ checkUnnamed2045(o.offers);
checkResponseMetadata(o.responseMetadata);
unittest.expect(o.showingEntireCompany, unittest.isTrue);
unittest.expect(o.totalResults, unittest.equals(42));
@@ -1110,14 +1110,14 @@
buildCounterListOffersHistoryResponse--;
}
-buildUnnamed2032() {
+buildUnnamed2046() {
var o = new core.List<api.AvailableOffer>();
o.add(buildAvailableOffer());
o.add(buildAvailableOffer());
return o;
}
-checkUnnamed2032(core.List<api.AvailableOffer> o) {
+checkUnnamed2046(core.List<api.AvailableOffer> o) {
unittest.expect(o, unittest.hasLength(2));
checkAvailableOffer(o[0]);
checkAvailableOffer(o[1]);
@@ -1128,7 +1128,7 @@
var o = new api.ListOffersResponse();
buildCounterListOffersResponse++;
if (buildCounterListOffersResponse < 3) {
- o.availableOffers = buildUnnamed2032();
+ o.availableOffers = buildUnnamed2046();
o.noOfferReason = "foo";
o.responseMetadata = buildResponseMetadata();
}
@@ -1139,21 +1139,21 @@
checkListOffersResponse(api.ListOffersResponse o) {
buildCounterListOffersResponse++;
if (buildCounterListOffersResponse < 3) {
- checkUnnamed2032(o.availableOffers);
+ checkUnnamed2046(o.availableOffers);
unittest.expect(o.noOfferReason, unittest.equals('foo'));
checkResponseMetadata(o.responseMetadata);
}
buildCounterListOffersResponse--;
}
-buildUnnamed2033() {
+buildUnnamed2047() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2033(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'));
@@ -1165,7 +1165,7 @@
buildCounterListUserStatesResponse++;
if (buildCounterListUserStatesResponse < 3) {
o.responseMetadata = buildResponseMetadata();
- o.userStates = buildUnnamed2033();
+ o.userStates = buildUnnamed2047();
}
buildCounterListUserStatesResponse--;
return o;
@@ -1175,19 +1175,19 @@
buildCounterListUserStatesResponse++;
if (buildCounterListUserStatesResponse < 3) {
checkResponseMetadata(o.responseMetadata);
- checkUnnamed2033(o.userStates);
+ checkUnnamed2047(o.userStates);
}
buildCounterListUserStatesResponse--;
}
-buildUnnamed2034() {
+buildUnnamed2048() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2034(core.List<core.String> o) {
+checkUnnamed2048(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1198,7 +1198,7 @@
var o = new api.LocalizedCompanyInfo();
buildCounterLocalizedCompanyInfo++;
if (buildCounterLocalizedCompanyInfo < 3) {
- o.countryCodes = buildUnnamed2034();
+ o.countryCodes = buildUnnamed2048();
o.displayName = "foo";
o.languageCode = "foo";
o.overview = "foo";
@@ -1210,7 +1210,7 @@
checkLocalizedCompanyInfo(api.LocalizedCompanyInfo o) {
buildCounterLocalizedCompanyInfo++;
if (buildCounterLocalizedCompanyInfo < 3) {
- checkUnnamed2034(o.countryCodes);
+ checkUnnamed2048(o.countryCodes);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
unittest.expect(o.overview, unittest.equals('foo'));
@@ -1218,14 +1218,14 @@
buildCounterLocalizedCompanyInfo--;
}
-buildUnnamed2035() {
+buildUnnamed2049() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2035(core.List<core.String> o) {
+checkUnnamed2049(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1237,7 +1237,7 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.address = "foo";
- o.addressLine = buildUnnamed2035();
+ o.addressLine = buildUnnamed2049();
o.administrativeArea = "foo";
o.dependentLocality = "foo";
o.languageCode = "foo";
@@ -1255,7 +1255,7 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.address, unittest.equals('foo'));
- checkUnnamed2035(o.addressLine);
+ checkUnnamed2049(o.addressLine);
unittest.expect(o.administrativeArea, unittest.equals('foo'));
unittest.expect(o.dependentLocality, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
@@ -1268,14 +1268,14 @@
buildCounterLocation--;
}
-buildUnnamed2036() {
+buildUnnamed2050() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2036(core.Map<core.String, core.String> o) {
+checkUnnamed2050(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'));
@@ -1286,7 +1286,7 @@
var o = new api.LogMessageRequest();
buildCounterLogMessageRequest++;
if (buildCounterLogMessageRequest < 3) {
- o.clientInfo = buildUnnamed2036();
+ o.clientInfo = buildUnnamed2050();
o.details = "foo";
o.level = "foo";
o.requestMetadata = buildRequestMetadata();
@@ -1298,7 +1298,7 @@
checkLogMessageRequest(api.LogMessageRequest o) {
buildCounterLogMessageRequest++;
if (buildCounterLogMessageRequest < 3) {
- checkUnnamed2036(o.clientInfo);
+ checkUnnamed2050(o.clientInfo);
unittest.expect(o.details, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
checkRequestMetadata(o.requestMetadata);
@@ -1325,14 +1325,14 @@
buildCounterLogMessageResponse--;
}
-buildUnnamed2037() {
+buildUnnamed2051() {
var o = new core.List<api.EventData>();
o.add(buildEventData());
o.add(buildEventData());
return o;
}
-checkUnnamed2037(core.List<api.EventData> o) {
+checkUnnamed2051(core.List<api.EventData> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventData(o[0]);
checkEventData(o[1]);
@@ -1345,7 +1345,7 @@
if (buildCounterLogUserEventRequest < 3) {
o.eventAction = "foo";
o.eventCategory = "foo";
- o.eventDatas = buildUnnamed2037();
+ o.eventDatas = buildUnnamed2051();
o.eventScope = "foo";
o.lead = buildLead();
o.requestMetadata = buildRequestMetadata();
@@ -1360,7 +1360,7 @@
if (buildCounterLogUserEventRequest < 3) {
unittest.expect(o.eventAction, unittest.equals('foo'));
unittest.expect(o.eventCategory, unittest.equals('foo'));
- checkUnnamed2037(o.eventDatas);
+ checkUnnamed2051(o.eventDatas);
unittest.expect(o.eventScope, unittest.equals('foo'));
checkLead(o.lead);
checkRequestMetadata(o.requestMetadata);
@@ -1542,14 +1542,14 @@
buildCounterRecaptchaChallenge--;
}
-buildUnnamed2038() {
+buildUnnamed2052() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2038(core.List<core.String> o) {
+checkUnnamed2052(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1560,7 +1560,7 @@
var o = new api.RequestMetadata();
buildCounterRequestMetadata++;
if (buildCounterRequestMetadata < 3) {
- o.experimentIds = buildUnnamed2038();
+ o.experimentIds = buildUnnamed2052();
o.locale = "foo";
o.partnersSessionId = "foo";
o.trafficSource = buildTrafficSource();
@@ -1573,7 +1573,7 @@
checkRequestMetadata(api.RequestMetadata o) {
buildCounterRequestMetadata++;
if (buildCounterRequestMetadata < 3) {
- checkUnnamed2038(o.experimentIds);
+ checkUnnamed2052(o.experimentIds);
unittest.expect(o.locale, unittest.equals('foo'));
unittest.expect(o.partnersSessionId, unittest.equals('foo'));
checkTrafficSource(o.trafficSource);
@@ -1643,53 +1643,53 @@
buildCounterTrafficSource--;
}
-buildUnnamed2039() {
+buildUnnamed2053() {
var o = new core.List<api.AdWordsManagerAccountInfo>();
o.add(buildAdWordsManagerAccountInfo());
o.add(buildAdWordsManagerAccountInfo());
return o;
}
-checkUnnamed2039(core.List<api.AdWordsManagerAccountInfo> o) {
+checkUnnamed2053(core.List<api.AdWordsManagerAccountInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdWordsManagerAccountInfo(o[0]);
checkAdWordsManagerAccountInfo(o[1]);
}
-buildUnnamed2040() {
+buildUnnamed2054() {
var o = new core.List<api.Certification>();
o.add(buildCertification());
o.add(buildCertification());
return o;
}
-checkUnnamed2040(core.List<api.Certification> o) {
+checkUnnamed2054(core.List<api.Certification> o) {
unittest.expect(o, unittest.hasLength(2));
checkCertification(o[0]);
checkCertification(o[1]);
}
-buildUnnamed2041() {
+buildUnnamed2055() {
var o = new core.List<api.ExamStatus>();
o.add(buildExamStatus());
o.add(buildExamStatus());
return o;
}
-checkUnnamed2041(core.List<api.ExamStatus> o) {
+checkUnnamed2055(core.List<api.ExamStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkExamStatus(o[0]);
checkExamStatus(o[1]);
}
-buildUnnamed2042() {
+buildUnnamed2056() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2042(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'));
@@ -1700,15 +1700,15 @@
var o = new api.User();
buildCounterUser++;
if (buildCounterUser < 3) {
- o.availableAdwordsManagerAccounts = buildUnnamed2039();
- o.certificationStatus = buildUnnamed2040();
+ o.availableAdwordsManagerAccounts = buildUnnamed2053();
+ o.certificationStatus = buildUnnamed2054();
o.company = buildCompanyRelation();
o.companyVerificationEmail = "foo";
- o.examStatus = buildUnnamed2041();
+ o.examStatus = buildUnnamed2055();
o.id = "foo";
o.internalId = "foo";
o.lastAccessTime = "foo";
- o.primaryEmails = buildUnnamed2042();
+ o.primaryEmails = buildUnnamed2056();
o.profile = buildUserProfile();
o.publicProfile = buildPublicProfile();
}
@@ -1719,15 +1719,15 @@
checkUser(api.User o) {
buildCounterUser++;
if (buildCounterUser < 3) {
- checkUnnamed2039(o.availableAdwordsManagerAccounts);
- checkUnnamed2040(o.certificationStatus);
+ checkUnnamed2053(o.availableAdwordsManagerAccounts);
+ checkUnnamed2054(o.certificationStatus);
checkCompanyRelation(o.company);
unittest.expect(o.companyVerificationEmail, unittest.equals('foo'));
- checkUnnamed2041(o.examStatus);
+ checkUnnamed2055(o.examStatus);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.internalId, unittest.equals('foo'));
unittest.expect(o.lastAccessTime, unittest.equals('foo'));
- checkUnnamed2042(o.primaryEmails);
+ checkUnnamed2056(o.primaryEmails);
checkUserProfile(o.profile);
checkPublicProfile(o.publicProfile);
}
@@ -1755,235 +1755,6 @@
buildCounterUserOverrides--;
}
-buildUnnamed2043() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2043(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2044() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2044(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2045() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2045(core.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() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2046(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2047() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-core.int buildCounterUserProfile = 0;
-buildUserProfile() {
- var o = new api.UserProfile();
- buildCounterUserProfile++;
- if (buildCounterUserProfile < 3) {
- o.address = buildLocation();
- o.adwordsManagerAccount = "foo";
- o.channels = buildUnnamed2043();
- o.emailAddress = "foo";
- o.emailOptIns = buildOptIns();
- o.familyName = "foo";
- o.givenName = "foo";
- o.industries = buildUnnamed2044();
- o.jobFunctions = buildUnnamed2045();
- o.languages = buildUnnamed2046();
- o.markets = buildUnnamed2047();
- o.migrateToAfa = true;
- o.phoneNumber = "foo";
- o.primaryCountryCode = "foo";
- o.profilePublic = true;
- }
- buildCounterUserProfile--;
- return o;
-}
-
-checkUserProfile(api.UserProfile o) {
- buildCounterUserProfile++;
- if (buildCounterUserProfile < 3) {
- checkLocation(o.address);
- unittest.expect(o.adwordsManagerAccount, unittest.equals('foo'));
- checkUnnamed2043(o.channels);
- unittest.expect(o.emailAddress, unittest.equals('foo'));
- checkOptIns(o.emailOptIns);
- unittest.expect(o.familyName, unittest.equals('foo'));
- unittest.expect(o.givenName, unittest.equals('foo'));
- checkUnnamed2044(o.industries);
- checkUnnamed2045(o.jobFunctions);
- checkUnnamed2046(o.languages);
- checkUnnamed2047(o.markets);
- unittest.expect(o.migrateToAfa, unittest.isTrue);
- unittest.expect(o.phoneNumber, unittest.equals('foo'));
- unittest.expect(o.primaryCountryCode, unittest.equals('foo'));
- unittest.expect(o.profilePublic, unittest.isTrue);
- }
- buildCounterUserProfile--;
-}
-
-buildUnnamed2048() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2048(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2049() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2049(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2050() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2050(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2051() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-buildUnnamed2052() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2052(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2053() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2053(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2054() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2054(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2055() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2055(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2056() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
buildUnnamed2057() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2049,6 +1820,53 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterUserProfile = 0;
+buildUserProfile() {
+ var o = new api.UserProfile();
+ buildCounterUserProfile++;
+ if (buildCounterUserProfile < 3) {
+ o.address = buildLocation();
+ o.adwordsManagerAccount = "foo";
+ o.channels = buildUnnamed2057();
+ o.emailAddress = "foo";
+ o.emailOptIns = buildOptIns();
+ o.familyName = "foo";
+ o.givenName = "foo";
+ o.industries = buildUnnamed2058();
+ o.jobFunctions = buildUnnamed2059();
+ o.languages = buildUnnamed2060();
+ o.markets = buildUnnamed2061();
+ o.migrateToAfa = true;
+ o.phoneNumber = "foo";
+ o.primaryCountryCode = "foo";
+ o.profilePublic = true;
+ }
+ buildCounterUserProfile--;
+ return o;
+}
+
+checkUserProfile(api.UserProfile o) {
+ buildCounterUserProfile++;
+ if (buildCounterUserProfile < 3) {
+ checkLocation(o.address);
+ unittest.expect(o.adwordsManagerAccount, unittest.equals('foo'));
+ checkUnnamed2057(o.channels);
+ unittest.expect(o.emailAddress, unittest.equals('foo'));
+ checkOptIns(o.emailOptIns);
+ unittest.expect(o.familyName, unittest.equals('foo'));
+ unittest.expect(o.givenName, unittest.equals('foo'));
+ checkUnnamed2058(o.industries);
+ checkUnnamed2059(o.jobFunctions);
+ checkUnnamed2060(o.languages);
+ checkUnnamed2061(o.markets);
+ unittest.expect(o.migrateToAfa, unittest.isTrue);
+ unittest.expect(o.phoneNumber, unittest.equals('foo'));
+ unittest.expect(o.primaryCountryCode, unittest.equals('foo'));
+ unittest.expect(o.profilePublic, unittest.isTrue);
+ }
+ buildCounterUserProfile--;
+}
+
buildUnnamed2062() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2127,6 +1945,188 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+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'));
+}
+
+buildUnnamed2069() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2069(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2070() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2070(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2071() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2071(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2072() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2072(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2073() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+buildUnnamed2074() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+buildUnnamed2075() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2075(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2076() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2076(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2077() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2077(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2078() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2078(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2079() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2079(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2080() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2080(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2081() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2081(core.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-AdWordsManagerAccountInfo", () {
unittest.test("to-json--from-json", () {
@@ -2524,15 +2524,15 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.AnalyticsResourceApi res = new api.PartnersApi(mock).analytics;
+ var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2048();
+ var arg_requestMetadata_experimentIds = buildUnnamed2062();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
- var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2564,6 +2564,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(
+ queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
+ unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(queryMap["requestMetadata.locale"].first,
unittest.equals(arg_requestMetadata_locale));
unittest.expect(
@@ -2574,17 +2577,14 @@
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSubId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
- unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
+ unittest.equals(arg_requestMetadata_userOverrides_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["requestMetadata.trafficSource.trafficSourceId"].first,
- unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2595,20 +2595,20 @@
}), true);
res
.list(
+ requestMetadata_trafficSource_trafficSourceId:
+ arg_requestMetadata_trafficSource_trafficSourceId,
requestMetadata_locale: arg_requestMetadata_locale,
requestMetadata_userOverrides_ipAddress:
arg_requestMetadata_userOverrides_ipAddress,
requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
requestMetadata_trafficSource_trafficSubId:
arg_requestMetadata_trafficSource_trafficSubId,
- requestMetadata_userOverrides_userId:
- arg_requestMetadata_userOverrides_userId,
requestMetadata_partnersSessionId:
arg_requestMetadata_partnersSessionId,
+ requestMetadata_userOverrides_userId:
+ arg_requestMetadata_userOverrides_userId,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
- requestMetadata_trafficSource_trafficSourceId:
- arg_requestMetadata_trafficSource_trafficSourceId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListAnalyticsResponse response) {
checkListAnalyticsResponse(response);
@@ -2677,17 +2677,17 @@
var mock = new HttpServerMock();
api.CompaniesResourceApi res = new api.PartnersApi(mock).companies;
var arg_companyId = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2049();
- var arg_currencyCode = "foo";
- var arg_orderBy = "foo";
- var arg_requestMetadata_trafficSource_trafficSubId = "foo";
- var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
var arg_view = "foo";
var arg_requestMetadata_locale = "foo";
var arg_address = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_currencyCode = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed2063();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ var arg_orderBy = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2722,19 +2722,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.experimentIds"],
- unittest.equals(arg_requestMetadata_experimentIds));
- unittest.expect(
- queryMap["currencyCode"].first, unittest.equals(arg_currencyCode));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
- queryMap["requestMetadata.trafficSource.trafficSubId"].first,
- unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
- unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
+ unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["requestMetadata.locale"].first,
unittest.equals(arg_requestMetadata_locale));
@@ -2746,6 +2737,15 @@
unittest.expect(
queryMap["requestMetadata.userOverrides.ipAddress"].first,
unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(
+ queryMap["currencyCode"].first, unittest.equals(arg_currencyCode));
+ unittest.expect(queryMap["requestMetadata.experimentIds"],
+ unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(
+ queryMap["requestMetadata.trafficSource.trafficSubId"].first,
+ unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2756,15 +2756,10 @@
}), true);
res
.get(arg_companyId,
- requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
- currencyCode: arg_currencyCode,
- orderBy: arg_orderBy,
- requestMetadata_trafficSource_trafficSubId:
- arg_requestMetadata_trafficSource_trafficSubId,
- requestMetadata_userOverrides_userId:
- arg_requestMetadata_userOverrides_userId,
requestMetadata_partnersSessionId:
arg_requestMetadata_partnersSessionId,
+ requestMetadata_userOverrides_userId:
+ arg_requestMetadata_userOverrides_userId,
view: arg_view,
requestMetadata_locale: arg_requestMetadata_locale,
address: arg_address,
@@ -2772,6 +2767,11 @@
arg_requestMetadata_trafficSource_trafficSourceId,
requestMetadata_userOverrides_ipAddress:
arg_requestMetadata_userOverrides_ipAddress,
+ currencyCode: arg_currencyCode,
+ requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
+ requestMetadata_trafficSource_trafficSubId:
+ arg_requestMetadata_trafficSource_trafficSubId,
+ orderBy: arg_orderBy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.GetCompanyResponse response) {
checkGetCompanyResponse(response);
@@ -2781,31 +2781,31 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.CompaniesResourceApi res = new api.PartnersApi(mock).companies;
- var arg_languageCodes = buildUnnamed2050();
+ var arg_languageCodes = buildUnnamed2064();
var arg_pageSize = 42;
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2051();
+ var arg_requestMetadata_experimentIds = buildUnnamed2065();
var arg_orderBy = "foo";
- var arg_specializations = buildUnnamed2052();
+ var arg_specializations = buildUnnamed2066();
var arg_maxMonthlyBudget_currencyCode = "foo";
- var arg_minMonthlyBudget_currencyCode = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_minMonthlyBudget_currencyCode = "foo";
var arg_view = "foo";
var arg_requestMetadata_locale = "foo";
var arg_address = "foo";
var arg_minMonthlyBudget_units = "foo";
var arg_maxMonthlyBudget_nanos = 42;
- var arg_services = buildUnnamed2053();
+ var arg_services = buildUnnamed2067();
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_maxMonthlyBudget_units = "foo";
- var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_minMonthlyBudget_nanos = 42;
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
var arg_companyName = "foo";
var arg_pageToken = "foo";
- var arg_industries = buildUnnamed2054();
+ var arg_industries = buildUnnamed2068();
var arg_websiteUrl = "foo";
- var arg_gpsMotivations = buildUnnamed2055();
+ var arg_gpsMotivations = buildUnnamed2069();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2852,10 +2852,10 @@
queryMap["specializations"], unittest.equals(arg_specializations));
unittest.expect(queryMap["maxMonthlyBudget.currencyCode"].first,
unittest.equals(arg_maxMonthlyBudget_currencyCode));
- unittest.expect(queryMap["minMonthlyBudget.currencyCode"].first,
- unittest.equals(arg_minMonthlyBudget_currencyCode));
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["minMonthlyBudget.currencyCode"].first,
+ unittest.equals(arg_minMonthlyBudget_currencyCode));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["requestMetadata.locale"].first,
unittest.equals(arg_requestMetadata_locale));
@@ -2873,11 +2873,11 @@
unittest.expect(queryMap["maxMonthlyBudget.units"].first,
unittest.equals(arg_maxMonthlyBudget_units));
unittest.expect(
- queryMap["requestMetadata.trafficSource.trafficSubId"].first,
- unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
- unittest.expect(
core.int.parse(queryMap["minMonthlyBudget.nanos"].first),
unittest.equals(arg_minMonthlyBudget_nanos));
+ unittest.expect(
+ queryMap["requestMetadata.trafficSource.trafficSubId"].first,
+ unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(
@@ -2908,9 +2908,9 @@
orderBy: arg_orderBy,
specializations: arg_specializations,
maxMonthlyBudget_currencyCode: arg_maxMonthlyBudget_currencyCode,
- minMonthlyBudget_currencyCode: arg_minMonthlyBudget_currencyCode,
requestMetadata_userOverrides_userId:
arg_requestMetadata_userOverrides_userId,
+ minMonthlyBudget_currencyCode: arg_minMonthlyBudget_currencyCode,
view: arg_view,
requestMetadata_locale: arg_requestMetadata_locale,
address: arg_address,
@@ -2920,9 +2920,9 @@
requestMetadata_trafficSource_trafficSourceId:
arg_requestMetadata_trafficSource_trafficSourceId,
maxMonthlyBudget_units: arg_maxMonthlyBudget_units,
+ minMonthlyBudget_nanos: arg_minMonthlyBudget_nanos,
requestMetadata_trafficSource_trafficSubId:
arg_requestMetadata_trafficSource_trafficSubId,
- minMonthlyBudget_nanos: arg_minMonthlyBudget_nanos,
requestMetadata_partnersSessionId:
arg_requestMetadata_partnersSessionId,
companyName: arg_companyName,
@@ -3008,13 +3008,13 @@
var mock = new HttpServerMock();
api.ExamsResourceApi res = new api.PartnersApi(mock).exams;
var arg_examType = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2056();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed2070();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3055,8 +3055,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.experimentIds"],
- unittest.equals(arg_requestMetadata_experimentIds));
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSubId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
@@ -3072,6 +3070,8 @@
unittest.expect(
queryMap["requestMetadata.userOverrides.ipAddress"].first,
unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(queryMap["requestMetadata.experimentIds"],
+ unittest.equals(arg_requestMetadata_experimentIds));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3082,7 +3082,6 @@
}), true);
res
.getToken(arg_examType,
- requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
requestMetadata_trafficSource_trafficSubId:
arg_requestMetadata_trafficSource_trafficSubId,
requestMetadata_userOverrides_userId:
@@ -3094,6 +3093,7 @@
requestMetadata_locale: arg_requestMetadata_locale,
requestMetadata_userOverrides_ipAddress:
arg_requestMetadata_userOverrides_ipAddress,
+ requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ExamToken response) {
checkExamToken(response);
@@ -3105,16 +3105,16 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.LeadsResourceApi res = new api.PartnersApi(mock).leads;
- var arg_requestMetadata_experimentIds = buildUnnamed2057();
- var arg_requestMetadata_trafficSource_trafficSubId = "foo";
- var arg_orderBy = "foo";
- var arg_requestMetadata_userOverrides_userId = "foo";
- var arg_requestMetadata_partnersSessionId = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed2071();
+ var arg_orderBy = "foo";
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3146,17 +3146,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.experimentIds"],
- unittest.equals(arg_requestMetadata_experimentIds));
- unittest.expect(
- queryMap["requestMetadata.trafficSource.trafficSubId"].first,
- unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
- unittest.equals(arg_requestMetadata_userOverrides_userId));
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
- unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
@@ -3169,6 +3158,17 @@
unittest.expect(
queryMap["requestMetadata.userOverrides.ipAddress"].first,
unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(queryMap["requestMetadata.experimentIds"],
+ unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(
+ queryMap["requestMetadata.trafficSource.trafficSubId"].first,
+ unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
+ unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
+ unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3179,14 +3179,6 @@
}), true);
res
.list(
- requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
- requestMetadata_trafficSource_trafficSubId:
- arg_requestMetadata_trafficSource_trafficSubId,
- orderBy: arg_orderBy,
- requestMetadata_userOverrides_userId:
- arg_requestMetadata_userOverrides_userId,
- requestMetadata_partnersSessionId:
- arg_requestMetadata_partnersSessionId,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
requestMetadata_trafficSource_trafficSourceId:
@@ -3194,6 +3186,14 @@
requestMetadata_locale: arg_requestMetadata_locale,
requestMetadata_userOverrides_ipAddress:
arg_requestMetadata_userOverrides_ipAddress,
+ requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
+ orderBy: arg_orderBy,
+ requestMetadata_trafficSource_trafficSubId:
+ arg_requestMetadata_trafficSource_trafficSubId,
+ requestMetadata_userOverrides_userId:
+ arg_requestMetadata_userOverrides_userId,
+ requestMetadata_partnersSessionId:
+ arg_requestMetadata_partnersSessionId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListLeadsResponse response) {
checkListLeadsResponse(response);
@@ -3205,12 +3205,12 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.OffersResourceApi res = new api.PartnersApi(mock).offers;
- var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2058();
+ var arg_requestMetadata_experimentIds = buildUnnamed2072();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3243,10 +3243,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
- unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
+ unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
@@ -3270,10 +3270,10 @@
}), true);
res
.list(
- requestMetadata_userOverrides_userId:
- arg_requestMetadata_userOverrides_userId,
requestMetadata_partnersSessionId:
arg_requestMetadata_partnersSessionId,
+ requestMetadata_userOverrides_userId:
+ arg_requestMetadata_userOverrides_userId,
requestMetadata_trafficSource_trafficSourceId:
arg_requestMetadata_trafficSource_trafficSourceId,
requestMetadata_locale: arg_requestMetadata_locale,
@@ -3294,17 +3294,17 @@
var mock = new HttpServerMock();
api.OffersHistoryResourceApi res =
new api.PartnersApi(mock).offers.history;
- var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2059();
+ var arg_requestMetadata_experimentIds = buildUnnamed2073();
var arg_entireCompany = true;
- var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_orderBy = "foo";
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3336,18 +3336,15 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["requestMetadata.userOverrides.ipAddress"].first,
- unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
unittest.expect(queryMap["requestMetadata.experimentIds"],
unittest.equals(arg_requestMetadata_experimentIds));
unittest.expect(queryMap["entireCompany"].first,
unittest.equals("$arg_entireCompany"));
unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSubId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
@@ -3361,6 +3358,9 @@
unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(queryMap["requestMetadata.locale"].first,
unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(
+ queryMap["requestMetadata.userOverrides.ipAddress"].first,
+ unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3371,13 +3371,11 @@
}), true);
res
.list(
- requestMetadata_userOverrides_ipAddress:
- arg_requestMetadata_userOverrides_ipAddress,
requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
entireCompany: arg_entireCompany,
+ orderBy: arg_orderBy,
requestMetadata_trafficSource_trafficSubId:
arg_requestMetadata_trafficSource_trafficSubId,
- orderBy: arg_orderBy,
requestMetadata_userOverrides_userId:
arg_requestMetadata_userOverrides_userId,
requestMetadata_partnersSessionId:
@@ -3387,6 +3385,8 @@
requestMetadata_trafficSource_trafficSourceId:
arg_requestMetadata_trafficSource_trafficSourceId,
requestMetadata_locale: arg_requestMetadata_locale,
+ requestMetadata_userOverrides_ipAddress:
+ arg_requestMetadata_userOverrides_ipAddress,
$fields: arg_$fields)
.then(
unittest.expectAsync1(((api.ListOffersHistoryResponse response) {
@@ -3454,13 +3454,13 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.UserStatesResourceApi res = new api.PartnersApi(mock).userStates;
+ var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2060();
+ var arg_requestMetadata_experimentIds = buildUnnamed2074();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
- var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3492,6 +3492,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(
+ queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
+ unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(queryMap["requestMetadata.locale"].first,
unittest.equals(arg_requestMetadata_locale));
unittest.expect(
@@ -3506,9 +3509,6 @@
unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
unittest.equals(arg_requestMetadata_partnersSessionId));
- unittest.expect(
- queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
- unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3519,6 +3519,8 @@
}), true);
res
.list(
+ requestMetadata_trafficSource_trafficSourceId:
+ arg_requestMetadata_trafficSource_trafficSourceId,
requestMetadata_locale: arg_requestMetadata_locale,
requestMetadata_userOverrides_ipAddress:
arg_requestMetadata_userOverrides_ipAddress,
@@ -3529,8 +3531,6 @@
arg_requestMetadata_userOverrides_userId,
requestMetadata_partnersSessionId:
arg_requestMetadata_partnersSessionId,
- requestMetadata_trafficSource_trafficSourceId:
- arg_requestMetadata_trafficSource_trafficSourceId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListUserStatesResponse response) {
checkListUserStatesResponse(response);
@@ -3544,13 +3544,13 @@
api.UsersResourceApi res = new api.PartnersApi(mock).users;
var arg_request = buildCompanyRelation();
var arg_userId = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2061();
- var arg_requestMetadata_trafficSource_trafficSubId = "foo";
- var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed2075();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.CompanyRelation.fromJson(json);
@@ -3594,15 +3594,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.experimentIds"],
- unittest.equals(arg_requestMetadata_experimentIds));
- unittest.expect(
- queryMap["requestMetadata.trafficSource.trafficSubId"].first,
- unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
- unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
+ unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
@@ -3611,6 +3606,11 @@
unittest.expect(
queryMap["requestMetadata.userOverrides.ipAddress"].first,
unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(queryMap["requestMetadata.experimentIds"],
+ unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(
+ queryMap["requestMetadata.trafficSource.trafficSubId"].first,
+ unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3621,18 +3621,18 @@
}), true);
res
.createCompanyRelation(arg_request, arg_userId,
- requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
- requestMetadata_trafficSource_trafficSubId:
- arg_requestMetadata_trafficSource_trafficSubId,
- requestMetadata_partnersSessionId:
- arg_requestMetadata_partnersSessionId,
requestMetadata_userOverrides_userId:
arg_requestMetadata_userOverrides_userId,
+ requestMetadata_partnersSessionId:
+ arg_requestMetadata_partnersSessionId,
requestMetadata_trafficSource_trafficSourceId:
arg_requestMetadata_trafficSource_trafficSourceId,
requestMetadata_locale: arg_requestMetadata_locale,
requestMetadata_userOverrides_ipAddress:
arg_requestMetadata_userOverrides_ipAddress,
+ requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
+ requestMetadata_trafficSource_trafficSubId:
+ arg_requestMetadata_trafficSource_trafficSubId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.CompanyRelation response) {
checkCompanyRelation(response);
@@ -3643,12 +3643,12 @@
var mock = new HttpServerMock();
api.UsersResourceApi res = new api.PartnersApi(mock).users;
var arg_userId = "foo";
- var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2062();
+ var arg_requestMetadata_experimentIds = buildUnnamed2076();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3690,10 +3690,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
- unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
+ unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
@@ -3717,10 +3717,10 @@
}), true);
res
.deleteCompanyRelation(arg_userId,
- requestMetadata_userOverrides_userId:
- arg_requestMetadata_userOverrides_userId,
requestMetadata_partnersSessionId:
arg_requestMetadata_partnersSessionId,
+ requestMetadata_userOverrides_userId:
+ arg_requestMetadata_userOverrides_userId,
requestMetadata_trafficSource_trafficSourceId:
arg_requestMetadata_trafficSource_trafficSourceId,
requestMetadata_locale: arg_requestMetadata_locale,
@@ -3739,14 +3739,14 @@
var mock = new HttpServerMock();
api.UsersResourceApi res = new api.PartnersApi(mock).users;
var arg_userId = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2063();
- var arg_requestMetadata_trafficSource_trafficSubId = "foo";
- var arg_requestMetadata_userOverrides_userId = "foo";
- var arg_requestMetadata_partnersSessionId = "foo";
var arg_userView = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed2077();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3781,15 +3781,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.experimentIds"],
- unittest.equals(arg_requestMetadata_experimentIds));
- unittest.expect(
- queryMap["requestMetadata.trafficSource.trafficSubId"].first,
- unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
- unittest.equals(arg_requestMetadata_userOverrides_userId));
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
- unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(
queryMap["userView"].first, unittest.equals(arg_userView));
unittest.expect(
@@ -3800,6 +3791,15 @@
unittest.expect(
queryMap["requestMetadata.userOverrides.ipAddress"].first,
unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(queryMap["requestMetadata.experimentIds"],
+ unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(
+ queryMap["requestMetadata.trafficSource.trafficSubId"].first,
+ unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
+ unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
+ unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3810,6 +3810,12 @@
}), true);
res
.get(arg_userId,
+ userView: arg_userView,
+ requestMetadata_trafficSource_trafficSourceId:
+ arg_requestMetadata_trafficSource_trafficSourceId,
+ requestMetadata_locale: arg_requestMetadata_locale,
+ requestMetadata_userOverrides_ipAddress:
+ arg_requestMetadata_userOverrides_ipAddress,
requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
requestMetadata_trafficSource_trafficSubId:
arg_requestMetadata_trafficSource_trafficSubId,
@@ -3817,12 +3823,6 @@
arg_requestMetadata_userOverrides_userId,
requestMetadata_partnersSessionId:
arg_requestMetadata_partnersSessionId,
- userView: arg_userView,
- requestMetadata_trafficSource_trafficSourceId:
- arg_requestMetadata_trafficSource_trafficSourceId,
- requestMetadata_locale: arg_requestMetadata_locale,
- requestMetadata_userOverrides_ipAddress:
- arg_requestMetadata_userOverrides_ipAddress,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.User response) {
checkUser(response);
@@ -3836,10 +3836,10 @@
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2064();
+ var arg_requestMetadata_experimentIds = buildUnnamed2078();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
- var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.UserProfile.fromJson(json);
@@ -3887,10 +3887,10 @@
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSubId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
- unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
+ unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3909,10 +3909,10 @@
requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
requestMetadata_trafficSource_trafficSubId:
arg_requestMetadata_trafficSource_trafficSubId,
- requestMetadata_userOverrides_userId:
- arg_requestMetadata_userOverrides_userId,
requestMetadata_partnersSessionId:
arg_requestMetadata_partnersSessionId,
+ requestMetadata_userOverrides_userId:
+ arg_requestMetadata_userOverrides_userId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.UserProfile response) {
checkUserProfile(response);
@@ -3924,13 +3924,13 @@
unittest.test("method--getPartnersstatus", () {
var mock = new HttpServerMock();
api.V2ResourceApi res = new api.PartnersApi(mock).v2;
- var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2065();
- var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed2079();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3962,14 +3962,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["requestMetadata.userOverrides.ipAddress"].first,
- unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
- unittest.expect(queryMap["requestMetadata.experimentIds"],
- unittest.equals(arg_requestMetadata_experimentIds));
- unittest.expect(
- queryMap["requestMetadata.trafficSource.trafficSubId"].first,
- unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
@@ -3979,6 +3971,14 @@
unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(queryMap["requestMetadata.locale"].first,
unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(
+ queryMap["requestMetadata.userOverrides.ipAddress"].first,
+ unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(queryMap["requestMetadata.experimentIds"],
+ unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(
+ queryMap["requestMetadata.trafficSource.trafficSubId"].first,
+ unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3989,11 +3989,6 @@
}), true);
res
.getPartnersstatus(
- requestMetadata_userOverrides_ipAddress:
- arg_requestMetadata_userOverrides_ipAddress,
- requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
- requestMetadata_trafficSource_trafficSubId:
- arg_requestMetadata_trafficSource_trafficSubId,
requestMetadata_userOverrides_userId:
arg_requestMetadata_userOverrides_userId,
requestMetadata_partnersSessionId:
@@ -4001,6 +3996,11 @@
requestMetadata_trafficSource_trafficSourceId:
arg_requestMetadata_trafficSource_trafficSourceId,
requestMetadata_locale: arg_requestMetadata_locale,
+ requestMetadata_userOverrides_ipAddress:
+ arg_requestMetadata_userOverrides_ipAddress,
+ requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
+ requestMetadata_trafficSource_trafficSubId:
+ arg_requestMetadata_trafficSource_trafficSubId,
$fields: arg_$fields)
.then(
unittest.expectAsync1(((api.GetPartnersStatusResponse response) {
@@ -4012,14 +4012,14 @@
var mock = new HttpServerMock();
api.V2ResourceApi res = new api.PartnersApi(mock).v2;
var arg_request = buildCompany();
- var arg_requestMetadata_experimentIds = buildUnnamed2066();
- var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
var arg_updateMask = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed2080();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Company.fromJson(json);
@@ -4054,11 +4054,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.experimentIds"],
- unittest.equals(arg_requestMetadata_experimentIds));
- unittest.expect(
- queryMap["requestMetadata.trafficSource.trafficSubId"].first,
- unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
@@ -4073,6 +4068,11 @@
unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
unittest.expect(
queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(queryMap["requestMetadata.experimentIds"],
+ unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(
+ queryMap["requestMetadata.trafficSource.trafficSubId"].first,
+ unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4083,9 +4083,6 @@
}), true);
res
.updateCompanies(arg_request,
- requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
- requestMetadata_trafficSource_trafficSubId:
- arg_requestMetadata_trafficSource_trafficSubId,
requestMetadata_userOverrides_userId:
arg_requestMetadata_userOverrides_userId,
requestMetadata_partnersSessionId:
@@ -4096,6 +4093,9 @@
requestMetadata_userOverrides_ipAddress:
arg_requestMetadata_userOverrides_ipAddress,
updateMask: arg_updateMask,
+ requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
+ requestMetadata_trafficSource_trafficSubId:
+ arg_requestMetadata_trafficSource_trafficSubId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.Company response) {
checkCompany(response);
@@ -4106,14 +4106,14 @@
var mock = new HttpServerMock();
api.V2ResourceApi res = new api.PartnersApi(mock).v2;
var arg_request = buildLead();
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
var arg_updateMask = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2067();
+ var arg_requestMetadata_experimentIds = buildUnnamed2081();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
- var arg_requestMetadata_userOverrides_userId = "foo";
- var arg_requestMetadata_partnersSessionId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Lead.fromJson(json);
@@ -4148,6 +4148,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
+ unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
+ unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
@@ -4163,10 +4167,6 @@
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSubId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
- unittest.equals(arg_requestMetadata_userOverrides_userId));
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
- unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4177,6 +4177,10 @@
}), true);
res
.updateLeads(arg_request,
+ requestMetadata_userOverrides_userId:
+ arg_requestMetadata_userOverrides_userId,
+ requestMetadata_partnersSessionId:
+ arg_requestMetadata_partnersSessionId,
requestMetadata_trafficSource_trafficSourceId:
arg_requestMetadata_trafficSource_trafficSourceId,
requestMetadata_locale: arg_requestMetadata_locale,
@@ -4186,10 +4190,6 @@
requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
requestMetadata_trafficSource_trafficSubId:
arg_requestMetadata_trafficSource_trafficSubId,
- requestMetadata_userOverrides_userId:
- arg_requestMetadata_userOverrides_userId,
- requestMetadata_partnersSessionId:
- arg_requestMetadata_partnersSessionId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.Lead response) {
checkLead(response);
diff --git a/generated/googleapis/test/people/v1_test.dart b/generated/googleapis/test/people/v1_test.dart
index 70196eb..2b9c5e0 100644
--- a/generated/googleapis/test/people/v1_test.dart
+++ b/generated/googleapis/test/people/v1_test.dart
@@ -112,14 +112,14 @@
buildCounterAgeRangeType--;
}
-buildUnnamed1488() {
+buildUnnamed1497() {
var o = new core.List<api.ContactGroupResponse>();
o.add(buildContactGroupResponse());
o.add(buildContactGroupResponse());
return o;
}
-checkUnnamed1488(core.List<api.ContactGroupResponse> o) {
+checkUnnamed1497(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 = buildUnnamed1488();
+ o.responses = buildUnnamed1497();
}
buildCounterBatchGetContactGroupsResponse--;
return o;
@@ -139,7 +139,7 @@
checkBatchGetContactGroupsResponse(api.BatchGetContactGroupsResponse o) {
buildCounterBatchGetContactGroupsResponse++;
if (buildCounterBatchGetContactGroupsResponse < 3) {
- checkUnnamed1488(o.responses);
+ checkUnnamed1497(o.responses);
}
buildCounterBatchGetContactGroupsResponse--;
}
@@ -211,14 +211,14 @@
buildCounterBraggingRights--;
}
-buildUnnamed1489() {
+buildUnnamed1498() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1489(core.List<core.String> o) {
+checkUnnamed1498(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -233,7 +233,7 @@
o.formattedName = "foo";
o.groupType = "foo";
o.memberCount = 42;
- o.memberResourceNames = buildUnnamed1489();
+ o.memberResourceNames = buildUnnamed1498();
o.metadata = buildContactGroupMetadata();
o.name = "foo";
o.resourceName = "foo";
@@ -249,7 +249,7 @@
unittest.expect(o.formattedName, unittest.equals('foo'));
unittest.expect(o.groupType, unittest.equals('foo'));
unittest.expect(o.memberCount, unittest.equals(42));
- checkUnnamed1489(o.memberResourceNames);
+ checkUnnamed1498(o.memberResourceNames);
checkContactGroupMetadata(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.resourceName, unittest.equals('foo'));
@@ -517,14 +517,14 @@
buildCounterGender--;
}
-buildUnnamed1490() {
+buildUnnamed1499() {
var o = new core.List<api.PersonResponse>();
o.add(buildPersonResponse());
o.add(buildPersonResponse());
return o;
}
-checkUnnamed1490(core.List<api.PersonResponse> o) {
+checkUnnamed1499(core.List<api.PersonResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonResponse(o[0]);
checkPersonResponse(o[1]);
@@ -535,7 +535,7 @@
var o = new api.GetPeopleResponse();
buildCounterGetPeopleResponse++;
if (buildCounterGetPeopleResponse < 3) {
- o.responses = buildUnnamed1490();
+ o.responses = buildUnnamed1499();
}
buildCounterGetPeopleResponse--;
return o;
@@ -544,7 +544,7 @@
checkGetPeopleResponse(api.GetPeopleResponse o) {
buildCounterGetPeopleResponse++;
if (buildCounterGetPeopleResponse < 3) {
- checkUnnamed1490(o.responses);
+ checkUnnamed1499(o.responses);
}
buildCounterGetPeopleResponse--;
}
@@ -599,14 +599,14 @@
buildCounterInterest--;
}
-buildUnnamed1491() {
+buildUnnamed1500() {
var o = new core.List<api.Person>();
o.add(buildPerson());
o.add(buildPerson());
return o;
}
-checkUnnamed1491(core.List<api.Person> o) {
+checkUnnamed1500(core.List<api.Person> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerson(o[0]);
checkPerson(o[1]);
@@ -617,7 +617,7 @@
var o = new api.ListConnectionsResponse();
buildCounterListConnectionsResponse++;
if (buildCounterListConnectionsResponse < 3) {
- o.connections = buildUnnamed1491();
+ o.connections = buildUnnamed1500();
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
o.totalItems = 42;
@@ -630,7 +630,7 @@
checkListConnectionsResponse(api.ListConnectionsResponse o) {
buildCounterListConnectionsResponse++;
if (buildCounterListConnectionsResponse < 3) {
- checkUnnamed1491(o.connections);
+ checkUnnamed1500(o.connections);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -639,14 +639,14 @@
buildCounterListConnectionsResponse--;
}
-buildUnnamed1492() {
+buildUnnamed1501() {
var o = new core.List<api.ContactGroup>();
o.add(buildContactGroup());
o.add(buildContactGroup());
return o;
}
-checkUnnamed1492(core.List<api.ContactGroup> o) {
+checkUnnamed1501(core.List<api.ContactGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactGroup(o[0]);
checkContactGroup(o[1]);
@@ -657,7 +657,7 @@
var o = new api.ListContactGroupsResponse();
buildCounterListContactGroupsResponse++;
if (buildCounterListContactGroupsResponse < 3) {
- o.contactGroups = buildUnnamed1492();
+ o.contactGroups = buildUnnamed1501();
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
o.totalItems = 42;
@@ -669,7 +669,7 @@
checkListContactGroupsResponse(api.ListContactGroupsResponse o) {
buildCounterListContactGroupsResponse++;
if (buildCounterListContactGroupsResponse < 3) {
- checkUnnamed1492(o.contactGroups);
+ checkUnnamed1501(o.contactGroups);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -721,27 +721,27 @@
buildCounterMembership--;
}
-buildUnnamed1493() {
+buildUnnamed1502() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1493(core.List<core.String> 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'));
}
-buildUnnamed1494() {
+buildUnnamed1503() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1494(core.List<core.String> o) {
+checkUnnamed1503(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -752,8 +752,8 @@
var o = new api.ModifyContactGroupMembersRequest();
buildCounterModifyContactGroupMembersRequest++;
if (buildCounterModifyContactGroupMembersRequest < 3) {
- o.resourceNamesToAdd = buildUnnamed1493();
- o.resourceNamesToRemove = buildUnnamed1494();
+ o.resourceNamesToAdd = buildUnnamed1502();
+ o.resourceNamesToRemove = buildUnnamed1503();
}
buildCounterModifyContactGroupMembersRequest--;
return o;
@@ -762,20 +762,20 @@
checkModifyContactGroupMembersRequest(api.ModifyContactGroupMembersRequest o) {
buildCounterModifyContactGroupMembersRequest++;
if (buildCounterModifyContactGroupMembersRequest < 3) {
- checkUnnamed1493(o.resourceNamesToAdd);
- checkUnnamed1494(o.resourceNamesToRemove);
+ checkUnnamed1502(o.resourceNamesToAdd);
+ checkUnnamed1503(o.resourceNamesToRemove);
}
buildCounterModifyContactGroupMembersRequest--;
}
-buildUnnamed1495() {
+buildUnnamed1504() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1495(core.List<core.String> 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'));
@@ -786,7 +786,7 @@
var o = new api.ModifyContactGroupMembersResponse();
buildCounterModifyContactGroupMembersResponse++;
if (buildCounterModifyContactGroupMembersResponse < 3) {
- o.notFoundResourceNames = buildUnnamed1495();
+ o.notFoundResourceNames = buildUnnamed1504();
}
buildCounterModifyContactGroupMembersResponse--;
return o;
@@ -796,7 +796,7 @@
api.ModifyContactGroupMembersResponse o) {
buildCounterModifyContactGroupMembersResponse++;
if (buildCounterModifyContactGroupMembersResponse < 3) {
- checkUnnamed1495(o.notFoundResourceNames);
+ checkUnnamed1504(o.notFoundResourceNames);
}
buildCounterModifyContactGroupMembersResponse--;
}
@@ -935,352 +935,352 @@
buildCounterOrganization--;
}
-buildUnnamed1496() {
+buildUnnamed1505() {
var o = new core.List<api.Address>();
o.add(buildAddress());
o.add(buildAddress());
return o;
}
-checkUnnamed1496(core.List<api.Address> o) {
+checkUnnamed1505(core.List<api.Address> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddress(o[0]);
checkAddress(o[1]);
}
-buildUnnamed1497() {
+buildUnnamed1506() {
var o = new core.List<api.AgeRangeType>();
o.add(buildAgeRangeType());
o.add(buildAgeRangeType());
return o;
}
-checkUnnamed1497(core.List<api.AgeRangeType> o) {
+checkUnnamed1506(core.List<api.AgeRangeType> o) {
unittest.expect(o, unittest.hasLength(2));
checkAgeRangeType(o[0]);
checkAgeRangeType(o[1]);
}
-buildUnnamed1498() {
+buildUnnamed1507() {
var o = new core.List<api.Biography>();
o.add(buildBiography());
o.add(buildBiography());
return o;
}
-checkUnnamed1498(core.List<api.Biography> o) {
+checkUnnamed1507(core.List<api.Biography> o) {
unittest.expect(o, unittest.hasLength(2));
checkBiography(o[0]);
checkBiography(o[1]);
}
-buildUnnamed1499() {
+buildUnnamed1508() {
var o = new core.List<api.Birthday>();
o.add(buildBirthday());
o.add(buildBirthday());
return o;
}
-checkUnnamed1499(core.List<api.Birthday> o) {
+checkUnnamed1508(core.List<api.Birthday> o) {
unittest.expect(o, unittest.hasLength(2));
checkBirthday(o[0]);
checkBirthday(o[1]);
}
-buildUnnamed1500() {
+buildUnnamed1509() {
var o = new core.List<api.BraggingRights>();
o.add(buildBraggingRights());
o.add(buildBraggingRights());
return o;
}
-checkUnnamed1500(core.List<api.BraggingRights> o) {
+checkUnnamed1509(core.List<api.BraggingRights> o) {
unittest.expect(o, unittest.hasLength(2));
checkBraggingRights(o[0]);
checkBraggingRights(o[1]);
}
-buildUnnamed1501() {
+buildUnnamed1510() {
var o = new core.List<api.CoverPhoto>();
o.add(buildCoverPhoto());
o.add(buildCoverPhoto());
return o;
}
-checkUnnamed1501(core.List<api.CoverPhoto> o) {
+checkUnnamed1510(core.List<api.CoverPhoto> o) {
unittest.expect(o, unittest.hasLength(2));
checkCoverPhoto(o[0]);
checkCoverPhoto(o[1]);
}
-buildUnnamed1502() {
+buildUnnamed1511() {
var o = new core.List<api.EmailAddress>();
o.add(buildEmailAddress());
o.add(buildEmailAddress());
return o;
}
-checkUnnamed1502(core.List<api.EmailAddress> o) {
+checkUnnamed1511(core.List<api.EmailAddress> o) {
unittest.expect(o, unittest.hasLength(2));
checkEmailAddress(o[0]);
checkEmailAddress(o[1]);
}
-buildUnnamed1503() {
+buildUnnamed1512() {
var o = new core.List<api.Event>();
o.add(buildEvent());
o.add(buildEvent());
return o;
}
-checkUnnamed1503(core.List<api.Event> o) {
+checkUnnamed1512(core.List<api.Event> o) {
unittest.expect(o, unittest.hasLength(2));
checkEvent(o[0]);
checkEvent(o[1]);
}
-buildUnnamed1504() {
+buildUnnamed1513() {
var o = new core.List<api.Gender>();
o.add(buildGender());
o.add(buildGender());
return o;
}
-checkUnnamed1504(core.List<api.Gender> o) {
+checkUnnamed1513(core.List<api.Gender> o) {
unittest.expect(o, unittest.hasLength(2));
checkGender(o[0]);
checkGender(o[1]);
}
-buildUnnamed1505() {
+buildUnnamed1514() {
var o = new core.List<api.ImClient>();
o.add(buildImClient());
o.add(buildImClient());
return o;
}
-checkUnnamed1505(core.List<api.ImClient> o) {
+checkUnnamed1514(core.List<api.ImClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkImClient(o[0]);
checkImClient(o[1]);
}
-buildUnnamed1506() {
+buildUnnamed1515() {
var o = new core.List<api.Interest>();
o.add(buildInterest());
o.add(buildInterest());
return o;
}
-checkUnnamed1506(core.List<api.Interest> o) {
+checkUnnamed1515(core.List<api.Interest> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterest(o[0]);
checkInterest(o[1]);
}
-buildUnnamed1507() {
+buildUnnamed1516() {
var o = new core.List<api.Locale>();
o.add(buildLocale());
o.add(buildLocale());
return o;
}
-checkUnnamed1507(core.List<api.Locale> o) {
+checkUnnamed1516(core.List<api.Locale> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocale(o[0]);
checkLocale(o[1]);
}
-buildUnnamed1508() {
+buildUnnamed1517() {
var o = new core.List<api.Membership>();
o.add(buildMembership());
o.add(buildMembership());
return o;
}
-checkUnnamed1508(core.List<api.Membership> o) {
+checkUnnamed1517(core.List<api.Membership> o) {
unittest.expect(o, unittest.hasLength(2));
checkMembership(o[0]);
checkMembership(o[1]);
}
-buildUnnamed1509() {
+buildUnnamed1518() {
var o = new core.List<api.Name>();
o.add(buildName());
o.add(buildName());
return o;
}
-checkUnnamed1509(core.List<api.Name> o) {
+checkUnnamed1518(core.List<api.Name> o) {
unittest.expect(o, unittest.hasLength(2));
checkName(o[0]);
checkName(o[1]);
}
-buildUnnamed1510() {
+buildUnnamed1519() {
var o = new core.List<api.Nickname>();
o.add(buildNickname());
o.add(buildNickname());
return o;
}
-checkUnnamed1510(core.List<api.Nickname> o) {
+checkUnnamed1519(core.List<api.Nickname> o) {
unittest.expect(o, unittest.hasLength(2));
checkNickname(o[0]);
checkNickname(o[1]);
}
-buildUnnamed1511() {
+buildUnnamed1520() {
var o = new core.List<api.Occupation>();
o.add(buildOccupation());
o.add(buildOccupation());
return o;
}
-checkUnnamed1511(core.List<api.Occupation> o) {
+checkUnnamed1520(core.List<api.Occupation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOccupation(o[0]);
checkOccupation(o[1]);
}
-buildUnnamed1512() {
+buildUnnamed1521() {
var o = new core.List<api.Organization>();
o.add(buildOrganization());
o.add(buildOrganization());
return o;
}
-checkUnnamed1512(core.List<api.Organization> o) {
+checkUnnamed1521(core.List<api.Organization> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrganization(o[0]);
checkOrganization(o[1]);
}
-buildUnnamed1513() {
+buildUnnamed1522() {
var o = new core.List<api.PhoneNumber>();
o.add(buildPhoneNumber());
o.add(buildPhoneNumber());
return o;
}
-checkUnnamed1513(core.List<api.PhoneNumber> o) {
+checkUnnamed1522(core.List<api.PhoneNumber> o) {
unittest.expect(o, unittest.hasLength(2));
checkPhoneNumber(o[0]);
checkPhoneNumber(o[1]);
}
-buildUnnamed1514() {
+buildUnnamed1523() {
var o = new core.List<api.Photo>();
o.add(buildPhoto());
o.add(buildPhoto());
return o;
}
-checkUnnamed1514(core.List<api.Photo> o) {
+checkUnnamed1523(core.List<api.Photo> o) {
unittest.expect(o, unittest.hasLength(2));
checkPhoto(o[0]);
checkPhoto(o[1]);
}
-buildUnnamed1515() {
+buildUnnamed1524() {
var o = new core.List<api.Relation>();
o.add(buildRelation());
o.add(buildRelation());
return o;
}
-checkUnnamed1515(core.List<api.Relation> o) {
+checkUnnamed1524(core.List<api.Relation> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelation(o[0]);
checkRelation(o[1]);
}
-buildUnnamed1516() {
+buildUnnamed1525() {
var o = new core.List<api.RelationshipInterest>();
o.add(buildRelationshipInterest());
o.add(buildRelationshipInterest());
return o;
}
-checkUnnamed1516(core.List<api.RelationshipInterest> o) {
+checkUnnamed1525(core.List<api.RelationshipInterest> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelationshipInterest(o[0]);
checkRelationshipInterest(o[1]);
}
-buildUnnamed1517() {
+buildUnnamed1526() {
var o = new core.List<api.RelationshipStatus>();
o.add(buildRelationshipStatus());
o.add(buildRelationshipStatus());
return o;
}
-checkUnnamed1517(core.List<api.RelationshipStatus> o) {
+checkUnnamed1526(core.List<api.RelationshipStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelationshipStatus(o[0]);
checkRelationshipStatus(o[1]);
}
-buildUnnamed1518() {
+buildUnnamed1527() {
var o = new core.List<api.Residence>();
o.add(buildResidence());
o.add(buildResidence());
return o;
}
-checkUnnamed1518(core.List<api.Residence> o) {
+checkUnnamed1527(core.List<api.Residence> o) {
unittest.expect(o, unittest.hasLength(2));
checkResidence(o[0]);
checkResidence(o[1]);
}
-buildUnnamed1519() {
+buildUnnamed1528() {
var o = new core.List<api.Skill>();
o.add(buildSkill());
o.add(buildSkill());
return o;
}
-checkUnnamed1519(core.List<api.Skill> o) {
+checkUnnamed1528(core.List<api.Skill> o) {
unittest.expect(o, unittest.hasLength(2));
checkSkill(o[0]);
checkSkill(o[1]);
}
-buildUnnamed1520() {
+buildUnnamed1529() {
var o = new core.List<api.Tagline>();
o.add(buildTagline());
o.add(buildTagline());
return o;
}
-checkUnnamed1520(core.List<api.Tagline> o) {
+checkUnnamed1529(core.List<api.Tagline> o) {
unittest.expect(o, unittest.hasLength(2));
checkTagline(o[0]);
checkTagline(o[1]);
}
-buildUnnamed1521() {
+buildUnnamed1530() {
var o = new core.List<api.Url>();
o.add(buildUrl());
o.add(buildUrl());
return o;
}
-checkUnnamed1521(core.List<api.Url> o) {
+checkUnnamed1530(core.List<api.Url> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrl(o[0]);
checkUrl(o[1]);
}
-buildUnnamed1522() {
+buildUnnamed1531() {
var o = new core.List<api.UserDefined>();
o.add(buildUserDefined());
o.add(buildUserDefined());
return o;
}
-checkUnnamed1522(core.List<api.UserDefined> o) {
+checkUnnamed1531(core.List<api.UserDefined> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefined(o[0]);
checkUserDefined(o[1]);
@@ -1291,37 +1291,37 @@
var o = new api.Person();
buildCounterPerson++;
if (buildCounterPerson < 3) {
- o.addresses = buildUnnamed1496();
+ o.addresses = buildUnnamed1505();
o.ageRange = "foo";
- o.ageRanges = buildUnnamed1497();
- o.biographies = buildUnnamed1498();
- o.birthdays = buildUnnamed1499();
- o.braggingRights = buildUnnamed1500();
- o.coverPhotos = buildUnnamed1501();
- o.emailAddresses = buildUnnamed1502();
+ o.ageRanges = buildUnnamed1506();
+ o.biographies = buildUnnamed1507();
+ o.birthdays = buildUnnamed1508();
+ o.braggingRights = buildUnnamed1509();
+ o.coverPhotos = buildUnnamed1510();
+ o.emailAddresses = buildUnnamed1511();
o.etag = "foo";
- o.events = buildUnnamed1503();
- o.genders = buildUnnamed1504();
- o.imClients = buildUnnamed1505();
- o.interests = buildUnnamed1506();
- o.locales = buildUnnamed1507();
- o.memberships = buildUnnamed1508();
+ o.events = buildUnnamed1512();
+ o.genders = buildUnnamed1513();
+ o.imClients = buildUnnamed1514();
+ o.interests = buildUnnamed1515();
+ o.locales = buildUnnamed1516();
+ o.memberships = buildUnnamed1517();
o.metadata = buildPersonMetadata();
- o.names = buildUnnamed1509();
- o.nicknames = buildUnnamed1510();
- o.occupations = buildUnnamed1511();
- o.organizations = buildUnnamed1512();
- o.phoneNumbers = buildUnnamed1513();
- o.photos = buildUnnamed1514();
- o.relations = buildUnnamed1515();
- o.relationshipInterests = buildUnnamed1516();
- o.relationshipStatuses = buildUnnamed1517();
- o.residences = buildUnnamed1518();
+ o.names = buildUnnamed1518();
+ o.nicknames = buildUnnamed1519();
+ o.occupations = buildUnnamed1520();
+ o.organizations = buildUnnamed1521();
+ o.phoneNumbers = buildUnnamed1522();
+ o.photos = buildUnnamed1523();
+ o.relations = buildUnnamed1524();
+ o.relationshipInterests = buildUnnamed1525();
+ o.relationshipStatuses = buildUnnamed1526();
+ o.residences = buildUnnamed1527();
o.resourceName = "foo";
- o.skills = buildUnnamed1519();
- o.taglines = buildUnnamed1520();
- o.urls = buildUnnamed1521();
- o.userDefined = buildUnnamed1522();
+ o.skills = buildUnnamed1528();
+ o.taglines = buildUnnamed1529();
+ o.urls = buildUnnamed1530();
+ o.userDefined = buildUnnamed1531();
}
buildCounterPerson--;
return o;
@@ -1330,75 +1330,75 @@
checkPerson(api.Person o) {
buildCounterPerson++;
if (buildCounterPerson < 3) {
- checkUnnamed1496(o.addresses);
+ checkUnnamed1505(o.addresses);
unittest.expect(o.ageRange, unittest.equals('foo'));
- checkUnnamed1497(o.ageRanges);
- checkUnnamed1498(o.biographies);
- checkUnnamed1499(o.birthdays);
- checkUnnamed1500(o.braggingRights);
- checkUnnamed1501(o.coverPhotos);
- checkUnnamed1502(o.emailAddresses);
+ checkUnnamed1506(o.ageRanges);
+ checkUnnamed1507(o.biographies);
+ checkUnnamed1508(o.birthdays);
+ checkUnnamed1509(o.braggingRights);
+ checkUnnamed1510(o.coverPhotos);
+ checkUnnamed1511(o.emailAddresses);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1503(o.events);
- checkUnnamed1504(o.genders);
- checkUnnamed1505(o.imClients);
- checkUnnamed1506(o.interests);
- checkUnnamed1507(o.locales);
- checkUnnamed1508(o.memberships);
+ checkUnnamed1512(o.events);
+ checkUnnamed1513(o.genders);
+ checkUnnamed1514(o.imClients);
+ checkUnnamed1515(o.interests);
+ checkUnnamed1516(o.locales);
+ checkUnnamed1517(o.memberships);
checkPersonMetadata(o.metadata);
- checkUnnamed1509(o.names);
- checkUnnamed1510(o.nicknames);
- checkUnnamed1511(o.occupations);
- checkUnnamed1512(o.organizations);
- checkUnnamed1513(o.phoneNumbers);
- checkUnnamed1514(o.photos);
- checkUnnamed1515(o.relations);
- checkUnnamed1516(o.relationshipInterests);
- checkUnnamed1517(o.relationshipStatuses);
- checkUnnamed1518(o.residences);
+ checkUnnamed1518(o.names);
+ checkUnnamed1519(o.nicknames);
+ checkUnnamed1520(o.occupations);
+ checkUnnamed1521(o.organizations);
+ checkUnnamed1522(o.phoneNumbers);
+ checkUnnamed1523(o.photos);
+ checkUnnamed1524(o.relations);
+ checkUnnamed1525(o.relationshipInterests);
+ checkUnnamed1526(o.relationshipStatuses);
+ checkUnnamed1527(o.residences);
unittest.expect(o.resourceName, unittest.equals('foo'));
- checkUnnamed1519(o.skills);
- checkUnnamed1520(o.taglines);
- checkUnnamed1521(o.urls);
- checkUnnamed1522(o.userDefined);
+ checkUnnamed1528(o.skills);
+ checkUnnamed1529(o.taglines);
+ checkUnnamed1530(o.urls);
+ checkUnnamed1531(o.userDefined);
}
buildCounterPerson--;
}
-buildUnnamed1523() {
+buildUnnamed1532() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1523(core.List<core.String> o) {
+checkUnnamed1532(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1524() {
+buildUnnamed1533() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1524(core.List<core.String> o) {
+checkUnnamed1533(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1525() {
+buildUnnamed1534() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed1525(core.List<api.Source> o) {
+checkUnnamed1534(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -1410,10 +1410,10 @@
buildCounterPersonMetadata++;
if (buildCounterPersonMetadata < 3) {
o.deleted = true;
- o.linkedPeopleResourceNames = buildUnnamed1523();
+ o.linkedPeopleResourceNames = buildUnnamed1532();
o.objectType = "foo";
- o.previousResourceNames = buildUnnamed1524();
- o.sources = buildUnnamed1525();
+ o.previousResourceNames = buildUnnamed1533();
+ o.sources = buildUnnamed1534();
}
buildCounterPersonMetadata--;
return o;
@@ -1423,10 +1423,10 @@
buildCounterPersonMetadata++;
if (buildCounterPersonMetadata < 3) {
unittest.expect(o.deleted, unittest.isTrue);
- checkUnnamed1523(o.linkedPeopleResourceNames);
+ checkUnnamed1532(o.linkedPeopleResourceNames);
unittest.expect(o.objectType, unittest.equals('foo'));
- checkUnnamed1524(o.previousResourceNames);
- checkUnnamed1525(o.sources);
+ checkUnnamed1533(o.previousResourceNames);
+ checkUnnamed1534(o.sources);
}
buildCounterPersonMetadata--;
}
@@ -1506,14 +1506,14 @@
buildCounterPhoto--;
}
-buildUnnamed1526() {
+buildUnnamed1535() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1526(core.List<core.String> o) {
+checkUnnamed1535(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1525,7 +1525,7 @@
buildCounterProfileMetadata++;
if (buildCounterProfileMetadata < 3) {
o.objectType = "foo";
- o.userTypes = buildUnnamed1526();
+ o.userTypes = buildUnnamed1535();
}
buildCounterProfileMetadata--;
return o;
@@ -1535,7 +1535,7 @@
buildCounterProfileMetadata++;
if (buildCounterProfileMetadata < 3) {
unittest.expect(o.objectType, unittest.equals('foo'));
- checkUnnamed1526(o.userTypes);
+ checkUnnamed1535(o.userTypes);
}
buildCounterProfileMetadata--;
}
@@ -1682,7 +1682,7 @@
buildCounterSource--;
}
-buildUnnamed1527() {
+buildUnnamed1536() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1697,7 +1697,7 @@
return o;
}
-checkUnnamed1527(core.Map<core.String, core.Object> o) {
+checkUnnamed1536(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));
@@ -1711,17 +1711,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1528() {
+buildUnnamed1537() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1527());
- o.add(buildUnnamed1527());
+ o.add(buildUnnamed1536());
+ o.add(buildUnnamed1536());
return o;
}
-checkUnnamed1528(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1537(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1527(o[0]);
- checkUnnamed1527(o[1]);
+ checkUnnamed1536(o[0]);
+ checkUnnamed1536(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1730,7 +1730,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1528();
+ o.details = buildUnnamed1537();
o.message = "foo";
}
buildCounterStatus--;
@@ -1741,7 +1741,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1528(o.details);
+ checkUnnamed1537(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1835,27 +1835,27 @@
buildCounterUserDefined--;
}
-buildUnnamed1529() {
+buildUnnamed1538() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1529(core.List<core.String> o) {
+checkUnnamed1538(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1530() {
+buildUnnamed1539() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1530(core.List<core.String> o) {
+checkUnnamed1539(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2259,7 +2259,7 @@
var mock = new HttpServerMock();
api.ContactGroupsResourceApi res = new api.PeopleApi(mock).contactGroups;
var arg_maxMembers = 42;
- var arg_resourceNames = buildUnnamed1529();
+ var arg_resourceNames = buildUnnamed1538();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2825,9 +2825,9 @@
unittest.test("method--getBatchGet", () {
var mock = new HttpServerMock();
api.PeopleResourceApi res = new api.PeopleApi(mock).people;
- var arg_personFields = "foo";
var arg_requestMask_includeField = "foo";
- var arg_resourceNames = buildUnnamed1530();
+ var arg_resourceNames = buildUnnamed1539();
+ var arg_personFields = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2859,12 +2859,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["personFields"].first, unittest.equals(arg_personFields));
unittest.expect(queryMap["requestMask.includeField"].first,
unittest.equals(arg_requestMask_includeField));
unittest.expect(
queryMap["resourceNames"], unittest.equals(arg_resourceNames));
+ unittest.expect(
+ queryMap["personFields"].first, unittest.equals(arg_personFields));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2875,9 +2875,9 @@
}), true);
res
.getBatchGet(
- personFields: arg_personFields,
requestMask_includeField: arg_requestMask_includeField,
resourceNames: arg_resourceNames,
+ personFields: arg_personFields,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.GetPeopleResponse response) {
checkGetPeopleResponse(response);
@@ -2950,13 +2950,13 @@
api.PeopleConnectionsResourceApi res =
new api.PeopleApi(mock).people.connections;
var arg_resourceName = "foo";
- var arg_personFields = "foo";
var arg_sortOrder = "foo";
var arg_requestSyncToken = true;
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_requestMask_includeField = "foo";
var arg_syncToken = "foo";
+ var arg_personFields = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2990,8 +2990,6 @@
}
}
unittest.expect(
- queryMap["personFields"].first, unittest.equals(arg_personFields));
- unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["requestSyncToken"].first,
unittest.equals("$arg_requestSyncToken"));
@@ -3003,6 +3001,8 @@
unittest.equals(arg_requestMask_includeField));
unittest.expect(
queryMap["syncToken"].first, unittest.equals(arg_syncToken));
+ unittest.expect(
+ queryMap["personFields"].first, unittest.equals(arg_personFields));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3013,13 +3013,13 @@
}), true);
res
.list(arg_resourceName,
- personFields: arg_personFields,
sortOrder: arg_sortOrder,
requestSyncToken: arg_requestSyncToken,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
requestMask_includeField: arg_requestMask_includeField,
syncToken: arg_syncToken,
+ personFields: arg_personFields,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListConnectionsResponse response) {
checkListConnectionsResponse(response);
diff --git a/generated/googleapis/test/plusdomains/v1_test.dart b/generated/googleapis/test/plusdomains/v1_test.dart
index 98898ac..546d53e 100644
--- a/generated/googleapis/test/plusdomains/v1_test.dart
+++ b/generated/googleapis/test/plusdomains/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1100() {
+buildUnnamed1107() {
var o = new core.List<api.PlusDomainsAclentryResource>();
o.add(buildPlusDomainsAclentryResource());
o.add(buildPlusDomainsAclentryResource());
return o;
}
-checkUnnamed1100(core.List<api.PlusDomainsAclentryResource> o) {
+checkUnnamed1107(core.List<api.PlusDomainsAclentryResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlusDomainsAclentryResource(o[0]);
checkPlusDomainsAclentryResource(o[1]);
@@ -70,7 +70,7 @@
if (buildCounterAcl < 3) {
o.description = "foo";
o.domainRestricted = true;
- o.items = buildUnnamed1100();
+ o.items = buildUnnamed1107();
o.kind = "foo";
}
buildCounterAcl--;
@@ -82,7 +82,7 @@
if (buildCounterAcl < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.domainRestricted, unittest.isTrue);
- checkUnnamed1100(o.items);
+ checkUnnamed1107(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAcl--;
@@ -425,14 +425,14 @@
buildCounterActivityObjectAttachmentsPreviewThumbnails--;
}
-buildUnnamed1101() {
+buildUnnamed1108() {
var o = new core.List<api.ActivityObjectAttachmentsPreviewThumbnails>();
o.add(buildActivityObjectAttachmentsPreviewThumbnails());
o.add(buildActivityObjectAttachmentsPreviewThumbnails());
return o;
}
-checkUnnamed1101(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) {
+checkUnnamed1108(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachmentsPreviewThumbnails(o[0]);
checkActivityObjectAttachmentsPreviewThumbnails(o[1]);
@@ -488,14 +488,14 @@
buildCounterActivityObjectAttachmentsThumbnails--;
}
-buildUnnamed1102() {
+buildUnnamed1109() {
var o = new core.List<api.ActivityObjectAttachmentsThumbnails>();
o.add(buildActivityObjectAttachmentsThumbnails());
o.add(buildActivityObjectAttachmentsThumbnails());
return o;
}
-checkUnnamed1102(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
+checkUnnamed1109(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachmentsThumbnails(o[0]);
checkActivityObjectAttachmentsThumbnails(o[1]);
@@ -513,8 +513,8 @@
o.id = "foo";
o.image = buildActivityObjectAttachmentsImage();
o.objectType = "foo";
- o.previewThumbnails = buildUnnamed1101();
- o.thumbnails = buildUnnamed1102();
+ o.previewThumbnails = buildUnnamed1108();
+ o.thumbnails = buildUnnamed1109();
o.url = "foo";
}
buildCounterActivityObjectAttachments--;
@@ -531,21 +531,21 @@
unittest.expect(o.id, unittest.equals('foo'));
checkActivityObjectAttachmentsImage(o.image);
unittest.expect(o.objectType, unittest.equals('foo'));
- checkUnnamed1101(o.previewThumbnails);
- checkUnnamed1102(o.thumbnails);
+ checkUnnamed1108(o.previewThumbnails);
+ checkUnnamed1109(o.thumbnails);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterActivityObjectAttachments--;
}
-buildUnnamed1103() {
+buildUnnamed1110() {
var o = new core.List<api.ActivityObjectAttachments>();
o.add(buildActivityObjectAttachments());
o.add(buildActivityObjectAttachments());
return o;
}
-checkUnnamed1103(core.List<api.ActivityObjectAttachments> o) {
+checkUnnamed1110(core.List<api.ActivityObjectAttachments> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachments(o[0]);
checkActivityObjectAttachments(o[1]);
@@ -647,7 +647,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
o.actor = buildActivityObjectActor();
- o.attachments = buildUnnamed1103();
+ o.attachments = buildUnnamed1110();
o.content = "foo";
o.id = "foo";
o.objectType = "foo";
@@ -666,7 +666,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
checkActivityObjectActor(o.actor);
- checkUnnamed1103(o.attachments);
+ checkUnnamed1110(o.attachments);
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
@@ -758,14 +758,14 @@
buildCounterActivity--;
}
-buildUnnamed1104() {
+buildUnnamed1111() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed1104(core.List<api.Activity> o) {
+checkUnnamed1111(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -778,7 +778,7 @@
if (buildCounterActivityFeed < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed1104();
+ o.items = buildUnnamed1111();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -795,7 +795,7 @@
if (buildCounterActivityFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1104(o.items);
+ checkUnnamed1111(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -834,14 +834,14 @@
buildCounterAudience--;
}
-buildUnnamed1105() {
+buildUnnamed1112() {
var o = new core.List<api.Audience>();
o.add(buildAudience());
o.add(buildAudience());
return o;
}
-checkUnnamed1105(core.List<api.Audience> o) {
+checkUnnamed1112(core.List<api.Audience> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudience(o[0]);
checkAudience(o[1]);
@@ -853,7 +853,7 @@
buildCounterAudiencesFeed++;
if (buildCounterAudiencesFeed < 3) {
o.etag = "foo";
- o.items = buildUnnamed1105();
+ o.items = buildUnnamed1112();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -866,7 +866,7 @@
buildCounterAudiencesFeed++;
if (buildCounterAudiencesFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1105(o.items);
+ checkUnnamed1112(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -924,14 +924,14 @@
buildCounterCircle--;
}
-buildUnnamed1106() {
+buildUnnamed1113() {
var o = new core.List<api.Circle>();
o.add(buildCircle());
o.add(buildCircle());
return o;
}
-checkUnnamed1106(core.List<api.Circle> o) {
+checkUnnamed1113(core.List<api.Circle> o) {
unittest.expect(o, unittest.hasLength(2));
checkCircle(o[0]);
checkCircle(o[1]);
@@ -943,7 +943,7 @@
buildCounterCircleFeed++;
if (buildCounterCircleFeed < 3) {
o.etag = "foo";
- o.items = buildUnnamed1106();
+ o.items = buildUnnamed1113();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -959,7 +959,7 @@
buildCounterCircleFeed++;
if (buildCounterCircleFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1106(o.items);
+ checkUnnamed1113(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1100,14 +1100,14 @@
buildCounterCommentInReplyTo--;
}
-buildUnnamed1107() {
+buildUnnamed1114() {
var o = new core.List<api.CommentInReplyTo>();
o.add(buildCommentInReplyTo());
o.add(buildCommentInReplyTo());
return o;
}
-checkUnnamed1107(core.List<api.CommentInReplyTo> o) {
+checkUnnamed1114(core.List<api.CommentInReplyTo> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentInReplyTo(o[0]);
checkCommentInReplyTo(o[1]);
@@ -1163,7 +1163,7 @@
o.actor = buildCommentActor();
o.etag = "foo";
o.id = "foo";
- o.inReplyTo = buildUnnamed1107();
+ o.inReplyTo = buildUnnamed1114();
o.kind = "foo";
o.object = buildCommentObject();
o.plusoners = buildCommentPlusoners();
@@ -1182,7 +1182,7 @@
checkCommentActor(o.actor);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1107(o.inReplyTo);
+ checkUnnamed1114(o.inReplyTo);
unittest.expect(o.kind, unittest.equals('foo'));
checkCommentObject(o.object);
checkCommentPlusoners(o.plusoners);
@@ -1196,14 +1196,14 @@
buildCounterComment--;
}
-buildUnnamed1108() {
+buildUnnamed1115() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed1108(core.List<api.Comment> o) {
+checkUnnamed1115(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1216,7 +1216,7 @@
if (buildCounterCommentFeed < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed1108();
+ o.items = buildUnnamed1115();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1232,7 +1232,7 @@
if (buildCounterCommentFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1108(o.items);
+ checkUnnamed1115(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1307,14 +1307,14 @@
buildCounterMediaExif--;
}
-buildUnnamed1109() {
+buildUnnamed1116() {
var o = new core.List<api.Videostream>();
o.add(buildVideostream());
o.add(buildVideostream());
return o;
}
-checkUnnamed1109(core.List<api.Videostream> o) {
+checkUnnamed1116(core.List<api.Videostream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideostream(o[0]);
checkVideostream(o[1]);
@@ -1336,7 +1336,7 @@
o.mediaUrl = "foo";
o.published = core.DateTime.parse("2002-02-27T14:01:02");
o.sizeBytes = "foo";
- o.streams = buildUnnamed1109();
+ o.streams = buildUnnamed1116();
o.summary = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
o.url = "foo";
@@ -1364,7 +1364,7 @@
unittest.expect(o.published,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.sizeBytes, unittest.equals('foo'));
- checkUnnamed1109(o.streams);
+ checkUnnamed1116(o.streams);
unittest.expect(o.summary, unittest.equals('foo'));
unittest.expect(
o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -1376,14 +1376,14 @@
buildCounterMedia--;
}
-buildUnnamed1110() {
+buildUnnamed1117() {
var o = new core.List<api.Person>();
o.add(buildPerson());
o.add(buildPerson());
return o;
}
-checkUnnamed1110(core.List<api.Person> o) {
+checkUnnamed1117(core.List<api.Person> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerson(o[0]);
checkPerson(o[1]);
@@ -1395,7 +1395,7 @@
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
o.etag = "foo";
- o.items = buildUnnamed1110();
+ o.items = buildUnnamed1117();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1410,7 +1410,7 @@
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1110(o.items);
+ checkUnnamed1117(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1508,14 +1508,14 @@
buildCounterPersonEmails--;
}
-buildUnnamed1111() {
+buildUnnamed1118() {
var o = new core.List<api.PersonEmails>();
o.add(buildPersonEmails());
o.add(buildPersonEmails());
return o;
}
-checkUnnamed1111(core.List<api.PersonEmails> o) {
+checkUnnamed1118(core.List<api.PersonEmails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonEmails(o[0]);
checkPersonEmails(o[1]);
@@ -1606,14 +1606,14 @@
buildCounterPersonOrganizations--;
}
-buildUnnamed1112() {
+buildUnnamed1119() {
var o = new core.List<api.PersonOrganizations>();
o.add(buildPersonOrganizations());
o.add(buildPersonOrganizations());
return o;
}
-checkUnnamed1112(core.List<api.PersonOrganizations> o) {
+checkUnnamed1119(core.List<api.PersonOrganizations> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonOrganizations(o[0]);
checkPersonOrganizations(o[1]);
@@ -1640,14 +1640,14 @@
buildCounterPersonPlacesLived--;
}
-buildUnnamed1113() {
+buildUnnamed1120() {
var o = new core.List<api.PersonPlacesLived>();
o.add(buildPersonPlacesLived());
o.add(buildPersonPlacesLived());
return o;
}
-checkUnnamed1113(core.List<api.PersonPlacesLived> o) {
+checkUnnamed1120(core.List<api.PersonPlacesLived> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonPlacesLived(o[0]);
checkPersonPlacesLived(o[1]);
@@ -1676,14 +1676,14 @@
buildCounterPersonUrls--;
}
-buildUnnamed1114() {
+buildUnnamed1121() {
var o = new core.List<api.PersonUrls>();
o.add(buildPersonUrls());
o.add(buildPersonUrls());
return o;
}
-checkUnnamed1114(core.List<api.PersonUrls> o) {
+checkUnnamed1121(core.List<api.PersonUrls> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonUrls(o[0]);
checkPersonUrls(o[1]);
@@ -1702,7 +1702,7 @@
o.currentLocation = "foo";
o.displayName = "foo";
o.domain = "foo";
- o.emails = buildUnnamed1111();
+ o.emails = buildUnnamed1118();
o.etag = "foo";
o.gender = "foo";
o.id = "foo";
@@ -1713,14 +1713,14 @@
o.nickname = "foo";
o.objectType = "foo";
o.occupation = "foo";
- o.organizations = buildUnnamed1112();
- o.placesLived = buildUnnamed1113();
+ o.organizations = buildUnnamed1119();
+ o.placesLived = buildUnnamed1120();
o.plusOneCount = 42;
o.relationshipStatus = "foo";
o.skills = "foo";
o.tagline = "foo";
o.url = "foo";
- o.urls = buildUnnamed1114();
+ o.urls = buildUnnamed1121();
o.verified = true;
}
buildCounterPerson--;
@@ -1738,7 +1738,7 @@
unittest.expect(o.currentLocation, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.domain, unittest.equals('foo'));
- checkUnnamed1111(o.emails);
+ checkUnnamed1118(o.emails);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -1749,14 +1749,14 @@
unittest.expect(o.nickname, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
unittest.expect(o.occupation, unittest.equals('foo'));
- checkUnnamed1112(o.organizations);
- checkUnnamed1113(o.placesLived);
+ checkUnnamed1119(o.organizations);
+ checkUnnamed1120(o.placesLived);
unittest.expect(o.plusOneCount, unittest.equals(42));
unittest.expect(o.relationshipStatus, unittest.equals('foo'));
unittest.expect(o.skills, unittest.equals('foo'));
unittest.expect(o.tagline, unittest.equals('foo'));
unittest.expect(o.url, unittest.equals('foo'));
- checkUnnamed1114(o.urls);
+ checkUnnamed1121(o.urls);
unittest.expect(o.verified, unittest.isTrue);
}
buildCounterPerson--;
@@ -1877,53 +1877,53 @@
buildCounterVideostream--;
}
-buildUnnamed1115() {
+buildUnnamed1122() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1115(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'));
}
-buildUnnamed1116() {
+buildUnnamed1123() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1116(core.List<core.String> 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'));
}
-buildUnnamed1117() {
+buildUnnamed1124() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1117(core.List<core.String> o) {
+checkUnnamed1124(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1118() {
+buildUnnamed1125() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1118(core.List<core.String> 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'));
@@ -2721,8 +2721,8 @@
var mock = new HttpServerMock();
api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles;
var arg_circleId = "foo";
- var arg_email = buildUnnamed1115();
- var arg_userId = buildUnnamed1116();
+ var arg_email = buildUnnamed1122();
+ var arg_userId = buildUnnamed1123();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3095,8 +3095,8 @@
var mock = new HttpServerMock();
api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles;
var arg_circleId = "foo";
- var arg_email = buildUnnamed1117();
- var arg_userId = buildUnnamed1118();
+ var arg_email = buildUnnamed1124();
+ var arg_userId = buildUnnamed1125();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/poly/v1_test.dart b/generated/googleapis/test/poly/v1_test.dart
new file mode 100644
index 0000000..583d9e9
--- /dev/null
+++ b/generated/googleapis/test/poly/v1_test.dart
@@ -0,0 +1,719 @@
+library googleapis.poly.v1.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/poly/v1.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);
+}
+
+buildUnnamed507() {
+ var o = new core.List<api.Format>();
+ o.add(buildFormat());
+ o.add(buildFormat());
+ return o;
+}
+
+checkUnnamed507(core.List<api.Format> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkFormat(o[0]);
+ checkFormat(o[1]);
+}
+
+core.int buildCounterAsset = 0;
+buildAsset() {
+ var o = new api.Asset();
+ buildCounterAsset++;
+ if (buildCounterAsset < 3) {
+ o.authorName = "foo";
+ o.createTime = "foo";
+ o.description = "foo";
+ o.displayName = "foo";
+ o.formats = buildUnnamed507();
+ o.isCurated = true;
+ o.license = "foo";
+ o.name = "foo";
+ o.presentationParams = buildPresentationParams();
+ o.thumbnail = buildFile();
+ o.updateTime = "foo";
+ o.visibility = "foo";
+ }
+ buildCounterAsset--;
+ return o;
+}
+
+checkAsset(api.Asset o) {
+ buildCounterAsset++;
+ if (buildCounterAsset < 3) {
+ unittest.expect(o.authorName, unittest.equals('foo'));
+ unittest.expect(o.createTime, unittest.equals('foo'));
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.displayName, unittest.equals('foo'));
+ checkUnnamed507(o.formats);
+ unittest.expect(o.isCurated, unittest.isTrue);
+ unittest.expect(o.license, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkPresentationParams(o.presentationParams);
+ checkFile(o.thumbnail);
+ unittest.expect(o.updateTime, unittest.equals('foo'));
+ unittest.expect(o.visibility, unittest.equals('foo'));
+ }
+ buildCounterAsset--;
+}
+
+core.int buildCounterFile = 0;
+buildFile() {
+ var o = new api.File();
+ buildCounterFile++;
+ if (buildCounterFile < 3) {
+ o.contentType = "foo";
+ o.relativePath = "foo";
+ o.url = "foo";
+ }
+ buildCounterFile--;
+ return o;
+}
+
+checkFile(api.File o) {
+ buildCounterFile++;
+ if (buildCounterFile < 3) {
+ unittest.expect(o.contentType, unittest.equals('foo'));
+ unittest.expect(o.relativePath, unittest.equals('foo'));
+ unittest.expect(o.url, unittest.equals('foo'));
+ }
+ buildCounterFile--;
+}
+
+buildUnnamed508() {
+ var o = new core.List<api.File>();
+ o.add(buildFile());
+ o.add(buildFile());
+ return o;
+}
+
+checkUnnamed508(core.List<api.File> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkFile(o[0]);
+ checkFile(o[1]);
+}
+
+core.int buildCounterFormat = 0;
+buildFormat() {
+ var o = new api.Format();
+ buildCounterFormat++;
+ if (buildCounterFormat < 3) {
+ o.formatComplexity = buildFormatComplexity();
+ o.formatType = "foo";
+ o.resources = buildUnnamed508();
+ o.root = buildFile();
+ }
+ buildCounterFormat--;
+ return o;
+}
+
+checkFormat(api.Format o) {
+ buildCounterFormat++;
+ if (buildCounterFormat < 3) {
+ checkFormatComplexity(o.formatComplexity);
+ unittest.expect(o.formatType, unittest.equals('foo'));
+ checkUnnamed508(o.resources);
+ checkFile(o.root);
+ }
+ buildCounterFormat--;
+}
+
+core.int buildCounterFormatComplexity = 0;
+buildFormatComplexity() {
+ var o = new api.FormatComplexity();
+ buildCounterFormatComplexity++;
+ if (buildCounterFormatComplexity < 3) {
+ o.lodHint = 42;
+ o.triangleCount = "foo";
+ }
+ buildCounterFormatComplexity--;
+ return o;
+}
+
+checkFormatComplexity(api.FormatComplexity o) {
+ buildCounterFormatComplexity++;
+ if (buildCounterFormatComplexity < 3) {
+ unittest.expect(o.lodHint, unittest.equals(42));
+ unittest.expect(o.triangleCount, unittest.equals('foo'));
+ }
+ buildCounterFormatComplexity--;
+}
+
+buildUnnamed509() {
+ var o = new core.List<api.Asset>();
+ o.add(buildAsset());
+ o.add(buildAsset());
+ return o;
+}
+
+checkUnnamed509(core.List<api.Asset> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAsset(o[0]);
+ checkAsset(o[1]);
+}
+
+core.int buildCounterListAssetsResponse = 0;
+buildListAssetsResponse() {
+ var o = new api.ListAssetsResponse();
+ buildCounterListAssetsResponse++;
+ if (buildCounterListAssetsResponse < 3) {
+ o.assets = buildUnnamed509();
+ o.nextPageToken = "foo";
+ o.totalSize = 42;
+ }
+ buildCounterListAssetsResponse--;
+ return o;
+}
+
+checkListAssetsResponse(api.ListAssetsResponse o) {
+ buildCounterListAssetsResponse++;
+ if (buildCounterListAssetsResponse < 3) {
+ checkUnnamed509(o.assets);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ unittest.expect(o.totalSize, unittest.equals(42));
+ }
+ buildCounterListAssetsResponse--;
+}
+
+buildUnnamed510() {
+ var o = new core.List<api.Asset>();
+ o.add(buildAsset());
+ o.add(buildAsset());
+ return o;
+}
+
+checkUnnamed510(core.List<api.Asset> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAsset(o[0]);
+ checkAsset(o[1]);
+}
+
+core.int buildCounterListLikedAssetsResponse = 0;
+buildListLikedAssetsResponse() {
+ var o = new api.ListLikedAssetsResponse();
+ buildCounterListLikedAssetsResponse++;
+ if (buildCounterListLikedAssetsResponse < 3) {
+ o.assets = buildUnnamed510();
+ o.nextPageToken = "foo";
+ o.totalSize = 42;
+ }
+ buildCounterListLikedAssetsResponse--;
+ return o;
+}
+
+checkListLikedAssetsResponse(api.ListLikedAssetsResponse o) {
+ buildCounterListLikedAssetsResponse++;
+ if (buildCounterListLikedAssetsResponse < 3) {
+ checkUnnamed510(o.assets);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ unittest.expect(o.totalSize, unittest.equals(42));
+ }
+ buildCounterListLikedAssetsResponse--;
+}
+
+buildUnnamed511() {
+ var o = new core.List<api.UserAsset>();
+ o.add(buildUserAsset());
+ o.add(buildUserAsset());
+ return o;
+}
+
+checkUnnamed511(core.List<api.UserAsset> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUserAsset(o[0]);
+ checkUserAsset(o[1]);
+}
+
+core.int buildCounterListUserAssetsResponse = 0;
+buildListUserAssetsResponse() {
+ var o = new api.ListUserAssetsResponse();
+ buildCounterListUserAssetsResponse++;
+ if (buildCounterListUserAssetsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.totalSize = 42;
+ o.userAssets = buildUnnamed511();
+ }
+ buildCounterListUserAssetsResponse--;
+ return o;
+}
+
+checkListUserAssetsResponse(api.ListUserAssetsResponse o) {
+ buildCounterListUserAssetsResponse++;
+ if (buildCounterListUserAssetsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ unittest.expect(o.totalSize, unittest.equals(42));
+ checkUnnamed511(o.userAssets);
+ }
+ buildCounterListUserAssetsResponse--;
+}
+
+core.int buildCounterPresentationParams = 0;
+buildPresentationParams() {
+ var o = new api.PresentationParams();
+ buildCounterPresentationParams++;
+ if (buildCounterPresentationParams < 3) {
+ o.colorSpace = "foo";
+ o.orientingRotation = buildQuaternion();
+ }
+ buildCounterPresentationParams--;
+ return o;
+}
+
+checkPresentationParams(api.PresentationParams o) {
+ buildCounterPresentationParams++;
+ if (buildCounterPresentationParams < 3) {
+ unittest.expect(o.colorSpace, unittest.equals('foo'));
+ checkQuaternion(o.orientingRotation);
+ }
+ buildCounterPresentationParams--;
+}
+
+core.int buildCounterQuaternion = 0;
+buildQuaternion() {
+ var o = new api.Quaternion();
+ buildCounterQuaternion++;
+ if (buildCounterQuaternion < 3) {
+ o.w = 42.0;
+ o.x = 42.0;
+ o.y = 42.0;
+ o.z = 42.0;
+ }
+ buildCounterQuaternion--;
+ return o;
+}
+
+checkQuaternion(api.Quaternion o) {
+ buildCounterQuaternion++;
+ if (buildCounterQuaternion < 3) {
+ unittest.expect(o.w, unittest.equals(42.0));
+ unittest.expect(o.x, unittest.equals(42.0));
+ unittest.expect(o.y, unittest.equals(42.0));
+ unittest.expect(o.z, unittest.equals(42.0));
+ }
+ buildCounterQuaternion--;
+}
+
+core.int buildCounterUserAsset = 0;
+buildUserAsset() {
+ var o = new api.UserAsset();
+ buildCounterUserAsset++;
+ if (buildCounterUserAsset < 3) {
+ o.asset = buildAsset();
+ }
+ buildCounterUserAsset--;
+ return o;
+}
+
+checkUserAsset(api.UserAsset o) {
+ buildCounterUserAsset++;
+ if (buildCounterUserAsset < 3) {
+ checkAsset(o.asset);
+ }
+ buildCounterUserAsset--;
+}
+
+main() {
+ unittest.group("obj-schema-Asset", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAsset();
+ var od = new api.Asset.fromJson(o.toJson());
+ checkAsset(od);
+ });
+ });
+
+ unittest.group("obj-schema-File", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFile();
+ var od = new api.File.fromJson(o.toJson());
+ checkFile(od);
+ });
+ });
+
+ unittest.group("obj-schema-Format", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFormat();
+ var od = new api.Format.fromJson(o.toJson());
+ checkFormat(od);
+ });
+ });
+
+ unittest.group("obj-schema-FormatComplexity", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFormatComplexity();
+ var od = new api.FormatComplexity.fromJson(o.toJson());
+ checkFormatComplexity(od);
+ });
+ });
+
+ unittest.group("obj-schema-ListAssetsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListAssetsResponse();
+ var od = new api.ListAssetsResponse.fromJson(o.toJson());
+ checkListAssetsResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-ListLikedAssetsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListLikedAssetsResponse();
+ var od = new api.ListLikedAssetsResponse.fromJson(o.toJson());
+ checkListLikedAssetsResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-ListUserAssetsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListUserAssetsResponse();
+ var od = new api.ListUserAssetsResponse.fromJson(o.toJson());
+ checkListUserAssetsResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-PresentationParams", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPresentationParams();
+ var od = new api.PresentationParams.fromJson(o.toJson());
+ checkPresentationParams(od);
+ });
+ });
+
+ unittest.group("obj-schema-Quaternion", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildQuaternion();
+ var od = new api.Quaternion.fromJson(o.toJson());
+ checkQuaternion(od);
+ });
+ });
+
+ unittest.group("obj-schema-UserAsset", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUserAsset();
+ var od = new api.UserAsset.fromJson(o.toJson());
+ checkUserAsset(od);
+ });
+ });
+
+ unittest.group("resource-AssetsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.AssetsResourceApi res = new api.PolyApi(mock).assets;
+ 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 = {};
+ 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(buildAsset());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_name, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Asset response) {
+ checkAsset(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.AssetsResourceApi res = new api.PolyApi(mock).assets;
+ var arg_keywords = "foo";
+ var arg_orderBy = "foo";
+ var arg_format = "foo";
+ var arg_curated = true;
+ var arg_category = "foo";
+ var arg_pageToken = "foo";
+ var arg_maxComplexity = "foo";
+ var arg_pageSize = 42;
+ 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 + 9),
+ unittest.equals("v1/assets"));
+ pathOffset += 9;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ 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["keywords"].first, unittest.equals(arg_keywords));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(queryMap["format"].first, unittest.equals(arg_format));
+ unittest.expect(
+ queryMap["curated"].first, unittest.equals("$arg_curated"));
+ 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(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListAssetsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(
+ keywords: arg_keywords,
+ orderBy: arg_orderBy,
+ format: arg_format,
+ curated: arg_curated,
+ category: arg_category,
+ pageToken: arg_pageToken,
+ maxComplexity: arg_maxComplexity,
+ pageSize: arg_pageSize,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.ListAssetsResponse response) {
+ checkListAssetsResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-UsersAssetsResourceApi", () {
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.UsersAssetsResourceApi res = new api.PolyApi(mock).users.assets;
+ var arg_name = "foo";
+ var arg_pageSize = 42;
+ var arg_visibility = "foo";
+ var arg_orderBy = "foo";
+ var arg_format = "foo";
+ var arg_pageToken = "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 = {};
+ 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(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["visibility"].first, unittest.equals(arg_visibility));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(queryMap["format"].first, unittest.equals(arg_format));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListUserAssetsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_name,
+ pageSize: arg_pageSize,
+ visibility: arg_visibility,
+ orderBy: arg_orderBy,
+ format: arg_format,
+ pageToken: arg_pageToken,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.ListUserAssetsResponse response) {
+ checkListUserAssetsResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-UsersLikedassetsResourceApi", () {
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.UsersLikedassetsResourceApi res =
+ new api.PolyApi(mock).users.likedassets;
+ var arg_name = "foo";
+ var arg_orderBy = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_format = "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 = {};
+ 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["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["format"].first, unittest.equals(arg_format));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListLikedAssetsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_name,
+ orderBy: arg_orderBy,
+ pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ format: arg_format,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.ListLikedAssetsResponse response) {
+ checkListLikedAssetsResponse(response);
+ })));
+ });
+ });
+}
diff --git a/generated/googleapis/test/prediction/v1_6_test.dart b/generated/googleapis/test/prediction/v1_6_test.dart
index 9b9abed..6601022 100644
--- a/generated/googleapis/test/prediction/v1_6_test.dart
+++ b/generated/googleapis/test/prediction/v1_6_test.dart
@@ -72,14 +72,14 @@
buildCounterAnalyzeDataDescriptionFeaturesCategoricalValues--;
}
-buildUnnamed1943() {
+buildUnnamed1957() {
var o = new core.List<api.AnalyzeDataDescriptionFeaturesCategoricalValues>();
o.add(buildAnalyzeDataDescriptionFeaturesCategoricalValues());
o.add(buildAnalyzeDataDescriptionFeaturesCategoricalValues());
return o;
}
-checkUnnamed1943(
+checkUnnamed1957(
core.List<api.AnalyzeDataDescriptionFeaturesCategoricalValues> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnalyzeDataDescriptionFeaturesCategoricalValues(o[0]);
@@ -92,7 +92,7 @@
buildCounterAnalyzeDataDescriptionFeaturesCategorical++;
if (buildCounterAnalyzeDataDescriptionFeaturesCategorical < 3) {
o.count = "foo";
- o.values = buildUnnamed1943();
+ o.values = buildUnnamed1957();
}
buildCounterAnalyzeDataDescriptionFeaturesCategorical--;
return o;
@@ -103,7 +103,7 @@
buildCounterAnalyzeDataDescriptionFeaturesCategorical++;
if (buildCounterAnalyzeDataDescriptionFeaturesCategorical < 3) {
unittest.expect(o.count, unittest.equals('foo'));
- checkUnnamed1943(o.values);
+ checkUnnamed1957(o.values);
}
buildCounterAnalyzeDataDescriptionFeaturesCategorical--;
}
@@ -177,14 +177,14 @@
buildCounterAnalyzeDataDescriptionFeatures--;
}
-buildUnnamed1944() {
+buildUnnamed1958() {
var o = new core.List<api.AnalyzeDataDescriptionFeatures>();
o.add(buildAnalyzeDataDescriptionFeatures());
o.add(buildAnalyzeDataDescriptionFeatures());
return o;
}
-checkUnnamed1944(core.List<api.AnalyzeDataDescriptionFeatures> o) {
+checkUnnamed1958(core.List<api.AnalyzeDataDescriptionFeatures> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnalyzeDataDescriptionFeatures(o[0]);
checkAnalyzeDataDescriptionFeatures(o[1]);
@@ -236,14 +236,14 @@
buildCounterAnalyzeDataDescriptionOutputFeatureText--;
}
-buildUnnamed1945() {
+buildUnnamed1959() {
var o = new core.List<api.AnalyzeDataDescriptionOutputFeatureText>();
o.add(buildAnalyzeDataDescriptionOutputFeatureText());
o.add(buildAnalyzeDataDescriptionOutputFeatureText());
return o;
}
-checkUnnamed1945(core.List<api.AnalyzeDataDescriptionOutputFeatureText> o) {
+checkUnnamed1959(core.List<api.AnalyzeDataDescriptionOutputFeatureText> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnalyzeDataDescriptionOutputFeatureText(o[0]);
checkAnalyzeDataDescriptionOutputFeatureText(o[1]);
@@ -255,7 +255,7 @@
buildCounterAnalyzeDataDescriptionOutputFeature++;
if (buildCounterAnalyzeDataDescriptionOutputFeature < 3) {
o.numeric = buildAnalyzeDataDescriptionOutputFeatureNumeric();
- o.text = buildUnnamed1945();
+ o.text = buildUnnamed1959();
}
buildCounterAnalyzeDataDescriptionOutputFeature--;
return o;
@@ -266,7 +266,7 @@
buildCounterAnalyzeDataDescriptionOutputFeature++;
if (buildCounterAnalyzeDataDescriptionOutputFeature < 3) {
checkAnalyzeDataDescriptionOutputFeatureNumeric(o.numeric);
- checkUnnamed1945(o.text);
+ checkUnnamed1959(o.text);
}
buildCounterAnalyzeDataDescriptionOutputFeature--;
}
@@ -276,7 +276,7 @@
var o = new api.AnalyzeDataDescription();
buildCounterAnalyzeDataDescription++;
if (buildCounterAnalyzeDataDescription < 3) {
- o.features = buildUnnamed1944();
+ o.features = buildUnnamed1958();
o.outputFeature = buildAnalyzeDataDescriptionOutputFeature();
}
buildCounterAnalyzeDataDescription--;
@@ -286,72 +286,72 @@
checkAnalyzeDataDescription(api.AnalyzeDataDescription o) {
buildCounterAnalyzeDataDescription++;
if (buildCounterAnalyzeDataDescription < 3) {
- checkUnnamed1944(o.features);
+ checkUnnamed1958(o.features);
checkAnalyzeDataDescriptionOutputFeature(o.outputFeature);
}
buildCounterAnalyzeDataDescription--;
}
-buildUnnamed1946() {
+buildUnnamed1960() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1946(core.Map<core.String, core.String> o) {
+checkUnnamed1960(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'));
}
-buildUnnamed1947() {
+buildUnnamed1961() {
var o = new core.List<core.Map<core.String, core.String>>();
- o.add(buildUnnamed1946());
- o.add(buildUnnamed1946());
+ o.add(buildUnnamed1960());
+ o.add(buildUnnamed1960());
return o;
}
-checkUnnamed1947(core.List<core.Map<core.String, core.String>> o) {
+checkUnnamed1961(core.List<core.Map<core.String, core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1946(o[0]);
- checkUnnamed1946(o[1]);
+ checkUnnamed1960(o[0]);
+ checkUnnamed1960(o[1]);
}
-buildUnnamed1948() {
+buildUnnamed1962() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1948(core.Map<core.String, core.String> o) {
+checkUnnamed1962(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'));
}
-buildUnnamed1949() {
+buildUnnamed1963() {
var o = new core.Map<core.String, core.Map<core.String, core.String>>();
- o["x"] = buildUnnamed1948();
- o["y"] = buildUnnamed1948();
+ o["x"] = buildUnnamed1962();
+ o["y"] = buildUnnamed1962();
return o;
}
-checkUnnamed1949(core.Map<core.String, core.Map<core.String, core.String>> o) {
+checkUnnamed1963(core.Map<core.String, core.Map<core.String, core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1948(o["x"]);
- checkUnnamed1948(o["y"]);
+ checkUnnamed1962(o["x"]);
+ checkUnnamed1962(o["y"]);
}
-buildUnnamed1950() {
+buildUnnamed1964() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1950(core.Map<core.String, core.String> o) {
+checkUnnamed1964(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'));
@@ -362,8 +362,8 @@
var o = new api.AnalyzeModelDescription();
buildCounterAnalyzeModelDescription++;
if (buildCounterAnalyzeModelDescription < 3) {
- o.confusionMatrix = buildUnnamed1949();
- o.confusionMatrixRowTotals = buildUnnamed1950();
+ o.confusionMatrix = buildUnnamed1963();
+ o.confusionMatrixRowTotals = buildUnnamed1964();
o.modelinfo = buildInsert2();
}
buildCounterAnalyzeModelDescription--;
@@ -373,8 +373,8 @@
checkAnalyzeModelDescription(api.AnalyzeModelDescription o) {
buildCounterAnalyzeModelDescription++;
if (buildCounterAnalyzeModelDescription < 3) {
- checkUnnamed1949(o.confusionMatrix);
- checkUnnamed1950(o.confusionMatrixRowTotals);
+ checkUnnamed1963(o.confusionMatrix);
+ checkUnnamed1964(o.confusionMatrixRowTotals);
checkInsert2(o.modelinfo);
}
buildCounterAnalyzeModelDescription--;
@@ -386,7 +386,7 @@
buildCounterAnalyze++;
if (buildCounterAnalyze < 3) {
o.dataDescription = buildAnalyzeDataDescription();
- o.errors = buildUnnamed1947();
+ o.errors = buildUnnamed1961();
o.id = "foo";
o.kind = "foo";
o.modelDescription = buildAnalyzeModelDescription();
@@ -400,7 +400,7 @@
buildCounterAnalyze++;
if (buildCounterAnalyze < 3) {
checkAnalyzeDataDescription(o.dataDescription);
- checkUnnamed1947(o.errors);
+ checkUnnamed1961(o.errors);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkAnalyzeModelDescription(o.modelDescription);
@@ -409,7 +409,7 @@
buildCounterAnalyze--;
}
-buildUnnamed1951() {
+buildUnnamed1965() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -424,7 +424,7 @@
return o;
}
-checkUnnamed1951(core.List<core.Object> o) {
+checkUnnamed1965(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -443,7 +443,7 @@
var o = new api.InputInput();
buildCounterInputInput++;
if (buildCounterInputInput < 3) {
- o.csvInstance = buildUnnamed1951();
+ o.csvInstance = buildUnnamed1965();
}
buildCounterInputInput--;
return o;
@@ -452,7 +452,7 @@
checkInputInput(api.InputInput o) {
buildCounterInputInput++;
if (buildCounterInputInput < 3) {
- checkUnnamed1951(o.csvInstance);
+ checkUnnamed1965(o.csvInstance);
}
buildCounterInputInput--;
}
@@ -476,7 +476,7 @@
buildCounterInput--;
}
-buildUnnamed1952() {
+buildUnnamed1966() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -491,7 +491,7 @@
return o;
}
-checkUnnamed1952(core.List<core.Object> o) {
+checkUnnamed1966(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -510,7 +510,7 @@
var o = new api.InsertTrainingInstances();
buildCounterInsertTrainingInstances++;
if (buildCounterInsertTrainingInstances < 3) {
- o.csvInstance = buildUnnamed1952();
+ o.csvInstance = buildUnnamed1966();
o.output = "foo";
}
buildCounterInsertTrainingInstances--;
@@ -520,49 +520,49 @@
checkInsertTrainingInstances(api.InsertTrainingInstances o) {
buildCounterInsertTrainingInstances++;
if (buildCounterInsertTrainingInstances < 3) {
- checkUnnamed1952(o.csvInstance);
+ checkUnnamed1966(o.csvInstance);
unittest.expect(o.output, unittest.equals('foo'));
}
buildCounterInsertTrainingInstances--;
}
-buildUnnamed1953() {
+buildUnnamed1967() {
var o = new core.List<api.InsertTrainingInstances>();
o.add(buildInsertTrainingInstances());
o.add(buildInsertTrainingInstances());
return o;
}
-checkUnnamed1953(core.List<api.InsertTrainingInstances> o) {
+checkUnnamed1967(core.List<api.InsertTrainingInstances> o) {
unittest.expect(o, unittest.hasLength(2));
checkInsertTrainingInstances(o[0]);
checkInsertTrainingInstances(o[1]);
}
-buildUnnamed1954() {
+buildUnnamed1968() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed1954(core.Map<core.String, core.double> o) {
+checkUnnamed1968(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));
}
-buildUnnamed1955() {
+buildUnnamed1969() {
var o = new core.List<core.Map<core.String, core.double>>();
- o.add(buildUnnamed1954());
- o.add(buildUnnamed1954());
+ o.add(buildUnnamed1968());
+ o.add(buildUnnamed1968());
return o;
}
-checkUnnamed1955(core.List<core.Map<core.String, core.double>> o) {
+checkUnnamed1969(core.List<core.Map<core.String, core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1954(o[0]);
- checkUnnamed1954(o[1]);
+ checkUnnamed1968(o[0]);
+ checkUnnamed1968(o[1]);
}
core.int buildCounterInsert = 0;
@@ -576,8 +576,8 @@
o.storageDataLocation = "foo";
o.storagePMMLLocation = "foo";
o.storagePMMLModelLocation = "foo";
- o.trainingInstances = buildUnnamed1953();
- o.utility = buildUnnamed1955();
+ o.trainingInstances = buildUnnamed1967();
+ o.utility = buildUnnamed1969();
}
buildCounterInsert--;
return o;
@@ -592,8 +592,8 @@
unittest.expect(o.storageDataLocation, unittest.equals('foo'));
unittest.expect(o.storagePMMLLocation, unittest.equals('foo'));
unittest.expect(o.storagePMMLModelLocation, unittest.equals('foo'));
- checkUnnamed1953(o.trainingInstances);
- checkUnnamed1955(o.utility);
+ checkUnnamed1967(o.trainingInstances);
+ checkUnnamed1969(o.utility);
}
buildCounterInsert--;
}
@@ -668,14 +668,14 @@
buildCounterInsert2--;
}
-buildUnnamed1956() {
+buildUnnamed1970() {
var o = new core.List<api.Insert2>();
o.add(buildInsert2());
o.add(buildInsert2());
return o;
}
-checkUnnamed1956(core.List<api.Insert2> o) {
+checkUnnamed1970(core.List<api.Insert2> o) {
unittest.expect(o, unittest.hasLength(2));
checkInsert2(o[0]);
checkInsert2(o[1]);
@@ -686,7 +686,7 @@
var o = new api.List();
buildCounterList++;
if (buildCounterList < 3) {
- o.items = buildUnnamed1956();
+ o.items = buildUnnamed1970();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -698,7 +698,7 @@
checkList(api.List o) {
buildCounterList++;
if (buildCounterList < 3) {
- checkUnnamed1956(o.items);
+ checkUnnamed1970(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -727,14 +727,14 @@
buildCounterOutputOutputMulti--;
}
-buildUnnamed1957() {
+buildUnnamed1971() {
var o = new core.List<api.OutputOutputMulti>();
o.add(buildOutputOutputMulti());
o.add(buildOutputOutputMulti());
return o;
}
-checkUnnamed1957(core.List<api.OutputOutputMulti> o) {
+checkUnnamed1971(core.List<api.OutputOutputMulti> o) {
unittest.expect(o, unittest.hasLength(2));
checkOutputOutputMulti(o[0]);
checkOutputOutputMulti(o[1]);
@@ -748,7 +748,7 @@
o.id = "foo";
o.kind = "foo";
o.outputLabel = "foo";
- o.outputMulti = buildUnnamed1957();
+ o.outputMulti = buildUnnamed1971();
o.outputValue = "foo";
o.selfLink = "foo";
}
@@ -762,14 +762,14 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.outputLabel, unittest.equals('foo'));
- checkUnnamed1957(o.outputMulti);
+ checkUnnamed1971(o.outputMulti);
unittest.expect(o.outputValue, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterOutput--;
}
-buildUnnamed1958() {
+buildUnnamed1972() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -784,7 +784,7 @@
return o;
}
-checkUnnamed1958(core.List<core.Object> o) {
+checkUnnamed1972(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -803,7 +803,7 @@
var o = new api.Update();
buildCounterUpdate++;
if (buildCounterUpdate < 3) {
- o.csvInstance = buildUnnamed1958();
+ o.csvInstance = buildUnnamed1972();
o.output = "foo";
}
buildCounterUpdate--;
@@ -813,7 +813,7 @@
checkUpdate(api.Update o) {
buildCounterUpdate++;
if (buildCounterUpdate < 3) {
- checkUnnamed1958(o.csvInstance);
+ checkUnnamed1972(o.csvInstance);
unittest.expect(o.output, unittest.equals('foo'));
}
buildCounterUpdate--;
diff --git a/generated/googleapis/test/pubsub/v1_test.dart b/generated/googleapis/test/pubsub/v1_test.dart
index 3a4a8a5..f97cd0c 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);
}
-buildUnnamed1306() {
+buildUnnamed1313() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1306(core.List<core.String> o) {
+checkUnnamed1313(core.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 = buildUnnamed1306();
+ o.ackIds = buildUnnamed1313();
}
buildCounterAcknowledgeRequest--;
return o;
@@ -77,19 +77,19 @@
checkAcknowledgeRequest(api.AcknowledgeRequest o) {
buildCounterAcknowledgeRequest++;
if (buildCounterAcknowledgeRequest < 3) {
- checkUnnamed1306(o.ackIds);
+ checkUnnamed1313(o.ackIds);
}
buildCounterAcknowledgeRequest--;
}
-buildUnnamed1307() {
+buildUnnamed1314() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1307(core.List<core.String> o) {
+checkUnnamed1314(core.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.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1307();
+ o.members = buildUnnamed1314();
o.role = "foo";
}
buildCounterBinding--;
@@ -110,12 +110,31 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1307(o.members);
+ checkUnnamed1314(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
+core.int buildCounterCreateSnapshotRequest = 0;
+buildCreateSnapshotRequest() {
+ var o = new api.CreateSnapshotRequest();
+ buildCounterCreateSnapshotRequest++;
+ if (buildCounterCreateSnapshotRequest < 3) {
+ o.subscription = "foo";
+ }
+ buildCounterCreateSnapshotRequest--;
+ return o;
+}
+
+checkCreateSnapshotRequest(api.CreateSnapshotRequest o) {
+ buildCounterCreateSnapshotRequest++;
+ if (buildCounterCreateSnapshotRequest < 3) {
+ unittest.expect(o.subscription, unittest.equals('foo'));
+ }
+ buildCounterCreateSnapshotRequest--;
+}
+
core.int buildCounterEmpty = 0;
buildEmpty() {
var o = new api.Empty();
@@ -131,14 +150,48 @@
buildCounterEmpty--;
}
-buildUnnamed1308() {
+buildUnnamed1315() {
+ var o = new core.List<api.Snapshot>();
+ o.add(buildSnapshot());
+ o.add(buildSnapshot());
+ return o;
+}
+
+checkUnnamed1315(core.List<api.Snapshot> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSnapshot(o[0]);
+ checkSnapshot(o[1]);
+}
+
+core.int buildCounterListSnapshotsResponse = 0;
+buildListSnapshotsResponse() {
+ var o = new api.ListSnapshotsResponse();
+ buildCounterListSnapshotsResponse++;
+ if (buildCounterListSnapshotsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.snapshots = buildUnnamed1315();
+ }
+ buildCounterListSnapshotsResponse--;
+ return o;
+}
+
+checkListSnapshotsResponse(api.ListSnapshotsResponse o) {
+ buildCounterListSnapshotsResponse++;
+ if (buildCounterListSnapshotsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed1315(o.snapshots);
+ }
+ buildCounterListSnapshotsResponse--;
+}
+
+buildUnnamed1316() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed1308(core.List<api.Subscription> o) {
+checkUnnamed1316(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -150,7 +203,7 @@
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed1308();
+ o.subscriptions = buildUnnamed1316();
}
buildCounterListSubscriptionsResponse--;
return o;
@@ -160,19 +213,53 @@
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1308(o.subscriptions);
+ checkUnnamed1316(o.subscriptions);
}
buildCounterListSubscriptionsResponse--;
}
-buildUnnamed1309() {
+buildUnnamed1317() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1309(core.List<core.String> o) {
+checkUnnamed1317(core.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 = buildUnnamed1317();
+ }
+ buildCounterListTopicSnapshotsResponse--;
+ return o;
+}
+
+checkListTopicSnapshotsResponse(api.ListTopicSnapshotsResponse o) {
+ buildCounterListTopicSnapshotsResponse++;
+ if (buildCounterListTopicSnapshotsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed1317(o.snapshots);
+ }
+ buildCounterListTopicSnapshotsResponse--;
+}
+
+buildUnnamed1318() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1318(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -184,7 +271,7 @@
buildCounterListTopicSubscriptionsResponse++;
if (buildCounterListTopicSubscriptionsResponse < 3) {
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed1309();
+ o.subscriptions = buildUnnamed1318();
}
buildCounterListTopicSubscriptionsResponse--;
return o;
@@ -194,19 +281,19 @@
buildCounterListTopicSubscriptionsResponse++;
if (buildCounterListTopicSubscriptionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1309(o.subscriptions);
+ checkUnnamed1318(o.subscriptions);
}
buildCounterListTopicSubscriptionsResponse--;
}
-buildUnnamed1310() {
+buildUnnamed1319() {
var o = new core.List<api.Topic>();
o.add(buildTopic());
o.add(buildTopic());
return o;
}
-checkUnnamed1310(core.List<api.Topic> o) {
+checkUnnamed1319(core.List<api.Topic> o) {
unittest.expect(o, unittest.hasLength(2));
checkTopic(o[0]);
checkTopic(o[1]);
@@ -218,7 +305,7 @@
buildCounterListTopicsResponse++;
if (buildCounterListTopicsResponse < 3) {
o.nextPageToken = "foo";
- o.topics = buildUnnamed1310();
+ o.topics = buildUnnamed1319();
}
buildCounterListTopicsResponse--;
return o;
@@ -228,19 +315,19 @@
buildCounterListTopicsResponse++;
if (buildCounterListTopicsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1310(o.topics);
+ checkUnnamed1319(o.topics);
}
buildCounterListTopicsResponse--;
}
-buildUnnamed1311() {
+buildUnnamed1320() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1311(core.List<core.String> o) {
+checkUnnamed1320(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -252,7 +339,7 @@
buildCounterModifyAckDeadlineRequest++;
if (buildCounterModifyAckDeadlineRequest < 3) {
o.ackDeadlineSeconds = 42;
- o.ackIds = buildUnnamed1311();
+ o.ackIds = buildUnnamed1320();
}
buildCounterModifyAckDeadlineRequest--;
return o;
@@ -262,7 +349,7 @@
buildCounterModifyAckDeadlineRequest++;
if (buildCounterModifyAckDeadlineRequest < 3) {
unittest.expect(o.ackDeadlineSeconds, unittest.equals(42));
- checkUnnamed1311(o.ackIds);
+ checkUnnamed1320(o.ackIds);
}
buildCounterModifyAckDeadlineRequest--;
}
@@ -286,14 +373,14 @@
buildCounterModifyPushConfigRequest--;
}
-buildUnnamed1312() {
+buildUnnamed1321() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1312(core.List<api.Binding> o) {
+checkUnnamed1321(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -304,7 +391,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed1312();
+ o.bindings = buildUnnamed1321();
o.etag = "foo";
o.version = 42;
}
@@ -315,21 +402,21 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1312(o.bindings);
+ checkUnnamed1321(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed1313() {
+buildUnnamed1322() {
var o = new core.List<api.PubsubMessage>();
o.add(buildPubsubMessage());
o.add(buildPubsubMessage());
return o;
}
-checkUnnamed1313(core.List<api.PubsubMessage> o) {
+checkUnnamed1322(core.List<api.PubsubMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkPubsubMessage(o[0]);
checkPubsubMessage(o[1]);
@@ -340,7 +427,7 @@
var o = new api.PublishRequest();
buildCounterPublishRequest++;
if (buildCounterPublishRequest < 3) {
- o.messages = buildUnnamed1313();
+ o.messages = buildUnnamed1322();
}
buildCounterPublishRequest--;
return o;
@@ -349,19 +436,19 @@
checkPublishRequest(api.PublishRequest o) {
buildCounterPublishRequest++;
if (buildCounterPublishRequest < 3) {
- checkUnnamed1313(o.messages);
+ checkUnnamed1322(o.messages);
}
buildCounterPublishRequest--;
}
-buildUnnamed1314() {
+buildUnnamed1323() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1314(core.List<core.String> o) {
+checkUnnamed1323(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -372,7 +459,7 @@
var o = new api.PublishResponse();
buildCounterPublishResponse++;
if (buildCounterPublishResponse < 3) {
- o.messageIds = buildUnnamed1314();
+ o.messageIds = buildUnnamed1323();
}
buildCounterPublishResponse--;
return o;
@@ -381,19 +468,19 @@
checkPublishResponse(api.PublishResponse o) {
buildCounterPublishResponse++;
if (buildCounterPublishResponse < 3) {
- checkUnnamed1314(o.messageIds);
+ checkUnnamed1323(o.messageIds);
}
buildCounterPublishResponse--;
}
-buildUnnamed1315() {
+buildUnnamed1324() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1315(core.Map<core.String, core.String> o) {
+checkUnnamed1324(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'));
@@ -404,7 +491,7 @@
var o = new api.PubsubMessage();
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
- o.attributes = buildUnnamed1315();
+ o.attributes = buildUnnamed1324();
o.data = "foo";
o.messageId = "foo";
o.publishTime = "foo";
@@ -416,7 +503,7 @@
checkPubsubMessage(api.PubsubMessage o) {
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
- checkUnnamed1315(o.attributes);
+ checkUnnamed1324(o.attributes);
unittest.expect(o.data, unittest.equals('foo'));
unittest.expect(o.messageId, unittest.equals('foo'));
unittest.expect(o.publishTime, unittest.equals('foo'));
@@ -445,14 +532,14 @@
buildCounterPullRequest--;
}
-buildUnnamed1316() {
+buildUnnamed1325() {
var o = new core.List<api.ReceivedMessage>();
o.add(buildReceivedMessage());
o.add(buildReceivedMessage());
return o;
}
-checkUnnamed1316(core.List<api.ReceivedMessage> o) {
+checkUnnamed1325(core.List<api.ReceivedMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkReceivedMessage(o[0]);
checkReceivedMessage(o[1]);
@@ -463,7 +550,7 @@
var o = new api.PullResponse();
buildCounterPullResponse++;
if (buildCounterPullResponse < 3) {
- o.receivedMessages = buildUnnamed1316();
+ o.receivedMessages = buildUnnamed1325();
}
buildCounterPullResponse--;
return o;
@@ -472,19 +559,19 @@
checkPullResponse(api.PullResponse o) {
buildCounterPullResponse++;
if (buildCounterPullResponse < 3) {
- checkUnnamed1316(o.receivedMessages);
+ checkUnnamed1325(o.receivedMessages);
}
buildCounterPullResponse--;
}
-buildUnnamed1317() {
+buildUnnamed1326() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1317(core.Map<core.String, core.String> o) {
+checkUnnamed1326(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'));
@@ -495,7 +582,7 @@
var o = new api.PushConfig();
buildCounterPushConfig++;
if (buildCounterPushConfig < 3) {
- o.attributes = buildUnnamed1317();
+ o.attributes = buildUnnamed1326();
o.pushEndpoint = "foo";
}
buildCounterPushConfig--;
@@ -505,7 +592,7 @@
checkPushConfig(api.PushConfig o) {
buildCounterPushConfig++;
if (buildCounterPushConfig < 3) {
- checkUnnamed1317(o.attributes);
+ checkUnnamed1326(o.attributes);
unittest.expect(o.pushEndpoint, unittest.equals('foo'));
}
buildCounterPushConfig--;
@@ -532,6 +619,42 @@
buildCounterReceivedMessage--;
}
+core.int buildCounterSeekRequest = 0;
+buildSeekRequest() {
+ var o = new api.SeekRequest();
+ buildCounterSeekRequest++;
+ if (buildCounterSeekRequest < 3) {
+ o.snapshot = "foo";
+ o.time = "foo";
+ }
+ buildCounterSeekRequest--;
+ return o;
+}
+
+checkSeekRequest(api.SeekRequest o) {
+ buildCounterSeekRequest++;
+ if (buildCounterSeekRequest < 3) {
+ unittest.expect(o.snapshot, unittest.equals('foo'));
+ unittest.expect(o.time, unittest.equals('foo'));
+ }
+ buildCounterSeekRequest--;
+}
+
+core.int buildCounterSeekResponse = 0;
+buildSeekResponse() {
+ var o = new api.SeekResponse();
+ buildCounterSeekResponse++;
+ if (buildCounterSeekResponse < 3) {}
+ buildCounterSeekResponse--;
+ return o;
+}
+
+checkSeekResponse(api.SeekResponse o) {
+ buildCounterSeekResponse++;
+ if (buildCounterSeekResponse < 3) {}
+ buildCounterSeekResponse--;
+}
+
core.int buildCounterSetIamPolicyRequest = 0;
buildSetIamPolicyRequest() {
var o = new api.SetIamPolicyRequest();
@@ -551,14 +674,39 @@
buildCounterSetIamPolicyRequest--;
}
+core.int buildCounterSnapshot = 0;
+buildSnapshot() {
+ var o = new api.Snapshot();
+ buildCounterSnapshot++;
+ if (buildCounterSnapshot < 3) {
+ o.expireTime = "foo";
+ o.name = "foo";
+ o.topic = "foo";
+ }
+ buildCounterSnapshot--;
+ return o;
+}
+
+checkSnapshot(api.Snapshot o) {
+ buildCounterSnapshot++;
+ if (buildCounterSnapshot < 3) {
+ unittest.expect(o.expireTime, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.topic, unittest.equals('foo'));
+ }
+ buildCounterSnapshot--;
+}
+
core.int buildCounterSubscription = 0;
buildSubscription() {
var o = new api.Subscription();
buildCounterSubscription++;
if (buildCounterSubscription < 3) {
o.ackDeadlineSeconds = 42;
+ o.messageRetentionDuration = "foo";
o.name = "foo";
o.pushConfig = buildPushConfig();
+ o.retainAckedMessages = true;
o.topic = "foo";
}
buildCounterSubscription--;
@@ -569,21 +717,23 @@
buildCounterSubscription++;
if (buildCounterSubscription < 3) {
unittest.expect(o.ackDeadlineSeconds, unittest.equals(42));
+ unittest.expect(o.messageRetentionDuration, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkPushConfig(o.pushConfig);
+ unittest.expect(o.retainAckedMessages, unittest.isTrue);
unittest.expect(o.topic, unittest.equals('foo'));
}
buildCounterSubscription--;
}
-buildUnnamed1318() {
+buildUnnamed1327() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1318(core.List<core.String> o) {
+checkUnnamed1327(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -594,7 +744,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1318();
+ o.permissions = buildUnnamed1327();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -603,19 +753,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1318(o.permissions);
+ checkUnnamed1327(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1319() {
+buildUnnamed1328() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1319(core.List<core.String> o) {
+checkUnnamed1328(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -626,7 +776,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1319();
+ o.permissions = buildUnnamed1328();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -635,7 +785,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1319(o.permissions);
+ checkUnnamed1328(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -659,6 +809,48 @@
buildCounterTopic--;
}
+core.int buildCounterUpdateSnapshotRequest = 0;
+buildUpdateSnapshotRequest() {
+ var o = new api.UpdateSnapshotRequest();
+ buildCounterUpdateSnapshotRequest++;
+ if (buildCounterUpdateSnapshotRequest < 3) {
+ o.snapshot = buildSnapshot();
+ o.updateMask = "foo";
+ }
+ buildCounterUpdateSnapshotRequest--;
+ return o;
+}
+
+checkUpdateSnapshotRequest(api.UpdateSnapshotRequest o) {
+ buildCounterUpdateSnapshotRequest++;
+ if (buildCounterUpdateSnapshotRequest < 3) {
+ checkSnapshot(o.snapshot);
+ unittest.expect(o.updateMask, unittest.equals('foo'));
+ }
+ buildCounterUpdateSnapshotRequest--;
+}
+
+core.int buildCounterUpdateSubscriptionRequest = 0;
+buildUpdateSubscriptionRequest() {
+ var o = new api.UpdateSubscriptionRequest();
+ buildCounterUpdateSubscriptionRequest++;
+ if (buildCounterUpdateSubscriptionRequest < 3) {
+ o.subscription = buildSubscription();
+ o.updateMask = "foo";
+ }
+ buildCounterUpdateSubscriptionRequest--;
+ return o;
+}
+
+checkUpdateSubscriptionRequest(api.UpdateSubscriptionRequest o) {
+ buildCounterUpdateSubscriptionRequest++;
+ if (buildCounterUpdateSubscriptionRequest < 3) {
+ checkSubscription(o.subscription);
+ unittest.expect(o.updateMask, unittest.equals('foo'));
+ }
+ buildCounterUpdateSubscriptionRequest--;
+}
+
main() {
unittest.group("obj-schema-AcknowledgeRequest", () {
unittest.test("to-json--from-json", () {
@@ -676,6 +868,14 @@
});
});
+ unittest.group("obj-schema-CreateSnapshotRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreateSnapshotRequest();
+ var od = new api.CreateSnapshotRequest.fromJson(o.toJson());
+ checkCreateSnapshotRequest(od);
+ });
+ });
+
unittest.group("obj-schema-Empty", () {
unittest.test("to-json--from-json", () {
var o = buildEmpty();
@@ -684,6 +884,14 @@
});
});
+ unittest.group("obj-schema-ListSnapshotsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListSnapshotsResponse();
+ var od = new api.ListSnapshotsResponse.fromJson(o.toJson());
+ checkListSnapshotsResponse(od);
+ });
+ });
+
unittest.group("obj-schema-ListSubscriptionsResponse", () {
unittest.test("to-json--from-json", () {
var o = buildListSubscriptionsResponse();
@@ -692,6 +900,14 @@
});
});
+ unittest.group("obj-schema-ListTopicSnapshotsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListTopicSnapshotsResponse();
+ var od = new api.ListTopicSnapshotsResponse.fromJson(o.toJson());
+ checkListTopicSnapshotsResponse(od);
+ });
+ });
+
unittest.group("obj-schema-ListTopicSubscriptionsResponse", () {
unittest.test("to-json--from-json", () {
var o = buildListTopicSubscriptionsResponse();
@@ -788,6 +1004,22 @@
});
});
+ unittest.group("obj-schema-SeekRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSeekRequest();
+ var od = new api.SeekRequest.fromJson(o.toJson());
+ checkSeekRequest(od);
+ });
+ });
+
+ unittest.group("obj-schema-SeekResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSeekResponse();
+ var od = new api.SeekResponse.fromJson(o.toJson());
+ checkSeekResponse(od);
+ });
+ });
+
unittest.group("obj-schema-SetIamPolicyRequest", () {
unittest.test("to-json--from-json", () {
var o = buildSetIamPolicyRequest();
@@ -796,6 +1028,14 @@
});
});
+ unittest.group("obj-schema-Snapshot", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSnapshot();
+ var od = new api.Snapshot.fromJson(o.toJson());
+ checkSnapshot(od);
+ });
+ });
+
unittest.group("obj-schema-Subscription", () {
unittest.test("to-json--from-json", () {
var o = buildSubscription();
@@ -828,7 +1068,131 @@
});
});
+ unittest.group("obj-schema-UpdateSnapshotRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUpdateSnapshotRequest();
+ var od = new api.UpdateSnapshotRequest.fromJson(o.toJson());
+ checkUpdateSnapshotRequest(od);
+ });
+ });
+
+ unittest.group("obj-schema-UpdateSubscriptionRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUpdateSubscriptionRequest();
+ var od = new api.UpdateSubscriptionRequest.fromJson(o.toJson());
+ checkUpdateSubscriptionRequest(od);
+ });
+ });
+
unittest.group("resource-ProjectsSnapshotsResourceApi", () {
+ unittest.test("method--create", () {
+ var mock = new HttpServerMock();
+ api.ProjectsSnapshotsResourceApi res =
+ new api.PubsubApi(mock).projects.snapshots;
+ var arg_request = buildCreateSnapshotRequest();
+ var arg_name = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.CreateSnapshotRequest.fromJson(json);
+ checkCreateSnapshotRequest(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 = {};
+ 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(buildSnapshot());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .create(arg_request, arg_name, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Snapshot response) {
+ checkSnapshot(response);
+ })));
+ });
+
+ unittest.test("method--delete", () {
+ var mock = new HttpServerMock();
+ api.ProjectsSnapshotsResourceApi res =
+ new api.PubsubApi(mock).projects.snapshots;
+ var arg_snapshot = "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 = {};
+ 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(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .delete(arg_snapshot, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
unittest.test("method--getIamPolicy", () {
var mock = new HttpServerMock();
api.ProjectsSnapshotsResourceApi res =
@@ -881,6 +1245,123 @@
})));
});
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.ProjectsSnapshotsResourceApi res =
+ new api.PubsubApi(mock).projects.snapshots;
+ var arg_project = "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;
+ 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 = {};
+ 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["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 = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListSnapshotsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_project,
+ pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.ListSnapshotsResponse response) {
+ checkListSnapshotsResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.ProjectsSnapshotsResourceApi res =
+ new api.PubsubApi(mock).projects.snapshots;
+ var arg_request = buildUpdateSnapshotRequest();
+ var arg_name = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.UpdateSnapshotRequest.fromJson(json);
+ checkUpdateSnapshotRequest(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 = {};
+ 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(buildSnapshot());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_name, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Snapshot response) {
+ checkSnapshot(response);
+ })));
+ });
+
unittest.test("method--setIamPolicy", () {
var mock = new HttpServerMock();
api.ProjectsSnapshotsResourceApi res =
@@ -1439,6 +1920,62 @@
})));
});
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.ProjectsSubscriptionsResourceApi res =
+ new api.PubsubApi(mock).projects.subscriptions;
+ var arg_request = buildUpdateSubscriptionRequest();
+ var arg_name = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.UpdateSubscriptionRequest.fromJson(json);
+ checkUpdateSubscriptionRequest(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 = {};
+ 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(buildSubscription());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_name, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Subscription response) {
+ checkSubscription(response);
+ })));
+ });
+
unittest.test("method--pull", () {
var mock = new HttpServerMock();
api.ProjectsSubscriptionsResourceApi res =
@@ -1495,6 +2032,62 @@
})));
});
+ unittest.test("method--seek", () {
+ var mock = new HttpServerMock();
+ api.ProjectsSubscriptionsResourceApi res =
+ new api.PubsubApi(mock).projects.subscriptions;
+ var arg_request = buildSeekRequest();
+ var arg_subscription = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.SeekRequest.fromJson(json);
+ checkSeekRequest(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 = {};
+ 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(buildSeekResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .seek(arg_request, arg_subscription, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.SeekResponse response) {
+ checkSeekResponse(response);
+ })));
+ });
+
unittest.test("method--setIamPolicy", () {
var mock = new HttpServerMock();
api.ProjectsSubscriptionsResourceApi res =
@@ -2053,6 +2646,70 @@
});
});
+ unittest.group("resource-ProjectsTopicsSnapshotsResourceApi", () {
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.ProjectsTopicsSnapshotsResourceApi res =
+ new api.PubsubApi(mock).projects.topics.snapshots;
+ var arg_topic = "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;
+ 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 = {};
+ 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["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 = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListTopicSnapshotsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_topic,
+ pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ $fields: arg_$fields)
+ .then(
+ unittest.expectAsync1(((api.ListTopicSnapshotsResponse response) {
+ checkListTopicSnapshotsResponse(response);
+ })));
+ });
+ });
+
unittest.group("resource-ProjectsTopicsSubscriptionsResourceApi", () {
unittest.test("method--list", () {
var mock = new HttpServerMock();
diff --git a/generated/googleapis/test/reseller/v1_test.dart b/generated/googleapis/test/reseller/v1_test.dart
index 3646d1f..766ecec 100644
--- a/generated/googleapis/test/reseller/v1_test.dart
+++ b/generated/googleapis/test/reseller/v1_test.dart
@@ -168,14 +168,14 @@
buildCounterRenewalSettings--;
}
-buildUnnamed2583() {
+buildUnnamed2602() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2583(core.List<core.String> o) {
+checkUnnamed2602(core.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 = buildUnnamed2583();
+ o.serviceAccountEmailAddresses = buildUnnamed2602();
o.topicName = "foo";
}
buildCounterResellernotifyGetwatchdetailsResponse--;
@@ -197,7 +197,7 @@
api.ResellernotifyGetwatchdetailsResponse o) {
buildCounterResellernotifyGetwatchdetailsResponse++;
if (buildCounterResellernotifyGetwatchdetailsResponse < 3) {
- checkUnnamed2583(o.serviceAccountEmailAddresses);
+ checkUnnamed2602(o.serviceAccountEmailAddresses);
unittest.expect(o.topicName, unittest.equals('foo'));
}
buildCounterResellernotifyGetwatchdetailsResponse--;
@@ -292,14 +292,14 @@
buildCounterSubscriptionPlan--;
}
-buildUnnamed2584() {
+buildUnnamed2603() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2584(core.List<core.String> o) {
+checkUnnamed2603(core.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 = buildUnnamed2584();
+ o.suspensionReasons = buildUnnamed2603();
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'));
- checkUnnamed2584(o.suspensionReasons);
+ checkUnnamed2603(o.suspensionReasons);
checkSubscriptionTransferInfo(o.transferInfo);
checkSubscriptionTrialSettings(o.trialSettings);
}
buildCounterSubscription--;
}
-buildUnnamed2585() {
+buildUnnamed2604() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed2585(core.List<api.Subscription> o) {
+checkUnnamed2604(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 = buildUnnamed2585();
+ o.subscriptions = buildUnnamed2604();
}
buildCounterSubscriptions--;
return o;
@@ -431,7 +431,7 @@
if (buildCounterSubscriptions < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2585(o.subscriptions);
+ checkUnnamed2604(o.subscriptions);
}
buildCounterSubscriptions--;
}
diff --git a/generated/googleapis/test/runtimeconfig/v1_test.dart b/generated/googleapis/test/runtimeconfig/v1_test.dart
index 4fd6d45..a281c5d 100644
--- a/generated/googleapis/test/runtimeconfig/v1_test.dart
+++ b/generated/googleapis/test/runtimeconfig/v1_test.dart
@@ -80,14 +80,14 @@
buildCounterEmpty--;
}
-buildUnnamed2005() {
+buildUnnamed2019() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2005(core.List<api.Operation> o) {
+checkUnnamed2019(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 = buildUnnamed2005();
+ o.operations = buildUnnamed2019();
}
buildCounterListOperationsResponse--;
return o;
@@ -109,12 +109,12 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2005(o.operations);
+ checkUnnamed2019(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed2006() {
+buildUnnamed2020() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -129,7 +129,7 @@
return o;
}
-checkUnnamed2006(core.Map<core.String, core.Object> o) {
+checkUnnamed2020(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'));
}
-buildUnnamed2007() {
+buildUnnamed2021() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -158,7 +158,7 @@
return o;
}
-checkUnnamed2007(core.Map<core.String, core.Object> o) {
+checkUnnamed2021(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 = buildUnnamed2006();
+ o.metadata = buildUnnamed2020();
o.name = "foo";
- o.response = buildUnnamed2007();
+ o.response = buildUnnamed2021();
}
buildCounterOperation--;
return o;
@@ -192,14 +192,14 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2006(o.metadata);
+ checkUnnamed2020(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2007(o.response);
+ checkUnnamed2021(o.response);
}
buildCounterOperation--;
}
-buildUnnamed2008() {
+buildUnnamed2022() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -214,7 +214,7 @@
return o;
}
-checkUnnamed2008(core.Map<core.String, core.Object> o) {
+checkUnnamed2022(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'));
}
-buildUnnamed2009() {
+buildUnnamed2023() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2008());
- o.add(buildUnnamed2008());
+ o.add(buildUnnamed2022());
+ o.add(buildUnnamed2022());
return o;
}
-checkUnnamed2009(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2023(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2008(o[0]);
- checkUnnamed2008(o[1]);
+ checkUnnamed2022(o[0]);
+ checkUnnamed2022(o[1]);
}
core.int buildCounterStatus = 0;
@@ -247,7 +247,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2009();
+ o.details = buildUnnamed2023();
o.message = "foo";
}
buildCounterStatus--;
@@ -258,7 +258,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2009(o.details);
+ checkUnnamed2023(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_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;
@@ -451,11 +451,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 = {
@@ -466,9 +466,9 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
filter: arg_filter,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/safebrowsing/v4_test.dart b/generated/googleapis/test/safebrowsing/v4_test.dart
index 5652581..40bea51 100644
--- a/generated/googleapis/test/safebrowsing/v4_test.dart
+++ b/generated/googleapis/test/safebrowsing/v4_test.dart
@@ -90,14 +90,14 @@
buildCounterClientInfo--;
}
-buildUnnamed1122() {
+buildUnnamed1129() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1122(core.List<core.String> o) {
+checkUnnamed1129(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -111,7 +111,7 @@
o.maxDatabaseEntries = 42;
o.maxUpdateEntries = 42;
o.region = "foo";
- o.supportedCompressions = buildUnnamed1122();
+ o.supportedCompressions = buildUnnamed1129();
}
buildCounterConstraints--;
return o;
@@ -123,19 +123,19 @@
unittest.expect(o.maxDatabaseEntries, unittest.equals(42));
unittest.expect(o.maxUpdateEntries, unittest.equals(42));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed1122(o.supportedCompressions);
+ checkUnnamed1129(o.supportedCompressions);
}
buildCounterConstraints--;
}
-buildUnnamed1123() {
+buildUnnamed1130() {
var o = new core.List<api.ListUpdateRequest>();
o.add(buildListUpdateRequest());
o.add(buildListUpdateRequest());
return o;
}
-checkUnnamed1123(core.List<api.ListUpdateRequest> o) {
+checkUnnamed1130(core.List<api.ListUpdateRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkListUpdateRequest(o[0]);
checkListUpdateRequest(o[1]);
@@ -147,7 +147,7 @@
buildCounterFetchThreatListUpdatesRequest++;
if (buildCounterFetchThreatListUpdatesRequest < 3) {
o.client = buildClientInfo();
- o.listUpdateRequests = buildUnnamed1123();
+ o.listUpdateRequests = buildUnnamed1130();
}
buildCounterFetchThreatListUpdatesRequest--;
return o;
@@ -157,19 +157,19 @@
buildCounterFetchThreatListUpdatesRequest++;
if (buildCounterFetchThreatListUpdatesRequest < 3) {
checkClientInfo(o.client);
- checkUnnamed1123(o.listUpdateRequests);
+ checkUnnamed1130(o.listUpdateRequests);
}
buildCounterFetchThreatListUpdatesRequest--;
}
-buildUnnamed1124() {
+buildUnnamed1131() {
var o = new core.List<api.ListUpdateResponse>();
o.add(buildListUpdateResponse());
o.add(buildListUpdateResponse());
return o;
}
-checkUnnamed1124(core.List<api.ListUpdateResponse> o) {
+checkUnnamed1131(core.List<api.ListUpdateResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkListUpdateResponse(o[0]);
checkListUpdateResponse(o[1]);
@@ -180,7 +180,7 @@
var o = new api.FetchThreatListUpdatesResponse();
buildCounterFetchThreatListUpdatesResponse++;
if (buildCounterFetchThreatListUpdatesResponse < 3) {
- o.listUpdateResponses = buildUnnamed1124();
+ o.listUpdateResponses = buildUnnamed1131();
o.minimumWaitDuration = "foo";
}
buildCounterFetchThreatListUpdatesResponse--;
@@ -190,20 +190,20 @@
checkFetchThreatListUpdatesResponse(api.FetchThreatListUpdatesResponse o) {
buildCounterFetchThreatListUpdatesResponse++;
if (buildCounterFetchThreatListUpdatesResponse < 3) {
- checkUnnamed1124(o.listUpdateResponses);
+ checkUnnamed1131(o.listUpdateResponses);
unittest.expect(o.minimumWaitDuration, unittest.equals('foo'));
}
buildCounterFetchThreatListUpdatesResponse--;
}
-buildUnnamed1125() {
+buildUnnamed1132() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1125(core.List<core.String> o) {
+checkUnnamed1132(core.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 (buildCounterFindFullHashesRequest < 3) {
o.apiClient = buildClientInfo();
o.client = buildClientInfo();
- o.clientStates = buildUnnamed1125();
+ o.clientStates = buildUnnamed1132();
o.threatInfo = buildThreatInfo();
}
buildCounterFindFullHashesRequest--;
@@ -228,20 +228,20 @@
if (buildCounterFindFullHashesRequest < 3) {
checkClientInfo(o.apiClient);
checkClientInfo(o.client);
- checkUnnamed1125(o.clientStates);
+ checkUnnamed1132(o.clientStates);
checkThreatInfo(o.threatInfo);
}
buildCounterFindFullHashesRequest--;
}
-buildUnnamed1126() {
+buildUnnamed1133() {
var o = new core.List<api.ThreatMatch>();
o.add(buildThreatMatch());
o.add(buildThreatMatch());
return o;
}
-checkUnnamed1126(core.List<api.ThreatMatch> o) {
+checkUnnamed1133(core.List<api.ThreatMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatMatch(o[0]);
checkThreatMatch(o[1]);
@@ -252,7 +252,7 @@
var o = new api.FindFullHashesResponse();
buildCounterFindFullHashesResponse++;
if (buildCounterFindFullHashesResponse < 3) {
- o.matches = buildUnnamed1126();
+ o.matches = buildUnnamed1133();
o.minimumWaitDuration = "foo";
o.negativeCacheDuration = "foo";
}
@@ -263,7 +263,7 @@
checkFindFullHashesResponse(api.FindFullHashesResponse o) {
buildCounterFindFullHashesResponse++;
if (buildCounterFindFullHashesResponse < 3) {
- checkUnnamed1126(o.matches);
+ checkUnnamed1133(o.matches);
unittest.expect(o.minimumWaitDuration, unittest.equals('foo'));
unittest.expect(o.negativeCacheDuration, unittest.equals('foo'));
}
@@ -291,14 +291,14 @@
buildCounterFindThreatMatchesRequest--;
}
-buildUnnamed1127() {
+buildUnnamed1134() {
var o = new core.List<api.ThreatMatch>();
o.add(buildThreatMatch());
o.add(buildThreatMatch());
return o;
}
-checkUnnamed1127(core.List<api.ThreatMatch> o) {
+checkUnnamed1134(core.List<api.ThreatMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatMatch(o[0]);
checkThreatMatch(o[1]);
@@ -309,7 +309,7 @@
var o = new api.FindThreatMatchesResponse();
buildCounterFindThreatMatchesResponse++;
if (buildCounterFindThreatMatchesResponse < 3) {
- o.matches = buildUnnamed1127();
+ o.matches = buildUnnamed1134();
}
buildCounterFindThreatMatchesResponse--;
return o;
@@ -318,19 +318,19 @@
checkFindThreatMatchesResponse(api.FindThreatMatchesResponse o) {
buildCounterFindThreatMatchesResponse++;
if (buildCounterFindThreatMatchesResponse < 3) {
- checkUnnamed1127(o.matches);
+ checkUnnamed1134(o.matches);
}
buildCounterFindThreatMatchesResponse--;
}
-buildUnnamed1128() {
+buildUnnamed1135() {
var o = new core.List<api.ThreatListDescriptor>();
o.add(buildThreatListDescriptor());
o.add(buildThreatListDescriptor());
return o;
}
-checkUnnamed1128(core.List<api.ThreatListDescriptor> o) {
+checkUnnamed1135(core.List<api.ThreatListDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatListDescriptor(o[0]);
checkThreatListDescriptor(o[1]);
@@ -341,7 +341,7 @@
var o = new api.ListThreatListsResponse();
buildCounterListThreatListsResponse++;
if (buildCounterListThreatListsResponse < 3) {
- o.threatLists = buildUnnamed1128();
+ o.threatLists = buildUnnamed1135();
}
buildCounterListThreatListsResponse--;
return o;
@@ -350,7 +350,7 @@
checkListThreatListsResponse(api.ListThreatListsResponse o) {
buildCounterListThreatListsResponse++;
if (buildCounterListThreatListsResponse < 3) {
- checkUnnamed1128(o.threatLists);
+ checkUnnamed1135(o.threatLists);
}
buildCounterListThreatListsResponse--;
}
@@ -382,27 +382,27 @@
buildCounterListUpdateRequest--;
}
-buildUnnamed1129() {
+buildUnnamed1136() {
var o = new core.List<api.ThreatEntrySet>();
o.add(buildThreatEntrySet());
o.add(buildThreatEntrySet());
return o;
}
-checkUnnamed1129(core.List<api.ThreatEntrySet> o) {
+checkUnnamed1136(core.List<api.ThreatEntrySet> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntrySet(o[0]);
checkThreatEntrySet(o[1]);
}
-buildUnnamed1130() {
+buildUnnamed1137() {
var o = new core.List<api.ThreatEntrySet>();
o.add(buildThreatEntrySet());
o.add(buildThreatEntrySet());
return o;
}
-checkUnnamed1130(core.List<api.ThreatEntrySet> o) {
+checkUnnamed1137(core.List<api.ThreatEntrySet> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntrySet(o[0]);
checkThreatEntrySet(o[1]);
@@ -413,11 +413,11 @@
var o = new api.ListUpdateResponse();
buildCounterListUpdateResponse++;
if (buildCounterListUpdateResponse < 3) {
- o.additions = buildUnnamed1129();
+ o.additions = buildUnnamed1136();
o.checksum = buildChecksum();
o.newClientState = "foo";
o.platformType = "foo";
- o.removals = buildUnnamed1130();
+ o.removals = buildUnnamed1137();
o.responseType = "foo";
o.threatEntryType = "foo";
o.threatType = "foo";
@@ -429,11 +429,11 @@
checkListUpdateResponse(api.ListUpdateResponse o) {
buildCounterListUpdateResponse++;
if (buildCounterListUpdateResponse < 3) {
- checkUnnamed1129(o.additions);
+ checkUnnamed1136(o.additions);
checkChecksum(o.checksum);
unittest.expect(o.newClientState, unittest.equals('foo'));
unittest.expect(o.platformType, unittest.equals('foo'));
- checkUnnamed1130(o.removals);
+ checkUnnamed1137(o.removals);
unittest.expect(o.responseType, unittest.equals('foo'));
unittest.expect(o.threatEntryType, unittest.equals('foo'));
unittest.expect(o.threatType, unittest.equals('foo'));
@@ -483,14 +483,14 @@
buildCounterRawHashes--;
}
-buildUnnamed1131() {
+buildUnnamed1138() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1131(core.List<core.int> o) {
+checkUnnamed1138(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));
@@ -501,7 +501,7 @@
var o = new api.RawIndices();
buildCounterRawIndices++;
if (buildCounterRawIndices < 3) {
- o.indices = buildUnnamed1131();
+ o.indices = buildUnnamed1138();
}
buildCounterRawIndices--;
return o;
@@ -510,7 +510,7 @@
checkRawIndices(api.RawIndices o) {
buildCounterRawIndices++;
if (buildCounterRawIndices < 3) {
- checkUnnamed1131(o.indices);
+ checkUnnamed1138(o.indices);
}
buildCounterRawIndices--;
}
@@ -563,14 +563,14 @@
buildCounterThreatEntry--;
}
-buildUnnamed1132() {
+buildUnnamed1139() {
var o = new core.List<api.MetadataEntry>();
o.add(buildMetadataEntry());
o.add(buildMetadataEntry());
return o;
}
-checkUnnamed1132(core.List<api.MetadataEntry> o) {
+checkUnnamed1139(core.List<api.MetadataEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataEntry(o[0]);
checkMetadataEntry(o[1]);
@@ -581,7 +581,7 @@
var o = new api.ThreatEntryMetadata();
buildCounterThreatEntryMetadata++;
if (buildCounterThreatEntryMetadata < 3) {
- o.entries = buildUnnamed1132();
+ o.entries = buildUnnamed1139();
}
buildCounterThreatEntryMetadata--;
return o;
@@ -590,7 +590,7 @@
checkThreatEntryMetadata(api.ThreatEntryMetadata o) {
buildCounterThreatEntryMetadata++;
if (buildCounterThreatEntryMetadata < 3) {
- checkUnnamed1132(o.entries);
+ checkUnnamed1139(o.entries);
}
buildCounterThreatEntryMetadata--;
}
@@ -622,53 +622,53 @@
buildCounterThreatEntrySet--;
}
-buildUnnamed1133() {
+buildUnnamed1140() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1133(core.List<core.String> o) {
+checkUnnamed1140(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1134() {
+buildUnnamed1141() {
var o = new core.List<api.ThreatEntry>();
o.add(buildThreatEntry());
o.add(buildThreatEntry());
return o;
}
-checkUnnamed1134(core.List<api.ThreatEntry> o) {
+checkUnnamed1141(core.List<api.ThreatEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntry(o[0]);
checkThreatEntry(o[1]);
}
-buildUnnamed1135() {
+buildUnnamed1142() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1135(core.List<core.String> o) {
+checkUnnamed1142(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1136() {
+buildUnnamed1143() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1136(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'));
@@ -679,10 +679,10 @@
var o = new api.ThreatInfo();
buildCounterThreatInfo++;
if (buildCounterThreatInfo < 3) {
- o.platformTypes = buildUnnamed1133();
- o.threatEntries = buildUnnamed1134();
- o.threatEntryTypes = buildUnnamed1135();
- o.threatTypes = buildUnnamed1136();
+ o.platformTypes = buildUnnamed1140();
+ o.threatEntries = buildUnnamed1141();
+ o.threatEntryTypes = buildUnnamed1142();
+ o.threatTypes = buildUnnamed1143();
}
buildCounterThreatInfo--;
return o;
@@ -691,10 +691,10 @@
checkThreatInfo(api.ThreatInfo o) {
buildCounterThreatInfo++;
if (buildCounterThreatInfo < 3) {
- checkUnnamed1133(o.platformTypes);
- checkUnnamed1134(o.threatEntries);
- checkUnnamed1135(o.threatEntryTypes);
- checkUnnamed1136(o.threatTypes);
+ checkUnnamed1140(o.platformTypes);
+ checkUnnamed1141(o.threatEntries);
+ checkUnnamed1142(o.threatEntryTypes);
+ checkUnnamed1143(o.threatTypes);
}
buildCounterThreatInfo--;
}
@@ -934,8 +934,8 @@
api.EncodedFullHashesResourceApi res =
new api.SafebrowsingApi(mock).encodedFullHashes;
var arg_encodedRequest = "foo";
- var arg_clientId = "foo";
var arg_clientVersion = "foo";
+ var arg_clientId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -970,10 +970,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["clientId"].first, unittest.equals(arg_clientId));
unittest.expect(queryMap["clientVersion"].first,
unittest.equals(arg_clientVersion));
+ unittest.expect(
+ queryMap["clientId"].first, unittest.equals(arg_clientId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -984,8 +984,8 @@
}), true);
res
.get(arg_encodedRequest,
- clientId: arg_clientId,
clientVersion: arg_clientVersion,
+ clientId: arg_clientId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.FindFullHashesResponse response) {
checkFindFullHashesResponse(response);
diff --git a/generated/googleapis/test/script/v1_test.dart b/generated/googleapis/test/script/v1_test.dart
index 4271c2a..800e41e 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);
}
-buildUnnamed836() {
+buildUnnamed843() {
var o = new core.List<api.ScriptStackTraceElement>();
o.add(buildScriptStackTraceElement());
o.add(buildScriptStackTraceElement());
return o;
}
-checkUnnamed836(core.List<api.ScriptStackTraceElement> o) {
+checkUnnamed843(core.List<api.ScriptStackTraceElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkScriptStackTraceElement(o[0]);
checkScriptStackTraceElement(o[1]);
@@ -70,7 +70,7 @@
if (buildCounterExecutionError < 3) {
o.errorMessage = "foo";
o.errorType = "foo";
- o.scriptStackTraceElements = buildUnnamed836();
+ o.scriptStackTraceElements = buildUnnamed843();
}
buildCounterExecutionError--;
return o;
@@ -81,12 +81,12 @@
if (buildCounterExecutionError < 3) {
unittest.expect(o.errorMessage, unittest.equals('foo'));
unittest.expect(o.errorType, unittest.equals('foo'));
- checkUnnamed836(o.scriptStackTraceElements);
+ checkUnnamed843(o.scriptStackTraceElements);
}
buildCounterExecutionError--;
}
-buildUnnamed837() {
+buildUnnamed844() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -101,7 +101,7 @@
return o;
}
-checkUnnamed837(core.List<core.Object> o) {
+checkUnnamed844(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -122,7 +122,7 @@
if (buildCounterExecutionRequest < 3) {
o.devMode = true;
o.function = "foo";
- o.parameters = buildUnnamed837();
+ o.parameters = buildUnnamed844();
o.sessionState = "foo";
}
buildCounterExecutionRequest--;
@@ -134,7 +134,7 @@
if (buildCounterExecutionRequest < 3) {
unittest.expect(o.devMode, unittest.isTrue);
unittest.expect(o.function, unittest.equals('foo'));
- checkUnnamed837(o.parameters);
+ checkUnnamed844(o.parameters);
unittest.expect(o.sessionState, unittest.equals('foo'));
}
buildCounterExecutionRequest--;
@@ -167,7 +167,7 @@
buildCounterExecutionResponse--;
}
-buildUnnamed838() {
+buildUnnamed845() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -182,7 +182,7 @@
return o;
}
-checkUnnamed838(core.Map<core.String, core.Object> o) {
+checkUnnamed845(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));
@@ -203,7 +203,7 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.response = buildUnnamed838();
+ o.response = buildUnnamed845();
}
buildCounterOperation--;
return o;
@@ -214,7 +214,7 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed838(o.response);
+ checkUnnamed845(o.response);
}
buildCounterOperation--;
}
@@ -240,7 +240,7 @@
buildCounterScriptStackTraceElement--;
}
-buildUnnamed839() {
+buildUnnamed846() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -255,7 +255,7 @@
return o;
}
-checkUnnamed839(core.Map<core.String, core.Object> o) {
+checkUnnamed846(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));
@@ -269,17 +269,17 @@
unittest.expect(casted7["string"], unittest.equals('foo'));
}
-buildUnnamed840() {
+buildUnnamed847() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed839());
- o.add(buildUnnamed839());
+ o.add(buildUnnamed846());
+ o.add(buildUnnamed846());
return o;
}
-checkUnnamed840(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed847(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed839(o[0]);
- checkUnnamed839(o[1]);
+ checkUnnamed846(o[0]);
+ checkUnnamed846(o[1]);
}
core.int buildCounterStatus = 0;
@@ -288,7 +288,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed840();
+ o.details = buildUnnamed847();
o.message = "foo";
}
buildCounterStatus--;
@@ -299,7 +299,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed840(o.details);
+ checkUnnamed847(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
diff --git a/generated/googleapis/test/searchconsole/v1_test.dart b/generated/googleapis/test/searchconsole/v1_test.dart
index 110fc3d..c70cece 100644
--- a/generated/googleapis/test/searchconsole/v1_test.dart
+++ b/generated/googleapis/test/searchconsole/v1_test.dart
@@ -149,27 +149,27 @@
buildCounterRunMobileFriendlyTestRequest--;
}
-buildUnnamed1266() {
+buildUnnamed1273() {
var o = new core.List<api.MobileFriendlyIssue>();
o.add(buildMobileFriendlyIssue());
o.add(buildMobileFriendlyIssue());
return o;
}
-checkUnnamed1266(core.List<api.MobileFriendlyIssue> o) {
+checkUnnamed1273(core.List<api.MobileFriendlyIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileFriendlyIssue(o[0]);
checkMobileFriendlyIssue(o[1]);
}
-buildUnnamed1267() {
+buildUnnamed1274() {
var o = new core.List<api.ResourceIssue>();
o.add(buildResourceIssue());
o.add(buildResourceIssue());
return o;
}
-checkUnnamed1267(core.List<api.ResourceIssue> o) {
+checkUnnamed1274(core.List<api.ResourceIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceIssue(o[0]);
checkResourceIssue(o[1]);
@@ -181,8 +181,8 @@
buildCounterRunMobileFriendlyTestResponse++;
if (buildCounterRunMobileFriendlyTestResponse < 3) {
o.mobileFriendliness = "foo";
- o.mobileFriendlyIssues = buildUnnamed1266();
- o.resourceIssues = buildUnnamed1267();
+ o.mobileFriendlyIssues = buildUnnamed1273();
+ o.resourceIssues = buildUnnamed1274();
o.screenshot = buildImage();
o.testStatus = buildTestStatus();
}
@@ -194,8 +194,8 @@
buildCounterRunMobileFriendlyTestResponse++;
if (buildCounterRunMobileFriendlyTestResponse < 3) {
unittest.expect(o.mobileFriendliness, unittest.equals('foo'));
- checkUnnamed1266(o.mobileFriendlyIssues);
- checkUnnamed1267(o.resourceIssues);
+ checkUnnamed1273(o.mobileFriendlyIssues);
+ checkUnnamed1274(o.resourceIssues);
checkImage(o.screenshot);
checkTestStatus(o.testStatus);
}
diff --git a/generated/googleapis/test/serviceconsumermanagement/v1_test.dart b/generated/googleapis/test/serviceconsumermanagement/v1_test.dart
new file mode 100644
index 0000000..df55ef1
--- /dev/null
+++ b/generated/googleapis/test/serviceconsumermanagement/v1_test.dart
@@ -0,0 +1,3990 @@
+library googleapis.serviceconsumermanagement.v1.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/serviceconsumermanagement/v1.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 buildCounterAddTenantProjectRequest = 0;
+buildAddTenantProjectRequest() {
+ var o = new api.AddTenantProjectRequest();
+ buildCounterAddTenantProjectRequest++;
+ if (buildCounterAddTenantProjectRequest < 3) {
+ o.projectConfig = buildTenantProjectConfig();
+ o.tag = "foo";
+ }
+ buildCounterAddTenantProjectRequest--;
+ return o;
+}
+
+checkAddTenantProjectRequest(api.AddTenantProjectRequest o) {
+ buildCounterAddTenantProjectRequest++;
+ if (buildCounterAddTenantProjectRequest < 3) {
+ checkTenantProjectConfig(o.projectConfig);
+ unittest.expect(o.tag, unittest.equals('foo'));
+ }
+ buildCounterAddTenantProjectRequest--;
+}
+
+buildUnnamed3512() {
+ var o = new core.List<api.Method>();
+ o.add(buildMethod());
+ o.add(buildMethod());
+ return o;
+}
+
+checkUnnamed3512(core.List<api.Method> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMethod(o[0]);
+ checkMethod(o[1]);
+}
+
+buildUnnamed3513() {
+ var o = new core.List<api.Mixin>();
+ o.add(buildMixin());
+ o.add(buildMixin());
+ return o;
+}
+
+checkUnnamed3513(core.List<api.Mixin> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMixin(o[0]);
+ checkMixin(o[1]);
+}
+
+buildUnnamed3514() {
+ var o = new core.List<api.Option>();
+ o.add(buildOption());
+ o.add(buildOption());
+ return o;
+}
+
+checkUnnamed3514(core.List<api.Option> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOption(o[0]);
+ checkOption(o[1]);
+}
+
+core.int buildCounterApi = 0;
+buildApi() {
+ var o = new api.Api();
+ buildCounterApi++;
+ if (buildCounterApi < 3) {
+ o.methods = buildUnnamed3512();
+ o.mixins = buildUnnamed3513();
+ o.name = "foo";
+ o.options = buildUnnamed3514();
+ o.sourceContext = buildSourceContext();
+ o.syntax = "foo";
+ o.version = "foo";
+ }
+ buildCounterApi--;
+ return o;
+}
+
+checkApi(api.Api o) {
+ buildCounterApi++;
+ if (buildCounterApi < 3) {
+ checkUnnamed3512(o.methods);
+ checkUnnamed3513(o.mixins);
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed3514(o.options);
+ checkSourceContext(o.sourceContext);
+ unittest.expect(o.syntax, unittest.equals('foo'));
+ unittest.expect(o.version, unittest.equals('foo'));
+ }
+ buildCounterApi--;
+}
+
+core.int buildCounterAuthProvider = 0;
+buildAuthProvider() {
+ var o = new api.AuthProvider();
+ buildCounterAuthProvider++;
+ if (buildCounterAuthProvider < 3) {
+ o.audiences = "foo";
+ o.authorizationUrl = "foo";
+ o.id = "foo";
+ o.issuer = "foo";
+ o.jwksUri = "foo";
+ }
+ buildCounterAuthProvider--;
+ return o;
+}
+
+checkAuthProvider(api.AuthProvider o) {
+ buildCounterAuthProvider++;
+ if (buildCounterAuthProvider < 3) {
+ unittest.expect(o.audiences, unittest.equals('foo'));
+ unittest.expect(o.authorizationUrl, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.issuer, unittest.equals('foo'));
+ unittest.expect(o.jwksUri, unittest.equals('foo'));
+ }
+ buildCounterAuthProvider--;
+}
+
+core.int buildCounterAuthRequirement = 0;
+buildAuthRequirement() {
+ var o = new api.AuthRequirement();
+ buildCounterAuthRequirement++;
+ if (buildCounterAuthRequirement < 3) {
+ o.audiences = "foo";
+ o.providerId = "foo";
+ }
+ buildCounterAuthRequirement--;
+ return o;
+}
+
+checkAuthRequirement(api.AuthRequirement o) {
+ buildCounterAuthRequirement++;
+ if (buildCounterAuthRequirement < 3) {
+ unittest.expect(o.audiences, unittest.equals('foo'));
+ unittest.expect(o.providerId, unittest.equals('foo'));
+ }
+ buildCounterAuthRequirement--;
+}
+
+buildUnnamed3515() {
+ var o = new core.List<api.AuthProvider>();
+ o.add(buildAuthProvider());
+ o.add(buildAuthProvider());
+ return o;
+}
+
+checkUnnamed3515(core.List<api.AuthProvider> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAuthProvider(o[0]);
+ checkAuthProvider(o[1]);
+}
+
+buildUnnamed3516() {
+ var o = new core.List<api.AuthenticationRule>();
+ o.add(buildAuthenticationRule());
+ o.add(buildAuthenticationRule());
+ return o;
+}
+
+checkUnnamed3516(core.List<api.AuthenticationRule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAuthenticationRule(o[0]);
+ checkAuthenticationRule(o[1]);
+}
+
+core.int buildCounterAuthentication = 0;
+buildAuthentication() {
+ var o = new api.Authentication();
+ buildCounterAuthentication++;
+ if (buildCounterAuthentication < 3) {
+ o.providers = buildUnnamed3515();
+ o.rules = buildUnnamed3516();
+ }
+ buildCounterAuthentication--;
+ return o;
+}
+
+checkAuthentication(api.Authentication o) {
+ buildCounterAuthentication++;
+ if (buildCounterAuthentication < 3) {
+ checkUnnamed3515(o.providers);
+ checkUnnamed3516(o.rules);
+ }
+ buildCounterAuthentication--;
+}
+
+buildUnnamed3517() {
+ var o = new core.List<api.AuthRequirement>();
+ o.add(buildAuthRequirement());
+ o.add(buildAuthRequirement());
+ return o;
+}
+
+checkUnnamed3517(core.List<api.AuthRequirement> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAuthRequirement(o[0]);
+ checkAuthRequirement(o[1]);
+}
+
+core.int buildCounterAuthenticationRule = 0;
+buildAuthenticationRule() {
+ var o = new api.AuthenticationRule();
+ buildCounterAuthenticationRule++;
+ if (buildCounterAuthenticationRule < 3) {
+ o.allowWithoutCredential = true;
+ o.customAuth = buildCustomAuthRequirements();
+ o.oauth = buildOAuthRequirements();
+ o.requirements = buildUnnamed3517();
+ o.selector = "foo";
+ }
+ buildCounterAuthenticationRule--;
+ return o;
+}
+
+checkAuthenticationRule(api.AuthenticationRule o) {
+ buildCounterAuthenticationRule++;
+ if (buildCounterAuthenticationRule < 3) {
+ unittest.expect(o.allowWithoutCredential, unittest.isTrue);
+ checkCustomAuthRequirements(o.customAuth);
+ checkOAuthRequirements(o.oauth);
+ checkUnnamed3517(o.requirements);
+ unittest.expect(o.selector, unittest.equals('foo'));
+ }
+ buildCounterAuthenticationRule--;
+}
+
+core.int buildCounterAuthorizationConfig = 0;
+buildAuthorizationConfig() {
+ var o = new api.AuthorizationConfig();
+ buildCounterAuthorizationConfig++;
+ if (buildCounterAuthorizationConfig < 3) {
+ o.provider = "foo";
+ }
+ buildCounterAuthorizationConfig--;
+ return o;
+}
+
+checkAuthorizationConfig(api.AuthorizationConfig o) {
+ buildCounterAuthorizationConfig++;
+ if (buildCounterAuthorizationConfig < 3) {
+ unittest.expect(o.provider, unittest.equals('foo'));
+ }
+ buildCounterAuthorizationConfig--;
+}
+
+core.int buildCounterAuthorizationRule = 0;
+buildAuthorizationRule() {
+ var o = new api.AuthorizationRule();
+ buildCounterAuthorizationRule++;
+ if (buildCounterAuthorizationRule < 3) {
+ o.permissions = "foo";
+ o.selector = "foo";
+ }
+ buildCounterAuthorizationRule--;
+ return o;
+}
+
+checkAuthorizationRule(api.AuthorizationRule o) {
+ buildCounterAuthorizationRule++;
+ if (buildCounterAuthorizationRule < 3) {
+ unittest.expect(o.permissions, unittest.equals('foo'));
+ unittest.expect(o.selector, unittest.equals('foo'));
+ }
+ buildCounterAuthorizationRule--;
+}
+
+buildUnnamed3518() {
+ var o = new core.List<api.BackendRule>();
+ o.add(buildBackendRule());
+ o.add(buildBackendRule());
+ return o;
+}
+
+checkUnnamed3518(core.List<api.BackendRule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkBackendRule(o[0]);
+ checkBackendRule(o[1]);
+}
+
+core.int buildCounterBackend = 0;
+buildBackend() {
+ var o = new api.Backend();
+ buildCounterBackend++;
+ if (buildCounterBackend < 3) {
+ o.rules = buildUnnamed3518();
+ }
+ buildCounterBackend--;
+ return o;
+}
+
+checkBackend(api.Backend o) {
+ buildCounterBackend++;
+ if (buildCounterBackend < 3) {
+ checkUnnamed3518(o.rules);
+ }
+ buildCounterBackend--;
+}
+
+core.int buildCounterBackendRule = 0;
+buildBackendRule() {
+ var o = new api.BackendRule();
+ buildCounterBackendRule++;
+ if (buildCounterBackendRule < 3) {
+ o.address = "foo";
+ o.deadline = 42.0;
+ o.minDeadline = 42.0;
+ o.selector = "foo";
+ }
+ buildCounterBackendRule--;
+ return o;
+}
+
+checkBackendRule(api.BackendRule o) {
+ buildCounterBackendRule++;
+ if (buildCounterBackendRule < 3) {
+ unittest.expect(o.address, unittest.equals('foo'));
+ unittest.expect(o.deadline, unittest.equals(42.0));
+ unittest.expect(o.minDeadline, unittest.equals(42.0));
+ unittest.expect(o.selector, unittest.equals('foo'));
+ }
+ buildCounterBackendRule--;
+}
+
+buildUnnamed3519() {
+ var o = new core.List<api.BillingDestination>();
+ o.add(buildBillingDestination());
+ o.add(buildBillingDestination());
+ return o;
+}
+
+checkUnnamed3519(core.List<api.BillingDestination> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkBillingDestination(o[0]);
+ checkBillingDestination(o[1]);
+}
+
+core.int buildCounterBilling = 0;
+buildBilling() {
+ var o = new api.Billing();
+ buildCounterBilling++;
+ if (buildCounterBilling < 3) {
+ o.consumerDestinations = buildUnnamed3519();
+ }
+ buildCounterBilling--;
+ return o;
+}
+
+checkBilling(api.Billing o) {
+ buildCounterBilling++;
+ if (buildCounterBilling < 3) {
+ checkUnnamed3519(o.consumerDestinations);
+ }
+ buildCounterBilling--;
+}
+
+core.int buildCounterBillingConfig = 0;
+buildBillingConfig() {
+ var o = new api.BillingConfig();
+ buildCounterBillingConfig++;
+ if (buildCounterBillingConfig < 3) {
+ o.billingAccount = "foo";
+ }
+ buildCounterBillingConfig--;
+ return o;
+}
+
+checkBillingConfig(api.BillingConfig o) {
+ buildCounterBillingConfig++;
+ if (buildCounterBillingConfig < 3) {
+ unittest.expect(o.billingAccount, unittest.equals('foo'));
+ }
+ buildCounterBillingConfig--;
+}
+
+buildUnnamed3520() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3520(core.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 buildCounterBillingDestination = 0;
+buildBillingDestination() {
+ var o = new api.BillingDestination();
+ buildCounterBillingDestination++;
+ if (buildCounterBillingDestination < 3) {
+ o.metrics = buildUnnamed3520();
+ o.monitoredResource = "foo";
+ }
+ buildCounterBillingDestination--;
+ return o;
+}
+
+checkBillingDestination(api.BillingDestination o) {
+ buildCounterBillingDestination++;
+ if (buildCounterBillingDestination < 3) {
+ checkUnnamed3520(o.metrics);
+ unittest.expect(o.monitoredResource, unittest.equals('foo'));
+ }
+ buildCounterBillingDestination--;
+}
+
+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--;
+}
+
+buildUnnamed3521() {
+ var o = new core.List<api.ContextRule>();
+ o.add(buildContextRule());
+ o.add(buildContextRule());
+ return o;
+}
+
+checkUnnamed3521(core.List<api.ContextRule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkContextRule(o[0]);
+ checkContextRule(o[1]);
+}
+
+core.int buildCounterContext = 0;
+buildContext() {
+ var o = new api.Context();
+ buildCounterContext++;
+ if (buildCounterContext < 3) {
+ o.rules = buildUnnamed3521();
+ }
+ buildCounterContext--;
+ return o;
+}
+
+checkContext(api.Context o) {
+ buildCounterContext++;
+ if (buildCounterContext < 3) {
+ checkUnnamed3521(o.rules);
+ }
+ buildCounterContext--;
+}
+
+buildUnnamed3522() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+buildUnnamed3523() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+core.int buildCounterContextRule = 0;
+buildContextRule() {
+ var o = new api.ContextRule();
+ buildCounterContextRule++;
+ if (buildCounterContextRule < 3) {
+ o.provided = buildUnnamed3522();
+ o.requested = buildUnnamed3523();
+ o.selector = "foo";
+ }
+ buildCounterContextRule--;
+ return o;
+}
+
+checkContextRule(api.ContextRule o) {
+ buildCounterContextRule++;
+ if (buildCounterContextRule < 3) {
+ checkUnnamed3522(o.provided);
+ checkUnnamed3523(o.requested);
+ unittest.expect(o.selector, unittest.equals('foo'));
+ }
+ buildCounterContextRule--;
+}
+
+core.int buildCounterControl = 0;
+buildControl() {
+ var o = new api.Control();
+ buildCounterControl++;
+ if (buildCounterControl < 3) {
+ o.environment = "foo";
+ }
+ buildCounterControl--;
+ return o;
+}
+
+checkControl(api.Control o) {
+ buildCounterControl++;
+ if (buildCounterControl < 3) {
+ unittest.expect(o.environment, unittest.equals('foo'));
+ }
+ buildCounterControl--;
+}
+
+core.int buildCounterCreateTenancyUnitRequest = 0;
+buildCreateTenancyUnitRequest() {
+ var o = new api.CreateTenancyUnitRequest();
+ buildCounterCreateTenancyUnitRequest++;
+ if (buildCounterCreateTenancyUnitRequest < 3) {
+ o.tenancyUnitId = "foo";
+ }
+ buildCounterCreateTenancyUnitRequest--;
+ return o;
+}
+
+checkCreateTenancyUnitRequest(api.CreateTenancyUnitRequest o) {
+ buildCounterCreateTenancyUnitRequest++;
+ if (buildCounterCreateTenancyUnitRequest < 3) {
+ unittest.expect(o.tenancyUnitId, unittest.equals('foo'));
+ }
+ buildCounterCreateTenancyUnitRequest--;
+}
+
+core.int buildCounterCustomAuthRequirements = 0;
+buildCustomAuthRequirements() {
+ var o = new api.CustomAuthRequirements();
+ buildCounterCustomAuthRequirements++;
+ if (buildCounterCustomAuthRequirements < 3) {
+ o.provider = "foo";
+ }
+ buildCounterCustomAuthRequirements--;
+ return o;
+}
+
+checkCustomAuthRequirements(api.CustomAuthRequirements o) {
+ buildCounterCustomAuthRequirements++;
+ if (buildCounterCustomAuthRequirements < 3) {
+ unittest.expect(o.provider, unittest.equals('foo'));
+ }
+ buildCounterCustomAuthRequirements--;
+}
+
+buildUnnamed3524() {
+ var o = new core.List<api.CustomErrorRule>();
+ o.add(buildCustomErrorRule());
+ o.add(buildCustomErrorRule());
+ return o;
+}
+
+checkUnnamed3524(core.List<api.CustomErrorRule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCustomErrorRule(o[0]);
+ checkCustomErrorRule(o[1]);
+}
+
+buildUnnamed3525() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3525(core.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 buildCounterCustomError = 0;
+buildCustomError() {
+ var o = new api.CustomError();
+ buildCounterCustomError++;
+ if (buildCounterCustomError < 3) {
+ o.rules = buildUnnamed3524();
+ o.types = buildUnnamed3525();
+ }
+ buildCounterCustomError--;
+ return o;
+}
+
+checkCustomError(api.CustomError o) {
+ buildCounterCustomError++;
+ if (buildCounterCustomError < 3) {
+ checkUnnamed3524(o.rules);
+ checkUnnamed3525(o.types);
+ }
+ buildCounterCustomError--;
+}
+
+core.int buildCounterCustomErrorRule = 0;
+buildCustomErrorRule() {
+ var o = new api.CustomErrorRule();
+ buildCounterCustomErrorRule++;
+ if (buildCounterCustomErrorRule < 3) {
+ o.isErrorType = true;
+ o.selector = "foo";
+ }
+ buildCounterCustomErrorRule--;
+ return o;
+}
+
+checkCustomErrorRule(api.CustomErrorRule o) {
+ buildCounterCustomErrorRule++;
+ if (buildCounterCustomErrorRule < 3) {
+ unittest.expect(o.isErrorType, unittest.isTrue);
+ unittest.expect(o.selector, unittest.equals('foo'));
+ }
+ buildCounterCustomErrorRule--;
+}
+
+core.int buildCounterCustomHttpPattern = 0;
+buildCustomHttpPattern() {
+ var o = new api.CustomHttpPattern();
+ buildCounterCustomHttpPattern++;
+ if (buildCounterCustomHttpPattern < 3) {
+ o.kind = "foo";
+ o.path = "foo";
+ }
+ buildCounterCustomHttpPattern--;
+ return o;
+}
+
+checkCustomHttpPattern(api.CustomHttpPattern o) {
+ buildCounterCustomHttpPattern++;
+ if (buildCounterCustomHttpPattern < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.path, unittest.equals('foo'));
+ }
+ buildCounterCustomHttpPattern--;
+}
+
+buildUnnamed3526() {
+ var o = new core.List<api.Page>();
+ o.add(buildPage());
+ o.add(buildPage());
+ return o;
+}
+
+checkUnnamed3526(core.List<api.Page> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPage(o[0]);
+ checkPage(o[1]);
+}
+
+buildUnnamed3527() {
+ var o = new core.List<api.DocumentationRule>();
+ o.add(buildDocumentationRule());
+ o.add(buildDocumentationRule());
+ return o;
+}
+
+checkUnnamed3527(core.List<api.DocumentationRule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDocumentationRule(o[0]);
+ checkDocumentationRule(o[1]);
+}
+
+core.int buildCounterDocumentation = 0;
+buildDocumentation() {
+ var o = new api.Documentation();
+ buildCounterDocumentation++;
+ if (buildCounterDocumentation < 3) {
+ o.documentationRootUrl = "foo";
+ o.overview = "foo";
+ o.pages = buildUnnamed3526();
+ o.rules = buildUnnamed3527();
+ o.summary = "foo";
+ }
+ buildCounterDocumentation--;
+ return o;
+}
+
+checkDocumentation(api.Documentation o) {
+ buildCounterDocumentation++;
+ if (buildCounterDocumentation < 3) {
+ unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
+ unittest.expect(o.overview, unittest.equals('foo'));
+ checkUnnamed3526(o.pages);
+ checkUnnamed3527(o.rules);
+ unittest.expect(o.summary, unittest.equals('foo'));
+ }
+ buildCounterDocumentation--;
+}
+
+core.int buildCounterDocumentationRule = 0;
+buildDocumentationRule() {
+ var o = new api.DocumentationRule();
+ buildCounterDocumentationRule++;
+ if (buildCounterDocumentationRule < 3) {
+ o.deprecationDescription = "foo";
+ o.description = "foo";
+ o.selector = "foo";
+ }
+ buildCounterDocumentationRule--;
+ return o;
+}
+
+checkDocumentationRule(api.DocumentationRule o) {
+ buildCounterDocumentationRule++;
+ if (buildCounterDocumentationRule < 3) {
+ unittest.expect(o.deprecationDescription, unittest.equals('foo'));
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.selector, unittest.equals('foo'));
+ }
+ buildCounterDocumentationRule--;
+}
+
+core.int buildCounterEmpty = 0;
+buildEmpty() {
+ var o = new api.Empty();
+ buildCounterEmpty++;
+ if (buildCounterEmpty < 3) {}
+ buildCounterEmpty--;
+ return o;
+}
+
+checkEmpty(api.Empty o) {
+ buildCounterEmpty++;
+ if (buildCounterEmpty < 3) {}
+ buildCounterEmpty--;
+}
+
+buildUnnamed3528() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3528(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3529() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3529(core.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 buildCounterEndpoint = 0;
+buildEndpoint() {
+ var o = new api.Endpoint();
+ buildCounterEndpoint++;
+ if (buildCounterEndpoint < 3) {
+ o.aliases = buildUnnamed3528();
+ o.allowCors = true;
+ o.features = buildUnnamed3529();
+ o.name = "foo";
+ o.target = "foo";
+ }
+ buildCounterEndpoint--;
+ return o;
+}
+
+checkEndpoint(api.Endpoint o) {
+ buildCounterEndpoint++;
+ if (buildCounterEndpoint < 3) {
+ checkUnnamed3528(o.aliases);
+ unittest.expect(o.allowCors, unittest.isTrue);
+ checkUnnamed3529(o.features);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.target, unittest.equals('foo'));
+ }
+ buildCounterEndpoint--;
+}
+
+buildUnnamed3530() {
+ var o = new core.List<api.EnumValue>();
+ o.add(buildEnumValue());
+ o.add(buildEnumValue());
+ return o;
+}
+
+checkUnnamed3530(core.List<api.EnumValue> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkEnumValue(o[0]);
+ checkEnumValue(o[1]);
+}
+
+buildUnnamed3531() {
+ var o = new core.List<api.Option>();
+ o.add(buildOption());
+ o.add(buildOption());
+ return o;
+}
+
+checkUnnamed3531(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 = buildUnnamed3530();
+ o.name = "foo";
+ o.options = buildUnnamed3531();
+ o.sourceContext = buildSourceContext();
+ o.syntax = "foo";
+ }
+ buildCounterEnum--;
+ return o;
+}
+
+checkEnum(api.Enum o) {
+ buildCounterEnum++;
+ if (buildCounterEnum < 3) {
+ checkUnnamed3530(o.enumvalue);
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed3531(o.options);
+ checkSourceContext(o.sourceContext);
+ unittest.expect(o.syntax, unittest.equals('foo'));
+ }
+ buildCounterEnum--;
+}
+
+buildUnnamed3532() {
+ var o = new core.List<api.Option>();
+ o.add(buildOption());
+ o.add(buildOption());
+ return o;
+}
+
+checkUnnamed3532(core.List<api.Option> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOption(o[0]);
+ 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 = buildUnnamed3532();
+ }
+ 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));
+ checkUnnamed3532(o.options);
+ }
+ buildCounterEnumValue--;
+}
+
+core.int buildCounterExperimental = 0;
+buildExperimental() {
+ var o = new api.Experimental();
+ buildCounterExperimental++;
+ if (buildCounterExperimental < 3) {
+ o.authorization = buildAuthorizationConfig();
+ }
+ buildCounterExperimental--;
+ return o;
+}
+
+checkExperimental(api.Experimental o) {
+ buildCounterExperimental++;
+ if (buildCounterExperimental < 3) {
+ checkAuthorizationConfig(o.authorization);
+ }
+ buildCounterExperimental--;
+}
+
+buildUnnamed3533() {
+ var o = new core.List<api.Option>();
+ o.add(buildOption());
+ o.add(buildOption());
+ return o;
+}
+
+checkUnnamed3533(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();
+ buildCounterField++;
+ if (buildCounterField < 3) {
+ o.cardinality = "foo";
+ o.defaultValue = "foo";
+ o.jsonName = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ o.number = 42;
+ o.oneofIndex = 42;
+ o.options = buildUnnamed3533();
+ o.packed = true;
+ o.typeUrl = "foo";
+ }
+ buildCounterField--;
+ return o;
+}
+
+checkField(api.Field o) {
+ buildCounterField++;
+ if (buildCounterField < 3) {
+ unittest.expect(o.cardinality, unittest.equals('foo'));
+ unittest.expect(o.defaultValue, unittest.equals('foo'));
+ unittest.expect(o.jsonName, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.number, unittest.equals(42));
+ unittest.expect(o.oneofIndex, unittest.equals(42));
+ checkUnnamed3533(o.options);
+ unittest.expect(o.packed, unittest.isTrue);
+ unittest.expect(o.typeUrl, unittest.equals('foo'));
+ }
+ buildCounterField--;
+}
+
+buildUnnamed3534() {
+ var o = new core.List<api.HttpRule>();
+ o.add(buildHttpRule());
+ o.add(buildHttpRule());
+ return o;
+}
+
+checkUnnamed3534(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 = buildUnnamed3534();
+ }
+ buildCounterHttp--;
+ return o;
+}
+
+checkHttp(api.Http o) {
+ buildCounterHttp++;
+ if (buildCounterHttp < 3) {
+ unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
+ checkUnnamed3534(o.rules);
+ }
+ buildCounterHttp--;
+}
+
+buildUnnamed3535() {
+ var o = new core.List<api.HttpRule>();
+ o.add(buildHttpRule());
+ o.add(buildHttpRule());
+ return o;
+}
+
+checkUnnamed3535(core.List<api.HttpRule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkHttpRule(o[0]);
+ checkHttpRule(o[1]);
+}
+
+buildUnnamed3536() {
+ var o = new core.List<api.AuthorizationRule>();
+ o.add(buildAuthorizationRule());
+ o.add(buildAuthorizationRule());
+ return o;
+}
+
+checkUnnamed3536(core.List<api.AuthorizationRule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAuthorizationRule(o[0]);
+ checkAuthorizationRule(o[1]);
+}
+
+core.int buildCounterHttpRule = 0;
+buildHttpRule() {
+ var o = new api.HttpRule();
+ buildCounterHttpRule++;
+ if (buildCounterHttpRule < 3) {
+ o.additionalBindings = buildUnnamed3535();
+ o.authorizations = buildUnnamed3536();
+ o.body = "foo";
+ o.custom = buildCustomHttpPattern();
+ o.delete = "foo";
+ o.get = "foo";
+ o.mediaDownload = buildMediaDownload();
+ o.mediaUpload = buildMediaUpload();
+ o.patch = "foo";
+ o.post = "foo";
+ o.put = "foo";
+ o.responseBody = "foo";
+ o.restCollection = "foo";
+ o.restMethodName = "foo";
+ o.selector = "foo";
+ }
+ buildCounterHttpRule--;
+ return o;
+}
+
+checkHttpRule(api.HttpRule o) {
+ buildCounterHttpRule++;
+ if (buildCounterHttpRule < 3) {
+ checkUnnamed3535(o.additionalBindings);
+ checkUnnamed3536(o.authorizations);
+ unittest.expect(o.body, unittest.equals('foo'));
+ checkCustomHttpPattern(o.custom);
+ unittest.expect(o.delete, unittest.equals('foo'));
+ unittest.expect(o.get, unittest.equals('foo'));
+ checkMediaDownload(o.mediaDownload);
+ checkMediaUpload(o.mediaUpload);
+ unittest.expect(o.patch, unittest.equals('foo'));
+ unittest.expect(o.post, unittest.equals('foo'));
+ unittest.expect(o.put, unittest.equals('foo'));
+ unittest.expect(o.responseBody, unittest.equals('foo'));
+ unittest.expect(o.restCollection, unittest.equals('foo'));
+ unittest.expect(o.restMethodName, unittest.equals('foo'));
+ unittest.expect(o.selector, unittest.equals('foo'));
+ }
+ buildCounterHttpRule--;
+}
+
+core.int buildCounterLabelDescriptor = 0;
+buildLabelDescriptor() {
+ var o = new api.LabelDescriptor();
+ buildCounterLabelDescriptor++;
+ if (buildCounterLabelDescriptor < 3) {
+ o.description = "foo";
+ o.key = "foo";
+ o.valueType = "foo";
+ }
+ buildCounterLabelDescriptor--;
+ return o;
+}
+
+checkLabelDescriptor(api.LabelDescriptor o) {
+ buildCounterLabelDescriptor++;
+ if (buildCounterLabelDescriptor < 3) {
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.key, unittest.equals('foo'));
+ unittest.expect(o.valueType, unittest.equals('foo'));
+ }
+ buildCounterLabelDescriptor--;
+}
+
+buildUnnamed3537() {
+ var o = new core.List<api.Operation>();
+ o.add(buildOperation());
+ o.add(buildOperation());
+ return o;
+}
+
+checkUnnamed3537(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 = buildUnnamed3537();
+ }
+ buildCounterListOperationsResponse--;
+ return o;
+}
+
+checkListOperationsResponse(api.ListOperationsResponse o) {
+ buildCounterListOperationsResponse++;
+ if (buildCounterListOperationsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed3537(o.operations);
+ }
+ buildCounterListOperationsResponse--;
+}
+
+buildUnnamed3538() {
+ var o = new core.List<api.TenancyUnit>();
+ o.add(buildTenancyUnit());
+ o.add(buildTenancyUnit());
+ return o;
+}
+
+checkUnnamed3538(core.List<api.TenancyUnit> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkTenancyUnit(o[0]);
+ checkTenancyUnit(o[1]);
+}
+
+core.int buildCounterListTenancyUnitsResponse = 0;
+buildListTenancyUnitsResponse() {
+ var o = new api.ListTenancyUnitsResponse();
+ buildCounterListTenancyUnitsResponse++;
+ if (buildCounterListTenancyUnitsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.tenancyUnits = buildUnnamed3538();
+ }
+ buildCounterListTenancyUnitsResponse--;
+ return o;
+}
+
+checkListTenancyUnitsResponse(api.ListTenancyUnitsResponse o) {
+ buildCounterListTenancyUnitsResponse++;
+ if (buildCounterListTenancyUnitsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed3538(o.tenancyUnits);
+ }
+ buildCounterListTenancyUnitsResponse--;
+}
+
+buildUnnamed3539() {
+ var o = new core.List<api.LabelDescriptor>();
+ o.add(buildLabelDescriptor());
+ o.add(buildLabelDescriptor());
+ return o;
+}
+
+checkUnnamed3539(core.List<api.LabelDescriptor> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLabelDescriptor(o[0]);
+ checkLabelDescriptor(o[1]);
+}
+
+core.int buildCounterLogDescriptor = 0;
+buildLogDescriptor() {
+ var o = new api.LogDescriptor();
+ buildCounterLogDescriptor++;
+ if (buildCounterLogDescriptor < 3) {
+ o.description = "foo";
+ o.displayName = "foo";
+ o.labels = buildUnnamed3539();
+ o.name = "foo";
+ }
+ buildCounterLogDescriptor--;
+ return o;
+}
+
+checkLogDescriptor(api.LogDescriptor o) {
+ buildCounterLogDescriptor++;
+ if (buildCounterLogDescriptor < 3) {
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.displayName, unittest.equals('foo'));
+ checkUnnamed3539(o.labels);
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterLogDescriptor--;
+}
+
+buildUnnamed3540() {
+ var o = new core.List<api.LoggingDestination>();
+ o.add(buildLoggingDestination());
+ o.add(buildLoggingDestination());
+ return o;
+}
+
+checkUnnamed3540(core.List<api.LoggingDestination> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLoggingDestination(o[0]);
+ checkLoggingDestination(o[1]);
+}
+
+buildUnnamed3541() {
+ var o = new core.List<api.LoggingDestination>();
+ o.add(buildLoggingDestination());
+ o.add(buildLoggingDestination());
+ return o;
+}
+
+checkUnnamed3541(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 = buildUnnamed3540();
+ o.producerDestinations = buildUnnamed3541();
+ }
+ buildCounterLogging--;
+ return o;
+}
+
+checkLogging(api.Logging o) {
+ buildCounterLogging++;
+ if (buildCounterLogging < 3) {
+ checkUnnamed3540(o.consumerDestinations);
+ checkUnnamed3541(o.producerDestinations);
+ }
+ buildCounterLogging--;
+}
+
+buildUnnamed3542() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3542(core.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 buildCounterLoggingDestination = 0;
+buildLoggingDestination() {
+ var o = new api.LoggingDestination();
+ buildCounterLoggingDestination++;
+ if (buildCounterLoggingDestination < 3) {
+ o.logs = buildUnnamed3542();
+ o.monitoredResource = "foo";
+ }
+ buildCounterLoggingDestination--;
+ return o;
+}
+
+checkLoggingDestination(api.LoggingDestination o) {
+ buildCounterLoggingDestination++;
+ if (buildCounterLoggingDestination < 3) {
+ checkUnnamed3542(o.logs);
+ unittest.expect(o.monitoredResource, unittest.equals('foo'));
+ }
+ buildCounterLoggingDestination--;
+}
+
+core.int buildCounterMediaDownload = 0;
+buildMediaDownload() {
+ var o = new api.MediaDownload();
+ buildCounterMediaDownload++;
+ if (buildCounterMediaDownload < 3) {
+ o.completeNotification = true;
+ o.downloadService = "foo";
+ o.dropzone = "foo";
+ o.enabled = true;
+ o.maxDirectDownloadSize = "foo";
+ o.useDirectDownload = true;
+ }
+ buildCounterMediaDownload--;
+ return o;
+}
+
+checkMediaDownload(api.MediaDownload o) {
+ buildCounterMediaDownload++;
+ if (buildCounterMediaDownload < 3) {
+ unittest.expect(o.completeNotification, unittest.isTrue);
+ unittest.expect(o.downloadService, unittest.equals('foo'));
+ unittest.expect(o.dropzone, unittest.equals('foo'));
+ unittest.expect(o.enabled, unittest.isTrue);
+ unittest.expect(o.maxDirectDownloadSize, unittest.equals('foo'));
+ unittest.expect(o.useDirectDownload, unittest.isTrue);
+ }
+ buildCounterMediaDownload--;
+}
+
+buildUnnamed3543() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3543(core.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 buildCounterMediaUpload = 0;
+buildMediaUpload() {
+ var o = new api.MediaUpload();
+ buildCounterMediaUpload++;
+ if (buildCounterMediaUpload < 3) {
+ o.completeNotification = true;
+ o.dropzone = "foo";
+ o.enabled = true;
+ o.maxSize = "foo";
+ o.mimeTypes = buildUnnamed3543();
+ o.progressNotification = true;
+ o.startNotification = true;
+ o.uploadService = "foo";
+ }
+ buildCounterMediaUpload--;
+ return o;
+}
+
+checkMediaUpload(api.MediaUpload o) {
+ buildCounterMediaUpload++;
+ if (buildCounterMediaUpload < 3) {
+ unittest.expect(o.completeNotification, unittest.isTrue);
+ unittest.expect(o.dropzone, unittest.equals('foo'));
+ unittest.expect(o.enabled, unittest.isTrue);
+ unittest.expect(o.maxSize, unittest.equals('foo'));
+ checkUnnamed3543(o.mimeTypes);
+ unittest.expect(o.progressNotification, unittest.isTrue);
+ unittest.expect(o.startNotification, unittest.isTrue);
+ unittest.expect(o.uploadService, unittest.equals('foo'));
+ }
+ buildCounterMediaUpload--;
+}
+
+buildUnnamed3544() {
+ var o = new core.List<api.Option>();
+ o.add(buildOption());
+ o.add(buildOption());
+ return o;
+}
+
+checkUnnamed3544(core.List<api.Option> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOption(o[0]);
+ checkOption(o[1]);
+}
+
+core.int buildCounterMethod = 0;
+buildMethod() {
+ var o = new api.Method();
+ buildCounterMethod++;
+ if (buildCounterMethod < 3) {
+ o.name = "foo";
+ o.options = buildUnnamed3544();
+ o.requestStreaming = true;
+ o.requestTypeUrl = "foo";
+ o.responseStreaming = true;
+ o.responseTypeUrl = "foo";
+ o.syntax = "foo";
+ }
+ buildCounterMethod--;
+ return o;
+}
+
+checkMethod(api.Method o) {
+ buildCounterMethod++;
+ if (buildCounterMethod < 3) {
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed3544(o.options);
+ unittest.expect(o.requestStreaming, unittest.isTrue);
+ unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
+ unittest.expect(o.responseStreaming, unittest.isTrue);
+ unittest.expect(o.responseTypeUrl, unittest.equals('foo'));
+ unittest.expect(o.syntax, unittest.equals('foo'));
+ }
+ buildCounterMethod--;
+}
+
+buildUnnamed3545() {
+ var o = new core.List<api.LabelDescriptor>();
+ o.add(buildLabelDescriptor());
+ o.add(buildLabelDescriptor());
+ return o;
+}
+
+checkUnnamed3545(core.List<api.LabelDescriptor> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLabelDescriptor(o[0]);
+ checkLabelDescriptor(o[1]);
+}
+
+core.int buildCounterMetricDescriptor = 0;
+buildMetricDescriptor() {
+ var o = new api.MetricDescriptor();
+ buildCounterMetricDescriptor++;
+ if (buildCounterMetricDescriptor < 3) {
+ o.description = "foo";
+ o.displayName = "foo";
+ o.labels = buildUnnamed3545();
+ o.metricKind = "foo";
+ o.name = "foo";
+ o.type = "foo";
+ o.unit = "foo";
+ o.valueType = "foo";
+ }
+ buildCounterMetricDescriptor--;
+ return o;
+}
+
+checkMetricDescriptor(api.MetricDescriptor o) {
+ buildCounterMetricDescriptor++;
+ if (buildCounterMetricDescriptor < 3) {
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.displayName, unittest.equals('foo'));
+ checkUnnamed3545(o.labels);
+ unittest.expect(o.metricKind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ unittest.expect(o.unit, unittest.equals('foo'));
+ unittest.expect(o.valueType, unittest.equals('foo'));
+ }
+ buildCounterMetricDescriptor--;
+}
+
+buildUnnamed3546() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return 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'));
+}
+
+core.int buildCounterMetricRule = 0;
+buildMetricRule() {
+ var o = new api.MetricRule();
+ buildCounterMetricRule++;
+ if (buildCounterMetricRule < 3) {
+ o.metricCosts = buildUnnamed3546();
+ o.selector = "foo";
+ }
+ buildCounterMetricRule--;
+ return o;
+}
+
+checkMetricRule(api.MetricRule o) {
+ buildCounterMetricRule++;
+ if (buildCounterMetricRule < 3) {
+ checkUnnamed3546(o.metricCosts);
+ unittest.expect(o.selector, unittest.equals('foo'));
+ }
+ buildCounterMetricRule--;
+}
+
+core.int buildCounterMixin = 0;
+buildMixin() {
+ var o = new api.Mixin();
+ buildCounterMixin++;
+ if (buildCounterMixin < 3) {
+ o.name = "foo";
+ o.root = "foo";
+ }
+ buildCounterMixin--;
+ return o;
+}
+
+checkMixin(api.Mixin o) {
+ buildCounterMixin++;
+ if (buildCounterMixin < 3) {
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.root, unittest.equals('foo'));
+ }
+ buildCounterMixin--;
+}
+
+buildUnnamed3547() {
+ var o = new core.List<api.LabelDescriptor>();
+ o.add(buildLabelDescriptor());
+ o.add(buildLabelDescriptor());
+ return o;
+}
+
+checkUnnamed3547(core.List<api.LabelDescriptor> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLabelDescriptor(o[0]);
+ checkLabelDescriptor(o[1]);
+}
+
+core.int buildCounterMonitoredResourceDescriptor = 0;
+buildMonitoredResourceDescriptor() {
+ var o = new api.MonitoredResourceDescriptor();
+ buildCounterMonitoredResourceDescriptor++;
+ if (buildCounterMonitoredResourceDescriptor < 3) {
+ o.description = "foo";
+ o.displayName = "foo";
+ o.labels = buildUnnamed3547();
+ o.name = "foo";
+ o.type = "foo";
+ }
+ buildCounterMonitoredResourceDescriptor--;
+ return o;
+}
+
+checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) {
+ buildCounterMonitoredResourceDescriptor++;
+ if (buildCounterMonitoredResourceDescriptor < 3) {
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.displayName, unittest.equals('foo'));
+ checkUnnamed3547(o.labels);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterMonitoredResourceDescriptor--;
+}
+
+buildUnnamed3548() {
+ var o = new core.List<api.MonitoringDestination>();
+ o.add(buildMonitoringDestination());
+ o.add(buildMonitoringDestination());
+ return o;
+}
+
+checkUnnamed3548(core.List<api.MonitoringDestination> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMonitoringDestination(o[0]);
+ checkMonitoringDestination(o[1]);
+}
+
+buildUnnamed3549() {
+ var o = new core.List<api.MonitoringDestination>();
+ o.add(buildMonitoringDestination());
+ o.add(buildMonitoringDestination());
+ return o;
+}
+
+checkUnnamed3549(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 = buildUnnamed3548();
+ o.producerDestinations = buildUnnamed3549();
+ }
+ buildCounterMonitoring--;
+ return o;
+}
+
+checkMonitoring(api.Monitoring o) {
+ buildCounterMonitoring++;
+ if (buildCounterMonitoring < 3) {
+ checkUnnamed3548(o.consumerDestinations);
+ checkUnnamed3549(o.producerDestinations);
+ }
+ buildCounterMonitoring--;
+}
+
+buildUnnamed3550() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3550(core.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 buildCounterMonitoringDestination = 0;
+buildMonitoringDestination() {
+ var o = new api.MonitoringDestination();
+ buildCounterMonitoringDestination++;
+ if (buildCounterMonitoringDestination < 3) {
+ o.metrics = buildUnnamed3550();
+ o.monitoredResource = "foo";
+ }
+ buildCounterMonitoringDestination--;
+ return o;
+}
+
+checkMonitoringDestination(api.MonitoringDestination o) {
+ buildCounterMonitoringDestination++;
+ if (buildCounterMonitoringDestination < 3) {
+ checkUnnamed3550(o.metrics);
+ unittest.expect(o.monitoredResource, unittest.equals('foo'));
+ }
+ buildCounterMonitoringDestination--;
+}
+
+core.int buildCounterOAuthRequirements = 0;
+buildOAuthRequirements() {
+ var o = new api.OAuthRequirements();
+ buildCounterOAuthRequirements++;
+ if (buildCounterOAuthRequirements < 3) {
+ o.canonicalScopes = "foo";
+ }
+ buildCounterOAuthRequirements--;
+ return o;
+}
+
+checkOAuthRequirements(api.OAuthRequirements o) {
+ buildCounterOAuthRequirements++;
+ if (buildCounterOAuthRequirements < 3) {
+ unittest.expect(o.canonicalScopes, unittest.equals('foo'));
+ }
+ buildCounterOAuthRequirements--;
+}
+
+buildUnnamed3551() {
+ 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;
+}
+
+checkUnnamed3551(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'));
+}
+
+buildUnnamed3552() {
+ 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;
+}
+
+checkUnnamed3552(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'));
+}
+
+core.int buildCounterOperation = 0;
+buildOperation() {
+ var o = new api.Operation();
+ buildCounterOperation++;
+ if (buildCounterOperation < 3) {
+ o.done = true;
+ o.error = buildStatus();
+ o.metadata = buildUnnamed3551();
+ o.name = "foo";
+ o.response = buildUnnamed3552();
+ }
+ buildCounterOperation--;
+ return o;
+}
+
+checkOperation(api.Operation o) {
+ buildCounterOperation++;
+ if (buildCounterOperation < 3) {
+ unittest.expect(o.done, unittest.isTrue);
+ checkStatus(o.error);
+ checkUnnamed3551(o.metadata);
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed3552(o.response);
+ }
+ buildCounterOperation--;
+}
+
+buildUnnamed3553() {
+ 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;
+}
+
+checkUnnamed3553(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'));
+}
+
+core.int buildCounterOption = 0;
+buildOption() {
+ var o = new api.Option();
+ buildCounterOption++;
+ if (buildCounterOption < 3) {
+ o.name = "foo";
+ o.value = buildUnnamed3553();
+ }
+ buildCounterOption--;
+ return o;
+}
+
+checkOption(api.Option o) {
+ buildCounterOption++;
+ if (buildCounterOption < 3) {
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed3553(o.value);
+ }
+ buildCounterOption--;
+}
+
+buildUnnamed3554() {
+ var o = new core.List<api.Page>();
+ o.add(buildPage());
+ o.add(buildPage());
+ return o;
+}
+
+checkUnnamed3554(core.List<api.Page> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPage(o[0]);
+ checkPage(o[1]);
+}
+
+core.int buildCounterPage = 0;
+buildPage() {
+ var o = new api.Page();
+ buildCounterPage++;
+ if (buildCounterPage < 3) {
+ o.content = "foo";
+ o.name = "foo";
+ o.subpages = buildUnnamed3554();
+ }
+ buildCounterPage--;
+ return o;
+}
+
+checkPage(api.Page o) {
+ buildCounterPage++;
+ if (buildCounterPage < 3) {
+ unittest.expect(o.content, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed3554(o.subpages);
+ }
+ buildCounterPage--;
+}
+
+buildUnnamed3555() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3555(core.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 buildCounterPolicyBinding = 0;
+buildPolicyBinding() {
+ var o = new api.PolicyBinding();
+ buildCounterPolicyBinding++;
+ if (buildCounterPolicyBinding < 3) {
+ o.members = buildUnnamed3555();
+ o.role = "foo";
+ }
+ buildCounterPolicyBinding--;
+ return o;
+}
+
+checkPolicyBinding(api.PolicyBinding o) {
+ buildCounterPolicyBinding++;
+ if (buildCounterPolicyBinding < 3) {
+ checkUnnamed3555(o.members);
+ unittest.expect(o.role, unittest.equals('foo'));
+ }
+ buildCounterPolicyBinding--;
+}
+
+buildUnnamed3556() {
+ var o = new core.List<api.QuotaLimit>();
+ o.add(buildQuotaLimit());
+ o.add(buildQuotaLimit());
+ return o;
+}
+
+checkUnnamed3556(core.List<api.QuotaLimit> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkQuotaLimit(o[0]);
+ checkQuotaLimit(o[1]);
+}
+
+buildUnnamed3557() {
+ var o = new core.List<api.MetricRule>();
+ o.add(buildMetricRule());
+ o.add(buildMetricRule());
+ return o;
+}
+
+checkUnnamed3557(core.List<api.MetricRule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMetricRule(o[0]);
+ checkMetricRule(o[1]);
+}
+
+core.int buildCounterQuota = 0;
+buildQuota() {
+ var o = new api.Quota();
+ buildCounterQuota++;
+ if (buildCounterQuota < 3) {
+ o.limits = buildUnnamed3556();
+ o.metricRules = buildUnnamed3557();
+ }
+ buildCounterQuota--;
+ return o;
+}
+
+checkQuota(api.Quota o) {
+ buildCounterQuota++;
+ if (buildCounterQuota < 3) {
+ checkUnnamed3556(o.limits);
+ checkUnnamed3557(o.metricRules);
+ }
+ buildCounterQuota--;
+}
+
+buildUnnamed3558() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed3558(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 buildCounterQuotaLimit = 0;
+buildQuotaLimit() {
+ var o = new api.QuotaLimit();
+ buildCounterQuotaLimit++;
+ if (buildCounterQuotaLimit < 3) {
+ o.defaultLimit = "foo";
+ o.description = "foo";
+ o.displayName = "foo";
+ o.duration = "foo";
+ o.freeTier = "foo";
+ o.maxLimit = "foo";
+ o.metric = "foo";
+ o.name = "foo";
+ o.unit = "foo";
+ o.values = buildUnnamed3558();
+ }
+ buildCounterQuotaLimit--;
+ return o;
+}
+
+checkQuotaLimit(api.QuotaLimit o) {
+ buildCounterQuotaLimit++;
+ if (buildCounterQuotaLimit < 3) {
+ unittest.expect(o.defaultLimit, unittest.equals('foo'));
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.displayName, unittest.equals('foo'));
+ unittest.expect(o.duration, unittest.equals('foo'));
+ unittest.expect(o.freeTier, unittest.equals('foo'));
+ unittest.expect(o.maxLimit, unittest.equals('foo'));
+ unittest.expect(o.metric, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.unit, unittest.equals('foo'));
+ checkUnnamed3558(o.values);
+ }
+ buildCounterQuotaLimit--;
+}
+
+core.int buildCounterRemoveTenantProjectRequest = 0;
+buildRemoveTenantProjectRequest() {
+ var o = new api.RemoveTenantProjectRequest();
+ buildCounterRemoveTenantProjectRequest++;
+ if (buildCounterRemoveTenantProjectRequest < 3) {
+ o.tag = "foo";
+ }
+ buildCounterRemoveTenantProjectRequest--;
+ return o;
+}
+
+checkRemoveTenantProjectRequest(api.RemoveTenantProjectRequest o) {
+ buildCounterRemoveTenantProjectRequest++;
+ if (buildCounterRemoveTenantProjectRequest < 3) {
+ unittest.expect(o.tag, unittest.equals('foo'));
+ }
+ buildCounterRemoveTenantProjectRequest--;
+}
+
+buildUnnamed3559() {
+ var o = new core.List<api.TenancyUnit>();
+ o.add(buildTenancyUnit());
+ o.add(buildTenancyUnit());
+ return o;
+}
+
+checkUnnamed3559(core.List<api.TenancyUnit> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkTenancyUnit(o[0]);
+ checkTenancyUnit(o[1]);
+}
+
+core.int buildCounterSearchTenancyUnitsResponse = 0;
+buildSearchTenancyUnitsResponse() {
+ var o = new api.SearchTenancyUnitsResponse();
+ buildCounterSearchTenancyUnitsResponse++;
+ if (buildCounterSearchTenancyUnitsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.tenancyUnits = buildUnnamed3559();
+ }
+ buildCounterSearchTenancyUnitsResponse--;
+ return o;
+}
+
+checkSearchTenancyUnitsResponse(api.SearchTenancyUnitsResponse o) {
+ buildCounterSearchTenancyUnitsResponse++;
+ if (buildCounterSearchTenancyUnitsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed3559(o.tenancyUnits);
+ }
+ buildCounterSearchTenancyUnitsResponse--;
+}
+
+buildUnnamed3560() {
+ var o = new core.List<api.Api>();
+ o.add(buildApi());
+ o.add(buildApi());
+ return o;
+}
+
+checkUnnamed3560(core.List<api.Api> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkApi(o[0]);
+ checkApi(o[1]);
+}
+
+buildUnnamed3561() {
+ var o = new core.List<api.Endpoint>();
+ o.add(buildEndpoint());
+ o.add(buildEndpoint());
+ return o;
+}
+
+checkUnnamed3561(core.List<api.Endpoint> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkEndpoint(o[0]);
+ checkEndpoint(o[1]);
+}
+
+buildUnnamed3562() {
+ var o = new core.List<api.Enum>();
+ o.add(buildEnum());
+ o.add(buildEnum());
+ return o;
+}
+
+checkUnnamed3562(core.List<api.Enum> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkEnum(o[0]);
+ checkEnum(o[1]);
+}
+
+buildUnnamed3563() {
+ var o = new core.List<api.LogDescriptor>();
+ o.add(buildLogDescriptor());
+ o.add(buildLogDescriptor());
+ return o;
+}
+
+checkUnnamed3563(core.List<api.LogDescriptor> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLogDescriptor(o[0]);
+ checkLogDescriptor(o[1]);
+}
+
+buildUnnamed3564() {
+ var o = new core.List<api.MetricDescriptor>();
+ o.add(buildMetricDescriptor());
+ o.add(buildMetricDescriptor());
+ return o;
+}
+
+checkUnnamed3564(core.List<api.MetricDescriptor> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMetricDescriptor(o[0]);
+ checkMetricDescriptor(o[1]);
+}
+
+buildUnnamed3565() {
+ var o = new core.List<api.MonitoredResourceDescriptor>();
+ o.add(buildMonitoredResourceDescriptor());
+ o.add(buildMonitoredResourceDescriptor());
+ return o;
+}
+
+checkUnnamed3565(core.List<api.MonitoredResourceDescriptor> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMonitoredResourceDescriptor(o[0]);
+ checkMonitoredResourceDescriptor(o[1]);
+}
+
+buildUnnamed3566() {
+ var o = new core.List<api.Type>();
+ o.add(buildType());
+ o.add(buildType());
+ return o;
+}
+
+checkUnnamed3566(core.List<api.Type> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkType(o[0]);
+ checkType(o[1]);
+}
+
+buildUnnamed3567() {
+ var o = new core.List<api.Type>();
+ o.add(buildType());
+ o.add(buildType());
+ return o;
+}
+
+checkUnnamed3567(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 = buildUnnamed3560();
+ o.authentication = buildAuthentication();
+ o.backend = buildBackend();
+ o.billing = buildBilling();
+ o.configVersion = 42;
+ o.context = buildContext();
+ o.control = buildControl();
+ o.customError = buildCustomError();
+ o.documentation = buildDocumentation();
+ o.endpoints = buildUnnamed3561();
+ o.enums = buildUnnamed3562();
+ o.experimental = buildExperimental();
+ o.http = buildHttp();
+ o.id = "foo";
+ o.logging = buildLogging();
+ o.logs = buildUnnamed3563();
+ o.metrics = buildUnnamed3564();
+ o.monitoredResources = buildUnnamed3565();
+ o.monitoring = buildMonitoring();
+ o.name = "foo";
+ o.producerProjectId = "foo";
+ o.quota = buildQuota();
+ o.sourceInfo = buildSourceInfo();
+ o.systemParameters = buildSystemParameters();
+ o.systemTypes = buildUnnamed3566();
+ o.title = "foo";
+ o.types = buildUnnamed3567();
+ o.usage = buildUsage();
+ o.visibility = buildVisibility();
+ }
+ buildCounterService--;
+ return o;
+}
+
+checkService(api.Service o) {
+ buildCounterService++;
+ if (buildCounterService < 3) {
+ checkUnnamed3560(o.apis);
+ checkAuthentication(o.authentication);
+ checkBackend(o.backend);
+ checkBilling(o.billing);
+ unittest.expect(o.configVersion, unittest.equals(42));
+ checkContext(o.context);
+ checkControl(o.control);
+ checkCustomError(o.customError);
+ checkDocumentation(o.documentation);
+ checkUnnamed3561(o.endpoints);
+ checkUnnamed3562(o.enums);
+ checkExperimental(o.experimental);
+ checkHttp(o.http);
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkLogging(o.logging);
+ checkUnnamed3563(o.logs);
+ checkUnnamed3564(o.metrics);
+ checkUnnamed3565(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);
+ checkUnnamed3566(o.systemTypes);
+ unittest.expect(o.title, unittest.equals('foo'));
+ checkUnnamed3567(o.types);
+ checkUsage(o.usage);
+ checkVisibility(o.visibility);
+ }
+ buildCounterService--;
+}
+
+buildUnnamed3568() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+core.int buildCounterServiceAccountConfig = 0;
+buildServiceAccountConfig() {
+ var o = new api.ServiceAccountConfig();
+ buildCounterServiceAccountConfig++;
+ if (buildCounterServiceAccountConfig < 3) {
+ o.accountId = "foo";
+ o.tenantProjectRoles = buildUnnamed3568();
+ }
+ buildCounterServiceAccountConfig--;
+ return o;
+}
+
+checkServiceAccountConfig(api.ServiceAccountConfig o) {
+ buildCounterServiceAccountConfig++;
+ if (buildCounterServiceAccountConfig < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ checkUnnamed3568(o.tenantProjectRoles);
+ }
+ buildCounterServiceAccountConfig--;
+}
+
+core.int buildCounterSourceContext = 0;
+buildSourceContext() {
+ var o = new api.SourceContext();
+ buildCounterSourceContext++;
+ if (buildCounterSourceContext < 3) {
+ o.fileName = "foo";
+ }
+ buildCounterSourceContext--;
+ return o;
+}
+
+checkSourceContext(api.SourceContext o) {
+ buildCounterSourceContext++;
+ if (buildCounterSourceContext < 3) {
+ unittest.expect(o.fileName, unittest.equals('foo'));
+ }
+ buildCounterSourceContext--;
+}
+
+buildUnnamed3569() {
+ 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;
+}
+
+checkUnnamed3569(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'));
+}
+
+buildUnnamed3570() {
+ var o = new core.List<core.Map<core.String, core.Object>>();
+ o.add(buildUnnamed3569());
+ o.add(buildUnnamed3569());
+ return o;
+}
+
+checkUnnamed3570(core.List<core.Map<core.String, core.Object>> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUnnamed3569(o[0]);
+ checkUnnamed3569(o[1]);
+}
+
+core.int buildCounterSourceInfo = 0;
+buildSourceInfo() {
+ var o = new api.SourceInfo();
+ buildCounterSourceInfo++;
+ if (buildCounterSourceInfo < 3) {
+ o.sourceFiles = buildUnnamed3570();
+ }
+ buildCounterSourceInfo--;
+ return o;
+}
+
+checkSourceInfo(api.SourceInfo o) {
+ buildCounterSourceInfo++;
+ if (buildCounterSourceInfo < 3) {
+ checkUnnamed3570(o.sourceFiles);
+ }
+ buildCounterSourceInfo--;
+}
+
+buildUnnamed3571() {
+ 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;
+}
+
+checkUnnamed3571(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'));
+}
+
+buildUnnamed3572() {
+ var o = new core.List<core.Map<core.String, core.Object>>();
+ o.add(buildUnnamed3571());
+ o.add(buildUnnamed3571());
+ return o;
+}
+
+checkUnnamed3572(core.List<core.Map<core.String, core.Object>> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUnnamed3571(o[0]);
+ checkUnnamed3571(o[1]);
+}
+
+core.int buildCounterStatus = 0;
+buildStatus() {
+ var o = new api.Status();
+ buildCounterStatus++;
+ if (buildCounterStatus < 3) {
+ o.code = 42;
+ o.details = buildUnnamed3572();
+ o.message = "foo";
+ }
+ buildCounterStatus--;
+ return o;
+}
+
+checkStatus(api.Status o) {
+ buildCounterStatus++;
+ if (buildCounterStatus < 3) {
+ unittest.expect(o.code, unittest.equals(42));
+ checkUnnamed3572(o.details);
+ unittest.expect(o.message, unittest.equals('foo'));
+ }
+ buildCounterStatus--;
+}
+
+core.int buildCounterSystemParameter = 0;
+buildSystemParameter() {
+ var o = new api.SystemParameter();
+ buildCounterSystemParameter++;
+ if (buildCounterSystemParameter < 3) {
+ o.httpHeader = "foo";
+ o.name = "foo";
+ o.urlQueryParameter = "foo";
+ }
+ buildCounterSystemParameter--;
+ return o;
+}
+
+checkSystemParameter(api.SystemParameter o) {
+ buildCounterSystemParameter++;
+ if (buildCounterSystemParameter < 3) {
+ unittest.expect(o.httpHeader, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.urlQueryParameter, unittest.equals('foo'));
+ }
+ buildCounterSystemParameter--;
+}
+
+buildUnnamed3573() {
+ var o = new core.List<api.SystemParameter>();
+ o.add(buildSystemParameter());
+ o.add(buildSystemParameter());
+ return o;
+}
+
+checkUnnamed3573(core.List<api.SystemParameter> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSystemParameter(o[0]);
+ checkSystemParameter(o[1]);
+}
+
+core.int buildCounterSystemParameterRule = 0;
+buildSystemParameterRule() {
+ var o = new api.SystemParameterRule();
+ buildCounterSystemParameterRule++;
+ if (buildCounterSystemParameterRule < 3) {
+ o.parameters = buildUnnamed3573();
+ o.selector = "foo";
+ }
+ buildCounterSystemParameterRule--;
+ return o;
+}
+
+checkSystemParameterRule(api.SystemParameterRule o) {
+ buildCounterSystemParameterRule++;
+ if (buildCounterSystemParameterRule < 3) {
+ checkUnnamed3573(o.parameters);
+ unittest.expect(o.selector, unittest.equals('foo'));
+ }
+ buildCounterSystemParameterRule--;
+}
+
+buildUnnamed3574() {
+ var o = new core.List<api.SystemParameterRule>();
+ o.add(buildSystemParameterRule());
+ o.add(buildSystemParameterRule());
+ return o;
+}
+
+checkUnnamed3574(core.List<api.SystemParameterRule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSystemParameterRule(o[0]);
+ checkSystemParameterRule(o[1]);
+}
+
+core.int buildCounterSystemParameters = 0;
+buildSystemParameters() {
+ var o = new api.SystemParameters();
+ buildCounterSystemParameters++;
+ if (buildCounterSystemParameters < 3) {
+ o.rules = buildUnnamed3574();
+ }
+ buildCounterSystemParameters--;
+ return o;
+}
+
+checkSystemParameters(api.SystemParameters o) {
+ buildCounterSystemParameters++;
+ if (buildCounterSystemParameters < 3) {
+ checkUnnamed3574(o.rules);
+ }
+ buildCounterSystemParameters--;
+}
+
+buildUnnamed3575() {
+ var o = new core.List<api.TenantResource>();
+ o.add(buildTenantResource());
+ o.add(buildTenantResource());
+ return o;
+}
+
+checkUnnamed3575(core.List<api.TenantResource> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkTenantResource(o[0]);
+ checkTenantResource(o[1]);
+}
+
+core.int buildCounterTenancyUnit = 0;
+buildTenancyUnit() {
+ var o = new api.TenancyUnit();
+ buildCounterTenancyUnit++;
+ if (buildCounterTenancyUnit < 3) {
+ o.consumer = "foo";
+ o.createTime = "foo";
+ o.name = "foo";
+ o.service = "foo";
+ o.tenantResources = buildUnnamed3575();
+ }
+ buildCounterTenancyUnit--;
+ return o;
+}
+
+checkTenancyUnit(api.TenancyUnit o) {
+ buildCounterTenancyUnit++;
+ if (buildCounterTenancyUnit < 3) {
+ unittest.expect(o.consumer, unittest.equals('foo'));
+ unittest.expect(o.createTime, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.service, unittest.equals('foo'));
+ checkUnnamed3575(o.tenantResources);
+ }
+ buildCounterTenancyUnit--;
+}
+
+buildUnnamed3576() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed3576(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'));
+}
+
+buildUnnamed3577() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3577(core.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 buildCounterTenantProjectConfig = 0;
+buildTenantProjectConfig() {
+ var o = new api.TenantProjectConfig();
+ buildCounterTenantProjectConfig++;
+ if (buildCounterTenantProjectConfig < 3) {
+ o.billingConfig = buildBillingConfig();
+ o.folder = "foo";
+ o.labels = buildUnnamed3576();
+ o.serviceAccountConfig = buildServiceAccountConfig();
+ o.services = buildUnnamed3577();
+ o.tenantProjectPolicy = buildTenantProjectPolicy();
+ }
+ buildCounterTenantProjectConfig--;
+ return o;
+}
+
+checkTenantProjectConfig(api.TenantProjectConfig o) {
+ buildCounterTenantProjectConfig++;
+ if (buildCounterTenantProjectConfig < 3) {
+ checkBillingConfig(o.billingConfig);
+ unittest.expect(o.folder, unittest.equals('foo'));
+ checkUnnamed3576(o.labels);
+ checkServiceAccountConfig(o.serviceAccountConfig);
+ checkUnnamed3577(o.services);
+ checkTenantProjectPolicy(o.tenantProjectPolicy);
+ }
+ buildCounterTenantProjectConfig--;
+}
+
+buildUnnamed3578() {
+ var o = new core.List<api.PolicyBinding>();
+ o.add(buildPolicyBinding());
+ o.add(buildPolicyBinding());
+ return o;
+}
+
+checkUnnamed3578(core.List<api.PolicyBinding> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPolicyBinding(o[0]);
+ checkPolicyBinding(o[1]);
+}
+
+core.int buildCounterTenantProjectPolicy = 0;
+buildTenantProjectPolicy() {
+ var o = new api.TenantProjectPolicy();
+ buildCounterTenantProjectPolicy++;
+ if (buildCounterTenantProjectPolicy < 3) {
+ o.policyBindings = buildUnnamed3578();
+ }
+ buildCounterTenantProjectPolicy--;
+ return o;
+}
+
+checkTenantProjectPolicy(api.TenantProjectPolicy o) {
+ buildCounterTenantProjectPolicy++;
+ if (buildCounterTenantProjectPolicy < 3) {
+ checkUnnamed3578(o.policyBindings);
+ }
+ buildCounterTenantProjectPolicy--;
+}
+
+core.int buildCounterTenantResource = 0;
+buildTenantResource() {
+ var o = new api.TenantResource();
+ buildCounterTenantResource++;
+ if (buildCounterTenantResource < 3) {
+ o.resource = "foo";
+ o.status = "foo";
+ o.tag = "foo";
+ }
+ buildCounterTenantResource--;
+ return o;
+}
+
+checkTenantResource(api.TenantResource o) {
+ buildCounterTenantResource++;
+ if (buildCounterTenantResource < 3) {
+ unittest.expect(o.resource, unittest.equals('foo'));
+ unittest.expect(o.status, unittest.equals('foo'));
+ unittest.expect(o.tag, unittest.equals('foo'));
+ }
+ buildCounterTenantResource--;
+}
+
+buildUnnamed3579() {
+ var o = new core.List<api.Field>();
+ o.add(buildField());
+ o.add(buildField());
+ return o;
+}
+
+checkUnnamed3579(core.List<api.Field> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkField(o[0]);
+ checkField(o[1]);
+}
+
+buildUnnamed3580() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3580(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3581() {
+ var o = new core.List<api.Option>();
+ o.add(buildOption());
+ o.add(buildOption());
+ return o;
+}
+
+checkUnnamed3581(core.List<api.Option> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOption(o[0]);
+ checkOption(o[1]);
+}
+
+core.int buildCounterType = 0;
+buildType() {
+ var o = new api.Type();
+ buildCounterType++;
+ if (buildCounterType < 3) {
+ o.fields = buildUnnamed3579();
+ o.name = "foo";
+ o.oneofs = buildUnnamed3580();
+ o.options = buildUnnamed3581();
+ o.sourceContext = buildSourceContext();
+ o.syntax = "foo";
+ }
+ buildCounterType--;
+ return o;
+}
+
+checkType(api.Type o) {
+ buildCounterType++;
+ if (buildCounterType < 3) {
+ checkUnnamed3579(o.fields);
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed3580(o.oneofs);
+ checkUnnamed3581(o.options);
+ checkSourceContext(o.sourceContext);
+ unittest.expect(o.syntax, unittest.equals('foo'));
+ }
+ buildCounterType--;
+}
+
+buildUnnamed3582() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3582(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3583() {
+ var o = new core.List<api.UsageRule>();
+ o.add(buildUsageRule());
+ o.add(buildUsageRule());
+ return o;
+}
+
+checkUnnamed3583(core.List<api.UsageRule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUsageRule(o[0]);
+ checkUsageRule(o[1]);
+}
+
+core.int buildCounterUsage = 0;
+buildUsage() {
+ var o = new api.Usage();
+ buildCounterUsage++;
+ if (buildCounterUsage < 3) {
+ o.producerNotificationChannel = "foo";
+ o.requirements = buildUnnamed3582();
+ o.rules = buildUnnamed3583();
+ }
+ buildCounterUsage--;
+ return o;
+}
+
+checkUsage(api.Usage o) {
+ buildCounterUsage++;
+ if (buildCounterUsage < 3) {
+ unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
+ checkUnnamed3582(o.requirements);
+ checkUnnamed3583(o.rules);
+ }
+ buildCounterUsage--;
+}
+
+core.int buildCounterUsageRule = 0;
+buildUsageRule() {
+ var o = new api.UsageRule();
+ buildCounterUsageRule++;
+ if (buildCounterUsageRule < 3) {
+ o.allowUnregisteredCalls = true;
+ o.selector = "foo";
+ o.skipServiceControl = true;
+ }
+ buildCounterUsageRule--;
+ return o;
+}
+
+checkUsageRule(api.UsageRule o) {
+ buildCounterUsageRule++;
+ if (buildCounterUsageRule < 3) {
+ unittest.expect(o.allowUnregisteredCalls, unittest.isTrue);
+ unittest.expect(o.selector, unittest.equals('foo'));
+ unittest.expect(o.skipServiceControl, unittest.isTrue);
+ }
+ buildCounterUsageRule--;
+}
+
+buildUnnamed3584() {
+ var o = new core.List<api.VisibilityRule>();
+ o.add(buildVisibilityRule());
+ o.add(buildVisibilityRule());
+ return o;
+}
+
+checkUnnamed3584(core.List<api.VisibilityRule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkVisibilityRule(o[0]);
+ checkVisibilityRule(o[1]);
+}
+
+core.int buildCounterVisibility = 0;
+buildVisibility() {
+ var o = new api.Visibility();
+ buildCounterVisibility++;
+ if (buildCounterVisibility < 3) {
+ o.rules = buildUnnamed3584();
+ }
+ buildCounterVisibility--;
+ return o;
+}
+
+checkVisibility(api.Visibility o) {
+ buildCounterVisibility++;
+ if (buildCounterVisibility < 3) {
+ checkUnnamed3584(o.rules);
+ }
+ buildCounterVisibility--;
+}
+
+core.int buildCounterVisibilityRule = 0;
+buildVisibilityRule() {
+ var o = new api.VisibilityRule();
+ buildCounterVisibilityRule++;
+ if (buildCounterVisibilityRule < 3) {
+ o.restriction = "foo";
+ o.selector = "foo";
+ }
+ buildCounterVisibilityRule--;
+ return o;
+}
+
+checkVisibilityRule(api.VisibilityRule o) {
+ buildCounterVisibilityRule++;
+ if (buildCounterVisibilityRule < 3) {
+ unittest.expect(o.restriction, unittest.equals('foo'));
+ unittest.expect(o.selector, unittest.equals('foo'));
+ }
+ buildCounterVisibilityRule--;
+}
+
+main() {
+ unittest.group("obj-schema-AddTenantProjectRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAddTenantProjectRequest();
+ var od = new api.AddTenantProjectRequest.fromJson(o.toJson());
+ checkAddTenantProjectRequest(od);
+ });
+ });
+
+ unittest.group("obj-schema-Api", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildApi();
+ var od = new api.Api.fromJson(o.toJson());
+ checkApi(od);
+ });
+ });
+
+ unittest.group("obj-schema-AuthProvider", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAuthProvider();
+ var od = new api.AuthProvider.fromJson(o.toJson());
+ checkAuthProvider(od);
+ });
+ });
+
+ unittest.group("obj-schema-AuthRequirement", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAuthRequirement();
+ var od = new api.AuthRequirement.fromJson(o.toJson());
+ checkAuthRequirement(od);
+ });
+ });
+
+ unittest.group("obj-schema-Authentication", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAuthentication();
+ var od = new api.Authentication.fromJson(o.toJson());
+ checkAuthentication(od);
+ });
+ });
+
+ unittest.group("obj-schema-AuthenticationRule", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAuthenticationRule();
+ var od = new api.AuthenticationRule.fromJson(o.toJson());
+ checkAuthenticationRule(od);
+ });
+ });
+
+ unittest.group("obj-schema-AuthorizationConfig", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAuthorizationConfig();
+ var od = new api.AuthorizationConfig.fromJson(o.toJson());
+ checkAuthorizationConfig(od);
+ });
+ });
+
+ unittest.group("obj-schema-AuthorizationRule", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAuthorizationRule();
+ var od = new api.AuthorizationRule.fromJson(o.toJson());
+ checkAuthorizationRule(od);
+ });
+ });
+
+ unittest.group("obj-schema-Backend", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildBackend();
+ var od = new api.Backend.fromJson(o.toJson());
+ checkBackend(od);
+ });
+ });
+
+ unittest.group("obj-schema-BackendRule", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildBackendRule();
+ var od = new api.BackendRule.fromJson(o.toJson());
+ checkBackendRule(od);
+ });
+ });
+
+ unittest.group("obj-schema-Billing", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildBilling();
+ var od = new api.Billing.fromJson(o.toJson());
+ checkBilling(od);
+ });
+ });
+
+ unittest.group("obj-schema-BillingConfig", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildBillingConfig();
+ var od = new api.BillingConfig.fromJson(o.toJson());
+ checkBillingConfig(od);
+ });
+ });
+
+ unittest.group("obj-schema-BillingDestination", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildBillingDestination();
+ var od = new api.BillingDestination.fromJson(o.toJson());
+ checkBillingDestination(od);
+ });
+ });
+
+ 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-Context", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildContext();
+ var od = new api.Context.fromJson(o.toJson());
+ checkContext(od);
+ });
+ });
+
+ unittest.group("obj-schema-ContextRule", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildContextRule();
+ var od = new api.ContextRule.fromJson(o.toJson());
+ checkContextRule(od);
+ });
+ });
+
+ unittest.group("obj-schema-Control", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildControl();
+ var od = new api.Control.fromJson(o.toJson());
+ checkControl(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreateTenancyUnitRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreateTenancyUnitRequest();
+ var od = new api.CreateTenancyUnitRequest.fromJson(o.toJson());
+ checkCreateTenancyUnitRequest(od);
+ });
+ });
+
+ unittest.group("obj-schema-CustomAuthRequirements", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCustomAuthRequirements();
+ var od = new api.CustomAuthRequirements.fromJson(o.toJson());
+ checkCustomAuthRequirements(od);
+ });
+ });
+
+ unittest.group("obj-schema-CustomError", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCustomError();
+ var od = new api.CustomError.fromJson(o.toJson());
+ checkCustomError(od);
+ });
+ });
+
+ unittest.group("obj-schema-CustomErrorRule", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCustomErrorRule();
+ var od = new api.CustomErrorRule.fromJson(o.toJson());
+ checkCustomErrorRule(od);
+ });
+ });
+
+ unittest.group("obj-schema-CustomHttpPattern", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCustomHttpPattern();
+ var od = new api.CustomHttpPattern.fromJson(o.toJson());
+ checkCustomHttpPattern(od);
+ });
+ });
+
+ unittest.group("obj-schema-Documentation", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDocumentation();
+ var od = new api.Documentation.fromJson(o.toJson());
+ checkDocumentation(od);
+ });
+ });
+
+ unittest.group("obj-schema-DocumentationRule", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDocumentationRule();
+ var od = new api.DocumentationRule.fromJson(o.toJson());
+ checkDocumentationRule(od);
+ });
+ });
+
+ unittest.group("obj-schema-Empty", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildEmpty();
+ var od = new api.Empty.fromJson(o.toJson());
+ checkEmpty(od);
+ });
+ });
+
+ unittest.group("obj-schema-Endpoint", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildEndpoint();
+ var od = new api.Endpoint.fromJson(o.toJson());
+ checkEndpoint(od);
+ });
+ });
+
+ unittest.group("obj-schema-Enum", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildEnum();
+ var od = new api.Enum.fromJson(o.toJson());
+ checkEnum(od);
+ });
+ });
+
+ unittest.group("obj-schema-EnumValue", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildEnumValue();
+ var od = new api.EnumValue.fromJson(o.toJson());
+ checkEnumValue(od);
+ });
+ });
+
+ unittest.group("obj-schema-Experimental", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildExperimental();
+ var od = new api.Experimental.fromJson(o.toJson());
+ checkExperimental(od);
+ });
+ });
+
+ unittest.group("obj-schema-Field", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildField();
+ var od = new api.Field.fromJson(o.toJson());
+ checkField(od);
+ });
+ });
+
+ unittest.group("obj-schema-Http", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildHttp();
+ var od = new api.Http.fromJson(o.toJson());
+ checkHttp(od);
+ });
+ });
+
+ unittest.group("obj-schema-HttpRule", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildHttpRule();
+ var od = new api.HttpRule.fromJson(o.toJson());
+ checkHttpRule(od);
+ });
+ });
+
+ unittest.group("obj-schema-LabelDescriptor", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLabelDescriptor();
+ var od = new api.LabelDescriptor.fromJson(o.toJson());
+ checkLabelDescriptor(od);
+ });
+ });
+
+ unittest.group("obj-schema-ListOperationsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListOperationsResponse();
+ var od = new api.ListOperationsResponse.fromJson(o.toJson());
+ checkListOperationsResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-ListTenancyUnitsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListTenancyUnitsResponse();
+ var od = new api.ListTenancyUnitsResponse.fromJson(o.toJson());
+ checkListTenancyUnitsResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-LogDescriptor", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLogDescriptor();
+ var od = new api.LogDescriptor.fromJson(o.toJson());
+ checkLogDescriptor(od);
+ });
+ });
+
+ unittest.group("obj-schema-Logging", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLogging();
+ var od = new api.Logging.fromJson(o.toJson());
+ checkLogging(od);
+ });
+ });
+
+ unittest.group("obj-schema-LoggingDestination", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLoggingDestination();
+ var od = new api.LoggingDestination.fromJson(o.toJson());
+ checkLoggingDestination(od);
+ });
+ });
+
+ unittest.group("obj-schema-MediaDownload", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMediaDownload();
+ var od = new api.MediaDownload.fromJson(o.toJson());
+ checkMediaDownload(od);
+ });
+ });
+
+ unittest.group("obj-schema-MediaUpload", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMediaUpload();
+ var od = new api.MediaUpload.fromJson(o.toJson());
+ checkMediaUpload(od);
+ });
+ });
+
+ unittest.group("obj-schema-Method", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMethod();
+ var od = new api.Method.fromJson(o.toJson());
+ checkMethod(od);
+ });
+ });
+
+ unittest.group("obj-schema-MetricDescriptor", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMetricDescriptor();
+ var od = new api.MetricDescriptor.fromJson(o.toJson());
+ checkMetricDescriptor(od);
+ });
+ });
+
+ unittest.group("obj-schema-MetricRule", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMetricRule();
+ var od = new api.MetricRule.fromJson(o.toJson());
+ checkMetricRule(od);
+ });
+ });
+
+ unittest.group("obj-schema-Mixin", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMixin();
+ var od = new api.Mixin.fromJson(o.toJson());
+ checkMixin(od);
+ });
+ });
+
+ unittest.group("obj-schema-MonitoredResourceDescriptor", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMonitoredResourceDescriptor();
+ var od = new api.MonitoredResourceDescriptor.fromJson(o.toJson());
+ checkMonitoredResourceDescriptor(od);
+ });
+ });
+
+ unittest.group("obj-schema-Monitoring", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMonitoring();
+ var od = new api.Monitoring.fromJson(o.toJson());
+ checkMonitoring(od);
+ });
+ });
+
+ unittest.group("obj-schema-MonitoringDestination", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMonitoringDestination();
+ var od = new api.MonitoringDestination.fromJson(o.toJson());
+ checkMonitoringDestination(od);
+ });
+ });
+
+ unittest.group("obj-schema-OAuthRequirements", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOAuthRequirements();
+ var od = new api.OAuthRequirements.fromJson(o.toJson());
+ checkOAuthRequirements(od);
+ });
+ });
+
+ unittest.group("obj-schema-Operation", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOperation();
+ var od = new api.Operation.fromJson(o.toJson());
+ checkOperation(od);
+ });
+ });
+
+ unittest.group("obj-schema-Option", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOption();
+ var od = new api.Option.fromJson(o.toJson());
+ checkOption(od);
+ });
+ });
+
+ unittest.group("obj-schema-Page", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPage();
+ var od = new api.Page.fromJson(o.toJson());
+ checkPage(od);
+ });
+ });
+
+ unittest.group("obj-schema-PolicyBinding", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPolicyBinding();
+ var od = new api.PolicyBinding.fromJson(o.toJson());
+ checkPolicyBinding(od);
+ });
+ });
+
+ unittest.group("obj-schema-Quota", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildQuota();
+ var od = new api.Quota.fromJson(o.toJson());
+ checkQuota(od);
+ });
+ });
+
+ unittest.group("obj-schema-QuotaLimit", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildQuotaLimit();
+ var od = new api.QuotaLimit.fromJson(o.toJson());
+ checkQuotaLimit(od);
+ });
+ });
+
+ unittest.group("obj-schema-RemoveTenantProjectRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildRemoveTenantProjectRequest();
+ var od = new api.RemoveTenantProjectRequest.fromJson(o.toJson());
+ checkRemoveTenantProjectRequest(od);
+ });
+ });
+
+ unittest.group("obj-schema-SearchTenancyUnitsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSearchTenancyUnitsResponse();
+ var od = new api.SearchTenancyUnitsResponse.fromJson(o.toJson());
+ checkSearchTenancyUnitsResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-Service", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildService();
+ var od = new api.Service.fromJson(o.toJson());
+ checkService(od);
+ });
+ });
+
+ unittest.group("obj-schema-ServiceAccountConfig", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildServiceAccountConfig();
+ var od = new api.ServiceAccountConfig.fromJson(o.toJson());
+ checkServiceAccountConfig(od);
+ });
+ });
+
+ unittest.group("obj-schema-SourceContext", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSourceContext();
+ var od = new api.SourceContext.fromJson(o.toJson());
+ checkSourceContext(od);
+ });
+ });
+
+ unittest.group("obj-schema-SourceInfo", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSourceInfo();
+ var od = new api.SourceInfo.fromJson(o.toJson());
+ checkSourceInfo(od);
+ });
+ });
+
+ unittest.group("obj-schema-Status", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildStatus();
+ var od = new api.Status.fromJson(o.toJson());
+ checkStatus(od);
+ });
+ });
+
+ unittest.group("obj-schema-SystemParameter", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSystemParameter();
+ var od = new api.SystemParameter.fromJson(o.toJson());
+ checkSystemParameter(od);
+ });
+ });
+
+ unittest.group("obj-schema-SystemParameterRule", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSystemParameterRule();
+ var od = new api.SystemParameterRule.fromJson(o.toJson());
+ checkSystemParameterRule(od);
+ });
+ });
+
+ unittest.group("obj-schema-SystemParameters", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSystemParameters();
+ var od = new api.SystemParameters.fromJson(o.toJson());
+ checkSystemParameters(od);
+ });
+ });
+
+ unittest.group("obj-schema-TenancyUnit", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTenancyUnit();
+ var od = new api.TenancyUnit.fromJson(o.toJson());
+ checkTenancyUnit(od);
+ });
+ });
+
+ unittest.group("obj-schema-TenantProjectConfig", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTenantProjectConfig();
+ var od = new api.TenantProjectConfig.fromJson(o.toJson());
+ checkTenantProjectConfig(od);
+ });
+ });
+
+ unittest.group("obj-schema-TenantProjectPolicy", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTenantProjectPolicy();
+ var od = new api.TenantProjectPolicy.fromJson(o.toJson());
+ checkTenantProjectPolicy(od);
+ });
+ });
+
+ unittest.group("obj-schema-TenantResource", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTenantResource();
+ var od = new api.TenantResource.fromJson(o.toJson());
+ checkTenantResource(od);
+ });
+ });
+
+ unittest.group("obj-schema-Type", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildType();
+ var od = new api.Type.fromJson(o.toJson());
+ checkType(od);
+ });
+ });
+
+ unittest.group("obj-schema-Usage", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUsage();
+ var od = new api.Usage.fromJson(o.toJson());
+ checkUsage(od);
+ });
+ });
+
+ unittest.group("obj-schema-UsageRule", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUsageRule();
+ var od = new api.UsageRule.fromJson(o.toJson());
+ checkUsageRule(od);
+ });
+ });
+
+ unittest.group("obj-schema-Visibility", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildVisibility();
+ var od = new api.Visibility.fromJson(o.toJson());
+ checkVisibility(od);
+ });
+ });
+
+ unittest.group("obj-schema-VisibilityRule", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildVisibilityRule();
+ var od = new api.VisibilityRule.fromJson(o.toJson());
+ checkVisibilityRule(od);
+ });
+ });
+
+ unittest.group("resource-OperationsResourceApi", () {
+ unittest.test("method--cancel", () {
+ var mock = new HttpServerMock();
+ api.OperationsResourceApi res =
+ new api.ServiceconsumermanagementApi(mock).operations;
+ 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;
+ 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 = {};
+ 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(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .cancel(arg_request, arg_name, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
+ unittest.test("method--delete", () {
+ var mock = new HttpServerMock();
+ api.OperationsResourceApi res =
+ new api.ServiceconsumermanagementApi(mock).operations;
+ 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 = {};
+ 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(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .delete(arg_name, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.OperationsResourceApi res =
+ new api.ServiceconsumermanagementApi(mock).operations;
+ 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 = {};
+ 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(buildOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_name, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.OperationsResourceApi res =
+ new api.ServiceconsumermanagementApi(mock).operations;
+ var arg_name = "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;
+ 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 = {};
+ 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["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 = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListOperationsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_name,
+ filter: arg_filter,
+ pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.ListOperationsResponse response) {
+ checkListOperationsResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-ServicesResourceApi", () {
+ unittest.test("method--search", () {
+ var mock = new HttpServerMock();
+ api.ServicesResourceApi res =
+ new api.ServiceconsumermanagementApi(mock).services;
+ var arg_parent = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_query = "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 = {};
+ 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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildSearchTenancyUnitsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .search(arg_parent,
+ pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ query: arg_query,
+ $fields: arg_$fields)
+ .then(
+ unittest.expectAsync1(((api.SearchTenancyUnitsResponse response) {
+ checkSearchTenancyUnitsResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-ServicesTenancyUnitsResourceApi", () {
+ unittest.test("method--addProject", () {
+ var mock = new HttpServerMock();
+ api.ServicesTenancyUnitsResourceApi res =
+ new api.ServiceconsumermanagementApi(mock).services.tenancyUnits;
+ var arg_request = buildAddTenantProjectRequest();
+ var arg_parent = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.AddTenantProjectRequest.fromJson(json);
+ checkAddTenantProjectRequest(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 = {};
+ 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(buildOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .addProject(arg_request, arg_parent, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
+ unittest.test("method--create", () {
+ var mock = new HttpServerMock();
+ api.ServicesTenancyUnitsResourceApi res =
+ new api.ServiceconsumermanagementApi(mock).services.tenancyUnits;
+ var arg_request = buildCreateTenancyUnitRequest();
+ var arg_parent = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.CreateTenancyUnitRequest.fromJson(json);
+ checkCreateTenancyUnitRequest(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 = {};
+ 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(buildTenancyUnit());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .create(arg_request, arg_parent, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.TenancyUnit response) {
+ checkTenancyUnit(response);
+ })));
+ });
+
+ unittest.test("method--delete", () {
+ var mock = new HttpServerMock();
+ api.ServicesTenancyUnitsResourceApi res =
+ new api.ServiceconsumermanagementApi(mock).services.tenancyUnits;
+ 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 = {};
+ 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(buildOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .delete(arg_name, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.ServicesTenancyUnitsResourceApi res =
+ new api.ServiceconsumermanagementApi(mock).services.tenancyUnits;
+ var arg_parent = "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;
+ 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 = {};
+ 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["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 = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListTenancyUnitsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_parent,
+ pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ filter: arg_filter,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.ListTenancyUnitsResponse response) {
+ checkListTenancyUnitsResponse(response);
+ })));
+ });
+
+ unittest.test("method--removeProject", () {
+ var mock = new HttpServerMock();
+ api.ServicesTenancyUnitsResourceApi res =
+ new api.ServiceconsumermanagementApi(mock).services.tenancyUnits;
+ var arg_request = buildRemoveTenantProjectRequest();
+ var arg_name = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.RemoveTenantProjectRequest.fromJson(json);
+ checkRemoveTenantProjectRequest(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 = {};
+ 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(buildOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .removeProject(arg_request, arg_name, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
+ });
+}
diff --git a/generated/googleapis/test/servicecontrol/v1_test.dart b/generated/googleapis/test/servicecontrol/v1_test.dart
index 89b6b26..f32aa8f 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);
}
-buildUnnamed1741() {
+buildUnnamed1755() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1741(core.List<core.String> o) {
+checkUnnamed1755(core.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 = buildUnnamed1741();
+ o.unusedArguments = buildUnnamed1755();
}
buildCounterAllocateInfo--;
return o;
@@ -77,7 +77,7 @@
checkAllocateInfo(api.AllocateInfo o) {
buildCounterAllocateInfo++;
if (buildCounterAllocateInfo < 3) {
- checkUnnamed1741(o.unusedArguments);
+ checkUnnamed1755(o.unusedArguments);
}
buildCounterAllocateInfo--;
}
@@ -103,27 +103,27 @@
buildCounterAllocateQuotaRequest--;
}
-buildUnnamed1742() {
+buildUnnamed1756() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1742(core.List<api.QuotaError> o) {
+checkUnnamed1756(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
}
-buildUnnamed1743() {
+buildUnnamed1757() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1743(core.List<api.MetricValueSet> o) {
+checkUnnamed1757(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 = buildUnnamed1742();
+ o.allocateErrors = buildUnnamed1756();
o.allocateInfo = buildAllocateInfo();
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1743();
+ o.quotaMetrics = buildUnnamed1757();
o.serviceConfigId = "foo";
}
buildCounterAllocateQuotaResponse--;
@@ -147,29 +147,29 @@
checkAllocateQuotaResponse(api.AllocateQuotaResponse o) {
buildCounterAllocateQuotaResponse++;
if (buildCounterAllocateQuotaResponse < 3) {
- checkUnnamed1742(o.allocateErrors);
+ checkUnnamed1756(o.allocateErrors);
checkAllocateInfo(o.allocateInfo);
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1743(o.quotaMetrics);
+ checkUnnamed1757(o.quotaMetrics);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterAllocateQuotaResponse--;
}
-buildUnnamed1744() {
+buildUnnamed1758() {
var o = new core.List<api.AuthorizationInfo>();
o.add(buildAuthorizationInfo());
o.add(buildAuthorizationInfo());
return o;
}
-checkUnnamed1744(core.List<api.AuthorizationInfo> o) {
+checkUnnamed1758(core.List<api.AuthorizationInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthorizationInfo(o[0]);
checkAuthorizationInfo(o[1]);
}
-buildUnnamed1745() {
+buildUnnamed1759() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -184,7 +184,7 @@
return o;
}
-checkUnnamed1745(core.Map<core.String, core.Object> o) {
+checkUnnamed1759(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));
@@ -198,7 +198,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1746() {
+buildUnnamed1760() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -213,7 +213,7 @@
return o;
}
-checkUnnamed1746(core.Map<core.String, core.Object> o) {
+checkUnnamed1760(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,7 +227,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed1747() {
+buildUnnamed1761() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -242,7 +242,7 @@
return o;
}
-checkUnnamed1747(core.Map<core.String, core.Object> o) {
+checkUnnamed1761(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));
@@ -256,7 +256,7 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed1748() {
+buildUnnamed1762() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -271,7 +271,7 @@
return o;
}
-checkUnnamed1748(core.Map<core.String, core.Object> o) {
+checkUnnamed1762(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));
@@ -291,15 +291,15 @@
buildCounterAuditLog++;
if (buildCounterAuditLog < 3) {
o.authenticationInfo = buildAuthenticationInfo();
- o.authorizationInfo = buildUnnamed1744();
- o.metadata = buildUnnamed1745();
+ o.authorizationInfo = buildUnnamed1758();
+ o.metadata = buildUnnamed1759();
o.methodName = "foo";
o.numResponseItems = "foo";
- o.request = buildUnnamed1746();
+ o.request = buildUnnamed1760();
o.requestMetadata = buildRequestMetadata();
o.resourceName = "foo";
- o.response = buildUnnamed1747();
- o.serviceData = buildUnnamed1748();
+ o.response = buildUnnamed1761();
+ o.serviceData = buildUnnamed1762();
o.serviceName = "foo";
o.status = buildStatus();
}
@@ -311,22 +311,22 @@
buildCounterAuditLog++;
if (buildCounterAuditLog < 3) {
checkAuthenticationInfo(o.authenticationInfo);
- checkUnnamed1744(o.authorizationInfo);
- checkUnnamed1745(o.metadata);
+ checkUnnamed1758(o.authorizationInfo);
+ checkUnnamed1759(o.metadata);
unittest.expect(o.methodName, unittest.equals('foo'));
unittest.expect(o.numResponseItems, unittest.equals('foo'));
- checkUnnamed1746(o.request);
+ checkUnnamed1760(o.request);
checkRequestMetadata(o.requestMetadata);
unittest.expect(o.resourceName, unittest.equals('foo'));
- checkUnnamed1747(o.response);
- checkUnnamed1748(o.serviceData);
+ checkUnnamed1761(o.response);
+ checkUnnamed1762(o.serviceData);
unittest.expect(o.serviceName, unittest.equals('foo'));
checkStatus(o.status);
}
buildCounterAuditLog--;
}
-buildUnnamed1749() {
+buildUnnamed1763() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -341,7 +341,7 @@
return o;
}
-checkUnnamed1749(core.Map<core.String, core.Object> o) {
+checkUnnamed1763(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));
@@ -362,7 +362,7 @@
if (buildCounterAuthenticationInfo < 3) {
o.authoritySelector = "foo";
o.principalEmail = "foo";
- o.thirdPartyPrincipal = buildUnnamed1749();
+ o.thirdPartyPrincipal = buildUnnamed1763();
}
buildCounterAuthenticationInfo--;
return o;
@@ -373,7 +373,7 @@
if (buildCounterAuthenticationInfo < 3) {
unittest.expect(o.authoritySelector, unittest.equals('foo'));
unittest.expect(o.principalEmail, unittest.equals('foo'));
- checkUnnamed1749(o.thirdPartyPrincipal);
+ checkUnnamed1763(o.thirdPartyPrincipal);
}
buildCounterAuthenticationInfo--;
}
@@ -422,14 +422,14 @@
buildCounterCheckError--;
}
-buildUnnamed1750() {
+buildUnnamed1764() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1750(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'));
@@ -441,7 +441,7 @@
buildCounterCheckInfo++;
if (buildCounterCheckInfo < 3) {
o.consumerInfo = buildConsumerInfo();
- o.unusedArguments = buildUnnamed1750();
+ o.unusedArguments = buildUnnamed1764();
}
buildCounterCheckInfo--;
return o;
@@ -451,7 +451,7 @@
buildCounterCheckInfo++;
if (buildCounterCheckInfo < 3) {
checkConsumerInfo(o.consumerInfo);
- checkUnnamed1750(o.unusedArguments);
+ checkUnnamed1764(o.unusedArguments);
}
buildCounterCheckInfo--;
}
@@ -481,14 +481,14 @@
buildCounterCheckRequest--;
}
-buildUnnamed1751() {
+buildUnnamed1765() {
var o = new core.List<api.CheckError>();
o.add(buildCheckError());
o.add(buildCheckError());
return o;
}
-checkUnnamed1751(core.List<api.CheckError> o) {
+checkUnnamed1765(core.List<api.CheckError> o) {
unittest.expect(o, unittest.hasLength(2));
checkCheckError(o[0]);
checkCheckError(o[1]);
@@ -499,7 +499,7 @@
var o = new api.CheckResponse();
buildCounterCheckResponse++;
if (buildCounterCheckResponse < 3) {
- o.checkErrors = buildUnnamed1751();
+ o.checkErrors = buildUnnamed1765();
o.checkInfo = buildCheckInfo();
o.operationId = "foo";
o.quotaInfo = buildQuotaInfo();
@@ -512,7 +512,7 @@
checkCheckResponse(api.CheckResponse o) {
buildCounterCheckResponse++;
if (buildCounterCheckResponse < 3) {
- checkUnnamed1751(o.checkErrors);
+ checkUnnamed1765(o.checkErrors);
checkCheckInfo(o.checkInfo);
unittest.expect(o.operationId, unittest.equals('foo'));
checkQuotaInfo(o.quotaInfo);
@@ -540,14 +540,14 @@
buildCounterConsumerInfo--;
}
-buildUnnamed1752() {
+buildUnnamed1766() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1752(core.List<core.String> o) {
+checkUnnamed1766(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -558,7 +558,7 @@
var o = new api.Distribution();
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- o.bucketCounts = buildUnnamed1752();
+ o.bucketCounts = buildUnnamed1766();
o.count = "foo";
o.explicitBuckets = buildExplicitBuckets();
o.exponentialBuckets = buildExponentialBuckets();
@@ -575,7 +575,7 @@
checkDistribution(api.Distribution o) {
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- checkUnnamed1752(o.bucketCounts);
+ checkUnnamed1766(o.bucketCounts);
unittest.expect(o.count, unittest.equals('foo'));
checkExplicitBuckets(o.explicitBuckets);
checkExponentialBuckets(o.exponentialBuckets);
@@ -609,27 +609,27 @@
buildCounterEndReconciliationRequest--;
}
-buildUnnamed1753() {
+buildUnnamed1767() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1753(core.List<api.MetricValueSet> o) {
+checkUnnamed1767(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed1754() {
+buildUnnamed1768() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1754(core.List<api.QuotaError> o) {
+checkUnnamed1768(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
@@ -641,8 +641,8 @@
buildCounterEndReconciliationResponse++;
if (buildCounterEndReconciliationResponse < 3) {
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1753();
- o.reconciliationErrors = buildUnnamed1754();
+ o.quotaMetrics = buildUnnamed1767();
+ o.reconciliationErrors = buildUnnamed1768();
o.serviceConfigId = "foo";
}
buildCounterEndReconciliationResponse--;
@@ -653,21 +653,21 @@
buildCounterEndReconciliationResponse++;
if (buildCounterEndReconciliationResponse < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1753(o.quotaMetrics);
- checkUnnamed1754(o.reconciliationErrors);
+ checkUnnamed1767(o.quotaMetrics);
+ checkUnnamed1768(o.reconciliationErrors);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterEndReconciliationResponse--;
}
-buildUnnamed1755() {
+buildUnnamed1769() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1755(core.List<core.double> o) {
+checkUnnamed1769(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));
@@ -678,7 +678,7 @@
var o = new api.ExplicitBuckets();
buildCounterExplicitBuckets++;
if (buildCounterExplicitBuckets < 3) {
- o.bounds = buildUnnamed1755();
+ o.bounds = buildUnnamed1769();
}
buildCounterExplicitBuckets--;
return o;
@@ -687,7 +687,7 @@
checkExplicitBuckets(api.ExplicitBuckets o) {
buildCounterExplicitBuckets++;
if (buildCounterExplicitBuckets < 3) {
- checkUnnamed1755(o.bounds);
+ checkUnnamed1769(o.bounds);
}
buildCounterExplicitBuckets--;
}
@@ -738,20 +738,20 @@
buildCounterLinearBuckets--;
}
-buildUnnamed1756() {
+buildUnnamed1770() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1756(core.Map<core.String, core.String> o) {
+checkUnnamed1770(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'));
}
-buildUnnamed1757() {
+buildUnnamed1771() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -766,7 +766,7 @@
return o;
}
-checkUnnamed1757(core.Map<core.String, core.Object> o) {
+checkUnnamed1771(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));
@@ -780,7 +780,7 @@
unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed1758() {
+buildUnnamed1772() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -795,7 +795,7 @@
return o;
}
-checkUnnamed1758(core.Map<core.String, core.Object> o) {
+checkUnnamed1772(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));
@@ -815,11 +815,11 @@
buildCounterLogEntry++;
if (buildCounterLogEntry < 3) {
o.insertId = "foo";
- o.labels = buildUnnamed1756();
+ o.labels = buildUnnamed1770();
o.name = "foo";
- o.protoPayload = buildUnnamed1757();
+ o.protoPayload = buildUnnamed1771();
o.severity = "foo";
- o.structPayload = buildUnnamed1758();
+ o.structPayload = buildUnnamed1772();
o.textPayload = "foo";
o.timestamp = "foo";
}
@@ -831,25 +831,25 @@
buildCounterLogEntry++;
if (buildCounterLogEntry < 3) {
unittest.expect(o.insertId, unittest.equals('foo'));
- checkUnnamed1756(o.labels);
+ checkUnnamed1770(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1757(o.protoPayload);
+ checkUnnamed1771(o.protoPayload);
unittest.expect(o.severity, unittest.equals('foo'));
- checkUnnamed1758(o.structPayload);
+ checkUnnamed1772(o.structPayload);
unittest.expect(o.textPayload, unittest.equals('foo'));
unittest.expect(o.timestamp, unittest.equals('foo'));
}
buildCounterLogEntry--;
}
-buildUnnamed1759() {
+buildUnnamed1773() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1759(core.Map<core.String, core.String> o) {
+checkUnnamed1773(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'));
@@ -865,7 +865,7 @@
o.doubleValue = 42.0;
o.endTime = "foo";
o.int64Value = "foo";
- o.labels = buildUnnamed1759();
+ o.labels = buildUnnamed1773();
o.moneyValue = buildMoney();
o.startTime = "foo";
o.stringValue = "foo";
@@ -882,7 +882,7 @@
unittest.expect(o.doubleValue, unittest.equals(42.0));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.int64Value, unittest.equals('foo'));
- checkUnnamed1759(o.labels);
+ checkUnnamed1773(o.labels);
checkMoney(o.moneyValue);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.stringValue, unittest.equals('foo'));
@@ -890,14 +890,14 @@
buildCounterMetricValue--;
}
-buildUnnamed1760() {
+buildUnnamed1774() {
var o = new core.List<api.MetricValue>();
o.add(buildMetricValue());
o.add(buildMetricValue());
return o;
}
-checkUnnamed1760(core.List<api.MetricValue> o) {
+checkUnnamed1774(core.List<api.MetricValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValue(o[0]);
checkMetricValue(o[1]);
@@ -909,7 +909,7 @@
buildCounterMetricValueSet++;
if (buildCounterMetricValueSet < 3) {
o.metricName = "foo";
- o.metricValues = buildUnnamed1760();
+ o.metricValues = buildUnnamed1774();
}
buildCounterMetricValueSet--;
return o;
@@ -919,7 +919,7 @@
buildCounterMetricValueSet++;
if (buildCounterMetricValueSet < 3) {
unittest.expect(o.metricName, unittest.equals('foo'));
- checkUnnamed1760(o.metricValues);
+ checkUnnamed1774(o.metricValues);
}
buildCounterMetricValueSet--;
}
@@ -947,66 +947,66 @@
buildCounterMoney--;
}
-buildUnnamed1761() {
+buildUnnamed1775() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1761(core.Map<core.String, core.String> o) {
+checkUnnamed1775(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'));
}
-buildUnnamed1762() {
+buildUnnamed1776() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed1762(core.List<api.LogEntry> o) {
+checkUnnamed1776(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
}
-buildUnnamed1763() {
+buildUnnamed1777() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1763(core.List<api.MetricValueSet> o) {
+checkUnnamed1777(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed1764() {
+buildUnnamed1778() {
var o = new core.List<api.ResourceInfo>();
o.add(buildResourceInfo());
o.add(buildResourceInfo());
return o;
}
-checkUnnamed1764(core.List<api.ResourceInfo> o) {
+checkUnnamed1778(core.List<api.ResourceInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceInfo(o[0]);
checkResourceInfo(o[1]);
}
-buildUnnamed1765() {
+buildUnnamed1779() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1765(core.Map<core.String, core.String> o) {
+checkUnnamed1779(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'));
@@ -1020,16 +1020,16 @@
o.consumerId = "foo";
o.endTime = "foo";
o.importance = "foo";
- o.labels = buildUnnamed1761();
- o.logEntries = buildUnnamed1762();
- o.metricValueSets = buildUnnamed1763();
+ o.labels = buildUnnamed1775();
+ o.logEntries = buildUnnamed1776();
+ o.metricValueSets = buildUnnamed1777();
o.operationId = "foo";
o.operationName = "foo";
o.quotaProperties = buildQuotaProperties();
o.resourceContainer = "foo";
- o.resources = buildUnnamed1764();
+ o.resources = buildUnnamed1778();
o.startTime = "foo";
- o.userLabels = buildUnnamed1765();
+ o.userLabels = buildUnnamed1779();
}
buildCounterOperation--;
return o;
@@ -1041,16 +1041,16 @@
unittest.expect(o.consumerId, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.importance, unittest.equals('foo'));
- checkUnnamed1761(o.labels);
- checkUnnamed1762(o.logEntries);
- checkUnnamed1763(o.metricValueSets);
+ checkUnnamed1775(o.labels);
+ checkUnnamed1776(o.logEntries);
+ checkUnnamed1777(o.metricValueSets);
unittest.expect(o.operationId, unittest.equals('foo'));
unittest.expect(o.operationName, unittest.equals('foo'));
checkQuotaProperties(o.quotaProperties);
unittest.expect(o.resourceContainer, unittest.equals('foo'));
- checkUnnamed1764(o.resources);
+ checkUnnamed1778(o.resources);
unittest.expect(o.startTime, unittest.equals('foo'));
- checkUnnamed1765(o.userLabels);
+ checkUnnamed1779(o.userLabels);
}
buildCounterOperation--;
}
@@ -1078,40 +1078,40 @@
buildCounterQuotaError--;
}
-buildUnnamed1766() {
+buildUnnamed1780() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1766(core.List<core.String> o) {
+checkUnnamed1780(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1767() {
+buildUnnamed1781() {
var o = new core.Map<core.String, core.int>();
o["x"] = 42;
o["y"] = 42;
return o;
}
-checkUnnamed1767(core.Map<core.String, core.int> o) {
+checkUnnamed1781(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));
}
-buildUnnamed1768() {
+buildUnnamed1782() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1768(core.List<api.MetricValueSet> o) {
+checkUnnamed1782(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
@@ -1122,9 +1122,9 @@
var o = new api.QuotaInfo();
buildCounterQuotaInfo++;
if (buildCounterQuotaInfo < 3) {
- o.limitExceeded = buildUnnamed1766();
- o.quotaConsumed = buildUnnamed1767();
- o.quotaMetrics = buildUnnamed1768();
+ o.limitExceeded = buildUnnamed1780();
+ o.quotaConsumed = buildUnnamed1781();
+ o.quotaMetrics = buildUnnamed1782();
}
buildCounterQuotaInfo--;
return o;
@@ -1133,34 +1133,34 @@
checkQuotaInfo(api.QuotaInfo o) {
buildCounterQuotaInfo++;
if (buildCounterQuotaInfo < 3) {
- checkUnnamed1766(o.limitExceeded);
- checkUnnamed1767(o.quotaConsumed);
- checkUnnamed1768(o.quotaMetrics);
+ checkUnnamed1780(o.limitExceeded);
+ checkUnnamed1781(o.quotaConsumed);
+ checkUnnamed1782(o.quotaMetrics);
}
buildCounterQuotaInfo--;
}
-buildUnnamed1769() {
+buildUnnamed1783() {
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) {
+checkUnnamed1783(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() {
+buildUnnamed1784() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1770(core.List<api.MetricValueSet> o) {
+checkUnnamed1784(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
@@ -1172,10 +1172,10 @@
buildCounterQuotaOperation++;
if (buildCounterQuotaOperation < 3) {
o.consumerId = "foo";
- o.labels = buildUnnamed1769();
+ o.labels = buildUnnamed1783();
o.methodName = "foo";
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1770();
+ o.quotaMetrics = buildUnnamed1784();
o.quotaMode = "foo";
}
buildCounterQuotaOperation--;
@@ -1186,10 +1186,10 @@
buildCounterQuotaOperation++;
if (buildCounterQuotaOperation < 3) {
unittest.expect(o.consumerId, unittest.equals('foo'));
- checkUnnamed1769(o.labels);
+ checkUnnamed1783(o.labels);
unittest.expect(o.methodName, unittest.equals('foo'));
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1770(o.quotaMetrics);
+ checkUnnamed1784(o.quotaMetrics);
unittest.expect(o.quotaMode, unittest.equals('foo'));
}
buildCounterQuotaOperation--;
@@ -1235,27 +1235,27 @@
buildCounterReleaseQuotaRequest--;
}
-buildUnnamed1771() {
+buildUnnamed1785() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1771(core.List<api.MetricValueSet> o) {
+checkUnnamed1785(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed1772() {
+buildUnnamed1786() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1772(core.List<api.QuotaError> o) {
+checkUnnamed1786(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
@@ -1267,8 +1267,8 @@
buildCounterReleaseQuotaResponse++;
if (buildCounterReleaseQuotaResponse < 3) {
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1771();
- o.releaseErrors = buildUnnamed1772();
+ o.quotaMetrics = buildUnnamed1785();
+ o.releaseErrors = buildUnnamed1786();
o.serviceConfigId = "foo";
}
buildCounterReleaseQuotaResponse--;
@@ -1279,8 +1279,8 @@
buildCounterReleaseQuotaResponse++;
if (buildCounterReleaseQuotaResponse < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1771(o.quotaMetrics);
- checkUnnamed1772(o.releaseErrors);
+ checkUnnamed1785(o.quotaMetrics);
+ checkUnnamed1786(o.releaseErrors);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterReleaseQuotaResponse--;
@@ -1328,14 +1328,14 @@
buildCounterReportInfo--;
}
-buildUnnamed1773() {
+buildUnnamed1787() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1773(core.List<api.Operation> o) {
+checkUnnamed1787(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1346,7 +1346,7 @@
var o = new api.ReportRequest();
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- o.operations = buildUnnamed1773();
+ o.operations = buildUnnamed1787();
o.serviceConfigId = "foo";
}
buildCounterReportRequest--;
@@ -1356,33 +1356,33 @@
checkReportRequest(api.ReportRequest o) {
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- checkUnnamed1773(o.operations);
+ checkUnnamed1787(o.operations);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterReportRequest--;
}
-buildUnnamed1774() {
+buildUnnamed1788() {
var o = new core.List<api.ReportError>();
o.add(buildReportError());
o.add(buildReportError());
return o;
}
-checkUnnamed1774(core.List<api.ReportError> o) {
+checkUnnamed1788(core.List<api.ReportError> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportError(o[0]);
checkReportError(o[1]);
}
-buildUnnamed1775() {
+buildUnnamed1789() {
var o = new core.List<api.ReportInfo>();
o.add(buildReportInfo());
o.add(buildReportInfo());
return o;
}
-checkUnnamed1775(core.List<api.ReportInfo> o) {
+checkUnnamed1789(core.List<api.ReportInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportInfo(o[0]);
checkReportInfo(o[1]);
@@ -1393,8 +1393,8 @@
var o = new api.ReportResponse();
buildCounterReportResponse++;
if (buildCounterReportResponse < 3) {
- o.reportErrors = buildUnnamed1774();
- o.reportInfos = buildUnnamed1775();
+ o.reportErrors = buildUnnamed1788();
+ o.reportInfos = buildUnnamed1789();
o.serviceConfigId = "foo";
}
buildCounterReportResponse--;
@@ -1404,8 +1404,8 @@
checkReportResponse(api.ReportResponse o) {
buildCounterReportResponse++;
if (buildCounterReportResponse < 3) {
- checkUnnamed1774(o.reportErrors);
- checkUnnamed1775(o.reportInfos);
+ checkUnnamed1788(o.reportErrors);
+ checkUnnamed1789(o.reportInfos);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterReportResponse--;
@@ -1476,27 +1476,27 @@
buildCounterStartReconciliationRequest--;
}
-buildUnnamed1776() {
+buildUnnamed1790() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1776(core.List<api.MetricValueSet> o) {
+checkUnnamed1790(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed1777() {
+buildUnnamed1791() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1777(core.List<api.QuotaError> o) {
+checkUnnamed1791(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
@@ -1508,8 +1508,8 @@
buildCounterStartReconciliationResponse++;
if (buildCounterStartReconciliationResponse < 3) {
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1776();
- o.reconciliationErrors = buildUnnamed1777();
+ o.quotaMetrics = buildUnnamed1790();
+ o.reconciliationErrors = buildUnnamed1791();
o.serviceConfigId = "foo";
}
buildCounterStartReconciliationResponse--;
@@ -1520,14 +1520,14 @@
buildCounterStartReconciliationResponse++;
if (buildCounterStartReconciliationResponse < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1776(o.quotaMetrics);
- checkUnnamed1777(o.reconciliationErrors);
+ checkUnnamed1790(o.quotaMetrics);
+ checkUnnamed1791(o.reconciliationErrors);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterStartReconciliationResponse--;
}
-buildUnnamed1778() {
+buildUnnamed1792() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1542,7 +1542,7 @@
return o;
}
-checkUnnamed1778(core.Map<core.String, core.Object> o) {
+checkUnnamed1792(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));
@@ -1556,17 +1556,17 @@
unittest.expect(casted16["string"], unittest.equals('foo'));
}
-buildUnnamed1779() {
+buildUnnamed1793() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1778());
- o.add(buildUnnamed1778());
+ o.add(buildUnnamed1792());
+ o.add(buildUnnamed1792());
return o;
}
-checkUnnamed1779(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1793(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1778(o[0]);
- checkUnnamed1778(o[1]);
+ checkUnnamed1792(o[0]);
+ checkUnnamed1792(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1575,7 +1575,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1779();
+ o.details = buildUnnamed1793();
o.message = "foo";
}
buildCounterStatus--;
@@ -1586,7 +1586,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1779(o.details);
+ checkUnnamed1793(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
diff --git a/generated/googleapis/test/servicemanagement/v1_test.dart b/generated/googleapis/test/servicemanagement/v1_test.dart
index bcb6028..38f03c1 100644
--- a/generated/googleapis/test/servicemanagement/v1_test.dart
+++ b/generated/googleapis/test/servicemanagement/v1_test.dart
@@ -69,40 +69,40 @@
buildCounterAdvice--;
}
-buildUnnamed1180() {
+buildUnnamed1187() {
var o = new core.List<api.Method>();
o.add(buildMethod());
o.add(buildMethod());
return o;
}
-checkUnnamed1180(core.List<api.Method> o) {
+checkUnnamed1187(core.List<api.Method> o) {
unittest.expect(o, unittest.hasLength(2));
checkMethod(o[0]);
checkMethod(o[1]);
}
-buildUnnamed1181() {
+buildUnnamed1188() {
var o = new core.List<api.Mixin>();
o.add(buildMixin());
o.add(buildMixin());
return o;
}
-checkUnnamed1181(core.List<api.Mixin> o) {
+checkUnnamed1188(core.List<api.Mixin> o) {
unittest.expect(o, unittest.hasLength(2));
checkMixin(o[0]);
checkMixin(o[1]);
}
-buildUnnamed1182() {
+buildUnnamed1189() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1182(core.List<api.Option> o) {
+checkUnnamed1189(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 = buildUnnamed1180();
- o.mixins = buildUnnamed1181();
+ o.methods = buildUnnamed1187();
+ o.mixins = buildUnnamed1188();
o.name = "foo";
- o.options = buildUnnamed1182();
+ o.options = buildUnnamed1189();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
o.version = "foo";
@@ -128,10 +128,10 @@
checkApi(api.Api o) {
buildCounterApi++;
if (buildCounterApi < 3) {
- checkUnnamed1180(o.methods);
- checkUnnamed1181(o.mixins);
+ checkUnnamed1187(o.methods);
+ checkUnnamed1188(o.mixins);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1182(o.options);
+ checkUnnamed1189(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -139,27 +139,27 @@
buildCounterApi--;
}
-buildUnnamed1183() {
+buildUnnamed1190() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1183(core.List<api.AuditLogConfig> o) {
+checkUnnamed1190(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed1184() {
+buildUnnamed1191() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1184(core.List<core.String> o) {
+checkUnnamed1191(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -170,8 +170,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed1183();
- o.exemptedMembers = buildUnnamed1184();
+ o.auditLogConfigs = buildUnnamed1190();
+ o.exemptedMembers = buildUnnamed1191();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -181,21 +181,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1183(o.auditLogConfigs);
- checkUnnamed1184(o.exemptedMembers);
+ checkUnnamed1190(o.auditLogConfigs);
+ checkUnnamed1191(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1185() {
+buildUnnamed1192() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1185(core.List<core.String> 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'));
@@ -206,7 +206,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed1185();
+ o.exemptedMembers = buildUnnamed1192();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -216,7 +216,7 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1185(o.exemptedMembers);
+ checkUnnamed1192(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
@@ -270,27 +270,27 @@
buildCounterAuthRequirement--;
}
-buildUnnamed1186() {
+buildUnnamed1193() {
var o = new core.List<api.AuthProvider>();
o.add(buildAuthProvider());
o.add(buildAuthProvider());
return o;
}
-checkUnnamed1186(core.List<api.AuthProvider> o) {
+checkUnnamed1193(core.List<api.AuthProvider> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthProvider(o[0]);
checkAuthProvider(o[1]);
}
-buildUnnamed1187() {
+buildUnnamed1194() {
var o = new core.List<api.AuthenticationRule>();
o.add(buildAuthenticationRule());
o.add(buildAuthenticationRule());
return o;
}
-checkUnnamed1187(core.List<api.AuthenticationRule> o) {
+checkUnnamed1194(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 = buildUnnamed1186();
- o.rules = buildUnnamed1187();
+ o.providers = buildUnnamed1193();
+ o.rules = buildUnnamed1194();
}
buildCounterAuthentication--;
return o;
@@ -311,20 +311,20 @@
checkAuthentication(api.Authentication o) {
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- checkUnnamed1186(o.providers);
- checkUnnamed1187(o.rules);
+ checkUnnamed1193(o.providers);
+ checkUnnamed1194(o.rules);
}
buildCounterAuthentication--;
}
-buildUnnamed1188() {
+buildUnnamed1195() {
var o = new core.List<api.AuthRequirement>();
o.add(buildAuthRequirement());
o.add(buildAuthRequirement());
return o;
}
-checkUnnamed1188(core.List<api.AuthRequirement> o) {
+checkUnnamed1195(core.List<api.AuthRequirement> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthRequirement(o[0]);
checkAuthRequirement(o[1]);
@@ -338,7 +338,7 @@
o.allowWithoutCredential = true;
o.customAuth = buildCustomAuthRequirements();
o.oauth = buildOAuthRequirements();
- o.requirements = buildUnnamed1188();
+ o.requirements = buildUnnamed1195();
o.selector = "foo";
}
buildCounterAuthenticationRule--;
@@ -351,7 +351,7 @@
unittest.expect(o.allowWithoutCredential, unittest.isTrue);
checkCustomAuthRequirements(o.customAuth);
checkOAuthRequirements(o.oauth);
- checkUnnamed1188(o.requirements);
+ checkUnnamed1195(o.requirements);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterAuthenticationRule--;
@@ -376,14 +376,14 @@
buildCounterAuthorizationConfig--;
}
-buildUnnamed1189() {
+buildUnnamed1196() {
var o = new core.List<api.BackendRule>();
o.add(buildBackendRule());
o.add(buildBackendRule());
return o;
}
-checkUnnamed1189(core.List<api.BackendRule> o) {
+checkUnnamed1196(core.List<api.BackendRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendRule(o[0]);
checkBackendRule(o[1]);
@@ -394,7 +394,7 @@
var o = new api.Backend();
buildCounterBackend++;
if (buildCounterBackend < 3) {
- o.rules = buildUnnamed1189();
+ o.rules = buildUnnamed1196();
}
buildCounterBackend--;
return o;
@@ -403,7 +403,7 @@
checkBackend(api.Backend o) {
buildCounterBackend++;
if (buildCounterBackend < 3) {
- checkUnnamed1189(o.rules);
+ checkUnnamed1196(o.rules);
}
buildCounterBackend--;
}
@@ -433,14 +433,14 @@
buildCounterBackendRule--;
}
-buildUnnamed1190() {
+buildUnnamed1197() {
var o = new core.List<api.BillingDestination>();
o.add(buildBillingDestination());
o.add(buildBillingDestination());
return o;
}
-checkUnnamed1190(core.List<api.BillingDestination> o) {
+checkUnnamed1197(core.List<api.BillingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingDestination(o[0]);
checkBillingDestination(o[1]);
@@ -451,7 +451,7 @@
var o = new api.Billing();
buildCounterBilling++;
if (buildCounterBilling < 3) {
- o.consumerDestinations = buildUnnamed1190();
+ o.consumerDestinations = buildUnnamed1197();
}
buildCounterBilling--;
return o;
@@ -460,19 +460,19 @@
checkBilling(api.Billing o) {
buildCounterBilling++;
if (buildCounterBilling < 3) {
- checkUnnamed1190(o.consumerDestinations);
+ checkUnnamed1197(o.consumerDestinations);
}
buildCounterBilling--;
}
-buildUnnamed1191() {
+buildUnnamed1198() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1191(core.List<core.String> o) {
+checkUnnamed1198(core.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.BillingDestination();
buildCounterBillingDestination++;
if (buildCounterBillingDestination < 3) {
- o.metrics = buildUnnamed1191();
+ o.metrics = buildUnnamed1198();
o.monitoredResource = "foo";
}
buildCounterBillingDestination--;
@@ -493,20 +493,20 @@
checkBillingDestination(api.BillingDestination o) {
buildCounterBillingDestination++;
if (buildCounterBillingDestination < 3) {
- checkUnnamed1191(o.metrics);
+ checkUnnamed1198(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterBillingDestination--;
}
-buildUnnamed1192() {
+buildUnnamed1199() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1192(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'));
@@ -518,7 +518,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed1192();
+ o.members = buildUnnamed1199();
o.role = "foo";
}
buildCounterBinding--;
@@ -529,20 +529,20 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed1192(o.members);
+ checkUnnamed1199(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed1193() {
+buildUnnamed1200() {
var o = new core.List<api.ConfigChange>();
o.add(buildConfigChange());
o.add(buildConfigChange());
return o;
}
-checkUnnamed1193(core.List<api.ConfigChange> o) {
+checkUnnamed1200(core.List<api.ConfigChange> o) {
unittest.expect(o, unittest.hasLength(2));
checkConfigChange(o[0]);
checkConfigChange(o[1]);
@@ -553,7 +553,7 @@
var o = new api.ChangeReport();
buildCounterChangeReport++;
if (buildCounterChangeReport < 3) {
- o.configChanges = buildUnnamed1193();
+ o.configChanges = buildUnnamed1200();
}
buildCounterChangeReport--;
return o;
@@ -562,19 +562,19 @@
checkChangeReport(api.ChangeReport o) {
buildCounterChangeReport++;
if (buildCounterChangeReport < 3) {
- checkUnnamed1193(o.configChanges);
+ checkUnnamed1200(o.configChanges);
}
buildCounterChangeReport--;
}
-buildUnnamed1194() {
+buildUnnamed1201() {
var o = new core.List<api.Advice>();
o.add(buildAdvice());
o.add(buildAdvice());
return o;
}
-checkUnnamed1194(core.List<api.Advice> o) {
+checkUnnamed1201(core.List<api.Advice> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvice(o[0]);
checkAdvice(o[1]);
@@ -585,7 +585,7 @@
var o = new api.ConfigChange();
buildCounterConfigChange++;
if (buildCounterConfigChange < 3) {
- o.advices = buildUnnamed1194();
+ o.advices = buildUnnamed1201();
o.changeType = "foo";
o.element = "foo";
o.newValue = "foo";
@@ -598,7 +598,7 @@
checkConfigChange(api.ConfigChange o) {
buildCounterConfigChange++;
if (buildCounterConfigChange < 3) {
- checkUnnamed1194(o.advices);
+ checkUnnamed1201(o.advices);
unittest.expect(o.changeType, unittest.equals('foo'));
unittest.expect(o.element, unittest.equals('foo'));
unittest.expect(o.newValue, unittest.equals('foo'));
@@ -649,14 +649,14 @@
buildCounterConfigRef--;
}
-buildUnnamed1195() {
+buildUnnamed1202() {
var o = new core.List<api.ConfigFile>();
o.add(buildConfigFile());
o.add(buildConfigFile());
return o;
}
-checkUnnamed1195(core.List<api.ConfigFile> o) {
+checkUnnamed1202(core.List<api.ConfigFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkConfigFile(o[0]);
checkConfigFile(o[1]);
@@ -667,7 +667,7 @@
var o = new api.ConfigSource();
buildCounterConfigSource++;
if (buildCounterConfigSource < 3) {
- o.files = buildUnnamed1195();
+ o.files = buildUnnamed1202();
o.id = "foo";
}
buildCounterConfigSource--;
@@ -677,20 +677,20 @@
checkConfigSource(api.ConfigSource o) {
buildCounterConfigSource++;
if (buildCounterConfigSource < 3) {
- checkUnnamed1195(o.files);
+ checkUnnamed1202(o.files);
unittest.expect(o.id, unittest.equals('foo'));
}
buildCounterConfigSource--;
}
-buildUnnamed1196() {
+buildUnnamed1203() {
var o = new core.List<api.ContextRule>();
o.add(buildContextRule());
o.add(buildContextRule());
return o;
}
-checkUnnamed1196(core.List<api.ContextRule> o) {
+checkUnnamed1203(core.List<api.ContextRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkContextRule(o[0]);
checkContextRule(o[1]);
@@ -701,7 +701,7 @@
var o = new api.Context();
buildCounterContext++;
if (buildCounterContext < 3) {
- o.rules = buildUnnamed1196();
+ o.rules = buildUnnamed1203();
}
buildCounterContext--;
return o;
@@ -710,32 +710,32 @@
checkContext(api.Context o) {
buildCounterContext++;
if (buildCounterContext < 3) {
- checkUnnamed1196(o.rules);
+ checkUnnamed1203(o.rules);
}
buildCounterContext--;
}
-buildUnnamed1197() {
+buildUnnamed1204() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1197(core.List<core.String> o) {
+checkUnnamed1204(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1198() {
+buildUnnamed1205() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1198(core.List<core.String> o) {
+checkUnnamed1205(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -746,8 +746,8 @@
var o = new api.ContextRule();
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- o.provided = buildUnnamed1197();
- o.requested = buildUnnamed1198();
+ o.provided = buildUnnamed1204();
+ o.requested = buildUnnamed1205();
o.selector = "foo";
}
buildCounterContextRule--;
@@ -757,8 +757,8 @@
checkContextRule(api.ContextRule o) {
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- checkUnnamed1197(o.provided);
- checkUnnamed1198(o.requested);
+ checkUnnamed1204(o.provided);
+ checkUnnamed1205(o.requested);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterContextRule--;
@@ -802,27 +802,27 @@
buildCounterCustomAuthRequirements--;
}
-buildUnnamed1199() {
+buildUnnamed1206() {
var o = new core.List<api.CustomErrorRule>();
o.add(buildCustomErrorRule());
o.add(buildCustomErrorRule());
return o;
}
-checkUnnamed1199(core.List<api.CustomErrorRule> o) {
+checkUnnamed1206(core.List<api.CustomErrorRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomErrorRule(o[0]);
checkCustomErrorRule(o[1]);
}
-buildUnnamed1200() {
+buildUnnamed1207() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1200(core.List<core.String> 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'));
@@ -833,8 +833,8 @@
var o = new api.CustomError();
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- o.rules = buildUnnamed1199();
- o.types = buildUnnamed1200();
+ o.rules = buildUnnamed1206();
+ o.types = buildUnnamed1207();
}
buildCounterCustomError--;
return o;
@@ -843,8 +843,8 @@
checkCustomError(api.CustomError o) {
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- checkUnnamed1199(o.rules);
- checkUnnamed1200(o.types);
+ checkUnnamed1206(o.rules);
+ checkUnnamed1207(o.types);
}
buildCounterCustomError--;
}
@@ -948,27 +948,27 @@
buildCounterDisableServiceRequest--;
}
-buildUnnamed1201() {
+buildUnnamed1208() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1201(core.List<api.Page> o) {
+checkUnnamed1208(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1202() {
+buildUnnamed1209() {
var o = new core.List<api.DocumentationRule>();
o.add(buildDocumentationRule());
o.add(buildDocumentationRule());
return o;
}
-checkUnnamed1202(core.List<api.DocumentationRule> o) {
+checkUnnamed1209(core.List<api.DocumentationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkDocumentationRule(o[0]);
checkDocumentationRule(o[1]);
@@ -981,8 +981,8 @@
if (buildCounterDocumentation < 3) {
o.documentationRootUrl = "foo";
o.overview = "foo";
- o.pages = buildUnnamed1201();
- o.rules = buildUnnamed1202();
+ o.pages = buildUnnamed1208();
+ o.rules = buildUnnamed1209();
o.summary = "foo";
}
buildCounterDocumentation--;
@@ -994,8 +994,8 @@
if (buildCounterDocumentation < 3) {
unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
unittest.expect(o.overview, unittest.equals('foo'));
- checkUnnamed1201(o.pages);
- checkUnnamed1202(o.rules);
+ checkUnnamed1208(o.pages);
+ checkUnnamed1209(o.rules);
unittest.expect(o.summary, unittest.equals('foo'));
}
buildCounterDocumentation--;
@@ -1043,27 +1043,27 @@
buildCounterEnableServiceRequest--;
}
-buildUnnamed1203() {
+buildUnnamed1210() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1203(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'));
}
-buildUnnamed1204() {
+buildUnnamed1211() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1204(core.List<core.String> o) {
+checkUnnamed1211(core.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,9 +1074,9 @@
var o = new api.Endpoint();
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- o.aliases = buildUnnamed1203();
+ o.aliases = buildUnnamed1210();
o.allowCors = true;
- o.features = buildUnnamed1204();
+ o.features = buildUnnamed1211();
o.name = "foo";
o.target = "foo";
}
@@ -1087,36 +1087,36 @@
checkEndpoint(api.Endpoint o) {
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- checkUnnamed1203(o.aliases);
+ checkUnnamed1210(o.aliases);
unittest.expect(o.allowCors, unittest.isTrue);
- checkUnnamed1204(o.features);
+ checkUnnamed1211(o.features);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
}
buildCounterEndpoint--;
}
-buildUnnamed1205() {
+buildUnnamed1212() {
var o = new core.List<api.EnumValue>();
o.add(buildEnumValue());
o.add(buildEnumValue());
return o;
}
-checkUnnamed1205(core.List<api.EnumValue> o) {
+checkUnnamed1212(core.List<api.EnumValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnumValue(o[0]);
checkEnumValue(o[1]);
}
-buildUnnamed1206() {
+buildUnnamed1213() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1206(core.List<api.Option> o) {
+checkUnnamed1213(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1127,9 +1127,9 @@
var o = new api.Enum();
buildCounterEnum++;
if (buildCounterEnum < 3) {
- o.enumvalue = buildUnnamed1205();
+ o.enumvalue = buildUnnamed1212();
o.name = "foo";
- o.options = buildUnnamed1206();
+ o.options = buildUnnamed1213();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -1140,23 +1140,23 @@
checkEnum(api.Enum o) {
buildCounterEnum++;
if (buildCounterEnum < 3) {
- checkUnnamed1205(o.enumvalue);
+ checkUnnamed1212(o.enumvalue);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1206(o.options);
+ checkUnnamed1213(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
buildCounterEnum--;
}
-buildUnnamed1207() {
+buildUnnamed1214() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1207(core.List<api.Option> o) {
+checkUnnamed1214(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1169,7 +1169,7 @@
if (buildCounterEnumValue < 3) {
o.name = "foo";
o.number = 42;
- o.options = buildUnnamed1207();
+ o.options = buildUnnamed1214();
}
buildCounterEnumValue--;
return o;
@@ -1180,7 +1180,7 @@
if (buildCounterEnumValue < 3) {
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
- checkUnnamed1207(o.options);
+ checkUnnamed1214(o.options);
}
buildCounterEnumValue--;
}
@@ -1229,14 +1229,14 @@
buildCounterExpr--;
}
-buildUnnamed1208() {
+buildUnnamed1215() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1208(core.List<api.Option> o) {
+checkUnnamed1215(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1254,7 +1254,7 @@
o.name = "foo";
o.number = 42;
o.oneofIndex = 42;
- o.options = buildUnnamed1208();
+ o.options = buildUnnamed1215();
o.packed = true;
o.typeUrl = "foo";
}
@@ -1272,21 +1272,21 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
unittest.expect(o.oneofIndex, unittest.equals(42));
- checkUnnamed1208(o.options);
+ checkUnnamed1215(o.options);
unittest.expect(o.packed, unittest.isTrue);
unittest.expect(o.typeUrl, unittest.equals('foo'));
}
buildCounterField--;
}
-buildUnnamed1209() {
+buildUnnamed1216() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1209(core.List<core.String> o) {
+checkUnnamed1216(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1301,7 +1301,7 @@
o.deadline = "foo";
o.flowName = "foo";
o.operationType = 42;
- o.resourceNames = buildUnnamed1209();
+ o.resourceNames = buildUnnamed1216();
o.startTime = "foo";
o.surface = "foo";
}
@@ -1316,14 +1316,14 @@
unittest.expect(o.deadline, unittest.equals('foo'));
unittest.expect(o.flowName, unittest.equals('foo'));
unittest.expect(o.operationType, unittest.equals(42));
- checkUnnamed1209(o.resourceNames);
+ checkUnnamed1216(o.resourceNames);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.surface, unittest.equals('foo'));
}
buildCounterFlowOperationMetadata--;
}
-buildUnnamed1210() {
+buildUnnamed1217() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1338,7 +1338,7 @@
return o;
}
-checkUnnamed1210(core.Map<core.String, core.Object> o) {
+checkUnnamed1217(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));
@@ -1352,7 +1352,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1211() {
+buildUnnamed1218() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1367,7 +1367,7 @@
return o;
}
-checkUnnamed1211(core.Map<core.String, core.Object> o) {
+checkUnnamed1218(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));
@@ -1386,8 +1386,8 @@
var o = new api.GenerateConfigReportRequest();
buildCounterGenerateConfigReportRequest++;
if (buildCounterGenerateConfigReportRequest < 3) {
- o.newConfig = buildUnnamed1210();
- o.oldConfig = buildUnnamed1211();
+ o.newConfig = buildUnnamed1217();
+ o.oldConfig = buildUnnamed1218();
}
buildCounterGenerateConfigReportRequest--;
return o;
@@ -1396,33 +1396,33 @@
checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) {
buildCounterGenerateConfigReportRequest++;
if (buildCounterGenerateConfigReportRequest < 3) {
- checkUnnamed1210(o.newConfig);
- checkUnnamed1211(o.oldConfig);
+ checkUnnamed1217(o.newConfig);
+ checkUnnamed1218(o.oldConfig);
}
buildCounterGenerateConfigReportRequest--;
}
-buildUnnamed1212() {
+buildUnnamed1219() {
var o = new core.List<api.ChangeReport>();
o.add(buildChangeReport());
o.add(buildChangeReport());
return o;
}
-checkUnnamed1212(core.List<api.ChangeReport> o) {
+checkUnnamed1219(core.List<api.ChangeReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkChangeReport(o[0]);
checkChangeReport(o[1]);
}
-buildUnnamed1213() {
+buildUnnamed1220() {
var o = new core.List<api.Diagnostic>();
o.add(buildDiagnostic());
o.add(buildDiagnostic());
return o;
}
-checkUnnamed1213(core.List<api.Diagnostic> o) {
+checkUnnamed1220(core.List<api.Diagnostic> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiagnostic(o[0]);
checkDiagnostic(o[1]);
@@ -1433,8 +1433,8 @@
var o = new api.GenerateConfigReportResponse();
buildCounterGenerateConfigReportResponse++;
if (buildCounterGenerateConfigReportResponse < 3) {
- o.changeReports = buildUnnamed1212();
- o.diagnostics = buildUnnamed1213();
+ o.changeReports = buildUnnamed1219();
+ o.diagnostics = buildUnnamed1220();
o.id = "foo";
o.serviceName = "foo";
}
@@ -1445,8 +1445,8 @@
checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) {
buildCounterGenerateConfigReportResponse++;
if (buildCounterGenerateConfigReportResponse < 3) {
- checkUnnamed1212(o.changeReports);
- checkUnnamed1213(o.diagnostics);
+ checkUnnamed1219(o.changeReports);
+ checkUnnamed1220(o.diagnostics);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.serviceName, unittest.equals('foo'));
}
@@ -1468,14 +1468,14 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed1214() {
+buildUnnamed1221() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1214(core.List<api.HttpRule> o) {
+checkUnnamed1221(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -1487,7 +1487,7 @@
buildCounterHttp++;
if (buildCounterHttp < 3) {
o.fullyDecodeReservedExpansion = true;
- o.rules = buildUnnamed1214();
+ o.rules = buildUnnamed1221();
}
buildCounterHttp--;
return o;
@@ -1497,19 +1497,19 @@
buildCounterHttp++;
if (buildCounterHttp < 3) {
unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
- checkUnnamed1214(o.rules);
+ checkUnnamed1221(o.rules);
}
buildCounterHttp--;
}
-buildUnnamed1215() {
+buildUnnamed1222() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1215(core.List<api.HttpRule> o) {
+checkUnnamed1222(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -1520,7 +1520,7 @@
var o = new api.HttpRule();
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- o.additionalBindings = buildUnnamed1215();
+ o.additionalBindings = buildUnnamed1222();
o.body = "foo";
o.custom = buildCustomHttpPattern();
o.delete = "foo";
@@ -1540,7 +1540,7 @@
checkHttpRule(api.HttpRule o) {
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- checkUnnamed1215(o.additionalBindings);
+ checkUnnamed1222(o.additionalBindings);
unittest.expect(o.body, unittest.equals('foo'));
checkCustomHttpPattern(o.custom);
unittest.expect(o.delete, unittest.equals('foo'));
@@ -1579,14 +1579,14 @@
buildCounterLabelDescriptor--;
}
-buildUnnamed1216() {
+buildUnnamed1223() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1216(core.List<api.Operation> o) {
+checkUnnamed1223(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 = buildUnnamed1216();
+ o.operations = buildUnnamed1223();
}
buildCounterListOperationsResponse--;
return o;
@@ -1608,19 +1608,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1216(o.operations);
+ checkUnnamed1223(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1217() {
+buildUnnamed1224() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed1217(core.List<api.Service> o) {
+checkUnnamed1224(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 = buildUnnamed1217();
+ o.serviceConfigs = buildUnnamed1224();
}
buildCounterListServiceConfigsResponse--;
return o;
@@ -1642,19 +1642,19 @@
buildCounterListServiceConfigsResponse++;
if (buildCounterListServiceConfigsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1217(o.serviceConfigs);
+ checkUnnamed1224(o.serviceConfigs);
}
buildCounterListServiceConfigsResponse--;
}
-buildUnnamed1218() {
+buildUnnamed1225() {
var o = new core.List<api.Rollout>();
o.add(buildRollout());
o.add(buildRollout());
return o;
}
-checkUnnamed1218(core.List<api.Rollout> o) {
+checkUnnamed1225(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 = buildUnnamed1218();
+ o.rollouts = buildUnnamed1225();
}
buildCounterListServiceRolloutsResponse--;
return o;
@@ -1676,19 +1676,19 @@
buildCounterListServiceRolloutsResponse++;
if (buildCounterListServiceRolloutsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1218(o.rollouts);
+ checkUnnamed1225(o.rollouts);
}
buildCounterListServiceRolloutsResponse--;
}
-buildUnnamed1219() {
+buildUnnamed1226() {
var o = new core.List<api.ManagedService>();
o.add(buildManagedService());
o.add(buildManagedService());
return o;
}
-checkUnnamed1219(core.List<api.ManagedService> o) {
+checkUnnamed1226(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 = buildUnnamed1219();
+ o.services = buildUnnamed1226();
}
buildCounterListServicesResponse--;
return o;
@@ -1710,19 +1710,19 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1219(o.services);
+ checkUnnamed1226(o.services);
}
buildCounterListServicesResponse--;
}
-buildUnnamed1220() {
+buildUnnamed1227() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1220(core.List<api.LabelDescriptor> o) {
+checkUnnamed1227(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 = buildUnnamed1220();
+ o.labels = buildUnnamed1227();
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'));
- checkUnnamed1220(o.labels);
+ checkUnnamed1227(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLogDescriptor--;
}
-buildUnnamed1221() {
+buildUnnamed1228() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1221(core.List<api.LoggingDestination> o) {
+checkUnnamed1228(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
}
-buildUnnamed1222() {
+buildUnnamed1229() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1222(core.List<api.LoggingDestination> o) {
+checkUnnamed1229(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 = buildUnnamed1221();
- o.producerDestinations = buildUnnamed1222();
+ o.consumerDestinations = buildUnnamed1228();
+ o.producerDestinations = buildUnnamed1229();
}
buildCounterLogging--;
return o;
@@ -1794,20 +1794,20 @@
checkLogging(api.Logging o) {
buildCounterLogging++;
if (buildCounterLogging < 3) {
- checkUnnamed1221(o.consumerDestinations);
- checkUnnamed1222(o.producerDestinations);
+ checkUnnamed1228(o.consumerDestinations);
+ checkUnnamed1229(o.producerDestinations);
}
buildCounterLogging--;
}
-buildUnnamed1223() {
+buildUnnamed1230() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1223(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'));
@@ -1818,7 +1818,7 @@
var o = new api.LoggingDestination();
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- o.logs = buildUnnamed1223();
+ o.logs = buildUnnamed1230();
o.monitoredResource = "foo";
}
buildCounterLoggingDestination--;
@@ -1828,7 +1828,7 @@
checkLoggingDestination(api.LoggingDestination o) {
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- checkUnnamed1223(o.logs);
+ checkUnnamed1230(o.logs);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterLoggingDestination--;
@@ -1884,14 +1884,14 @@
buildCounterMediaDownload--;
}
-buildUnnamed1224() {
+buildUnnamed1231() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1224(core.List<core.String> o) {
+checkUnnamed1231(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1906,7 +1906,7 @@
o.dropzone = "foo";
o.enabled = true;
o.maxSize = "foo";
- o.mimeTypes = buildUnnamed1224();
+ o.mimeTypes = buildUnnamed1231();
o.progressNotification = true;
o.startNotification = true;
o.uploadService = "foo";
@@ -1922,7 +1922,7 @@
unittest.expect(o.dropzone, unittest.equals('foo'));
unittest.expect(o.enabled, unittest.isTrue);
unittest.expect(o.maxSize, unittest.equals('foo'));
- checkUnnamed1224(o.mimeTypes);
+ checkUnnamed1231(o.mimeTypes);
unittest.expect(o.progressNotification, unittest.isTrue);
unittest.expect(o.startNotification, unittest.isTrue);
unittest.expect(o.uploadService, unittest.equals('foo'));
@@ -1930,14 +1930,14 @@
buildCounterMediaUpload--;
}
-buildUnnamed1225() {
+buildUnnamed1232() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1225(core.List<api.Option> o) {
+checkUnnamed1232(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1949,7 +1949,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
o.name = "foo";
- o.options = buildUnnamed1225();
+ o.options = buildUnnamed1232();
o.requestStreaming = true;
o.requestTypeUrl = "foo";
o.responseStreaming = true;
@@ -1964,7 +1964,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1225(o.options);
+ checkUnnamed1232(o.options);
unittest.expect(o.requestStreaming, unittest.isTrue);
unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
unittest.expect(o.responseStreaming, unittest.isTrue);
@@ -1974,14 +1974,14 @@
buildCounterMethod--;
}
-buildUnnamed1226() {
+buildUnnamed1233() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1226(core.List<api.LabelDescriptor> o) {
+checkUnnamed1233(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1994,7 +1994,7 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1226();
+ o.labels = buildUnnamed1233();
o.metricKind = "foo";
o.name = "foo";
o.type = "foo";
@@ -2010,7 +2010,7 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1226(o.labels);
+ checkUnnamed1233(o.labels);
unittest.expect(o.metricKind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -2020,14 +2020,14 @@
buildCounterMetricDescriptor--;
}
-buildUnnamed1227() {
+buildUnnamed1234() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1227(core.Map<core.String, core.String> o) {
+checkUnnamed1234(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'));
@@ -2038,7 +2038,7 @@
var o = new api.MetricRule();
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- o.metricCosts = buildUnnamed1227();
+ o.metricCosts = buildUnnamed1234();
o.selector = "foo";
}
buildCounterMetricRule--;
@@ -2048,7 +2048,7 @@
checkMetricRule(api.MetricRule o) {
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- checkUnnamed1227(o.metricCosts);
+ checkUnnamed1234(o.metricCosts);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterMetricRule--;
@@ -2075,14 +2075,14 @@
buildCounterMixin--;
}
-buildUnnamed1228() {
+buildUnnamed1235() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1228(core.List<api.LabelDescriptor> o) {
+checkUnnamed1235(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -2095,7 +2095,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1228();
+ o.labels = buildUnnamed1235();
o.name = "foo";
o.type = "foo";
}
@@ -2108,34 +2108,34 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1228(o.labels);
+ checkUnnamed1235(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed1229() {
+buildUnnamed1236() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1229(core.List<api.MonitoringDestination> o) {
+checkUnnamed1236(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
}
-buildUnnamed1230() {
+buildUnnamed1237() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1230(core.List<api.MonitoringDestination> o) {
+checkUnnamed1237(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
@@ -2146,8 +2146,8 @@
var o = new api.Monitoring();
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- o.consumerDestinations = buildUnnamed1229();
- o.producerDestinations = buildUnnamed1230();
+ o.consumerDestinations = buildUnnamed1236();
+ o.producerDestinations = buildUnnamed1237();
}
buildCounterMonitoring--;
return o;
@@ -2156,20 +2156,20 @@
checkMonitoring(api.Monitoring o) {
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- checkUnnamed1229(o.consumerDestinations);
- checkUnnamed1230(o.producerDestinations);
+ checkUnnamed1236(o.consumerDestinations);
+ checkUnnamed1237(o.producerDestinations);
}
buildCounterMonitoring--;
}
-buildUnnamed1231() {
+buildUnnamed1238() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1231(core.List<core.String> o) {
+checkUnnamed1238(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2180,7 +2180,7 @@
var o = new api.MonitoringDestination();
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- o.metrics = buildUnnamed1231();
+ o.metrics = buildUnnamed1238();
o.monitoredResource = "foo";
}
buildCounterMonitoringDestination--;
@@ -2190,7 +2190,7 @@
checkMonitoringDestination(api.MonitoringDestination o) {
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- checkUnnamed1231(o.metrics);
+ checkUnnamed1238(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterMonitoringDestination--;
@@ -2215,7 +2215,7 @@
buildCounterOAuthRequirements--;
}
-buildUnnamed1232() {
+buildUnnamed1239() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2230,7 +2230,7 @@
return o;
}
-checkUnnamed1232(core.Map<core.String, core.Object> o) {
+checkUnnamed1239(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));
@@ -2244,7 +2244,7 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed1233() {
+buildUnnamed1240() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2259,7 +2259,7 @@
return o;
}
-checkUnnamed1233(core.Map<core.String, core.Object> o) {
+checkUnnamed1240(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));
@@ -2280,9 +2280,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1232();
+ o.metadata = buildUnnamed1239();
o.name = "foo";
- o.response = buildUnnamed1233();
+ o.response = buildUnnamed1240();
}
buildCounterOperation--;
return o;
@@ -2293,34 +2293,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1232(o.metadata);
+ checkUnnamed1239(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1233(o.response);
+ checkUnnamed1240(o.response);
}
buildCounterOperation--;
}
-buildUnnamed1234() {
+buildUnnamed1241() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1234(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'));
}
-buildUnnamed1235() {
+buildUnnamed1242() {
var o = new core.List<api.Step>();
o.add(buildStep());
o.add(buildStep());
return o;
}
-checkUnnamed1235(core.List<api.Step> o) {
+checkUnnamed1242(core.List<api.Step> o) {
unittest.expect(o, unittest.hasLength(2));
checkStep(o[0]);
checkStep(o[1]);
@@ -2332,9 +2332,9 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
o.progressPercentage = 42;
- o.resourceNames = buildUnnamed1234();
+ o.resourceNames = buildUnnamed1241();
o.startTime = "foo";
- o.steps = buildUnnamed1235();
+ o.steps = buildUnnamed1242();
}
buildCounterOperationMetadata--;
return o;
@@ -2344,14 +2344,14 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
unittest.expect(o.progressPercentage, unittest.equals(42));
- checkUnnamed1234(o.resourceNames);
+ checkUnnamed1241(o.resourceNames);
unittest.expect(o.startTime, unittest.equals('foo'));
- checkUnnamed1235(o.steps);
+ checkUnnamed1242(o.steps);
}
buildCounterOperationMetadata--;
}
-buildUnnamed1236() {
+buildUnnamed1243() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2366,7 +2366,7 @@
return o;
}
-checkUnnamed1236(core.Map<core.String, core.Object> o) {
+checkUnnamed1243(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));
@@ -2386,7 +2386,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
o.name = "foo";
- o.value = buildUnnamed1236();
+ o.value = buildUnnamed1243();
}
buildCounterOption--;
return o;
@@ -2396,19 +2396,19 @@
buildCounterOption++;
if (buildCounterOption < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1236(o.value);
+ checkUnnamed1243(o.value);
}
buildCounterOption--;
}
-buildUnnamed1237() {
+buildUnnamed1244() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1237(core.List<api.Page> o) {
+checkUnnamed1244(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -2421,7 +2421,7 @@
if (buildCounterPage < 3) {
o.content = "foo";
o.name = "foo";
- o.subpages = buildUnnamed1237();
+ o.subpages = buildUnnamed1244();
}
buildCounterPage--;
return o;
@@ -2432,32 +2432,32 @@
if (buildCounterPage < 3) {
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1237(o.subpages);
+ checkUnnamed1244(o.subpages);
}
buildCounterPage--;
}
-buildUnnamed1238() {
+buildUnnamed1245() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1238(core.List<api.AuditConfig> o) {
+checkUnnamed1245(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1239() {
+buildUnnamed1246() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1239(core.List<api.Binding> o) {
+checkUnnamed1246(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -2468,8 +2468,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed1238();
- o.bindings = buildUnnamed1239();
+ o.auditConfigs = buildUnnamed1245();
+ o.bindings = buildUnnamed1246();
o.etag = "foo";
o.iamOwned = true;
o.version = 42;
@@ -2481,8 +2481,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1238(o.auditConfigs);
- checkUnnamed1239(o.bindings);
+ checkUnnamed1245(o.auditConfigs);
+ checkUnnamed1246(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
unittest.expect(o.version, unittest.equals(42));
@@ -2490,27 +2490,27 @@
buildCounterPolicy--;
}
-buildUnnamed1240() {
+buildUnnamed1247() {
var o = new core.List<api.QuotaLimit>();
o.add(buildQuotaLimit());
o.add(buildQuotaLimit());
return o;
}
-checkUnnamed1240(core.List<api.QuotaLimit> o) {
+checkUnnamed1247(core.List<api.QuotaLimit> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaLimit(o[0]);
checkQuotaLimit(o[1]);
}
-buildUnnamed1241() {
+buildUnnamed1248() {
var o = new core.List<api.MetricRule>();
o.add(buildMetricRule());
o.add(buildMetricRule());
return o;
}
-checkUnnamed1241(core.List<api.MetricRule> o) {
+checkUnnamed1248(core.List<api.MetricRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricRule(o[0]);
checkMetricRule(o[1]);
@@ -2521,8 +2521,8 @@
var o = new api.Quota();
buildCounterQuota++;
if (buildCounterQuota < 3) {
- o.limits = buildUnnamed1240();
- o.metricRules = buildUnnamed1241();
+ o.limits = buildUnnamed1247();
+ o.metricRules = buildUnnamed1248();
}
buildCounterQuota--;
return o;
@@ -2531,20 +2531,20 @@
checkQuota(api.Quota o) {
buildCounterQuota++;
if (buildCounterQuota < 3) {
- checkUnnamed1240(o.limits);
- checkUnnamed1241(o.metricRules);
+ checkUnnamed1247(o.limits);
+ checkUnnamed1248(o.metricRules);
}
buildCounterQuota--;
}
-buildUnnamed1242() {
+buildUnnamed1249() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1242(core.Map<core.String, core.String> o) {
+checkUnnamed1249(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'));
@@ -2564,7 +2564,7 @@
o.metric = "foo";
o.name = "foo";
o.unit = "foo";
- o.values = buildUnnamed1242();
+ o.values = buildUnnamed1249();
}
buildCounterQuotaLimit--;
return o;
@@ -2582,7 +2582,7 @@
unittest.expect(o.metric, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.unit, unittest.equals('foo'));
- checkUnnamed1242(o.values);
+ checkUnnamed1249(o.values);
}
buildCounterQuotaLimit--;
}
@@ -2618,105 +2618,105 @@
buildCounterRollout--;
}
-buildUnnamed1243() {
+buildUnnamed1250() {
var o = new core.List<api.Api>();
o.add(buildApi());
o.add(buildApi());
return o;
}
-checkUnnamed1243(core.List<api.Api> o) {
+checkUnnamed1250(core.List<api.Api> o) {
unittest.expect(o, unittest.hasLength(2));
checkApi(o[0]);
checkApi(o[1]);
}
-buildUnnamed1244() {
+buildUnnamed1251() {
var o = new core.List<api.Endpoint>();
o.add(buildEndpoint());
o.add(buildEndpoint());
return o;
}
-checkUnnamed1244(core.List<api.Endpoint> o) {
+checkUnnamed1251(core.List<api.Endpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkEndpoint(o[0]);
checkEndpoint(o[1]);
}
-buildUnnamed1245() {
+buildUnnamed1252() {
var o = new core.List<api.Enum>();
o.add(buildEnum());
o.add(buildEnum());
return o;
}
-checkUnnamed1245(core.List<api.Enum> o) {
+checkUnnamed1252(core.List<api.Enum> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnum(o[0]);
checkEnum(o[1]);
}
-buildUnnamed1246() {
+buildUnnamed1253() {
var o = new core.List<api.LogDescriptor>();
o.add(buildLogDescriptor());
o.add(buildLogDescriptor());
return o;
}
-checkUnnamed1246(core.List<api.LogDescriptor> o) {
+checkUnnamed1253(core.List<api.LogDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogDescriptor(o[0]);
checkLogDescriptor(o[1]);
}
-buildUnnamed1247() {
+buildUnnamed1254() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed1247(core.List<api.MetricDescriptor> o) {
+checkUnnamed1254(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
}
-buildUnnamed1248() {
+buildUnnamed1255() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed1248(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed1255(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
}
-buildUnnamed1249() {
+buildUnnamed1256() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1249(core.List<api.Type> o) {
+checkUnnamed1256(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
}
-buildUnnamed1250() {
+buildUnnamed1257() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1250(core.List<api.Type> o) {
+checkUnnamed1257(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
@@ -2727,7 +2727,7 @@
var o = new api.Service();
buildCounterService++;
if (buildCounterService < 3) {
- o.apis = buildUnnamed1243();
+ o.apis = buildUnnamed1250();
o.authentication = buildAuthentication();
o.backend = buildBackend();
o.billing = buildBilling();
@@ -2736,24 +2736,24 @@
o.control = buildControl();
o.customError = buildCustomError();
o.documentation = buildDocumentation();
- o.endpoints = buildUnnamed1244();
- o.enums = buildUnnamed1245();
+ o.endpoints = buildUnnamed1251();
+ o.enums = buildUnnamed1252();
o.experimental = buildExperimental();
o.http = buildHttp();
o.id = "foo";
o.logging = buildLogging();
- o.logs = buildUnnamed1246();
- o.metrics = buildUnnamed1247();
- o.monitoredResources = buildUnnamed1248();
+ o.logs = buildUnnamed1253();
+ o.metrics = buildUnnamed1254();
+ o.monitoredResources = buildUnnamed1255();
o.monitoring = buildMonitoring();
o.name = "foo";
o.producerProjectId = "foo";
o.quota = buildQuota();
o.sourceInfo = buildSourceInfo();
o.systemParameters = buildSystemParameters();
- o.systemTypes = buildUnnamed1249();
+ o.systemTypes = buildUnnamed1256();
o.title = "foo";
- o.types = buildUnnamed1250();
+ o.types = buildUnnamed1257();
o.usage = buildUsage();
o.visibility = buildVisibility();
}
@@ -2764,7 +2764,7 @@
checkService(api.Service o) {
buildCounterService++;
if (buildCounterService < 3) {
- checkUnnamed1243(o.apis);
+ checkUnnamed1250(o.apis);
checkAuthentication(o.authentication);
checkBackend(o.backend);
checkBilling(o.billing);
@@ -2773,24 +2773,24 @@
checkControl(o.control);
checkCustomError(o.customError);
checkDocumentation(o.documentation);
- checkUnnamed1244(o.endpoints);
- checkUnnamed1245(o.enums);
+ checkUnnamed1251(o.endpoints);
+ checkUnnamed1252(o.enums);
checkExperimental(o.experimental);
checkHttp(o.http);
unittest.expect(o.id, unittest.equals('foo'));
checkLogging(o.logging);
- checkUnnamed1246(o.logs);
- checkUnnamed1247(o.metrics);
- checkUnnamed1248(o.monitoredResources);
+ checkUnnamed1253(o.logs);
+ checkUnnamed1254(o.metrics);
+ checkUnnamed1255(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);
- checkUnnamed1249(o.systemTypes);
+ checkUnnamed1256(o.systemTypes);
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1250(o.types);
+ checkUnnamed1257(o.types);
checkUsage(o.usage);
checkVisibility(o.visibility);
}
@@ -2837,7 +2837,7 @@
buildCounterSourceContext--;
}
-buildUnnamed1251() {
+buildUnnamed1258() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2852,7 +2852,7 @@
return o;
}
-checkUnnamed1251(core.Map<core.String, core.Object> o) {
+checkUnnamed1258(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));
@@ -2866,17 +2866,17 @@
unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed1252() {
+buildUnnamed1259() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1251());
- o.add(buildUnnamed1251());
+ o.add(buildUnnamed1258());
+ o.add(buildUnnamed1258());
return o;
}
-checkUnnamed1252(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1259(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1251(o[0]);
- checkUnnamed1251(o[1]);
+ checkUnnamed1258(o[0]);
+ checkUnnamed1258(o[1]);
}
core.int buildCounterSourceInfo = 0;
@@ -2884,7 +2884,7 @@
var o = new api.SourceInfo();
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- o.sourceFiles = buildUnnamed1252();
+ o.sourceFiles = buildUnnamed1259();
}
buildCounterSourceInfo--;
return o;
@@ -2893,12 +2893,12 @@
checkSourceInfo(api.SourceInfo o) {
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- checkUnnamed1252(o.sourceFiles);
+ checkUnnamed1259(o.sourceFiles);
}
buildCounterSourceInfo--;
}
-buildUnnamed1253() {
+buildUnnamed1260() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2913,7 +2913,7 @@
return o;
}
-checkUnnamed1253(core.Map<core.String, core.Object> o) {
+checkUnnamed1260(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));
@@ -2927,17 +2927,17 @@
unittest.expect(casted14["string"], unittest.equals('foo'));
}
-buildUnnamed1254() {
+buildUnnamed1261() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1253());
- o.add(buildUnnamed1253());
+ o.add(buildUnnamed1260());
+ o.add(buildUnnamed1260());
return o;
}
-checkUnnamed1254(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1261(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1253(o[0]);
- checkUnnamed1253(o[1]);
+ checkUnnamed1260(o[0]);
+ checkUnnamed1260(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2946,7 +2946,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1254();
+ o.details = buildUnnamed1261();
o.message = "foo";
}
buildCounterStatus--;
@@ -2957,7 +2957,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1254(o.details);
+ checkUnnamed1261(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -3047,14 +3047,14 @@
buildCounterSystemParameter--;
}
-buildUnnamed1255() {
+buildUnnamed1262() {
var o = new core.List<api.SystemParameter>();
o.add(buildSystemParameter());
o.add(buildSystemParameter());
return o;
}
-checkUnnamed1255(core.List<api.SystemParameter> o) {
+checkUnnamed1262(core.List<api.SystemParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameter(o[0]);
checkSystemParameter(o[1]);
@@ -3065,7 +3065,7 @@
var o = new api.SystemParameterRule();
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- o.parameters = buildUnnamed1255();
+ o.parameters = buildUnnamed1262();
o.selector = "foo";
}
buildCounterSystemParameterRule--;
@@ -3075,20 +3075,20 @@
checkSystemParameterRule(api.SystemParameterRule o) {
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- checkUnnamed1255(o.parameters);
+ checkUnnamed1262(o.parameters);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterSystemParameterRule--;
}
-buildUnnamed1256() {
+buildUnnamed1263() {
var o = new core.List<api.SystemParameterRule>();
o.add(buildSystemParameterRule());
o.add(buildSystemParameterRule());
return o;
}
-checkUnnamed1256(core.List<api.SystemParameterRule> o) {
+checkUnnamed1263(core.List<api.SystemParameterRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameterRule(o[0]);
checkSystemParameterRule(o[1]);
@@ -3099,7 +3099,7 @@
var o = new api.SystemParameters();
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- o.rules = buildUnnamed1256();
+ o.rules = buildUnnamed1263();
}
buildCounterSystemParameters--;
return o;
@@ -3108,19 +3108,19 @@
checkSystemParameters(api.SystemParameters o) {
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- checkUnnamed1256(o.rules);
+ checkUnnamed1263(o.rules);
}
buildCounterSystemParameters--;
}
-buildUnnamed1257() {
+buildUnnamed1264() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1257(core.List<core.String> o) {
+checkUnnamed1264(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3131,7 +3131,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1257();
+ o.permissions = buildUnnamed1264();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -3140,19 +3140,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1257(o.permissions);
+ checkUnnamed1264(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1258() {
+buildUnnamed1265() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1258(core.List<core.String> o) {
+checkUnnamed1265(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3163,7 +3163,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1258();
+ o.permissions = buildUnnamed1265();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -3172,19 +3172,19 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1258(o.permissions);
+ checkUnnamed1265(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed1259() {
+buildUnnamed1266() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed1259(core.Map<core.String, core.double> o) {
+checkUnnamed1266(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));
@@ -3195,7 +3195,7 @@
var o = new api.TrafficPercentStrategy();
buildCounterTrafficPercentStrategy++;
if (buildCounterTrafficPercentStrategy < 3) {
- o.percentages = buildUnnamed1259();
+ o.percentages = buildUnnamed1266();
}
buildCounterTrafficPercentStrategy--;
return o;
@@ -3204,45 +3204,45 @@
checkTrafficPercentStrategy(api.TrafficPercentStrategy o) {
buildCounterTrafficPercentStrategy++;
if (buildCounterTrafficPercentStrategy < 3) {
- checkUnnamed1259(o.percentages);
+ checkUnnamed1266(o.percentages);
}
buildCounterTrafficPercentStrategy--;
}
-buildUnnamed1260() {
+buildUnnamed1267() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed1260(core.List<api.Field> o) {
+checkUnnamed1267(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
}
-buildUnnamed1261() {
+buildUnnamed1268() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1261(core.List<core.String> o) {
+checkUnnamed1268(core.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() {
+buildUnnamed1269() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1262(core.List<api.Option> o) {
+checkUnnamed1269(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -3253,10 +3253,10 @@
var o = new api.Type();
buildCounterType++;
if (buildCounterType < 3) {
- o.fields = buildUnnamed1260();
+ o.fields = buildUnnamed1267();
o.name = "foo";
- o.oneofs = buildUnnamed1261();
- o.options = buildUnnamed1262();
+ o.oneofs = buildUnnamed1268();
+ o.options = buildUnnamed1269();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -3267,10 +3267,10 @@
checkType(api.Type o) {
buildCounterType++;
if (buildCounterType < 3) {
- checkUnnamed1260(o.fields);
+ checkUnnamed1267(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1261(o.oneofs);
- checkUnnamed1262(o.options);
+ checkUnnamed1268(o.oneofs);
+ checkUnnamed1269(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
@@ -3296,27 +3296,27 @@
buildCounterUndeleteServiceResponse--;
}
-buildUnnamed1263() {
+buildUnnamed1270() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1263(core.List<core.String> o) {
+checkUnnamed1270(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1264() {
+buildUnnamed1271() {
var o = new core.List<api.UsageRule>();
o.add(buildUsageRule());
o.add(buildUsageRule());
return o;
}
-checkUnnamed1264(core.List<api.UsageRule> o) {
+checkUnnamed1271(core.List<api.UsageRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageRule(o[0]);
checkUsageRule(o[1]);
@@ -3328,8 +3328,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
o.producerNotificationChannel = "foo";
- o.requirements = buildUnnamed1263();
- o.rules = buildUnnamed1264();
+ o.requirements = buildUnnamed1270();
+ o.rules = buildUnnamed1271();
}
buildCounterUsage--;
return o;
@@ -3339,8 +3339,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
- checkUnnamed1263(o.requirements);
- checkUnnamed1264(o.rules);
+ checkUnnamed1270(o.requirements);
+ checkUnnamed1271(o.rules);
}
buildCounterUsage--;
}
@@ -3368,14 +3368,14 @@
buildCounterUsageRule--;
}
-buildUnnamed1265() {
+buildUnnamed1272() {
var o = new core.List<api.VisibilityRule>();
o.add(buildVisibilityRule());
o.add(buildVisibilityRule());
return o;
}
-checkUnnamed1265(core.List<api.VisibilityRule> o) {
+checkUnnamed1272(core.List<api.VisibilityRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkVisibilityRule(o[0]);
checkVisibilityRule(o[1]);
@@ -3386,7 +3386,7 @@
var o = new api.Visibility();
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- o.rules = buildUnnamed1265();
+ o.rules = buildUnnamed1272();
}
buildCounterVisibility--;
return o;
@@ -3395,7 +3395,7 @@
checkVisibility(api.Visibility o) {
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- checkUnnamed1265(o.rules);
+ checkUnnamed1272(o.rules);
}
buildCounterVisibility--;
}
@@ -4730,10 +4730,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services;
- var arg_consumerId = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_producerProjectId = "foo";
+ var arg_consumerId = "foo";
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4765,14 +4765,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["consumerId"].first, unittest.equals(arg_consumerId));
- 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["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4783,10 +4783,10 @@
}), true);
res
.list(
- consumerId: arg_consumerId,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
producerProjectId: arg_producerProjectId,
+ consumerId: arg_consumerId,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListServicesResponse response) {
checkListServicesResponse(response);
diff --git a/generated/googleapis/test/serviceuser/v1_test.dart b/generated/googleapis/test/serviceuser/v1_test.dart
index 585fb83..e7966de 100644
--- a/generated/googleapis/test/serviceuser/v1_test.dart
+++ b/generated/googleapis/test/serviceuser/v1_test.dart
@@ -50,40 +50,40 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1833() {
+buildUnnamed1847() {
var o = new core.List<api.Method>();
o.add(buildMethod());
o.add(buildMethod());
return o;
}
-checkUnnamed1833(core.List<api.Method> o) {
+checkUnnamed1847(core.List<api.Method> o) {
unittest.expect(o, unittest.hasLength(2));
checkMethod(o[0]);
checkMethod(o[1]);
}
-buildUnnamed1834() {
+buildUnnamed1848() {
var o = new core.List<api.Mixin>();
o.add(buildMixin());
o.add(buildMixin());
return o;
}
-checkUnnamed1834(core.List<api.Mixin> o) {
+checkUnnamed1848(core.List<api.Mixin> o) {
unittest.expect(o, unittest.hasLength(2));
checkMixin(o[0]);
checkMixin(o[1]);
}
-buildUnnamed1835() {
+buildUnnamed1849() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1835(core.List<api.Option> o) {
+checkUnnamed1849(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -94,10 +94,10 @@
var o = new api.Api();
buildCounterApi++;
if (buildCounterApi < 3) {
- o.methods = buildUnnamed1833();
- o.mixins = buildUnnamed1834();
+ o.methods = buildUnnamed1847();
+ o.mixins = buildUnnamed1848();
o.name = "foo";
- o.options = buildUnnamed1835();
+ o.options = buildUnnamed1849();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
o.version = "foo";
@@ -109,10 +109,10 @@
checkApi(api.Api o) {
buildCounterApi++;
if (buildCounterApi < 3) {
- checkUnnamed1833(o.methods);
- checkUnnamed1834(o.mixins);
+ checkUnnamed1847(o.methods);
+ checkUnnamed1848(o.mixins);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1835(o.options);
+ checkUnnamed1849(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -168,27 +168,27 @@
buildCounterAuthRequirement--;
}
-buildUnnamed1836() {
+buildUnnamed1850() {
var o = new core.List<api.AuthProvider>();
o.add(buildAuthProvider());
o.add(buildAuthProvider());
return o;
}
-checkUnnamed1836(core.List<api.AuthProvider> o) {
+checkUnnamed1850(core.List<api.AuthProvider> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthProvider(o[0]);
checkAuthProvider(o[1]);
}
-buildUnnamed1837() {
+buildUnnamed1851() {
var o = new core.List<api.AuthenticationRule>();
o.add(buildAuthenticationRule());
o.add(buildAuthenticationRule());
return o;
}
-checkUnnamed1837(core.List<api.AuthenticationRule> o) {
+checkUnnamed1851(core.List<api.AuthenticationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthenticationRule(o[0]);
checkAuthenticationRule(o[1]);
@@ -199,8 +199,8 @@
var o = new api.Authentication();
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- o.providers = buildUnnamed1836();
- o.rules = buildUnnamed1837();
+ o.providers = buildUnnamed1850();
+ o.rules = buildUnnamed1851();
}
buildCounterAuthentication--;
return o;
@@ -209,20 +209,20 @@
checkAuthentication(api.Authentication o) {
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- checkUnnamed1836(o.providers);
- checkUnnamed1837(o.rules);
+ checkUnnamed1850(o.providers);
+ checkUnnamed1851(o.rules);
}
buildCounterAuthentication--;
}
-buildUnnamed1838() {
+buildUnnamed1852() {
var o = new core.List<api.AuthRequirement>();
o.add(buildAuthRequirement());
o.add(buildAuthRequirement());
return o;
}
-checkUnnamed1838(core.List<api.AuthRequirement> o) {
+checkUnnamed1852(core.List<api.AuthRequirement> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthRequirement(o[0]);
checkAuthRequirement(o[1]);
@@ -236,7 +236,7 @@
o.allowWithoutCredential = true;
o.customAuth = buildCustomAuthRequirements();
o.oauth = buildOAuthRequirements();
- o.requirements = buildUnnamed1838();
+ o.requirements = buildUnnamed1852();
o.selector = "foo";
}
buildCounterAuthenticationRule--;
@@ -249,7 +249,7 @@
unittest.expect(o.allowWithoutCredential, unittest.isTrue);
checkCustomAuthRequirements(o.customAuth);
checkOAuthRequirements(o.oauth);
- checkUnnamed1838(o.requirements);
+ checkUnnamed1852(o.requirements);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterAuthenticationRule--;
@@ -274,14 +274,14 @@
buildCounterAuthorizationConfig--;
}
-buildUnnamed1839() {
+buildUnnamed1853() {
var o = new core.List<api.BackendRule>();
o.add(buildBackendRule());
o.add(buildBackendRule());
return o;
}
-checkUnnamed1839(core.List<api.BackendRule> o) {
+checkUnnamed1853(core.List<api.BackendRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendRule(o[0]);
checkBackendRule(o[1]);
@@ -292,7 +292,7 @@
var o = new api.Backend();
buildCounterBackend++;
if (buildCounterBackend < 3) {
- o.rules = buildUnnamed1839();
+ o.rules = buildUnnamed1853();
}
buildCounterBackend--;
return o;
@@ -301,7 +301,7 @@
checkBackend(api.Backend o) {
buildCounterBackend++;
if (buildCounterBackend < 3) {
- checkUnnamed1839(o.rules);
+ checkUnnamed1853(o.rules);
}
buildCounterBackend--;
}
@@ -331,14 +331,14 @@
buildCounterBackendRule--;
}
-buildUnnamed1840() {
+buildUnnamed1854() {
var o = new core.List<api.BillingDestination>();
o.add(buildBillingDestination());
o.add(buildBillingDestination());
return o;
}
-checkUnnamed1840(core.List<api.BillingDestination> o) {
+checkUnnamed1854(core.List<api.BillingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingDestination(o[0]);
checkBillingDestination(o[1]);
@@ -349,7 +349,7 @@
var o = new api.Billing();
buildCounterBilling++;
if (buildCounterBilling < 3) {
- o.consumerDestinations = buildUnnamed1840();
+ o.consumerDestinations = buildUnnamed1854();
}
buildCounterBilling--;
return o;
@@ -358,19 +358,19 @@
checkBilling(api.Billing o) {
buildCounterBilling++;
if (buildCounterBilling < 3) {
- checkUnnamed1840(o.consumerDestinations);
+ checkUnnamed1854(o.consumerDestinations);
}
buildCounterBilling--;
}
-buildUnnamed1841() {
+buildUnnamed1855() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1841(core.List<core.String> o) {
+checkUnnamed1855(core.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 @@
var o = new api.BillingDestination();
buildCounterBillingDestination++;
if (buildCounterBillingDestination < 3) {
- o.metrics = buildUnnamed1841();
+ o.metrics = buildUnnamed1855();
o.monitoredResource = "foo";
}
buildCounterBillingDestination--;
@@ -391,20 +391,20 @@
checkBillingDestination(api.BillingDestination o) {
buildCounterBillingDestination++;
if (buildCounterBillingDestination < 3) {
- checkUnnamed1841(o.metrics);
+ checkUnnamed1855(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterBillingDestination--;
}
-buildUnnamed1842() {
+buildUnnamed1856() {
var o = new core.List<api.ContextRule>();
o.add(buildContextRule());
o.add(buildContextRule());
return o;
}
-checkUnnamed1842(core.List<api.ContextRule> o) {
+checkUnnamed1856(core.List<api.ContextRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkContextRule(o[0]);
checkContextRule(o[1]);
@@ -415,7 +415,7 @@
var o = new api.Context();
buildCounterContext++;
if (buildCounterContext < 3) {
- o.rules = buildUnnamed1842();
+ o.rules = buildUnnamed1856();
}
buildCounterContext--;
return o;
@@ -424,32 +424,32 @@
checkContext(api.Context o) {
buildCounterContext++;
if (buildCounterContext < 3) {
- checkUnnamed1842(o.rules);
+ checkUnnamed1856(o.rules);
}
buildCounterContext--;
}
-buildUnnamed1843() {
+buildUnnamed1857() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1843(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'));
}
-buildUnnamed1844() {
+buildUnnamed1858() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1844(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'));
@@ -460,8 +460,8 @@
var o = new api.ContextRule();
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- o.provided = buildUnnamed1843();
- o.requested = buildUnnamed1844();
+ o.provided = buildUnnamed1857();
+ o.requested = buildUnnamed1858();
o.selector = "foo";
}
buildCounterContextRule--;
@@ -471,8 +471,8 @@
checkContextRule(api.ContextRule o) {
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- checkUnnamed1843(o.provided);
- checkUnnamed1844(o.requested);
+ checkUnnamed1857(o.provided);
+ checkUnnamed1858(o.requested);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterContextRule--;
@@ -516,27 +516,27 @@
buildCounterCustomAuthRequirements--;
}
-buildUnnamed1845() {
+buildUnnamed1859() {
var o = new core.List<api.CustomErrorRule>();
o.add(buildCustomErrorRule());
o.add(buildCustomErrorRule());
return o;
}
-checkUnnamed1845(core.List<api.CustomErrorRule> o) {
+checkUnnamed1859(core.List<api.CustomErrorRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomErrorRule(o[0]);
checkCustomErrorRule(o[1]);
}
-buildUnnamed1846() {
+buildUnnamed1860() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1846(core.List<core.String> o) {
+checkUnnamed1860(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -547,8 +547,8 @@
var o = new api.CustomError();
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- o.rules = buildUnnamed1845();
- o.types = buildUnnamed1846();
+ o.rules = buildUnnamed1859();
+ o.types = buildUnnamed1860();
}
buildCounterCustomError--;
return o;
@@ -557,8 +557,8 @@
checkCustomError(api.CustomError o) {
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- checkUnnamed1845(o.rules);
- checkUnnamed1846(o.types);
+ checkUnnamed1859(o.rules);
+ checkUnnamed1860(o.types);
}
buildCounterCustomError--;
}
@@ -620,27 +620,27 @@
buildCounterDisableServiceRequest--;
}
-buildUnnamed1847() {
+buildUnnamed1861() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1847(core.List<api.Page> o) {
+checkUnnamed1861(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1848() {
+buildUnnamed1862() {
var o = new core.List<api.DocumentationRule>();
o.add(buildDocumentationRule());
o.add(buildDocumentationRule());
return o;
}
-checkUnnamed1848(core.List<api.DocumentationRule> o) {
+checkUnnamed1862(core.List<api.DocumentationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkDocumentationRule(o[0]);
checkDocumentationRule(o[1]);
@@ -653,8 +653,8 @@
if (buildCounterDocumentation < 3) {
o.documentationRootUrl = "foo";
o.overview = "foo";
- o.pages = buildUnnamed1847();
- o.rules = buildUnnamed1848();
+ o.pages = buildUnnamed1861();
+ o.rules = buildUnnamed1862();
o.summary = "foo";
}
buildCounterDocumentation--;
@@ -666,8 +666,8 @@
if (buildCounterDocumentation < 3) {
unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
unittest.expect(o.overview, unittest.equals('foo'));
- checkUnnamed1847(o.pages);
- checkUnnamed1848(o.rules);
+ checkUnnamed1861(o.pages);
+ checkUnnamed1862(o.rules);
unittest.expect(o.summary, unittest.equals('foo'));
}
buildCounterDocumentation--;
@@ -711,27 +711,27 @@
buildCounterEnableServiceRequest--;
}
-buildUnnamed1849() {
+buildUnnamed1863() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1849(core.List<core.String> o) {
+checkUnnamed1863(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1850() {
+buildUnnamed1864() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1850(core.List<core.String> o) {
+checkUnnamed1864(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -742,9 +742,9 @@
var o = new api.Endpoint();
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- o.aliases = buildUnnamed1849();
+ o.aliases = buildUnnamed1863();
o.allowCors = true;
- o.features = buildUnnamed1850();
+ o.features = buildUnnamed1864();
o.name = "foo";
o.target = "foo";
}
@@ -755,36 +755,36 @@
checkEndpoint(api.Endpoint o) {
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- checkUnnamed1849(o.aliases);
+ checkUnnamed1863(o.aliases);
unittest.expect(o.allowCors, unittest.isTrue);
- checkUnnamed1850(o.features);
+ checkUnnamed1864(o.features);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
}
buildCounterEndpoint--;
}
-buildUnnamed1851() {
+buildUnnamed1865() {
var o = new core.List<api.EnumValue>();
o.add(buildEnumValue());
o.add(buildEnumValue());
return o;
}
-checkUnnamed1851(core.List<api.EnumValue> o) {
+checkUnnamed1865(core.List<api.EnumValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnumValue(o[0]);
checkEnumValue(o[1]);
}
-buildUnnamed1852() {
+buildUnnamed1866() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1852(core.List<api.Option> o) {
+checkUnnamed1866(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -795,9 +795,9 @@
var o = new api.Enum();
buildCounterEnum++;
if (buildCounterEnum < 3) {
- o.enumvalue = buildUnnamed1851();
+ o.enumvalue = buildUnnamed1865();
o.name = "foo";
- o.options = buildUnnamed1852();
+ o.options = buildUnnamed1866();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -808,23 +808,23 @@
checkEnum(api.Enum o) {
buildCounterEnum++;
if (buildCounterEnum < 3) {
- checkUnnamed1851(o.enumvalue);
+ checkUnnamed1865(o.enumvalue);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1852(o.options);
+ checkUnnamed1866(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
buildCounterEnum--;
}
-buildUnnamed1853() {
+buildUnnamed1867() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1853(core.List<api.Option> o) {
+checkUnnamed1867(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -837,7 +837,7 @@
if (buildCounterEnumValue < 3) {
o.name = "foo";
o.number = 42;
- o.options = buildUnnamed1853();
+ o.options = buildUnnamed1867();
}
buildCounterEnumValue--;
return o;
@@ -848,7 +848,7 @@
if (buildCounterEnumValue < 3) {
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
- checkUnnamed1853(o.options);
+ checkUnnamed1867(o.options);
}
buildCounterEnumValue--;
}
@@ -872,14 +872,14 @@
buildCounterExperimental--;
}
-buildUnnamed1854() {
+buildUnnamed1868() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1854(core.List<api.Option> o) {
+checkUnnamed1868(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -897,7 +897,7 @@
o.name = "foo";
o.number = 42;
o.oneofIndex = 42;
- o.options = buildUnnamed1854();
+ o.options = buildUnnamed1868();
o.packed = true;
o.typeUrl = "foo";
}
@@ -915,21 +915,21 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
unittest.expect(o.oneofIndex, unittest.equals(42));
- checkUnnamed1854(o.options);
+ checkUnnamed1868(o.options);
unittest.expect(o.packed, unittest.isTrue);
unittest.expect(o.typeUrl, unittest.equals('foo'));
}
buildCounterField--;
}
-buildUnnamed1855() {
+buildUnnamed1869() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1855(core.List<api.HttpRule> o) {
+checkUnnamed1869(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -941,7 +941,7 @@
buildCounterHttp++;
if (buildCounterHttp < 3) {
o.fullyDecodeReservedExpansion = true;
- o.rules = buildUnnamed1855();
+ o.rules = buildUnnamed1869();
}
buildCounterHttp--;
return o;
@@ -951,19 +951,19 @@
buildCounterHttp++;
if (buildCounterHttp < 3) {
unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
- checkUnnamed1855(o.rules);
+ checkUnnamed1869(o.rules);
}
buildCounterHttp--;
}
-buildUnnamed1856() {
+buildUnnamed1870() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1856(core.List<api.HttpRule> o) {
+checkUnnamed1870(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -974,7 +974,7 @@
var o = new api.HttpRule();
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- o.additionalBindings = buildUnnamed1856();
+ o.additionalBindings = buildUnnamed1870();
o.body = "foo";
o.custom = buildCustomHttpPattern();
o.delete = "foo";
@@ -994,7 +994,7 @@
checkHttpRule(api.HttpRule o) {
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- checkUnnamed1856(o.additionalBindings);
+ checkUnnamed1870(o.additionalBindings);
unittest.expect(o.body, unittest.equals('foo'));
checkCustomHttpPattern(o.custom);
unittest.expect(o.delete, unittest.equals('foo'));
@@ -1033,14 +1033,14 @@
buildCounterLabelDescriptor--;
}
-buildUnnamed1857() {
+buildUnnamed1871() {
var o = new core.List<api.PublishedService>();
o.add(buildPublishedService());
o.add(buildPublishedService());
return o;
}
-checkUnnamed1857(core.List<api.PublishedService> o) {
+checkUnnamed1871(core.List<api.PublishedService> o) {
unittest.expect(o, unittest.hasLength(2));
checkPublishedService(o[0]);
checkPublishedService(o[1]);
@@ -1052,7 +1052,7 @@
buildCounterListEnabledServicesResponse++;
if (buildCounterListEnabledServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed1857();
+ o.services = buildUnnamed1871();
}
buildCounterListEnabledServicesResponse--;
return o;
@@ -1062,19 +1062,19 @@
buildCounterListEnabledServicesResponse++;
if (buildCounterListEnabledServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1857(o.services);
+ checkUnnamed1871(o.services);
}
buildCounterListEnabledServicesResponse--;
}
-buildUnnamed1858() {
+buildUnnamed1872() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1858(core.List<api.LabelDescriptor> o) {
+checkUnnamed1872(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1087,7 +1087,7 @@
if (buildCounterLogDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1858();
+ o.labels = buildUnnamed1872();
o.name = "foo";
}
buildCounterLogDescriptor--;
@@ -1099,33 +1099,33 @@
if (buildCounterLogDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1858(o.labels);
+ checkUnnamed1872(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLogDescriptor--;
}
-buildUnnamed1859() {
+buildUnnamed1873() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1859(core.List<api.LoggingDestination> o) {
+checkUnnamed1873(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
}
-buildUnnamed1860() {
+buildUnnamed1874() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1860(core.List<api.LoggingDestination> o) {
+checkUnnamed1874(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
@@ -1136,8 +1136,8 @@
var o = new api.Logging();
buildCounterLogging++;
if (buildCounterLogging < 3) {
- o.consumerDestinations = buildUnnamed1859();
- o.producerDestinations = buildUnnamed1860();
+ o.consumerDestinations = buildUnnamed1873();
+ o.producerDestinations = buildUnnamed1874();
}
buildCounterLogging--;
return o;
@@ -1146,20 +1146,20 @@
checkLogging(api.Logging o) {
buildCounterLogging++;
if (buildCounterLogging < 3) {
- checkUnnamed1859(o.consumerDestinations);
- checkUnnamed1860(o.producerDestinations);
+ checkUnnamed1873(o.consumerDestinations);
+ checkUnnamed1874(o.producerDestinations);
}
buildCounterLogging--;
}
-buildUnnamed1861() {
+buildUnnamed1875() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1861(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'));
@@ -1170,7 +1170,7 @@
var o = new api.LoggingDestination();
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- o.logs = buildUnnamed1861();
+ o.logs = buildUnnamed1875();
o.monitoredResource = "foo";
}
buildCounterLoggingDestination--;
@@ -1180,7 +1180,7 @@
checkLoggingDestination(api.LoggingDestination o) {
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- checkUnnamed1861(o.logs);
+ checkUnnamed1875(o.logs);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterLoggingDestination--;
@@ -1215,14 +1215,14 @@
buildCounterMediaDownload--;
}
-buildUnnamed1862() {
+buildUnnamed1876() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1862(core.List<core.String> o) {
+checkUnnamed1876(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1237,7 +1237,7 @@
o.dropzone = "foo";
o.enabled = true;
o.maxSize = "foo";
- o.mimeTypes = buildUnnamed1862();
+ o.mimeTypes = buildUnnamed1876();
o.progressNotification = true;
o.startNotification = true;
o.uploadService = "foo";
@@ -1253,7 +1253,7 @@
unittest.expect(o.dropzone, unittest.equals('foo'));
unittest.expect(o.enabled, unittest.isTrue);
unittest.expect(o.maxSize, unittest.equals('foo'));
- checkUnnamed1862(o.mimeTypes);
+ checkUnnamed1876(o.mimeTypes);
unittest.expect(o.progressNotification, unittest.isTrue);
unittest.expect(o.startNotification, unittest.isTrue);
unittest.expect(o.uploadService, unittest.equals('foo'));
@@ -1261,14 +1261,14 @@
buildCounterMediaUpload--;
}
-buildUnnamed1863() {
+buildUnnamed1877() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1863(core.List<api.Option> o) {
+checkUnnamed1877(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1280,7 +1280,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
o.name = "foo";
- o.options = buildUnnamed1863();
+ o.options = buildUnnamed1877();
o.requestStreaming = true;
o.requestTypeUrl = "foo";
o.responseStreaming = true;
@@ -1295,7 +1295,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1863(o.options);
+ checkUnnamed1877(o.options);
unittest.expect(o.requestStreaming, unittest.isTrue);
unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
unittest.expect(o.responseStreaming, unittest.isTrue);
@@ -1305,14 +1305,14 @@
buildCounterMethod--;
}
-buildUnnamed1864() {
+buildUnnamed1878() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1864(core.List<api.LabelDescriptor> o) {
+checkUnnamed1878(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1325,7 +1325,7 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1864();
+ o.labels = buildUnnamed1878();
o.metricKind = "foo";
o.name = "foo";
o.type = "foo";
@@ -1341,7 +1341,7 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1864(o.labels);
+ checkUnnamed1878(o.labels);
unittest.expect(o.metricKind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -1351,14 +1351,14 @@
buildCounterMetricDescriptor--;
}
-buildUnnamed1865() {
+buildUnnamed1879() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1865(core.Map<core.String, core.String> o) {
+checkUnnamed1879(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'));
@@ -1369,7 +1369,7 @@
var o = new api.MetricRule();
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- o.metricCosts = buildUnnamed1865();
+ o.metricCosts = buildUnnamed1879();
o.selector = "foo";
}
buildCounterMetricRule--;
@@ -1379,7 +1379,7 @@
checkMetricRule(api.MetricRule o) {
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- checkUnnamed1865(o.metricCosts);
+ checkUnnamed1879(o.metricCosts);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterMetricRule--;
@@ -1406,14 +1406,14 @@
buildCounterMixin--;
}
-buildUnnamed1866() {
+buildUnnamed1880() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1866(core.List<api.LabelDescriptor> o) {
+checkUnnamed1880(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1426,7 +1426,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1866();
+ o.labels = buildUnnamed1880();
o.name = "foo";
o.type = "foo";
}
@@ -1439,34 +1439,34 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1866(o.labels);
+ checkUnnamed1880(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed1867() {
+buildUnnamed1881() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1867(core.List<api.MonitoringDestination> o) {
+checkUnnamed1881(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
}
-buildUnnamed1868() {
+buildUnnamed1882() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1868(core.List<api.MonitoringDestination> o) {
+checkUnnamed1882(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
@@ -1477,8 +1477,8 @@
var o = new api.Monitoring();
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- o.consumerDestinations = buildUnnamed1867();
- o.producerDestinations = buildUnnamed1868();
+ o.consumerDestinations = buildUnnamed1881();
+ o.producerDestinations = buildUnnamed1882();
}
buildCounterMonitoring--;
return o;
@@ -1487,20 +1487,20 @@
checkMonitoring(api.Monitoring o) {
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- checkUnnamed1867(o.consumerDestinations);
- checkUnnamed1868(o.producerDestinations);
+ checkUnnamed1881(o.consumerDestinations);
+ checkUnnamed1882(o.producerDestinations);
}
buildCounterMonitoring--;
}
-buildUnnamed1869() {
+buildUnnamed1883() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1869(core.List<core.String> o) {
+checkUnnamed1883(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1511,7 +1511,7 @@
var o = new api.MonitoringDestination();
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- o.metrics = buildUnnamed1869();
+ o.metrics = buildUnnamed1883();
o.monitoredResource = "foo";
}
buildCounterMonitoringDestination--;
@@ -1521,7 +1521,7 @@
checkMonitoringDestination(api.MonitoringDestination o) {
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- checkUnnamed1869(o.metrics);
+ checkUnnamed1883(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterMonitoringDestination--;
@@ -1546,7 +1546,7 @@
buildCounterOAuthRequirements--;
}
-buildUnnamed1870() {
+buildUnnamed1884() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1561,7 +1561,7 @@
return o;
}
-checkUnnamed1870(core.Map<core.String, core.Object> o) {
+checkUnnamed1884(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));
@@ -1575,7 +1575,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1871() {
+buildUnnamed1885() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1590,7 +1590,7 @@
return o;
}
-checkUnnamed1871(core.Map<core.String, core.Object> o) {
+checkUnnamed1885(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));
@@ -1611,9 +1611,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1870();
+ o.metadata = buildUnnamed1884();
o.name = "foo";
- o.response = buildUnnamed1871();
+ o.response = buildUnnamed1885();
}
buildCounterOperation--;
return o;
@@ -1624,34 +1624,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1870(o.metadata);
+ checkUnnamed1884(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1871(o.response);
+ checkUnnamed1885(o.response);
}
buildCounterOperation--;
}
-buildUnnamed1872() {
+buildUnnamed1886() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1872(core.List<core.String> o) {
+checkUnnamed1886(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1873() {
+buildUnnamed1887() {
var o = new core.List<api.Step>();
o.add(buildStep());
o.add(buildStep());
return o;
}
-checkUnnamed1873(core.List<api.Step> o) {
+checkUnnamed1887(core.List<api.Step> o) {
unittest.expect(o, unittest.hasLength(2));
checkStep(o[0]);
checkStep(o[1]);
@@ -1663,9 +1663,9 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
o.progressPercentage = 42;
- o.resourceNames = buildUnnamed1872();
+ o.resourceNames = buildUnnamed1886();
o.startTime = "foo";
- o.steps = buildUnnamed1873();
+ o.steps = buildUnnamed1887();
}
buildCounterOperationMetadata--;
return o;
@@ -1675,14 +1675,14 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
unittest.expect(o.progressPercentage, unittest.equals(42));
- checkUnnamed1872(o.resourceNames);
+ checkUnnamed1886(o.resourceNames);
unittest.expect(o.startTime, unittest.equals('foo'));
- checkUnnamed1873(o.steps);
+ checkUnnamed1887(o.steps);
}
buildCounterOperationMetadata--;
}
-buildUnnamed1874() {
+buildUnnamed1888() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1697,7 +1697,7 @@
return o;
}
-checkUnnamed1874(core.Map<core.String, core.Object> o) {
+checkUnnamed1888(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));
@@ -1717,7 +1717,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
o.name = "foo";
- o.value = buildUnnamed1874();
+ o.value = buildUnnamed1888();
}
buildCounterOption--;
return o;
@@ -1727,19 +1727,19 @@
buildCounterOption++;
if (buildCounterOption < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1874(o.value);
+ checkUnnamed1888(o.value);
}
buildCounterOption--;
}
-buildUnnamed1875() {
+buildUnnamed1889() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1875(core.List<api.Page> o) {
+checkUnnamed1889(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -1752,7 +1752,7 @@
if (buildCounterPage < 3) {
o.content = "foo";
o.name = "foo";
- o.subpages = buildUnnamed1875();
+ o.subpages = buildUnnamed1889();
}
buildCounterPage--;
return o;
@@ -1763,7 +1763,7 @@
if (buildCounterPage < 3) {
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1875(o.subpages);
+ checkUnnamed1889(o.subpages);
}
buildCounterPage--;
}
@@ -1789,27 +1789,27 @@
buildCounterPublishedService--;
}
-buildUnnamed1876() {
+buildUnnamed1890() {
var o = new core.List<api.QuotaLimit>();
o.add(buildQuotaLimit());
o.add(buildQuotaLimit());
return o;
}
-checkUnnamed1876(core.List<api.QuotaLimit> o) {
+checkUnnamed1890(core.List<api.QuotaLimit> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaLimit(o[0]);
checkQuotaLimit(o[1]);
}
-buildUnnamed1877() {
+buildUnnamed1891() {
var o = new core.List<api.MetricRule>();
o.add(buildMetricRule());
o.add(buildMetricRule());
return o;
}
-checkUnnamed1877(core.List<api.MetricRule> o) {
+checkUnnamed1891(core.List<api.MetricRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricRule(o[0]);
checkMetricRule(o[1]);
@@ -1820,8 +1820,8 @@
var o = new api.Quota();
buildCounterQuota++;
if (buildCounterQuota < 3) {
- o.limits = buildUnnamed1876();
- o.metricRules = buildUnnamed1877();
+ o.limits = buildUnnamed1890();
+ o.metricRules = buildUnnamed1891();
}
buildCounterQuota--;
return o;
@@ -1830,20 +1830,20 @@
checkQuota(api.Quota o) {
buildCounterQuota++;
if (buildCounterQuota < 3) {
- checkUnnamed1876(o.limits);
- checkUnnamed1877(o.metricRules);
+ checkUnnamed1890(o.limits);
+ checkUnnamed1891(o.metricRules);
}
buildCounterQuota--;
}
-buildUnnamed1878() {
+buildUnnamed1892() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1878(core.Map<core.String, core.String> o) {
+checkUnnamed1892(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'));
@@ -1863,7 +1863,7 @@
o.metric = "foo";
o.name = "foo";
o.unit = "foo";
- o.values = buildUnnamed1878();
+ o.values = buildUnnamed1892();
}
buildCounterQuotaLimit--;
return o;
@@ -1881,19 +1881,19 @@
unittest.expect(o.metric, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.unit, unittest.equals('foo'));
- checkUnnamed1878(o.values);
+ checkUnnamed1892(o.values);
}
buildCounterQuotaLimit--;
}
-buildUnnamed1879() {
+buildUnnamed1893() {
var o = new core.List<api.PublishedService>();
o.add(buildPublishedService());
o.add(buildPublishedService());
return o;
}
-checkUnnamed1879(core.List<api.PublishedService> o) {
+checkUnnamed1893(core.List<api.PublishedService> o) {
unittest.expect(o, unittest.hasLength(2));
checkPublishedService(o[0]);
checkPublishedService(o[1]);
@@ -1905,7 +1905,7 @@
buildCounterSearchServicesResponse++;
if (buildCounterSearchServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed1879();
+ o.services = buildUnnamed1893();
}
buildCounterSearchServicesResponse--;
return o;
@@ -1915,110 +1915,110 @@
buildCounterSearchServicesResponse++;
if (buildCounterSearchServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1879(o.services);
+ checkUnnamed1893(o.services);
}
buildCounterSearchServicesResponse--;
}
-buildUnnamed1880() {
+buildUnnamed1894() {
var o = new core.List<api.Api>();
o.add(buildApi());
o.add(buildApi());
return o;
}
-checkUnnamed1880(core.List<api.Api> o) {
+checkUnnamed1894(core.List<api.Api> o) {
unittest.expect(o, unittest.hasLength(2));
checkApi(o[0]);
checkApi(o[1]);
}
-buildUnnamed1881() {
+buildUnnamed1895() {
var o = new core.List<api.Endpoint>();
o.add(buildEndpoint());
o.add(buildEndpoint());
return o;
}
-checkUnnamed1881(core.List<api.Endpoint> o) {
+checkUnnamed1895(core.List<api.Endpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkEndpoint(o[0]);
checkEndpoint(o[1]);
}
-buildUnnamed1882() {
+buildUnnamed1896() {
var o = new core.List<api.Enum>();
o.add(buildEnum());
o.add(buildEnum());
return o;
}
-checkUnnamed1882(core.List<api.Enum> o) {
+checkUnnamed1896(core.List<api.Enum> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnum(o[0]);
checkEnum(o[1]);
}
-buildUnnamed1883() {
+buildUnnamed1897() {
var o = new core.List<api.LogDescriptor>();
o.add(buildLogDescriptor());
o.add(buildLogDescriptor());
return o;
}
-checkUnnamed1883(core.List<api.LogDescriptor> o) {
+checkUnnamed1897(core.List<api.LogDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogDescriptor(o[0]);
checkLogDescriptor(o[1]);
}
-buildUnnamed1884() {
+buildUnnamed1898() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed1884(core.List<api.MetricDescriptor> o) {
+checkUnnamed1898(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
}
-buildUnnamed1885() {
+buildUnnamed1899() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed1885(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed1899(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
}
-buildUnnamed1886() {
+buildUnnamed1900() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1886(core.List<api.Type> o) {
+checkUnnamed1900(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
}
-buildUnnamed1887() {
+buildUnnamed1901() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1887(core.List<api.Type> o) {
+checkUnnamed1901(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
@@ -2029,7 +2029,7 @@
var o = new api.Service();
buildCounterService++;
if (buildCounterService < 3) {
- o.apis = buildUnnamed1880();
+ o.apis = buildUnnamed1894();
o.authentication = buildAuthentication();
o.backend = buildBackend();
o.billing = buildBilling();
@@ -2038,24 +2038,24 @@
o.control = buildControl();
o.customError = buildCustomError();
o.documentation = buildDocumentation();
- o.endpoints = buildUnnamed1881();
- o.enums = buildUnnamed1882();
+ o.endpoints = buildUnnamed1895();
+ o.enums = buildUnnamed1896();
o.experimental = buildExperimental();
o.http = buildHttp();
o.id = "foo";
o.logging = buildLogging();
- o.logs = buildUnnamed1883();
- o.metrics = buildUnnamed1884();
- o.monitoredResources = buildUnnamed1885();
+ o.logs = buildUnnamed1897();
+ o.metrics = buildUnnamed1898();
+ o.monitoredResources = buildUnnamed1899();
o.monitoring = buildMonitoring();
o.name = "foo";
o.producerProjectId = "foo";
o.quota = buildQuota();
o.sourceInfo = buildSourceInfo();
o.systemParameters = buildSystemParameters();
- o.systemTypes = buildUnnamed1886();
+ o.systemTypes = buildUnnamed1900();
o.title = "foo";
- o.types = buildUnnamed1887();
+ o.types = buildUnnamed1901();
o.usage = buildUsage();
o.visibility = buildVisibility();
}
@@ -2066,7 +2066,7 @@
checkService(api.Service o) {
buildCounterService++;
if (buildCounterService < 3) {
- checkUnnamed1880(o.apis);
+ checkUnnamed1894(o.apis);
checkAuthentication(o.authentication);
checkBackend(o.backend);
checkBilling(o.billing);
@@ -2075,24 +2075,24 @@
checkControl(o.control);
checkCustomError(o.customError);
checkDocumentation(o.documentation);
- checkUnnamed1881(o.endpoints);
- checkUnnamed1882(o.enums);
+ checkUnnamed1895(o.endpoints);
+ checkUnnamed1896(o.enums);
checkExperimental(o.experimental);
checkHttp(o.http);
unittest.expect(o.id, unittest.equals('foo'));
checkLogging(o.logging);
- checkUnnamed1883(o.logs);
- checkUnnamed1884(o.metrics);
- checkUnnamed1885(o.monitoredResources);
+ checkUnnamed1897(o.logs);
+ checkUnnamed1898(o.metrics);
+ checkUnnamed1899(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);
- checkUnnamed1886(o.systemTypes);
+ checkUnnamed1900(o.systemTypes);
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1887(o.types);
+ checkUnnamed1901(o.types);
checkUsage(o.usage);
checkVisibility(o.visibility);
}
@@ -2118,7 +2118,7 @@
buildCounterSourceContext--;
}
-buildUnnamed1888() {
+buildUnnamed1902() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2133,7 +2133,7 @@
return o;
}
-checkUnnamed1888(core.Map<core.String, core.Object> o) {
+checkUnnamed1902(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));
@@ -2147,17 +2147,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed1889() {
+buildUnnamed1903() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1888());
- o.add(buildUnnamed1888());
+ o.add(buildUnnamed1902());
+ o.add(buildUnnamed1902());
return o;
}
-checkUnnamed1889(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1903(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1888(o[0]);
- checkUnnamed1888(o[1]);
+ checkUnnamed1902(o[0]);
+ checkUnnamed1902(o[1]);
}
core.int buildCounterSourceInfo = 0;
@@ -2165,7 +2165,7 @@
var o = new api.SourceInfo();
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- o.sourceFiles = buildUnnamed1889();
+ o.sourceFiles = buildUnnamed1903();
}
buildCounterSourceInfo--;
return o;
@@ -2174,12 +2174,12 @@
checkSourceInfo(api.SourceInfo o) {
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- checkUnnamed1889(o.sourceFiles);
+ checkUnnamed1903(o.sourceFiles);
}
buildCounterSourceInfo--;
}
-buildUnnamed1890() {
+buildUnnamed1904() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2194,7 +2194,7 @@
return o;
}
-checkUnnamed1890(core.Map<core.String, core.Object> o) {
+checkUnnamed1904(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));
@@ -2208,17 +2208,17 @@
unittest.expect(casted10["string"], unittest.equals('foo'));
}
-buildUnnamed1891() {
+buildUnnamed1905() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1890());
- o.add(buildUnnamed1890());
+ o.add(buildUnnamed1904());
+ o.add(buildUnnamed1904());
return o;
}
-checkUnnamed1891(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1905(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1890(o[0]);
- checkUnnamed1890(o[1]);
+ checkUnnamed1904(o[0]);
+ checkUnnamed1904(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2227,7 +2227,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1891();
+ o.details = buildUnnamed1905();
o.message = "foo";
}
buildCounterStatus--;
@@ -2238,7 +2238,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1891(o.details);
+ checkUnnamed1905(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2288,14 +2288,14 @@
buildCounterSystemParameter--;
}
-buildUnnamed1892() {
+buildUnnamed1906() {
var o = new core.List<api.SystemParameter>();
o.add(buildSystemParameter());
o.add(buildSystemParameter());
return o;
}
-checkUnnamed1892(core.List<api.SystemParameter> o) {
+checkUnnamed1906(core.List<api.SystemParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameter(o[0]);
checkSystemParameter(o[1]);
@@ -2306,7 +2306,7 @@
var o = new api.SystemParameterRule();
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- o.parameters = buildUnnamed1892();
+ o.parameters = buildUnnamed1906();
o.selector = "foo";
}
buildCounterSystemParameterRule--;
@@ -2316,20 +2316,20 @@
checkSystemParameterRule(api.SystemParameterRule o) {
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- checkUnnamed1892(o.parameters);
+ checkUnnamed1906(o.parameters);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterSystemParameterRule--;
}
-buildUnnamed1893() {
+buildUnnamed1907() {
var o = new core.List<api.SystemParameterRule>();
o.add(buildSystemParameterRule());
o.add(buildSystemParameterRule());
return o;
}
-checkUnnamed1893(core.List<api.SystemParameterRule> o) {
+checkUnnamed1907(core.List<api.SystemParameterRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameterRule(o[0]);
checkSystemParameterRule(o[1]);
@@ -2340,7 +2340,7 @@
var o = new api.SystemParameters();
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- o.rules = buildUnnamed1893();
+ o.rules = buildUnnamed1907();
}
buildCounterSystemParameters--;
return o;
@@ -2349,45 +2349,45 @@
checkSystemParameters(api.SystemParameters o) {
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- checkUnnamed1893(o.rules);
+ checkUnnamed1907(o.rules);
}
buildCounterSystemParameters--;
}
-buildUnnamed1894() {
+buildUnnamed1908() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed1894(core.List<api.Field> o) {
+checkUnnamed1908(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
}
-buildUnnamed1895() {
+buildUnnamed1909() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1895(core.List<core.String> o) {
+checkUnnamed1909(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1896() {
+buildUnnamed1910() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1896(core.List<api.Option> o) {
+checkUnnamed1910(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -2398,10 +2398,10 @@
var o = new api.Type();
buildCounterType++;
if (buildCounterType < 3) {
- o.fields = buildUnnamed1894();
+ o.fields = buildUnnamed1908();
o.name = "foo";
- o.oneofs = buildUnnamed1895();
- o.options = buildUnnamed1896();
+ o.oneofs = buildUnnamed1909();
+ o.options = buildUnnamed1910();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -2412,37 +2412,37 @@
checkType(api.Type o) {
buildCounterType++;
if (buildCounterType < 3) {
- checkUnnamed1894(o.fields);
+ checkUnnamed1908(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1895(o.oneofs);
- checkUnnamed1896(o.options);
+ checkUnnamed1909(o.oneofs);
+ checkUnnamed1910(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
buildCounterType--;
}
-buildUnnamed1897() {
+buildUnnamed1911() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1897(core.List<core.String> o) {
+checkUnnamed1911(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1898() {
+buildUnnamed1912() {
var o = new core.List<api.UsageRule>();
o.add(buildUsageRule());
o.add(buildUsageRule());
return o;
}
-checkUnnamed1898(core.List<api.UsageRule> o) {
+checkUnnamed1912(core.List<api.UsageRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageRule(o[0]);
checkUsageRule(o[1]);
@@ -2454,8 +2454,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
o.producerNotificationChannel = "foo";
- o.requirements = buildUnnamed1897();
- o.rules = buildUnnamed1898();
+ o.requirements = buildUnnamed1911();
+ o.rules = buildUnnamed1912();
}
buildCounterUsage--;
return o;
@@ -2465,8 +2465,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
- checkUnnamed1897(o.requirements);
- checkUnnamed1898(o.rules);
+ checkUnnamed1911(o.requirements);
+ checkUnnamed1912(o.rules);
}
buildCounterUsage--;
}
@@ -2494,14 +2494,14 @@
buildCounterUsageRule--;
}
-buildUnnamed1899() {
+buildUnnamed1913() {
var o = new core.List<api.VisibilityRule>();
o.add(buildVisibilityRule());
o.add(buildVisibilityRule());
return o;
}
-checkUnnamed1899(core.List<api.VisibilityRule> o) {
+checkUnnamed1913(core.List<api.VisibilityRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkVisibilityRule(o[0]);
checkVisibilityRule(o[1]);
@@ -2512,7 +2512,7 @@
var o = new api.Visibility();
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- o.rules = buildUnnamed1899();
+ o.rules = buildUnnamed1913();
}
buildCounterVisibility--;
return o;
@@ -2521,7 +2521,7 @@
checkVisibility(api.Visibility o) {
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- checkUnnamed1899(o.rules);
+ checkUnnamed1913(o.rules);
}
buildCounterVisibility--;
}
@@ -3240,8 +3240,8 @@
unittest.test("method--search", () {
var mock = new HttpServerMock();
api.ServicesResourceApi res = new api.ServiceuserApi(mock).services;
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3273,10 +3273,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 = {
@@ -3287,8 +3287,8 @@
}), true);
res
.search(
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.SearchServicesResponse response) {
checkSearchServicesResponse(response);
diff --git a/generated/googleapis/test/sheets/v4_test.dart b/generated/googleapis/test/sheets/v4_test.dart
index 33ab02b..8f59d14 100644
--- a/generated/googleapis/test/sheets/v4_test.dart
+++ b/generated/googleapis/test/sheets/v4_test.dart
@@ -6822,11 +6822,11 @@
var arg_request = buildValueRange();
var arg_spreadsheetId = "foo";
var arg_range = "foo";
- var arg_responseValueRenderOption = "foo";
var arg_insertDataOption = "foo";
var arg_valueInputOption = "foo";
var arg_responseDateTimeRenderOption = "foo";
var arg_includeValuesInResponse = true;
+ var arg_responseValueRenderOption = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.ValueRange.fromJson(json);
@@ -6879,8 +6879,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["responseValueRenderOption"].first,
- unittest.equals(arg_responseValueRenderOption));
unittest.expect(queryMap["insertDataOption"].first,
unittest.equals(arg_insertDataOption));
unittest.expect(queryMap["valueInputOption"].first,
@@ -6889,6 +6887,8 @@
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6899,11 +6899,11 @@
}), true);
res
.append(arg_request, arg_spreadsheetId, arg_range,
- responseValueRenderOption: arg_responseValueRenderOption,
insertDataOption: arg_insertDataOption,
valueInputOption: arg_valueInputOption,
responseDateTimeRenderOption: arg_responseDateTimeRenderOption,
includeValuesInResponse: arg_includeValuesInResponse,
+ responseValueRenderOption: arg_responseValueRenderOption,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.AppendValuesResponse response) {
checkAppendValuesResponse(response);
@@ -7475,10 +7475,10 @@
var arg_request = buildValueRange();
var arg_spreadsheetId = "foo";
var arg_range = "foo";
- var arg_includeValuesInResponse = true;
var arg_responseValueRenderOption = "foo";
var arg_valueInputOption = "foo";
var arg_responseDateTimeRenderOption = "foo";
+ var arg_includeValuesInResponse = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.ValueRange.fromJson(json);
@@ -7525,14 +7525,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["responseDateTimeRenderOption"].first,
unittest.equals(arg_responseDateTimeRenderOption));
+ unittest.expect(queryMap["includeValuesInResponse"].first,
+ unittest.equals("$arg_includeValuesInResponse"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7543,10 +7543,10 @@
}), true);
res
.update(arg_request, arg_spreadsheetId, arg_range,
- includeValuesInResponse: arg_includeValuesInResponse,
responseValueRenderOption: arg_responseValueRenderOption,
valueInputOption: arg_valueInputOption,
responseDateTimeRenderOption: arg_responseDateTimeRenderOption,
+ includeValuesInResponse: arg_includeValuesInResponse,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.UpdateValuesResponse response) {
checkUpdateValuesResponse(response);
diff --git a/generated/googleapis/test/slides/v1_test.dart b/generated/googleapis/test/slides/v1_test.dart
index 42af58d..b58e0a3 100644
--- a/generated/googleapis/test/slides/v1_test.dart
+++ b/generated/googleapis/test/slides/v1_test.dart
@@ -104,14 +104,14 @@
buildCounterAutoText--;
}
-buildUnnamed1780() {
+buildUnnamed1794() {
var o = new core.List<api.Request>();
o.add(buildRequest());
o.add(buildRequest());
return o;
}
-checkUnnamed1780(core.List<api.Request> o) {
+checkUnnamed1794(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 = buildUnnamed1780();
+ o.requests = buildUnnamed1794();
o.writeControl = buildWriteControl();
}
buildCounterBatchUpdatePresentationRequest--;
@@ -132,20 +132,20 @@
checkBatchUpdatePresentationRequest(api.BatchUpdatePresentationRequest o) {
buildCounterBatchUpdatePresentationRequest++;
if (buildCounterBatchUpdatePresentationRequest < 3) {
- checkUnnamed1780(o.requests);
+ checkUnnamed1794(o.requests);
checkWriteControl(o.writeControl);
}
buildCounterBatchUpdatePresentationRequest--;
}
-buildUnnamed1781() {
+buildUnnamed1795() {
var o = new core.List<api.Response>();
o.add(buildResponse());
o.add(buildResponse());
return o;
}
-checkUnnamed1781(core.List<api.Response> o) {
+checkUnnamed1795(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 = buildUnnamed1781();
+ o.replies = buildUnnamed1795();
}
buildCounterBatchUpdatePresentationResponse--;
return o;
@@ -167,7 +167,7 @@
buildCounterBatchUpdatePresentationResponse++;
if (buildCounterBatchUpdatePresentationResponse < 3) {
unittest.expect(o.presentationId, unittest.equals('foo'));
- checkUnnamed1781(o.replies);
+ checkUnnamed1795(o.replies);
}
buildCounterBatchUpdatePresentationResponse--;
}
@@ -197,14 +197,14 @@
buildCounterBullet--;
}
-buildUnnamed1782() {
+buildUnnamed1796() {
var o = new core.List<api.ThemeColorPair>();
o.add(buildThemeColorPair());
o.add(buildThemeColorPair());
return o;
}
-checkUnnamed1782(core.List<api.ThemeColorPair> o) {
+checkUnnamed1796(core.List<api.ThemeColorPair> o) {
unittest.expect(o, unittest.hasLength(2));
checkThemeColorPair(o[0]);
checkThemeColorPair(o[1]);
@@ -215,7 +215,7 @@
var o = new api.ColorScheme();
buildCounterColorScheme++;
if (buildCounterColorScheme < 3) {
- o.colors = buildUnnamed1782();
+ o.colors = buildUnnamed1796();
}
buildCounterColorScheme--;
return o;
@@ -224,7 +224,7 @@
checkColorScheme(api.ColorScheme o) {
buildCounterColorScheme++;
if (buildCounterColorScheme < 3) {
- checkUnnamed1782(o.colors);
+ checkUnnamed1796(o.colors);
}
buildCounterColorScheme--;
}
@@ -449,14 +449,14 @@
buildCounterCreateSheetsChartResponse--;
}
-buildUnnamed1783() {
+buildUnnamed1797() {
var o = new core.List<api.LayoutPlaceholderIdMapping>();
o.add(buildLayoutPlaceholderIdMapping());
o.add(buildLayoutPlaceholderIdMapping());
return o;
}
-checkUnnamed1783(core.List<api.LayoutPlaceholderIdMapping> o) {
+checkUnnamed1797(core.List<api.LayoutPlaceholderIdMapping> o) {
unittest.expect(o, unittest.hasLength(2));
checkLayoutPlaceholderIdMapping(o[0]);
checkLayoutPlaceholderIdMapping(o[1]);
@@ -469,7 +469,7 @@
if (buildCounterCreateSlideRequest < 3) {
o.insertionIndex = 42;
o.objectId = "foo";
- o.placeholderIdMappings = buildUnnamed1783();
+ o.placeholderIdMappings = buildUnnamed1797();
o.slideLayoutReference = buildLayoutReference();
}
buildCounterCreateSlideRequest--;
@@ -481,7 +481,7 @@
if (buildCounterCreateSlideRequest < 3) {
unittest.expect(o.insertionIndex, unittest.equals(42));
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed1783(o.placeholderIdMappings);
+ checkUnnamed1797(o.placeholderIdMappings);
checkLayoutReference(o.slideLayoutReference);
}
buildCounterCreateSlideRequest--;
@@ -749,14 +749,14 @@
buildCounterDimension--;
}
-buildUnnamed1784() {
+buildUnnamed1798() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1784(core.Map<core.String, core.String> o) {
+checkUnnamed1798(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'));
@@ -768,7 +768,7 @@
buildCounterDuplicateObjectRequest++;
if (buildCounterDuplicateObjectRequest < 3) {
o.objectId = "foo";
- o.objectIds = buildUnnamed1784();
+ o.objectIds = buildUnnamed1798();
}
buildCounterDuplicateObjectRequest--;
return o;
@@ -778,7 +778,7 @@
buildCounterDuplicateObjectRequest++;
if (buildCounterDuplicateObjectRequest < 3) {
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed1784(o.objectIds);
+ checkUnnamed1798(o.objectIds);
}
buildCounterDuplicateObjectRequest--;
}
@@ -802,14 +802,14 @@
buildCounterDuplicateObjectResponse--;
}
-buildUnnamed1785() {
+buildUnnamed1799() {
var o = new core.List<api.PageElement>();
o.add(buildPageElement());
o.add(buildPageElement());
return o;
}
-checkUnnamed1785(core.List<api.PageElement> o) {
+checkUnnamed1799(core.List<api.PageElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPageElement(o[0]);
checkPageElement(o[1]);
@@ -820,7 +820,7 @@
var o = new api.Group();
buildCounterGroup++;
if (buildCounterGroup < 3) {
- o.children = buildUnnamed1785();
+ o.children = buildUnnamed1799();
}
buildCounterGroup--;
return o;
@@ -829,19 +829,19 @@
checkGroup(api.Group o) {
buildCounterGroup++;
if (buildCounterGroup < 3) {
- checkUnnamed1785(o.children);
+ checkUnnamed1799(o.children);
}
buildCounterGroup--;
}
-buildUnnamed1786() {
+buildUnnamed1800() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1786(core.List<core.String> o) {
+checkUnnamed1800(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -852,7 +852,7 @@
var o = new api.GroupObjectsRequest();
buildCounterGroupObjectsRequest++;
if (buildCounterGroupObjectsRequest < 3) {
- o.childrenObjectIds = buildUnnamed1786();
+ o.childrenObjectIds = buildUnnamed1800();
o.groupObjectId = "foo";
}
buildCounterGroupObjectsRequest--;
@@ -862,7 +862,7 @@
checkGroupObjectsRequest(api.GroupObjectsRequest o) {
buildCounterGroupObjectsRequest++;
if (buildCounterGroupObjectsRequest < 3) {
- checkUnnamed1786(o.childrenObjectIds);
+ checkUnnamed1800(o.childrenObjectIds);
unittest.expect(o.groupObjectId, unittest.equals('foo'));
}
buildCounterGroupObjectsRequest--;
@@ -1177,14 +1177,14 @@
buildCounterLink--;
}
-buildUnnamed1787() {
+buildUnnamed1801() {
var o = new core.Map<core.String, api.NestingLevel>();
o["x"] = buildNestingLevel();
o["y"] = buildNestingLevel();
return o;
}
-checkUnnamed1787(core.Map<core.String, api.NestingLevel> o) {
+checkUnnamed1801(core.Map<core.String, api.NestingLevel> o) {
unittest.expect(o, unittest.hasLength(2));
checkNestingLevel(o["x"]);
checkNestingLevel(o["y"]);
@@ -1196,7 +1196,7 @@
buildCounterList++;
if (buildCounterList < 3) {
o.listId = "foo";
- o.nestingLevel = buildUnnamed1787();
+ o.nestingLevel = buildUnnamed1801();
}
buildCounterList--;
return o;
@@ -1206,7 +1206,7 @@
buildCounterList++;
if (buildCounterList < 3) {
unittest.expect(o.listId, unittest.equals('foo'));
- checkUnnamed1787(o.nestingLevel);
+ checkUnnamed1801(o.nestingLevel);
}
buildCounterList--;
}
@@ -1373,14 +1373,14 @@
buildCounterOutlineFill--;
}
-buildUnnamed1788() {
+buildUnnamed1802() {
var o = new core.List<api.PageElement>();
o.add(buildPageElement());
o.add(buildPageElement());
return o;
}
-checkUnnamed1788(core.List<api.PageElement> o) {
+checkUnnamed1802(core.List<api.PageElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPageElement(o[0]);
checkPageElement(o[1]);
@@ -1395,7 +1395,7 @@
o.masterProperties = buildMasterProperties();
o.notesProperties = buildNotesProperties();
o.objectId = "foo";
- o.pageElements = buildUnnamed1788();
+ o.pageElements = buildUnnamed1802();
o.pageProperties = buildPageProperties();
o.pageType = "foo";
o.revisionId = "foo";
@@ -1412,7 +1412,7 @@
checkMasterProperties(o.masterProperties);
checkNotesProperties(o.notesProperties);
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed1788(o.pageElements);
+ checkUnnamed1802(o.pageElements);
checkPageProperties(o.pageProperties);
unittest.expect(o.pageType, unittest.equals('foo'));
unittest.expect(o.revisionId, unittest.equals('foo'));
@@ -1610,40 +1610,40 @@
buildCounterPlaceholder--;
}
-buildUnnamed1789() {
+buildUnnamed1803() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1789(core.List<api.Page> o) {
+checkUnnamed1803(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1790() {
+buildUnnamed1804() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1790(core.List<api.Page> o) {
+checkUnnamed1804(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1791() {
+buildUnnamed1805() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1791(core.List<api.Page> o) {
+checkUnnamed1805(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -1654,14 +1654,14 @@
var o = new api.Presentation();
buildCounterPresentation++;
if (buildCounterPresentation < 3) {
- o.layouts = buildUnnamed1789();
+ o.layouts = buildUnnamed1803();
o.locale = "foo";
- o.masters = buildUnnamed1790();
+ o.masters = buildUnnamed1804();
o.notesMaster = buildPage();
o.pageSize = buildSize();
o.presentationId = "foo";
o.revisionId = "foo";
- o.slides = buildUnnamed1791();
+ o.slides = buildUnnamed1805();
o.title = "foo";
}
buildCounterPresentation--;
@@ -1671,14 +1671,14 @@
checkPresentation(api.Presentation o) {
buildCounterPresentation++;
if (buildCounterPresentation < 3) {
- checkUnnamed1789(o.layouts);
+ checkUnnamed1803(o.layouts);
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed1790(o.masters);
+ checkUnnamed1804(o.masters);
checkPage(o.notesMaster);
checkSize(o.pageSize);
unittest.expect(o.presentationId, unittest.equals('foo'));
unittest.expect(o.revisionId, unittest.equals('foo'));
- checkUnnamed1791(o.slides);
+ checkUnnamed1805(o.slides);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterPresentation--;
@@ -1707,14 +1707,14 @@
buildCounterRange--;
}
-buildUnnamed1792() {
+buildUnnamed1806() {
var o = new core.List<api.ColorStop>();
o.add(buildColorStop());
o.add(buildColorStop());
return o;
}
-checkUnnamed1792(core.List<api.ColorStop> o) {
+checkUnnamed1806(core.List<api.ColorStop> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorStop(o[0]);
checkColorStop(o[1]);
@@ -1726,7 +1726,7 @@
buildCounterRecolor++;
if (buildCounterRecolor < 3) {
o.name = "foo";
- o.recolorStops = buildUnnamed1792();
+ o.recolorStops = buildUnnamed1806();
}
buildCounterRecolor--;
return o;
@@ -1736,7 +1736,7 @@
buildCounterRecolor++;
if (buildCounterRecolor < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1792(o.recolorStops);
+ checkUnnamed1806(o.recolorStops);
}
buildCounterRecolor--;
}
@@ -1760,14 +1760,14 @@
buildCounterRefreshSheetsChartRequest--;
}
-buildUnnamed1793() {
+buildUnnamed1807() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1793(core.List<core.String> o) {
+checkUnnamed1807(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1780,7 +1780,7 @@
if (buildCounterReplaceAllShapesWithImageRequest < 3) {
o.containsText = buildSubstringMatchCriteria();
o.imageUrl = "foo";
- o.pageObjectIds = buildUnnamed1793();
+ o.pageObjectIds = buildUnnamed1807();
o.replaceMethod = "foo";
}
buildCounterReplaceAllShapesWithImageRequest--;
@@ -1792,7 +1792,7 @@
if (buildCounterReplaceAllShapesWithImageRequest < 3) {
checkSubstringMatchCriteria(o.containsText);
unittest.expect(o.imageUrl, unittest.equals('foo'));
- checkUnnamed1793(o.pageObjectIds);
+ checkUnnamed1807(o.pageObjectIds);
unittest.expect(o.replaceMethod, unittest.equals('foo'));
}
buildCounterReplaceAllShapesWithImageRequest--;
@@ -1818,14 +1818,14 @@
buildCounterReplaceAllShapesWithImageResponse--;
}
-buildUnnamed1794() {
+buildUnnamed1808() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1794(core.List<core.String> 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'));
@@ -1839,7 +1839,7 @@
o.chartId = 42;
o.containsText = buildSubstringMatchCriteria();
o.linkingMode = "foo";
- o.pageObjectIds = buildUnnamed1794();
+ o.pageObjectIds = buildUnnamed1808();
o.spreadsheetId = "foo";
}
buildCounterReplaceAllShapesWithSheetsChartRequest--;
@@ -1853,7 +1853,7 @@
unittest.expect(o.chartId, unittest.equals(42));
checkSubstringMatchCriteria(o.containsText);
unittest.expect(o.linkingMode, unittest.equals('foo'));
- checkUnnamed1794(o.pageObjectIds);
+ checkUnnamed1808(o.pageObjectIds);
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
}
buildCounterReplaceAllShapesWithSheetsChartRequest--;
@@ -1879,14 +1879,14 @@
buildCounterReplaceAllShapesWithSheetsChartResponse--;
}
-buildUnnamed1795() {
+buildUnnamed1809() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1795(core.List<core.String> 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'));
@@ -1898,7 +1898,7 @@
buildCounterReplaceAllTextRequest++;
if (buildCounterReplaceAllTextRequest < 3) {
o.containsText = buildSubstringMatchCriteria();
- o.pageObjectIds = buildUnnamed1795();
+ o.pageObjectIds = buildUnnamed1809();
o.replaceText = "foo";
}
buildCounterReplaceAllTextRequest--;
@@ -1909,7 +1909,7 @@
buildCounterReplaceAllTextRequest++;
if (buildCounterReplaceAllTextRequest < 3) {
checkSubstringMatchCriteria(o.containsText);
- checkUnnamed1795(o.pageObjectIds);
+ checkUnnamed1809(o.pageObjectIds);
unittest.expect(o.replaceText, unittest.equals('foo'));
}
buildCounterReplaceAllTextRequest--;
@@ -2179,6 +2179,7 @@
var o = new api.ShapeProperties();
buildCounterShapeProperties++;
if (buildCounterShapeProperties < 3) {
+ o.contentAlignment = "foo";
o.link = buildLink();
o.outline = buildOutline();
o.shadow = buildShadow();
@@ -2191,6 +2192,7 @@
checkShapeProperties(api.ShapeProperties o) {
buildCounterShapeProperties++;
if (buildCounterShapeProperties < 3) {
+ unittest.expect(o.contentAlignment, unittest.equals('foo'));
checkLink(o.link);
checkOutline(o.outline);
checkShadow(o.shadow);
@@ -2350,53 +2352,53 @@
buildCounterSubstringMatchCriteria--;
}
-buildUnnamed1796() {
+buildUnnamed1810() {
var o = new core.List<api.TableBorderRow>();
o.add(buildTableBorderRow());
o.add(buildTableBorderRow());
return o;
}
-checkUnnamed1796(core.List<api.TableBorderRow> o) {
+checkUnnamed1810(core.List<api.TableBorderRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableBorderRow(o[0]);
checkTableBorderRow(o[1]);
}
-buildUnnamed1797() {
+buildUnnamed1811() {
var o = new core.List<api.TableColumnProperties>();
o.add(buildTableColumnProperties());
o.add(buildTableColumnProperties());
return o;
}
-checkUnnamed1797(core.List<api.TableColumnProperties> o) {
+checkUnnamed1811(core.List<api.TableColumnProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableColumnProperties(o[0]);
checkTableColumnProperties(o[1]);
}
-buildUnnamed1798() {
+buildUnnamed1812() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed1798(core.List<api.TableRow> o) {
+checkUnnamed1812(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
}
-buildUnnamed1799() {
+buildUnnamed1813() {
var o = new core.List<api.TableBorderRow>();
o.add(buildTableBorderRow());
o.add(buildTableBorderRow());
return o;
}
-checkUnnamed1799(core.List<api.TableBorderRow> o) {
+checkUnnamed1813(core.List<api.TableBorderRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableBorderRow(o[0]);
checkTableBorderRow(o[1]);
@@ -2408,11 +2410,11 @@
buildCounterTable++;
if (buildCounterTable < 3) {
o.columns = 42;
- o.horizontalBorderRows = buildUnnamed1796();
+ o.horizontalBorderRows = buildUnnamed1810();
o.rows = 42;
- o.tableColumns = buildUnnamed1797();
- o.tableRows = buildUnnamed1798();
- o.verticalBorderRows = buildUnnamed1799();
+ o.tableColumns = buildUnnamed1811();
+ o.tableRows = buildUnnamed1812();
+ o.verticalBorderRows = buildUnnamed1813();
}
buildCounterTable--;
return o;
@@ -2422,11 +2424,11 @@
buildCounterTable++;
if (buildCounterTable < 3) {
unittest.expect(o.columns, unittest.equals(42));
- checkUnnamed1796(o.horizontalBorderRows);
+ checkUnnamed1810(o.horizontalBorderRows);
unittest.expect(o.rows, unittest.equals(42));
- checkUnnamed1797(o.tableColumns);
- checkUnnamed1798(o.tableRows);
- checkUnnamed1799(o.verticalBorderRows);
+ checkUnnamed1811(o.tableColumns);
+ checkUnnamed1812(o.tableRows);
+ checkUnnamed1813(o.verticalBorderRows);
}
buildCounterTable--;
}
@@ -2494,14 +2496,14 @@
buildCounterTableBorderProperties--;
}
-buildUnnamed1800() {
+buildUnnamed1814() {
var o = new core.List<api.TableBorderCell>();
o.add(buildTableBorderCell());
o.add(buildTableBorderCell());
return o;
}
-checkUnnamed1800(core.List<api.TableBorderCell> o) {
+checkUnnamed1814(core.List<api.TableBorderCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableBorderCell(o[0]);
checkTableBorderCell(o[1]);
@@ -2512,7 +2514,7 @@
var o = new api.TableBorderRow();
buildCounterTableBorderRow++;
if (buildCounterTableBorderRow < 3) {
- o.tableBorderCells = buildUnnamed1800();
+ o.tableBorderCells = buildUnnamed1814();
}
buildCounterTableBorderRow--;
return o;
@@ -2521,7 +2523,7 @@
checkTableBorderRow(api.TableBorderRow o) {
buildCounterTableBorderRow++;
if (buildCounterTableBorderRow < 3) {
- checkUnnamed1800(o.tableBorderCells);
+ checkUnnamed1814(o.tableBorderCells);
}
buildCounterTableBorderRow--;
}
@@ -2600,6 +2602,7 @@
var o = new api.TableCellProperties();
buildCounterTableCellProperties++;
if (buildCounterTableCellProperties < 3) {
+ o.contentAlignment = "foo";
o.tableCellBackgroundFill = buildTableCellBackgroundFill();
}
buildCounterTableCellProperties--;
@@ -2609,6 +2612,7 @@
checkTableCellProperties(api.TableCellProperties o) {
buildCounterTableCellProperties++;
if (buildCounterTableCellProperties < 3) {
+ unittest.expect(o.contentAlignment, unittest.equals('foo'));
checkTableCellBackgroundFill(o.tableCellBackgroundFill);
}
buildCounterTableCellProperties--;
@@ -2656,14 +2660,14 @@
buildCounterTableRange--;
}
-buildUnnamed1801() {
+buildUnnamed1815() {
var o = new core.List<api.TableCell>();
o.add(buildTableCell());
o.add(buildTableCell());
return o;
}
-checkUnnamed1801(core.List<api.TableCell> o) {
+checkUnnamed1815(core.List<api.TableCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableCell(o[0]);
checkTableCell(o[1]);
@@ -2675,7 +2679,7 @@
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
o.rowHeight = buildDimension();
- o.tableCells = buildUnnamed1801();
+ o.tableCells = buildUnnamed1815();
o.tableRowProperties = buildTableRowProperties();
}
buildCounterTableRow--;
@@ -2686,7 +2690,7 @@
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
checkDimension(o.rowHeight);
- checkUnnamed1801(o.tableCells);
+ checkUnnamed1815(o.tableCells);
checkTableRowProperties(o.tableRowProperties);
}
buildCounterTableRow--;
@@ -2711,27 +2715,27 @@
buildCounterTableRowProperties--;
}
-buildUnnamed1802() {
+buildUnnamed1816() {
var o = new core.Map<core.String, api.List>();
o["x"] = buildList();
o["y"] = buildList();
return o;
}
-checkUnnamed1802(core.Map<core.String, api.List> o) {
+checkUnnamed1816(core.Map<core.String, api.List> o) {
unittest.expect(o, unittest.hasLength(2));
checkList(o["x"]);
checkList(o["y"]);
}
-buildUnnamed1803() {
+buildUnnamed1817() {
var o = new core.List<api.TextElement>();
o.add(buildTextElement());
o.add(buildTextElement());
return o;
}
-checkUnnamed1803(core.List<api.TextElement> o) {
+checkUnnamed1817(core.List<api.TextElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkTextElement(o[0]);
checkTextElement(o[1]);
@@ -2742,8 +2746,8 @@
var o = new api.TextContent();
buildCounterTextContent++;
if (buildCounterTextContent < 3) {
- o.lists = buildUnnamed1802();
- o.textElements = buildUnnamed1803();
+ o.lists = buildUnnamed1816();
+ o.textElements = buildUnnamed1817();
}
buildCounterTextContent--;
return o;
@@ -2752,8 +2756,8 @@
checkTextContent(api.TextContent o) {
buildCounterTextContent++;
if (buildCounterTextContent < 3) {
- checkUnnamed1802(o.lists);
- checkUnnamed1803(o.textElements);
+ checkUnnamed1816(o.lists);
+ checkUnnamed1817(o.textElements);
}
buildCounterTextContent--;
}
@@ -2891,14 +2895,14 @@
buildCounterThumbnail--;
}
-buildUnnamed1804() {
+buildUnnamed1818() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1804(core.List<core.String> o) {
+checkUnnamed1818(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2909,7 +2913,7 @@
var o = new api.UngroupObjectsRequest();
buildCounterUngroupObjectsRequest++;
if (buildCounterUngroupObjectsRequest < 3) {
- o.objectIds = buildUnnamed1804();
+ o.objectIds = buildUnnamed1818();
}
buildCounterUngroupObjectsRequest--;
return o;
@@ -2918,7 +2922,7 @@
checkUngroupObjectsRequest(api.UngroupObjectsRequest o) {
buildCounterUngroupObjectsRequest++;
if (buildCounterUngroupObjectsRequest < 3) {
- checkUnnamed1804(o.objectIds);
+ checkUnnamed1818(o.objectIds);
}
buildCounterUngroupObjectsRequest--;
}
@@ -3087,14 +3091,14 @@
buildCounterUpdateShapePropertiesRequest--;
}
-buildUnnamed1805() {
+buildUnnamed1819() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1805(core.List<core.String> o) {
+checkUnnamed1819(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3106,7 +3110,7 @@
buildCounterUpdateSlidesPositionRequest++;
if (buildCounterUpdateSlidesPositionRequest < 3) {
o.insertionIndex = 42;
- o.slideObjectIds = buildUnnamed1805();
+ o.slideObjectIds = buildUnnamed1819();
}
buildCounterUpdateSlidesPositionRequest--;
return o;
@@ -3116,7 +3120,7 @@
buildCounterUpdateSlidesPositionRequest++;
if (buildCounterUpdateSlidesPositionRequest < 3) {
unittest.expect(o.insertionIndex, unittest.equals(42));
- checkUnnamed1805(o.slideObjectIds);
+ checkUnnamed1819(o.slideObjectIds);
}
buildCounterUpdateSlidesPositionRequest--;
}
@@ -3174,14 +3178,14 @@
buildCounterUpdateTableCellPropertiesRequest--;
}
-buildUnnamed1806() {
+buildUnnamed1820() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1806(core.List<core.int> o) {
+checkUnnamed1820(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));
@@ -3192,7 +3196,7 @@
var o = new api.UpdateTableColumnPropertiesRequest();
buildCounterUpdateTableColumnPropertiesRequest++;
if (buildCounterUpdateTableColumnPropertiesRequest < 3) {
- o.columnIndices = buildUnnamed1806();
+ o.columnIndices = buildUnnamed1820();
o.fields = "foo";
o.objectId = "foo";
o.tableColumnProperties = buildTableColumnProperties();
@@ -3205,7 +3209,7 @@
api.UpdateTableColumnPropertiesRequest o) {
buildCounterUpdateTableColumnPropertiesRequest++;
if (buildCounterUpdateTableColumnPropertiesRequest < 3) {
- checkUnnamed1806(o.columnIndices);
+ checkUnnamed1820(o.columnIndices);
unittest.expect(o.fields, unittest.equals('foo'));
unittest.expect(o.objectId, unittest.equals('foo'));
checkTableColumnProperties(o.tableColumnProperties);
@@ -3213,14 +3217,14 @@
buildCounterUpdateTableColumnPropertiesRequest--;
}
-buildUnnamed1807() {
+buildUnnamed1821() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1807(core.List<core.int> o) {
+checkUnnamed1821(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));
@@ -3233,7 +3237,7 @@
if (buildCounterUpdateTableRowPropertiesRequest < 3) {
o.fields = "foo";
o.objectId = "foo";
- o.rowIndices = buildUnnamed1807();
+ o.rowIndices = buildUnnamed1821();
o.tableRowProperties = buildTableRowProperties();
}
buildCounterUpdateTableRowPropertiesRequest--;
@@ -3245,7 +3249,7 @@
if (buildCounterUpdateTableRowPropertiesRequest < 3) {
unittest.expect(o.fields, unittest.equals('foo'));
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed1807(o.rowIndices);
+ checkUnnamed1821(o.rowIndices);
checkTableRowProperties(o.tableRowProperties);
}
buildCounterUpdateTableRowPropertiesRequest--;
diff --git a/generated/googleapis/test/sourcerepo/v1_test.dart b/generated/googleapis/test/sourcerepo/v1_test.dart
index b328dab..ff3b251 100644
--- a/generated/googleapis/test/sourcerepo/v1_test.dart
+++ b/generated/googleapis/test/sourcerepo/v1_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed528() {
+buildUnnamed533() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed528(core.List<api.AuditLogConfig> o) {
+checkUnnamed533(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed529() {
+buildUnnamed534() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed529(core.List<core.String> o) {
+checkUnnamed534(core.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.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed528();
- o.exemptedMembers = buildUnnamed529();
+ o.auditLogConfigs = buildUnnamed533();
+ o.exemptedMembers = buildUnnamed534();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -92,21 +92,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed528(o.auditLogConfigs);
- checkUnnamed529(o.exemptedMembers);
+ checkUnnamed533(o.auditLogConfigs);
+ checkUnnamed534(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed530() {
+buildUnnamed535() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed530(core.List<core.String> o) {
+checkUnnamed535(core.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,7 +117,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed530();
+ o.exemptedMembers = buildUnnamed535();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -127,20 +127,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed530(o.exemptedMembers);
+ checkUnnamed535(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed531() {
+buildUnnamed536() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed531(core.List<core.String> o) {
+checkUnnamed536(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -152,7 +152,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed531();
+ o.members = buildUnnamed536();
o.role = "foo";
}
buildCounterBinding--;
@@ -163,7 +163,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed531(o.members);
+ checkUnnamed536(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -209,14 +209,14 @@
buildCounterExpr--;
}
-buildUnnamed532() {
+buildUnnamed537() {
var o = new core.List<api.Repo>();
o.add(buildRepo());
o.add(buildRepo());
return o;
}
-checkUnnamed532(core.List<api.Repo> o) {
+checkUnnamed537(core.List<api.Repo> o) {
unittest.expect(o, unittest.hasLength(2));
checkRepo(o[0]);
checkRepo(o[1]);
@@ -228,7 +228,7 @@
buildCounterListReposResponse++;
if (buildCounterListReposResponse < 3) {
o.nextPageToken = "foo";
- o.repos = buildUnnamed532();
+ o.repos = buildUnnamed537();
}
buildCounterListReposResponse--;
return o;
@@ -238,7 +238,7 @@
buildCounterListReposResponse++;
if (buildCounterListReposResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed532(o.repos);
+ checkUnnamed537(o.repos);
}
buildCounterListReposResponse--;
}
@@ -266,27 +266,27 @@
buildCounterMirrorConfig--;
}
-buildUnnamed533() {
+buildUnnamed538() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed533(core.List<api.AuditConfig> o) {
+checkUnnamed538(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed534() {
+buildUnnamed539() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed534(core.List<api.Binding> o) {
+checkUnnamed539(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -297,8 +297,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed533();
- o.bindings = buildUnnamed534();
+ o.auditConfigs = buildUnnamed538();
+ o.bindings = buildUnnamed539();
o.etag = "foo";
o.iamOwned = true;
o.version = 42;
@@ -310,8 +310,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed533(o.auditConfigs);
- checkUnnamed534(o.bindings);
+ checkUnnamed538(o.auditConfigs);
+ checkUnnamed539(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
unittest.expect(o.version, unittest.equals(42));
@@ -365,14 +365,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed535() {
+buildUnnamed540() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed535(core.List<core.String> 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'));
@@ -383,7 +383,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed535();
+ o.permissions = buildUnnamed540();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -392,19 +392,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed535(o.permissions);
+ checkUnnamed540(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed536() {
+buildUnnamed541() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed536(core.List<core.String> o) {
+checkUnnamed541(core.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.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed536();
+ o.permissions = buildUnnamed541();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -424,7 +424,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed536(o.permissions);
+ checkUnnamed541(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -744,8 +744,8 @@
api.ProjectsReposResourceApi res =
new api.SourcerepoApi(mock).projects.repos;
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;
@@ -778,10 +778,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 = {
@@ -792,8 +792,8 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListReposResponse response) {
checkListReposResponse(response);
diff --git a/generated/googleapis/test/spanner/v1_test.dart b/generated/googleapis/test/spanner/v1_test.dart
index b8fc7fb..61739bc 100644
--- a/generated/googleapis/test/spanner/v1_test.dart
+++ b/generated/googleapis/test/spanner/v1_test.dart
@@ -69,14 +69,14 @@
buildCounterBeginTransactionRequest--;
}
-buildUnnamed2164() {
+buildUnnamed2178() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2164(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'));
@@ -87,7 +87,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed2164();
+ o.members = buildUnnamed2178();
o.role = "foo";
}
buildCounterBinding--;
@@ -97,7 +97,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed2164(o.members);
+ checkUnnamed2178(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -126,14 +126,14 @@
buildCounterChildLink--;
}
-buildUnnamed2165() {
+buildUnnamed2179() {
var o = new core.List<api.Mutation>();
o.add(buildMutation());
o.add(buildMutation());
return o;
}
-checkUnnamed2165(core.List<api.Mutation> o) {
+checkUnnamed2179(core.List<api.Mutation> o) {
unittest.expect(o, unittest.hasLength(2));
checkMutation(o[0]);
checkMutation(o[1]);
@@ -144,7 +144,7 @@
var o = new api.CommitRequest();
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
- o.mutations = buildUnnamed2165();
+ o.mutations = buildUnnamed2179();
o.singleUseTransaction = buildTransactionOptions();
o.transactionId = "foo";
}
@@ -155,7 +155,7 @@
checkCommitRequest(api.CommitRequest o) {
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
- checkUnnamed2165(o.mutations);
+ checkUnnamed2179(o.mutations);
checkTransactionOptions(o.singleUseTransaction);
unittest.expect(o.transactionId, unittest.equals('foo'));
}
@@ -200,14 +200,14 @@
buildCounterCreateDatabaseMetadata--;
}
-buildUnnamed2166() {
+buildUnnamed2180() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2166(core.List<core.String> o) {
+checkUnnamed2180(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -219,7 +219,7 @@
buildCounterCreateDatabaseRequest++;
if (buildCounterCreateDatabaseRequest < 3) {
o.createStatement = "foo";
- o.extraStatements = buildUnnamed2166();
+ o.extraStatements = buildUnnamed2180();
}
buildCounterCreateDatabaseRequest--;
return o;
@@ -229,7 +229,7 @@
buildCounterCreateDatabaseRequest++;
if (buildCounterCreateDatabaseRequest < 3) {
unittest.expect(o.createStatement, unittest.equals('foo'));
- checkUnnamed2166(o.extraStatements);
+ checkUnnamed2180(o.extraStatements);
}
buildCounterCreateDatabaseRequest--;
}
@@ -356,20 +356,20 @@
buildCounterEmpty--;
}
-buildUnnamed2167() {
+buildUnnamed2181() {
var o = new core.Map<core.String, api.Type>();
o["x"] = buildType();
o["y"] = buildType();
return o;
}
-checkUnnamed2167(core.Map<core.String, api.Type> o) {
+checkUnnamed2181(core.Map<core.String, api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o["x"]);
checkType(o["y"]);
}
-buildUnnamed2168() {
+buildUnnamed2182() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -384,7 +384,7 @@
return o;
}
-checkUnnamed2168(core.Map<core.String, core.Object> o) {
+checkUnnamed2182(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));
@@ -403,8 +403,8 @@
var o = new api.ExecuteSqlRequest();
buildCounterExecuteSqlRequest++;
if (buildCounterExecuteSqlRequest < 3) {
- o.paramTypes = buildUnnamed2167();
- o.params = buildUnnamed2168();
+ o.paramTypes = buildUnnamed2181();
+ o.params = buildUnnamed2182();
o.queryMode = "foo";
o.resumeToken = "foo";
o.sql = "foo";
@@ -417,8 +417,8 @@
checkExecuteSqlRequest(api.ExecuteSqlRequest o) {
buildCounterExecuteSqlRequest++;
if (buildCounterExecuteSqlRequest < 3) {
- checkUnnamed2167(o.paramTypes);
- checkUnnamed2168(o.params);
+ checkUnnamed2181(o.paramTypes);
+ checkUnnamed2182(o.params);
unittest.expect(o.queryMode, unittest.equals('foo'));
unittest.expect(o.resumeToken, unittest.equals('foo'));
unittest.expect(o.sql, unittest.equals('foo'));
@@ -448,14 +448,14 @@
buildCounterField--;
}
-buildUnnamed2169() {
+buildUnnamed2183() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2169(core.List<core.String> o) {
+checkUnnamed2183(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -466,7 +466,7 @@
var o = new api.GetDatabaseDdlResponse();
buildCounterGetDatabaseDdlResponse++;
if (buildCounterGetDatabaseDdlResponse < 3) {
- o.statements = buildUnnamed2169();
+ o.statements = buildUnnamed2183();
}
buildCounterGetDatabaseDdlResponse--;
return o;
@@ -475,7 +475,7 @@
checkGetDatabaseDdlResponse(api.GetDatabaseDdlResponse o) {
buildCounterGetDatabaseDdlResponse++;
if (buildCounterGetDatabaseDdlResponse < 3) {
- checkUnnamed2169(o.statements);
+ checkUnnamed2183(o.statements);
}
buildCounterGetDatabaseDdlResponse--;
}
@@ -495,14 +495,14 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed2170() {
+buildUnnamed2184() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2170(core.Map<core.String, core.String> o) {
+checkUnnamed2184(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'));
@@ -515,7 +515,7 @@
if (buildCounterInstance < 3) {
o.config = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed2170();
+ o.labels = buildUnnamed2184();
o.name = "foo";
o.nodeCount = 42;
o.state = "foo";
@@ -529,7 +529,7 @@
if (buildCounterInstance < 3) {
unittest.expect(o.config, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed2170(o.labels);
+ checkUnnamed2184(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nodeCount, unittest.equals(42));
unittest.expect(o.state, unittest.equals('foo'));
@@ -558,7 +558,7 @@
buildCounterInstanceConfig--;
}
-buildUnnamed2171() {
+buildUnnamed2185() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -573,7 +573,7 @@
return o;
}
-checkUnnamed2171(core.List<core.Object> o) {
+checkUnnamed2185(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -587,7 +587,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed2172() {
+buildUnnamed2186() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -602,7 +602,7 @@
return o;
}
-checkUnnamed2172(core.List<core.Object> o) {
+checkUnnamed2186(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -616,7 +616,7 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed2173() {
+buildUnnamed2187() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -631,7 +631,7 @@
return o;
}
-checkUnnamed2173(core.List<core.Object> o) {
+checkUnnamed2187(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o[0]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -645,7 +645,7 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed2174() {
+buildUnnamed2188() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -660,7 +660,7 @@
return o;
}
-checkUnnamed2174(core.List<core.Object> o) {
+checkUnnamed2188(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o[0]) as core.Map;
unittest.expect(casted9, unittest.hasLength(3));
@@ -679,10 +679,10 @@
var o = new api.KeyRange();
buildCounterKeyRange++;
if (buildCounterKeyRange < 3) {
- o.endClosed = buildUnnamed2171();
- o.endOpen = buildUnnamed2172();
- o.startClosed = buildUnnamed2173();
- o.startOpen = buildUnnamed2174();
+ o.endClosed = buildUnnamed2185();
+ o.endOpen = buildUnnamed2186();
+ o.startClosed = buildUnnamed2187();
+ o.startOpen = buildUnnamed2188();
}
buildCounterKeyRange--;
return o;
@@ -691,15 +691,15 @@
checkKeyRange(api.KeyRange o) {
buildCounterKeyRange++;
if (buildCounterKeyRange < 3) {
- checkUnnamed2171(o.endClosed);
- checkUnnamed2172(o.endOpen);
- checkUnnamed2173(o.startClosed);
- checkUnnamed2174(o.startOpen);
+ checkUnnamed2185(o.endClosed);
+ checkUnnamed2186(o.endOpen);
+ checkUnnamed2187(o.startClosed);
+ checkUnnamed2188(o.startOpen);
}
buildCounterKeyRange--;
}
-buildUnnamed2175() {
+buildUnnamed2189() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -714,7 +714,7 @@
return o;
}
-checkUnnamed2175(core.List<core.Object> o) {
+checkUnnamed2189(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o[0]) as core.Map;
unittest.expect(casted11, unittest.hasLength(3));
@@ -728,27 +728,27 @@
unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed2176() {
+buildUnnamed2190() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed2175());
- o.add(buildUnnamed2175());
+ o.add(buildUnnamed2189());
+ o.add(buildUnnamed2189());
return o;
}
-checkUnnamed2176(core.List<core.List<core.Object>> o) {
+checkUnnamed2190(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2175(o[0]);
- checkUnnamed2175(o[1]);
+ checkUnnamed2189(o[0]);
+ checkUnnamed2189(o[1]);
}
-buildUnnamed2177() {
+buildUnnamed2191() {
var o = new core.List<api.KeyRange>();
o.add(buildKeyRange());
o.add(buildKeyRange());
return o;
}
-checkUnnamed2177(core.List<api.KeyRange> o) {
+checkUnnamed2191(core.List<api.KeyRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyRange(o[0]);
checkKeyRange(o[1]);
@@ -760,8 +760,8 @@
buildCounterKeySet++;
if (buildCounterKeySet < 3) {
o.all = true;
- o.keys = buildUnnamed2176();
- o.ranges = buildUnnamed2177();
+ o.keys = buildUnnamed2190();
+ o.ranges = buildUnnamed2191();
}
buildCounterKeySet--;
return o;
@@ -771,20 +771,20 @@
buildCounterKeySet++;
if (buildCounterKeySet < 3) {
unittest.expect(o.all, unittest.isTrue);
- checkUnnamed2176(o.keys);
- checkUnnamed2177(o.ranges);
+ checkUnnamed2190(o.keys);
+ checkUnnamed2191(o.ranges);
}
buildCounterKeySet--;
}
-buildUnnamed2178() {
+buildUnnamed2192() {
var o = new core.List<api.Database>();
o.add(buildDatabase());
o.add(buildDatabase());
return o;
}
-checkUnnamed2178(core.List<api.Database> o) {
+checkUnnamed2192(core.List<api.Database> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatabase(o[0]);
checkDatabase(o[1]);
@@ -795,7 +795,7 @@
var o = new api.ListDatabasesResponse();
buildCounterListDatabasesResponse++;
if (buildCounterListDatabasesResponse < 3) {
- o.databases = buildUnnamed2178();
+ o.databases = buildUnnamed2192();
o.nextPageToken = "foo";
}
buildCounterListDatabasesResponse--;
@@ -805,20 +805,20 @@
checkListDatabasesResponse(api.ListDatabasesResponse o) {
buildCounterListDatabasesResponse++;
if (buildCounterListDatabasesResponse < 3) {
- checkUnnamed2178(o.databases);
+ checkUnnamed2192(o.databases);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDatabasesResponse--;
}
-buildUnnamed2179() {
+buildUnnamed2193() {
var o = new core.List<api.InstanceConfig>();
o.add(buildInstanceConfig());
o.add(buildInstanceConfig());
return o;
}
-checkUnnamed2179(core.List<api.InstanceConfig> o) {
+checkUnnamed2193(core.List<api.InstanceConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceConfig(o[0]);
checkInstanceConfig(o[1]);
@@ -829,7 +829,7 @@
var o = new api.ListInstanceConfigsResponse();
buildCounterListInstanceConfigsResponse++;
if (buildCounterListInstanceConfigsResponse < 3) {
- o.instanceConfigs = buildUnnamed2179();
+ o.instanceConfigs = buildUnnamed2193();
o.nextPageToken = "foo";
}
buildCounterListInstanceConfigsResponse--;
@@ -839,20 +839,20 @@
checkListInstanceConfigsResponse(api.ListInstanceConfigsResponse o) {
buildCounterListInstanceConfigsResponse++;
if (buildCounterListInstanceConfigsResponse < 3) {
- checkUnnamed2179(o.instanceConfigs);
+ checkUnnamed2193(o.instanceConfigs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstanceConfigsResponse--;
}
-buildUnnamed2180() {
+buildUnnamed2194() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed2180(core.List<api.Instance> o) {
+checkUnnamed2194(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -863,7 +863,7 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed2180();
+ o.instances = buildUnnamed2194();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -873,20 +873,20 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed2180(o.instances);
+ checkUnnamed2194(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed2181() {
+buildUnnamed2195() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2181(core.List<api.Operation> o) {
+checkUnnamed2195(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -898,7 +898,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2181();
+ o.operations = buildUnnamed2195();
}
buildCounterListOperationsResponse--;
return o;
@@ -908,19 +908,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2181(o.operations);
+ checkUnnamed2195(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed2182() {
+buildUnnamed2196() {
var o = new core.List<api.Session>();
o.add(buildSession());
o.add(buildSession());
return o;
}
-checkUnnamed2182(core.List<api.Session> o) {
+checkUnnamed2196(core.List<api.Session> o) {
unittest.expect(o, unittest.hasLength(2));
checkSession(o[0]);
checkSession(o[1]);
@@ -932,7 +932,7 @@
buildCounterListSessionsResponse++;
if (buildCounterListSessionsResponse < 3) {
o.nextPageToken = "foo";
- o.sessions = buildUnnamed2182();
+ o.sessions = buildUnnamed2196();
}
buildCounterListSessionsResponse--;
return o;
@@ -942,7 +942,7 @@
buildCounterListSessionsResponse++;
if (buildCounterListSessionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2182(o.sessions);
+ checkUnnamed2196(o.sessions);
}
buildCounterListSessionsResponse--;
}
@@ -974,7 +974,7 @@
buildCounterMutation--;
}
-buildUnnamed2183() {
+buildUnnamed2197() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -989,7 +989,7 @@
return o;
}
-checkUnnamed2183(core.Map<core.String, core.Object> o) {
+checkUnnamed2197(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));
@@ -1003,7 +1003,7 @@
unittest.expect(casted14["string"], unittest.equals('foo'));
}
-buildUnnamed2184() {
+buildUnnamed2198() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1018,7 +1018,7 @@
return o;
}
-checkUnnamed2184(core.Map<core.String, core.Object> o) {
+checkUnnamed2198(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));
@@ -1039,9 +1039,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2183();
+ o.metadata = buildUnnamed2197();
o.name = "foo";
- o.response = buildUnnamed2184();
+ o.response = buildUnnamed2198();
}
buildCounterOperation--;
return o;
@@ -1052,14 +1052,14 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2183(o.metadata);
+ checkUnnamed2197(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2184(o.response);
+ checkUnnamed2198(o.response);
}
buildCounterOperation--;
}
-buildUnnamed2185() {
+buildUnnamed2199() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -1074,7 +1074,7 @@
return o;
}
-checkUnnamed2185(core.List<core.Object> o) {
+checkUnnamed2199(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted17 = (o[0]) as core.Map;
unittest.expect(casted17, unittest.hasLength(3));
@@ -1097,7 +1097,7 @@
o.metadata = buildResultSetMetadata();
o.resumeToken = "foo";
o.stats = buildResultSetStats();
- o.values = buildUnnamed2185();
+ o.values = buildUnnamed2199();
}
buildCounterPartialResultSet--;
return o;
@@ -1110,25 +1110,25 @@
checkResultSetMetadata(o.metadata);
unittest.expect(o.resumeToken, unittest.equals('foo'));
checkResultSetStats(o.stats);
- checkUnnamed2185(o.values);
+ checkUnnamed2199(o.values);
}
buildCounterPartialResultSet--;
}
-buildUnnamed2186() {
+buildUnnamed2200() {
var o = new core.List<api.ChildLink>();
o.add(buildChildLink());
o.add(buildChildLink());
return o;
}
-checkUnnamed2186(core.List<api.ChildLink> o) {
+checkUnnamed2200(core.List<api.ChildLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkChildLink(o[0]);
checkChildLink(o[1]);
}
-buildUnnamed2187() {
+buildUnnamed2201() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1143,7 +1143,7 @@
return o;
}
-checkUnnamed2187(core.Map<core.String, core.Object> o) {
+checkUnnamed2201(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));
@@ -1157,7 +1157,7 @@
unittest.expect(casted20["string"], unittest.equals('foo'));
}
-buildUnnamed2188() {
+buildUnnamed2202() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1172,7 +1172,7 @@
return o;
}
-checkUnnamed2188(core.Map<core.String, core.Object> o) {
+checkUnnamed2202(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));
@@ -1191,12 +1191,12 @@
var o = new api.PlanNode();
buildCounterPlanNode++;
if (buildCounterPlanNode < 3) {
- o.childLinks = buildUnnamed2186();
+ o.childLinks = buildUnnamed2200();
o.displayName = "foo";
- o.executionStats = buildUnnamed2187();
+ o.executionStats = buildUnnamed2201();
o.index = 42;
o.kind = "foo";
- o.metadata = buildUnnamed2188();
+ o.metadata = buildUnnamed2202();
o.shortRepresentation = buildShortRepresentation();
}
buildCounterPlanNode--;
@@ -1206,25 +1206,25 @@
checkPlanNode(api.PlanNode o) {
buildCounterPlanNode++;
if (buildCounterPlanNode < 3) {
- checkUnnamed2186(o.childLinks);
+ checkUnnamed2200(o.childLinks);
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed2187(o.executionStats);
+ checkUnnamed2201(o.executionStats);
unittest.expect(o.index, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2188(o.metadata);
+ checkUnnamed2202(o.metadata);
checkShortRepresentation(o.shortRepresentation);
}
buildCounterPlanNode--;
}
-buildUnnamed2189() {
+buildUnnamed2203() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed2189(core.List<api.Binding> o) {
+checkUnnamed2203(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -1235,7 +1235,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed2189();
+ o.bindings = buildUnnamed2203();
o.etag = "foo";
o.version = 42;
}
@@ -1246,21 +1246,21 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed2189(o.bindings);
+ checkUnnamed2203(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed2190() {
+buildUnnamed2204() {
var o = new core.List<api.PlanNode>();
o.add(buildPlanNode());
o.add(buildPlanNode());
return o;
}
-checkUnnamed2190(core.List<api.PlanNode> o) {
+checkUnnamed2204(core.List<api.PlanNode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlanNode(o[0]);
checkPlanNode(o[1]);
@@ -1271,7 +1271,7 @@
var o = new api.QueryPlan();
buildCounterQueryPlan++;
if (buildCounterQueryPlan < 3) {
- o.planNodes = buildUnnamed2190();
+ o.planNodes = buildUnnamed2204();
}
buildCounterQueryPlan--;
return o;
@@ -1280,7 +1280,7 @@
checkQueryPlan(api.QueryPlan o) {
buildCounterQueryPlan++;
if (buildCounterQueryPlan < 3) {
- checkUnnamed2190(o.planNodes);
+ checkUnnamed2204(o.planNodes);
}
buildCounterQueryPlan--;
}
@@ -1314,14 +1314,14 @@
buildCounterReadOnly--;
}
-buildUnnamed2191() {
+buildUnnamed2205() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2191(core.List<core.String> o) {
+checkUnnamed2205(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1332,7 +1332,7 @@
var o = new api.ReadRequest();
buildCounterReadRequest++;
if (buildCounterReadRequest < 3) {
- o.columns = buildUnnamed2191();
+ o.columns = buildUnnamed2205();
o.index = "foo";
o.keySet = buildKeySet();
o.limit = "foo";
@@ -1347,7 +1347,7 @@
checkReadRequest(api.ReadRequest o) {
buildCounterReadRequest++;
if (buildCounterReadRequest < 3) {
- checkUnnamed2191(o.columns);
+ checkUnnamed2205(o.columns);
unittest.expect(o.index, unittest.equals('foo'));
checkKeySet(o.keySet);
unittest.expect(o.limit, unittest.equals('foo'));
@@ -1373,7 +1373,7 @@
buildCounterReadWrite--;
}
-buildUnnamed2192() {
+buildUnnamed2206() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -1388,7 +1388,7 @@
return o;
}
-checkUnnamed2192(core.List<core.Object> o) {
+checkUnnamed2206(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted23 = (o[0]) as core.Map;
unittest.expect(casted23, unittest.hasLength(3));
@@ -1402,17 +1402,17 @@
unittest.expect(casted24["string"], unittest.equals('foo'));
}
-buildUnnamed2193() {
+buildUnnamed2207() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed2192());
- o.add(buildUnnamed2192());
+ o.add(buildUnnamed2206());
+ o.add(buildUnnamed2206());
return o;
}
-checkUnnamed2193(core.List<core.List<core.Object>> o) {
+checkUnnamed2207(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2192(o[0]);
- checkUnnamed2192(o[1]);
+ checkUnnamed2206(o[0]);
+ checkUnnamed2206(o[1]);
}
core.int buildCounterResultSet = 0;
@@ -1421,7 +1421,7 @@
buildCounterResultSet++;
if (buildCounterResultSet < 3) {
o.metadata = buildResultSetMetadata();
- o.rows = buildUnnamed2193();
+ o.rows = buildUnnamed2207();
o.stats = buildResultSetStats();
}
buildCounterResultSet--;
@@ -1432,7 +1432,7 @@
buildCounterResultSet++;
if (buildCounterResultSet < 3) {
checkResultSetMetadata(o.metadata);
- checkUnnamed2193(o.rows);
+ checkUnnamed2207(o.rows);
checkResultSetStats(o.stats);
}
buildCounterResultSet--;
@@ -1459,7 +1459,7 @@
buildCounterResultSetMetadata--;
}
-buildUnnamed2194() {
+buildUnnamed2208() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1474,7 +1474,7 @@
return o;
}
-checkUnnamed2194(core.Map<core.String, core.Object> o) {
+checkUnnamed2208(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));
@@ -1494,7 +1494,7 @@
buildCounterResultSetStats++;
if (buildCounterResultSetStats < 3) {
o.queryPlan = buildQueryPlan();
- o.queryStats = buildUnnamed2194();
+ o.queryStats = buildUnnamed2208();
}
buildCounterResultSetStats--;
return o;
@@ -1504,7 +1504,7 @@
buildCounterResultSetStats++;
if (buildCounterResultSetStats < 3) {
checkQueryPlan(o.queryPlan);
- checkUnnamed2194(o.queryStats);
+ checkUnnamed2208(o.queryStats);
}
buildCounterResultSetStats--;
}
@@ -1528,14 +1528,14 @@
buildCounterRollbackRequest--;
}
-buildUnnamed2195() {
+buildUnnamed2209() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2195(core.Map<core.String, core.String> o) {
+checkUnnamed2209(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 @@
if (buildCounterSession < 3) {
o.approximateLastUseTime = "foo";
o.createTime = "foo";
- o.labels = buildUnnamed2195();
+ o.labels = buildUnnamed2209();
o.name = "foo";
}
buildCounterSession--;
@@ -1560,7 +1560,7 @@
if (buildCounterSession < 3) {
unittest.expect(o.approximateLastUseTime, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed2195(o.labels);
+ checkUnnamed2209(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterSession--;
@@ -1585,14 +1585,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed2196() {
+buildUnnamed2210() {
var o = new core.Map<core.String, core.int>();
o["x"] = 42;
o["y"] = 42;
return o;
}
-checkUnnamed2196(core.Map<core.String, core.int> o) {
+checkUnnamed2210(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));
@@ -1604,7 +1604,7 @@
buildCounterShortRepresentation++;
if (buildCounterShortRepresentation < 3) {
o.description = "foo";
- o.subqueries = buildUnnamed2196();
+ o.subqueries = buildUnnamed2210();
}
buildCounterShortRepresentation--;
return o;
@@ -1614,12 +1614,12 @@
buildCounterShortRepresentation++;
if (buildCounterShortRepresentation < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2196(o.subqueries);
+ checkUnnamed2210(o.subqueries);
}
buildCounterShortRepresentation--;
}
-buildUnnamed2197() {
+buildUnnamed2211() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1634,7 +1634,7 @@
return o;
}
-checkUnnamed2197(core.Map<core.String, core.Object> o) {
+checkUnnamed2211(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));
@@ -1648,17 +1648,17 @@
unittest.expect(casted28["string"], unittest.equals('foo'));
}
-buildUnnamed2198() {
+buildUnnamed2212() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2197());
- o.add(buildUnnamed2197());
+ o.add(buildUnnamed2211());
+ o.add(buildUnnamed2211());
return o;
}
-checkUnnamed2198(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2212(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2197(o[0]);
- checkUnnamed2197(o[1]);
+ checkUnnamed2211(o[0]);
+ checkUnnamed2211(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1667,7 +1667,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2198();
+ o.details = buildUnnamed2212();
o.message = "foo";
}
buildCounterStatus--;
@@ -1678,20 +1678,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2198(o.details);
+ checkUnnamed2212(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed2199() {
+buildUnnamed2213() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed2199(core.List<api.Field> o) {
+checkUnnamed2213(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
@@ -1702,7 +1702,7 @@
var o = new api.StructType();
buildCounterStructType++;
if (buildCounterStructType < 3) {
- o.fields = buildUnnamed2199();
+ o.fields = buildUnnamed2213();
}
buildCounterStructType--;
return o;
@@ -1711,19 +1711,19 @@
checkStructType(api.StructType o) {
buildCounterStructType++;
if (buildCounterStructType < 3) {
- checkUnnamed2199(o.fields);
+ checkUnnamed2213(o.fields);
}
buildCounterStructType--;
}
-buildUnnamed2200() {
+buildUnnamed2214() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2200(core.List<core.String> o) {
+checkUnnamed2214(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1734,7 +1734,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed2200();
+ o.permissions = buildUnnamed2214();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -1743,19 +1743,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed2200(o.permissions);
+ checkUnnamed2214(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed2201() {
+buildUnnamed2215() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2201(core.List<core.String> o) {
+checkUnnamed2215(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1766,7 +1766,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed2201();
+ o.permissions = buildUnnamed2215();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1775,7 +1775,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed2201(o.permissions);
+ checkUnnamed2215(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1868,27 +1868,27 @@
buildCounterType--;
}
-buildUnnamed2202() {
+buildUnnamed2216() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2202(core.List<core.String> o) {
+checkUnnamed2216(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2203() {
+buildUnnamed2217() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2203(core.List<core.String> o) {
+checkUnnamed2217(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1899,9 +1899,9 @@
var o = new api.UpdateDatabaseDdlMetadata();
buildCounterUpdateDatabaseDdlMetadata++;
if (buildCounterUpdateDatabaseDdlMetadata < 3) {
- o.commitTimestamps = buildUnnamed2202();
+ o.commitTimestamps = buildUnnamed2216();
o.database = "foo";
- o.statements = buildUnnamed2203();
+ o.statements = buildUnnamed2217();
}
buildCounterUpdateDatabaseDdlMetadata--;
return o;
@@ -1910,21 +1910,21 @@
checkUpdateDatabaseDdlMetadata(api.UpdateDatabaseDdlMetadata o) {
buildCounterUpdateDatabaseDdlMetadata++;
if (buildCounterUpdateDatabaseDdlMetadata < 3) {
- checkUnnamed2202(o.commitTimestamps);
+ checkUnnamed2216(o.commitTimestamps);
unittest.expect(o.database, unittest.equals('foo'));
- checkUnnamed2203(o.statements);
+ checkUnnamed2217(o.statements);
}
buildCounterUpdateDatabaseDdlMetadata--;
}
-buildUnnamed2204() {
+buildUnnamed2218() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2204(core.List<core.String> o) {
+checkUnnamed2218(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1936,7 +1936,7 @@
buildCounterUpdateDatabaseDdlRequest++;
if (buildCounterUpdateDatabaseDdlRequest < 3) {
o.operationId = "foo";
- o.statements = buildUnnamed2204();
+ o.statements = buildUnnamed2218();
}
buildCounterUpdateDatabaseDdlRequest--;
return o;
@@ -1946,7 +1946,7 @@
buildCounterUpdateDatabaseDdlRequest++;
if (buildCounterUpdateDatabaseDdlRequest < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed2204(o.statements);
+ checkUnnamed2218(o.statements);
}
buildCounterUpdateDatabaseDdlRequest--;
}
@@ -1997,20 +1997,20 @@
buildCounterUpdateInstanceRequest--;
}
-buildUnnamed2205() {
+buildUnnamed2219() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2205(core.List<core.String> o) {
+checkUnnamed2219(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2206() {
+buildUnnamed2220() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -2025,7 +2025,7 @@
return o;
}
-checkUnnamed2206(core.List<core.Object> o) {
+checkUnnamed2220(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted29 = (o[0]) as core.Map;
unittest.expect(casted29, unittest.hasLength(3));
@@ -2039,17 +2039,17 @@
unittest.expect(casted30["string"], unittest.equals('foo'));
}
-buildUnnamed2207() {
+buildUnnamed2221() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed2206());
- o.add(buildUnnamed2206());
+ o.add(buildUnnamed2220());
+ o.add(buildUnnamed2220());
return o;
}
-checkUnnamed2207(core.List<core.List<core.Object>> o) {
+checkUnnamed2221(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2206(o[0]);
- checkUnnamed2206(o[1]);
+ checkUnnamed2220(o[0]);
+ checkUnnamed2220(o[1]);
}
core.int buildCounterWrite = 0;
@@ -2057,9 +2057,9 @@
var o = new api.Write();
buildCounterWrite++;
if (buildCounterWrite < 3) {
- o.columns = buildUnnamed2205();
+ o.columns = buildUnnamed2219();
o.table = "foo";
- o.values = buildUnnamed2207();
+ o.values = buildUnnamed2221();
}
buildCounterWrite--;
return o;
@@ -2068,9 +2068,9 @@
checkWrite(api.Write o) {
buildCounterWrite++;
if (buildCounterWrite < 3) {
- checkUnnamed2205(o.columns);
+ checkUnnamed2219(o.columns);
unittest.expect(o.table, unittest.equals('foo'));
- checkUnnamed2207(o.values);
+ checkUnnamed2221(o.values);
}
buildCounterWrite--;
}
@@ -3746,9 +3746,9 @@
api.ProjectsInstancesDatabasesOperationsResourceApi res =
new api.SpannerApi(mock).projects.instances.databases.operations;
var arg_name = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3781,11 +3781,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 = {
@@ -3796,9 +3796,9 @@
}), true);
res
.list(arg_name,
- filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
@@ -4586,9 +4586,9 @@
api.ProjectsInstancesOperationsResourceApi res =
new api.SpannerApi(mock).projects.instances.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;
@@ -4621,11 +4621,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 = {
@@ -4636,9 +4636,9 @@
}), true);
res
.list(arg_name,
+ filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
- filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/speech/v1_test.dart b/generated/googleapis/test/speech/v1_test.dart
index b20666a..0562d10 100644
--- a/generated/googleapis/test/speech/v1_test.dart
+++ b/generated/googleapis/test/speech/v1_test.dart
@@ -80,14 +80,14 @@
buildCounterEmpty--;
}
-buildUnnamed3155() {
+buildUnnamed3174() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3155(core.List<api.Operation> o) {
+checkUnnamed3174(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 = buildUnnamed3155();
+ o.operations = buildUnnamed3174();
}
buildCounterListOperationsResponse--;
return o;
@@ -109,7 +109,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3155(o.operations);
+ checkUnnamed3174(o.operations);
}
buildCounterListOperationsResponse--;
}
@@ -135,7 +135,7 @@
buildCounterLongRunningRecognizeRequest--;
}
-buildUnnamed3156() {
+buildUnnamed3175() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -150,7 +150,7 @@
return o;
}
-checkUnnamed3156(core.Map<core.String, core.Object> o) {
+checkUnnamed3175(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));
@@ -164,7 +164,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed3157() {
+buildUnnamed3176() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -179,7 +179,7 @@
return o;
}
-checkUnnamed3157(core.Map<core.String, core.Object> o) {
+checkUnnamed3176(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));
@@ -200,9 +200,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3156();
+ o.metadata = buildUnnamed3175();
o.name = "foo";
- o.response = buildUnnamed3157();
+ o.response = buildUnnamed3176();
}
buildCounterOperation--;
return o;
@@ -213,9 +213,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3156(o.metadata);
+ checkUnnamed3175(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3157(o.response);
+ checkUnnamed3176(o.response);
}
buildCounterOperation--;
}
@@ -241,14 +241,14 @@
buildCounterRecognitionAudio--;
}
-buildUnnamed3158() {
+buildUnnamed3177() {
var o = new core.List<api.SpeechContext>();
o.add(buildSpeechContext());
o.add(buildSpeechContext());
return o;
}
-checkUnnamed3158(core.List<api.SpeechContext> o) {
+checkUnnamed3177(core.List<api.SpeechContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpeechContext(o[0]);
checkSpeechContext(o[1]);
@@ -265,7 +265,7 @@
o.maxAlternatives = 42;
o.profanityFilter = true;
o.sampleRateHertz = 42;
- o.speechContexts = buildUnnamed3158();
+ o.speechContexts = buildUnnamed3177();
}
buildCounterRecognitionConfig--;
return o;
@@ -280,7 +280,7 @@
unittest.expect(o.maxAlternatives, unittest.equals(42));
unittest.expect(o.profanityFilter, unittest.isTrue);
unittest.expect(o.sampleRateHertz, unittest.equals(42));
- checkUnnamed3158(o.speechContexts);
+ checkUnnamed3177(o.speechContexts);
}
buildCounterRecognitionConfig--;
}
@@ -306,14 +306,14 @@
buildCounterRecognizeRequest--;
}
-buildUnnamed3159() {
+buildUnnamed3178() {
var o = new core.List<api.SpeechRecognitionResult>();
o.add(buildSpeechRecognitionResult());
o.add(buildSpeechRecognitionResult());
return o;
}
-checkUnnamed3159(core.List<api.SpeechRecognitionResult> o) {
+checkUnnamed3178(core.List<api.SpeechRecognitionResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpeechRecognitionResult(o[0]);
checkSpeechRecognitionResult(o[1]);
@@ -324,7 +324,7 @@
var o = new api.RecognizeResponse();
buildCounterRecognizeResponse++;
if (buildCounterRecognizeResponse < 3) {
- o.results = buildUnnamed3159();
+ o.results = buildUnnamed3178();
}
buildCounterRecognizeResponse--;
return o;
@@ -333,19 +333,19 @@
checkRecognizeResponse(api.RecognizeResponse o) {
buildCounterRecognizeResponse++;
if (buildCounterRecognizeResponse < 3) {
- checkUnnamed3159(o.results);
+ checkUnnamed3178(o.results);
}
buildCounterRecognizeResponse--;
}
-buildUnnamed3160() {
+buildUnnamed3179() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3160(core.List<core.String> o) {
+checkUnnamed3179(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -356,7 +356,7 @@
var o = new api.SpeechContext();
buildCounterSpeechContext++;
if (buildCounterSpeechContext < 3) {
- o.phrases = buildUnnamed3160();
+ o.phrases = buildUnnamed3179();
}
buildCounterSpeechContext--;
return o;
@@ -365,19 +365,19 @@
checkSpeechContext(api.SpeechContext o) {
buildCounterSpeechContext++;
if (buildCounterSpeechContext < 3) {
- checkUnnamed3160(o.phrases);
+ checkUnnamed3179(o.phrases);
}
buildCounterSpeechContext--;
}
-buildUnnamed3161() {
+buildUnnamed3180() {
var o = new core.List<api.WordInfo>();
o.add(buildWordInfo());
o.add(buildWordInfo());
return o;
}
-checkUnnamed3161(core.List<api.WordInfo> o) {
+checkUnnamed3180(core.List<api.WordInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkWordInfo(o[0]);
checkWordInfo(o[1]);
@@ -390,7 +390,7 @@
if (buildCounterSpeechRecognitionAlternative < 3) {
o.confidence = 42.0;
o.transcript = "foo";
- o.words = buildUnnamed3161();
+ o.words = buildUnnamed3180();
}
buildCounterSpeechRecognitionAlternative--;
return o;
@@ -401,19 +401,19 @@
if (buildCounterSpeechRecognitionAlternative < 3) {
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.transcript, unittest.equals('foo'));
- checkUnnamed3161(o.words);
+ checkUnnamed3180(o.words);
}
buildCounterSpeechRecognitionAlternative--;
}
-buildUnnamed3162() {
+buildUnnamed3181() {
var o = new core.List<api.SpeechRecognitionAlternative>();
o.add(buildSpeechRecognitionAlternative());
o.add(buildSpeechRecognitionAlternative());
return o;
}
-checkUnnamed3162(core.List<api.SpeechRecognitionAlternative> o) {
+checkUnnamed3181(core.List<api.SpeechRecognitionAlternative> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpeechRecognitionAlternative(o[0]);
checkSpeechRecognitionAlternative(o[1]);
@@ -424,7 +424,7 @@
var o = new api.SpeechRecognitionResult();
buildCounterSpeechRecognitionResult++;
if (buildCounterSpeechRecognitionResult < 3) {
- o.alternatives = buildUnnamed3162();
+ o.alternatives = buildUnnamed3181();
o.channelTag = 42;
}
buildCounterSpeechRecognitionResult--;
@@ -434,13 +434,13 @@
checkSpeechRecognitionResult(api.SpeechRecognitionResult o) {
buildCounterSpeechRecognitionResult++;
if (buildCounterSpeechRecognitionResult < 3) {
- checkUnnamed3162(o.alternatives);
+ checkUnnamed3181(o.alternatives);
unittest.expect(o.channelTag, unittest.equals(42));
}
buildCounterSpeechRecognitionResult--;
}
-buildUnnamed3163() {
+buildUnnamed3182() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -455,7 +455,7 @@
return o;
}
-checkUnnamed3163(core.Map<core.String, core.Object> o) {
+checkUnnamed3182(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));
@@ -469,17 +469,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed3164() {
+buildUnnamed3183() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3163());
- o.add(buildUnnamed3163());
+ o.add(buildUnnamed3182());
+ o.add(buildUnnamed3182());
return o;
}
-checkUnnamed3164(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3183(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3163(o[0]);
- checkUnnamed3163(o[1]);
+ checkUnnamed3182(o[0]);
+ checkUnnamed3182(o[1]);
}
core.int buildCounterStatus = 0;
@@ -488,7 +488,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3164();
+ o.details = buildUnnamed3183();
o.message = "foo";
}
buildCounterStatus--;
@@ -499,7 +499,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3164(o.details);
+ checkUnnamed3183(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -802,10 +802,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.OperationsResourceApi res = new api.SpeechApi(mock).operations;
+ var arg_pageSize = 42;
var arg_filter = "foo";
var arg_name = "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;
@@ -837,12 +837,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["name"].first, unittest.equals(arg_name));
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 = {
@@ -853,10 +853,10 @@
}), true);
res
.list(
+ pageSize: arg_pageSize,
filter: arg_filter,
name: arg_name,
pageToken: arg_pageToken,
- pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/storage/v1_test.dart b/generated/googleapis/test/storage/v1_test.dart
index c465b20..80d1afd 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);
}
-buildUnnamed884() {
+buildUnnamed891() {
var o = new core.List<api.BucketAccessControl>();
o.add(buildBucketAccessControl());
o.add(buildBucketAccessControl());
return o;
}
-checkUnnamed884(core.List<api.BucketAccessControl> o) {
+checkUnnamed891(core.List<api.BucketAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketAccessControl(o[0]);
checkBucketAccessControl(o[1]);
@@ -82,40 +82,40 @@
buildCounterBucketBilling--;
}
-buildUnnamed885() {
+buildUnnamed892() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed885(core.List<core.String> o) {
+checkUnnamed892(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed886() {
+buildUnnamed893() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed886(core.List<core.String> o) {
+checkUnnamed893(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed887() {
+buildUnnamed894() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed887(core.List<core.String> o) {
+checkUnnamed894(core.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 = buildUnnamed885();
- o.origin = buildUnnamed886();
- o.responseHeader = buildUnnamed887();
+ o.method = buildUnnamed892();
+ o.origin = buildUnnamed893();
+ o.responseHeader = buildUnnamed894();
}
buildCounterBucketCors--;
return o;
@@ -139,34 +139,34 @@
buildCounterBucketCors++;
if (buildCounterBucketCors < 3) {
unittest.expect(o.maxAgeSeconds, unittest.equals(42));
- checkUnnamed885(o.method);
- checkUnnamed886(o.origin);
- checkUnnamed887(o.responseHeader);
+ checkUnnamed892(o.method);
+ checkUnnamed893(o.origin);
+ checkUnnamed894(o.responseHeader);
}
buildCounterBucketCors--;
}
-buildUnnamed888() {
+buildUnnamed895() {
var o = new core.List<api.BucketCors>();
o.add(buildBucketCors());
o.add(buildBucketCors());
return o;
}
-checkUnnamed888(core.List<api.BucketCors> o) {
+checkUnnamed895(core.List<api.BucketCors> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketCors(o[0]);
checkBucketCors(o[1]);
}
-buildUnnamed889() {
+buildUnnamed896() {
var o = new core.List<api.ObjectAccessControl>();
o.add(buildObjectAccessControl());
o.add(buildObjectAccessControl());
return o;
}
-checkUnnamed889(core.List<api.ObjectAccessControl> o) {
+checkUnnamed896(core.List<api.ObjectAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectAccessControl(o[0]);
checkObjectAccessControl(o[1]);
@@ -191,14 +191,14 @@
buildCounterBucketEncryption--;
}
-buildUnnamed890() {
+buildUnnamed897() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed890(core.Map<core.String, core.String> o) {
+checkUnnamed897(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'));
@@ -225,14 +225,14 @@
buildCounterBucketLifecycleRuleAction--;
}
-buildUnnamed891() {
+buildUnnamed898() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed891(core.List<core.String> o) {
+checkUnnamed898(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -246,7 +246,7 @@
o.age = 42;
o.createdBefore = core.DateTime.parse("2002-02-27T14:01:02Z");
o.isLive = true;
- o.matchesStorageClass = buildUnnamed891();
+ o.matchesStorageClass = buildUnnamed898();
o.numNewerVersions = 42;
}
buildCounterBucketLifecycleRuleCondition--;
@@ -260,7 +260,7 @@
unittest.expect(o.createdBefore,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.isLive, unittest.isTrue);
- checkUnnamed891(o.matchesStorageClass);
+ checkUnnamed898(o.matchesStorageClass);
unittest.expect(o.numNewerVersions, unittest.equals(42));
}
buildCounterBucketLifecycleRuleCondition--;
@@ -287,14 +287,14 @@
buildCounterBucketLifecycleRule--;
}
-buildUnnamed892() {
+buildUnnamed899() {
var o = new core.List<api.BucketLifecycleRule>();
o.add(buildBucketLifecycleRule());
o.add(buildBucketLifecycleRule());
return o;
}
-checkUnnamed892(core.List<api.BucketLifecycleRule> o) {
+checkUnnamed899(core.List<api.BucketLifecycleRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketLifecycleRule(o[0]);
checkBucketLifecycleRule(o[1]);
@@ -305,7 +305,7 @@
var o = new api.BucketLifecycle();
buildCounterBucketLifecycle++;
if (buildCounterBucketLifecycle < 3) {
- o.rule = buildUnnamed892();
+ o.rule = buildUnnamed899();
}
buildCounterBucketLifecycle--;
return o;
@@ -314,7 +314,7 @@
checkBucketLifecycle(api.BucketLifecycle o) {
buildCounterBucketLifecycle++;
if (buildCounterBucketLifecycle < 3) {
- checkUnnamed892(o.rule);
+ checkUnnamed899(o.rule);
}
buildCounterBucketLifecycle--;
}
@@ -406,15 +406,15 @@
var o = new api.Bucket();
buildCounterBucket++;
if (buildCounterBucket < 3) {
- o.acl = buildUnnamed884();
+ o.acl = buildUnnamed891();
o.billing = buildBucketBilling();
- o.cors = buildUnnamed888();
- o.defaultObjectAcl = buildUnnamed889();
+ o.cors = buildUnnamed895();
+ o.defaultObjectAcl = buildUnnamed896();
o.encryption = buildBucketEncryption();
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed890();
+ o.labels = buildUnnamed897();
o.lifecycle = buildBucketLifecycle();
o.location = "foo";
o.logging = buildBucketLogging();
@@ -436,15 +436,15 @@
checkBucket(api.Bucket o) {
buildCounterBucket++;
if (buildCounterBucket < 3) {
- checkUnnamed884(o.acl);
+ checkUnnamed891(o.acl);
checkBucketBilling(o.billing);
- checkUnnamed888(o.cors);
- checkUnnamed889(o.defaultObjectAcl);
+ checkUnnamed895(o.cors);
+ checkUnnamed896(o.defaultObjectAcl);
checkBucketEncryption(o.encryption);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed890(o.labels);
+ checkUnnamed897(o.labels);
checkBucketLifecycle(o.lifecycle);
unittest.expect(o.location, unittest.equals('foo'));
checkBucketLogging(o.logging);
@@ -524,14 +524,14 @@
buildCounterBucketAccessControl--;
}
-buildUnnamed893() {
+buildUnnamed900() {
var o = new core.List<api.BucketAccessControl>();
o.add(buildBucketAccessControl());
o.add(buildBucketAccessControl());
return o;
}
-checkUnnamed893(core.List<api.BucketAccessControl> o) {
+checkUnnamed900(core.List<api.BucketAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketAccessControl(o[0]);
checkBucketAccessControl(o[1]);
@@ -542,7 +542,7 @@
var o = new api.BucketAccessControls();
buildCounterBucketAccessControls++;
if (buildCounterBucketAccessControls < 3) {
- o.items = buildUnnamed893();
+ o.items = buildUnnamed900();
o.kind = "foo";
}
buildCounterBucketAccessControls--;
@@ -552,20 +552,20 @@
checkBucketAccessControls(api.BucketAccessControls o) {
buildCounterBucketAccessControls++;
if (buildCounterBucketAccessControls < 3) {
- checkUnnamed893(o.items);
+ checkUnnamed900(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBucketAccessControls--;
}
-buildUnnamed894() {
+buildUnnamed901() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed894(core.List<api.Bucket> o) {
+checkUnnamed901(core.List<api.Bucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucket(o[0]);
checkBucket(o[1]);
@@ -576,7 +576,7 @@
var o = new api.Buckets();
buildCounterBuckets++;
if (buildCounterBuckets < 3) {
- o.items = buildUnnamed894();
+ o.items = buildUnnamed901();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -587,21 +587,21 @@
checkBuckets(api.Buckets o) {
buildCounterBuckets++;
if (buildCounterBuckets < 3) {
- checkUnnamed894(o.items);
+ checkUnnamed901(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterBuckets--;
}
-buildUnnamed895() {
+buildUnnamed902() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed895(core.Map<core.String, core.String> o) {
+checkUnnamed902(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'));
@@ -616,7 +616,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed895();
+ o.params = buildUnnamed902();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -634,7 +634,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed895(o.params);
+ checkUnnamed902(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -688,14 +688,14 @@
buildCounterComposeRequestSourceObjects--;
}
-buildUnnamed896() {
+buildUnnamed903() {
var o = new core.List<api.ComposeRequestSourceObjects>();
o.add(buildComposeRequestSourceObjects());
o.add(buildComposeRequestSourceObjects());
return o;
}
-checkUnnamed896(core.List<api.ComposeRequestSourceObjects> o) {
+checkUnnamed903(core.List<api.ComposeRequestSourceObjects> o) {
unittest.expect(o, unittest.hasLength(2));
checkComposeRequestSourceObjects(o[0]);
checkComposeRequestSourceObjects(o[1]);
@@ -708,7 +708,7 @@
if (buildCounterComposeRequest < 3) {
o.destination = buildObject();
o.kind = "foo";
- o.sourceObjects = buildUnnamed896();
+ o.sourceObjects = buildUnnamed903();
}
buildCounterComposeRequest--;
return o;
@@ -719,32 +719,32 @@
if (buildCounterComposeRequest < 3) {
checkObject(o.destination);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed896(o.sourceObjects);
+ checkUnnamed903(o.sourceObjects);
}
buildCounterComposeRequest--;
}
-buildUnnamed897() {
+buildUnnamed904() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed897(core.Map<core.String, core.String> o) {
+checkUnnamed904(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'));
}
-buildUnnamed898() {
+buildUnnamed905() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed898(core.List<core.String> 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'));
@@ -755,9 +755,9 @@
var o = new api.Notification();
buildCounterNotification++;
if (buildCounterNotification < 3) {
- o.customAttributes = buildUnnamed897();
+ o.customAttributes = buildUnnamed904();
o.etag = "foo";
- o.eventTypes = buildUnnamed898();
+ o.eventTypes = buildUnnamed905();
o.id = "foo";
o.kind = "foo";
o.objectNamePrefix = "foo";
@@ -772,9 +772,9 @@
checkNotification(api.Notification o) {
buildCounterNotification++;
if (buildCounterNotification < 3) {
- checkUnnamed897(o.customAttributes);
+ checkUnnamed904(o.customAttributes);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed898(o.eventTypes);
+ checkUnnamed905(o.eventTypes);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.objectNamePrefix, unittest.equals('foo'));
@@ -785,14 +785,14 @@
buildCounterNotification--;
}
-buildUnnamed899() {
+buildUnnamed906() {
var o = new core.List<api.Notification>();
o.add(buildNotification());
o.add(buildNotification());
return o;
}
-checkUnnamed899(core.List<api.Notification> o) {
+checkUnnamed906(core.List<api.Notification> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotification(o[0]);
checkNotification(o[1]);
@@ -803,7 +803,7 @@
var o = new api.Notifications();
buildCounterNotifications++;
if (buildCounterNotifications < 3) {
- o.items = buildUnnamed899();
+ o.items = buildUnnamed906();
o.kind = "foo";
}
buildCounterNotifications--;
@@ -813,20 +813,20 @@
checkNotifications(api.Notifications o) {
buildCounterNotifications++;
if (buildCounterNotifications < 3) {
- checkUnnamed899(o.items);
+ checkUnnamed906(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterNotifications--;
}
-buildUnnamed900() {
+buildUnnamed907() {
var o = new core.List<api.ObjectAccessControl>();
o.add(buildObjectAccessControl());
o.add(buildObjectAccessControl());
return o;
}
-checkUnnamed900(core.List<api.ObjectAccessControl> o) {
+checkUnnamed907(core.List<api.ObjectAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectAccessControl(o[0]);
checkObjectAccessControl(o[1]);
@@ -853,14 +853,14 @@
buildCounterObjectCustomerEncryption--;
}
-buildUnnamed901() {
+buildUnnamed908() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed901(core.Map<core.String, core.String> o) {
+checkUnnamed908(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'));
@@ -892,7 +892,7 @@
var o = new api.Object();
buildCounterObject++;
if (buildCounterObject < 3) {
- o.acl = buildUnnamed900();
+ o.acl = buildUnnamed907();
o.bucket = "foo";
o.cacheControl = "foo";
o.componentCount = 42;
@@ -909,7 +909,7 @@
o.kmsKeyName = "foo";
o.md5Hash = "foo";
o.mediaLink = "foo";
- o.metadata = buildUnnamed901();
+ o.metadata = buildUnnamed908();
o.metageneration = "foo";
o.name = "foo";
o.owner = buildObjectOwner();
@@ -928,7 +928,7 @@
checkObject(api.Object o) {
buildCounterObject++;
if (buildCounterObject < 3) {
- checkUnnamed900(o.acl);
+ checkUnnamed907(o.acl);
unittest.expect(o.bucket, unittest.equals('foo'));
unittest.expect(o.cacheControl, unittest.equals('foo'));
unittest.expect(o.componentCount, unittest.equals(42));
@@ -945,7 +945,7 @@
unittest.expect(o.kmsKeyName, unittest.equals('foo'));
unittest.expect(o.md5Hash, unittest.equals('foo'));
unittest.expect(o.mediaLink, unittest.equals('foo'));
- checkUnnamed901(o.metadata);
+ checkUnnamed908(o.metadata);
unittest.expect(o.metageneration, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkObjectOwner(o.owner);
@@ -1028,14 +1028,14 @@
buildCounterObjectAccessControl--;
}
-buildUnnamed902() {
+buildUnnamed909() {
var o = new core.List<api.ObjectAccessControl>();
o.add(buildObjectAccessControl());
o.add(buildObjectAccessControl());
return o;
}
-checkUnnamed902(core.List<api.ObjectAccessControl> o) {
+checkUnnamed909(core.List<api.ObjectAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectAccessControl(o[0]);
checkObjectAccessControl(o[1]);
@@ -1046,7 +1046,7 @@
var o = new api.ObjectAccessControls();
buildCounterObjectAccessControls++;
if (buildCounterObjectAccessControls < 3) {
- o.items = buildUnnamed902();
+ o.items = buildUnnamed909();
o.kind = "foo";
}
buildCounterObjectAccessControls--;
@@ -1056,33 +1056,33 @@
checkObjectAccessControls(api.ObjectAccessControls o) {
buildCounterObjectAccessControls++;
if (buildCounterObjectAccessControls < 3) {
- checkUnnamed902(o.items);
+ checkUnnamed909(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterObjectAccessControls--;
}
-buildUnnamed903() {
+buildUnnamed910() {
var o = new core.List<api.Object>();
o.add(buildObject());
o.add(buildObject());
return o;
}
-checkUnnamed903(core.List<api.Object> o) {
+checkUnnamed910(core.List<api.Object> o) {
unittest.expect(o, unittest.hasLength(2));
checkObject(o[0]);
checkObject(o[1]);
}
-buildUnnamed904() {
+buildUnnamed911() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed904(core.List<core.String> o) {
+checkUnnamed911(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1093,10 +1093,10 @@
var o = new api.Objects();
buildCounterObjects++;
if (buildCounterObjects < 3) {
- o.items = buildUnnamed903();
+ o.items = buildUnnamed910();
o.kind = "foo";
o.nextPageToken = "foo";
- o.prefixes = buildUnnamed904();
+ o.prefixes = buildUnnamed911();
}
buildCounterObjects--;
return o;
@@ -1105,22 +1105,22 @@
checkObjects(api.Objects o) {
buildCounterObjects++;
if (buildCounterObjects < 3) {
- checkUnnamed903(o.items);
+ checkUnnamed910(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed904(o.prefixes);
+ checkUnnamed911(o.prefixes);
}
buildCounterObjects--;
}
-buildUnnamed905() {
+buildUnnamed912() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed905(core.List<core.String> 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'));
@@ -1136,7 +1136,7 @@
'bool': true,
'string': 'foo'
};
- o.members = buildUnnamed905();
+ o.members = buildUnnamed912();
o.role = "foo";
}
buildCounterPolicyBindings--;
@@ -1151,20 +1151,20 @@
unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
unittest.expect(casted1["bool"], unittest.equals(true));
unittest.expect(casted1["string"], unittest.equals('foo'));
- checkUnnamed905(o.members);
+ checkUnnamed912(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterPolicyBindings--;
}
-buildUnnamed906() {
+buildUnnamed913() {
var o = new core.List<api.PolicyBindings>();
o.add(buildPolicyBindings());
o.add(buildPolicyBindings());
return o;
}
-checkUnnamed906(core.List<api.PolicyBindings> o) {
+checkUnnamed913(core.List<api.PolicyBindings> o) {
unittest.expect(o, unittest.hasLength(2));
checkPolicyBindings(o[0]);
checkPolicyBindings(o[1]);
@@ -1175,7 +1175,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed906();
+ o.bindings = buildUnnamed913();
o.etag = "foo";
o.kind = "foo";
o.resourceId = "foo";
@@ -1187,7 +1187,7 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed906(o.bindings);
+ checkUnnamed913(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.resourceId, unittest.equals('foo'));
@@ -1245,14 +1245,14 @@
buildCounterServiceAccount--;
}
-buildUnnamed907() {
+buildUnnamed914() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed907(core.List<core.String> o) {
+checkUnnamed914(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1264,7 +1264,7 @@
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
o.kind = "foo";
- o.permissions = buildUnnamed907();
+ o.permissions = buildUnnamed914();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1274,32 +1274,32 @@
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed907(o.permissions);
+ checkUnnamed914(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed908() {
+buildUnnamed915() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed908(core.List<core.String> o) {
+checkUnnamed915(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed909() {
+buildUnnamed916() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed909(core.List<core.String> o) {
+checkUnnamed916(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2526,7 +2526,7 @@
var mock = new HttpServerMock();
api.BucketsResourceApi res = new api.StorageApi(mock).buckets;
var arg_bucket = "foo";
- var arg_permissions = buildUnnamed908();
+ var arg_permissions = buildUnnamed915();
var arg_userProject = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -5020,7 +5020,7 @@
api.ObjectsResourceApi res = new api.StorageApi(mock).objects;
var arg_bucket = "foo";
var arg_object = "foo";
- var arg_permissions = buildUnnamed909();
+ var arg_permissions = buildUnnamed916();
var arg_generation = "foo";
var arg_userProject = "foo";
var arg_$fields = "foo";
diff --git a/generated/googleapis/test/storagetransfer/v1_test.dart b/generated/googleapis/test/storagetransfer/v1_test.dart
index c2d9086..f93fe1d 100644
--- a/generated/googleapis/test/storagetransfer/v1_test.dart
+++ b/generated/googleapis/test/storagetransfer/v1_test.dart
@@ -130,14 +130,14 @@
buildCounterEmpty--;
}
-buildUnnamed1441() {
+buildUnnamed1450() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1441(core.List<core.String> o) {
+checkUnnamed1450(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -148,7 +148,7 @@
var o = new api.ErrorLogEntry();
buildCounterErrorLogEntry++;
if (buildCounterErrorLogEntry < 3) {
- o.errorDetails = buildUnnamed1441();
+ o.errorDetails = buildUnnamed1450();
o.url = "foo";
}
buildCounterErrorLogEntry--;
@@ -158,20 +158,20 @@
checkErrorLogEntry(api.ErrorLogEntry o) {
buildCounterErrorLogEntry++;
if (buildCounterErrorLogEntry < 3) {
- checkUnnamed1441(o.errorDetails);
+ checkUnnamed1450(o.errorDetails);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterErrorLogEntry--;
}
-buildUnnamed1442() {
+buildUnnamed1451() {
var o = new core.List<api.ErrorLogEntry>();
o.add(buildErrorLogEntry());
o.add(buildErrorLogEntry());
return o;
}
-checkUnnamed1442(core.List<api.ErrorLogEntry> o) {
+checkUnnamed1451(core.List<api.ErrorLogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorLogEntry(o[0]);
checkErrorLogEntry(o[1]);
@@ -184,7 +184,7 @@
if (buildCounterErrorSummary < 3) {
o.errorCode = "foo";
o.errorCount = "foo";
- o.errorLogEntries = buildUnnamed1442();
+ o.errorLogEntries = buildUnnamed1451();
}
buildCounterErrorSummary--;
return o;
@@ -195,7 +195,7 @@
if (buildCounterErrorSummary < 3) {
unittest.expect(o.errorCode, unittest.equals('foo'));
unittest.expect(o.errorCount, unittest.equals('foo'));
- checkUnnamed1442(o.errorLogEntries);
+ checkUnnamed1451(o.errorLogEntries);
}
buildCounterErrorSummary--;
}
@@ -257,14 +257,14 @@
buildCounterHttpData--;
}
-buildUnnamed1443() {
+buildUnnamed1452() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1443(core.List<api.Operation> o) {
+checkUnnamed1452(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -276,7 +276,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1443();
+ o.operations = buildUnnamed1452();
}
buildCounterListOperationsResponse--;
return o;
@@ -286,19 +286,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1443(o.operations);
+ checkUnnamed1452(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1444() {
+buildUnnamed1453() {
var o = new core.List<api.TransferJob>();
o.add(buildTransferJob());
o.add(buildTransferJob());
return o;
}
-checkUnnamed1444(core.List<api.TransferJob> o) {
+checkUnnamed1453(core.List<api.TransferJob> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransferJob(o[0]);
checkTransferJob(o[1]);
@@ -310,7 +310,7 @@
buildCounterListTransferJobsResponse++;
if (buildCounterListTransferJobsResponse < 3) {
o.nextPageToken = "foo";
- o.transferJobs = buildUnnamed1444();
+ o.transferJobs = buildUnnamed1453();
}
buildCounterListTransferJobsResponse--;
return o;
@@ -320,32 +320,32 @@
buildCounterListTransferJobsResponse++;
if (buildCounterListTransferJobsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1444(o.transferJobs);
+ checkUnnamed1453(o.transferJobs);
}
buildCounterListTransferJobsResponse--;
}
-buildUnnamed1445() {
+buildUnnamed1454() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1445(core.List<core.String> 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'));
}
-buildUnnamed1446() {
+buildUnnamed1455() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1446(core.List<core.String> o) {
+checkUnnamed1455(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -356,8 +356,8 @@
var o = new api.ObjectConditions();
buildCounterObjectConditions++;
if (buildCounterObjectConditions < 3) {
- o.excludePrefixes = buildUnnamed1445();
- o.includePrefixes = buildUnnamed1446();
+ o.excludePrefixes = buildUnnamed1454();
+ o.includePrefixes = buildUnnamed1455();
o.maxTimeElapsedSinceLastModification = "foo";
o.minTimeElapsedSinceLastModification = "foo";
}
@@ -368,8 +368,8 @@
checkObjectConditions(api.ObjectConditions o) {
buildCounterObjectConditions++;
if (buildCounterObjectConditions < 3) {
- checkUnnamed1445(o.excludePrefixes);
- checkUnnamed1446(o.includePrefixes);
+ checkUnnamed1454(o.excludePrefixes);
+ checkUnnamed1455(o.includePrefixes);
unittest.expect(
o.maxTimeElapsedSinceLastModification, unittest.equals('foo'));
unittest.expect(
@@ -378,7 +378,7 @@
buildCounterObjectConditions--;
}
-buildUnnamed1447() {
+buildUnnamed1456() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -393,7 +393,7 @@
return o;
}
-checkUnnamed1447(core.Map<core.String, core.Object> o) {
+checkUnnamed1456(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));
@@ -407,7 +407,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1448() {
+buildUnnamed1457() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -422,7 +422,7 @@
return o;
}
-checkUnnamed1448(core.Map<core.String, core.Object> o) {
+checkUnnamed1457(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));
@@ -443,9 +443,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1447();
+ o.metadata = buildUnnamed1456();
o.name = "foo";
- o.response = buildUnnamed1448();
+ o.response = buildUnnamed1457();
}
buildCounterOperation--;
return o;
@@ -456,9 +456,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1447(o.metadata);
+ checkUnnamed1456(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1448(o.response);
+ checkUnnamed1457(o.response);
}
buildCounterOperation--;
}
@@ -516,7 +516,7 @@
buildCounterSchedule--;
}
-buildUnnamed1449() {
+buildUnnamed1458() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -531,7 +531,7 @@
return o;
}
-checkUnnamed1449(core.Map<core.String, core.Object> o) {
+checkUnnamed1458(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));
@@ -545,17 +545,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed1450() {
+buildUnnamed1459() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1449());
- o.add(buildUnnamed1449());
+ o.add(buildUnnamed1458());
+ o.add(buildUnnamed1458());
return o;
}
-checkUnnamed1450(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1459(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1449(o[0]);
- checkUnnamed1449(o[1]);
+ checkUnnamed1458(o[0]);
+ checkUnnamed1458(o[1]);
}
core.int buildCounterStatus = 0;
@@ -564,7 +564,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1450();
+ o.details = buildUnnamed1459();
o.message = "foo";
}
buildCounterStatus--;
@@ -575,7 +575,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1450(o.details);
+ checkUnnamed1459(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -690,14 +690,14 @@
buildCounterTransferJob--;
}
-buildUnnamed1451() {
+buildUnnamed1460() {
var o = new core.List<api.ErrorSummary>();
o.add(buildErrorSummary());
o.add(buildErrorSummary());
return o;
}
-checkUnnamed1451(core.List<api.ErrorSummary> o) {
+checkUnnamed1460(core.List<api.ErrorSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorSummary(o[0]);
checkErrorSummary(o[1]);
@@ -710,7 +710,7 @@
if (buildCounterTransferOperation < 3) {
o.counters = buildTransferCounters();
o.endTime = "foo";
- o.errorBreakdowns = buildUnnamed1451();
+ o.errorBreakdowns = buildUnnamed1460();
o.name = "foo";
o.projectId = "foo";
o.startTime = "foo";
@@ -727,7 +727,7 @@
if (buildCounterTransferOperation < 3) {
checkTransferCounters(o.counters);
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed1451(o.errorBreakdowns);
+ checkUnnamed1460(o.errorBreakdowns);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
@@ -1176,9 +1176,9 @@
var mock = new HttpServerMock();
api.TransferJobsResourceApi res =
new api.StoragetransferApi(mock).transferJobs;
- 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;
@@ -1210,11 +1210,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 = {
@@ -1225,9 +1225,9 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListTransferJobsResponse response) {
checkListTransferJobsResponse(response);
diff --git a/generated/googleapis/test/streetviewpublish/v1_test.dart b/generated/googleapis/test/streetviewpublish/v1_test.dart
index 850a153..306e7c0 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);
}
-buildUnnamed3493() {
+buildUnnamed3585() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3493(core.List<core.String> o) {
+checkUnnamed3585(core.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 = buildUnnamed3493();
+ o.photoIds = buildUnnamed3585();
}
buildCounterBatchDeletePhotosRequest--;
return o;
@@ -77,19 +77,19 @@
checkBatchDeletePhotosRequest(api.BatchDeletePhotosRequest o) {
buildCounterBatchDeletePhotosRequest++;
if (buildCounterBatchDeletePhotosRequest < 3) {
- checkUnnamed3493(o.photoIds);
+ checkUnnamed3585(o.photoIds);
}
buildCounterBatchDeletePhotosRequest--;
}
-buildUnnamed3494() {
+buildUnnamed3586() {
var o = new core.List<api.Status>();
o.add(buildStatus());
o.add(buildStatus());
return o;
}
-checkUnnamed3494(core.List<api.Status> o) {
+checkUnnamed3586(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 = buildUnnamed3494();
+ o.status = buildUnnamed3586();
}
buildCounterBatchDeletePhotosResponse--;
return o;
@@ -109,19 +109,19 @@
checkBatchDeletePhotosResponse(api.BatchDeletePhotosResponse o) {
buildCounterBatchDeletePhotosResponse++;
if (buildCounterBatchDeletePhotosResponse < 3) {
- checkUnnamed3494(o.status);
+ checkUnnamed3586(o.status);
}
buildCounterBatchDeletePhotosResponse--;
}
-buildUnnamed3495() {
+buildUnnamed3587() {
var o = new core.List<api.PhotoResponse>();
o.add(buildPhotoResponse());
o.add(buildPhotoResponse());
return o;
}
-checkUnnamed3495(core.List<api.PhotoResponse> o) {
+checkUnnamed3587(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 = buildUnnamed3495();
+ o.results = buildUnnamed3587();
}
buildCounterBatchGetPhotosResponse--;
return o;
@@ -141,19 +141,19 @@
checkBatchGetPhotosResponse(api.BatchGetPhotosResponse o) {
buildCounterBatchGetPhotosResponse++;
if (buildCounterBatchGetPhotosResponse < 3) {
- checkUnnamed3495(o.results);
+ checkUnnamed3587(o.results);
}
buildCounterBatchGetPhotosResponse--;
}
-buildUnnamed3496() {
+buildUnnamed3588() {
var o = new core.List<api.UpdatePhotoRequest>();
o.add(buildUpdatePhotoRequest());
o.add(buildUpdatePhotoRequest());
return o;
}
-checkUnnamed3496(core.List<api.UpdatePhotoRequest> o) {
+checkUnnamed3588(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 = buildUnnamed3496();
+ o.updatePhotoRequests = buildUnnamed3588();
}
buildCounterBatchUpdatePhotosRequest--;
return o;
@@ -173,19 +173,19 @@
checkBatchUpdatePhotosRequest(api.BatchUpdatePhotosRequest o) {
buildCounterBatchUpdatePhotosRequest++;
if (buildCounterBatchUpdatePhotosRequest < 3) {
- checkUnnamed3496(o.updatePhotoRequests);
+ checkUnnamed3588(o.updatePhotoRequests);
}
buildCounterBatchUpdatePhotosRequest--;
}
-buildUnnamed3497() {
+buildUnnamed3589() {
var o = new core.List<api.PhotoResponse>();
o.add(buildPhotoResponse());
o.add(buildPhotoResponse());
return o;
}
-checkUnnamed3497(core.List<api.PhotoResponse> o) {
+checkUnnamed3589(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 = buildUnnamed3497();
+ o.results = buildUnnamed3589();
}
buildCounterBatchUpdatePhotosResponse--;
return o;
@@ -205,7 +205,7 @@
checkBatchUpdatePhotosResponse(api.BatchUpdatePhotosResponse o) {
buildCounterBatchUpdatePhotosResponse++;
if (buildCounterBatchUpdatePhotosResponse < 3) {
- checkUnnamed3497(o.results);
+ checkUnnamed3589(o.results);
}
buildCounterBatchUpdatePhotosResponse--;
}
@@ -286,14 +286,14 @@
buildCounterLevel--;
}
-buildUnnamed3498() {
+buildUnnamed3590() {
var o = new core.List<api.Photo>();
o.add(buildPhoto());
o.add(buildPhoto());
return o;
}
-checkUnnamed3498(core.List<api.Photo> o) {
+checkUnnamed3590(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 = buildUnnamed3498();
+ o.photos = buildUnnamed3590();
}
buildCounterListPhotosResponse--;
return o;
@@ -315,12 +315,12 @@
buildCounterListPhotosResponse++;
if (buildCounterListPhotosResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3498(o.photos);
+ checkUnnamed3590(o.photos);
}
buildCounterListPhotosResponse--;
}
-buildUnnamed3499() {
+buildUnnamed3591() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -335,7 +335,7 @@
return o;
}
-checkUnnamed3499(core.Map<core.String, core.Object> o) {
+checkUnnamed3591(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,7 +349,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed3500() {
+buildUnnamed3592() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -364,7 +364,7 @@
return o;
}
-checkUnnamed3500(core.Map<core.String, core.Object> o) {
+checkUnnamed3592(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));
@@ -385,9 +385,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3499();
+ o.metadata = buildUnnamed3591();
o.name = "foo";
- o.response = buildUnnamed3500();
+ o.response = buildUnnamed3592();
}
buildCounterOperation--;
return o;
@@ -398,34 +398,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3499(o.metadata);
+ checkUnnamed3591(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3500(o.response);
+ checkUnnamed3592(o.response);
}
buildCounterOperation--;
}
-buildUnnamed3501() {
+buildUnnamed3593() {
var o = new core.List<api.Connection>();
o.add(buildConnection());
o.add(buildConnection());
return o;
}
-checkUnnamed3501(core.List<api.Connection> o) {
+checkUnnamed3593(core.List<api.Connection> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnection(o[0]);
checkConnection(o[1]);
}
-buildUnnamed3502() {
+buildUnnamed3594() {
var o = new core.List<api.Place>();
o.add(buildPlace());
o.add(buildPlace());
return o;
}
-checkUnnamed3502(core.List<api.Place> o) {
+checkUnnamed3594(core.List<api.Place> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlace(o[0]);
checkPlace(o[1]);
@@ -437,10 +437,10 @@
buildCounterPhoto++;
if (buildCounterPhoto < 3) {
o.captureTime = "foo";
- o.connections = buildUnnamed3501();
+ o.connections = buildUnnamed3593();
o.downloadUrl = "foo";
o.photoId = buildPhotoId();
- o.places = buildUnnamed3502();
+ o.places = buildUnnamed3594();
o.pose = buildPose();
o.shareLink = "foo";
o.thumbnailUrl = "foo";
@@ -455,10 +455,10 @@
buildCounterPhoto++;
if (buildCounterPhoto < 3) {
unittest.expect(o.captureTime, unittest.equals('foo'));
- checkUnnamed3501(o.connections);
+ checkUnnamed3593(o.connections);
unittest.expect(o.downloadUrl, unittest.equals('foo'));
checkPhotoId(o.photoId);
- checkUnnamed3502(o.places);
+ checkUnnamed3594(o.places);
checkPose(o.pose);
unittest.expect(o.shareLink, unittest.equals('foo'));
unittest.expect(o.thumbnailUrl, unittest.equals('foo'));
@@ -556,7 +556,7 @@
buildCounterPose--;
}
-buildUnnamed3503() {
+buildUnnamed3595() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -571,7 +571,7 @@
return o;
}
-checkUnnamed3503(core.Map<core.String, core.Object> o) {
+checkUnnamed3595(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));
@@ -585,17 +585,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed3504() {
+buildUnnamed3596() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3503());
- o.add(buildUnnamed3503());
+ o.add(buildUnnamed3595());
+ o.add(buildUnnamed3595());
return o;
}
-checkUnnamed3504(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3596(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3503(o[0]);
- checkUnnamed3503(o[1]);
+ checkUnnamed3595(o[0]);
+ checkUnnamed3595(o[1]);
}
core.int buildCounterStatus = 0;
@@ -604,7 +604,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3504();
+ o.details = buildUnnamed3596();
o.message = "foo";
}
buildCounterStatus--;
@@ -615,7 +615,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3504(o.details);
+ checkUnnamed3596(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -661,14 +661,14 @@
buildCounterUploadRef--;
}
-buildUnnamed3505() {
+buildUnnamed3597() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3505(core.List<core.String> o) {
+checkUnnamed3597(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1160,8 +1160,8 @@
unittest.test("method--batchGet", () {
var mock = new HttpServerMock();
api.PhotosResourceApi res = new api.StreetviewpublishApi(mock).photos;
- var arg_photoIds = buildUnnamed3505();
var arg_view = "foo";
+ var arg_photoIds = buildUnnamed3597();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1193,8 +1193,8 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["photoIds"], unittest.equals(arg_photoIds));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
+ unittest.expect(queryMap["photoIds"], unittest.equals(arg_photoIds));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1205,7 +1205,7 @@
}), true);
res
.batchGet(
- photoIds: arg_photoIds, view: arg_view, $fields: arg_$fields)
+ view: arg_view, photoIds: arg_photoIds, $fields: arg_$fields)
.then(unittest.expectAsync1(((api.BatchGetPhotosResponse response) {
checkBatchGetPhotosResponse(response);
})));
@@ -1266,10 +1266,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.PhotosResourceApi res = new api.StreetviewpublishApi(mock).photos;
+ var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_view = "foo";
- var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1301,12 +1301,12 @@
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["view"].first, unittest.equals(arg_view));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1317,10 +1317,10 @@
}), true);
res
.list(
+ filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
view: arg_view,
- filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListPhotosResponse response) {
checkListPhotosResponse(response);
diff --git a/generated/googleapis/test/surveys/v2_test.dart b/generated/googleapis/test/surveys/v2_test.dart
index 15947e2..889cf07 100644
--- a/generated/googleapis/test/surveys/v2_test.dart
+++ b/generated/googleapis/test/surveys/v2_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2279() {
+buildUnnamed2298() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed2279(core.List<api.FieldMask> o) {
+checkUnnamed2298(core.List<api.FieldMask> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldMask(o[0]);
checkFieldMask(o[1]);
@@ -68,7 +68,7 @@
var o = new api.FieldMask();
buildCounterFieldMask++;
if (buildCounterFieldMask < 3) {
- o.fields = buildUnnamed2279();
+ o.fields = buildUnnamed2298();
o.id = 42;
}
buildCounterFieldMask--;
@@ -78,20 +78,20 @@
checkFieldMask(api.FieldMask o) {
buildCounterFieldMask++;
if (buildCounterFieldMask < 3) {
- checkUnnamed2279(o.fields);
+ checkUnnamed2298(o.fields);
unittest.expect(o.id, unittest.equals(42));
}
buildCounterFieldMask--;
}
-buildUnnamed2280() {
+buildUnnamed2299() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2280(core.List<core.String> o) {
+checkUnnamed2299(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -107,7 +107,7 @@
o.language = "foo";
o.mobileAppPanelId = "foo";
o.name = "foo";
- o.owners = buildUnnamed2280();
+ o.owners = buildUnnamed2299();
}
buildCounterMobileAppPanel--;
return o;
@@ -121,19 +121,19 @@
unittest.expect(o.language, unittest.equals('foo'));
unittest.expect(o.mobileAppPanelId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2280(o.owners);
+ checkUnnamed2299(o.owners);
}
buildCounterMobileAppPanel--;
}
-buildUnnamed2281() {
+buildUnnamed2300() {
var o = new core.List<api.MobileAppPanel>();
o.add(buildMobileAppPanel());
o.add(buildMobileAppPanel());
return o;
}
-checkUnnamed2281(core.List<api.MobileAppPanel> o) {
+checkUnnamed2300(core.List<api.MobileAppPanel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileAppPanel(o[0]);
checkMobileAppPanel(o[1]);
@@ -146,7 +146,7 @@
if (buildCounterMobileAppPanelsListResponse < 3) {
o.pageInfo = buildPageInfo();
o.requestId = "foo";
- o.resources = buildUnnamed2281();
+ o.resources = buildUnnamed2300();
o.tokenPagination = buildTokenPagination();
}
buildCounterMobileAppPanelsListResponse--;
@@ -158,7 +158,7 @@
if (buildCounterMobileAppPanelsListResponse < 3) {
checkPageInfo(o.pageInfo);
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed2281(o.resources);
+ checkUnnamed2300(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterMobileAppPanelsListResponse--;
@@ -206,14 +206,14 @@
buildCounterResultsGetRequest--;
}
-buildUnnamed2282() {
+buildUnnamed2301() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed2282(core.List<api.FieldMask> o) {
+checkUnnamed2301(core.List<api.FieldMask> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldMask(o[0]);
checkFieldMask(o[1]);
@@ -224,7 +224,7 @@
var o = new api.ResultsMask();
buildCounterResultsMask++;
if (buildCounterResultsMask < 3) {
- o.fields = buildUnnamed2282();
+ o.fields = buildUnnamed2301();
o.projection = "foo";
}
buildCounterResultsMask--;
@@ -234,33 +234,33 @@
checkResultsMask(api.ResultsMask o) {
buildCounterResultsMask++;
if (buildCounterResultsMask < 3) {
- checkUnnamed2282(o.fields);
+ checkUnnamed2301(o.fields);
unittest.expect(o.projection, unittest.equals('foo'));
}
buildCounterResultsMask--;
}
-buildUnnamed2283() {
+buildUnnamed2302() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2283(core.List<core.String> 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'));
}
-buildUnnamed2284() {
+buildUnnamed2303() {
var o = new core.List<api.SurveyQuestion>();
o.add(buildSurveyQuestion());
o.add(buildSurveyQuestion());
return o;
}
-checkUnnamed2284(core.List<api.SurveyQuestion> o) {
+checkUnnamed2303(core.List<api.SurveyQuestion> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurveyQuestion(o[0]);
checkSurveyQuestion(o[1]);
@@ -275,8 +275,8 @@
o.cost = buildSurveyCost();
o.customerData = "foo";
o.description = "foo";
- o.owners = buildUnnamed2283();
- o.questions = buildUnnamed2284();
+ o.owners = buildUnnamed2302();
+ o.questions = buildUnnamed2303();
o.rejectionReason = buildSurveyRejection();
o.state = "foo";
o.surveyUrlId = "foo";
@@ -294,8 +294,8 @@
checkSurveyCost(o.cost);
unittest.expect(o.customerData, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2283(o.owners);
- checkUnnamed2284(o.questions);
+ checkUnnamed2302(o.owners);
+ checkUnnamed2303(o.questions);
checkSurveyRejection(o.rejectionReason);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.surveyUrlId, unittest.equals('foo'));
@@ -305,27 +305,27 @@
buildCounterSurvey--;
}
-buildUnnamed2285() {
+buildUnnamed2304() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2285(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'));
}
-buildUnnamed2286() {
+buildUnnamed2305() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2286(core.List<core.String> o) {
+checkUnnamed2305(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -336,11 +336,11 @@
var o = new api.SurveyAudience();
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- o.ages = buildUnnamed2285();
+ o.ages = buildUnnamed2304();
o.country = "foo";
o.countrySubdivision = "foo";
o.gender = "foo";
- o.languages = buildUnnamed2286();
+ o.languages = buildUnnamed2305();
o.mobileAppPanelId = "foo";
o.populationSource = "foo";
}
@@ -351,11 +351,11 @@
checkSurveyAudience(api.SurveyAudience o) {
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- checkUnnamed2285(o.ages);
+ checkUnnamed2304(o.ages);
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.countrySubdivision, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
- checkUnnamed2286(o.languages);
+ checkUnnamed2305(o.languages);
unittest.expect(o.mobileAppPanelId, unittest.equals('foo'));
unittest.expect(o.populationSource, unittest.equals('foo'));
}
@@ -387,53 +387,53 @@
buildCounterSurveyCost--;
}
-buildUnnamed2287() {
+buildUnnamed2306() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2287(core.List<core.String> o) {
+checkUnnamed2306(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2288() {
+buildUnnamed2307() {
var o = new core.List<api.SurveyQuestionImage>();
o.add(buildSurveyQuestionImage());
o.add(buildSurveyQuestionImage());
return o;
}
-checkUnnamed2288(core.List<api.SurveyQuestionImage> o) {
+checkUnnamed2307(core.List<api.SurveyQuestionImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurveyQuestionImage(o[0]);
checkSurveyQuestionImage(o[1]);
}
-buildUnnamed2289() {
+buildUnnamed2308() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2289(core.List<core.String> o) {
+checkUnnamed2308(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2290() {
+buildUnnamed2309() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2290(core.List<core.String> o) {
+checkUnnamed2309(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -445,20 +445,20 @@
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
o.answerOrder = "foo";
- o.answers = buildUnnamed2287();
+ o.answers = buildUnnamed2306();
o.hasOther = true;
o.highValueLabel = "foo";
- o.images = buildUnnamed2288();
+ o.images = buildUnnamed2307();
o.lastAnswerPositionPinned = true;
o.lowValueLabel = "foo";
o.mustPickSuggestion = true;
o.numStars = "foo";
o.openTextPlaceholder = "foo";
- o.openTextSuggestions = buildUnnamed2289();
+ o.openTextSuggestions = buildUnnamed2308();
o.question = "foo";
o.sentimentText = "foo";
o.singleLineResponse = true;
- o.thresholdAnswers = buildUnnamed2290();
+ o.thresholdAnswers = buildUnnamed2309();
o.type = "foo";
o.unitOfMeasurementLabel = "foo";
o.videoId = "foo";
@@ -471,20 +471,20 @@
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
unittest.expect(o.answerOrder, unittest.equals('foo'));
- checkUnnamed2287(o.answers);
+ checkUnnamed2306(o.answers);
unittest.expect(o.hasOther, unittest.isTrue);
unittest.expect(o.highValueLabel, unittest.equals('foo'));
- checkUnnamed2288(o.images);
+ checkUnnamed2307(o.images);
unittest.expect(o.lastAnswerPositionPinned, unittest.isTrue);
unittest.expect(o.lowValueLabel, unittest.equals('foo'));
unittest.expect(o.mustPickSuggestion, unittest.isTrue);
unittest.expect(o.numStars, unittest.equals('foo'));
unittest.expect(o.openTextPlaceholder, unittest.equals('foo'));
- checkUnnamed2289(o.openTextSuggestions);
+ checkUnnamed2308(o.openTextSuggestions);
unittest.expect(o.question, unittest.equals('foo'));
unittest.expect(o.sentimentText, unittest.equals('foo'));
unittest.expect(o.singleLineResponse, unittest.isTrue);
- checkUnnamed2290(o.thresholdAnswers);
+ checkUnnamed2309(o.thresholdAnswers);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.unitOfMeasurementLabel, unittest.equals('foo'));
unittest.expect(o.videoId, unittest.equals('foo'));
@@ -576,14 +576,14 @@
buildCounterSurveysDeleteResponse--;
}
-buildUnnamed2291() {
+buildUnnamed2310() {
var o = new core.List<api.Survey>();
o.add(buildSurvey());
o.add(buildSurvey());
return o;
}
-checkUnnamed2291(core.List<api.Survey> o) {
+checkUnnamed2310(core.List<api.Survey> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurvey(o[0]);
checkSurvey(o[1]);
@@ -596,7 +596,7 @@
if (buildCounterSurveysListResponse < 3) {
o.pageInfo = buildPageInfo();
o.requestId = "foo";
- o.resources = buildUnnamed2291();
+ o.resources = buildUnnamed2310();
o.tokenPagination = buildTokenPagination();
}
buildCounterSurveysListResponse--;
@@ -608,7 +608,7 @@
if (buildCounterSurveysListResponse < 3) {
checkPageInfo(o.pageInfo);
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed2291(o.resources);
+ checkUnnamed2310(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterSurveysListResponse--;
diff --git a/generated/googleapis/test/tagmanager/v1_test.dart b/generated/googleapis/test/tagmanager/v1_test.dart
index 8a94ee0..78ffce7 100644
--- a/generated/googleapis/test/tagmanager/v1_test.dart
+++ b/generated/googleapis/test/tagmanager/v1_test.dart
@@ -75,14 +75,14 @@
buildCounterAccount--;
}
-buildUnnamed1688() {
+buildUnnamed1702() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1688(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'));
@@ -93,7 +93,7 @@
var o = new api.AccountAccess();
buildCounterAccountAccess++;
if (buildCounterAccountAccess < 3) {
- o.permission = buildUnnamed1688();
+ o.permission = buildUnnamed1702();
}
buildCounterAccountAccess--;
return o;
@@ -102,19 +102,19 @@
checkAccountAccess(api.AccountAccess o) {
buildCounterAccountAccess++;
if (buildCounterAccountAccess < 3) {
- checkUnnamed1688(o.permission);
+ checkUnnamed1702(o.permission);
}
buildCounterAccountAccess--;
}
-buildUnnamed1689() {
+buildUnnamed1703() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1689(core.List<api.Parameter> o) {
+checkUnnamed1703(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 = buildUnnamed1689();
+ o.parameter = buildUnnamed1703();
o.type = "foo";
}
buildCounterCondition--;
@@ -135,46 +135,46 @@
checkCondition(api.Condition o) {
buildCounterCondition++;
if (buildCounterCondition < 3) {
- checkUnnamed1689(o.parameter);
+ checkUnnamed1703(o.parameter);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterCondition--;
}
-buildUnnamed1690() {
+buildUnnamed1704() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1690(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'));
}
-buildUnnamed1691() {
+buildUnnamed1705() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1691(core.List<core.String> o) {
+checkUnnamed1705(core.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() {
+buildUnnamed1706() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1692(core.List<core.String> o) {
+checkUnnamed1706(core.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 = buildUnnamed1690();
- o.enabledBuiltInVariable = buildUnnamed1691();
+ o.domainName = buildUnnamed1704();
+ o.enabledBuiltInVariable = buildUnnamed1705();
o.fingerprint = "foo";
o.name = "foo";
o.notes = "foo";
o.publicId = "foo";
o.timeZoneCountryId = "foo";
o.timeZoneId = "foo";
- o.usageContext = buildUnnamed1692();
+ o.usageContext = buildUnnamed1706();
}
buildCounterContainer--;
return o;
@@ -206,27 +206,27 @@
if (buildCounterContainer < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1690(o.domainName);
- checkUnnamed1691(o.enabledBuiltInVariable);
+ checkUnnamed1704(o.domainName);
+ checkUnnamed1705(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'));
- checkUnnamed1692(o.usageContext);
+ checkUnnamed1706(o.usageContext);
}
buildCounterContainer--;
}
-buildUnnamed1693() {
+buildUnnamed1707() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1693(core.List<core.String> o) {
+checkUnnamed1707(core.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 = buildUnnamed1693();
+ o.permission = buildUnnamed1707();
}
buildCounterContainerAccess--;
return o;
@@ -248,84 +248,84 @@
buildCounterContainerAccess++;
if (buildCounterContainerAccess < 3) {
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1693(o.permission);
+ checkUnnamed1707(o.permission);
}
buildCounterContainerAccess--;
}
-buildUnnamed1694() {
+buildUnnamed1708() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed1694(core.List<api.Folder> o) {
+checkUnnamed1708(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
}
-buildUnnamed1695() {
+buildUnnamed1709() {
var o = new core.List<api.Macro>();
o.add(buildMacro());
o.add(buildMacro());
return o;
}
-checkUnnamed1695(core.List<api.Macro> o) {
+checkUnnamed1709(core.List<api.Macro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMacro(o[0]);
checkMacro(o[1]);
}
-buildUnnamed1696() {
+buildUnnamed1710() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed1696(core.List<api.Rule> o) {
+checkUnnamed1710(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
}
-buildUnnamed1697() {
+buildUnnamed1711() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed1697(core.List<api.Tag> o) {
+checkUnnamed1711(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
}
-buildUnnamed1698() {
+buildUnnamed1712() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed1698(core.List<api.Trigger> o) {
+checkUnnamed1712(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
}
-buildUnnamed1699() {
+buildUnnamed1713() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed1699(core.List<api.Variable> o) {
+checkUnnamed1713(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 = buildUnnamed1694();
- o.macro = buildUnnamed1695();
+ o.folder = buildUnnamed1708();
+ o.macro = buildUnnamed1709();
o.name = "foo";
o.notes = "foo";
- o.rule = buildUnnamed1696();
- o.tag = buildUnnamed1697();
- o.trigger = buildUnnamed1698();
- o.variable = buildUnnamed1699();
+ o.rule = buildUnnamed1710();
+ o.tag = buildUnnamed1711();
+ o.trigger = buildUnnamed1712();
+ o.variable = buildUnnamed1713();
}
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'));
- checkUnnamed1694(o.folder);
- checkUnnamed1695(o.macro);
+ checkUnnamed1708(o.folder);
+ checkUnnamed1709(o.macro);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1696(o.rule);
- checkUnnamed1697(o.tag);
- checkUnnamed1698(o.trigger);
- checkUnnamed1699(o.variable);
+ checkUnnamed1710(o.rule);
+ checkUnnamed1711(o.tag);
+ checkUnnamed1712(o.trigger);
+ checkUnnamed1713(o.variable);
}
buildCounterContainerVersion--;
}
@@ -526,40 +526,40 @@
buildCounterFolder--;
}
-buildUnnamed1700() {
+buildUnnamed1714() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed1700(core.List<api.Tag> o) {
+checkUnnamed1714(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
}
-buildUnnamed1701() {
+buildUnnamed1715() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed1701(core.List<api.Trigger> o) {
+checkUnnamed1715(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
}
-buildUnnamed1702() {
+buildUnnamed1716() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed1702(core.List<api.Variable> o) {
+checkUnnamed1716(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 = buildUnnamed1700();
- o.trigger = buildUnnamed1701();
- o.variable = buildUnnamed1702();
+ o.tag = buildUnnamed1714();
+ o.trigger = buildUnnamed1715();
+ o.variable = buildUnnamed1716();
}
buildCounterFolderEntities--;
return o;
@@ -581,21 +581,21 @@
checkFolderEntities(api.FolderEntities o) {
buildCounterFolderEntities++;
if (buildCounterFolderEntities < 3) {
- checkUnnamed1700(o.tag);
- checkUnnamed1701(o.trigger);
- checkUnnamed1702(o.variable);
+ checkUnnamed1714(o.tag);
+ checkUnnamed1715(o.trigger);
+ checkUnnamed1716(o.variable);
}
buildCounterFolderEntities--;
}
-buildUnnamed1703() {
+buildUnnamed1717() {
var o = new core.List<api.UserAccess>();
o.add(buildUserAccess());
o.add(buildUserAccess());
return o;
}
-checkUnnamed1703(core.List<api.UserAccess> o) {
+checkUnnamed1717(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 = buildUnnamed1703();
+ o.userAccess = buildUnnamed1717();
}
buildCounterListAccountUsersResponse--;
return o;
@@ -615,19 +615,19 @@
checkListAccountUsersResponse(api.ListAccountUsersResponse o) {
buildCounterListAccountUsersResponse++;
if (buildCounterListAccountUsersResponse < 3) {
- checkUnnamed1703(o.userAccess);
+ checkUnnamed1717(o.userAccess);
}
buildCounterListAccountUsersResponse--;
}
-buildUnnamed1704() {
+buildUnnamed1718() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1704(core.List<api.Account> o) {
+checkUnnamed1718(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 = buildUnnamed1704();
+ o.accounts = buildUnnamed1718();
}
buildCounterListAccountsResponse--;
return o;
@@ -647,32 +647,32 @@
checkListAccountsResponse(api.ListAccountsResponse o) {
buildCounterListAccountsResponse++;
if (buildCounterListAccountsResponse < 3) {
- checkUnnamed1704(o.accounts);
+ checkUnnamed1718(o.accounts);
}
buildCounterListAccountsResponse--;
}
-buildUnnamed1705() {
+buildUnnamed1719() {
var o = new core.List<api.ContainerVersion>();
o.add(buildContainerVersion());
o.add(buildContainerVersion());
return o;
}
-checkUnnamed1705(core.List<api.ContainerVersion> o) {
+checkUnnamed1719(core.List<api.ContainerVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerVersion(o[0]);
checkContainerVersion(o[1]);
}
-buildUnnamed1706() {
+buildUnnamed1720() {
var o = new core.List<api.ContainerVersionHeader>();
o.add(buildContainerVersionHeader());
o.add(buildContainerVersionHeader());
return o;
}
-checkUnnamed1706(core.List<api.ContainerVersionHeader> o) {
+checkUnnamed1720(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 = buildUnnamed1705();
- o.containerVersionHeader = buildUnnamed1706();
+ o.containerVersion = buildUnnamed1719();
+ o.containerVersionHeader = buildUnnamed1720();
}
buildCounterListContainerVersionsResponse--;
return o;
@@ -693,20 +693,20 @@
checkListContainerVersionsResponse(api.ListContainerVersionsResponse o) {
buildCounterListContainerVersionsResponse++;
if (buildCounterListContainerVersionsResponse < 3) {
- checkUnnamed1705(o.containerVersion);
- checkUnnamed1706(o.containerVersionHeader);
+ checkUnnamed1719(o.containerVersion);
+ checkUnnamed1720(o.containerVersionHeader);
}
buildCounterListContainerVersionsResponse--;
}
-buildUnnamed1707() {
+buildUnnamed1721() {
var o = new core.List<api.Container>();
o.add(buildContainer());
o.add(buildContainer());
return o;
}
-checkUnnamed1707(core.List<api.Container> o) {
+checkUnnamed1721(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 = buildUnnamed1707();
+ o.containers = buildUnnamed1721();
}
buildCounterListContainersResponse--;
return o;
@@ -726,19 +726,19 @@
checkListContainersResponse(api.ListContainersResponse o) {
buildCounterListContainersResponse++;
if (buildCounterListContainersResponse < 3) {
- checkUnnamed1707(o.containers);
+ checkUnnamed1721(o.containers);
}
buildCounterListContainersResponse--;
}
-buildUnnamed1708() {
+buildUnnamed1722() {
var o = new core.List<api.Environment>();
o.add(buildEnvironment());
o.add(buildEnvironment());
return o;
}
-checkUnnamed1708(core.List<api.Environment> o) {
+checkUnnamed1722(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 = buildUnnamed1708();
+ o.environments = buildUnnamed1722();
}
buildCounterListEnvironmentsResponse--;
return o;
@@ -758,19 +758,19 @@
checkListEnvironmentsResponse(api.ListEnvironmentsResponse o) {
buildCounterListEnvironmentsResponse++;
if (buildCounterListEnvironmentsResponse < 3) {
- checkUnnamed1708(o.environments);
+ checkUnnamed1722(o.environments);
}
buildCounterListEnvironmentsResponse--;
}
-buildUnnamed1709() {
+buildUnnamed1723() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed1709(core.List<api.Folder> o) {
+checkUnnamed1723(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 = buildUnnamed1709();
+ o.folders = buildUnnamed1723();
}
buildCounterListFoldersResponse--;
return o;
@@ -790,19 +790,19 @@
checkListFoldersResponse(api.ListFoldersResponse o) {
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- checkUnnamed1709(o.folders);
+ checkUnnamed1723(o.folders);
}
buildCounterListFoldersResponse--;
}
-buildUnnamed1710() {
+buildUnnamed1724() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed1710(core.List<api.Tag> o) {
+checkUnnamed1724(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 = buildUnnamed1710();
+ o.tags = buildUnnamed1724();
}
buildCounterListTagsResponse--;
return o;
@@ -822,19 +822,19 @@
checkListTagsResponse(api.ListTagsResponse o) {
buildCounterListTagsResponse++;
if (buildCounterListTagsResponse < 3) {
- checkUnnamed1710(o.tags);
+ checkUnnamed1724(o.tags);
}
buildCounterListTagsResponse--;
}
-buildUnnamed1711() {
+buildUnnamed1725() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed1711(core.List<api.Trigger> o) {
+checkUnnamed1725(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 = buildUnnamed1711();
+ o.triggers = buildUnnamed1725();
}
buildCounterListTriggersResponse--;
return o;
@@ -854,19 +854,19 @@
checkListTriggersResponse(api.ListTriggersResponse o) {
buildCounterListTriggersResponse++;
if (buildCounterListTriggersResponse < 3) {
- checkUnnamed1711(o.triggers);
+ checkUnnamed1725(o.triggers);
}
buildCounterListTriggersResponse--;
}
-buildUnnamed1712() {
+buildUnnamed1726() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed1712(core.List<api.Variable> o) {
+checkUnnamed1726(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 = buildUnnamed1712();
+ o.variables = buildUnnamed1726();
}
buildCounterListVariablesResponse--;
return o;
@@ -886,45 +886,45 @@
checkListVariablesResponse(api.ListVariablesResponse o) {
buildCounterListVariablesResponse++;
if (buildCounterListVariablesResponse < 3) {
- checkUnnamed1712(o.variables);
+ checkUnnamed1726(o.variables);
}
buildCounterListVariablesResponse--;
}
-buildUnnamed1713() {
+buildUnnamed1727() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1713(core.List<core.String> o) {
+checkUnnamed1727(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1714() {
+buildUnnamed1728() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1714(core.List<core.String> o) {
+checkUnnamed1728(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1715() {
+buildUnnamed1729() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1715(core.List<api.Parameter> o) {
+checkUnnamed1729(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 = buildUnnamed1713();
- o.enablingRuleId = buildUnnamed1714();
+ o.disablingRuleId = buildUnnamed1727();
+ o.enablingRuleId = buildUnnamed1728();
o.fingerprint = "foo";
o.macroId = "foo";
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed1715();
+ o.parameter = buildUnnamed1729();
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'));
- checkUnnamed1713(o.disablingRuleId);
- checkUnnamed1714(o.enablingRuleId);
+ checkUnnamed1727(o.disablingRuleId);
+ checkUnnamed1728(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'));
- checkUnnamed1715(o.parameter);
+ checkUnnamed1729(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--;
}
-buildUnnamed1716() {
+buildUnnamed1730() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1716(core.List<api.Parameter> o) {
+checkUnnamed1730(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
}
-buildUnnamed1717() {
+buildUnnamed1731() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1717(core.List<api.Parameter> o) {
+checkUnnamed1731(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 = buildUnnamed1716();
- o.map = buildUnnamed1717();
+ o.list = buildUnnamed1730();
+ o.map = buildUnnamed1731();
o.type = "foo";
o.value = "foo";
}
@@ -1018,8 +1018,8 @@
buildCounterParameter++;
if (buildCounterParameter < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed1716(o.list);
- checkUnnamed1717(o.map);
+ checkUnnamed1730(o.list);
+ checkUnnamed1731(o.map);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
@@ -1047,14 +1047,14 @@
buildCounterPublishContainerVersionResponse--;
}
-buildUnnamed1718() {
+buildUnnamed1732() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1718(core.List<api.Condition> o) {
+checkUnnamed1732(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 = buildUnnamed1718();
+ o.condition = buildUnnamed1732();
o.containerId = "foo";
o.fingerprint = "foo";
o.name = "foo";
@@ -1081,7 +1081,7 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1718(o.condition);
+ checkUnnamed1732(o.condition);
unittest.expect(o.containerId, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -1112,422 +1112,17 @@
buildCounterSetupTag--;
}
-buildUnnamed1719() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1719(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1720() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1720(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1721() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-buildUnnamed1722() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1722(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1723() {
- var o = new core.List<api.Parameter>();
- o.add(buildParameter());
- o.add(buildParameter());
- return o;
-}
-
-checkUnnamed1723(core.List<api.Parameter> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkParameter(o[0]);
- checkParameter(o[1]);
-}
-
-buildUnnamed1724() {
- var o = new core.List<api.SetupTag>();
- o.add(buildSetupTag());
- o.add(buildSetupTag());
- return o;
-}
-
-checkUnnamed1724(core.List<api.SetupTag> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkSetupTag(o[0]);
- checkSetupTag(o[1]);
-}
-
-buildUnnamed1725() {
- var o = new core.List<api.TeardownTag>();
- o.add(buildTeardownTag());
- o.add(buildTeardownTag());
- return o;
-}
-
-checkUnnamed1725(core.List<api.TeardownTag> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkTeardownTag(o[0]);
- checkTeardownTag(o[1]);
-}
-
-core.int buildCounterTag = 0;
-buildTag() {
- var o = new api.Tag();
- buildCounterTag++;
- if (buildCounterTag < 3) {
- o.accountId = "foo";
- o.blockingRuleId = buildUnnamed1719();
- o.blockingTriggerId = buildUnnamed1720();
- o.containerId = "foo";
- o.fingerprint = "foo";
- o.firingRuleId = buildUnnamed1721();
- o.firingTriggerId = buildUnnamed1722();
- o.liveOnly = true;
- o.name = "foo";
- o.notes = "foo";
- o.parameter = buildUnnamed1723();
- o.parentFolderId = "foo";
- o.paused = true;
- o.priority = buildParameter();
- o.scheduleEndMs = "foo";
- o.scheduleStartMs = "foo";
- o.setupTag = buildUnnamed1724();
- o.tagFiringOption = "foo";
- o.tagId = "foo";
- o.teardownTag = buildUnnamed1725();
- o.type = "foo";
- }
- buildCounterTag--;
- return o;
-}
-
-checkTag(api.Tag o) {
- buildCounterTag++;
- if (buildCounterTag < 3) {
- unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1719(o.blockingRuleId);
- checkUnnamed1720(o.blockingTriggerId);
- unittest.expect(o.containerId, unittest.equals('foo'));
- unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1721(o.firingRuleId);
- checkUnnamed1722(o.firingTriggerId);
- unittest.expect(o.liveOnly, unittest.isTrue);
- unittest.expect(o.name, unittest.equals('foo'));
- unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1723(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'));
- checkUnnamed1724(o.setupTag);
- unittest.expect(o.tagFiringOption, unittest.equals('foo'));
- unittest.expect(o.tagId, unittest.equals('foo'));
- checkUnnamed1725(o.teardownTag);
- unittest.expect(o.type, unittest.equals('foo'));
- }
- buildCounterTag--;
-}
-
-core.int buildCounterTeardownTag = 0;
-buildTeardownTag() {
- var o = new api.TeardownTag();
- buildCounterTeardownTag++;
- if (buildCounterTeardownTag < 3) {
- o.stopTeardownOnFailure = true;
- o.tagName = "foo";
- }
- buildCounterTeardownTag--;
- return o;
-}
-
-checkTeardownTag(api.TeardownTag o) {
- buildCounterTeardownTag++;
- if (buildCounterTeardownTag < 3) {
- unittest.expect(o.stopTeardownOnFailure, unittest.isTrue);
- unittest.expect(o.tagName, unittest.equals('foo'));
- }
- buildCounterTeardownTag--;
-}
-
-buildUnnamed1726() {
- var o = new core.List<api.Condition>();
- o.add(buildCondition());
- o.add(buildCondition());
- return o;
-}
-
-checkUnnamed1726(core.List<api.Condition> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkCondition(o[0]);
- checkCondition(o[1]);
-}
-
-buildUnnamed1727() {
- var o = new core.List<api.Condition>();
- o.add(buildCondition());
- o.add(buildCondition());
- return o;
-}
-
-checkUnnamed1727(core.List<api.Condition> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkCondition(o[0]);
- checkCondition(o[1]);
-}
-
-buildUnnamed1728() {
- var o = new core.List<api.Condition>();
- o.add(buildCondition());
- o.add(buildCondition());
- return o;
-}
-
-checkUnnamed1728(core.List<api.Condition> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkCondition(o[0]);
- checkCondition(o[1]);
-}
-
-buildUnnamed1729() {
- var o = new core.List<api.Parameter>();
- o.add(buildParameter());
- o.add(buildParameter());
- return o;
-}
-
-checkUnnamed1729(core.List<api.Parameter> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkParameter(o[0]);
- checkParameter(o[1]);
-}
-
-core.int buildCounterTrigger = 0;
-buildTrigger() {
- var o = new api.Trigger();
- buildCounterTrigger++;
- if (buildCounterTrigger < 3) {
- o.accountId = "foo";
- o.autoEventFilter = buildUnnamed1726();
- o.checkValidation = buildParameter();
- o.containerId = "foo";
- o.continuousTimeMinMilliseconds = buildParameter();
- o.customEventFilter = buildUnnamed1727();
- o.eventName = buildParameter();
- o.filter = buildUnnamed1728();
- o.fingerprint = "foo";
- o.horizontalScrollPercentageList = buildParameter();
- o.interval = buildParameter();
- o.intervalSeconds = buildParameter();
- o.limit = buildParameter();
- o.maxTimerLengthSeconds = buildParameter();
- o.name = "foo";
- o.parameter = buildUnnamed1729();
- o.parentFolderId = "foo";
- o.selector = buildParameter();
- o.totalTimeMinMilliseconds = buildParameter();
- o.triggerId = "foo";
- o.type = "foo";
- o.uniqueTriggerId = buildParameter();
- o.verticalScrollPercentageList = buildParameter();
- o.visibilitySelector = buildParameter();
- o.visiblePercentageMax = buildParameter();
- o.visiblePercentageMin = buildParameter();
- o.waitForTags = buildParameter();
- o.waitForTagsTimeout = buildParameter();
- }
- buildCounterTrigger--;
- return o;
-}
-
-checkTrigger(api.Trigger o) {
- buildCounterTrigger++;
- if (buildCounterTrigger < 3) {
- unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1726(o.autoEventFilter);
- checkParameter(o.checkValidation);
- unittest.expect(o.containerId, unittest.equals('foo'));
- checkParameter(o.continuousTimeMinMilliseconds);
- checkUnnamed1727(o.customEventFilter);
- checkParameter(o.eventName);
- checkUnnamed1728(o.filter);
- unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkParameter(o.horizontalScrollPercentageList);
- checkParameter(o.interval);
- checkParameter(o.intervalSeconds);
- checkParameter(o.limit);
- checkParameter(o.maxTimerLengthSeconds);
- unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1729(o.parameter);
- unittest.expect(o.parentFolderId, unittest.equals('foo'));
- checkParameter(o.selector);
- checkParameter(o.totalTimeMinMilliseconds);
- unittest.expect(o.triggerId, unittest.equals('foo'));
- unittest.expect(o.type, unittest.equals('foo'));
- checkParameter(o.uniqueTriggerId);
- checkParameter(o.verticalScrollPercentageList);
- checkParameter(o.visibilitySelector);
- checkParameter(o.visiblePercentageMax);
- checkParameter(o.visiblePercentageMin);
- checkParameter(o.waitForTags);
- checkParameter(o.waitForTagsTimeout);
- }
- buildCounterTrigger--;
-}
-
-buildUnnamed1730() {
- var o = new core.List<api.ContainerAccess>();
- o.add(buildContainerAccess());
- o.add(buildContainerAccess());
- return o;
-}
-
-checkUnnamed1730(core.List<api.ContainerAccess> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkContainerAccess(o[0]);
- checkContainerAccess(o[1]);
-}
-
-core.int buildCounterUserAccess = 0;
-buildUserAccess() {
- var o = new api.UserAccess();
- buildCounterUserAccess++;
- if (buildCounterUserAccess < 3) {
- o.accountAccess = buildAccountAccess();
- o.accountId = "foo";
- o.containerAccess = buildUnnamed1730();
- o.emailAddress = "foo";
- o.permissionId = "foo";
- }
- buildCounterUserAccess--;
- return o;
-}
-
-checkUserAccess(api.UserAccess o) {
- buildCounterUserAccess++;
- if (buildCounterUserAccess < 3) {
- checkAccountAccess(o.accountAccess);
- unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1730(o.containerAccess);
- unittest.expect(o.emailAddress, unittest.equals('foo'));
- unittest.expect(o.permissionId, unittest.equals('foo'));
- }
- buildCounterUserAccess--;
-}
-
-buildUnnamed1731() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1731(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1732() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1732(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1733() {
- var o = new core.List<api.Parameter>();
- o.add(buildParameter());
- o.add(buildParameter());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed1733(core.List<api.Parameter> o) {
+checkUnnamed1733(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkParameter(o[0]);
- checkParameter(o[1]);
-}
-
-core.int buildCounterVariable = 0;
-buildVariable() {
- var o = new api.Variable();
- buildCounterVariable++;
- if (buildCounterVariable < 3) {
- o.accountId = "foo";
- o.containerId = "foo";
- o.disablingTriggerId = buildUnnamed1731();
- o.enablingTriggerId = buildUnnamed1732();
- o.fingerprint = "foo";
- o.name = "foo";
- o.notes = "foo";
- o.parameter = buildUnnamed1733();
- o.parentFolderId = "foo";
- o.scheduleEndMs = "foo";
- o.scheduleStartMs = "foo";
- o.type = "foo";
- o.variableId = "foo";
- }
- buildCounterVariable--;
- return o;
-}
-
-checkVariable(api.Variable o) {
- buildCounterVariable++;
- if (buildCounterVariable < 3) {
- unittest.expect(o.accountId, unittest.equals('foo'));
- unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1731(o.disablingTriggerId);
- checkUnnamed1732(o.enablingTriggerId);
- unittest.expect(o.fingerprint, unittest.equals('foo'));
- unittest.expect(o.name, unittest.equals('foo'));
- unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1733(o.parameter);
- unittest.expect(o.parentFolderId, unittest.equals('foo'));
- unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
- unittest.expect(o.scheduleStartMs, unittest.equals('foo'));
- unittest.expect(o.type, unittest.equals('foo'));
- unittest.expect(o.variableId, unittest.equals('foo'));
- }
- buildCounterVariable--;
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed1734() {
@@ -1569,6 +1164,411 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1737() {
+ var o = new core.List<api.Parameter>();
+ o.add(buildParameter());
+ o.add(buildParameter());
+ return o;
+}
+
+checkUnnamed1737(core.List<api.Parameter> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkParameter(o[0]);
+ checkParameter(o[1]);
+}
+
+buildUnnamed1738() {
+ var o = new core.List<api.SetupTag>();
+ o.add(buildSetupTag());
+ o.add(buildSetupTag());
+ return o;
+}
+
+checkUnnamed1738(core.List<api.SetupTag> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSetupTag(o[0]);
+ checkSetupTag(o[1]);
+}
+
+buildUnnamed1739() {
+ var o = new core.List<api.TeardownTag>();
+ o.add(buildTeardownTag());
+ o.add(buildTeardownTag());
+ return o;
+}
+
+checkUnnamed1739(core.List<api.TeardownTag> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkTeardownTag(o[0]);
+ checkTeardownTag(o[1]);
+}
+
+core.int buildCounterTag = 0;
+buildTag() {
+ var o = new api.Tag();
+ buildCounterTag++;
+ if (buildCounterTag < 3) {
+ o.accountId = "foo";
+ o.blockingRuleId = buildUnnamed1733();
+ o.blockingTriggerId = buildUnnamed1734();
+ o.containerId = "foo";
+ o.fingerprint = "foo";
+ o.firingRuleId = buildUnnamed1735();
+ o.firingTriggerId = buildUnnamed1736();
+ o.liveOnly = true;
+ o.name = "foo";
+ o.notes = "foo";
+ o.parameter = buildUnnamed1737();
+ o.parentFolderId = "foo";
+ o.paused = true;
+ o.priority = buildParameter();
+ o.scheduleEndMs = "foo";
+ o.scheduleStartMs = "foo";
+ o.setupTag = buildUnnamed1738();
+ o.tagFiringOption = "foo";
+ o.tagId = "foo";
+ o.teardownTag = buildUnnamed1739();
+ o.type = "foo";
+ }
+ buildCounterTag--;
+ return o;
+}
+
+checkTag(api.Tag o) {
+ buildCounterTag++;
+ if (buildCounterTag < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ checkUnnamed1733(o.blockingRuleId);
+ checkUnnamed1734(o.blockingTriggerId);
+ unittest.expect(o.containerId, unittest.equals('foo'));
+ unittest.expect(o.fingerprint, unittest.equals('foo'));
+ checkUnnamed1735(o.firingRuleId);
+ checkUnnamed1736(o.firingTriggerId);
+ unittest.expect(o.liveOnly, unittest.isTrue);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.notes, unittest.equals('foo'));
+ checkUnnamed1737(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'));
+ checkUnnamed1738(o.setupTag);
+ unittest.expect(o.tagFiringOption, unittest.equals('foo'));
+ unittest.expect(o.tagId, unittest.equals('foo'));
+ checkUnnamed1739(o.teardownTag);
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterTag--;
+}
+
+core.int buildCounterTeardownTag = 0;
+buildTeardownTag() {
+ var o = new api.TeardownTag();
+ buildCounterTeardownTag++;
+ if (buildCounterTeardownTag < 3) {
+ o.stopTeardownOnFailure = true;
+ o.tagName = "foo";
+ }
+ buildCounterTeardownTag--;
+ return o;
+}
+
+checkTeardownTag(api.TeardownTag o) {
+ buildCounterTeardownTag++;
+ if (buildCounterTeardownTag < 3) {
+ unittest.expect(o.stopTeardownOnFailure, unittest.isTrue);
+ unittest.expect(o.tagName, unittest.equals('foo'));
+ }
+ buildCounterTeardownTag--;
+}
+
+buildUnnamed1740() {
+ var o = new core.List<api.Condition>();
+ o.add(buildCondition());
+ o.add(buildCondition());
+ return o;
+}
+
+checkUnnamed1740(core.List<api.Condition> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCondition(o[0]);
+ checkCondition(o[1]);
+}
+
+buildUnnamed1741() {
+ var o = new core.List<api.Condition>();
+ o.add(buildCondition());
+ o.add(buildCondition());
+ return o;
+}
+
+checkUnnamed1741(core.List<api.Condition> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCondition(o[0]);
+ checkCondition(o[1]);
+}
+
+buildUnnamed1742() {
+ var o = new core.List<api.Condition>();
+ o.add(buildCondition());
+ o.add(buildCondition());
+ return o;
+}
+
+checkUnnamed1742(core.List<api.Condition> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCondition(o[0]);
+ checkCondition(o[1]);
+}
+
+buildUnnamed1743() {
+ var o = new core.List<api.Parameter>();
+ o.add(buildParameter());
+ o.add(buildParameter());
+ return o;
+}
+
+checkUnnamed1743(core.List<api.Parameter> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkParameter(o[0]);
+ checkParameter(o[1]);
+}
+
+core.int buildCounterTrigger = 0;
+buildTrigger() {
+ var o = new api.Trigger();
+ buildCounterTrigger++;
+ if (buildCounterTrigger < 3) {
+ o.accountId = "foo";
+ o.autoEventFilter = buildUnnamed1740();
+ o.checkValidation = buildParameter();
+ o.containerId = "foo";
+ o.continuousTimeMinMilliseconds = buildParameter();
+ o.customEventFilter = buildUnnamed1741();
+ o.eventName = buildParameter();
+ o.filter = buildUnnamed1742();
+ o.fingerprint = "foo";
+ o.horizontalScrollPercentageList = buildParameter();
+ o.interval = buildParameter();
+ o.intervalSeconds = buildParameter();
+ o.limit = buildParameter();
+ o.maxTimerLengthSeconds = buildParameter();
+ o.name = "foo";
+ o.parameter = buildUnnamed1743();
+ o.parentFolderId = "foo";
+ o.selector = buildParameter();
+ o.totalTimeMinMilliseconds = buildParameter();
+ o.triggerId = "foo";
+ o.type = "foo";
+ o.uniqueTriggerId = buildParameter();
+ o.verticalScrollPercentageList = buildParameter();
+ o.visibilitySelector = buildParameter();
+ o.visiblePercentageMax = buildParameter();
+ o.visiblePercentageMin = buildParameter();
+ o.waitForTags = buildParameter();
+ o.waitForTagsTimeout = buildParameter();
+ }
+ buildCounterTrigger--;
+ return o;
+}
+
+checkTrigger(api.Trigger o) {
+ buildCounterTrigger++;
+ if (buildCounterTrigger < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ checkUnnamed1740(o.autoEventFilter);
+ checkParameter(o.checkValidation);
+ unittest.expect(o.containerId, unittest.equals('foo'));
+ checkParameter(o.continuousTimeMinMilliseconds);
+ checkUnnamed1741(o.customEventFilter);
+ checkParameter(o.eventName);
+ checkUnnamed1742(o.filter);
+ unittest.expect(o.fingerprint, unittest.equals('foo'));
+ checkParameter(o.horizontalScrollPercentageList);
+ checkParameter(o.interval);
+ checkParameter(o.intervalSeconds);
+ checkParameter(o.limit);
+ checkParameter(o.maxTimerLengthSeconds);
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed1743(o.parameter);
+ unittest.expect(o.parentFolderId, unittest.equals('foo'));
+ checkParameter(o.selector);
+ checkParameter(o.totalTimeMinMilliseconds);
+ unittest.expect(o.triggerId, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ checkParameter(o.uniqueTriggerId);
+ checkParameter(o.verticalScrollPercentageList);
+ checkParameter(o.visibilitySelector);
+ checkParameter(o.visiblePercentageMax);
+ checkParameter(o.visiblePercentageMin);
+ checkParameter(o.waitForTags);
+ checkParameter(o.waitForTagsTimeout);
+ }
+ buildCounterTrigger--;
+}
+
+buildUnnamed1744() {
+ var o = new core.List<api.ContainerAccess>();
+ o.add(buildContainerAccess());
+ o.add(buildContainerAccess());
+ return o;
+}
+
+checkUnnamed1744(core.List<api.ContainerAccess> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkContainerAccess(o[0]);
+ checkContainerAccess(o[1]);
+}
+
+core.int buildCounterUserAccess = 0;
+buildUserAccess() {
+ var o = new api.UserAccess();
+ buildCounterUserAccess++;
+ if (buildCounterUserAccess < 3) {
+ o.accountAccess = buildAccountAccess();
+ o.accountId = "foo";
+ o.containerAccess = buildUnnamed1744();
+ o.emailAddress = "foo";
+ o.permissionId = "foo";
+ }
+ buildCounterUserAccess--;
+ return o;
+}
+
+checkUserAccess(api.UserAccess o) {
+ buildCounterUserAccess++;
+ if (buildCounterUserAccess < 3) {
+ checkAccountAccess(o.accountAccess);
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ checkUnnamed1744(o.containerAccess);
+ unittest.expect(o.emailAddress, unittest.equals('foo'));
+ unittest.expect(o.permissionId, unittest.equals('foo'));
+ }
+ buildCounterUserAccess--;
+}
+
+buildUnnamed1745() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return 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'));
+}
+
+buildUnnamed1746() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1746(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1747() {
+ var o = new core.List<api.Parameter>();
+ o.add(buildParameter());
+ o.add(buildParameter());
+ return o;
+}
+
+checkUnnamed1747(core.List<api.Parameter> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkParameter(o[0]);
+ checkParameter(o[1]);
+}
+
+core.int buildCounterVariable = 0;
+buildVariable() {
+ var o = new api.Variable();
+ buildCounterVariable++;
+ if (buildCounterVariable < 3) {
+ o.accountId = "foo";
+ o.containerId = "foo";
+ o.disablingTriggerId = buildUnnamed1745();
+ o.enablingTriggerId = buildUnnamed1746();
+ o.fingerprint = "foo";
+ o.name = "foo";
+ o.notes = "foo";
+ o.parameter = buildUnnamed1747();
+ o.parentFolderId = "foo";
+ o.scheduleEndMs = "foo";
+ o.scheduleStartMs = "foo";
+ o.type = "foo";
+ o.variableId = "foo";
+ }
+ buildCounterVariable--;
+ return o;
+}
+
+checkVariable(api.Variable o) {
+ buildCounterVariable++;
+ if (buildCounterVariable < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.containerId, unittest.equals('foo'));
+ checkUnnamed1745(o.disablingTriggerId);
+ checkUnnamed1746(o.enablingTriggerId);
+ unittest.expect(o.fingerprint, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.notes, unittest.equals('foo'));
+ checkUnnamed1747(o.parameter);
+ unittest.expect(o.parentFolderId, unittest.equals('foo'));
+ unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
+ unittest.expect(o.scheduleStartMs, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ unittest.expect(o.variableId, unittest.equals('foo'));
+ }
+ buildCounterVariable--;
+}
+
+buildUnnamed1748() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1748(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1749() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1749(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1750() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1750(core.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", () {
@@ -3297,9 +3297,9 @@
var arg_accountId = "foo";
var arg_containerId = "foo";
var arg_folderId = "foo";
- var arg_tagId = buildUnnamed1734();
- var arg_triggerId = buildUnnamed1735();
- var arg_variableId = buildUnnamed1736();
+ var arg_tagId = buildUnnamed1748();
+ var arg_triggerId = buildUnnamed1749();
+ var arg_variableId = buildUnnamed1750();
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/tagmanager/v2_test.dart b/generated/googleapis/test/tagmanager/v2_test.dart
index 46f3d57..2a94f23 100644
--- a/generated/googleapis/test/tagmanager/v2_test.dart
+++ b/generated/googleapis/test/tagmanager/v2_test.dart
@@ -127,14 +127,14 @@
buildCounterBuiltInVariable--;
}
-buildUnnamed1368() {
+buildUnnamed1377() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1368(core.List<api.Parameter> o) {
+checkUnnamed1377(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -145,7 +145,7 @@
var o = new api.Condition();
buildCounterCondition++;
if (buildCounterCondition < 3) {
- o.parameter = buildUnnamed1368();
+ o.parameter = buildUnnamed1377();
o.type = "foo";
}
buildCounterCondition--;
@@ -155,33 +155,33 @@
checkCondition(api.Condition o) {
buildCounterCondition++;
if (buildCounterCondition < 3) {
- checkUnnamed1368(o.parameter);
+ checkUnnamed1377(o.parameter);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterCondition--;
}
-buildUnnamed1369() {
+buildUnnamed1378() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1369(core.List<core.String> 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'));
}
-buildUnnamed1370() {
+buildUnnamed1379() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1370(core.List<core.String> o) {
+checkUnnamed1379(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -194,14 +194,14 @@
if (buildCounterContainer < 3) {
o.accountId = "foo";
o.containerId = "foo";
- o.domainName = buildUnnamed1369();
+ o.domainName = buildUnnamed1378();
o.fingerprint = "foo";
o.name = "foo";
o.notes = "foo";
o.path = "foo";
o.publicId = "foo";
o.tagManagerUrl = "foo";
- o.usageContext = buildUnnamed1370();
+ o.usageContext = buildUnnamed1379();
}
buildCounterContainer--;
return o;
@@ -212,14 +212,14 @@
if (buildCounterContainer < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1369(o.domainName);
+ checkUnnamed1378(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'));
- checkUnnamed1370(o.usageContext);
+ checkUnnamed1379(o.usageContext);
}
buildCounterContainer--;
}
@@ -245,79 +245,79 @@
buildCounterContainerAccess--;
}
-buildUnnamed1371() {
+buildUnnamed1380() {
var o = new core.List<api.BuiltInVariable>();
o.add(buildBuiltInVariable());
o.add(buildBuiltInVariable());
return o;
}
-checkUnnamed1371(core.List<api.BuiltInVariable> o) {
+checkUnnamed1380(core.List<api.BuiltInVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuiltInVariable(o[0]);
checkBuiltInVariable(o[1]);
}
-buildUnnamed1372() {
+buildUnnamed1381() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed1372(core.List<api.Folder> o) {
+checkUnnamed1381(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
}
-buildUnnamed1373() {
+buildUnnamed1382() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed1373(core.List<api.Tag> o) {
+checkUnnamed1382(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
}
-buildUnnamed1374() {
+buildUnnamed1383() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed1374(core.List<api.Trigger> o) {
+checkUnnamed1383(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
}
-buildUnnamed1375() {
+buildUnnamed1384() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed1375(core.List<api.Variable> o) {
+checkUnnamed1384(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
}
-buildUnnamed1376() {
+buildUnnamed1385() {
var o = new core.List<api.Zone>();
o.add(buildZone());
o.add(buildZone());
return o;
}
-checkUnnamed1376(core.List<api.Zone> o) {
+checkUnnamed1385(core.List<api.Zone> o) {
unittest.expect(o, unittest.hasLength(2));
checkZone(o[0]);
checkZone(o[1]);
@@ -329,21 +329,21 @@
buildCounterContainerVersion++;
if (buildCounterContainerVersion < 3) {
o.accountId = "foo";
- o.builtInVariable = buildUnnamed1371();
+ o.builtInVariable = buildUnnamed1380();
o.container = buildContainer();
o.containerId = "foo";
o.containerVersionId = "foo";
o.deleted = true;
o.description = "foo";
o.fingerprint = "foo";
- o.folder = buildUnnamed1372();
+ o.folder = buildUnnamed1381();
o.name = "foo";
o.path = "foo";
- o.tag = buildUnnamed1373();
+ o.tag = buildUnnamed1382();
o.tagManagerUrl = "foo";
- o.trigger = buildUnnamed1374();
- o.variable = buildUnnamed1375();
- o.zone = buildUnnamed1376();
+ o.trigger = buildUnnamed1383();
+ o.variable = buildUnnamed1384();
+ o.zone = buildUnnamed1385();
}
buildCounterContainerVersion--;
return o;
@@ -353,21 +353,21 @@
buildCounterContainerVersion++;
if (buildCounterContainerVersion < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1371(o.builtInVariable);
+ checkUnnamed1380(o.builtInVariable);
checkContainer(o.container);
unittest.expect(o.containerId, unittest.equals('foo'));
unittest.expect(o.containerVersionId, unittest.equals('foo'));
unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1372(o.folder);
+ checkUnnamed1381(o.folder);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
- checkUnnamed1373(o.tag);
+ checkUnnamed1382(o.tag);
unittest.expect(o.tagManagerUrl, unittest.equals('foo'));
- checkUnnamed1374(o.trigger);
- checkUnnamed1375(o.variable);
- checkUnnamed1376(o.zone);
+ checkUnnamed1383(o.trigger);
+ checkUnnamed1384(o.variable);
+ checkUnnamed1385(o.zone);
}
buildCounterContainerVersion--;
}
@@ -413,14 +413,14 @@
buildCounterContainerVersionHeader--;
}
-buildUnnamed1377() {
+buildUnnamed1386() {
var o = new core.List<api.BuiltInVariable>();
o.add(buildBuiltInVariable());
o.add(buildBuiltInVariable());
return o;
}
-checkUnnamed1377(core.List<api.BuiltInVariable> o) {
+checkUnnamed1386(core.List<api.BuiltInVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuiltInVariable(o[0]);
checkBuiltInVariable(o[1]);
@@ -431,7 +431,7 @@
var o = new api.CreateBuiltInVariableResponse();
buildCounterCreateBuiltInVariableResponse++;
if (buildCounterCreateBuiltInVariableResponse < 3) {
- o.builtInVariable = buildUnnamed1377();
+ o.builtInVariable = buildUnnamed1386();
}
buildCounterCreateBuiltInVariableResponse--;
return o;
@@ -440,7 +440,7 @@
checkCreateBuiltInVariableResponse(api.CreateBuiltInVariableResponse o) {
buildCounterCreateBuiltInVariableResponse++;
if (buildCounterCreateBuiltInVariableResponse < 3) {
- checkUnnamed1377(o.builtInVariable);
+ checkUnnamed1386(o.builtInVariable);
}
buildCounterCreateBuiltInVariableResponse--;
}
@@ -492,14 +492,14 @@
buildCounterCreateContainerVersionResponse--;
}
-buildUnnamed1378() {
+buildUnnamed1387() {
var o = new core.List<api.WorkspaceProposalUser>();
o.add(buildWorkspaceProposalUser());
o.add(buildWorkspaceProposalUser());
return o;
}
-checkUnnamed1378(core.List<api.WorkspaceProposalUser> o) {
+checkUnnamed1387(core.List<api.WorkspaceProposalUser> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkspaceProposalUser(o[0]);
checkWorkspaceProposalUser(o[1]);
@@ -511,7 +511,7 @@
buildCounterCreateWorkspaceProposalRequest++;
if (buildCounterCreateWorkspaceProposalRequest < 3) {
o.initialComment = buildWorkspaceProposalHistoryComment();
- o.reviewers = buildUnnamed1378();
+ o.reviewers = buildUnnamed1387();
}
buildCounterCreateWorkspaceProposalRequest--;
return o;
@@ -521,7 +521,7 @@
buildCounterCreateWorkspaceProposalRequest++;
if (buildCounterCreateWorkspaceProposalRequest < 3) {
checkWorkspaceProposalHistoryComment(o.initialComment);
- checkUnnamed1378(o.reviewers);
+ checkUnnamed1387(o.reviewers);
}
buildCounterCreateWorkspaceProposalRequest--;
}
@@ -635,40 +635,40 @@
buildCounterFolder--;
}
-buildUnnamed1379() {
+buildUnnamed1388() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed1379(core.List<api.Tag> o) {
+checkUnnamed1388(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
}
-buildUnnamed1380() {
+buildUnnamed1389() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed1380(core.List<api.Trigger> o) {
+checkUnnamed1389(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
}
-buildUnnamed1381() {
+buildUnnamed1390() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed1381(core.List<api.Variable> o) {
+checkUnnamed1390(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -680,9 +680,9 @@
buildCounterFolderEntities++;
if (buildCounterFolderEntities < 3) {
o.nextPageToken = "foo";
- o.tag = buildUnnamed1379();
- o.trigger = buildUnnamed1380();
- o.variable = buildUnnamed1381();
+ o.tag = buildUnnamed1388();
+ o.trigger = buildUnnamed1389();
+ o.variable = buildUnnamed1390();
}
buildCounterFolderEntities--;
return o;
@@ -692,34 +692,34 @@
buildCounterFolderEntities++;
if (buildCounterFolderEntities < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1379(o.tag);
- checkUnnamed1380(o.trigger);
- checkUnnamed1381(o.variable);
+ checkUnnamed1388(o.tag);
+ checkUnnamed1389(o.trigger);
+ checkUnnamed1390(o.variable);
}
buildCounterFolderEntities--;
}
-buildUnnamed1382() {
+buildUnnamed1391() {
var o = new core.List<api.MergeConflict>();
o.add(buildMergeConflict());
o.add(buildMergeConflict());
return o;
}
-checkUnnamed1382(core.List<api.MergeConflict> o) {
+checkUnnamed1391(core.List<api.MergeConflict> o) {
unittest.expect(o, unittest.hasLength(2));
checkMergeConflict(o[0]);
checkMergeConflict(o[1]);
}
-buildUnnamed1383() {
+buildUnnamed1392() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed1383(core.List<api.Entity> o) {
+checkUnnamed1392(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
@@ -730,8 +730,8 @@
var o = new api.GetWorkspaceStatusResponse();
buildCounterGetWorkspaceStatusResponse++;
if (buildCounterGetWorkspaceStatusResponse < 3) {
- o.mergeConflict = buildUnnamed1382();
- o.workspaceChange = buildUnnamed1383();
+ o.mergeConflict = buildUnnamed1391();
+ o.workspaceChange = buildUnnamed1392();
}
buildCounterGetWorkspaceStatusResponse--;
return o;
@@ -740,20 +740,20 @@
checkGetWorkspaceStatusResponse(api.GetWorkspaceStatusResponse o) {
buildCounterGetWorkspaceStatusResponse++;
if (buildCounterGetWorkspaceStatusResponse < 3) {
- checkUnnamed1382(o.mergeConflict);
- checkUnnamed1383(o.workspaceChange);
+ checkUnnamed1391(o.mergeConflict);
+ checkUnnamed1392(o.workspaceChange);
}
buildCounterGetWorkspaceStatusResponse--;
}
-buildUnnamed1384() {
+buildUnnamed1393() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1384(core.List<api.Account> o) {
+checkUnnamed1393(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -764,7 +764,7 @@
var o = new api.ListAccountsResponse();
buildCounterListAccountsResponse++;
if (buildCounterListAccountsResponse < 3) {
- o.account = buildUnnamed1384();
+ o.account = buildUnnamed1393();
o.nextPageToken = "foo";
}
buildCounterListAccountsResponse--;
@@ -774,20 +774,20 @@
checkListAccountsResponse(api.ListAccountsResponse o) {
buildCounterListAccountsResponse++;
if (buildCounterListAccountsResponse < 3) {
- checkUnnamed1384(o.account);
+ checkUnnamed1393(o.account);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAccountsResponse--;
}
-buildUnnamed1385() {
+buildUnnamed1394() {
var o = new core.List<api.ContainerVersionHeader>();
o.add(buildContainerVersionHeader());
o.add(buildContainerVersionHeader());
return o;
}
-checkUnnamed1385(core.List<api.ContainerVersionHeader> o) {
+checkUnnamed1394(core.List<api.ContainerVersionHeader> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerVersionHeader(o[0]);
checkContainerVersionHeader(o[1]);
@@ -798,7 +798,7 @@
var o = new api.ListContainerVersionsResponse();
buildCounterListContainerVersionsResponse++;
if (buildCounterListContainerVersionsResponse < 3) {
- o.containerVersionHeader = buildUnnamed1385();
+ o.containerVersionHeader = buildUnnamed1394();
o.nextPageToken = "foo";
}
buildCounterListContainerVersionsResponse--;
@@ -808,20 +808,20 @@
checkListContainerVersionsResponse(api.ListContainerVersionsResponse o) {
buildCounterListContainerVersionsResponse++;
if (buildCounterListContainerVersionsResponse < 3) {
- checkUnnamed1385(o.containerVersionHeader);
+ checkUnnamed1394(o.containerVersionHeader);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListContainerVersionsResponse--;
}
-buildUnnamed1386() {
+buildUnnamed1395() {
var o = new core.List<api.Container>();
o.add(buildContainer());
o.add(buildContainer());
return o;
}
-checkUnnamed1386(core.List<api.Container> o) {
+checkUnnamed1395(core.List<api.Container> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainer(o[0]);
checkContainer(o[1]);
@@ -832,7 +832,7 @@
var o = new api.ListContainersResponse();
buildCounterListContainersResponse++;
if (buildCounterListContainersResponse < 3) {
- o.container = buildUnnamed1386();
+ o.container = buildUnnamed1395();
o.nextPageToken = "foo";
}
buildCounterListContainersResponse--;
@@ -842,20 +842,20 @@
checkListContainersResponse(api.ListContainersResponse o) {
buildCounterListContainersResponse++;
if (buildCounterListContainersResponse < 3) {
- checkUnnamed1386(o.container);
+ checkUnnamed1395(o.container);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListContainersResponse--;
}
-buildUnnamed1387() {
+buildUnnamed1396() {
var o = new core.List<api.BuiltInVariable>();
o.add(buildBuiltInVariable());
o.add(buildBuiltInVariable());
return o;
}
-checkUnnamed1387(core.List<api.BuiltInVariable> o) {
+checkUnnamed1396(core.List<api.BuiltInVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuiltInVariable(o[0]);
checkBuiltInVariable(o[1]);
@@ -866,7 +866,7 @@
var o = new api.ListEnabledBuiltInVariablesResponse();
buildCounterListEnabledBuiltInVariablesResponse++;
if (buildCounterListEnabledBuiltInVariablesResponse < 3) {
- o.builtInVariable = buildUnnamed1387();
+ o.builtInVariable = buildUnnamed1396();
o.nextPageToken = "foo";
}
buildCounterListEnabledBuiltInVariablesResponse--;
@@ -877,20 +877,20 @@
api.ListEnabledBuiltInVariablesResponse o) {
buildCounterListEnabledBuiltInVariablesResponse++;
if (buildCounterListEnabledBuiltInVariablesResponse < 3) {
- checkUnnamed1387(o.builtInVariable);
+ checkUnnamed1396(o.builtInVariable);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListEnabledBuiltInVariablesResponse--;
}
-buildUnnamed1388() {
+buildUnnamed1397() {
var o = new core.List<api.Environment>();
o.add(buildEnvironment());
o.add(buildEnvironment());
return o;
}
-checkUnnamed1388(core.List<api.Environment> o) {
+checkUnnamed1397(core.List<api.Environment> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnvironment(o[0]);
checkEnvironment(o[1]);
@@ -901,7 +901,7 @@
var o = new api.ListEnvironmentsResponse();
buildCounterListEnvironmentsResponse++;
if (buildCounterListEnvironmentsResponse < 3) {
- o.environment = buildUnnamed1388();
+ o.environment = buildUnnamed1397();
o.nextPageToken = "foo";
}
buildCounterListEnvironmentsResponse--;
@@ -911,20 +911,20 @@
checkListEnvironmentsResponse(api.ListEnvironmentsResponse o) {
buildCounterListEnvironmentsResponse++;
if (buildCounterListEnvironmentsResponse < 3) {
- checkUnnamed1388(o.environment);
+ checkUnnamed1397(o.environment);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListEnvironmentsResponse--;
}
-buildUnnamed1389() {
+buildUnnamed1398() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed1389(core.List<api.Folder> o) {
+checkUnnamed1398(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
@@ -935,7 +935,7 @@
var o = new api.ListFoldersResponse();
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- o.folder = buildUnnamed1389();
+ o.folder = buildUnnamed1398();
o.nextPageToken = "foo";
}
buildCounterListFoldersResponse--;
@@ -945,20 +945,20 @@
checkListFoldersResponse(api.ListFoldersResponse o) {
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- checkUnnamed1389(o.folder);
+ checkUnnamed1398(o.folder);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListFoldersResponse--;
}
-buildUnnamed1390() {
+buildUnnamed1399() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed1390(core.List<api.Tag> o) {
+checkUnnamed1399(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
@@ -970,7 +970,7 @@
buildCounterListTagsResponse++;
if (buildCounterListTagsResponse < 3) {
o.nextPageToken = "foo";
- o.tag = buildUnnamed1390();
+ o.tag = buildUnnamed1399();
}
buildCounterListTagsResponse--;
return o;
@@ -980,19 +980,19 @@
buildCounterListTagsResponse++;
if (buildCounterListTagsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1390(o.tag);
+ checkUnnamed1399(o.tag);
}
buildCounterListTagsResponse--;
}
-buildUnnamed1391() {
+buildUnnamed1400() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed1391(core.List<api.Trigger> o) {
+checkUnnamed1400(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
@@ -1004,7 +1004,7 @@
buildCounterListTriggersResponse++;
if (buildCounterListTriggersResponse < 3) {
o.nextPageToken = "foo";
- o.trigger = buildUnnamed1391();
+ o.trigger = buildUnnamed1400();
}
buildCounterListTriggersResponse--;
return o;
@@ -1014,19 +1014,19 @@
buildCounterListTriggersResponse++;
if (buildCounterListTriggersResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1391(o.trigger);
+ checkUnnamed1400(o.trigger);
}
buildCounterListTriggersResponse--;
}
-buildUnnamed1392() {
+buildUnnamed1401() {
var o = new core.List<api.UserPermission>();
o.add(buildUserPermission());
o.add(buildUserPermission());
return o;
}
-checkUnnamed1392(core.List<api.UserPermission> o) {
+checkUnnamed1401(core.List<api.UserPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserPermission(o[0]);
checkUserPermission(o[1]);
@@ -1038,7 +1038,7 @@
buildCounterListUserPermissionsResponse++;
if (buildCounterListUserPermissionsResponse < 3) {
o.nextPageToken = "foo";
- o.userPermission = buildUnnamed1392();
+ o.userPermission = buildUnnamed1401();
}
buildCounterListUserPermissionsResponse--;
return o;
@@ -1048,19 +1048,19 @@
buildCounterListUserPermissionsResponse++;
if (buildCounterListUserPermissionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1392(o.userPermission);
+ checkUnnamed1401(o.userPermission);
}
buildCounterListUserPermissionsResponse--;
}
-buildUnnamed1393() {
+buildUnnamed1402() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed1393(core.List<api.Variable> o) {
+checkUnnamed1402(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -1072,7 +1072,7 @@
buildCounterListVariablesResponse++;
if (buildCounterListVariablesResponse < 3) {
o.nextPageToken = "foo";
- o.variable = buildUnnamed1393();
+ o.variable = buildUnnamed1402();
}
buildCounterListVariablesResponse--;
return o;
@@ -1082,19 +1082,19 @@
buildCounterListVariablesResponse++;
if (buildCounterListVariablesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1393(o.variable);
+ checkUnnamed1402(o.variable);
}
buildCounterListVariablesResponse--;
}
-buildUnnamed1394() {
+buildUnnamed1403() {
var o = new core.List<api.Workspace>();
o.add(buildWorkspace());
o.add(buildWorkspace());
return o;
}
-checkUnnamed1394(core.List<api.Workspace> o) {
+checkUnnamed1403(core.List<api.Workspace> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkspace(o[0]);
checkWorkspace(o[1]);
@@ -1106,7 +1106,7 @@
buildCounterListWorkspacesResponse++;
if (buildCounterListWorkspacesResponse < 3) {
o.nextPageToken = "foo";
- o.workspace = buildUnnamed1394();
+ o.workspace = buildUnnamed1403();
}
buildCounterListWorkspacesResponse--;
return o;
@@ -1116,7 +1116,7 @@
buildCounterListWorkspacesResponse++;
if (buildCounterListWorkspacesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1394(o.workspace);
+ checkUnnamed1403(o.workspace);
}
buildCounterListWorkspacesResponse--;
}
@@ -1142,27 +1142,27 @@
buildCounterMergeConflict--;
}
-buildUnnamed1395() {
+buildUnnamed1404() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1395(core.List<api.Parameter> o) {
+checkUnnamed1404(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
}
-buildUnnamed1396() {
+buildUnnamed1405() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1396(core.List<api.Parameter> o) {
+checkUnnamed1405(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -1174,8 +1174,8 @@
buildCounterParameter++;
if (buildCounterParameter < 3) {
o.key = "foo";
- o.list = buildUnnamed1395();
- o.map = buildUnnamed1396();
+ o.list = buildUnnamed1404();
+ o.map = buildUnnamed1405();
o.type = "foo";
o.value = "foo";
}
@@ -1187,8 +1187,8 @@
buildCounterParameter++;
if (buildCounterParameter < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed1395(o.list);
- checkUnnamed1396(o.map);
+ checkUnnamed1404(o.list);
+ checkUnnamed1405(o.map);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
@@ -1376,14 +1376,14 @@
buildCounterSyncStatus--;
}
-buildUnnamed1397() {
+buildUnnamed1406() {
var o = new core.List<api.MergeConflict>();
o.add(buildMergeConflict());
o.add(buildMergeConflict());
return o;
}
-checkUnnamed1397(core.List<api.MergeConflict> o) {
+checkUnnamed1406(core.List<api.MergeConflict> o) {
unittest.expect(o, unittest.hasLength(2));
checkMergeConflict(o[0]);
checkMergeConflict(o[1]);
@@ -1394,7 +1394,7 @@
var o = new api.SyncWorkspaceResponse();
buildCounterSyncWorkspaceResponse++;
if (buildCounterSyncWorkspaceResponse < 3) {
- o.mergeConflict = buildUnnamed1397();
+ o.mergeConflict = buildUnnamed1406();
o.syncStatus = buildSyncStatus();
}
buildCounterSyncWorkspaceResponse--;
@@ -1404,98 +1404,98 @@
checkSyncWorkspaceResponse(api.SyncWorkspaceResponse o) {
buildCounterSyncWorkspaceResponse++;
if (buildCounterSyncWorkspaceResponse < 3) {
- checkUnnamed1397(o.mergeConflict);
+ checkUnnamed1406(o.mergeConflict);
checkSyncStatus(o.syncStatus);
}
buildCounterSyncWorkspaceResponse--;
}
-buildUnnamed1398() {
+buildUnnamed1407() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1398(core.List<core.String> o) {
+checkUnnamed1407(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1399() {
+buildUnnamed1408() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1399(core.List<core.String> o) {
+checkUnnamed1408(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1400() {
+buildUnnamed1409() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1400(core.List<core.String> o) {
+checkUnnamed1409(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1401() {
+buildUnnamed1410() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1401(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'));
}
-buildUnnamed1402() {
+buildUnnamed1411() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1402(core.List<api.Parameter> o) {
+checkUnnamed1411(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
}
-buildUnnamed1403() {
+buildUnnamed1412() {
var o = new core.List<api.SetupTag>();
o.add(buildSetupTag());
o.add(buildSetupTag());
return o;
}
-checkUnnamed1403(core.List<api.SetupTag> o) {
+checkUnnamed1412(core.List<api.SetupTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkSetupTag(o[0]);
checkSetupTag(o[1]);
}
-buildUnnamed1404() {
+buildUnnamed1413() {
var o = new core.List<api.TeardownTag>();
o.add(buildTeardownTag());
o.add(buildTeardownTag());
return o;
}
-checkUnnamed1404(core.List<api.TeardownTag> o) {
+checkUnnamed1413(core.List<api.TeardownTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeardownTag(o[0]);
checkTeardownTag(o[1]);
@@ -1507,27 +1507,27 @@
buildCounterTag++;
if (buildCounterTag < 3) {
o.accountId = "foo";
- o.blockingRuleId = buildUnnamed1398();
- o.blockingTriggerId = buildUnnamed1399();
+ o.blockingRuleId = buildUnnamed1407();
+ o.blockingTriggerId = buildUnnamed1408();
o.containerId = "foo";
o.fingerprint = "foo";
- o.firingRuleId = buildUnnamed1400();
- o.firingTriggerId = buildUnnamed1401();
+ o.firingRuleId = buildUnnamed1409();
+ o.firingTriggerId = buildUnnamed1410();
o.liveOnly = true;
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed1402();
+ o.parameter = buildUnnamed1411();
o.parentFolderId = "foo";
o.path = "foo";
o.paused = true;
o.priority = buildParameter();
o.scheduleEndMs = "foo";
o.scheduleStartMs = "foo";
- o.setupTag = buildUnnamed1403();
+ o.setupTag = buildUnnamed1412();
o.tagFiringOption = "foo";
o.tagId = "foo";
o.tagManagerUrl = "foo";
- o.teardownTag = buildUnnamed1404();
+ o.teardownTag = buildUnnamed1413();
o.type = "foo";
o.workspaceId = "foo";
}
@@ -1539,27 +1539,27 @@
buildCounterTag++;
if (buildCounterTag < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1398(o.blockingRuleId);
- checkUnnamed1399(o.blockingTriggerId);
+ checkUnnamed1407(o.blockingRuleId);
+ checkUnnamed1408(o.blockingTriggerId);
unittest.expect(o.containerId, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1400(o.firingRuleId);
- checkUnnamed1401(o.firingTriggerId);
+ checkUnnamed1409(o.firingRuleId);
+ checkUnnamed1410(o.firingTriggerId);
unittest.expect(o.liveOnly, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1402(o.parameter);
+ checkUnnamed1411(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'));
- checkUnnamed1403(o.setupTag);
+ checkUnnamed1412(o.setupTag);
unittest.expect(o.tagFiringOption, unittest.equals('foo'));
unittest.expect(o.tagId, unittest.equals('foo'));
unittest.expect(o.tagManagerUrl, unittest.equals('foo'));
- checkUnnamed1404(o.teardownTag);
+ checkUnnamed1413(o.teardownTag);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.workspaceId, unittest.equals('foo'));
}
@@ -1608,53 +1608,53 @@
buildCounterTimestamp--;
}
-buildUnnamed1405() {
+buildUnnamed1414() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1405(core.List<api.Condition> o) {
+checkUnnamed1414(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1406() {
+buildUnnamed1415() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1406(core.List<api.Condition> o) {
+checkUnnamed1415(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1407() {
+buildUnnamed1416() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1407(core.List<api.Condition> o) {
+checkUnnamed1416(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1408() {
+buildUnnamed1417() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1408(core.List<api.Parameter> o) {
+checkUnnamed1417(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -1666,13 +1666,13 @@
buildCounterTrigger++;
if (buildCounterTrigger < 3) {
o.accountId = "foo";
- o.autoEventFilter = buildUnnamed1405();
+ o.autoEventFilter = buildUnnamed1414();
o.checkValidation = buildParameter();
o.containerId = "foo";
o.continuousTimeMinMilliseconds = buildParameter();
- o.customEventFilter = buildUnnamed1406();
+ o.customEventFilter = buildUnnamed1415();
o.eventName = buildParameter();
- o.filter = buildUnnamed1407();
+ o.filter = buildUnnamed1416();
o.fingerprint = "foo";
o.horizontalScrollPercentageList = buildParameter();
o.interval = buildParameter();
@@ -1681,7 +1681,7 @@
o.maxTimerLengthSeconds = buildParameter();
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed1408();
+ o.parameter = buildUnnamed1417();
o.parentFolderId = "foo";
o.path = "foo";
o.selector = buildParameter();
@@ -1706,13 +1706,13 @@
buildCounterTrigger++;
if (buildCounterTrigger < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1405(o.autoEventFilter);
+ checkUnnamed1414(o.autoEventFilter);
checkParameter(o.checkValidation);
unittest.expect(o.containerId, unittest.equals('foo'));
checkParameter(o.continuousTimeMinMilliseconds);
- checkUnnamed1406(o.customEventFilter);
+ checkUnnamed1415(o.customEventFilter);
checkParameter(o.eventName);
- checkUnnamed1407(o.filter);
+ checkUnnamed1416(o.filter);
unittest.expect(o.fingerprint, unittest.equals('foo'));
checkParameter(o.horizontalScrollPercentageList);
checkParameter(o.interval);
@@ -1721,7 +1721,7 @@
checkParameter(o.maxTimerLengthSeconds);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1408(o.parameter);
+ checkUnnamed1417(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
checkParameter(o.selector);
@@ -1741,14 +1741,14 @@
buildCounterTrigger--;
}
-buildUnnamed1409() {
+buildUnnamed1418() {
var o = new core.List<api.WorkspaceProposalUser>();
o.add(buildWorkspaceProposalUser());
o.add(buildWorkspaceProposalUser());
return o;
}
-checkUnnamed1409(core.List<api.WorkspaceProposalUser> o) {
+checkUnnamed1418(core.List<api.WorkspaceProposalUser> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkspaceProposalUser(o[0]);
checkWorkspaceProposalUser(o[1]);
@@ -1761,7 +1761,7 @@
if (buildCounterUpdateWorkspaceProposalRequest < 3) {
o.fingerprint = "foo";
o.newComment = buildWorkspaceProposalHistoryComment();
- o.reviewers = buildUnnamed1409();
+ o.reviewers = buildUnnamed1418();
o.status = "foo";
}
buildCounterUpdateWorkspaceProposalRequest--;
@@ -1773,20 +1773,20 @@
if (buildCounterUpdateWorkspaceProposalRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
checkWorkspaceProposalHistoryComment(o.newComment);
- checkUnnamed1409(o.reviewers);
+ checkUnnamed1418(o.reviewers);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterUpdateWorkspaceProposalRequest--;
}
-buildUnnamed1410() {
+buildUnnamed1419() {
var o = new core.List<api.ContainerAccess>();
o.add(buildContainerAccess());
o.add(buildContainerAccess());
return o;
}
-checkUnnamed1410(core.List<api.ContainerAccess> o) {
+checkUnnamed1419(core.List<api.ContainerAccess> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerAccess(o[0]);
checkContainerAccess(o[1]);
@@ -1799,7 +1799,7 @@
if (buildCounterUserPermission < 3) {
o.accountAccess = buildAccountAccess();
o.accountId = "foo";
- o.containerAccess = buildUnnamed1410();
+ o.containerAccess = buildUnnamed1419();
o.emailAddress = "foo";
o.path = "foo";
}
@@ -1812,47 +1812,47 @@
if (buildCounterUserPermission < 3) {
checkAccountAccess(o.accountAccess);
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1410(o.containerAccess);
+ checkUnnamed1419(o.containerAccess);
unittest.expect(o.emailAddress, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
}
buildCounterUserPermission--;
}
-buildUnnamed1411() {
+buildUnnamed1420() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1411(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'));
}
-buildUnnamed1412() {
+buildUnnamed1421() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1412(core.List<core.String> o) {
+checkUnnamed1421(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1413() {
+buildUnnamed1422() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1413(core.List<api.Parameter> o) {
+checkUnnamed1422(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -1865,12 +1865,12 @@
if (buildCounterVariable < 3) {
o.accountId = "foo";
o.containerId = "foo";
- o.disablingTriggerId = buildUnnamed1411();
- o.enablingTriggerId = buildUnnamed1412();
+ o.disablingTriggerId = buildUnnamed1420();
+ o.enablingTriggerId = buildUnnamed1421();
o.fingerprint = "foo";
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed1413();
+ o.parameter = buildUnnamed1422();
o.parentFolderId = "foo";
o.path = "foo";
o.scheduleEndMs = "foo";
@@ -1889,12 +1889,12 @@
if (buildCounterVariable < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1411(o.disablingTriggerId);
- checkUnnamed1412(o.enablingTriggerId);
+ checkUnnamed1420(o.disablingTriggerId);
+ checkUnnamed1421(o.enablingTriggerId);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1413(o.parameter);
+ checkUnnamed1422(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
@@ -1940,40 +1940,40 @@
buildCounterWorkspace--;
}
-buildUnnamed1414() {
+buildUnnamed1423() {
var o = new core.List<api.WorkspaceProposalUser>();
o.add(buildWorkspaceProposalUser());
o.add(buildWorkspaceProposalUser());
return o;
}
-checkUnnamed1414(core.List<api.WorkspaceProposalUser> o) {
+checkUnnamed1423(core.List<api.WorkspaceProposalUser> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkspaceProposalUser(o[0]);
checkWorkspaceProposalUser(o[1]);
}
-buildUnnamed1415() {
+buildUnnamed1424() {
var o = new core.List<api.WorkspaceProposalHistory>();
o.add(buildWorkspaceProposalHistory());
o.add(buildWorkspaceProposalHistory());
return o;
}
-checkUnnamed1415(core.List<api.WorkspaceProposalHistory> o) {
+checkUnnamed1424(core.List<api.WorkspaceProposalHistory> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkspaceProposalHistory(o[0]);
checkWorkspaceProposalHistory(o[1]);
}
-buildUnnamed1416() {
+buildUnnamed1425() {
var o = new core.List<api.WorkspaceProposalUser>();
o.add(buildWorkspaceProposalUser());
o.add(buildWorkspaceProposalUser());
return o;
}
-checkUnnamed1416(core.List<api.WorkspaceProposalUser> o) {
+checkUnnamed1425(core.List<api.WorkspaceProposalUser> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkspaceProposalUser(o[0]);
checkWorkspaceProposalUser(o[1]);
@@ -1984,11 +1984,11 @@
var o = new api.WorkspaceProposal();
buildCounterWorkspaceProposal++;
if (buildCounterWorkspaceProposal < 3) {
- o.authors = buildUnnamed1414();
+ o.authors = buildUnnamed1423();
o.fingerprint = "foo";
- o.history = buildUnnamed1415();
+ o.history = buildUnnamed1424();
o.path = "foo";
- o.reviewers = buildUnnamed1416();
+ o.reviewers = buildUnnamed1425();
o.status = "foo";
}
buildCounterWorkspaceProposal--;
@@ -1998,11 +1998,11 @@
checkWorkspaceProposal(api.WorkspaceProposal o) {
buildCounterWorkspaceProposal++;
if (buildCounterWorkspaceProposal < 3) {
- checkUnnamed1414(o.authors);
+ checkUnnamed1423(o.authors);
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1415(o.history);
+ checkUnnamed1424(o.history);
unittest.expect(o.path, unittest.equals('foo'));
- checkUnnamed1416(o.reviewers);
+ checkUnnamed1425(o.reviewers);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterWorkspaceProposal--;
@@ -2097,14 +2097,14 @@
buildCounterWorkspaceProposalUser--;
}
-buildUnnamed1417() {
+buildUnnamed1426() {
var o = new core.List<api.ZoneChildContainer>();
o.add(buildZoneChildContainer());
o.add(buildZoneChildContainer());
return o;
}
-checkUnnamed1417(core.List<api.ZoneChildContainer> o) {
+checkUnnamed1426(core.List<api.ZoneChildContainer> o) {
unittest.expect(o, unittest.hasLength(2));
checkZoneChildContainer(o[0]);
checkZoneChildContainer(o[1]);
@@ -2117,7 +2117,7 @@
if (buildCounterZone < 3) {
o.accountId = "foo";
o.boundary = buildZoneBoundary();
- o.childContainer = buildUnnamed1417();
+ o.childContainer = buildUnnamed1426();
o.containerId = "foo";
o.fingerprint = "foo";
o.name = "foo";
@@ -2137,7 +2137,7 @@
if (buildCounterZone < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
checkZoneBoundary(o.boundary);
- checkUnnamed1417(o.childContainer);
+ checkUnnamed1426(o.childContainer);
unittest.expect(o.containerId, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -2151,27 +2151,27 @@
buildCounterZone--;
}
-buildUnnamed1418() {
+buildUnnamed1427() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1418(core.List<api.Condition> o) {
+checkUnnamed1427(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1419() {
+buildUnnamed1428() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1419(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'));
@@ -2182,8 +2182,8 @@
var o = new api.ZoneBoundary();
buildCounterZoneBoundary++;
if (buildCounterZoneBoundary < 3) {
- o.condition = buildUnnamed1418();
- o.customEvaluationTriggerId = buildUnnamed1419();
+ o.condition = buildUnnamed1427();
+ o.customEvaluationTriggerId = buildUnnamed1428();
}
buildCounterZoneBoundary--;
return o;
@@ -2192,8 +2192,8 @@
checkZoneBoundary(api.ZoneBoundary o) {
buildCounterZoneBoundary++;
if (buildCounterZoneBoundary < 3) {
- checkUnnamed1418(o.condition);
- checkUnnamed1419(o.customEvaluationTriggerId);
+ checkUnnamed1427(o.condition);
+ checkUnnamed1428(o.customEvaluationTriggerId);
}
buildCounterZoneBoundary--;
}
@@ -2219,14 +2219,14 @@
buildCounterZoneChildContainer--;
}
-buildUnnamed1420() {
+buildUnnamed1429() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1420(core.List<core.String> o) {
+checkUnnamed1429(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2238,7 +2238,7 @@
buildCounterZoneTypeRestriction++;
if (buildCounterZoneTypeRestriction < 3) {
o.enable = true;
- o.whitelistedTypeId = buildUnnamed1420();
+ o.whitelistedTypeId = buildUnnamed1429();
}
buildCounterZoneTypeRestriction--;
return o;
@@ -2248,71 +2248,71 @@
buildCounterZoneTypeRestriction++;
if (buildCounterZoneTypeRestriction < 3) {
unittest.expect(o.enable, unittest.isTrue);
- checkUnnamed1420(o.whitelistedTypeId);
+ checkUnnamed1429(o.whitelistedTypeId);
}
buildCounterZoneTypeRestriction--;
}
-buildUnnamed1421() {
+buildUnnamed1430() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1421(core.List<core.String> o) {
+checkUnnamed1430(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1422() {
+buildUnnamed1431() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1422(core.List<core.String> o) {
+checkUnnamed1431(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1423() {
+buildUnnamed1432() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1423(core.List<core.String> o) {
+checkUnnamed1432(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1424() {
+buildUnnamed1433() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1424(core.List<core.String> o) {
+checkUnnamed1433(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1425() {
+buildUnnamed1434() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1425(core.List<core.String> o) {
+checkUnnamed1434(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4629,7 +4629,7 @@
.workspaces
.builtInVariables;
var arg_parent = "foo";
- var arg_type = buildUnnamed1421();
+ var arg_type = buildUnnamed1430();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4682,7 +4682,7 @@
.workspaces
.builtInVariables;
var arg_path = "foo";
- var arg_type = buildUnnamed1422();
+ var arg_type = buildUnnamed1431();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5090,9 +5090,9 @@
new api.TagmanagerApi(mock).accounts.containers.workspaces.folders;
var arg_request = buildFolder();
var arg_path = "foo";
- var arg_tagId = buildUnnamed1423();
- var arg_triggerId = buildUnnamed1424();
- var arg_variableId = buildUnnamed1425();
+ var arg_tagId = buildUnnamed1432();
+ var arg_triggerId = buildUnnamed1433();
+ var arg_variableId = buildUnnamed1434();
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 ee9d67e..d577149 100644
--- a/generated/googleapis/test/tasks/v1_test.dart
+++ b/generated/googleapis/test/tasks/v1_test.dart
@@ -73,14 +73,14 @@
buildCounterTaskLinks--;
}
-buildUnnamed3165() {
+buildUnnamed3184() {
var o = new core.List<api.TaskLinks>();
o.add(buildTaskLinks());
o.add(buildTaskLinks());
return o;
}
-checkUnnamed3165(core.List<api.TaskLinks> o) {
+checkUnnamed3184(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 = buildUnnamed3165();
+ o.links = buildUnnamed3184();
o.notes = "foo";
o.parent = "foo";
o.position = "foo";
@@ -123,7 +123,7 @@
unittest.expect(o.hidden, unittest.isTrue);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3165(o.links);
+ checkUnnamed3184(o.links);
unittest.expect(o.notes, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
unittest.expect(o.position, unittest.equals('foo'));
@@ -166,14 +166,14 @@
buildCounterTaskList--;
}
-buildUnnamed3166() {
+buildUnnamed3185() {
var o = new core.List<api.TaskList>();
o.add(buildTaskList());
o.add(buildTaskList());
return o;
}
-checkUnnamed3166(core.List<api.TaskList> o) {
+checkUnnamed3185(core.List<api.TaskList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTaskList(o[0]);
checkTaskList(o[1]);
@@ -185,7 +185,7 @@
buildCounterTaskLists++;
if (buildCounterTaskLists < 3) {
o.etag = "foo";
- o.items = buildUnnamed3166();
+ o.items = buildUnnamed3185();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -197,21 +197,21 @@
buildCounterTaskLists++;
if (buildCounterTaskLists < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3166(o.items);
+ checkUnnamed3185(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterTaskLists--;
}
-buildUnnamed3167() {
+buildUnnamed3186() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed3167(core.List<api.Task> o) {
+checkUnnamed3186(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -223,7 +223,7 @@
buildCounterTasks++;
if (buildCounterTasks < 3) {
o.etag = "foo";
- o.items = buildUnnamed3167();
+ o.items = buildUnnamed3186();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -235,7 +235,7 @@
buildCounterTasks++;
if (buildCounterTasks < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3167(o.items);
+ checkUnnamed3186(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
diff --git a/generated/googleapis/test/testing/v1_test.dart b/generated/googleapis/test/testing/v1_test.dart
index c8d199e..9b0588a 100644
--- a/generated/googleapis/test/testing/v1_test.dart
+++ b/generated/googleapis/test/testing/v1_test.dart
@@ -94,27 +94,27 @@
buildCounterAndroidDevice--;
}
-buildUnnamed3129() {
+buildUnnamed3148() {
var o = new core.List<api.AndroidModel>();
o.add(buildAndroidModel());
o.add(buildAndroidModel());
return o;
}
-checkUnnamed3129(core.List<api.AndroidModel> o) {
+checkUnnamed3148(core.List<api.AndroidModel> o) {
unittest.expect(o, unittest.hasLength(2));
checkAndroidModel(o[0]);
checkAndroidModel(o[1]);
}
-buildUnnamed3130() {
+buildUnnamed3149() {
var o = new core.List<api.AndroidVersion>();
o.add(buildAndroidVersion());
o.add(buildAndroidVersion());
return o;
}
-checkUnnamed3130(core.List<api.AndroidVersion> o) {
+checkUnnamed3149(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 = buildUnnamed3129();
+ o.models = buildUnnamed3148();
o.runtimeConfiguration = buildAndroidRuntimeConfiguration();
- o.versions = buildUnnamed3130();
+ o.versions = buildUnnamed3149();
}
buildCounterAndroidDeviceCatalog--;
return o;
@@ -136,21 +136,21 @@
checkAndroidDeviceCatalog(api.AndroidDeviceCatalog o) {
buildCounterAndroidDeviceCatalog++;
if (buildCounterAndroidDeviceCatalog < 3) {
- checkUnnamed3129(o.models);
+ checkUnnamed3148(o.models);
checkAndroidRuntimeConfiguration(o.runtimeConfiguration);
- checkUnnamed3130(o.versions);
+ checkUnnamed3149(o.versions);
}
buildCounterAndroidDeviceCatalog--;
}
-buildUnnamed3131() {
+buildUnnamed3150() {
var o = new core.List<api.AndroidDevice>();
o.add(buildAndroidDevice());
o.add(buildAndroidDevice());
return o;
}
-checkUnnamed3131(core.List<api.AndroidDevice> o) {
+checkUnnamed3150(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 = buildUnnamed3131();
+ o.androidDevices = buildUnnamed3150();
}
buildCounterAndroidDeviceList--;
return o;
@@ -170,19 +170,19 @@
checkAndroidDeviceList(api.AndroidDeviceList o) {
buildCounterAndroidDeviceList++;
if (buildCounterAndroidDeviceList < 3) {
- checkUnnamed3131(o.androidDevices);
+ checkUnnamed3150(o.androidDevices);
}
buildCounterAndroidDeviceList--;
}
-buildUnnamed3132() {
+buildUnnamed3151() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3132(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'));
@@ -199,7 +199,7 @@
o.testApk = buildFileReference();
o.testPackageId = "foo";
o.testRunnerClass = "foo";
- o.testTargets = buildUnnamed3132();
+ o.testTargets = buildUnnamed3151();
}
buildCounterAndroidInstrumentationTest--;
return o;
@@ -214,58 +214,58 @@
checkFileReference(o.testApk);
unittest.expect(o.testPackageId, unittest.equals('foo'));
unittest.expect(o.testRunnerClass, unittest.equals('foo'));
- checkUnnamed3132(o.testTargets);
+ checkUnnamed3151(o.testTargets);
}
buildCounterAndroidInstrumentationTest--;
}
-buildUnnamed3133() {
+buildUnnamed3152() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3133(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'));
}
-buildUnnamed3134() {
+buildUnnamed3153() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3134(core.List<core.String> o) {
+checkUnnamed3153(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3135() {
+buildUnnamed3154() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3135(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'));
}
-buildUnnamed3136() {
+buildUnnamed3155() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3136(core.List<core.String> o) {
+checkUnnamed3155(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -276,10 +276,10 @@
var o = new api.AndroidMatrix();
buildCounterAndroidMatrix++;
if (buildCounterAndroidMatrix < 3) {
- o.androidModelIds = buildUnnamed3133();
- o.androidVersionIds = buildUnnamed3134();
- o.locales = buildUnnamed3135();
- o.orientations = buildUnnamed3136();
+ o.androidModelIds = buildUnnamed3152();
+ o.androidVersionIds = buildUnnamed3153();
+ o.locales = buildUnnamed3154();
+ o.orientations = buildUnnamed3155();
}
buildCounterAndroidMatrix--;
return o;
@@ -288,48 +288,48 @@
checkAndroidMatrix(api.AndroidMatrix o) {
buildCounterAndroidMatrix++;
if (buildCounterAndroidMatrix < 3) {
- checkUnnamed3133(o.androidModelIds);
- checkUnnamed3134(o.androidVersionIds);
- checkUnnamed3135(o.locales);
- checkUnnamed3136(o.orientations);
+ checkUnnamed3152(o.androidModelIds);
+ checkUnnamed3153(o.androidVersionIds);
+ checkUnnamed3154(o.locales);
+ checkUnnamed3155(o.orientations);
}
buildCounterAndroidMatrix--;
}
-buildUnnamed3137() {
+buildUnnamed3156() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3137(core.List<core.String> o) {
+checkUnnamed3156(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3138() {
+buildUnnamed3157() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3138(core.List<core.String> o) {
+checkUnnamed3157(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3139() {
+buildUnnamed3158() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3139(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'));
@@ -349,9 +349,9 @@
o.screenDensity = 42;
o.screenX = 42;
o.screenY = 42;
- o.supportedAbis = buildUnnamed3137();
- o.supportedVersionIds = buildUnnamed3138();
- o.tags = buildUnnamed3139();
+ o.supportedAbis = buildUnnamed3156();
+ o.supportedVersionIds = buildUnnamed3157();
+ o.tags = buildUnnamed3158();
}
buildCounterAndroidModel--;
return o;
@@ -369,21 +369,21 @@
unittest.expect(o.screenDensity, unittest.equals(42));
unittest.expect(o.screenX, unittest.equals(42));
unittest.expect(o.screenY, unittest.equals(42));
- checkUnnamed3137(o.supportedAbis);
- checkUnnamed3138(o.supportedVersionIds);
- checkUnnamed3139(o.tags);
+ checkUnnamed3156(o.supportedAbis);
+ checkUnnamed3157(o.supportedVersionIds);
+ checkUnnamed3158(o.tags);
}
buildCounterAndroidModel--;
}
-buildUnnamed3140() {
+buildUnnamed3159() {
var o = new core.List<api.RoboDirective>();
o.add(buildRoboDirective());
o.add(buildRoboDirective());
return o;
}
-checkUnnamed3140(core.List<api.RoboDirective> o) {
+checkUnnamed3159(core.List<api.RoboDirective> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoboDirective(o[0]);
checkRoboDirective(o[1]);
@@ -399,7 +399,7 @@
o.appPackageId = "foo";
o.maxDepth = 42;
o.maxSteps = 42;
- o.roboDirectives = buildUnnamed3140();
+ o.roboDirectives = buildUnnamed3159();
}
buildCounterAndroidRoboTest--;
return o;
@@ -413,32 +413,32 @@
unittest.expect(o.appPackageId, unittest.equals('foo'));
unittest.expect(o.maxDepth, unittest.equals(42));
unittest.expect(o.maxSteps, unittest.equals(42));
- checkUnnamed3140(o.roboDirectives);
+ checkUnnamed3159(o.roboDirectives);
}
buildCounterAndroidRoboTest--;
}
-buildUnnamed3141() {
+buildUnnamed3160() {
var o = new core.List<api.Locale>();
o.add(buildLocale());
o.add(buildLocale());
return o;
}
-checkUnnamed3141(core.List<api.Locale> o) {
+checkUnnamed3160(core.List<api.Locale> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocale(o[0]);
checkLocale(o[1]);
}
-buildUnnamed3142() {
+buildUnnamed3161() {
var o = new core.List<api.Orientation>();
o.add(buildOrientation());
o.add(buildOrientation());
return o;
}
-checkUnnamed3142(core.List<api.Orientation> o) {
+checkUnnamed3161(core.List<api.Orientation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrientation(o[0]);
checkOrientation(o[1]);
@@ -449,8 +449,8 @@
var o = new api.AndroidRuntimeConfiguration();
buildCounterAndroidRuntimeConfiguration++;
if (buildCounterAndroidRuntimeConfiguration < 3) {
- o.locales = buildUnnamed3141();
- o.orientations = buildUnnamed3142();
+ o.locales = buildUnnamed3160();
+ o.orientations = buildUnnamed3161();
}
buildCounterAndroidRuntimeConfiguration--;
return o;
@@ -459,33 +459,33 @@
checkAndroidRuntimeConfiguration(api.AndroidRuntimeConfiguration o) {
buildCounterAndroidRuntimeConfiguration++;
if (buildCounterAndroidRuntimeConfiguration < 3) {
- checkUnnamed3141(o.locales);
- checkUnnamed3142(o.orientations);
+ checkUnnamed3160(o.locales);
+ checkUnnamed3161(o.orientations);
}
buildCounterAndroidRuntimeConfiguration--;
}
-buildUnnamed3143() {
+buildUnnamed3162() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3143(core.List<core.String> o) {
+checkUnnamed3162(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3144() {
+buildUnnamed3163() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed3144(core.List<core.int> o) {
+checkUnnamed3163(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));
@@ -498,8 +498,8 @@
if (buildCounterAndroidTestLoop < 3) {
o.appApk = buildFileReference();
o.appPackageId = "foo";
- o.scenarioLabels = buildUnnamed3143();
- o.scenarios = buildUnnamed3144();
+ o.scenarioLabels = buildUnnamed3162();
+ o.scenarios = buildUnnamed3163();
}
buildCounterAndroidTestLoop--;
return o;
@@ -510,20 +510,20 @@
if (buildCounterAndroidTestLoop < 3) {
checkFileReference(o.appApk);
unittest.expect(o.appPackageId, unittest.equals('foo'));
- checkUnnamed3143(o.scenarioLabels);
- checkUnnamed3144(o.scenarios);
+ checkUnnamed3162(o.scenarioLabels);
+ checkUnnamed3163(o.scenarios);
}
buildCounterAndroidTestLoop--;
}
-buildUnnamed3145() {
+buildUnnamed3164() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3145(core.List<core.String> o) {
+checkUnnamed3164(core.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 @@
o.distribution = buildDistribution();
o.id = "foo";
o.releaseDate = buildDate();
- o.tags = buildUnnamed3145();
+ o.tags = buildUnnamed3164();
o.versionString = "foo";
}
buildCounterAndroidVersion--;
@@ -554,7 +554,7 @@
checkDistribution(o.distribution);
unittest.expect(o.id, unittest.equals('foo'));
checkDate(o.releaseDate);
- checkUnnamed3145(o.tags);
+ checkUnnamed3164(o.tags);
unittest.expect(o.versionString, unittest.equals('foo'));
}
buildCounterAndroidVersion--;
@@ -579,14 +579,14 @@
buildCounterCancelTestMatrixResponse--;
}
-buildUnnamed3146() {
+buildUnnamed3165() {
var o = new core.List<api.ClientInfoDetail>();
o.add(buildClientInfoDetail());
o.add(buildClientInfoDetail());
return o;
}
-checkUnnamed3146(core.List<api.ClientInfoDetail> o) {
+checkUnnamed3165(core.List<api.ClientInfoDetail> o) {
unittest.expect(o, unittest.hasLength(2));
checkClientInfoDetail(o[0]);
checkClientInfoDetail(o[1]);
@@ -597,7 +597,7 @@
var o = new api.ClientInfo();
buildCounterClientInfo++;
if (buildCounterClientInfo < 3) {
- o.clientInfoDetails = buildUnnamed3146();
+ o.clientInfoDetails = buildUnnamed3165();
o.name = "foo";
}
buildCounterClientInfo--;
@@ -607,7 +607,7 @@
checkClientInfo(api.ClientInfo o) {
buildCounterClientInfo++;
if (buildCounterClientInfo < 3) {
- checkUnnamed3146(o.clientInfoDetails);
+ checkUnnamed3165(o.clientInfoDetails);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterClientInfo--;
@@ -811,14 +811,14 @@
buildCounterGoogleCloudStorage--;
}
-buildUnnamed3147() {
+buildUnnamed3166() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3147(core.List<core.String> o) {
+checkUnnamed3166(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -832,7 +832,7 @@
o.id = "foo";
o.name = "foo";
o.region = "foo";
- o.tags = buildUnnamed3147();
+ o.tags = buildUnnamed3166();
}
buildCounterLocale--;
return o;
@@ -844,7 +844,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed3147(o.tags);
+ checkUnnamed3166(o.tags);
}
buildCounterLocale--;
}
@@ -872,14 +872,14 @@
buildCounterNetworkConfiguration--;
}
-buildUnnamed3148() {
+buildUnnamed3167() {
var o = new core.List<api.NetworkConfiguration>();
o.add(buildNetworkConfiguration());
o.add(buildNetworkConfiguration());
return o;
}
-checkUnnamed3148(core.List<api.NetworkConfiguration> o) {
+checkUnnamed3167(core.List<api.NetworkConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkConfiguration(o[0]);
checkNetworkConfiguration(o[1]);
@@ -890,7 +890,7 @@
var o = new api.NetworkConfigurationCatalog();
buildCounterNetworkConfigurationCatalog++;
if (buildCounterNetworkConfigurationCatalog < 3) {
- o.configurations = buildUnnamed3148();
+ o.configurations = buildUnnamed3167();
}
buildCounterNetworkConfigurationCatalog--;
return o;
@@ -899,7 +899,7 @@
checkNetworkConfigurationCatalog(api.NetworkConfigurationCatalog o) {
buildCounterNetworkConfigurationCatalog++;
if (buildCounterNetworkConfigurationCatalog < 3) {
- checkUnnamed3148(o.configurations);
+ checkUnnamed3167(o.configurations);
}
buildCounterNetworkConfigurationCatalog--;
}
@@ -925,14 +925,14 @@
buildCounterObbFile--;
}
-buildUnnamed3149() {
+buildUnnamed3168() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3149(core.List<core.String> o) {
+checkUnnamed3168(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -945,7 +945,7 @@
if (buildCounterOrientation < 3) {
o.id = "foo";
o.name = "foo";
- o.tags = buildUnnamed3149();
+ o.tags = buildUnnamed3168();
}
buildCounterOrientation--;
return o;
@@ -956,7 +956,7 @@
if (buildCounterOrientation < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3149(o.tags);
+ checkUnnamed3168(o.tags);
}
buildCounterOrientation--;
}
@@ -1007,14 +1007,14 @@
buildCounterRoboDirective--;
}
-buildUnnamed3150() {
+buildUnnamed3169() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3150(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'));
@@ -1026,7 +1026,7 @@
buildCounterTestDetails++;
if (buildCounterTestDetails < 3) {
o.errorMessage = "foo";
- o.progressMessages = buildUnnamed3150();
+ o.progressMessages = buildUnnamed3169();
}
buildCounterTestDetails--;
return o;
@@ -1036,7 +1036,7 @@
buildCounterTestDetails++;
if (buildCounterTestDetails < 3) {
unittest.expect(o.errorMessage, unittest.equals('foo'));
- checkUnnamed3150(o.progressMessages);
+ checkUnnamed3169(o.progressMessages);
}
buildCounterTestDetails--;
}
@@ -1097,14 +1097,14 @@
buildCounterTestExecution--;
}
-buildUnnamed3151() {
+buildUnnamed3170() {
var o = new core.List<api.TestExecution>();
o.add(buildTestExecution());
o.add(buildTestExecution());
return o;
}
-checkUnnamed3151(core.List<api.TestExecution> o) {
+checkUnnamed3170(core.List<api.TestExecution> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestExecution(o[0]);
checkTestExecution(o[1]);
@@ -1121,7 +1121,7 @@
o.projectId = "foo";
o.resultStorage = buildResultStorage();
o.state = "foo";
- o.testExecutions = buildUnnamed3151();
+ o.testExecutions = buildUnnamed3170();
o.testMatrixId = "foo";
o.testSpecification = buildTestSpecification();
o.timestamp = "foo";
@@ -1139,7 +1139,7 @@
unittest.expect(o.projectId, unittest.equals('foo'));
checkResultStorage(o.resultStorage);
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed3151(o.testExecutions);
+ checkUnnamed3170(o.testExecutions);
unittest.expect(o.testMatrixId, unittest.equals('foo'));
checkTestSpecification(o.testSpecification);
unittest.expect(o.timestamp, unittest.equals('foo'));
@@ -1147,40 +1147,40 @@
buildCounterTestMatrix--;
}
-buildUnnamed3152() {
+buildUnnamed3171() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3152(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'));
}
-buildUnnamed3153() {
+buildUnnamed3172() {
var o = new core.List<api.EnvironmentVariable>();
o.add(buildEnvironmentVariable());
o.add(buildEnvironmentVariable());
return o;
}
-checkUnnamed3153(core.List<api.EnvironmentVariable> o) {
+checkUnnamed3172(core.List<api.EnvironmentVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnvironmentVariable(o[0]);
checkEnvironmentVariable(o[1]);
}
-buildUnnamed3154() {
+buildUnnamed3173() {
var o = new core.List<api.DeviceFile>();
o.add(buildDeviceFile());
o.add(buildDeviceFile());
return o;
}
-checkUnnamed3154(core.List<api.DeviceFile> o) {
+checkUnnamed3173(core.List<api.DeviceFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeviceFile(o[0]);
checkDeviceFile(o[1]);
@@ -1192,9 +1192,9 @@
buildCounterTestSetup++;
if (buildCounterTestSetup < 3) {
o.account = buildAccount();
- o.directoriesToPull = buildUnnamed3152();
- o.environmentVariables = buildUnnamed3153();
- o.filesToPush = buildUnnamed3154();
+ o.directoriesToPull = buildUnnamed3171();
+ o.environmentVariables = buildUnnamed3172();
+ o.filesToPush = buildUnnamed3173();
o.networkProfile = "foo";
}
buildCounterTestSetup--;
@@ -1205,9 +1205,9 @@
buildCounterTestSetup++;
if (buildCounterTestSetup < 3) {
checkAccount(o.account);
- checkUnnamed3152(o.directoriesToPull);
- checkUnnamed3153(o.environmentVariables);
- checkUnnamed3154(o.filesToPush);
+ checkUnnamed3171(o.directoriesToPull);
+ checkUnnamed3172(o.environmentVariables);
+ checkUnnamed3173(o.filesToPush);
unittest.expect(o.networkProfile, unittest.equals('foo'));
}
buildCounterTestSetup--;
diff --git a/generated/googleapis/test/translate/v2_test.dart b/generated/googleapis/test/translate/v2_test.dart
index e15b7d7..e66fb0c 100644
--- a/generated/googleapis/test/translate/v2_test.dart
+++ b/generated/googleapis/test/translate/v2_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed789() {
+buildUnnamed796() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed789(core.List<core.String> o) {
+checkUnnamed796(core.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.DetectLanguageRequest();
buildCounterDetectLanguageRequest++;
if (buildCounterDetectLanguageRequest < 3) {
- o.q = buildUnnamed789();
+ o.q = buildUnnamed796();
}
buildCounterDetectLanguageRequest--;
return o;
@@ -77,19 +77,19 @@
checkDetectLanguageRequest(api.DetectLanguageRequest o) {
buildCounterDetectLanguageRequest++;
if (buildCounterDetectLanguageRequest < 3) {
- checkUnnamed789(o.q);
+ checkUnnamed796(o.q);
}
buildCounterDetectLanguageRequest--;
}
-buildUnnamed790() {
+buildUnnamed797() {
var o = new core.List<api.DetectionsResource>();
o.add(buildDetectionsResource());
o.add(buildDetectionsResource());
return o;
}
-checkUnnamed790(core.List<api.DetectionsResource> o) {
+checkUnnamed797(core.List<api.DetectionsResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkDetectionsResource(o[0]);
checkDetectionsResource(o[1]);
@@ -100,7 +100,7 @@
var o = new api.DetectionsListResponse();
buildCounterDetectionsListResponse++;
if (buildCounterDetectionsListResponse < 3) {
- o.detections = buildUnnamed790();
+ o.detections = buildUnnamed797();
}
buildCounterDetectionsListResponse--;
return o;
@@ -109,7 +109,7 @@
checkDetectionsListResponse(api.DetectionsListResponse o) {
buildCounterDetectionsListResponse++;
if (buildCounterDetectionsListResponse < 3) {
- checkUnnamed790(o.detections);
+ checkUnnamed797(o.detections);
}
buildCounterDetectionsListResponse--;
}
@@ -169,14 +169,14 @@
buildCounterGetSupportedLanguagesRequest--;
}
-buildUnnamed791() {
+buildUnnamed798() {
var o = new core.List<api.LanguagesResource>();
o.add(buildLanguagesResource());
o.add(buildLanguagesResource());
return o;
}
-checkUnnamed791(core.List<api.LanguagesResource> o) {
+checkUnnamed798(core.List<api.LanguagesResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguagesResource(o[0]);
checkLanguagesResource(o[1]);
@@ -187,7 +187,7 @@
var o = new api.LanguagesListResponse();
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
- o.languages = buildUnnamed791();
+ o.languages = buildUnnamed798();
}
buildCounterLanguagesListResponse--;
return o;
@@ -196,7 +196,7 @@
checkLanguagesListResponse(api.LanguagesListResponse o) {
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
- checkUnnamed791(o.languages);
+ checkUnnamed798(o.languages);
}
buildCounterLanguagesListResponse--;
}
@@ -222,14 +222,14 @@
buildCounterLanguagesResource--;
}
-buildUnnamed792() {
+buildUnnamed799() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed792(core.List<core.String> o) {
+checkUnnamed799(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -242,7 +242,7 @@
if (buildCounterTranslateTextRequest < 3) {
o.format = "foo";
o.model = "foo";
- o.q = buildUnnamed792();
+ o.q = buildUnnamed799();
o.source = "foo";
o.target = "foo";
}
@@ -255,21 +255,21 @@
if (buildCounterTranslateTextRequest < 3) {
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.model, unittest.equals('foo'));
- checkUnnamed792(o.q);
+ checkUnnamed799(o.q);
unittest.expect(o.source, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
}
buildCounterTranslateTextRequest--;
}
-buildUnnamed793() {
+buildUnnamed800() {
var o = new core.List<api.TranslationsResource>();
o.add(buildTranslationsResource());
o.add(buildTranslationsResource());
return o;
}
-checkUnnamed793(core.List<api.TranslationsResource> o) {
+checkUnnamed800(core.List<api.TranslationsResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkTranslationsResource(o[0]);
checkTranslationsResource(o[1]);
@@ -280,7 +280,7 @@
var o = new api.TranslationsListResponse();
buildCounterTranslationsListResponse++;
if (buildCounterTranslationsListResponse < 3) {
- o.translations = buildUnnamed793();
+ o.translations = buildUnnamed800();
}
buildCounterTranslationsListResponse--;
return o;
@@ -289,7 +289,7 @@
checkTranslationsListResponse(api.TranslationsListResponse o) {
buildCounterTranslationsListResponse++;
if (buildCounterTranslationsListResponse < 3) {
- checkUnnamed793(o.translations);
+ checkUnnamed800(o.translations);
}
buildCounterTranslationsListResponse--;
}
@@ -317,40 +317,40 @@
buildCounterTranslationsResource--;
}
-buildUnnamed794() {
+buildUnnamed801() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed794(core.List<core.String> o) {
+checkUnnamed801(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed795() {
+buildUnnamed802() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed795(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'));
}
-buildUnnamed796() {
+buildUnnamed803() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed796(core.List<core.String> o) {
+checkUnnamed803(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -497,7 +497,7 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.DetectionsResourceApi res = new api.TranslateApi(mock).detections;
- var arg_q = buildUnnamed794();
+ var arg_q = buildUnnamed801();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -611,10 +611,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.TranslationsResourceApi res = new api.TranslateApi(mock).translations;
- var arg_q = buildUnnamed795();
+ var arg_q = buildUnnamed802();
var arg_target = "foo";
var arg_source = "foo";
- var arg_cid = buildUnnamed796();
+ var arg_cid = buildUnnamed803();
var arg_format = "foo";
var arg_model = "foo";
var arg_$fields = "foo";
diff --git a/generated/googleapis/test/urlshortener/v1_test.dart b/generated/googleapis/test/urlshortener/v1_test.dart
index 78c9813..e2f172a 100644
--- a/generated/googleapis/test/urlshortener/v1_test.dart
+++ b/generated/googleapis/test/urlshortener/v1_test.dart
@@ -50,53 +50,53 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed824() {
+buildUnnamed831() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed824(core.List<api.StringCount> o) {
+checkUnnamed831(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
}
-buildUnnamed825() {
+buildUnnamed832() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed825(core.List<api.StringCount> o) {
+checkUnnamed832(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
}
-buildUnnamed826() {
+buildUnnamed833() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed826(core.List<api.StringCount> o) {
+checkUnnamed833(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
}
-buildUnnamed827() {
+buildUnnamed834() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed827(core.List<api.StringCount> o) {
+checkUnnamed834(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
@@ -107,11 +107,11 @@
var o = new api.AnalyticsSnapshot();
buildCounterAnalyticsSnapshot++;
if (buildCounterAnalyticsSnapshot < 3) {
- o.browsers = buildUnnamed824();
- o.countries = buildUnnamed825();
+ o.browsers = buildUnnamed831();
+ o.countries = buildUnnamed832();
o.longUrlClicks = "foo";
- o.platforms = buildUnnamed826();
- o.referrers = buildUnnamed827();
+ o.platforms = buildUnnamed833();
+ o.referrers = buildUnnamed834();
o.shortUrlClicks = "foo";
}
buildCounterAnalyticsSnapshot--;
@@ -121,11 +121,11 @@
checkAnalyticsSnapshot(api.AnalyticsSnapshot o) {
buildCounterAnalyticsSnapshot++;
if (buildCounterAnalyticsSnapshot < 3) {
- checkUnnamed824(o.browsers);
- checkUnnamed825(o.countries);
+ checkUnnamed831(o.browsers);
+ checkUnnamed832(o.countries);
unittest.expect(o.longUrlClicks, unittest.equals('foo'));
- checkUnnamed826(o.platforms);
- checkUnnamed827(o.referrers);
+ checkUnnamed833(o.platforms);
+ checkUnnamed834(o.referrers);
unittest.expect(o.shortUrlClicks, unittest.equals('foo'));
}
buildCounterAnalyticsSnapshot--;
@@ -208,14 +208,14 @@
buildCounterUrl--;
}
-buildUnnamed828() {
+buildUnnamed835() {
var o = new core.List<api.Url>();
o.add(buildUrl());
o.add(buildUrl());
return o;
}
-checkUnnamed828(core.List<api.Url> o) {
+checkUnnamed835(core.List<api.Url> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrl(o[0]);
checkUrl(o[1]);
@@ -226,7 +226,7 @@
var o = new api.UrlHistory();
buildCounterUrlHistory++;
if (buildCounterUrlHistory < 3) {
- o.items = buildUnnamed828();
+ o.items = buildUnnamed835();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextPageToken = "foo";
@@ -239,7 +239,7 @@
checkUrlHistory(api.UrlHistory o) {
buildCounterUrlHistory++;
if (buildCounterUrlHistory < 3) {
- checkUnnamed828(o.items);
+ checkUnnamed835(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
diff --git a/generated/googleapis/test/vault/v1_test.dart b/generated/googleapis/test/vault/v1_test.dart
index cd2898b..ee6ba46 100644
--- a/generated/googleapis/test/vault/v1_test.dart
+++ b/generated/googleapis/test/vault/v1_test.dart
@@ -252,14 +252,14 @@
buildCounterHeldOrgUnit--;
}
-buildUnnamed1683() {
+buildUnnamed1697() {
var o = new core.List<api.HeldAccount>();
o.add(buildHeldAccount());
o.add(buildHeldAccount());
return o;
}
-checkUnnamed1683(core.List<api.HeldAccount> o) {
+checkUnnamed1697(core.List<api.HeldAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkHeldAccount(o[0]);
checkHeldAccount(o[1]);
@@ -270,7 +270,7 @@
var o = new api.Hold();
buildCounterHold++;
if (buildCounterHold < 3) {
- o.accounts = buildUnnamed1683();
+ o.accounts = buildUnnamed1697();
o.corpus = "foo";
o.holdId = "foo";
o.name = "foo";
@@ -285,7 +285,7 @@
checkHold(api.Hold o) {
buildCounterHold++;
if (buildCounterHold < 3) {
- checkUnnamed1683(o.accounts);
+ checkUnnamed1697(o.accounts);
unittest.expect(o.corpus, unittest.equals('foo'));
unittest.expect(o.holdId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -296,14 +296,14 @@
buildCounterHold--;
}
-buildUnnamed1684() {
+buildUnnamed1698() {
var o = new core.List<api.HeldAccount>();
o.add(buildHeldAccount());
o.add(buildHeldAccount());
return o;
}
-checkUnnamed1684(core.List<api.HeldAccount> o) {
+checkUnnamed1698(core.List<api.HeldAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkHeldAccount(o[0]);
checkHeldAccount(o[1]);
@@ -314,7 +314,7 @@
var o = new api.ListHeldAccountsResponse();
buildCounterListHeldAccountsResponse++;
if (buildCounterListHeldAccountsResponse < 3) {
- o.accounts = buildUnnamed1684();
+ o.accounts = buildUnnamed1698();
}
buildCounterListHeldAccountsResponse--;
return o;
@@ -323,19 +323,19 @@
checkListHeldAccountsResponse(api.ListHeldAccountsResponse o) {
buildCounterListHeldAccountsResponse++;
if (buildCounterListHeldAccountsResponse < 3) {
- checkUnnamed1684(o.accounts);
+ checkUnnamed1698(o.accounts);
}
buildCounterListHeldAccountsResponse--;
}
-buildUnnamed1685() {
+buildUnnamed1699() {
var o = new core.List<api.Hold>();
o.add(buildHold());
o.add(buildHold());
return o;
}
-checkUnnamed1685(core.List<api.Hold> o) {
+checkUnnamed1699(core.List<api.Hold> o) {
unittest.expect(o, unittest.hasLength(2));
checkHold(o[0]);
checkHold(o[1]);
@@ -346,7 +346,7 @@
var o = new api.ListHoldsResponse();
buildCounterListHoldsResponse++;
if (buildCounterListHoldsResponse < 3) {
- o.holds = buildUnnamed1685();
+ o.holds = buildUnnamed1699();
o.nextPageToken = "foo";
}
buildCounterListHoldsResponse--;
@@ -356,20 +356,20 @@
checkListHoldsResponse(api.ListHoldsResponse o) {
buildCounterListHoldsResponse++;
if (buildCounterListHoldsResponse < 3) {
- checkUnnamed1685(o.holds);
+ checkUnnamed1699(o.holds);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListHoldsResponse--;
}
-buildUnnamed1686() {
+buildUnnamed1700() {
var o = new core.List<api.Matter>();
o.add(buildMatter());
o.add(buildMatter());
return o;
}
-checkUnnamed1686(core.List<api.Matter> o) {
+checkUnnamed1700(core.List<api.Matter> o) {
unittest.expect(o, unittest.hasLength(2));
checkMatter(o[0]);
checkMatter(o[1]);
@@ -380,7 +380,7 @@
var o = new api.ListMattersResponse();
buildCounterListMattersResponse++;
if (buildCounterListMattersResponse < 3) {
- o.matters = buildUnnamed1686();
+ o.matters = buildUnnamed1700();
o.nextPageToken = "foo";
}
buildCounterListMattersResponse--;
@@ -390,20 +390,20 @@
checkListMattersResponse(api.ListMattersResponse o) {
buildCounterListMattersResponse++;
if (buildCounterListMattersResponse < 3) {
- checkUnnamed1686(o.matters);
+ checkUnnamed1700(o.matters);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListMattersResponse--;
}
-buildUnnamed1687() {
+buildUnnamed1701() {
var o = new core.List<api.MatterPermission>();
o.add(buildMatterPermission());
o.add(buildMatterPermission());
return o;
}
-checkUnnamed1687(core.List<api.MatterPermission> o) {
+checkUnnamed1701(core.List<api.MatterPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkMatterPermission(o[0]);
checkMatterPermission(o[1]);
@@ -416,7 +416,7 @@
if (buildCounterMatter < 3) {
o.description = "foo";
o.matterId = "foo";
- o.matterPermissions = buildUnnamed1687();
+ o.matterPermissions = buildUnnamed1701();
o.name = "foo";
o.state = "foo";
}
@@ -429,7 +429,7 @@
if (buildCounterMatter < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.matterId, unittest.equals('foo'));
- checkUnnamed1687(o.matterPermissions);
+ checkUnnamed1701(o.matterPermissions);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
}
@@ -977,10 +977,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.MattersResourceApi res = new api.VaultApi(mock).matters;
- var arg_pageSize = 42;
- var arg_view = "foo";
var arg_state = "foo";
var arg_pageToken = "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;
@@ -1012,12 +1012,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["state"].first, unittest.equals(arg_state));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1028,10 +1028,10 @@
}), true);
res
.list(
- pageSize: arg_pageSize,
- view: arg_view,
state: arg_state,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListMattersResponse response) {
checkListMattersResponse(response);
@@ -1479,8 +1479,8 @@
var mock = new HttpServerMock();
api.MattersHoldsResourceApi res = new api.VaultApi(mock).matters.holds;
var arg_matterId = "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;
@@ -1521,10 +1521,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 = {
@@ -1535,8 +1535,8 @@
}), true);
res
.list(arg_matterId,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListHoldsResponse response) {
checkListHoldsResponse(response);
diff --git a/generated/googleapis/test/vision/v1_test.dart b/generated/googleapis/test/vision/v1_test.dart
index 5a23dba..9abb7b7 100644
--- a/generated/googleapis/test/vision/v1_test.dart
+++ b/generated/googleapis/test/vision/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1339() {
+buildUnnamed1348() {
var o = new core.List<api.Feature>();
o.add(buildFeature());
o.add(buildFeature());
return o;
}
-checkUnnamed1339(core.List<api.Feature> o) {
+checkUnnamed1348(core.List<api.Feature> o) {
unittest.expect(o, unittest.hasLength(2));
checkFeature(o[0]);
checkFeature(o[1]);
@@ -68,7 +68,7 @@
var o = new api.AnnotateImageRequest();
buildCounterAnnotateImageRequest++;
if (buildCounterAnnotateImageRequest < 3) {
- o.features = buildUnnamed1339();
+ o.features = buildUnnamed1348();
o.image = buildImage();
o.imageContext = buildImageContext();
}
@@ -79,73 +79,73 @@
checkAnnotateImageRequest(api.AnnotateImageRequest o) {
buildCounterAnnotateImageRequest++;
if (buildCounterAnnotateImageRequest < 3) {
- checkUnnamed1339(o.features);
+ checkUnnamed1348(o.features);
checkImage(o.image);
checkImageContext(o.imageContext);
}
buildCounterAnnotateImageRequest--;
}
-buildUnnamed1340() {
+buildUnnamed1349() {
var o = new core.List<api.FaceAnnotation>();
o.add(buildFaceAnnotation());
o.add(buildFaceAnnotation());
return o;
}
-checkUnnamed1340(core.List<api.FaceAnnotation> o) {
+checkUnnamed1349(core.List<api.FaceAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkFaceAnnotation(o[0]);
checkFaceAnnotation(o[1]);
}
-buildUnnamed1341() {
+buildUnnamed1350() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1341(core.List<api.EntityAnnotation> o) {
+checkUnnamed1350(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
}
-buildUnnamed1342() {
+buildUnnamed1351() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1342(core.List<api.EntityAnnotation> o) {
+checkUnnamed1351(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
}
-buildUnnamed1343() {
+buildUnnamed1352() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1343(core.List<api.EntityAnnotation> o) {
+checkUnnamed1352(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
}
-buildUnnamed1344() {
+buildUnnamed1353() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1344(core.List<api.EntityAnnotation> o) {
+checkUnnamed1353(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
@@ -158,14 +158,14 @@
if (buildCounterAnnotateImageResponse < 3) {
o.cropHintsAnnotation = buildCropHintsAnnotation();
o.error = buildStatus();
- o.faceAnnotations = buildUnnamed1340();
+ o.faceAnnotations = buildUnnamed1349();
o.fullTextAnnotation = buildTextAnnotation();
o.imagePropertiesAnnotation = buildImageProperties();
- o.labelAnnotations = buildUnnamed1341();
- o.landmarkAnnotations = buildUnnamed1342();
- o.logoAnnotations = buildUnnamed1343();
+ o.labelAnnotations = buildUnnamed1350();
+ o.landmarkAnnotations = buildUnnamed1351();
+ o.logoAnnotations = buildUnnamed1352();
o.safeSearchAnnotation = buildSafeSearchAnnotation();
- o.textAnnotations = buildUnnamed1344();
+ o.textAnnotations = buildUnnamed1353();
o.webDetection = buildWebDetection();
}
buildCounterAnnotateImageResponse--;
@@ -177,27 +177,27 @@
if (buildCounterAnnotateImageResponse < 3) {
checkCropHintsAnnotation(o.cropHintsAnnotation);
checkStatus(o.error);
- checkUnnamed1340(o.faceAnnotations);
+ checkUnnamed1349(o.faceAnnotations);
checkTextAnnotation(o.fullTextAnnotation);
checkImageProperties(o.imagePropertiesAnnotation);
- checkUnnamed1341(o.labelAnnotations);
- checkUnnamed1342(o.landmarkAnnotations);
- checkUnnamed1343(o.logoAnnotations);
+ checkUnnamed1350(o.labelAnnotations);
+ checkUnnamed1351(o.landmarkAnnotations);
+ checkUnnamed1352(o.logoAnnotations);
checkSafeSearchAnnotation(o.safeSearchAnnotation);
- checkUnnamed1344(o.textAnnotations);
+ checkUnnamed1353(o.textAnnotations);
checkWebDetection(o.webDetection);
}
buildCounterAnnotateImageResponse--;
}
-buildUnnamed1345() {
+buildUnnamed1354() {
var o = new core.List<api.AnnotateImageRequest>();
o.add(buildAnnotateImageRequest());
o.add(buildAnnotateImageRequest());
return o;
}
-checkUnnamed1345(core.List<api.AnnotateImageRequest> o) {
+checkUnnamed1354(core.List<api.AnnotateImageRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotateImageRequest(o[0]);
checkAnnotateImageRequest(o[1]);
@@ -208,7 +208,7 @@
var o = new api.BatchAnnotateImagesRequest();
buildCounterBatchAnnotateImagesRequest++;
if (buildCounterBatchAnnotateImagesRequest < 3) {
- o.requests = buildUnnamed1345();
+ o.requests = buildUnnamed1354();
}
buildCounterBatchAnnotateImagesRequest--;
return o;
@@ -217,19 +217,19 @@
checkBatchAnnotateImagesRequest(api.BatchAnnotateImagesRequest o) {
buildCounterBatchAnnotateImagesRequest++;
if (buildCounterBatchAnnotateImagesRequest < 3) {
- checkUnnamed1345(o.requests);
+ checkUnnamed1354(o.requests);
}
buildCounterBatchAnnotateImagesRequest--;
}
-buildUnnamed1346() {
+buildUnnamed1355() {
var o = new core.List<api.AnnotateImageResponse>();
o.add(buildAnnotateImageResponse());
o.add(buildAnnotateImageResponse());
return o;
}
-checkUnnamed1346(core.List<api.AnnotateImageResponse> o) {
+checkUnnamed1355(core.List<api.AnnotateImageResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotateImageResponse(o[0]);
checkAnnotateImageResponse(o[1]);
@@ -240,7 +240,7 @@
var o = new api.BatchAnnotateImagesResponse();
buildCounterBatchAnnotateImagesResponse++;
if (buildCounterBatchAnnotateImagesResponse < 3) {
- o.responses = buildUnnamed1346();
+ o.responses = buildUnnamed1355();
}
buildCounterBatchAnnotateImagesResponse--;
return o;
@@ -249,19 +249,19 @@
checkBatchAnnotateImagesResponse(api.BatchAnnotateImagesResponse o) {
buildCounterBatchAnnotateImagesResponse++;
if (buildCounterBatchAnnotateImagesResponse < 3) {
- checkUnnamed1346(o.responses);
+ checkUnnamed1355(o.responses);
}
buildCounterBatchAnnotateImagesResponse--;
}
-buildUnnamed1347() {
+buildUnnamed1356() {
var o = new core.List<api.Paragraph>();
o.add(buildParagraph());
o.add(buildParagraph());
return o;
}
-checkUnnamed1347(core.List<api.Paragraph> o) {
+checkUnnamed1356(core.List<api.Paragraph> o) {
unittest.expect(o, unittest.hasLength(2));
checkParagraph(o[0]);
checkParagraph(o[1]);
@@ -274,7 +274,7 @@
if (buildCounterBlock < 3) {
o.blockType = "foo";
o.boundingBox = buildBoundingPoly();
- o.paragraphs = buildUnnamed1347();
+ o.paragraphs = buildUnnamed1356();
o.property = buildTextProperty();
}
buildCounterBlock--;
@@ -286,20 +286,20 @@
if (buildCounterBlock < 3) {
unittest.expect(o.blockType, unittest.equals('foo'));
checkBoundingPoly(o.boundingBox);
- checkUnnamed1347(o.paragraphs);
+ checkUnnamed1356(o.paragraphs);
checkTextProperty(o.property);
}
buildCounterBlock--;
}
-buildUnnamed1348() {
+buildUnnamed1357() {
var o = new core.List<api.Vertex>();
o.add(buildVertex());
o.add(buildVertex());
return o;
}
-checkUnnamed1348(core.List<api.Vertex> o) {
+checkUnnamed1357(core.List<api.Vertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkVertex(o[0]);
checkVertex(o[1]);
@@ -310,7 +310,7 @@
var o = new api.BoundingPoly();
buildCounterBoundingPoly++;
if (buildCounterBoundingPoly < 3) {
- o.vertices = buildUnnamed1348();
+ o.vertices = buildUnnamed1357();
}
buildCounterBoundingPoly--;
return o;
@@ -319,7 +319,7 @@
checkBoundingPoly(api.BoundingPoly o) {
buildCounterBoundingPoly++;
if (buildCounterBoundingPoly < 3) {
- checkUnnamed1348(o.vertices);
+ checkUnnamed1357(o.vertices);
}
buildCounterBoundingPoly--;
}
@@ -395,14 +395,14 @@
buildCounterCropHint--;
}
-buildUnnamed1349() {
+buildUnnamed1358() {
var o = new core.List<api.CropHint>();
o.add(buildCropHint());
o.add(buildCropHint());
return o;
}
-checkUnnamed1349(core.List<api.CropHint> o) {
+checkUnnamed1358(core.List<api.CropHint> o) {
unittest.expect(o, unittest.hasLength(2));
checkCropHint(o[0]);
checkCropHint(o[1]);
@@ -413,7 +413,7 @@
var o = new api.CropHintsAnnotation();
buildCounterCropHintsAnnotation++;
if (buildCounterCropHintsAnnotation < 3) {
- o.cropHints = buildUnnamed1349();
+ o.cropHints = buildUnnamed1358();
}
buildCounterCropHintsAnnotation--;
return o;
@@ -422,19 +422,19 @@
checkCropHintsAnnotation(api.CropHintsAnnotation o) {
buildCounterCropHintsAnnotation++;
if (buildCounterCropHintsAnnotation < 3) {
- checkUnnamed1349(o.cropHints);
+ checkUnnamed1358(o.cropHints);
}
buildCounterCropHintsAnnotation--;
}
-buildUnnamed1350() {
+buildUnnamed1359() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1350(core.List<core.double> o) {
+checkUnnamed1359(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));
@@ -445,7 +445,7 @@
var o = new api.CropHintsParams();
buildCounterCropHintsParams++;
if (buildCounterCropHintsParams < 3) {
- o.aspectRatios = buildUnnamed1350();
+ o.aspectRatios = buildUnnamed1359();
}
buildCounterCropHintsParams--;
return o;
@@ -454,7 +454,7 @@
checkCropHintsParams(api.CropHintsParams o) {
buildCounterCropHintsParams++;
if (buildCounterCropHintsParams < 3) {
- checkUnnamed1350(o.aspectRatios);
+ checkUnnamed1359(o.aspectRatios);
}
buildCounterCropHintsParams--;
}
@@ -501,14 +501,14 @@
buildCounterDetectedLanguage--;
}
-buildUnnamed1351() {
+buildUnnamed1360() {
var o = new core.List<api.ColorInfo>();
o.add(buildColorInfo());
o.add(buildColorInfo());
return o;
}
-checkUnnamed1351(core.List<api.ColorInfo> o) {
+checkUnnamed1360(core.List<api.ColorInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorInfo(o[0]);
checkColorInfo(o[1]);
@@ -519,7 +519,7 @@
var o = new api.DominantColorsAnnotation();
buildCounterDominantColorsAnnotation++;
if (buildCounterDominantColorsAnnotation < 3) {
- o.colors = buildUnnamed1351();
+ o.colors = buildUnnamed1360();
}
buildCounterDominantColorsAnnotation--;
return o;
@@ -528,32 +528,32 @@
checkDominantColorsAnnotation(api.DominantColorsAnnotation o) {
buildCounterDominantColorsAnnotation++;
if (buildCounterDominantColorsAnnotation < 3) {
- checkUnnamed1351(o.colors);
+ checkUnnamed1360(o.colors);
}
buildCounterDominantColorsAnnotation--;
}
-buildUnnamed1352() {
+buildUnnamed1361() {
var o = new core.List<api.LocationInfo>();
o.add(buildLocationInfo());
o.add(buildLocationInfo());
return o;
}
-checkUnnamed1352(core.List<api.LocationInfo> o) {
+checkUnnamed1361(core.List<api.LocationInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocationInfo(o[0]);
checkLocationInfo(o[1]);
}
-buildUnnamed1353() {
+buildUnnamed1362() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed1353(core.List<api.Property> o) {
+checkUnnamed1362(core.List<api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o[0]);
checkProperty(o[1]);
@@ -568,9 +568,9 @@
o.confidence = 42.0;
o.description = "foo";
o.locale = "foo";
- o.locations = buildUnnamed1352();
+ o.locations = buildUnnamed1361();
o.mid = "foo";
- o.properties = buildUnnamed1353();
+ o.properties = buildUnnamed1362();
o.score = 42.0;
o.topicality = 42.0;
}
@@ -585,23 +585,23 @@
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed1352(o.locations);
+ checkUnnamed1361(o.locations);
unittest.expect(o.mid, unittest.equals('foo'));
- checkUnnamed1353(o.properties);
+ checkUnnamed1362(o.properties);
unittest.expect(o.score, unittest.equals(42.0));
unittest.expect(o.topicality, unittest.equals(42.0));
}
buildCounterEntityAnnotation--;
}
-buildUnnamed1354() {
+buildUnnamed1363() {
var o = new core.List<api.Landmark>();
o.add(buildLandmark());
o.add(buildLandmark());
return o;
}
-checkUnnamed1354(core.List<api.Landmark> o) {
+checkUnnamed1363(core.List<api.Landmark> o) {
unittest.expect(o, unittest.hasLength(2));
checkLandmark(o[0]);
checkLandmark(o[1]);
@@ -620,7 +620,7 @@
o.headwearLikelihood = "foo";
o.joyLikelihood = "foo";
o.landmarkingConfidence = 42.0;
- o.landmarks = buildUnnamed1354();
+ o.landmarks = buildUnnamed1363();
o.panAngle = 42.0;
o.rollAngle = 42.0;
o.sorrowLikelihood = "foo";
@@ -643,7 +643,7 @@
unittest.expect(o.headwearLikelihood, unittest.equals('foo'));
unittest.expect(o.joyLikelihood, unittest.equals('foo'));
unittest.expect(o.landmarkingConfidence, unittest.equals(42.0));
- checkUnnamed1354(o.landmarks);
+ checkUnnamed1363(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'));
@@ -696,14 +696,14 @@
buildCounterImage--;
}
-buildUnnamed1355() {
+buildUnnamed1364() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1355(core.List<core.String> o) {
+checkUnnamed1364(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -715,7 +715,7 @@
buildCounterImageContext++;
if (buildCounterImageContext < 3) {
o.cropHintsParams = buildCropHintsParams();
- o.languageHints = buildUnnamed1355();
+ o.languageHints = buildUnnamed1364();
o.latLongRect = buildLatLongRect();
}
buildCounterImageContext--;
@@ -726,7 +726,7 @@
buildCounterImageContext++;
if (buildCounterImageContext < 3) {
checkCropHintsParams(o.cropHintsParams);
- checkUnnamed1355(o.languageHints);
+ checkUnnamed1364(o.languageHints);
checkLatLongRect(o.latLongRect);
}
buildCounterImageContext--;
@@ -854,14 +854,14 @@
buildCounterLocationInfo--;
}
-buildUnnamed1356() {
+buildUnnamed1365() {
var o = new core.List<api.Block>();
o.add(buildBlock());
o.add(buildBlock());
return o;
}
-checkUnnamed1356(core.List<api.Block> o) {
+checkUnnamed1365(core.List<api.Block> o) {
unittest.expect(o, unittest.hasLength(2));
checkBlock(o[0]);
checkBlock(o[1]);
@@ -872,7 +872,7 @@
var o = new api.Page();
buildCounterPage++;
if (buildCounterPage < 3) {
- o.blocks = buildUnnamed1356();
+ o.blocks = buildUnnamed1365();
o.height = 42;
o.property = buildTextProperty();
o.width = 42;
@@ -884,7 +884,7 @@
checkPage(api.Page o) {
buildCounterPage++;
if (buildCounterPage < 3) {
- checkUnnamed1356(o.blocks);
+ checkUnnamed1365(o.blocks);
unittest.expect(o.height, unittest.equals(42));
checkTextProperty(o.property);
unittest.expect(o.width, unittest.equals(42));
@@ -892,14 +892,14 @@
buildCounterPage--;
}
-buildUnnamed1357() {
+buildUnnamed1366() {
var o = new core.List<api.Word>();
o.add(buildWord());
o.add(buildWord());
return o;
}
-checkUnnamed1357(core.List<api.Word> o) {
+checkUnnamed1366(core.List<api.Word> o) {
unittest.expect(o, unittest.hasLength(2));
checkWord(o[0]);
checkWord(o[1]);
@@ -912,7 +912,7 @@
if (buildCounterParagraph < 3) {
o.boundingBox = buildBoundingPoly();
o.property = buildTextProperty();
- o.words = buildUnnamed1357();
+ o.words = buildUnnamed1366();
}
buildCounterParagraph--;
return o;
@@ -923,7 +923,7 @@
if (buildCounterParagraph < 3) {
checkBoundingPoly(o.boundingBox);
checkTextProperty(o.property);
- checkUnnamed1357(o.words);
+ checkUnnamed1366(o.words);
}
buildCounterParagraph--;
}
@@ -999,7 +999,7 @@
buildCounterSafeSearchAnnotation--;
}
-buildUnnamed1358() {
+buildUnnamed1367() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1014,7 +1014,7 @@
return o;
}
-checkUnnamed1358(core.Map<core.String, core.Object> o) {
+checkUnnamed1367(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));
@@ -1028,17 +1028,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1359() {
+buildUnnamed1368() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1358());
- o.add(buildUnnamed1358());
+ o.add(buildUnnamed1367());
+ o.add(buildUnnamed1367());
return o;
}
-checkUnnamed1359(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1368(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1358(o[0]);
- checkUnnamed1358(o[1]);
+ checkUnnamed1367(o[0]);
+ checkUnnamed1367(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1047,7 +1047,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1359();
+ o.details = buildUnnamed1368();
o.message = "foo";
}
buildCounterStatus--;
@@ -1058,7 +1058,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1359(o.details);
+ checkUnnamed1368(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1087,14 +1087,14 @@
buildCounterSymbol--;
}
-buildUnnamed1360() {
+buildUnnamed1369() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1360(core.List<api.Page> o) {
+checkUnnamed1369(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -1105,7 +1105,7 @@
var o = new api.TextAnnotation();
buildCounterTextAnnotation++;
if (buildCounterTextAnnotation < 3) {
- o.pages = buildUnnamed1360();
+ o.pages = buildUnnamed1369();
o.text = "foo";
}
buildCounterTextAnnotation--;
@@ -1115,20 +1115,20 @@
checkTextAnnotation(api.TextAnnotation o) {
buildCounterTextAnnotation++;
if (buildCounterTextAnnotation < 3) {
- checkUnnamed1360(o.pages);
+ checkUnnamed1369(o.pages);
unittest.expect(o.text, unittest.equals('foo'));
}
buildCounterTextAnnotation--;
}
-buildUnnamed1361() {
+buildUnnamed1370() {
var o = new core.List<api.DetectedLanguage>();
o.add(buildDetectedLanguage());
o.add(buildDetectedLanguage());
return o;
}
-checkUnnamed1361(core.List<api.DetectedLanguage> o) {
+checkUnnamed1370(core.List<api.DetectedLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkDetectedLanguage(o[0]);
checkDetectedLanguage(o[1]);
@@ -1140,7 +1140,7 @@
buildCounterTextProperty++;
if (buildCounterTextProperty < 3) {
o.detectedBreak = buildDetectedBreak();
- o.detectedLanguages = buildUnnamed1361();
+ o.detectedLanguages = buildUnnamed1370();
}
buildCounterTextProperty--;
return o;
@@ -1150,7 +1150,7 @@
buildCounterTextProperty++;
if (buildCounterTextProperty < 3) {
checkDetectedBreak(o.detectedBreak);
- checkUnnamed1361(o.detectedLanguages);
+ checkUnnamed1370(o.detectedLanguages);
}
buildCounterTextProperty--;
}
@@ -1176,66 +1176,66 @@
buildCounterVertex--;
}
-buildUnnamed1362() {
+buildUnnamed1371() {
var o = new core.List<api.WebImage>();
o.add(buildWebImage());
o.add(buildWebImage());
return o;
}
-checkUnnamed1362(core.List<api.WebImage> o) {
+checkUnnamed1371(core.List<api.WebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebImage(o[0]);
checkWebImage(o[1]);
}
-buildUnnamed1363() {
+buildUnnamed1372() {
var o = new core.List<api.WebPage>();
o.add(buildWebPage());
o.add(buildWebPage());
return o;
}
-checkUnnamed1363(core.List<api.WebPage> o) {
+checkUnnamed1372(core.List<api.WebPage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebPage(o[0]);
checkWebPage(o[1]);
}
-buildUnnamed1364() {
+buildUnnamed1373() {
var o = new core.List<api.WebImage>();
o.add(buildWebImage());
o.add(buildWebImage());
return o;
}
-checkUnnamed1364(core.List<api.WebImage> o) {
+checkUnnamed1373(core.List<api.WebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebImage(o[0]);
checkWebImage(o[1]);
}
-buildUnnamed1365() {
+buildUnnamed1374() {
var o = new core.List<api.WebImage>();
o.add(buildWebImage());
o.add(buildWebImage());
return o;
}
-checkUnnamed1365(core.List<api.WebImage> o) {
+checkUnnamed1374(core.List<api.WebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebImage(o[0]);
checkWebImage(o[1]);
}
-buildUnnamed1366() {
+buildUnnamed1375() {
var o = new core.List<api.WebEntity>();
o.add(buildWebEntity());
o.add(buildWebEntity());
return o;
}
-checkUnnamed1366(core.List<api.WebEntity> o) {
+checkUnnamed1375(core.List<api.WebEntity> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebEntity(o[0]);
checkWebEntity(o[1]);
@@ -1246,11 +1246,11 @@
var o = new api.WebDetection();
buildCounterWebDetection++;
if (buildCounterWebDetection < 3) {
- o.fullMatchingImages = buildUnnamed1362();
- o.pagesWithMatchingImages = buildUnnamed1363();
- o.partialMatchingImages = buildUnnamed1364();
- o.visuallySimilarImages = buildUnnamed1365();
- o.webEntities = buildUnnamed1366();
+ o.fullMatchingImages = buildUnnamed1371();
+ o.pagesWithMatchingImages = buildUnnamed1372();
+ o.partialMatchingImages = buildUnnamed1373();
+ o.visuallySimilarImages = buildUnnamed1374();
+ o.webEntities = buildUnnamed1375();
}
buildCounterWebDetection--;
return o;
@@ -1259,11 +1259,11 @@
checkWebDetection(api.WebDetection o) {
buildCounterWebDetection++;
if (buildCounterWebDetection < 3) {
- checkUnnamed1362(o.fullMatchingImages);
- checkUnnamed1363(o.pagesWithMatchingImages);
- checkUnnamed1364(o.partialMatchingImages);
- checkUnnamed1365(o.visuallySimilarImages);
- checkUnnamed1366(o.webEntities);
+ checkUnnamed1371(o.fullMatchingImages);
+ checkUnnamed1372(o.pagesWithMatchingImages);
+ checkUnnamed1373(o.partialMatchingImages);
+ checkUnnamed1374(o.visuallySimilarImages);
+ checkUnnamed1375(o.webEntities);
}
buildCounterWebDetection--;
}
@@ -1333,14 +1333,14 @@
buildCounterWebPage--;
}
-buildUnnamed1367() {
+buildUnnamed1376() {
var o = new core.List<api.Symbol>();
o.add(buildSymbol());
o.add(buildSymbol());
return o;
}
-checkUnnamed1367(core.List<api.Symbol> o) {
+checkUnnamed1376(core.List<api.Symbol> o) {
unittest.expect(o, unittest.hasLength(2));
checkSymbol(o[0]);
checkSymbol(o[1]);
@@ -1353,7 +1353,7 @@
if (buildCounterWord < 3) {
o.boundingBox = buildBoundingPoly();
o.property = buildTextProperty();
- o.symbols = buildUnnamed1367();
+ o.symbols = buildUnnamed1376();
}
buildCounterWord--;
return o;
@@ -1364,7 +1364,7 @@
if (buildCounterWord < 3) {
checkBoundingPoly(o.boundingBox);
checkTextProperty(o.property);
- checkUnnamed1367(o.symbols);
+ checkUnnamed1376(o.symbols);
}
buildCounterWord--;
}
diff --git a/generated/googleapis/test/webfonts/v1_test.dart b/generated/googleapis/test/webfonts/v1_test.dart
index 1a080ec..6a9d238 100644
--- a/generated/googleapis/test/webfonts/v1_test.dart
+++ b/generated/googleapis/test/webfonts/v1_test.dart
@@ -50,40 +50,40 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1737() {
+buildUnnamed1751() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1737(core.Map<core.String, core.String> o) {
+checkUnnamed1751(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'));
}
-buildUnnamed1738() {
+buildUnnamed1752() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1738(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'));
}
-buildUnnamed1739() {
+buildUnnamed1753() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1739(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'));
@@ -96,11 +96,11 @@
if (buildCounterWebfont < 3) {
o.category = "foo";
o.family = "foo";
- o.files = buildUnnamed1737();
+ o.files = buildUnnamed1751();
o.kind = "foo";
o.lastModified = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.subsets = buildUnnamed1738();
- o.variants = buildUnnamed1739();
+ o.subsets = buildUnnamed1752();
+ o.variants = buildUnnamed1753();
o.version = "foo";
}
buildCounterWebfont--;
@@ -112,25 +112,25 @@
if (buildCounterWebfont < 3) {
unittest.expect(o.category, unittest.equals('foo'));
unittest.expect(o.family, unittest.equals('foo'));
- checkUnnamed1737(o.files);
+ checkUnnamed1751(o.files);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastModified,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed1738(o.subsets);
- checkUnnamed1739(o.variants);
+ checkUnnamed1752(o.subsets);
+ checkUnnamed1753(o.variants);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterWebfont--;
}
-buildUnnamed1740() {
+buildUnnamed1754() {
var o = new core.List<api.Webfont>();
o.add(buildWebfont());
o.add(buildWebfont());
return o;
}
-checkUnnamed1740(core.List<api.Webfont> o) {
+checkUnnamed1754(core.List<api.Webfont> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebfont(o[0]);
checkWebfont(o[1]);
@@ -141,7 +141,7 @@
var o = new api.WebfontList();
buildCounterWebfontList++;
if (buildCounterWebfontList < 3) {
- o.items = buildUnnamed1740();
+ o.items = buildUnnamed1754();
o.kind = "foo";
}
buildCounterWebfontList--;
@@ -151,7 +151,7 @@
checkWebfontList(api.WebfontList o) {
buildCounterWebfontList++;
if (buildCounterWebfontList < 3) {
- checkUnnamed1740(o.items);
+ checkUnnamed1754(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterWebfontList--;
diff --git a/generated/googleapis/test/webmasters/v3_test.dart b/generated/googleapis/test/webmasters/v3_test.dart
index f9f832b..1243dff 100644
--- a/generated/googleapis/test/webmasters/v3_test.dart
+++ b/generated/googleapis/test/webmasters/v3_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed705() {
+buildUnnamed710() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed705(core.List<core.String> o) {
+checkUnnamed710(core.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 = buildUnnamed705();
+ o.keys = buildUnnamed710();
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));
- checkUnnamed705(o.keys);
+ checkUnnamed710(o.keys);
unittest.expect(o.position, unittest.equals(42.0));
}
buildCounterApiDataRow--;
@@ -113,14 +113,14 @@
buildCounterApiDimensionFilter--;
}
-buildUnnamed706() {
+buildUnnamed711() {
var o = new core.List<api.ApiDimensionFilter>();
o.add(buildApiDimensionFilter());
o.add(buildApiDimensionFilter());
return o;
}
-checkUnnamed706(core.List<api.ApiDimensionFilter> o) {
+checkUnnamed711(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 = buildUnnamed706();
+ o.filters = buildUnnamed711();
o.groupType = "foo";
}
buildCounterApiDimensionFilterGroup--;
@@ -141,33 +141,33 @@
checkApiDimensionFilterGroup(api.ApiDimensionFilterGroup o) {
buildCounterApiDimensionFilterGroup++;
if (buildCounterApiDimensionFilterGroup < 3) {
- checkUnnamed706(o.filters);
+ checkUnnamed711(o.filters);
unittest.expect(o.groupType, unittest.equals('foo'));
}
buildCounterApiDimensionFilterGroup--;
}
-buildUnnamed707() {
+buildUnnamed712() {
var o = new core.List<api.ApiDimensionFilterGroup>();
o.add(buildApiDimensionFilterGroup());
o.add(buildApiDimensionFilterGroup());
return o;
}
-checkUnnamed707(core.List<api.ApiDimensionFilterGroup> o) {
+checkUnnamed712(core.List<api.ApiDimensionFilterGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkApiDimensionFilterGroup(o[0]);
checkApiDimensionFilterGroup(o[1]);
}
-buildUnnamed708() {
+buildUnnamed713() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed708(core.List<core.String> o) {
+checkUnnamed713(core.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,8 +179,8 @@
buildCounterSearchAnalyticsQueryRequest++;
if (buildCounterSearchAnalyticsQueryRequest < 3) {
o.aggregationType = "foo";
- o.dimensionFilterGroups = buildUnnamed707();
- o.dimensions = buildUnnamed708();
+ o.dimensionFilterGroups = buildUnnamed712();
+ o.dimensions = buildUnnamed713();
o.endDate = "foo";
o.rowLimit = 42;
o.searchType = "foo";
@@ -195,8 +195,8 @@
buildCounterSearchAnalyticsQueryRequest++;
if (buildCounterSearchAnalyticsQueryRequest < 3) {
unittest.expect(o.aggregationType, unittest.equals('foo'));
- checkUnnamed707(o.dimensionFilterGroups);
- checkUnnamed708(o.dimensions);
+ checkUnnamed712(o.dimensionFilterGroups);
+ checkUnnamed713(o.dimensions);
unittest.expect(o.endDate, unittest.equals('foo'));
unittest.expect(o.rowLimit, unittest.equals(42));
unittest.expect(o.searchType, unittest.equals('foo'));
@@ -206,14 +206,14 @@
buildCounterSearchAnalyticsQueryRequest--;
}
-buildUnnamed709() {
+buildUnnamed714() {
var o = new core.List<api.ApiDataRow>();
o.add(buildApiDataRow());
o.add(buildApiDataRow());
return o;
}
-checkUnnamed709(core.List<api.ApiDataRow> o) {
+checkUnnamed714(core.List<api.ApiDataRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkApiDataRow(o[0]);
checkApiDataRow(o[1]);
@@ -225,7 +225,7 @@
buildCounterSearchAnalyticsQueryResponse++;
if (buildCounterSearchAnalyticsQueryResponse < 3) {
o.responseAggregationType = "foo";
- o.rows = buildUnnamed709();
+ o.rows = buildUnnamed714();
}
buildCounterSearchAnalyticsQueryResponse--;
return o;
@@ -235,19 +235,19 @@
buildCounterSearchAnalyticsQueryResponse++;
if (buildCounterSearchAnalyticsQueryResponse < 3) {
unittest.expect(o.responseAggregationType, unittest.equals('foo'));
- checkUnnamed709(o.rows);
+ checkUnnamed714(o.rows);
}
buildCounterSearchAnalyticsQueryResponse--;
}
-buildUnnamed710() {
+buildUnnamed715() {
var o = new core.List<api.WmxSitemap>();
o.add(buildWmxSitemap());
o.add(buildWmxSitemap());
return o;
}
-checkUnnamed710(core.List<api.WmxSitemap> o) {
+checkUnnamed715(core.List<api.WmxSitemap> o) {
unittest.expect(o, unittest.hasLength(2));
checkWmxSitemap(o[0]);
checkWmxSitemap(o[1]);
@@ -258,7 +258,7 @@
var o = new api.SitemapsListResponse();
buildCounterSitemapsListResponse++;
if (buildCounterSitemapsListResponse < 3) {
- o.sitemap = buildUnnamed710();
+ o.sitemap = buildUnnamed715();
}
buildCounterSitemapsListResponse--;
return o;
@@ -267,19 +267,19 @@
checkSitemapsListResponse(api.SitemapsListResponse o) {
buildCounterSitemapsListResponse++;
if (buildCounterSitemapsListResponse < 3) {
- checkUnnamed710(o.sitemap);
+ checkUnnamed715(o.sitemap);
}
buildCounterSitemapsListResponse--;
}
-buildUnnamed711() {
+buildUnnamed716() {
var o = new core.List<api.WmxSite>();
o.add(buildWmxSite());
o.add(buildWmxSite());
return o;
}
-checkUnnamed711(core.List<api.WmxSite> o) {
+checkUnnamed716(core.List<api.WmxSite> o) {
unittest.expect(o, unittest.hasLength(2));
checkWmxSite(o[0]);
checkWmxSite(o[1]);
@@ -290,7 +290,7 @@
var o = new api.SitesListResponse();
buildCounterSitesListResponse++;
if (buildCounterSitesListResponse < 3) {
- o.siteEntry = buildUnnamed711();
+ o.siteEntry = buildUnnamed716();
}
buildCounterSitesListResponse--;
return o;
@@ -299,7 +299,7 @@
checkSitesListResponse(api.SitesListResponse o) {
buildCounterSitesListResponse++;
if (buildCounterSitesListResponse < 3) {
- checkUnnamed711(o.siteEntry);
+ checkUnnamed716(o.siteEntry);
}
buildCounterSitesListResponse--;
}
@@ -326,14 +326,14 @@
buildCounterUrlCrawlErrorCount--;
}
-buildUnnamed712() {
+buildUnnamed717() {
var o = new core.List<api.UrlCrawlErrorCount>();
o.add(buildUrlCrawlErrorCount());
o.add(buildUrlCrawlErrorCount());
return o;
}
-checkUnnamed712(core.List<api.UrlCrawlErrorCount> o) {
+checkUnnamed717(core.List<api.UrlCrawlErrorCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlCrawlErrorCount(o[0]);
checkUrlCrawlErrorCount(o[1]);
@@ -345,7 +345,7 @@
buildCounterUrlCrawlErrorCountsPerType++;
if (buildCounterUrlCrawlErrorCountsPerType < 3) {
o.category = "foo";
- o.entries = buildUnnamed712();
+ o.entries = buildUnnamed717();
o.platform = "foo";
}
buildCounterUrlCrawlErrorCountsPerType--;
@@ -356,20 +356,20 @@
buildCounterUrlCrawlErrorCountsPerType++;
if (buildCounterUrlCrawlErrorCountsPerType < 3) {
unittest.expect(o.category, unittest.equals('foo'));
- checkUnnamed712(o.entries);
+ checkUnnamed717(o.entries);
unittest.expect(o.platform, unittest.equals('foo'));
}
buildCounterUrlCrawlErrorCountsPerType--;
}
-buildUnnamed713() {
+buildUnnamed718() {
var o = new core.List<api.UrlCrawlErrorCountsPerType>();
o.add(buildUrlCrawlErrorCountsPerType());
o.add(buildUrlCrawlErrorCountsPerType());
return o;
}
-checkUnnamed713(core.List<api.UrlCrawlErrorCountsPerType> o) {
+checkUnnamed718(core.List<api.UrlCrawlErrorCountsPerType> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlCrawlErrorCountsPerType(o[0]);
checkUrlCrawlErrorCountsPerType(o[1]);
@@ -380,7 +380,7 @@
var o = new api.UrlCrawlErrorsCountsQueryResponse();
buildCounterUrlCrawlErrorsCountsQueryResponse++;
if (buildCounterUrlCrawlErrorsCountsQueryResponse < 3) {
- o.countPerTypes = buildUnnamed713();
+ o.countPerTypes = buildUnnamed718();
}
buildCounterUrlCrawlErrorsCountsQueryResponse--;
return o;
@@ -390,7 +390,7 @@
api.UrlCrawlErrorsCountsQueryResponse o) {
buildCounterUrlCrawlErrorsCountsQueryResponse++;
if (buildCounterUrlCrawlErrorsCountsQueryResponse < 3) {
- checkUnnamed713(o.countPerTypes);
+ checkUnnamed718(o.countPerTypes);
}
buildCounterUrlCrawlErrorsCountsQueryResponse--;
}
@@ -424,14 +424,14 @@
buildCounterUrlCrawlErrorsSample--;
}
-buildUnnamed714() {
+buildUnnamed719() {
var o = new core.List<api.UrlCrawlErrorsSample>();
o.add(buildUrlCrawlErrorsSample());
o.add(buildUrlCrawlErrorsSample());
return o;
}
-checkUnnamed714(core.List<api.UrlCrawlErrorsSample> o) {
+checkUnnamed719(core.List<api.UrlCrawlErrorsSample> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlCrawlErrorsSample(o[0]);
checkUrlCrawlErrorsSample(o[1]);
@@ -442,7 +442,7 @@
var o = new api.UrlCrawlErrorsSamplesListResponse();
buildCounterUrlCrawlErrorsSamplesListResponse++;
if (buildCounterUrlCrawlErrorsSamplesListResponse < 3) {
- o.urlCrawlErrorSample = buildUnnamed714();
+ o.urlCrawlErrorSample = buildUnnamed719();
}
buildCounterUrlCrawlErrorsSamplesListResponse--;
return o;
@@ -452,32 +452,32 @@
api.UrlCrawlErrorsSamplesListResponse o) {
buildCounterUrlCrawlErrorsSamplesListResponse++;
if (buildCounterUrlCrawlErrorsSamplesListResponse < 3) {
- checkUnnamed714(o.urlCrawlErrorSample);
+ checkUnnamed719(o.urlCrawlErrorSample);
}
buildCounterUrlCrawlErrorsSamplesListResponse--;
}
-buildUnnamed715() {
+buildUnnamed720() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed715(core.List<core.String> o) {
+checkUnnamed720(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed716() {
+buildUnnamed721() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed716(core.List<core.String> o) {
+checkUnnamed721(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -488,8 +488,8 @@
var o = new api.UrlSampleDetails();
buildCounterUrlSampleDetails++;
if (buildCounterUrlSampleDetails < 3) {
- o.containingSitemaps = buildUnnamed715();
- o.linkedFromUrls = buildUnnamed716();
+ o.containingSitemaps = buildUnnamed720();
+ o.linkedFromUrls = buildUnnamed721();
}
buildCounterUrlSampleDetails--;
return o;
@@ -498,8 +498,8 @@
checkUrlSampleDetails(api.UrlSampleDetails o) {
buildCounterUrlSampleDetails++;
if (buildCounterUrlSampleDetails < 3) {
- checkUnnamed715(o.containingSitemaps);
- checkUnnamed716(o.linkedFromUrls);
+ checkUnnamed720(o.containingSitemaps);
+ checkUnnamed721(o.linkedFromUrls);
}
buildCounterUrlSampleDetails--;
}
@@ -525,14 +525,14 @@
buildCounterWmxSite--;
}
-buildUnnamed717() {
+buildUnnamed722() {
var o = new core.List<api.WmxSitemapContent>();
o.add(buildWmxSitemapContent());
o.add(buildWmxSitemapContent());
return o;
}
-checkUnnamed717(core.List<api.WmxSitemapContent> o) {
+checkUnnamed722(core.List<api.WmxSitemapContent> o) {
unittest.expect(o, unittest.hasLength(2));
checkWmxSitemapContent(o[0]);
checkWmxSitemapContent(o[1]);
@@ -543,7 +543,7 @@
var o = new api.WmxSitemap();
buildCounterWmxSitemap++;
if (buildCounterWmxSitemap < 3) {
- o.contents = buildUnnamed717();
+ o.contents = buildUnnamed722();
o.errors = "foo";
o.isPending = true;
o.isSitemapsIndex = true;
@@ -560,7 +560,7 @@
checkWmxSitemap(api.WmxSitemap o) {
buildCounterWmxSitemap++;
if (buildCounterWmxSitemap < 3) {
- checkUnnamed717(o.contents);
+ checkUnnamed722(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/youtube/v3_test.dart b/generated/googleapis/test/youtube/v3_test.dart
index dd0a8b1..c2e90dc 100644
--- a/generated/googleapis/test/youtube/v3_test.dart
+++ b/generated/googleapis/test/youtube/v3_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed588() {
+buildUnnamed593() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed588(core.List<core.String> o) {
+checkUnnamed593(core.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 @@
buildCounterAccessPolicy++;
if (buildCounterAccessPolicy < 3) {
o.allowed = true;
- o.exception = buildUnnamed588();
+ o.exception = buildUnnamed593();
}
buildCounterAccessPolicy--;
return o;
@@ -79,7 +79,7 @@
buildCounterAccessPolicy++;
if (buildCounterAccessPolicy < 3) {
unittest.expect(o.allowed, unittest.isTrue);
- checkUnnamed588(o.exception);
+ checkUnnamed593(o.exception);
}
buildCounterAccessPolicy--;
}
@@ -270,27 +270,27 @@
buildCounterActivityContentDetailsPlaylistItem--;
}
-buildUnnamed589() {
+buildUnnamed594() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed589(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'));
}
-buildUnnamed590() {
+buildUnnamed595() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed590(core.List<core.String> o) {
+checkUnnamed595(core.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,8 +308,8 @@
o.customCtaButtonText = "foo";
o.descriptionText = "foo";
o.destinationUrl = "foo";
- o.forecastingUrl = buildUnnamed589();
- o.impressionUrl = buildUnnamed590();
+ o.forecastingUrl = buildUnnamed594();
+ o.impressionUrl = buildUnnamed595();
o.videoId = "foo";
}
buildCounterActivityContentDetailsPromotedItem--;
@@ -327,8 +327,8 @@
unittest.expect(o.customCtaButtonText, unittest.equals('foo'));
unittest.expect(o.descriptionText, unittest.equals('foo'));
unittest.expect(o.destinationUrl, unittest.equals('foo'));
- checkUnnamed589(o.forecastingUrl);
- checkUnnamed590(o.impressionUrl);
+ checkUnnamed594(o.forecastingUrl);
+ checkUnnamed595(o.impressionUrl);
unittest.expect(o.videoId, unittest.equals('foo'));
}
buildCounterActivityContentDetailsPromotedItem--;
@@ -424,14 +424,14 @@
buildCounterActivityContentDetailsUpload--;
}
-buildUnnamed591() {
+buildUnnamed596() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed591(core.List<api.Activity> o) {
+checkUnnamed596(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -444,7 +444,7 @@
if (buildCounterActivityListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed591();
+ o.items = buildUnnamed596();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -461,7 +461,7 @@
if (buildCounterActivityListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed591(o.items);
+ checkUnnamed596(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -531,14 +531,14 @@
buildCounterCaption--;
}
-buildUnnamed592() {
+buildUnnamed597() {
var o = new core.List<api.Caption>();
o.add(buildCaption());
o.add(buildCaption());
return o;
}
-checkUnnamed592(core.List<api.Caption> o) {
+checkUnnamed597(core.List<api.Caption> o) {
unittest.expect(o, unittest.hasLength(2));
checkCaption(o[0]);
checkCaption(o[1]);
@@ -551,7 +551,7 @@
if (buildCounterCaptionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed592();
+ o.items = buildUnnamed597();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -564,7 +564,7 @@
if (buildCounterCaptionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed592(o.items);
+ checkUnnamed597(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -642,14 +642,14 @@
buildCounterCdnSettings--;
}
-buildUnnamed593() {
+buildUnnamed598() {
var o = new core.Map<core.String, api.ChannelLocalization>();
o["x"] = buildChannelLocalization();
o["y"] = buildChannelLocalization();
return o;
}
-checkUnnamed593(core.Map<core.String, api.ChannelLocalization> o) {
+checkUnnamed598(core.Map<core.String, api.ChannelLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelLocalization(o["x"]);
checkChannelLocalization(o["y"]);
@@ -669,7 +669,7 @@
o.id = "foo";
o.invideoPromotion = buildInvideoPromotion();
o.kind = "foo";
- o.localizations = buildUnnamed593();
+ o.localizations = buildUnnamed598();
o.snippet = buildChannelSnippet();
o.statistics = buildChannelStatistics();
o.status = buildChannelStatus();
@@ -691,7 +691,7 @@
unittest.expect(o.id, unittest.equals('foo'));
checkInvideoPromotion(o.invideoPromotion);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed593(o.localizations);
+ checkUnnamed598(o.localizations);
checkChannelSnippet(o.snippet);
checkChannelStatistics(o.statistics);
checkChannelStatus(o.status);
@@ -748,14 +748,14 @@
buildCounterChannelBannerResource--;
}
-buildUnnamed594() {
+buildUnnamed599() {
var o = new core.List<api.PropertyValue>();
o.add(buildPropertyValue());
o.add(buildPropertyValue());
return o;
}
-checkUnnamed594(core.List<api.PropertyValue> o) {
+checkUnnamed599(core.List<api.PropertyValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyValue(o[0]);
checkPropertyValue(o[1]);
@@ -767,7 +767,7 @@
buildCounterChannelBrandingSettings++;
if (buildCounterChannelBrandingSettings < 3) {
o.channel = buildChannelSettings();
- o.hints = buildUnnamed594();
+ o.hints = buildUnnamed599();
o.image = buildImageSettings();
o.watch = buildWatchSettings();
}
@@ -779,7 +779,7 @@
buildCounterChannelBrandingSettings++;
if (buildCounterChannelBrandingSettings < 3) {
checkChannelSettings(o.channel);
- checkUnnamed594(o.hints);
+ checkUnnamed599(o.hints);
checkImageSettings(o.image);
checkWatchSettings(o.watch);
}
@@ -876,14 +876,14 @@
buildCounterChannelConversionPing--;
}
-buildUnnamed595() {
+buildUnnamed600() {
var o = new core.List<api.ChannelConversionPing>();
o.add(buildChannelConversionPing());
o.add(buildChannelConversionPing());
return o;
}
-checkUnnamed595(core.List<api.ChannelConversionPing> o) {
+checkUnnamed600(core.List<api.ChannelConversionPing> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelConversionPing(o[0]);
checkChannelConversionPing(o[1]);
@@ -894,7 +894,7 @@
var o = new api.ChannelConversionPings();
buildCounterChannelConversionPings++;
if (buildCounterChannelConversionPings < 3) {
- o.pings = buildUnnamed595();
+ o.pings = buildUnnamed600();
}
buildCounterChannelConversionPings--;
return o;
@@ -903,19 +903,19 @@
checkChannelConversionPings(api.ChannelConversionPings o) {
buildCounterChannelConversionPings++;
if (buildCounterChannelConversionPings < 3) {
- checkUnnamed595(o.pings);
+ checkUnnamed600(o.pings);
}
buildCounterChannelConversionPings--;
}
-buildUnnamed596() {
+buildUnnamed601() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed596(core.List<api.Channel> o) {
+checkUnnamed601(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
@@ -928,7 +928,7 @@
if (buildCounterChannelListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed596();
+ o.items = buildUnnamed601();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -945,7 +945,7 @@
if (buildCounterChannelListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed596(o.items);
+ checkUnnamed601(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1002,14 +1002,14 @@
buildCounterChannelProfileDetails--;
}
-buildUnnamed597() {
+buildUnnamed602() {
var o = new core.Map<core.String, api.ChannelSectionLocalization>();
o["x"] = buildChannelSectionLocalization();
o["y"] = buildChannelSectionLocalization();
return o;
}
-checkUnnamed597(core.Map<core.String, api.ChannelSectionLocalization> o) {
+checkUnnamed602(core.Map<core.String, api.ChannelSectionLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelSectionLocalization(o["x"]);
checkChannelSectionLocalization(o["y"]);
@@ -1024,7 +1024,7 @@
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
- o.localizations = buildUnnamed597();
+ o.localizations = buildUnnamed602();
o.snippet = buildChannelSectionSnippet();
o.targeting = buildChannelSectionTargeting();
}
@@ -1039,34 +1039,34 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed597(o.localizations);
+ checkUnnamed602(o.localizations);
checkChannelSectionSnippet(o.snippet);
checkChannelSectionTargeting(o.targeting);
}
buildCounterChannelSection--;
}
-buildUnnamed598() {
+buildUnnamed603() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed598(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'));
}
-buildUnnamed599() {
+buildUnnamed604() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed599(core.List<core.String> o) {
+checkUnnamed604(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1077,8 +1077,8 @@
var o = new api.ChannelSectionContentDetails();
buildCounterChannelSectionContentDetails++;
if (buildCounterChannelSectionContentDetails < 3) {
- o.channels = buildUnnamed598();
- o.playlists = buildUnnamed599();
+ o.channels = buildUnnamed603();
+ o.playlists = buildUnnamed604();
}
buildCounterChannelSectionContentDetails--;
return o;
@@ -1087,20 +1087,20 @@
checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) {
buildCounterChannelSectionContentDetails++;
if (buildCounterChannelSectionContentDetails < 3) {
- checkUnnamed598(o.channels);
- checkUnnamed599(o.playlists);
+ checkUnnamed603(o.channels);
+ checkUnnamed604(o.playlists);
}
buildCounterChannelSectionContentDetails--;
}
-buildUnnamed600() {
+buildUnnamed605() {
var o = new core.List<api.ChannelSection>();
o.add(buildChannelSection());
o.add(buildChannelSection());
return o;
}
-checkUnnamed600(core.List<api.ChannelSection> o) {
+checkUnnamed605(core.List<api.ChannelSection> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelSection(o[0]);
checkChannelSection(o[1]);
@@ -1113,7 +1113,7 @@
if (buildCounterChannelSectionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed600();
+ o.items = buildUnnamed605();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -1126,7 +1126,7 @@
if (buildCounterChannelSectionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed600(o.items);
+ checkUnnamed605(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -1183,40 +1183,40 @@
buildCounterChannelSectionSnippet--;
}
-buildUnnamed601() {
+buildUnnamed606() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed601(core.List<core.String> o) {
+checkUnnamed606(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed602() {
+buildUnnamed607() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed602(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'));
}
-buildUnnamed603() {
+buildUnnamed608() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed603(core.List<core.String> o) {
+checkUnnamed608(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1227,9 +1227,9 @@
var o = new api.ChannelSectionTargeting();
buildCounterChannelSectionTargeting++;
if (buildCounterChannelSectionTargeting < 3) {
- o.countries = buildUnnamed601();
- o.languages = buildUnnamed602();
- o.regions = buildUnnamed603();
+ o.countries = buildUnnamed606();
+ o.languages = buildUnnamed607();
+ o.regions = buildUnnamed608();
}
buildCounterChannelSectionTargeting--;
return o;
@@ -1238,21 +1238,21 @@
checkChannelSectionTargeting(api.ChannelSectionTargeting o) {
buildCounterChannelSectionTargeting++;
if (buildCounterChannelSectionTargeting < 3) {
- checkUnnamed601(o.countries);
- checkUnnamed602(o.languages);
- checkUnnamed603(o.regions);
+ checkUnnamed606(o.countries);
+ checkUnnamed607(o.languages);
+ checkUnnamed608(o.regions);
}
buildCounterChannelSectionTargeting--;
}
-buildUnnamed604() {
+buildUnnamed609() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed604(core.List<core.String> o) {
+checkUnnamed609(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1268,7 +1268,7 @@
o.defaultTab = "foo";
o.description = "foo";
o.featuredChannelsTitle = "foo";
- o.featuredChannelsUrls = buildUnnamed604();
+ o.featuredChannelsUrls = buildUnnamed609();
o.keywords = "foo";
o.moderateComments = true;
o.profileColor = "foo";
@@ -1290,7 +1290,7 @@
unittest.expect(o.defaultTab, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.featuredChannelsTitle, unittest.equals('foo'));
- checkUnnamed604(o.featuredChannelsUrls);
+ checkUnnamed609(o.featuredChannelsUrls);
unittest.expect(o.keywords, unittest.equals('foo'));
unittest.expect(o.moderateComments, unittest.isTrue);
unittest.expect(o.profileColor, unittest.equals('foo'));
@@ -1387,27 +1387,27 @@
buildCounterChannelStatus--;
}
-buildUnnamed605() {
+buildUnnamed610() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed605(core.List<core.String> o) {
+checkUnnamed610(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed606() {
+buildUnnamed611() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed606(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'));
@@ -1418,8 +1418,8 @@
var o = new api.ChannelTopicDetails();
buildCounterChannelTopicDetails++;
if (buildCounterChannelTopicDetails < 3) {
- o.topicCategories = buildUnnamed605();
- o.topicIds = buildUnnamed606();
+ o.topicCategories = buildUnnamed610();
+ o.topicIds = buildUnnamed611();
}
buildCounterChannelTopicDetails--;
return o;
@@ -1428,8 +1428,8 @@
checkChannelTopicDetails(api.ChannelTopicDetails o) {
buildCounterChannelTopicDetails++;
if (buildCounterChannelTopicDetails < 3) {
- checkUnnamed605(o.topicCategories);
- checkUnnamed606(o.topicIds);
+ checkUnnamed610(o.topicCategories);
+ checkUnnamed611(o.topicIds);
}
buildCounterChannelTopicDetails--;
}
@@ -1459,14 +1459,14 @@
buildCounterComment--;
}
-buildUnnamed607() {
+buildUnnamed612() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed607(core.List<api.Comment> o) {
+checkUnnamed612(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1479,7 +1479,7 @@
if (buildCounterCommentListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed607();
+ o.items = buildUnnamed612();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1495,7 +1495,7 @@
if (buildCounterCommentListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed607(o.items);
+ checkUnnamed612(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1589,14 +1589,14 @@
buildCounterCommentThread--;
}
-buildUnnamed608() {
+buildUnnamed613() {
var o = new core.List<api.CommentThread>();
o.add(buildCommentThread());
o.add(buildCommentThread());
return o;
}
-checkUnnamed608(core.List<api.CommentThread> o) {
+checkUnnamed613(core.List<api.CommentThread> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentThread(o[0]);
checkCommentThread(o[1]);
@@ -1609,7 +1609,7 @@
if (buildCounterCommentThreadListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed608();
+ o.items = buildUnnamed613();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1625,7 +1625,7 @@
if (buildCounterCommentThreadListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed608(o.items);
+ checkUnnamed613(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1635,14 +1635,14 @@
buildCounterCommentThreadListResponse--;
}
-buildUnnamed609() {
+buildUnnamed614() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed609(core.List<api.Comment> o) {
+checkUnnamed614(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1653,7 +1653,7 @@
var o = new api.CommentThreadReplies();
buildCounterCommentThreadReplies++;
if (buildCounterCommentThreadReplies < 3) {
- o.comments = buildUnnamed609();
+ o.comments = buildUnnamed614();
}
buildCounterCommentThreadReplies--;
return o;
@@ -1662,7 +1662,7 @@
checkCommentThreadReplies(api.CommentThreadReplies o) {
buildCounterCommentThreadReplies++;
if (buildCounterCommentThreadReplies < 3) {
- checkUnnamed609(o.comments);
+ checkUnnamed614(o.comments);
}
buildCounterCommentThreadReplies--;
}
@@ -1696,27 +1696,27 @@
buildCounterCommentThreadSnippet--;
}
-buildUnnamed610() {
+buildUnnamed615() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed610(core.List<core.String> o) {
+checkUnnamed615(core.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() {
+buildUnnamed616() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed611(core.List<core.String> o) {
+checkUnnamed616(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1747,7 +1747,7 @@
o.cscfRating = "foo";
o.czfilmRating = "foo";
o.djctqRating = "foo";
- o.djctqRatingReasons = buildUnnamed610();
+ o.djctqRatingReasons = buildUnnamed615();
o.ecbmctRating = "foo";
o.eefilmRating = "foo";
o.egfilmRating = "foo";
@@ -1756,7 +1756,7 @@
o.fcoRating = "foo";
o.fmocRating = "foo";
o.fpbRating = "foo";
- o.fpbRatingReasons = buildUnnamed611();
+ o.fpbRatingReasons = buildUnnamed616();
o.fskRating = "foo";
o.grfilmRating = "foo";
o.icaaRating = "foo";
@@ -1825,7 +1825,7 @@
unittest.expect(o.cscfRating, unittest.equals('foo'));
unittest.expect(o.czfilmRating, unittest.equals('foo'));
unittest.expect(o.djctqRating, unittest.equals('foo'));
- checkUnnamed610(o.djctqRatingReasons);
+ checkUnnamed615(o.djctqRatingReasons);
unittest.expect(o.ecbmctRating, unittest.equals('foo'));
unittest.expect(o.eefilmRating, unittest.equals('foo'));
unittest.expect(o.egfilmRating, unittest.equals('foo'));
@@ -1834,7 +1834,7 @@
unittest.expect(o.fcoRating, unittest.equals('foo'));
unittest.expect(o.fmocRating, unittest.equals('foo'));
unittest.expect(o.fpbRating, unittest.equals('foo'));
- checkUnnamed611(o.fpbRatingReasons);
+ checkUnnamed616(o.fpbRatingReasons);
unittest.expect(o.fskRating, unittest.equals('foo'));
unittest.expect(o.grfilmRating, unittest.equals('foo'));
unittest.expect(o.icaaRating, unittest.equals('foo'));
@@ -1904,14 +1904,14 @@
buildCounterFanFundingEvent--;
}
-buildUnnamed612() {
+buildUnnamed617() {
var o = new core.List<api.FanFundingEvent>();
o.add(buildFanFundingEvent());
o.add(buildFanFundingEvent());
return o;
}
-checkUnnamed612(core.List<api.FanFundingEvent> o) {
+checkUnnamed617(core.List<api.FanFundingEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkFanFundingEvent(o[0]);
checkFanFundingEvent(o[1]);
@@ -1924,7 +1924,7 @@
if (buildCounterFanFundingEventListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed612();
+ o.items = buildUnnamed617();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1940,7 +1940,7 @@
if (buildCounterFanFundingEventListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed612(o.items);
+ checkUnnamed617(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2030,14 +2030,14 @@
buildCounterGuideCategory--;
}
-buildUnnamed613() {
+buildUnnamed618() {
var o = new core.List<api.GuideCategory>();
o.add(buildGuideCategory());
o.add(buildGuideCategory());
return o;
}
-checkUnnamed613(core.List<api.GuideCategory> o) {
+checkUnnamed618(core.List<api.GuideCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuideCategory(o[0]);
checkGuideCategory(o[1]);
@@ -2050,7 +2050,7 @@
if (buildCounterGuideCategoryListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed613();
+ o.items = buildUnnamed618();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2067,7 +2067,7 @@
if (buildCounterGuideCategoryListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed613(o.items);
+ checkUnnamed618(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2124,14 +2124,14 @@
buildCounterI18nLanguage--;
}
-buildUnnamed614() {
+buildUnnamed619() {
var o = new core.List<api.I18nLanguage>();
o.add(buildI18nLanguage());
o.add(buildI18nLanguage());
return o;
}
-checkUnnamed614(core.List<api.I18nLanguage> o) {
+checkUnnamed619(core.List<api.I18nLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkI18nLanguage(o[0]);
checkI18nLanguage(o[1]);
@@ -2144,7 +2144,7 @@
if (buildCounterI18nLanguageListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed614();
+ o.items = buildUnnamed619();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -2157,7 +2157,7 @@
if (buildCounterI18nLanguageListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed614(o.items);
+ checkUnnamed619(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -2210,14 +2210,14 @@
buildCounterI18nRegion--;
}
-buildUnnamed615() {
+buildUnnamed620() {
var o = new core.List<api.I18nRegion>();
o.add(buildI18nRegion());
o.add(buildI18nRegion());
return o;
}
-checkUnnamed615(core.List<api.I18nRegion> o) {
+checkUnnamed620(core.List<api.I18nRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkI18nRegion(o[0]);
checkI18nRegion(o[1]);
@@ -2230,7 +2230,7 @@
if (buildCounterI18nRegionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed615();
+ o.items = buildUnnamed620();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -2243,7 +2243,7 @@
if (buildCounterI18nRegionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed615(o.items);
+ checkUnnamed620(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -2403,14 +2403,14 @@
buildCounterInvideoPosition--;
}
-buildUnnamed616() {
+buildUnnamed621() {
var o = new core.List<api.PromotedItem>();
o.add(buildPromotedItem());
o.add(buildPromotedItem());
return o;
}
-checkUnnamed616(core.List<api.PromotedItem> o) {
+checkUnnamed621(core.List<api.PromotedItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkPromotedItem(o[0]);
checkPromotedItem(o[1]);
@@ -2422,7 +2422,7 @@
buildCounterInvideoPromotion++;
if (buildCounterInvideoPromotion < 3) {
o.defaultTiming = buildInvideoTiming();
- o.items = buildUnnamed616();
+ o.items = buildUnnamed621();
o.position = buildInvideoPosition();
o.useSmartTiming = true;
}
@@ -2434,7 +2434,7 @@
buildCounterInvideoPromotion++;
if (buildCounterInvideoPromotion < 3) {
checkInvideoTiming(o.defaultTiming);
- checkUnnamed616(o.items);
+ checkUnnamed621(o.items);
checkInvideoPosition(o.position);
unittest.expect(o.useSmartTiming, unittest.isTrue);
}
@@ -2522,6 +2522,7 @@
o.boundStreamId = "foo";
o.boundStreamLastUpdateTimeMs = core.DateTime.parse("2002-02-27T14:01:02");
o.closedCaptionsType = "foo";
+ o.enableAutoStart = true;
o.enableClosedCaptions = true;
o.enableContentEncryption = true;
o.enableDvr = true;
@@ -2545,6 +2546,7 @@
unittest.expect(o.boundStreamLastUpdateTimeMs,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.closedCaptionsType, unittest.equals('foo'));
+ unittest.expect(o.enableAutoStart, unittest.isTrue);
unittest.expect(o.enableClosedCaptions, unittest.isTrue);
unittest.expect(o.enableContentEncryption, unittest.isTrue);
unittest.expect(o.enableDvr, unittest.isTrue);
@@ -2560,14 +2562,14 @@
buildCounterLiveBroadcastContentDetails--;
}
-buildUnnamed617() {
+buildUnnamed622() {
var o = new core.List<api.LiveBroadcast>();
o.add(buildLiveBroadcast());
o.add(buildLiveBroadcast());
return o;
}
-checkUnnamed617(core.List<api.LiveBroadcast> o) {
+checkUnnamed622(core.List<api.LiveBroadcast> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveBroadcast(o[0]);
checkLiveBroadcast(o[1]);
@@ -2580,7 +2582,7 @@
if (buildCounterLiveBroadcastListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed617();
+ o.items = buildUnnamed622();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2597,7 +2599,7 @@
if (buildCounterLiveBroadcastListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed617(o.items);
+ checkUnnamed622(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2852,14 +2854,14 @@
buildCounterLiveChatMessageDeletedDetails--;
}
-buildUnnamed618() {
+buildUnnamed623() {
var o = new core.List<api.LiveChatMessage>();
o.add(buildLiveChatMessage());
o.add(buildLiveChatMessage());
return o;
}
-checkUnnamed618(core.List<api.LiveChatMessage> o) {
+checkUnnamed623(core.List<api.LiveChatMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatMessage(o[0]);
checkLiveChatMessage(o[1]);
@@ -2872,7 +2874,7 @@
if (buildCounterLiveChatMessageListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed618();
+ o.items = buildUnnamed623();
o.kind = "foo";
o.nextPageToken = "foo";
o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02");
@@ -2890,7 +2892,7 @@
if (buildCounterLiveChatMessageListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed618(o.items);
+ checkUnnamed623(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.offlineAt,
@@ -2997,14 +2999,14 @@
buildCounterLiveChatModerator--;
}
-buildUnnamed619() {
+buildUnnamed624() {
var o = new core.List<api.LiveChatModerator>();
o.add(buildLiveChatModerator());
o.add(buildLiveChatModerator());
return o;
}
-checkUnnamed619(core.List<api.LiveChatModerator> o) {
+checkUnnamed624(core.List<api.LiveChatModerator> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatModerator(o[0]);
checkLiveChatModerator(o[1]);
@@ -3017,7 +3019,7 @@
if (buildCounterLiveChatModeratorListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed619();
+ o.items = buildUnnamed624();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3034,7 +3036,7 @@
if (buildCounterLiveChatModeratorListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed619(o.items);
+ checkUnnamed624(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3085,14 +3087,14 @@
buildCounterLiveChatPollClosedDetails--;
}
-buildUnnamed620() {
+buildUnnamed625() {
var o = new core.List<api.LiveChatPollItem>();
o.add(buildLiveChatPollItem());
o.add(buildLiveChatPollItem());
return o;
}
-checkUnnamed620(core.List<api.LiveChatPollItem> o) {
+checkUnnamed625(core.List<api.LiveChatPollItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatPollItem(o[0]);
checkLiveChatPollItem(o[1]);
@@ -3104,7 +3106,7 @@
buildCounterLiveChatPollEditedDetails++;
if (buildCounterLiveChatPollEditedDetails < 3) {
o.id = "foo";
- o.items = buildUnnamed620();
+ o.items = buildUnnamed625();
o.prompt = "foo";
}
buildCounterLiveChatPollEditedDetails--;
@@ -3115,7 +3117,7 @@
buildCounterLiveChatPollEditedDetails++;
if (buildCounterLiveChatPollEditedDetails < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed620(o.items);
+ checkUnnamed625(o.items);
unittest.expect(o.prompt, unittest.equals('foo'));
}
buildCounterLiveChatPollEditedDetails--;
@@ -3142,14 +3144,14 @@
buildCounterLiveChatPollItem--;
}
-buildUnnamed621() {
+buildUnnamed626() {
var o = new core.List<api.LiveChatPollItem>();
o.add(buildLiveChatPollItem());
o.add(buildLiveChatPollItem());
return o;
}
-checkUnnamed621(core.List<api.LiveChatPollItem> o) {
+checkUnnamed626(core.List<api.LiveChatPollItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatPollItem(o[0]);
checkLiveChatPollItem(o[1]);
@@ -3161,7 +3163,7 @@
buildCounterLiveChatPollOpenedDetails++;
if (buildCounterLiveChatPollOpenedDetails < 3) {
o.id = "foo";
- o.items = buildUnnamed621();
+ o.items = buildUnnamed626();
o.prompt = "foo";
}
buildCounterLiveChatPollOpenedDetails--;
@@ -3172,7 +3174,7 @@
buildCounterLiveChatPollOpenedDetails++;
if (buildCounterLiveChatPollOpenedDetails < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed621(o.items);
+ checkUnnamed626(o.items);
unittest.expect(o.prompt, unittest.equals('foo'));
}
buildCounterLiveChatPollOpenedDetails--;
@@ -3345,14 +3347,14 @@
buildCounterLiveStreamContentDetails--;
}
-buildUnnamed622() {
+buildUnnamed627() {
var o = new core.List<api.LiveStreamConfigurationIssue>();
o.add(buildLiveStreamConfigurationIssue());
o.add(buildLiveStreamConfigurationIssue());
return o;
}
-checkUnnamed622(core.List<api.LiveStreamConfigurationIssue> o) {
+checkUnnamed627(core.List<api.LiveStreamConfigurationIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveStreamConfigurationIssue(o[0]);
checkLiveStreamConfigurationIssue(o[1]);
@@ -3363,7 +3365,7 @@
var o = new api.LiveStreamHealthStatus();
buildCounterLiveStreamHealthStatus++;
if (buildCounterLiveStreamHealthStatus < 3) {
- o.configurationIssues = buildUnnamed622();
+ o.configurationIssues = buildUnnamed627();
o.lastUpdateTimeSeconds = "foo";
o.status = "foo";
}
@@ -3374,21 +3376,21 @@
checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) {
buildCounterLiveStreamHealthStatus++;
if (buildCounterLiveStreamHealthStatus < 3) {
- checkUnnamed622(o.configurationIssues);
+ checkUnnamed627(o.configurationIssues);
unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterLiveStreamHealthStatus--;
}
-buildUnnamed623() {
+buildUnnamed628() {
var o = new core.List<api.LiveStream>();
o.add(buildLiveStream());
o.add(buildLiveStream());
return o;
}
-checkUnnamed623(core.List<api.LiveStream> o) {
+checkUnnamed628(core.List<api.LiveStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveStream(o[0]);
checkLiveStream(o[1]);
@@ -3401,7 +3403,7 @@
if (buildCounterLiveStreamListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed623();
+ o.items = buildUnnamed628();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3418,7 +3420,7 @@
if (buildCounterLiveStreamListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed623(o.items);
+ checkUnnamed628(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3478,14 +3480,14 @@
buildCounterLiveStreamStatus--;
}
-buildUnnamed624() {
+buildUnnamed629() {
var o = new core.List<api.LocalizedString>();
o.add(buildLocalizedString());
o.add(buildLocalizedString());
return o;
}
-checkUnnamed624(core.List<api.LocalizedString> o) {
+checkUnnamed629(core.List<api.LocalizedString> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedString(o[0]);
checkLocalizedString(o[1]);
@@ -3498,7 +3500,7 @@
if (buildCounterLocalizedProperty < 3) {
o.default_ = "foo";
o.defaultLanguage = buildLanguageTag();
- o.localized = buildUnnamed624();
+ o.localized = buildUnnamed629();
}
buildCounterLocalizedProperty--;
return o;
@@ -3509,7 +3511,7 @@
if (buildCounterLocalizedProperty < 3) {
unittest.expect(o.default_, unittest.equals('foo'));
checkLanguageTag(o.defaultLanguage);
- checkUnnamed624(o.localized);
+ checkUnnamed629(o.localized);
}
buildCounterLocalizedProperty--;
}
@@ -3579,14 +3581,14 @@
buildCounterPageInfo--;
}
-buildUnnamed625() {
+buildUnnamed630() {
var o = new core.Map<core.String, api.PlaylistLocalization>();
o["x"] = buildPlaylistLocalization();
o["y"] = buildPlaylistLocalization();
return o;
}
-checkUnnamed625(core.Map<core.String, api.PlaylistLocalization> o) {
+checkUnnamed630(core.Map<core.String, api.PlaylistLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylistLocalization(o["x"]);
checkPlaylistLocalization(o["y"]);
@@ -3601,7 +3603,7 @@
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
- o.localizations = buildUnnamed625();
+ o.localizations = buildUnnamed630();
o.player = buildPlaylistPlayer();
o.snippet = buildPlaylistSnippet();
o.status = buildPlaylistStatus();
@@ -3617,7 +3619,7 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed625(o.localizations);
+ checkUnnamed630(o.localizations);
checkPlaylistPlayer(o.player);
checkPlaylistSnippet(o.snippet);
checkPlaylistStatus(o.status);
@@ -3701,14 +3703,14 @@
buildCounterPlaylistItemContentDetails--;
}
-buildUnnamed626() {
+buildUnnamed631() {
var o = new core.List<api.PlaylistItem>();
o.add(buildPlaylistItem());
o.add(buildPlaylistItem());
return o;
}
-checkUnnamed626(core.List<api.PlaylistItem> o) {
+checkUnnamed631(core.List<api.PlaylistItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylistItem(o[0]);
checkPlaylistItem(o[1]);
@@ -3721,7 +3723,7 @@
if (buildCounterPlaylistItemListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed626();
+ o.items = buildUnnamed631();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3738,7 +3740,7 @@
if (buildCounterPlaylistItemListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed626(o.items);
+ checkUnnamed631(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3804,14 +3806,14 @@
buildCounterPlaylistItemStatus--;
}
-buildUnnamed627() {
+buildUnnamed632() {
var o = new core.List<api.Playlist>();
o.add(buildPlaylist());
o.add(buildPlaylist());
return o;
}
-checkUnnamed627(core.List<api.Playlist> o) {
+checkUnnamed632(core.List<api.Playlist> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylist(o[0]);
checkPlaylist(o[1]);
@@ -3824,7 +3826,7 @@
if (buildCounterPlaylistListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed627();
+ o.items = buildUnnamed632();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3841,7 +3843,7 @@
if (buildCounterPlaylistListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed627(o.items);
+ checkUnnamed632(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3892,14 +3894,14 @@
buildCounterPlaylistPlayer--;
}
-buildUnnamed628() {
+buildUnnamed633() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed628(core.List<core.String> o) {
+checkUnnamed633(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3916,7 +3918,7 @@
o.description = "foo";
o.localized = buildPlaylistLocalization();
o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
- o.tags = buildUnnamed628();
+ o.tags = buildUnnamed633();
o.thumbnails = buildThumbnailDetails();
o.title = "foo";
}
@@ -3934,7 +3936,7 @@
checkPlaylistLocalization(o.localized);
unittest.expect(o.publishedAt,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed628(o.tags);
+ checkUnnamed633(o.tags);
checkThumbnailDetails(o.thumbnails);
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -4056,14 +4058,14 @@
buildCounterResourceId--;
}
-buildUnnamed629() {
+buildUnnamed634() {
var o = new core.List<api.SearchResult>();
o.add(buildSearchResult());
o.add(buildSearchResult());
return o;
}
-checkUnnamed629(core.List<api.SearchResult> o) {
+checkUnnamed634(core.List<api.SearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSearchResult(o[0]);
checkSearchResult(o[1]);
@@ -4076,7 +4078,7 @@
if (buildCounterSearchListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed629();
+ o.items = buildUnnamed634();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4094,7 +4096,7 @@
if (buildCounterSearchListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed629(o.items);
+ checkUnnamed634(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4188,14 +4190,14 @@
buildCounterSponsor--;
}
-buildUnnamed630() {
+buildUnnamed635() {
var o = new core.List<api.Sponsor>();
o.add(buildSponsor());
o.add(buildSponsor());
return o;
}
-checkUnnamed630(core.List<api.Sponsor> o) {
+checkUnnamed635(core.List<api.Sponsor> o) {
unittest.expect(o, unittest.hasLength(2));
checkSponsor(o[0]);
checkSponsor(o[1]);
@@ -4208,7 +4210,7 @@
if (buildCounterSponsorListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed630();
+ o.items = buildUnnamed635();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4224,7 +4226,7 @@
if (buildCounterSponsorListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed630(o.items);
+ checkUnnamed635(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4310,14 +4312,14 @@
buildCounterSubscriptionContentDetails--;
}
-buildUnnamed631() {
+buildUnnamed636() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed631(core.List<api.Subscription> o) {
+checkUnnamed636(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -4330,7 +4332,7 @@
if (buildCounterSubscriptionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed631();
+ o.items = buildUnnamed636();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4347,7 +4349,7 @@
if (buildCounterSubscriptionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed631(o.items);
+ checkUnnamed636(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4440,14 +4442,14 @@
buildCounterSuperChatEvent--;
}
-buildUnnamed632() {
+buildUnnamed637() {
var o = new core.List<api.SuperChatEvent>();
o.add(buildSuperChatEvent());
o.add(buildSuperChatEvent());
return o;
}
-checkUnnamed632(core.List<api.SuperChatEvent> o) {
+checkUnnamed637(core.List<api.SuperChatEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuperChatEvent(o[0]);
checkSuperChatEvent(o[1]);
@@ -4460,7 +4462,7 @@
if (buildCounterSuperChatEventListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed632();
+ o.items = buildUnnamed637();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4476,7 +4478,7 @@
if (buildCounterSuperChatEventListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed632(o.items);
+ checkUnnamed637(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4570,14 +4572,14 @@
buildCounterThumbnailDetails--;
}
-buildUnnamed633() {
+buildUnnamed638() {
var o = new core.List<api.ThumbnailDetails>();
o.add(buildThumbnailDetails());
o.add(buildThumbnailDetails());
return o;
}
-checkUnnamed633(core.List<api.ThumbnailDetails> o) {
+checkUnnamed638(core.List<api.ThumbnailDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkThumbnailDetails(o[0]);
checkThumbnailDetails(o[1]);
@@ -4590,7 +4592,7 @@
if (buildCounterThumbnailSetResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed633();
+ o.items = buildUnnamed638();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -4603,7 +4605,7 @@
if (buildCounterThumbnailSetResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed633(o.items);
+ checkUnnamed638(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -4625,14 +4627,14 @@
buildCounterTokenPagination--;
}
-buildUnnamed634() {
+buildUnnamed639() {
var o = new core.Map<core.String, api.VideoLocalization>();
o["x"] = buildVideoLocalization();
o["y"] = buildVideoLocalization();
return o;
}
-checkUnnamed634(core.Map<core.String, api.VideoLocalization> o) {
+checkUnnamed639(core.Map<core.String, api.VideoLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoLocalization(o["x"]);
checkVideoLocalization(o["y"]);
@@ -4643,6 +4645,7 @@
var o = new api.Video();
buildCounterVideo++;
if (buildCounterVideo < 3) {
+ o.accessToken = "foo";
o.ageGating = buildVideoAgeGating();
o.contentDetails = buildVideoContentDetails();
o.etag = "foo";
@@ -4650,7 +4653,7 @@
o.id = "foo";
o.kind = "foo";
o.liveStreamingDetails = buildVideoLiveStreamingDetails();
- o.localizations = buildUnnamed634();
+ o.localizations = buildUnnamed639();
o.monetizationDetails = buildVideoMonetizationDetails();
o.player = buildVideoPlayer();
o.processingDetails = buildVideoProcessingDetails();
@@ -4669,6 +4672,7 @@
checkVideo(api.Video o) {
buildCounterVideo++;
if (buildCounterVideo < 3) {
+ unittest.expect(o.accessToken, unittest.equals('foo'));
checkVideoAgeGating(o.ageGating);
checkVideoContentDetails(o.contentDetails);
unittest.expect(o.etag, unittest.equals('foo'));
@@ -4676,7 +4680,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkVideoLiveStreamingDetails(o.liveStreamingDetails);
- checkUnnamed634(o.localizations);
+ checkUnnamed639(o.localizations);
checkVideoMonetizationDetails(o.monetizationDetails);
checkVideoPlayer(o.player);
checkVideoProcessingDetails(o.processingDetails);
@@ -4743,14 +4747,14 @@
buildCounterVideoAbuseReportReason--;
}
-buildUnnamed635() {
+buildUnnamed640() {
var o = new core.List<api.VideoAbuseReportReason>();
o.add(buildVideoAbuseReportReason());
o.add(buildVideoAbuseReportReason());
return o;
}
-checkUnnamed635(core.List<api.VideoAbuseReportReason> o) {
+checkUnnamed640(core.List<api.VideoAbuseReportReason> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoAbuseReportReason(o[0]);
checkVideoAbuseReportReason(o[1]);
@@ -4763,7 +4767,7 @@
if (buildCounterVideoAbuseReportReasonListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed635();
+ o.items = buildUnnamed640();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -4777,21 +4781,21 @@
if (buildCounterVideoAbuseReportReasonListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed635(o.items);
+ checkUnnamed640(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
buildCounterVideoAbuseReportReasonListResponse--;
}
-buildUnnamed636() {
+buildUnnamed641() {
var o = new core.List<api.VideoAbuseReportSecondaryReason>();
o.add(buildVideoAbuseReportSecondaryReason());
o.add(buildVideoAbuseReportSecondaryReason());
return o;
}
-checkUnnamed636(core.List<api.VideoAbuseReportSecondaryReason> o) {
+checkUnnamed641(core.List<api.VideoAbuseReportSecondaryReason> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoAbuseReportSecondaryReason(o[0]);
checkVideoAbuseReportSecondaryReason(o[1]);
@@ -4803,7 +4807,7 @@
buildCounterVideoAbuseReportReasonSnippet++;
if (buildCounterVideoAbuseReportReasonSnippet < 3) {
o.label = "foo";
- o.secondaryReasons = buildUnnamed636();
+ o.secondaryReasons = buildUnnamed641();
}
buildCounterVideoAbuseReportReasonSnippet--;
return o;
@@ -4813,7 +4817,7 @@
buildCounterVideoAbuseReportReasonSnippet++;
if (buildCounterVideoAbuseReportReasonSnippet < 3) {
unittest.expect(o.label, unittest.equals('foo'));
- checkUnnamed636(o.secondaryReasons);
+ checkUnnamed641(o.secondaryReasons);
}
buildCounterVideoAbuseReportReasonSnippet--;
}
@@ -4887,14 +4891,14 @@
buildCounterVideoCategory--;
}
-buildUnnamed637() {
+buildUnnamed642() {
var o = new core.List<api.VideoCategory>();
o.add(buildVideoCategory());
o.add(buildVideoCategory());
return o;
}
-checkUnnamed637(core.List<api.VideoCategory> o) {
+checkUnnamed642(core.List<api.VideoCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoCategory(o[0]);
checkVideoCategory(o[1]);
@@ -4907,7 +4911,7 @@
if (buildCounterVideoCategoryListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed637();
+ o.items = buildUnnamed642();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4924,7 +4928,7 @@
if (buildCounterVideoCategoryListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed637(o.items);
+ checkUnnamed642(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4995,27 +4999,27 @@
buildCounterVideoContentDetails--;
}
-buildUnnamed638() {
+buildUnnamed643() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed638(core.List<core.String> o) {
+checkUnnamed643(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed639() {
+buildUnnamed644() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed639(core.List<core.String> 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'));
@@ -5026,8 +5030,8 @@
var o = new api.VideoContentDetailsRegionRestriction();
buildCounterVideoContentDetailsRegionRestriction++;
if (buildCounterVideoContentDetailsRegionRestriction < 3) {
- o.allowed = buildUnnamed638();
- o.blocked = buildUnnamed639();
+ o.allowed = buildUnnamed643();
+ o.blocked = buildUnnamed644();
}
buildCounterVideoContentDetailsRegionRestriction--;
return o;
@@ -5037,33 +5041,33 @@
api.VideoContentDetailsRegionRestriction o) {
buildCounterVideoContentDetailsRegionRestriction++;
if (buildCounterVideoContentDetailsRegionRestriction < 3) {
- checkUnnamed638(o.allowed);
- checkUnnamed639(o.blocked);
+ checkUnnamed643(o.allowed);
+ checkUnnamed644(o.blocked);
}
buildCounterVideoContentDetailsRegionRestriction--;
}
-buildUnnamed640() {
+buildUnnamed645() {
var o = new core.List<api.VideoFileDetailsAudioStream>();
o.add(buildVideoFileDetailsAudioStream());
o.add(buildVideoFileDetailsAudioStream());
return o;
}
-checkUnnamed640(core.List<api.VideoFileDetailsAudioStream> o) {
+checkUnnamed645(core.List<api.VideoFileDetailsAudioStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFileDetailsAudioStream(o[0]);
checkVideoFileDetailsAudioStream(o[1]);
}
-buildUnnamed641() {
+buildUnnamed646() {
var o = new core.List<api.VideoFileDetailsVideoStream>();
o.add(buildVideoFileDetailsVideoStream());
o.add(buildVideoFileDetailsVideoStream());
return o;
}
-checkUnnamed641(core.List<api.VideoFileDetailsVideoStream> o) {
+checkUnnamed646(core.List<api.VideoFileDetailsVideoStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFileDetailsVideoStream(o[0]);
checkVideoFileDetailsVideoStream(o[1]);
@@ -5074,7 +5078,7 @@
var o = new api.VideoFileDetails();
buildCounterVideoFileDetails++;
if (buildCounterVideoFileDetails < 3) {
- o.audioStreams = buildUnnamed640();
+ o.audioStreams = buildUnnamed645();
o.bitrateBps = "foo";
o.container = "foo";
o.creationTime = "foo";
@@ -5082,7 +5086,7 @@
o.fileName = "foo";
o.fileSize = "foo";
o.fileType = "foo";
- o.videoStreams = buildUnnamed641();
+ o.videoStreams = buildUnnamed646();
}
buildCounterVideoFileDetails--;
return o;
@@ -5091,7 +5095,7 @@
checkVideoFileDetails(api.VideoFileDetails o) {
buildCounterVideoFileDetails++;
if (buildCounterVideoFileDetails < 3) {
- checkUnnamed640(o.audioStreams);
+ checkUnnamed645(o.audioStreams);
unittest.expect(o.bitrateBps, unittest.equals('foo'));
unittest.expect(o.container, unittest.equals('foo'));
unittest.expect(o.creationTime, unittest.equals('foo'));
@@ -5099,7 +5103,7 @@
unittest.expect(o.fileName, unittest.equals('foo'));
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.fileType, unittest.equals('foo'));
- checkUnnamed641(o.videoStreams);
+ checkUnnamed646(o.videoStreams);
}
buildCounterVideoFileDetails--;
}
@@ -5162,14 +5166,14 @@
buildCounterVideoFileDetailsVideoStream--;
}
-buildUnnamed642() {
+buildUnnamed647() {
var o = new core.List<api.VideoRating>();
o.add(buildVideoRating());
o.add(buildVideoRating());
return o;
}
-checkUnnamed642(core.List<api.VideoRating> o) {
+checkUnnamed647(core.List<api.VideoRating> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoRating(o[0]);
checkVideoRating(o[1]);
@@ -5182,7 +5186,7 @@
if (buildCounterVideoGetRatingResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed642();
+ o.items = buildUnnamed647();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -5195,21 +5199,21 @@
if (buildCounterVideoGetRatingResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed642(o.items);
+ checkUnnamed647(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
buildCounterVideoGetRatingResponse--;
}
-buildUnnamed643() {
+buildUnnamed648() {
var o = new core.List<api.Video>();
o.add(buildVideo());
o.add(buildVideo());
return o;
}
-checkUnnamed643(core.List<api.Video> o) {
+checkUnnamed648(core.List<api.Video> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideo(o[0]);
checkVideo(o[1]);
@@ -5222,7 +5226,7 @@
if (buildCounterVideoListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed643();
+ o.items = buildUnnamed648();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -5239,7 +5243,7 @@
if (buildCounterVideoListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed643(o.items);
+ checkUnnamed648(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -5403,14 +5407,14 @@
buildCounterVideoProcessingDetailsProcessingProgress--;
}
-buildUnnamed644() {
+buildUnnamed649() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed644(core.List<core.String> o) {
+checkUnnamed649(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5421,7 +5425,7 @@
var o = new api.VideoProjectDetails();
buildCounterVideoProjectDetails++;
if (buildCounterVideoProjectDetails < 3) {
- o.tags = buildUnnamed644();
+ o.tags = buildUnnamed649();
}
buildCounterVideoProjectDetails--;
return o;
@@ -5430,7 +5434,7 @@
checkVideoProjectDetails(api.VideoProjectDetails o) {
buildCounterVideoProjectDetails++;
if (buildCounterVideoProjectDetails < 3) {
- checkUnnamed644(o.tags);
+ checkUnnamed649(o.tags);
}
buildCounterVideoProjectDetails--;
}
@@ -5480,14 +5484,14 @@
buildCounterVideoRecordingDetails--;
}
-buildUnnamed645() {
+buildUnnamed650() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed645(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'));
@@ -5507,7 +5511,7 @@
o.liveBroadcastContent = "foo";
o.localized = buildVideoLocalization();
o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
- o.tags = buildUnnamed645();
+ o.tags = buildUnnamed650();
o.thumbnails = buildThumbnailDetails();
o.title = "foo";
}
@@ -5528,7 +5532,7 @@
checkVideoLocalization(o.localized);
unittest.expect(o.publishedAt,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed645(o.tags);
+ checkUnnamed650(o.tags);
checkThumbnailDetails(o.thumbnails);
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -5596,98 +5600,6 @@
buildCounterVideoStatus--;
}
-buildUnnamed646() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed646(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed647() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed647(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-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.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed649(core.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.List<api.VideoSuggestionsTagSuggestion>();
- o.add(buildVideoSuggestionsTagSuggestion());
- o.add(buildVideoSuggestionsTagSuggestion());
- return o;
-}
-
-checkUnnamed650(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 = buildUnnamed646();
- o.processingErrors = buildUnnamed647();
- o.processingHints = buildUnnamed648();
- o.processingWarnings = buildUnnamed649();
- o.tagSuggestions = buildUnnamed650();
- }
- buildCounterVideoSuggestions--;
- return o;
-}
-
-checkVideoSuggestions(api.VideoSuggestions o) {
- buildCounterVideoSuggestions++;
- if (buildCounterVideoSuggestions < 3) {
- checkUnnamed646(o.editorSuggestions);
- checkUnnamed647(o.processingErrors);
- checkUnnamed648(o.processingHints);
- checkUnnamed649(o.processingWarnings);
- checkUnnamed650(o.tagSuggestions);
- }
- buildCounterVideoSuggestions--;
-}
-
buildUnnamed651() {
var o = new core.List<core.String>();
o.add("foo");
@@ -5701,27 +5613,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterVideoSuggestionsTagSuggestion = 0;
-buildVideoSuggestionsTagSuggestion() {
- var o = new api.VideoSuggestionsTagSuggestion();
- buildCounterVideoSuggestionsTagSuggestion++;
- if (buildCounterVideoSuggestionsTagSuggestion < 3) {
- o.categoryRestricts = buildUnnamed651();
- o.tag = "foo";
- }
- buildCounterVideoSuggestionsTagSuggestion--;
- return o;
-}
-
-checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) {
- buildCounterVideoSuggestionsTagSuggestion++;
- if (buildCounterVideoSuggestionsTagSuggestion < 3) {
- checkUnnamed651(o.categoryRestricts);
- unittest.expect(o.tag, unittest.equals('foo'));
- }
- buildCounterVideoSuggestionsTagSuggestion--;
-}
-
buildUnnamed652() {
var o = new core.List<core.String>();
o.add("foo");
@@ -5761,14 +5652,127 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed655() {
+ var o = new core.List<api.VideoSuggestionsTagSuggestion>();
+ o.add(buildVideoSuggestionsTagSuggestion());
+ o.add(buildVideoSuggestionsTagSuggestion());
+ return o;
+}
+
+checkUnnamed655(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 = buildUnnamed651();
+ o.processingErrors = buildUnnamed652();
+ o.processingHints = buildUnnamed653();
+ o.processingWarnings = buildUnnamed654();
+ o.tagSuggestions = buildUnnamed655();
+ }
+ buildCounterVideoSuggestions--;
+ return o;
+}
+
+checkVideoSuggestions(api.VideoSuggestions o) {
+ buildCounterVideoSuggestions++;
+ if (buildCounterVideoSuggestions < 3) {
+ checkUnnamed651(o.editorSuggestions);
+ checkUnnamed652(o.processingErrors);
+ checkUnnamed653(o.processingHints);
+ checkUnnamed654(o.processingWarnings);
+ checkUnnamed655(o.tagSuggestions);
+ }
+ buildCounterVideoSuggestions--;
+}
+
+buildUnnamed656() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed656(core.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 = buildUnnamed656();
+ o.tag = "foo";
+ }
+ buildCounterVideoSuggestionsTagSuggestion--;
+ return o;
+}
+
+checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) {
+ buildCounterVideoSuggestionsTagSuggestion++;
+ if (buildCounterVideoSuggestionsTagSuggestion < 3) {
+ checkUnnamed656(o.categoryRestricts);
+ unittest.expect(o.tag, unittest.equals('foo'));
+ }
+ buildCounterVideoSuggestionsTagSuggestion--;
+}
+
+buildUnnamed657() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed657(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed658() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed658(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed659() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed659(core.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 buildCounterVideoTopicDetails = 0;
buildVideoTopicDetails() {
var o = new api.VideoTopicDetails();
buildCounterVideoTopicDetails++;
if (buildCounterVideoTopicDetails < 3) {
- o.relevantTopicIds = buildUnnamed652();
- o.topicCategories = buildUnnamed653();
- o.topicIds = buildUnnamed654();
+ o.relevantTopicIds = buildUnnamed657();
+ o.topicCategories = buildUnnamed658();
+ o.topicIds = buildUnnamed659();
}
buildCounterVideoTopicDetails--;
return o;
@@ -5777,9 +5781,9 @@
checkVideoTopicDetails(api.VideoTopicDetails o) {
buildCounterVideoTopicDetails++;
if (buildCounterVideoTopicDetails < 3) {
- checkUnnamed652(o.relevantTopicIds);
- checkUnnamed653(o.topicCategories);
- checkUnnamed654(o.topicIds);
+ checkUnnamed657(o.relevantTopicIds);
+ checkUnnamed658(o.topicCategories);
+ checkUnnamed659(o.topicIds);
}
buildCounterVideoTopicDetails--;
}
diff --git a/generated/googleapis/test/youtubereporting/v1_test.dart b/generated/googleapis/test/youtubereporting/v1_test.dart
index 9f0c21e..d3e1e0f 100644
--- a/generated/googleapis/test/youtubereporting/v1_test.dart
+++ b/generated/googleapis/test/youtubereporting/v1_test.dart
@@ -94,14 +94,14 @@
buildCounterJob--;
}
-buildUnnamed1119() {
+buildUnnamed1126() {
var o = new core.List<api.Job>();
o.add(buildJob());
o.add(buildJob());
return o;
}
-checkUnnamed1119(core.List<api.Job> o) {
+checkUnnamed1126(core.List<api.Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkJob(o[0]);
checkJob(o[1]);
@@ -112,7 +112,7 @@
var o = new api.ListJobsResponse();
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- o.jobs = buildUnnamed1119();
+ o.jobs = buildUnnamed1126();
o.nextPageToken = "foo";
}
buildCounterListJobsResponse--;
@@ -122,20 +122,20 @@
checkListJobsResponse(api.ListJobsResponse o) {
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- checkUnnamed1119(o.jobs);
+ checkUnnamed1126(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListJobsResponse--;
}
-buildUnnamed1120() {
+buildUnnamed1127() {
var o = new core.List<api.ReportType>();
o.add(buildReportType());
o.add(buildReportType());
return o;
}
-checkUnnamed1120(core.List<api.ReportType> o) {
+checkUnnamed1127(core.List<api.ReportType> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportType(o[0]);
checkReportType(o[1]);
@@ -147,7 +147,7 @@
buildCounterListReportTypesResponse++;
if (buildCounterListReportTypesResponse < 3) {
o.nextPageToken = "foo";
- o.reportTypes = buildUnnamed1120();
+ o.reportTypes = buildUnnamed1127();
}
buildCounterListReportTypesResponse--;
return o;
@@ -157,19 +157,19 @@
buildCounterListReportTypesResponse++;
if (buildCounterListReportTypesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1120(o.reportTypes);
+ checkUnnamed1127(o.reportTypes);
}
buildCounterListReportTypesResponse--;
}
-buildUnnamed1121() {
+buildUnnamed1128() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed1121(core.List<api.Report> o) {
+checkUnnamed1128(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -181,7 +181,7 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
o.nextPageToken = "foo";
- o.reports = buildUnnamed1121();
+ o.reports = buildUnnamed1128();
}
buildCounterListReportsResponse--;
return o;
@@ -191,7 +191,7 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1121(o.reports);
+ checkUnnamed1128(o.reports);
}
buildCounterListReportsResponse--;
}
@@ -514,10 +514,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.JobsResourceApi res = new api.YoutubereportingApi(mock).jobs;
- var arg_pageToken = "foo";
- var arg_includeSystemManaged = true;
var arg_pageSize = 42;
var arg_onBehalfOfContentOwner = "foo";
+ var arg_pageToken = "foo";
+ var arg_includeSystemManaged = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -549,14 +549,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(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["includeSystemManaged"].first,
+ unittest.equals("$arg_includeSystemManaged"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -567,10 +567,10 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
- includeSystemManaged: arg_includeSystemManaged,
pageSize: arg_pageSize,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ pageToken: arg_pageToken,
+ includeSystemManaged: arg_includeSystemManaged,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListJobsResponse response) {
checkListJobsResponse(response);
@@ -653,12 +653,12 @@
api.JobsReportsResourceApi res =
new api.YoutubereportingApi(mock).jobs.reports;
var arg_jobId = "foo";
- var arg_createdAfter = "foo";
- var arg_pageToken = "foo";
- var arg_startTimeAtOrAfter = "foo";
var arg_pageSize = 42;
var arg_onBehalfOfContentOwner = "foo";
var arg_startTimeBefore = "foo";
+ var arg_createdAfter = "foo";
+ var arg_startTimeAtOrAfter = "foo";
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -699,18 +699,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(queryMap["startTimeAtOrAfter"].first,
- unittest.equals(arg_startTimeAtOrAfter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["startTimeBefore"].first,
unittest.equals(arg_startTimeBefore));
+ unittest.expect(
+ queryMap["createdAfter"].first, unittest.equals(arg_createdAfter));
+ unittest.expect(queryMap["startTimeAtOrAfter"].first,
+ unittest.equals(arg_startTimeAtOrAfter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -721,12 +721,12 @@
}), true);
res
.list(arg_jobId,
- createdAfter: arg_createdAfter,
- pageToken: arg_pageToken,
- startTimeAtOrAfter: arg_startTimeAtOrAfter,
pageSize: arg_pageSize,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
startTimeBefore: arg_startTimeBefore,
+ createdAfter: arg_createdAfter,
+ startTimeAtOrAfter: arg_startTimeAtOrAfter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListReportsResponse response) {
checkListReportsResponse(response);
@@ -795,10 +795,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_pageToken = "foo";
+ var arg_includeSystemManaged = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -830,14 +830,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(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["includeSystemManaged"].first,
+ unittest.equals("$arg_includeSystemManaged"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -848,10 +848,10 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
- includeSystemManaged: arg_includeSystemManaged,
pageSize: arg_pageSize,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ pageToken: arg_pageToken,
+ includeSystemManaged: arg_includeSystemManaged,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListReportTypesResponse response) {
checkListReportTypesResponse(response);