Api-Roll 53: 2017-08-21
R=vegorov@google.com
Review-Url: https://codereview.chromium.org//3003493002 .
diff --git a/generated/googleapis/CHANGELOG.md b/generated/googleapis/CHANGELOG.md
index fb75dbd..f968fbb 100644
--- a/generated/googleapis/CHANGELOG.md
+++ b/generated/googleapis/CHANGELOG.md
@@ -1,3 +1,31 @@
+## 0.43.0
+* [api] adexperiencereport:v1
+* [api] analytics:v3
+* [api] androidmanagement:v1
+* [api] androidpublisher:v2
+* [api] bigquerydatatransfer:v1
+* [api] bigquery:v2
+* [api] classroom:v1
+* [api] cloudbilling:v1
+* [api] cloudkms:v1
+* [api] compute:v1
+* [api] content:v2
+* [api] datastore:v1
+* [api] deploymentmanager:v2
+* [api] firebasedynamiclinks:v1
+* [api] logging:v2
+* [api] manufacturers:v1
+* [api] ml:v1
+* [api] servicemanagement:v1
+* [api] serviceuser:v1
+* [api] spanner:v1
+* [api-breaking] adexperiencereport:v1
+* [api-breaking] androiddeviceprovisioning:v1
+* [api-breaking] iam:v1
+* [api-breaking] monitoring:v3
+* [api-breaking] script:v1
+* [api-breaking] servicemanagement:v1
+
## 0.42.0
* [api-new] androiddeviceprovisioning:v1
diff --git a/generated/googleapis/README.md b/generated/googleapis/README.md
index 8293d31..5f538b4 100644
--- a/generated/googleapis/README.md
+++ b/generated/googleapis/README.md
@@ -149,7 +149,7 @@
####  Android Device Provisioning Partner API - androiddeviceprovisioning v1
-Android Device Provisioning Partner API
+Automates reseller integration into Zero Touch Provisioning by assigning devices to customers and creating device reports.
Official API documentation: https://developers.google.com/zero-touch/
@@ -604,13 +604,13 @@
####  Google Safe Browsing API - safebrowsing v4
-The Safe Browsing API is an experimental API that allows client applications to check URLs against Google's constantly-updated blacklists of suspected phishing and malware pages. Your client application can use the API to download an encrypted table for local, client-side lookups of URLs.
+Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources.
Official API documentation: https://developers.google.com/safe-browsing/
####  Google Apps Script Execution API - script v1
-Executes Google Apps Script projects.
+Executes functions in Google Apps Script projects.
Official API documentation: https://developers.google.com/apps-script/execution/rest/v1/scripts/run
diff --git a/generated/googleapis/lib/adexchangebuyer/v1_4.dart b/generated/googleapis/lib/adexchangebuyer/v1_4.dart
index 98ae473..ea5d125 100644
--- a/generated/googleapis/lib/adexchangebuyer/v1_4.dart
+++ b/generated/googleapis/lib/adexchangebuyer/v1_4.dart
@@ -6019,7 +6019,7 @@
}
class PublisherProfileApiProto {
- /** The account id of the seller. */
+ /** Deprecated: use the seller.account_id. The account id of the seller. */
core.String accountId;
/** Publisher provided info on its audience. */
core.String audience;
diff --git a/generated/googleapis/lib/adexperiencereport/v1.dart b/generated/googleapis/lib/adexperiencereport/v1.dart
index e3a0703..692c9d8 100644
--- a/generated/googleapis/lib/adexperiencereport/v1.dart
+++ b/generated/googleapis/lib/adexperiencereport/v1.dart
@@ -40,14 +40,18 @@
_requester = client;
/**
- * Gets a summary of the ads rating of a site.
+ * Gets a summary of the ad experience rating of a site.
*
* Request parameters:
*
- * [name] - The required site name. It should be a site property registered in
- * Search
- * Console. The server will return an error of BAD_REQUEST if this field is
- * not filled in.
+ * [name] - The required site name. It should be the site property whose ad
+ * experiences
+ * may have been reviewed, and it should be URL-encoded. For example,
+ * sites/https%3A%2F%2Fwww.google.com. The server will return an error of
+ * BAD_REQUEST if this field is not filled in. Note that if the site property
+ * is not yet verified in Search Console, the reportUrl field returned by the
+ * API will lead to the verification page, prompting the user to go through
+ * that process before they can gain access to the Ad Experience Report.
* Value must have pattern "^sites/[^/]+$".
*
* Completes with a [SiteSummaryResponse].
@@ -129,9 +133,17 @@
-/** Summary of the ads rating of a site for a specific platform. */
+/** Summary of the ad experience rating of a site for a specific platform. */
class PlatformSummary {
/**
+ * The status of the site reviewed for abusive ads.
+ * Possible string values are:
+ * - "UNKNOWN" : Not reviewed.
+ * - "PASSING" : Passing.
+ * - "FAILING" : Failing.
+ */
+ core.String abusiveStatus;
+ /**
* The status of the site reviewed for the Better Ads Standards.
* Possible string values are:
* - "UNKNOWN" : Not reviewed.
@@ -140,14 +152,6 @@
* - "FAILING" : Failing.
*/
core.String betterAdsStatus;
- /**
- * The status of the site reviewed for egregious ads.
- * Possible string values are:
- * - "UNKNOWN" : Not reviewed.
- * - "PASSING" : Passing.
- * - "FAILING" : Failing.
- */
- core.String egregiousStatus;
/** The date on which ad filtering begins. */
core.String enforcementTime;
/**
@@ -172,12 +176,12 @@
PlatformSummary();
PlatformSummary.fromJson(core.Map _json) {
+ if (_json.containsKey("abusiveStatus")) {
+ abusiveStatus = _json["abusiveStatus"];
+ }
if (_json.containsKey("betterAdsStatus")) {
betterAdsStatus = _json["betterAdsStatus"];
}
- if (_json.containsKey("egregiousStatus")) {
- egregiousStatus = _json["egregiousStatus"];
- }
if (_json.containsKey("enforcementTime")) {
enforcementTime = _json["enforcementTime"];
}
@@ -200,12 +204,12 @@
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (abusiveStatus != null) {
+ _json["abusiveStatus"] = abusiveStatus;
+ }
if (betterAdsStatus != null) {
_json["betterAdsStatus"] = betterAdsStatus;
}
- if (egregiousStatus != null) {
- _json["egregiousStatus"] = egregiousStatus;
- }
if (enforcementTime != null) {
_json["enforcementTime"] = enforcementTime;
}
diff --git a/generated/googleapis/lib/analytics/v3.dart b/generated/googleapis/lib/analytics/v3.dart
index 2c644fb..8bcc18a 100644
--- a/generated/googleapis/lib/analytics/v3.dart
+++ b/generated/googleapis/lib/analytics/v3.dart
@@ -5810,12 +5810,15 @@
CustomDataSourceParentLink parentLink;
/** IDs of views (profiles) linked to the custom data source. */
core.List<core.String> profilesLinked;
+ /** Collection of schema headers of the custom data source. */
+ core.List<core.String> schema;
/** Link for this Analytics custom data source. */
core.String selfLink;
/** Type of the custom data source. */
core.String type;
/** Time this custom data source was last modified. */
core.DateTime updated;
+ /** Upload type of the custom data source. */
core.String uploadType;
/**
* Web property ID of the form UA-XXXXX-YY to which this custom data source
@@ -5856,6 +5859,9 @@
if (_json.containsKey("profilesLinked")) {
profilesLinked = _json["profilesLinked"];
}
+ if (_json.containsKey("schema")) {
+ schema = _json["schema"];
+ }
if (_json.containsKey("selfLink")) {
selfLink = _json["selfLink"];
}
@@ -5905,6 +5911,9 @@
if (profilesLinked != null) {
_json["profilesLinked"] = profilesLinked;
}
+ if (schema != null) {
+ _json["schema"] = schema;
+ }
if (selfLink != null) {
_json["selfLink"] = selfLink;
}
@@ -11672,6 +11681,8 @@
* DELETED.
*/
core.String status;
+ /** Time this file is uploaded. */
+ core.DateTime uploadTime;
Upload();
@@ -11694,6 +11705,9 @@
if (_json.containsKey("status")) {
status = _json["status"];
}
+ if (_json.containsKey("uploadTime")) {
+ uploadTime = core.DateTime.parse(_json["uploadTime"]);
+ }
}
core.Map<core.String, core.Object> toJson() {
@@ -11716,6 +11730,9 @@
if (status != null) {
_json["status"] = status;
}
+ if (uploadTime != null) {
+ _json["uploadTime"] = (uploadTime).toIso8601String();
+ }
return _json;
}
}
diff --git a/generated/googleapis/lib/androiddeviceprovisioning/v1.dart b/generated/googleapis/lib/androiddeviceprovisioning/v1.dart
index 6e9b977..fa36b1f 100644
--- a/generated/googleapis/lib/androiddeviceprovisioning/v1.dart
+++ b/generated/googleapis/lib/androiddeviceprovisioning/v1.dart
@@ -14,7 +14,10 @@
const core.String USER_AGENT = 'dart-api-client androiddeviceprovisioning/v1';
-/** Android Device Provisioning Partner API */
+/**
+ * Automates reseller integration into Zero Touch Provisioning by assigning
+ * devices to customers and creating device reports.
+ */
class AndroiddeviceprovisioningApi {
final commons.ApiRequester _requester;
@@ -776,12 +779,14 @@
class DeviceIdentifier {
/** IMEI (either IMEI or MEID is required). */
core.String imei;
- /** Manufacturer to match android.os.Build.MANUFACTURER (required). */
+ /**
+ * Manufacturer name to match `android.os.Build.MANUFACTURER` (required).
+ * Allowed values listed in
+ * [manufacturer names](/zero-touch/resources/manufacturer-names).
+ */
core.String manufacturer;
/** MEID */
core.String meid;
- /** Model to match android.os.Build.MODEL (required). */
- core.String model;
/** Serial number (optional) */
core.String serialNumber;
@@ -797,9 +802,6 @@
if (_json.containsKey("meid")) {
meid = _json["meid"];
}
- if (_json.containsKey("model")) {
- model = _json["model"];
- }
if (_json.containsKey("serialNumber")) {
serialNumber = _json["serialNumber"];
}
@@ -816,9 +818,6 @@
if (meid != null) {
_json["meid"] = meid;
}
- if (model != null) {
- _json["model"] = model;
- }
if (serialNumber != null) {
_json["serialNumber"] = serialNumber;
}
diff --git a/generated/googleapis/lib/androidenterprise/v1.dart b/generated/googleapis/lib/androidenterprise/v1.dart
index 7359d0e..fae7cb6 100644
--- a/generated/googleapis/lib/androidenterprise/v1.dart
+++ b/generated/googleapis/lib/androidenterprise/v1.dart
@@ -949,9 +949,10 @@
}
/**
- * Sets the Android Device Policy config resource. EMM may use this API to
+ * Sets the Android Device Policy config resource. EMM may use this method to
* enable or disable Android Device Policy support for the specified
- * enterprise.
+ * enterprise. To learn more about managing devices and apps with Android
+ * Device Policy, see the Android Management API.
*
* [request] - The metadata request object.
*
@@ -6314,7 +6315,9 @@
* that the user is entitled to access all products that are approved for the
* enterprise. If the value is "allApproved" or "includeAll", the productId
* field is ignored. If no value is provided, it is interpreted as "whitelist"
- * for backwards compatibility.
+ * for backwards compatibility. Further "allApproved" or "includeAll" does not
+ * enable automatic visibility of "alpha" or "beta" tracks for Android app.
+ * Use ProductVisibility to enable "alpha" or "beta" tracks per user.
*/
core.String productSetBehavior;
diff --git a/generated/googleapis/lib/androidmanagement/v1.dart b/generated/googleapis/lib/androidmanagement/v1.dart
index 1d8eb8a..d075647 100644
--- a/generated/googleapis/lib/androidmanagement/v1.dart
+++ b/generated/googleapis/lib/androidmanagement/v1.dart
@@ -19,6 +19,9 @@
* devices and apps.
*/
class AndroidmanagementApi {
+ /** Manage Android devices and apps for your customers */
+ static const AndroidmanagementScope = "https://www.googleapis.com/auth/androidmanagement";
+
final commons.ApiRequester _requester;
@@ -49,9 +52,8 @@
*
* Request parameters:
*
- * [signupUrlName] - The name of the
- * [`SignupUrl`](/android/management/reference/rest/v1/signupUrls#SignupUrl)
- * used to sign up for the enterprise.
+ * [signupUrlName] - The name of the SignupUrl used to sign up for the
+ * enterprise.
*
* [enterpriseToken] - The enterprise token appended to the callback URL.
*
@@ -104,8 +106,7 @@
*
* Request parameters:
*
- * [name] - The name of the enterprise in the form
- * `enterprises/{enterpriseId}`
+ * [name] - The name of the enterprise in the form enterprises/{enterpriseId}
* Value must have pattern "^enterprises/[^/]+$".
*
* Completes with a [Enterprise].
@@ -147,12 +148,11 @@
*
* Request parameters:
*
- * [name] - The name of the enterprise in the form
- * `enterprises/{enterpriseId}`
+ * [name] - The name of the enterprise in the form enterprises/{enterpriseId}
* Value must have pattern "^enterprises/[^/]+$".
*
- * [updateMask] - The field mask indicating the fields to update.
- * If not set, all modifiable fields will be modified.
+ * [updateMask] - The field mask indicating the fields to update. If not set,
+ * all modifiable fields will be modified.
*
* Completes with a [Enterprise].
*
@@ -207,13 +207,12 @@
* Request parameters:
*
* [name] - The name of the application in the form
- * `enterprises/{enterpriseId}/applications/{package_name}`
+ * enterprises/{enterpriseId}/applications/{package_name}
* Value must have pattern "^enterprises/[^/]+/applications/[^/]+$".
*
* [languageCode] - The preferred language for localized application info, as
- * a BCP47 tag
- * (e.g. "en-US", "de"). If not specified the default language of the
- * application will be used.
+ * a BCP47 tag (e.g. "en-US", "de"). If not specified the default language of
+ * the application will be used.
*
* Completes with a [Application].
*
@@ -267,7 +266,7 @@
* Request parameters:
*
* [name] - The name of the device in the form
- * `enterprises/{enterpriseId}/devices/{deviceId}`
+ * enterprises/{enterpriseId}/devices/{deviceId}
* Value must have pattern "^enterprises/[^/]+/devices/[^/]+$".
*
* Completes with a [Empty].
@@ -308,7 +307,7 @@
* Request parameters:
*
* [name] - The name of the device in the form
- * `enterprises/{enterpriseId}/devices/{deviceId}`
+ * enterprises/{enterpriseId}/devices/{deviceId}
* Value must have pattern "^enterprises/[^/]+/devices/[^/]+$".
*
* Completes with a [Device].
@@ -344,22 +343,16 @@
}
/**
- * Issues a command to a device. The
- * [`Operation`](/android/management/reference/rest/v1/enterprises.devices.operations#Operation)
- * resource returned contains a
- * [`Command`](/android/management/reference/rest/v1/enterprises.devices/issueCommand#Command)
- * in its `metadata` field.
- * Use the
- * [get operation
- * method](/android/management/reference/rest/v1/enterprises.devices.operations/get)
- * to get the status of the command.
+ * Issues a command to a device. The Operation resource returned contains a
+ * Command in its metadata field. Use the get operation method to get the
+ * status of the command.
*
* [request] - The metadata request object.
*
* Request parameters:
*
* [name] - The name of the device in the form
- * `enterprises/{enterpriseId}/devices/{deviceId}`
+ * enterprises/{enterpriseId}/devices/{deviceId}
* Value must have pattern "^enterprises/[^/]+/devices/[^/]+$".
*
* Completes with a [Operation].
@@ -403,12 +396,11 @@
* Request parameters:
*
* [parent] - The name of the enterprise in the form
- * `enterprises/{enterpriseId}`
+ * enterprises/{enterpriseId}
* Value must have pattern "^enterprises/[^/]+$".
*
* [pageSize] - The requested page size. The actual page size may be fixed to
- * a min or max
- * value.
+ * a min or max value.
*
* [pageToken] - A token identifying a page of results the server should
* return.
@@ -459,11 +451,11 @@
* Request parameters:
*
* [name] - The name of the device in the form
- * `enterprises/{enterpriseId}/devices/{deviceId}`
+ * enterprises/{enterpriseId}/devices/{deviceId}
* Value must have pattern "^enterprises/[^/]+/devices/[^/]+$".
*
- * [updateMask] - The field mask indicating the fields to update.
- * If not set, all modifiable fields will be modified.
+ * [updateMask] - The field mask indicating the fields to update. If not set,
+ * all modifiable fields will be modified.
*
* Completes with a [Device].
*
@@ -513,16 +505,15 @@
_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
+ * 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`.
+ * 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 parameters:
*
@@ -566,7 +557,7 @@
* 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`.
+ * google.rpc.Code.UNIMPLEMENTED.
*
* Request parameters:
*
@@ -607,7 +598,7 @@
}
/**
- * Gets the latest state of a long-running operation. Clients can use this
+ * 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.
*
@@ -651,15 +642,14 @@
/**
* 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.
+ * 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:
*
@@ -730,7 +720,7 @@
* Request parameters:
*
* [parent] - The name of the enterprise in the form
- * `enterprises/{enterpriseId}`
+ * enterprises/{enterpriseId}
* Value must have pattern "^enterprises/[^/]+$".
*
* Completes with a [EnrollmentToken].
@@ -774,7 +764,7 @@
* Request parameters:
*
* [name] - The name of the enrollment token in the form
- * `enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}`
+ * enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}
* Value must have pattern "^enterprises/[^/]+/enrollmentTokens/[^/]+$".
*
* Completes with a [Empty].
@@ -825,7 +815,7 @@
* Request parameters:
*
* [name] - The name of the policy in the form
- * `enterprises/{enterpriseId}/policies/{policyId}`
+ * enterprises/{enterpriseId}/policies/{policyId}
* Value must have pattern "^enterprises/[^/]+/policies/[^/]+$".
*
* Completes with a [Empty].
@@ -866,7 +856,7 @@
* Request parameters:
*
* [name] - The name of the policy in the form
- * `enterprises/{enterpriseId}/policies/{policyId}`
+ * enterprises/{enterpriseId}/policies/{policyId}
* Value must have pattern "^enterprises/[^/]+/policies/[^/]+$".
*
* Completes with a [Policy].
@@ -907,12 +897,11 @@
* Request parameters:
*
* [parent] - The name of the enterprise in the form
- * `enterprises/{enterpriseId}`
+ * enterprises/{enterpriseId}
* Value must have pattern "^enterprises/[^/]+$".
*
* [pageSize] - The requested page size. The actual page size may be fixed to
- * a min or max
- * value.
+ * a min or max value.
*
* [pageToken] - A token identifying a page of results the server should
* return.
@@ -963,11 +952,11 @@
* Request parameters:
*
* [name] - The name of the policy in the form
- * `enterprises/{enterpriseId}/policies/{policyId}`
+ * enterprises/{enterpriseId}/policies/{policyId}
* Value must have pattern "^enterprises/[^/]+/policies/[^/]+$".
*
- * [updateMask] - The field mask indicating the fields to update.
- * If not set, all modifiable fields will be modified.
+ * [updateMask] - The field mask indicating the fields to update. If not set,
+ * all modifiable fields will be modified.
*
* Completes with a [Policy].
*
@@ -1025,7 +1014,7 @@
* Request parameters:
*
* [parent] - The name of the enterprise in the form
- * `enterprises/{enterpriseId}`
+ * enterprises/{enterpriseId}
* Value must have pattern "^enterprises/[^/]+$".
*
* Completes with a [WebToken].
@@ -1078,14 +1067,11 @@
* Request parameters:
*
* [callbackUrl] - The callback URL to which the admin will be redirected
- * after successfully
- * creating an enterprise. Before redirecting there the system will add a
- * query parameter to this URL named `enterpriseToken` which will
- * contain an opaque token to be used for the
- * [create
- * enterprise](/android/management/reference/rest/v1/enterprises/create)
- * request. The URL will be parsed then reformatted in order to add the
- * `enterpriseToken` parameter, so there may be some minor formatting changes.
+ * after successfully creating an enterprise. Before redirecting there the
+ * system will add a query parameter to this URL named enterpriseToken which
+ * will contain an opaque token to be used for the create enterprise request.
+ * The URL will be parsed then reformatted in order to add the enterpriseToken
+ * parameter, so there may be some minor formatting changes.
*
* [projectId] - The id of the Google Cloud Platform project which will own
* the enterprise.
@@ -1168,7 +1154,7 @@
core.List<ManagedProperty> managedProperties;
/**
* The name of the application in the form
- * `enterprises/{enterpriseId}/applications/{package_name}`
+ * enterprises/{enterpriseId}/applications/{package_name}
*/
core.String name;
/** The permissions required by the app. */
@@ -1214,8 +1200,8 @@
/** Application permission. */
class ApplicationPermission {
/**
- * A longer description of the permission, giving more details of
- * what it affects. Localized.
+ * A longer description of the permission, giving more details of what it
+ * affects. Localized.
*/
core.String description;
/** The name of the permission. Localized. */
@@ -1256,12 +1242,12 @@
class ApplicationPolicy {
/**
* The default policy for all permissions requested by the app. If specified,
- * this overrides the policy-level `default_permission_policy` which applies
- * to all apps.
+ * this overrides the policy-level default_permission_policy which applies to
+ * all apps.
* Possible string values are:
* - "PERMISSION_POLICY_UNSPECIFIED" : Policy not specified. If no policy is
- * specified for a permission at any
- * level, then the `PROMPT` behavior is used by default.
+ * specified for a permission at any level, then the PROMPT behavior is used
+ * by default.
* - "PROMPT" : Prompt the user to grant a permission.
* - "GRANT" : Automatically grant a permission.
* - "DENY" : Automatically deny a permission.
@@ -1271,48 +1257,40 @@
* The type of installation to perform.
* Possible string values are:
* - "INSTALL_TYPE_UNSPECIFIED" : No automatic installation is performed. Any
- * other app policies will be
- * applied if the user installs the app.
+ * other app policies will be applied if the user installs the app.
* - "PREINSTALLED" : The application is automatically installed and can be
- * removed by the
- * user.
+ * removed by the user.
* - "FORCE_INSTALLED" : The application is automatically installed and cannot
- * be removed by the
- * user.
+ * be removed by the user.
*/
core.String installType;
/** Whether the application is allowed to lock itself in full-screen mode. */
core.bool lockTaskAllowed;
/**
* Managed configuration applied to the app. The format for the configuration
- * is dictated by the
- * [`ManagedProperty`](/android/management/reference/rest/v1/enterprises.applications#ManagedProperty)
- * values supported by the app. Each field name in the managed configuration
- * must match the `key` field of the `ManagedProperty`. The field value must
- * be compatible with the `type` of the `ManagedProperty`:
- * <table>
- * <tr><td><i>type</i></td><td><i>JSON value</i></td></tr>
- * <tr><td>`BOOL`</td><td>`true` or `false`</td></tr>
- * <tr><td>`STRING`</td><td>string</td></tr>
- * <tr><td>`INTEGER`</td><td>number</td></tr>
- * <tr><td>`CHOICE`</td><td>string</td></tr>
- * <tr><td>`MULTISELECT`</td><td>array of strings</td></tr>
- * <tr><td>`HIDDEN`</td><td>string</td></tr>
- * <tr><td>`BUNDLE_ARRAY`</td><td>array of objects</td></tr>
- * </table>
+ * is dictated by the ManagedProperty values supported by the app. Each field
+ * name in the managed configuration must match the key field of the
+ * ManagedProperty. The field value must be compatible with the type of the
+ * ManagedProperty: <table> <tr><td><i>type</i></td><td><i>JSON
+ * value</i></td></tr> <tr><td>BOOL</td><td>true or false</td></tr>
+ * <tr><td>STRING</td><td>string</td></tr>
+ * <tr><td>INTEGER</td><td>number</td></tr>
+ * <tr><td>CHOICE</td><td>string</td></tr> <tr><td>MULTISELECT</td><td>array
+ * of strings</td></tr> <tr><td>HIDDEN</td><td>string</td></tr>
+ * <tr><td>BUNDLE_ARRAY</td><td>array of objects</td></tr> </table>
*
* 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> managedConfiguration;
/**
- * The package name of the app, e.g. `com.google.android.youtube` for the
+ * The package name of the app, e.g. com.google.android.youtube for the
* YouTube app.
*/
core.String packageName;
/**
* Explicit permission grants or denials for the app. These values override
- * the `default_permission_policy`.
+ * the default_permission_policy.
*/
core.List<PermissionGrant> permissionGrants;
@@ -1372,16 +1350,15 @@
core.String createTime;
/**
* The duration for which the command is valid. The command will expire if not
- * executed by the device during this time. The default duration if
+ * executed by the device during this time. The default duration if
* unspecified is ten minutes. There is no maximum duration.
*/
core.String duration;
/**
- * For commands of type `RESET_PASSWORD`, optionally specifies the new
- * password.
+ * For commands of type RESET_PASSWORD, optionally specifies the new password.
*/
core.String newPassword;
- /** For commands of type `RESET_PASSWORD`, optionally specifies flags. */
+ /** For commands of type RESET_PASSWORD, optionally specifies flags. */
core.List<core.String> resetPasswordFlags;
/**
* The type of the command.
@@ -1437,11 +1414,10 @@
/**
* A rule declaring which mitigating actions to take when a device is not
* compliant with its policy. For every rule, there is always an implicit
- * mitigating action to set `policy_compliant` to false for the
- * [`Device`](/android/management/reference/rest/v1/enterprises.devices#Device)
- * resource, and display a message on the device indicating that the device is
- * not compliant with its policy. Other mitigating actions may optionally be
- * taken as well, depending on the field values in the rule.
+ * mitigating action to set policy_compliant to false for the Device resource,
+ * and display a message on the device indicating that the device is not
+ * compliant with its policy. Other mitigating actions may optionally be taken
+ * as well, depending on the field values in the rule.
*/
class ComplianceRule {
/**
@@ -1458,9 +1434,8 @@
*/
core.bool disableApps;
/**
- * A condition which is satisfied if there exists *any* matching
- * [`NonComplianceDetail`](/android/management/reference/rest/v1/enterprises.devices#NonComplianceDetail)
- * for the device.
+ * A condition which is satisfied if there exists any matching
+ * NonComplianceDetail for the device.
*/
NonComplianceDetailCondition nonComplianceDetailCondition;
@@ -1494,9 +1469,8 @@
}
/**
- * A device owned by an enterprise.
- * Unless otherwise noted, all fields are read-only and cannot be modified by
- * an update device request.
+ * A device owned by an enterprise. Unless otherwise noted, all fields are
+ * read-only and cannot be modified by an update device request.
*/
class Device {
/** The API level of the Android platform version running on the device. */
@@ -1512,23 +1486,21 @@
* - "ACTIVE" : The device is active.
* - "DISABLED" : The device is disabled.
* - "DELETED" : The device was deleted. This state will never be returned by
- * an API call,
- * but will be used in the final policy compliance report published to Cloud
- * Pub/Sub when the device acknowledges the deletion.
+ * an API call, but will be used in the final policy compliance report
+ * published to Cloud Pub/Sub when the device acknowledges the deletion.
* - "PROVISIONING" : The device is being provisioned. Newly enrolled devices
- * will be in this
- * state until they have applied policy.
+ * will be in this state until they have applied policy.
*/
core.String appliedState;
/**
- * If the device state is `DISABLED`, an optional message that is displayed on
+ * If the device state is DISABLED, an optional message that is displayed on
* the device indicating the reason the device is disabled. This field may be
* modified by an update request.
*/
UserFacingMessage disabledReason;
/**
* Displays on the device. This information is only available when
- * `displayInfoEnabled` is true in the device's policy.
+ * displayInfoEnabled is true in the device's policy.
*/
core.List<Display> displays;
/** The time of device enrollment. */
@@ -1547,7 +1519,7 @@
HardwareInfo hardwareInfo;
/**
* Hardware status samples in chronological order. This information is only
- * available when `hardwareStatusEnabled` is true in the device's policy.
+ * available when hardwareStatusEnabled is true in the device's policy.
*/
core.List<HardwareStatus> hardwareStatusSamples;
/** The last time the device sent a policy compliance report. */
@@ -1558,23 +1530,23 @@
core.String lastStatusReportTime;
/**
* Events related to memory and storage measurements in chronological order.
- * This information is only available when `memoryInfoEnabled` is true in the
+ * This information is only available when memoryInfoEnabled is true in the
* device's policy.
*/
core.List<MemoryEvent> memoryEvents;
/**
* Memory information. This information is only available when
- * `memoryInfoEnabled` is true in the device's policy.
+ * memoryInfoEnabled is true in the device's policy.
*/
MemoryInfo memoryInfo;
/**
* The name of the device in the form
- * `enterprises/{enterpriseId}/devices/{deviceId}`
+ * enterprises/{enterpriseId}/devices/{deviceId}
*/
core.String name;
/**
* Device network information. This information is only available when
- * `networkInfoEnabled` is true in the device's policy.
+ * networkInfoEnabled is true in the device's policy.
*/
NetworkInfo networkInfo;
/**
@@ -1585,19 +1557,18 @@
core.bool policyCompliant;
/**
* The name of the policy that is intended to be applied to the device. If
- * empty, the policy with id `default` is applied.
- * This field may be modified by an update request.
- * The name of the policy is in the form
- * `enterprises/{enterpriseId}/policies/{policyId}`.
- * It is also permissible to only specify the `policyId` when updating this
- * field as long as the `policyId` contains no slashes since the rest of the
- * policy name can be inferred from context.
+ * empty, the policy with id default is applied. This field may be modified by
+ * an update request. The name of the policy is in the form
+ * enterprises/{enterpriseId}/policies/{policyId}. It is also permissible to
+ * only specify the policyId when updating this field as long as the policyId
+ * contains no slashes since the rest of the policy name can be inferred from
+ * context.
*/
core.String policyName;
/**
* Power management events on the device in chronological order. This
- * information is only available when `powerManagementEventsEnabled` is true
- * in the device's policy.
+ * information is only available when powerManagementEventsEnabled is true in
+ * the device's policy.
*/
core.List<PowerManagementEvent> powerManagementEvents;
/**
@@ -1609,34 +1580,29 @@
core.List<core.String> previousDeviceNames;
/**
* Detailed information about the device software. This information is only
- * available when `softwareInfoEnabled` is true in the device's policy.
+ * available when softwareInfoEnabled is true in the device's policy.
*/
SoftwareInfo softwareInfo;
/**
* The state that is intended to be applied to the device. This field may be
- * modified by an update request.
- * Note that UpdateDevice only handles toggling between `ACTIVE` and
- * `DISABLED` states. Use the
- * [delete device
- * method](/android/management/reference/rest/v1/enterprises.devices/delete)
- * to cause the device to enter the `DELETED` state.
+ * modified by an update request. Note that UpdateDevice only handles toggling
+ * between ACTIVE and DISABLED states. Use the delete device method to cause
+ * the device to enter the DELETED state.
* Possible string values are:
* - "DEVICE_STATE_UNSPECIFIED" : This value is disallowed.
* - "ACTIVE" : The device is active.
* - "DISABLED" : The device is disabled.
* - "DELETED" : The device was deleted. This state will never be returned by
- * an API call,
- * but will be used in the final policy compliance report published to Cloud
- * Pub/Sub when the device acknowledges the deletion.
+ * an API call, but will be used in the final policy compliance report
+ * published to Cloud Pub/Sub when the device acknowledges the deletion.
* - "PROVISIONING" : The device is being provisioned. Newly enrolled devices
- * will be in this
- * state until they have applied policy.
+ * will be in this state until they have applied policy.
*/
core.String state;
/**
* The resource name of the user of the device in the form
- * `enterprises/{enterpriseId}/users/{userId}`. This is the name of the
- * device account automatically created for this device.
+ * enterprises/{enterpriseId}/users/{userId}. This is the name of the device
+ * account automatically created for this device.
*/
core.String userName;
@@ -1887,14 +1853,12 @@
/**
* 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 `{}`.
+ * 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 {
@@ -1912,14 +1876,11 @@
/** An enrollment token. */
class EnrollmentToken {
/**
- * Optional, arbitrary data associated with the enrollment token.
- * This could contain, for example, the id of an org unit to which the device
- * is assigned after enrollment.
- * After a device enrolls with the token, this data will be exposed in the
- * `enrollment_token_data` field of the
- * [`Device`](/android/management/reference/rest/v1/enterprises.devices#Device)
- * resource. The data must be 1024 characters or less; otherwise, the creation
- * request will fail.
+ * Optional, arbitrary data associated with the enrollment token. This could
+ * contain, for example, the id of an org unit to which the device is assigned
+ * after enrollment. After a device enrolls with the token, this data will be
+ * exposed in the enrollment_token_data field of the Device resource. The data
+ * must be 1024 characters or less; otherwise, the creation request will fail.
*/
core.String additionalData;
/**
@@ -1935,22 +1896,22 @@
/**
* The name of the enrollment token, which is generated by the server during
* creation, in the form
- * `enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}`
+ * enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}
*/
core.String name;
/**
* The name of the policy that will be initially applied to the enrolled
- * device in the form `enterprises/{enterpriseId}/policies/{policyId}`.
- * If not specified, the policy with id `default` is applied.
- * It is permissible to only specify the `policyId` when updating this
- * field as long as the `policyId` contains no slashes since the rest of the
- * policy name can be inferred from context.
+ * device in the form enterprises/{enterpriseId}/policies/{policyId}. If not
+ * specified, the policy with id default is applied. It is permissible to only
+ * specify the policyId when updating this field as long as the policyId
+ * contains no slashes since the rest of the policy name can be inferred from
+ * context.
*/
core.String policyName;
/**
* A JSON string whose UTF-8 representation can be used to generate a QR code
* to enroll a device with this enrollment token. To enroll a device using
- * NFC, the NFC record must contain a serialized `java.util.Properties`
+ * NFC, the NFC record must contain a serialized java.util.Properties
* representation of the properties in the JSON.
*/
core.String qrCode;
@@ -2035,21 +1996,20 @@
ExternalData logo;
/**
* The name of the enterprise which is generated by the server during
- * creation, in the form
- * `enterprises/{enterpriseId}`
+ * creation, in the form enterprises/{enterpriseId}
*/
core.String name;
/**
* A color in RGB format indicating the predominant color to display in the
- * device management app UI. The color components are stored as follows:
- * `(red << 16) | (green << 8) | blue`, where each component may take a value
- * between 0 and 255 inclusive.
+ * device management app UI. The color components are stored as follows: (red
+ * << 16) | (green << 8) | blue, where each component may take a value between
+ * 0 and 255 inclusive.
*/
core.int primaryColor;
/**
* When Cloud Pub/Sub notifications are enabled, this field is required to
* indicate the topic to which the notifications will be published. The format
- * of this field is `projects/{project}/topics/{topic}`. You must have granted
+ * of this field is projects/{project}/topics/{topic}. You must have granted
* the publish permission on this topic to
* android-cloud-policy@system.gserviceaccount.com
*/
@@ -2167,7 +2127,7 @@
* the device.
*/
core.List<core.double> batteryThrottlingTemperatures;
- /** Brand of the device, e.g. `Google`. */
+ /** Brand of the device, e.g. Google. */
core.String brand;
/**
* CPU shutdown temperature thresholds in Celsius for each CPU on the device.
@@ -2178,7 +2138,7 @@
* device.
*/
core.List<core.double> cpuThrottlingTemperatures;
- /** Baseband version, e.g. `MDM9625_104662.22.05.34p`. */
+ /** Baseband version, e.g. MDM9625_104662.22.05.34p. */
core.String deviceBasebandVersion;
/**
* GPU shutdown temperature thresholds in Celsius for each GPU on the device.
@@ -2189,11 +2149,11 @@
* device.
*/
core.List<core.double> gpuThrottlingTemperatures;
- /** Name of the hardware, e.g. `Angler`. */
+ /** Name of the hardware, e.g. Angler. */
core.String hardware;
- /** Manufacturer, e.g. `Motorola`. */
+ /** Manufacturer, e.g. Motorola. */
core.String manufacturer;
- /** The model of the device, e.g. `Asus Nexus 7`. */
+ /** The model of the device, e.g. Asus Nexus 7. */
core.String model;
/** The device serial number. */
core.String serialNumber;
@@ -2299,7 +2259,7 @@
/**
* Hardware status. Temperatures may be compared to the temperature thresholds
- * available in `hardwareInfo` to determine hardware health.
+ * available in hardwareInfo to determine hardware health.
*/
class HardwareStatus {
/**
@@ -2309,9 +2269,9 @@
/** Current CPU temperatures in Celsius for each CPU on the device. */
core.List<core.double> cpuTemperatures;
/**
- * CPU usages in percentage for each core available on the device.
- * Usage is 0 for each unplugged core. Empty array implies that CPU usage
- * is not supported in the system.
+ * CPU usages in percentage for each core available on the device. Usage is 0
+ * for each unplugged core. Empty array implies that CPU usage is not
+ * supported in the system.
*/
core.List<core.double> cpuUsages;
/** The time the measurements were taken. */
@@ -2472,8 +2432,8 @@
/** Managed property. */
class ManagedProperty {
/**
- * The default value of the properties. `BUNDLE_ARRAY` properties
- * never have a default value.
+ * The default value of the properties. BUNDLE_ARRAY properties never have a
+ * default value.
*
* The values for Object must be JSON objects. It can consist of `num`,
* `String`, `bool` and `null` as well as `Map` and `List` values.
@@ -2484,19 +2444,16 @@
* affects. Localized.
*/
core.String description;
- /**
- * For `CHOICE` or `MULTISELECT` properties, the list
- * of possible entries.
- */
+ /** For CHOICE or MULTISELECT properties, the list of possible entries. */
core.List<ManagedPropertyEntry> entries;
/**
- * The unique key that the application uses to identify the property,
- * e.g. "com.google.android.gm.fieldname".
+ * The unique key that the application uses to identify the property, e.g.
+ * "com.google.android.gm.fieldname".
*/
core.String key;
/**
- * For `BUNDLE_ARRAY` properties, the list of nested properties. A
- * `BUNDLE_ARRAY` property is at most two levels deep.
+ * For BUNDLE_ARRAY properties, the list of nested properties. A BUNDLE_ARRAY
+ * property is at most two levels deep.
*/
core.List<ManagedProperty> nestedProperties;
/** The name of the property. Localized. */
@@ -2511,8 +2468,7 @@
* - "CHOICE" : A choice of one item from a set.
* - "MULTISELECT" : A choice of multiple items from a set.
* - "HIDDEN" : A hidden restriction of string type (the default value can be
- * used
- * to pass along information that cannot be modified, such as a version
+ * used to pass along information that cannot be modified, such as a version
* code).
* - "BUNDLE_ARRAY" : An array of property bundles.
*/
@@ -2607,7 +2563,7 @@
/** An event related to memory and storage measurements. */
class MemoryEvent {
/**
- * The number of free bytes in the medium, or for `EXTERNAL_STORAGE_DETECTED`,
+ * The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED,
* the total capacity in bytes of the storage medium.
*/
core.String byteCount;
@@ -2621,8 +2577,7 @@
* - "INTERNAL_STORAGE_MEASURED" : Free space in internal storage was
* measured.
* - "EXTERNAL_STORAGE_DETECTED" : A new external storage medium was detected.
- * The reported byte count is
- * the total capacity of the storage medium.
+ * The reported byte count is the total capacity of the storage medium.
* - "EXTERNAL_STORAGE_REMOVED" : An external storage medium was removed. The
* reported byte count is zero.
* - "EXTERNAL_STORAGE_MEASURED" : Free space in an external storage medium
@@ -2691,11 +2646,11 @@
/** Device network info. */
class NetworkInfo {
- /** IMEI number of the GSM device, e.g. `A1000031212`. */
+ /** IMEI number of the GSM device, e.g. A1000031212. */
core.String imei;
- /** MEID number of the CDMA device, e.g. `A00000292788E1`. */
+ /** MEID number of the CDMA device, e.g. A00000292788E1. */
core.String meid;
- /** WiFi MAC address of the device, e.g. `7c:11:11:11:11:11`. */
+ /** WiFi MAC address of the device, e.g. 7c:11:11:11:11:11. */
core.String wifiMacAddress;
NetworkInfo();
@@ -2741,26 +2696,23 @@
* For settings with nested fields, if a particular nested field is out of
* compliance, this specifies the full path to the offending field. The path
* is formatted in the same way the policy JSON field would be referenced in
- * JavaScript, that is:
- * 1) For object-typed fields, the field name is followed by a dot then by a
- * subfield name.
- * 2) For array-typed fields, the field name is followed by the array index
- * enclosed in brackets.
- * For example, to indicate a problem with the `url` field in the
- * `externalData` field in the 3rd application, the path would be
- * `applications[2].externalData.url`
+ * JavaScript, that is: 1) For object-typed fields, the field name is followed
+ * by a dot then by a subfield name. 2) For array-typed fields, the field
+ * name is followed by the array index enclosed in brackets. For example, to
+ * indicate a problem with the url field in the externalData field in the 3rd
+ * application, the path would be applications[2].externalData.url
*/
core.String fieldPath;
/**
- * If `package_name` is set and the non-compliance reason is
- * `APP_NOT_INSTALLED`, the detailed reason the app cannot be installed.
+ * If package_name is set and the non-compliance reason is APP_NOT_INSTALLED,
+ * the detailed reason the app cannot be installed.
* Possible string values are:
* - "INSTALLATION_FAILURE_REASON_UNSPECIFIED" : This value is disallowed.
* - "INSTALLATION_FAILURE_REASON_UNKNOWN" : An unknown condition is
- * preventing the app from being installed. Some
- * potential reaons are that the device does not have enough storage, the
- * device network connection is unreliable, or the installation is taking
- * longer than expected. The installation will be retried automatically.
+ * preventing the app from being installed. Some potential reaons are that the
+ * device does not have enough storage, the device network connection is
+ * unreliable, or the installation is taking longer than expected. The
+ * installation will be retried automatically.
* - "IN_PROGRESS" : The installation is still in progress.
* - "NOT_FOUND" : The app was not found in Play.
* - "NOT_COMPATIBLE_WITH_DEVICE" : The app is incompatible with the device.
@@ -2772,8 +2724,9 @@
* - "NO_LICENSES_REMAINING" : There are no more licenses to assign to the
* user.
* - "NOT_ENROLLED" : The enterprise is no longer enrolled with Play for Work
- * or Android Device
- * Policy is not enabled for the enterprise.
+ * or Android Device Policy is not enabled for the enterprise.
+ * - "USER_INVALID" : The user is no longer valid. The user may have been
+ * deleted or disabled.
*/
core.String installationFailureReason;
/**
@@ -2781,26 +2734,21 @@
* Possible string values are:
* - "NON_COMPLIANCE_REASON_UNSPECIFIED" : This value is disallowed.
* - "API_LEVEL" : The setting is not supported in the API level of Android OS
- * version the
- * device is running.
+ * version the device is running.
* - "ADMIN_TYPE" : The admin type (profile owner, device owner, etc.) does
- * not support the
- * setting.
+ * not support the setting.
* - "USER_ACTION" : The user has not taken required action to comply with the
* setting.
* - "INVALID_VALUE" : The setting has an invalid value.
* - "APP_NOT_INSTALLED" : The application required to implement the policy is
* not installed.
* - "UNSUPPORTED" : The policy is not supported by the version of Android
- * Device Policy on
- * the device.
+ * Device Policy on the device.
* - "APP_INSTALLED" : A blocked application is installed.
* - "PENDING" : The setting was not applied yet at the time of the report,
- * but is
- * expected to be applied shortly.
+ * but is expected to be applied shortly.
* - "APP_INCOMPATIBLE" : The setting cannot be applied to the application
- * because its target SDK
- * version is not high enough.
+ * because its target SDK version is not high enough.
*/
core.String nonComplianceReason;
/**
@@ -2810,8 +2758,7 @@
core.String packageName;
/**
* The name of the policy setting. This is the JSON field name of a top-level
- * [`Policy`](/android/management/reference/rest/v1/enterprises.policies#Policy)
- * field.
+ * Policy field.
*/
core.String settingName;
@@ -2863,12 +2810,10 @@
}
/**
- * A compliance rule condition which is satisfied if there exists *any*
- * matching
- * [`NonComplianceDetail`](/android/management/reference/rest/v1/enterprises.devices#NonComplianceDetail)
- * for the device. A `NonComplianceDetail` matches a
- * `NonComplianceDetailCondition` if *all* the fields which are set within the
- * `NonComplianceDetailCondition` match the corresponding `NonComplianceDetail`
+ * A compliance rule condition which is satisfied if there exists any matching
+ * NonComplianceDetail for the device. A NonComplianceDetail matches a
+ * NonComplianceDetailCondition if all the fields which are set within the
+ * NonComplianceDetailCondition match the corresponding NonComplianceDetail
* fields.
*/
class NonComplianceDetailCondition {
@@ -2878,39 +2823,33 @@
* Possible string values are:
* - "NON_COMPLIANCE_REASON_UNSPECIFIED" : This value is disallowed.
* - "API_LEVEL" : The setting is not supported in the API level of Android OS
- * version the
- * device is running.
+ * version the device is running.
* - "ADMIN_TYPE" : The admin type (profile owner, device owner, etc.) does
- * not support the
- * setting.
+ * not support the setting.
* - "USER_ACTION" : The user has not taken required action to comply with the
* setting.
* - "INVALID_VALUE" : The setting has an invalid value.
* - "APP_NOT_INSTALLED" : The application required to implement the policy is
* not installed.
* - "UNSUPPORTED" : The policy is not supported by the version of Android
- * Device Policy on
- * the device.
+ * Device Policy on the device.
* - "APP_INSTALLED" : A blocked application is installed.
* - "PENDING" : The setting was not applied yet at the time of the report,
- * but is
- * expected to be applied shortly.
+ * but is expected to be applied shortly.
* - "APP_INCOMPATIBLE" : The setting cannot be applied to the application
- * because its target SDK
- * version is not high enough.
+ * because its target SDK version is not high enough.
*/
core.String nonComplianceReason;
/**
* The package name indicating which application is out of compliance. If not
* set, then this condition matches any package name. If this field is set,
- * then `setting_name` must be unset or set to `applications`; otherwise, the
+ * then setting_name must be unset or set to applications; otherwise, the
* condition would never be satisfied.
*/
core.String packageName;
/**
* The name of the policy setting. This is the JSON field name of a top-level
- * [`Policy`](/android/management/reference/rest/v1/enterprises.policies#Policy)
- * field. If not set, then this condition matches any setting name.
+ * Policy field. If not set, then this condition matches any setting name.
*/
core.String settingName;
@@ -2949,17 +2888,17 @@
*/
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
+ * 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
+ * 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`,
@@ -2968,19 +2907,18 @@
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`.
+ * 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 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.
@@ -3038,47 +2976,45 @@
/** Password expiration timeout. */
core.String passwordExpirationTimeout;
/**
- * The length of the password history. After setting this, the user will
- * not be able to enter a new password that is the same as any password in
- * the history. A value of 0 means there is no restriction.
+ * The length of the password history. After setting this, the user will not
+ * be able to enter a new password that is the same as any password in the
+ * history. A value of 0 means there is no restriction.
*/
core.int passwordHistoryLength;
/**
* The minimum allowed password length. A value of 0 means there is no
- * restriction.
- * Only enforced when `password_quality` is `NUMERIC`, `NUMERIC_COMPLEX`,
- * `ALPHABETIC`, `ALPHANUMERIC`, or `COMPLEX`.
+ * restriction. Only enforced when password_quality is NUMERIC,
+ * NUMERIC_COMPLEX, ALPHABETIC, ALPHANUMERIC, or COMPLEX.
*/
core.int passwordMinimumLength;
/**
- * Minimum number of letters required in the password.
- * Only enforced when `password_quality` is `COMPLEX`.
+ * Minimum number of letters required in the password. Only enforced when
+ * password_quality is COMPLEX.
*/
core.int passwordMinimumLetters;
/**
- * Minimum number of lower case letters required in the password.
- * Only enforced when `password_quality` is `COMPLEX`.
+ * Minimum number of lower case letters required in the password. Only
+ * enforced when password_quality is COMPLEX.
*/
core.int passwordMinimumLowerCase;
/**
* Minimum number of non-letter characters (numerical digits or symbols)
- * required in the password.
- * Only enforced when `password_quality` is `COMPLEX`.
+ * required in the password. Only enforced when password_quality is COMPLEX.
*/
core.int passwordMinimumNonLetter;
/**
- * Minimum number of numerical digits required in the password.
- * Only enforced when `password_quality` is `COMPLEX`.
+ * Minimum number of numerical digits required in the password. Only enforced
+ * when password_quality is COMPLEX.
*/
core.int passwordMinimumNumeric;
/**
- * Minimum number of symbols required in the password.
- * Only enforced when `password_quality` is `COMPLEX`.
+ * Minimum number of symbols required in the password. Only enforced when
+ * password_quality is COMPLEX.
*/
core.int passwordMinimumSymbols;
/**
- * Minimum number of upper case letters required in the password.
- * Only enforced when `password_quality` is `COMPLEX`.
+ * Minimum number of upper case letters required in the password. Only
+ * enforced when password_quality is COMPLEX.
*/
core.int passwordMinimumUpperCase;
/**
@@ -3087,21 +3023,17 @@
* - "PASSWORD_QUALITY_UNSPECIFIED" : There are no requirements for the
* password.
* - "SOMETHING" : There must be a password, but there are no restrictions on
- * its
- * characters.
+ * its characters.
* - "NUMERIC" : The password must contain numeric characters.
* - "NUMERIC_COMPLEX" : The password must contain numeric characters with no
- * repeating (4444) or
- * ordered (1234, 4321, 2468) sequences.
+ * repeating (4444) or ordered (1234, 4321, 2468) sequences.
* - "ALPHABETIC" : The password must contain alphabetic (or symbol)
* characters.
* - "ALPHANUMERIC" : The password must contain at both numeric and alphabetic
- * (or symbol)
- * characters.
+ * (or symbol) characters.
* - "COMPLEX" : The password must contain at least a letter, a numerical
- * digit and a
- * special symbol. Other password constraints, for example,
- * `password_minimum_letters` are enforced.
+ * digit and a special symbol. Other password constraints, for example,
+ * password_minimum_letters are enforced.
*/
core.String passwordQuality;
@@ -3184,14 +3116,14 @@
/** Configuration for an Android permission and its grant state. */
class PermissionGrant {
- /** The android permission, e.g. `android.permission.READ_CALENDAR`. */
+ /** The android permission, e.g. android.permission.READ_CALENDAR. */
core.String permission;
/**
* The policy for granting the permission.
* Possible string values are:
* - "PERMISSION_POLICY_UNSPECIFIED" : Policy not specified. If no policy is
- * specified for a permission at any
- * level, then the `PROMPT` behavior is used by default.
+ * specified for a permission at any level, then the PROMPT behavior is used
+ * by default.
* - "PROMPT" : Prompt the user to grant a permission.
* - "GRANT" : Automatically grant a permission.
* - "DENY" : Automatically deny a permission.
@@ -3227,13 +3159,13 @@
*/
class PersistentPreferredActivity {
/**
- * The intent actions to match in the filter. If any actions are included in
+ * The intent actions to match in the filter. If any actions are included in
* the filter, then an intent's action must be one of those values for it to
* match. If no actions are included, the intent action is ignored.
*/
core.List<core.String> actions;
/**
- * The intent categories to match in the filter. An intent includes the
+ * The intent categories to match in the filter. An intent includes the
* categories that it requires, all of which must be included in the filter in
* order to match. In other words, adding a category to the filter has no
* impact on matching unless that category is specified in the intent.
@@ -3241,7 +3173,7 @@
core.List<core.String> categories;
/**
* The activity that should be the default intent handler. This should be an
- * Android component name, e.g. `com.android.enterprise.app/.MainActivity`.
+ * Android component name, e.g. com.android.enterprise.app/.MainActivity.
* Alternatively, the value may be the package name of an app, which causes
* Android Device Policy to choose an appropriate activity from the app to
* handle the intent.
@@ -3286,9 +3218,9 @@
/** Policy applied to apps. */
core.List<ApplicationPolicy> applications;
/**
- * Whether applications other than the ones configured in `applications` are
- * blocked from being installed. When set, applications that were
- * installed under a previous policy but no longer appear in the policy are
+ * Whether applications other than the ones configured in applications are
+ * blocked from being installed. When set, applications that were installed
+ * under a previous policy but no longer appear in the policy are
* automatically uninstalled.
*/
core.bool blockApplicationsEnabled;
@@ -3307,8 +3239,8 @@
* The default permission policy for requests for runtime permissions.
* Possible string values are:
* - "PERMISSION_POLICY_UNSPECIFIED" : Policy not specified. If no policy is
- * specified for a permission at any
- * level, then the `PROMPT` behavior is used by default.
+ * specified for a permission at any level, then the PROMPT behavior is used
+ * by default.
* - "PROMPT" : Prompt the user to grant a permission.
* - "GRANT" : Automatically grant a permission.
* - "DENY" : Automatically deny a permission.
@@ -3317,16 +3249,20 @@
/** Whether factory resetting from settings is disabled. */
core.bool factoryResetDisabled;
/**
- * Email addresses of device administrators for factory reset protection.
- * When the device is factory reset, it will require one of these admins to
- * log in with the Google account email and password to unlock the device.
- * If no admins are specified, the device will not provide factory reset
- * protection.
+ * Email addresses of device administrators for factory reset protection. When
+ * the device is factory reset, it will require one of these admins to log in
+ * with the Google account email and password to unlock the device. If no
+ * admins are specified, the device will not provide factory reset protection.
*/
core.List<core.String> frpAdminEmails;
/**
- * Whether the user is allowed to enable the "Unknown Sources" setting,
- * which allows installation of apps from unknown sources.
+ * Whether the user is allowed to have fun. Controls whether the Easter egg
+ * game in Settings is disabled.
+ */
+ core.bool funDisabled;
+ /**
+ * Whether the user is allowed to enable the "Unknown Sources" setting, which
+ * allows installation of apps from unknown sources.
*/
core.bool installUnknownSourcesAllowed;
/** Whether the keyguard is disabled. */
@@ -3340,7 +3276,7 @@
core.bool modifyAccountsDisabled;
/**
* The name of the policy in the form
- * `enterprises/{enterpriseId}/policies/{policyId}`
+ * enterprises/{enterpriseId}/policies/{policyId}
*/
core.String name;
/**
@@ -3353,9 +3289,8 @@
*/
core.bool networkEscapeHatchEnabled;
/**
- * Network configuration for the device. See
- * [configure networks](/android/management/configure-networks)
- * for more information.
+ * Network configuration for the device. See configure networks for more
+ * information.
*
* The values for Object must be JSON objects. It can consist of `num`,
* `String`, `bool` and `null` as well as `Map` and `List` values.
@@ -3380,13 +3315,13 @@
StatusReportingSettings statusReportingSettings;
/**
* The battery plugged in modes for which the device stays on. When using this
- * setting, it is recommended to clear `maximum_time_to_lock` so that the
- * device doesn't lock itself while it stays on.
+ * setting, it is recommended to clear maximum_time_to_lock so that the device
+ * doesn't lock itself while it stays on.
*/
core.List<core.String> stayOnPluggedModes;
/**
* The system update policy, which controls how OS updates are applied. If the
- * update type is `WINDOWED` and the device has a device account, the update
+ * update type is WINDOWED and the device has a device account, the update
* window will automatically apply to Play app updates as well.
*/
SystemUpdate systemUpdate;
@@ -3434,6 +3369,9 @@
if (_json.containsKey("frpAdminEmails")) {
frpAdminEmails = _json["frpAdminEmails"];
}
+ if (_json.containsKey("funDisabled")) {
+ funDisabled = _json["funDisabled"];
+ }
if (_json.containsKey("installUnknownSourcesAllowed")) {
installUnknownSourcesAllowed = _json["installUnknownSourcesAllowed"];
}
@@ -3522,6 +3460,9 @@
if (frpAdminEmails != null) {
_json["frpAdminEmails"] = frpAdminEmails;
}
+ if (funDisabled != null) {
+ _json["funDisabled"] = funDisabled;
+ }
if (installUnknownSourcesAllowed != null) {
_json["installUnknownSourcesAllowed"] = installUnknownSourcesAllowed;
}
@@ -3582,9 +3523,7 @@
/** A power management event. */
class PowerManagementEvent {
- /**
- * For `BATTERY_LEVEL_COLLECTED` events, the battery level as a percentage.
- */
+ /** For BATTERY_LEVEL_COLLECTED events, the battery level as a percentage. */
core.double batteryLevel;
/** The creation time of the event. */
core.String createTime;
@@ -3635,15 +3574,13 @@
/** An enterprise signup URL. */
class SignupUrl {
/**
- * The name of the resource. This must be included in the
- * [create
- * enterprise](/android/management/reference/rest/v1/enterprises/create)
+ * The name of the resource. This must be included in the create enterprise
* request at the end of the signup flow.
*/
core.String name;
/**
- * A URL under which the Admin can sign up for an enterprise.
- * The page pointed to cannot be rendered in an iframe.
+ * A URL under which the Admin can sign up for an enterprise. The page pointed
+ * to cannot be rendered in an iframe.
*/
core.String url;
@@ -3673,19 +3610,19 @@
/** Information about device software. */
class SoftwareInfo {
/**
- * Android build Id string meant for displaying to the user,
- * e.g. `shamu-userdebug 6.0.1 MOB30I 2756745 dev-keys`.
+ * Android build Id string meant for displaying to the user, e.g.
+ * shamu-userdebug 6.0.1 MOB30I 2756745 dev-keys.
*/
core.String androidBuildNumber;
/** Build time. */
core.String androidBuildTime;
- /** The user visible Android version string, e.g. `6.0.1`. */
+ /** The user visible Android version string, e.g. 6.0.1. */
core.String androidVersion;
- /** The system bootloader version number, e.g. `0.6.7`. */
+ /** The system bootloader version number, e.g. 0.6.7. */
core.String bootloaderVersion;
- /** Kernel version, e.g. `2.6.32.9-g103d848`. */
+ /** Kernel version, e.g. 2.6.32.9-g103d848. */
core.String deviceKernelVersion;
- /** Security patch level, e.g. `2016-05-01`. */
+ /** Security patch level, e.g. 2016-05-01. */
core.String securityPatchLevel;
SoftwareInfo();
@@ -3736,66 +3673,46 @@
}
/**
- * The `Status` type defines a logical error model that is suitable for
- * different
+ * 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.
+ * 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 needsOverviewThe 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 mappingThe 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 usesThe 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
+ * 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`,
@@ -3903,16 +3820,16 @@
/** Configuration for managing system updates */
class SystemUpdate {
/**
- * If the type is `WINDOWED`, the end of the maintenance window, measured as
- * the number of minutes after midnight in device local time. This value must
- * be between 0 and 1439, inclusive. If this value is less than
- * `start_minutes`, then the maintenance window spans midnight. If the
- * maintenance window specified is smaller than 30 minutes, the actual window
- * is extended to 30 minutes beyond the start time.
+ * If the type is WINDOWED, the end of the maintenance window, measured as the
+ * number of minutes after midnight in device local time. This value must be
+ * between 0 and 1439, inclusive. If this value is less than start_minutes,
+ * then the maintenance window spans midnight. If the maintenance window
+ * specified is smaller than 30 minutes, the actual window is extended to 30
+ * minutes beyond the start time.
*/
core.int endMinutes;
/**
- * If the type is `WINDOWED`, the start of the maintenance window, measured as
+ * If the type is WINDOWED, the start of the maintenance window, measured as
* the number of minutes after midnight in device local time. This value must
* be between 0 and 1439, inclusive.
*/
@@ -3921,15 +3838,13 @@
* The type of system update to configure.
* Possible string values are:
* - "SYSTEM_UPDATE_TYPE_UNSPECIFIED" : Follow the default update behavior for
- * the device, which typically
- * requires the user to accept system updates.
+ * the device, which typically requires the user to accept system updates.
* - "AUTOMATIC" : Install automatically as soon as an update is available.
* - "WINDOWED" : Install automatically within a daily maintenance window. If
- * the device
- * has a device account, this also configures Play apps to be updated within
- * the window. This is strongly recommended for kiosk devices because this
- * is the only way apps persistently pinned to the foreground can be updated
- * by Play.
+ * the device has a device account, this also configures Play apps to be
+ * updated within the window. This is strongly recommended for kiosk devices
+ * because this is the only way apps persistently pinned to the foreground can
+ * be updated by Play.
* - "POSTPONE" : Postpone automatic install up to a maximum of 30 days.
*/
core.String type;
@@ -3976,8 +3891,8 @@
*/
core.String defaultMessage;
/**
- * A map which contains <locale, message> pairs.
- * The locale is a BCP 47 language code, e.g. en-US, es-ES, fr.
+ * A map which contains <locale, message> pairs. The locale is a BCP 47
+ * language code, e.g. en-US, es-ES, fr.
*/
core.Map<core.String, core.String> localizedMessages;
@@ -4008,8 +3923,7 @@
class WebToken {
/**
* The name of the web token, which is generated by the server during
- * creation, in the form
- * `enterprises/{enterpriseId}/webTokens/{webTokenId}`.
+ * creation, in the form enterprises/{enterpriseId}/webTokens/{webTokenId}.
*/
core.String name;
/**
diff --git a/generated/googleapis/lib/androidpublisher/v2.dart b/generated/googleapis/lib/androidpublisher/v2.dart
index 07df54e..fdbe8e8 100644
--- a/generated/googleapis/lib/androidpublisher/v2.dart
+++ b/generated/googleapis/lib/androidpublisher/v2.dart
@@ -3142,7 +3142,9 @@
* [endTime] - The time, in milliseconds since the Epoch, of the newest voided
* in-app product purchase that you want to see in the response. The value of
* this parameter cannot be greater than the current time and is ignored if a
- * pagination token is set. Default value is current time.
+ * pagination token is set. Default value is current time. Note: This filter
+ * is applied on the time at which the record is seen as voided by our systems
+ * and not the actual voided time returned in the response.
*
* [maxResults] - null
*
@@ -3151,7 +3153,9 @@
* [startTime] - The time, in milliseconds since the Epoch, of the oldest
* voided in-app product purchase that you want to see in the response. The
* value of this parameter cannot be older than 30 days and is ignored if a
- * pagination token is set. Default value is current time minus 30 days.
+ * pagination token is set. Default value is current time minus 30 days. Note:
+ * This filter is applied on the time at which the record is seen as voided by
+ * our systems and not the actual voided time returned in the response.
*
* [token] - null
*
@@ -3411,6 +3415,11 @@
* output of the sha1sum command.
*/
core.String sha1;
+ /**
+ * A sha256 hash of the APK payload, encoded as a hex string and matching the
+ * output of the sha256sum command.
+ */
+ core.String sha256;
ApkBinary();
@@ -3418,6 +3427,9 @@
if (_json.containsKey("sha1")) {
sha1 = _json["sha1"];
}
+ if (_json.containsKey("sha256")) {
+ sha256 = _json["sha256"];
+ }
}
core.Map<core.String, core.Object> toJson() {
@@ -3425,6 +3437,9 @@
if (sha1 != null) {
_json["sha1"] = sha1;
}
+ if (sha256 != null) {
+ _json["sha256"] = sha256;
+ }
return _json;
}
}
@@ -4872,6 +4887,8 @@
* service.
*/
core.String kind;
+ /** The order id associated with the purchase of the inapp product. */
+ core.String orderId;
/**
* The purchase state of the order. Possible values are:
* - Purchased
@@ -4896,6 +4913,9 @@
if (_json.containsKey("kind")) {
kind = _json["kind"];
}
+ if (_json.containsKey("orderId")) {
+ orderId = _json["orderId"];
+ }
if (_json.containsKey("purchaseState")) {
purchaseState = _json["purchaseState"];
}
@@ -4915,6 +4935,9 @@
if (kind != null) {
_json["kind"] = kind;
}
+ if (orderId != null) {
+ _json["orderId"] = orderId;
+ }
if (purchaseState != null) {
_json["purchaseState"] = purchaseState;
}
@@ -5225,9 +5248,15 @@
*/
core.String kind;
/**
+ * The order id of the latest recurring order associated with the purchase of
+ * the subscription.
+ */
+ core.String orderId;
+ /**
* The payment state of the subscription. Possible values are:
* - Payment pending
* - Payment received
+ * - Free trial
*/
core.int paymentState;
/**
@@ -5275,6 +5304,9 @@
if (_json.containsKey("kind")) {
kind = _json["kind"];
}
+ if (_json.containsKey("orderId")) {
+ orderId = _json["orderId"];
+ }
if (_json.containsKey("paymentState")) {
paymentState = _json["paymentState"];
}
@@ -5312,6 +5344,9 @@
if (kind != null) {
_json["kind"] = kind;
}
+ if (orderId != null) {
+ _json["orderId"] = orderId;
+ }
if (paymentState != null) {
_json["paymentState"] = paymentState;
}
diff --git a/generated/googleapis/lib/appengine/v1.dart b/generated/googleapis/lib/appengine/v1.dart
index a5fcc69..590e9ce 100644
--- a/generated/googleapis/lib/appengine/v1.dart
+++ b/generated/googleapis/lib/appengine/v1.dart
@@ -296,12 +296,12 @@
* [appsId] - Part of `name`. The resource that owns the locations collection,
* if applicable.
*
+ * [pageSize] - The standard list page size.
+ *
* [filter] - The standard list filter.
*
* [pageToken] - The standard list page token.
*
- * [pageSize] - The standard list page size.
- *
* Completes with a [ListLocationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -310,7 +310,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<ListLocationsResponse> list(core.String appsId, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListLocationsResponse> list(core.String appsId, {core.int pageSize, core.String filter, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -321,15 +321,15 @@
if (appsId == null) {
throw new core.ArgumentError("Parameter appsId 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}"];
- }
_url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/locations';
@@ -413,12 +413,12 @@
*
* [appsId] - Part of `name`. The name of the operation's parent resource.
*
+ * [filter] - The standard list filter.
+ *
* [pageToken] - The standard list page token.
*
* [pageSize] - The standard list page size.
*
- * [filter] - The standard list filter.
- *
* Completes with a [ListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -427,7 +427,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<ListOperationsResponse> list(core.String appsId, {core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<ListOperationsResponse> list(core.String appsId, {core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -438,15 +438,15 @@
if (appsId == null) {
throw new core.ArgumentError("Parameter appsId 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];
- }
_url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operations';
@@ -623,8 +623,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
@@ -639,6 +637,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.
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -647,7 +647,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> patch(Service request, core.String appsId, core.String servicesId, {core.String updateMask, core.bool migrateTraffic}) {
+ async.Future<Operation> patch(Service request, core.String appsId, core.String servicesId, {core.bool migrateTraffic, core.String updateMask}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -664,12 +664,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];
+ }
_url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId');
@@ -1191,10 +1191,10 @@
*
* [versionsId] - Part of `parent`. See documentation of `appsId`.
*
- * [pageSize] - Maximum results to return per page.
- *
* [pageToken] - Continuation token for fetching the next page of results.
*
+ * [pageSize] - Maximum results to return per page.
+ *
* Completes with a [ListInstancesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1203,7 +1203,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<ListInstancesResponse> list(core.String appsId, core.String servicesId, core.String versionsId, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListInstancesResponse> list(core.String appsId, core.String servicesId, core.String versionsId, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1220,12 +1220,12 @@
if (versionsId == null) {
throw new core.ArgumentError("Parameter versionsId is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions/' + commons.Escaper.ecapeVariable('$versionsId') + '/instances';
@@ -2706,17 +2706,24 @@
}
}
-/** Extra network settings. Only applicable for VM runtimes. */
+/**
+ * Extra network settings. Only applicable for App Engine flexible environment
+ * versions
+ */
class Network {
/**
* List of ports, or port pairs, to forward from the virtual machine to the
- * application container.
+ * application container. Only applicable for App Engine flexible environment
+ * versions.
*/
core.List<core.String> forwardedPorts;
- /** Tag to apply to the VM instance during creation. */
+ /**
+ * Tag to apply to the VM instance during creation. Only applicable for for
+ * App Engine flexible environment versions.
+ */
core.String instanceTag;
/**
- * Google Cloud Platform network where the virtual machines are created.
+ * Google Compute Engine network where the virtual machines are created.
* Specify the short name, not the resource path.Defaults to default.
*/
core.String name;
@@ -2734,7 +2741,8 @@
* If the network the VM instance is being created in is a custom Subnet Mode
* Network, then the subnetwork_name must be specified and the IP address is
* created from the IPCidrRange of the subnetwork.If specified, the subnetwork
- * must exist in the same region as the Flex app.
+ * must exist in the same region as the App Engine flexible environment
+ * application.
*/
core.String subnetworkName;
@@ -4118,7 +4126,10 @@
* apps/myapp/services/default/versions/v1.@OutputOnly
*/
core.String name;
- /** Extra network settings. Only applicable for VM runtimes. */
+ /**
+ * Extra network settings. Only applicable for App Engine flexible environment
+ * versions.
+ */
Network network;
/**
* Files that match this pattern will not be built into this version. Only
diff --git a/generated/googleapis/lib/bigquery/v2.dart b/generated/googleapis/lib/bigquery/v2.dart
index 332dcec..11c817e 100644
--- a/generated/googleapis/lib/bigquery/v2.dart
+++ b/generated/googleapis/lib/bigquery/v2.dart
@@ -2007,6 +2007,10 @@
}
class ExplainQueryStage {
+ /** Milliseconds the average shard spent on CPU-bound tasks. */
+ core.String computeMsAvg;
+ /** Milliseconds the slowest shard spent on CPU-bound tasks. */
+ core.String computeMsMax;
/** Relative amount of time the average shard spent on CPU-bound tasks. */
core.double computeRatioAvg;
/** Relative amount of time the slowest shard spent on CPU-bound tasks. */
@@ -2015,6 +2019,10 @@
core.String id;
/** Human-readable name for stage. */
core.String name;
+ /** Milliseconds the average shard spent reading input. */
+ core.String readMsAvg;
+ /** Milliseconds the slowest shard spent reading input. */
+ core.String readMsMax;
/** Relative amount of time the average shard spent reading input. */
core.double readRatioAvg;
/** Relative amount of time the slowest shard spent reading input. */
@@ -2023,6 +2031,10 @@
core.String recordsRead;
/** Number of records written by the stage. */
core.String recordsWritten;
+ /** Total number of bytes written to shuffle. */
+ core.String shuffleOutputBytes;
+ /** Total number of bytes written to shuffle and spilled to disk. */
+ core.String shuffleOutputBytesSpilled;
/** Current status for the stage. */
core.String status;
/**
@@ -2030,6 +2042,10 @@
* chronological).
*/
core.List<ExplainQueryStep> steps;
+ /** Milliseconds the average shard spent waiting to be scheduled. */
+ core.String waitMsAvg;
+ /** Milliseconds the slowest shard spent waiting to be scheduled. */
+ core.String waitMsMax;
/**
* Relative amount of time the average shard spent waiting to be scheduled.
*/
@@ -2038,6 +2054,10 @@
* Relative amount of time the slowest shard spent waiting to be scheduled.
*/
core.double waitRatioMax;
+ /** Milliseconds the average shard spent on writing output. */
+ core.String writeMsAvg;
+ /** Milliseconds the slowest shard spent on writing output. */
+ core.String writeMsMax;
/** Relative amount of time the average shard spent on writing output. */
core.double writeRatioAvg;
/** Relative amount of time the slowest shard spent on writing output. */
@@ -2046,6 +2066,12 @@
ExplainQueryStage();
ExplainQueryStage.fromJson(core.Map _json) {
+ if (_json.containsKey("computeMsAvg")) {
+ computeMsAvg = _json["computeMsAvg"];
+ }
+ if (_json.containsKey("computeMsMax")) {
+ computeMsMax = _json["computeMsMax"];
+ }
if (_json.containsKey("computeRatioAvg")) {
computeRatioAvg = _json["computeRatioAvg"];
}
@@ -2058,6 +2084,12 @@
if (_json.containsKey("name")) {
name = _json["name"];
}
+ if (_json.containsKey("readMsAvg")) {
+ readMsAvg = _json["readMsAvg"];
+ }
+ if (_json.containsKey("readMsMax")) {
+ readMsMax = _json["readMsMax"];
+ }
if (_json.containsKey("readRatioAvg")) {
readRatioAvg = _json["readRatioAvg"];
}
@@ -2070,18 +2102,36 @@
if (_json.containsKey("recordsWritten")) {
recordsWritten = _json["recordsWritten"];
}
+ if (_json.containsKey("shuffleOutputBytes")) {
+ shuffleOutputBytes = _json["shuffleOutputBytes"];
+ }
+ if (_json.containsKey("shuffleOutputBytesSpilled")) {
+ shuffleOutputBytesSpilled = _json["shuffleOutputBytesSpilled"];
+ }
if (_json.containsKey("status")) {
status = _json["status"];
}
if (_json.containsKey("steps")) {
steps = _json["steps"].map((value) => new ExplainQueryStep.fromJson(value)).toList();
}
+ if (_json.containsKey("waitMsAvg")) {
+ waitMsAvg = _json["waitMsAvg"];
+ }
+ if (_json.containsKey("waitMsMax")) {
+ waitMsMax = _json["waitMsMax"];
+ }
if (_json.containsKey("waitRatioAvg")) {
waitRatioAvg = _json["waitRatioAvg"];
}
if (_json.containsKey("waitRatioMax")) {
waitRatioMax = _json["waitRatioMax"];
}
+ if (_json.containsKey("writeMsAvg")) {
+ writeMsAvg = _json["writeMsAvg"];
+ }
+ if (_json.containsKey("writeMsMax")) {
+ writeMsMax = _json["writeMsMax"];
+ }
if (_json.containsKey("writeRatioAvg")) {
writeRatioAvg = _json["writeRatioAvg"];
}
@@ -2092,6 +2142,12 @@
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (computeMsAvg != null) {
+ _json["computeMsAvg"] = computeMsAvg;
+ }
+ if (computeMsMax != null) {
+ _json["computeMsMax"] = computeMsMax;
+ }
if (computeRatioAvg != null) {
_json["computeRatioAvg"] = computeRatioAvg;
}
@@ -2104,6 +2160,12 @@
if (name != null) {
_json["name"] = name;
}
+ if (readMsAvg != null) {
+ _json["readMsAvg"] = readMsAvg;
+ }
+ if (readMsMax != null) {
+ _json["readMsMax"] = readMsMax;
+ }
if (readRatioAvg != null) {
_json["readRatioAvg"] = readRatioAvg;
}
@@ -2116,18 +2178,36 @@
if (recordsWritten != null) {
_json["recordsWritten"] = recordsWritten;
}
+ if (shuffleOutputBytes != null) {
+ _json["shuffleOutputBytes"] = shuffleOutputBytes;
+ }
+ if (shuffleOutputBytesSpilled != null) {
+ _json["shuffleOutputBytesSpilled"] = shuffleOutputBytesSpilled;
+ }
if (status != null) {
_json["status"] = status;
}
if (steps != null) {
_json["steps"] = steps.map((value) => (value).toJson()).toList();
}
+ if (waitMsAvg != null) {
+ _json["waitMsAvg"] = waitMsAvg;
+ }
+ if (waitMsMax != null) {
+ _json["waitMsMax"] = waitMsMax;
+ }
if (waitRatioAvg != null) {
_json["waitRatioAvg"] = waitRatioAvg;
}
if (waitRatioMax != null) {
_json["waitRatioMax"] = waitRatioMax;
}
+ if (writeMsAvg != null) {
+ _json["writeMsAvg"] = writeMsAvg;
+ }
+ if (writeMsMax != null) {
+ _json["writeMsMax"] = writeMsMax;
+ }
if (writeRatioAvg != null) {
_json["writeRatioAvg"] = writeRatioAvg;
}
@@ -2226,8 +2306,8 @@
* load jobs apply to external data sources. For Google Cloud Bigtable URIs:
* Exactly one URI can be specified and it has be a fully specified and valid
* HTTPS URL for a Google Cloud Bigtable table. For Google Cloud Datastore
- * backups, exactly one URI can be specified, and it must end with
- * '.backup_info'. Also, the '*' wildcard character is not allowed.
+ * backups, exactly one URI can be specified. Also, the '*' wildcard character
+ * is not allowed.
*/
core.List<core.String> sourceUris;
@@ -2864,8 +2944,9 @@
core.String schemaInlineFormat;
/**
* [Experimental] Allows the schema of the desitination table to be updated as
- * a side effect of the load job. Schema update options are supported in two
- * cases: when writeDisposition is WRITE_APPEND; when writeDisposition is
+ * a side effect of the load job if a schema is autodetected or supplied in
+ * the job configuration. Schema update options are supported in two cases:
+ * when writeDisposition is WRITE_APPEND; when writeDisposition is
* WRITE_TRUNCATE and the destination table is a partition of a table,
* specified by partition decorators. For normal tables, WRITE_TRUNCATE will
* always overwrite the schema. One or more of the following values are
@@ -2894,11 +2975,16 @@
* load jobs apply to external data sources. For Google Cloud Bigtable URIs:
* Exactly one URI can be specified and it has be a fully specified and valid
* HTTPS URL for a Google Cloud Bigtable table. For Google Cloud Datastore
- * backups: Exactly one URI can be specified, and it must end with
- * '.backup_info'. Also, the '*' wildcard character is not allowed.
+ * backups: Exactly one URI can be specified. Also, the '*' wildcard character
+ * is not allowed.
*/
core.List<core.String> sourceUris;
/**
+ * [Experimental] If specified, configures time-based partitioning for the
+ * destination table.
+ */
+ TimePartitioning timePartitioning;
+ /**
* [Optional] Specifies the action that occurs if the destination table
* already exists. The following values are supported: WRITE_TRUNCATE: If the
* table already exists, BigQuery overwrites the table data. WRITE_APPEND: If
@@ -2971,6 +3057,9 @@
if (_json.containsKey("sourceUris")) {
sourceUris = _json["sourceUris"];
}
+ if (_json.containsKey("timePartitioning")) {
+ timePartitioning = new TimePartitioning.fromJson(_json["timePartitioning"]);
+ }
if (_json.containsKey("writeDisposition")) {
writeDisposition = _json["writeDisposition"];
}
@@ -3035,6 +3124,9 @@
if (sourceUris != null) {
_json["sourceUris"] = sourceUris;
}
+ if (timePartitioning != null) {
+ _json["timePartitioning"] = (timePartitioning).toJson();
+ }
if (writeDisposition != null) {
_json["writeDisposition"] = writeDisposition;
}
@@ -3131,6 +3223,11 @@
*/
core.Map<core.String, ExternalDataConfiguration> tableDefinitions;
/**
+ * [Experimental] If specified, configures time-based partitioning for the
+ * destination table.
+ */
+ TimePartitioning timePartitioning;
+ /**
* Specifies whether to use BigQuery's legacy SQL dialect for this query. The
* default value is true. If set to false, the query will use BigQuery's
* standard SQL: https://cloud.google.com/bigquery/sql-reference/ When
@@ -3207,6 +3304,9 @@
if (_json.containsKey("tableDefinitions")) {
tableDefinitions = commons.mapMap<core.Map<core.String, core.Object>, ExternalDataConfiguration>(_json["tableDefinitions"], (core.Map<core.String, core.Object> item) => new ExternalDataConfiguration.fromJson(item));
}
+ if (_json.containsKey("timePartitioning")) {
+ timePartitioning = new TimePartitioning.fromJson(_json["timePartitioning"]);
+ }
if (_json.containsKey("useLegacySql")) {
useLegacySql = _json["useLegacySql"];
}
@@ -3265,6 +3365,9 @@
if (tableDefinitions != null) {
_json["tableDefinitions"] = commons.mapMap<ExternalDataConfiguration, core.Map<core.String, core.Object>>(tableDefinitions, (ExternalDataConfiguration item) => (item).toJson());
}
+ if (timePartitioning != null) {
+ _json["timePartitioning"] = (timePartitioning).toJson();
+ }
if (useLegacySql != null) {
_json["useLegacySql"] = useLegacySql;
}
diff --git a/generated/googleapis/lib/bigquerydatatransfer/v1.dart b/generated/googleapis/lib/bigquerydatatransfer/v1.dart
index e1d74f9..49e228f 100644
--- a/generated/googleapis/lib/bigquerydatatransfer/v1.dart
+++ b/generated/googleapis/lib/bigquerydatatransfer/v1.dart
@@ -314,6 +314,46 @@
_requester = client;
/**
+ * Get information about a location.
+ *
+ * Request parameters:
+ *
+ * [name] - Resource name for the location.
+ * Value must have pattern "^projects/[^/]+/locations/[^/]+$".
+ *
+ * Completes with a [Location].
+ *
+ * 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<Location> get(core.String name) {
+ 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.");
+ }
+
+ _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 Location.fromJson(data));
+ }
+
+ /**
* Returns true if data transfer is enabled for a project.
*
* [request] - The metadata request object.
@@ -360,6 +400,61 @@
}
/**
+ * Lists information about the supported locations for this service.
+ *
+ * Request parameters:
+ *
+ * [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.
+ *
+ * Completes with a [ListLocationsResponse].
+ *
+ * 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<ListLocationsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
+ 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}"];
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + '/locations';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListLocationsResponse.fromJson(data));
+ }
+
+ /**
* Enables or disables data transfer for a project. This
* method requires the additional scope of
* 'https://www.googleapis.com/auth/cloudplatformprojects'
@@ -520,6 +615,9 @@
* Must be in the form: `projects/{project_id}`
* Value must have pattern "^projects/[^/]+/locations/[^/]+$".
*
+ * [pageSize] - Page size. The default page size is the maximum value of 1000
+ * results.
+ *
* [pageToken] - Pagination token, which can be used to request a specific
* page
* of `ListDataSourcesRequest` list results. For multiple-page
@@ -527,9 +625,6 @@
* a `next_page` token, which can be used as the
* `page_token` value to request the next page of list results.
*
- * [pageSize] - Page size. The default page size is the maximum value of 1000
- * results.
- *
* Completes with a [ListDataSourcesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -538,7 +633,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListDataSourcesResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListDataSourcesResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -549,12 +644,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];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/dataSources';
@@ -817,8 +912,6 @@
* 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
@@ -837,6 +930,8 @@
* 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.
+ *
* Completes with a [TransferConfig].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -845,7 +940,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<TransferConfig> patch(TransferConfig request, core.String name, {core.String updateMask, core.String authorizationCode}) {
+ async.Future<TransferConfig> patch(TransferConfig request, core.String name, {core.String authorizationCode, core.String updateMask}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -859,12 +954,12 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (updateMask != null) {
- _queryParams["updateMask"] = [updateMask];
- }
if (authorizationCode != null) {
_queryParams["authorizationCode"] = [authorizationCode];
}
+ if (updateMask != null) {
+ _queryParams["updateMask"] = [updateMask];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
@@ -1350,12 +1445,6 @@
* should be returned: `projects/{project_id}`.
* Value must have pattern "^projects/[^/]+$".
*
- * [pageSize] - Page size. The default page size is the maximum value of 1000
- * results.
- *
- * [dataSourceIds] - When specified, only configurations of requested data
- * sources are returned.
- *
* [pageToken] - Pagination token, which can be used to request a specific
* page
* of `ListTransfersRequest` list results. For multiple-page
@@ -1363,6 +1452,12 @@
* a `next_page` token, which can be used as the
* `page_token` value to request the next page of list results.
*
+ * [pageSize] - Page size. The default page size is the maximum value of 1000
+ * results.
+ *
+ * [dataSourceIds] - When specified, only configurations of requested data
+ * sources are returned.
+ *
* Completes with a [ListTransferConfigsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1371,7 +1466,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<ListTransferConfigsResponse> list(core.String parent, {core.int pageSize, core.List<core.String> dataSourceIds, core.String pageToken}) {
+ async.Future<ListTransferConfigsResponse> list(core.String parent, {core.String pageToken, core.int pageSize, core.List<core.String> dataSourceIds}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1382,15 +1477,15 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (dataSourceIds != null) {
_queryParams["dataSourceIds"] = dataSourceIds;
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/transferConfigs';
@@ -2294,6 +2389,36 @@
}
}
+/** The response message for Locations.ListLocations. */
+class ListLocationsResponse {
+ /** A list of locations that matches the specified filter in the request. */
+ core.List<Location> locations;
+ /** The standard List next-page token. */
+ core.String nextPageToken;
+
+ ListLocationsResponse();
+
+ ListLocationsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("locations")) {
+ locations = _json["locations"].map((value) => new Location.fromJson(value)).toList();
+ }
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (locations != null) {
+ _json["locations"] = locations.map((value) => (value).toJson()).toList();
+ }
+ if (nextPageToken != null) {
+ _json["nextPageToken"] = nextPageToken;
+ }
+ return _json;
+ }
+}
+
/** The returned list of pipelines in the project. */
class ListTransferConfigsResponse {
/**
@@ -2411,6 +2536,65 @@
}
}
+/** A resource that represents Google Cloud Platform location. */
+class Location {
+ /**
+ * Cross-service attributes for the location. For example
+ *
+ * {"cloud.googleapis.com/region": "us-east1"}
+ */
+ core.Map<core.String, core.String> labels;
+ /** The canonical id for this location. For example: `"us-east1"`. */
+ core.String locationId;
+ /**
+ * Service-specific metadata. For example the available capacity at the given
+ * location.
+ *
+ * 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;
+ /**
+ * Resource name for the location, which may vary between implementations.
+ * For example: `"projects/example-project/locations/us-east1"`
+ */
+ core.String name;
+
+ Location();
+
+ Location.fromJson(core.Map _json) {
+ if (_json.containsKey("labels")) {
+ labels = _json["labels"];
+ }
+ if (_json.containsKey("locationId")) {
+ locationId = _json["locationId"];
+ }
+ if (_json.containsKey("metadata")) {
+ metadata = _json["metadata"];
+ }
+ 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 (labels != null) {
+ _json["labels"] = labels;
+ }
+ if (locationId != null) {
+ _json["locationId"] = locationId;
+ }
+ if (metadata != null) {
+ _json["metadata"] = metadata;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ return _json;
+ }
+}
+
/** A request to schedule transfer runs for a time range. */
class ScheduleTransferRunsRequest {
/** End time of the range of transfer runs. */
@@ -2544,15 +2728,18 @@
*/
core.Map<core.String, core.Object> params;
/**
- * Data transfer schedule in GROC format.
+ * Data transfer schedule.
* If the data source does not support a custom schedule, this should be
* empty. If it is empty, the default value for the data source will be
* used.
* The specified times are in UTC.
- * Examples of valid GROC include:
+ * Examples of valid format:
* `1st,3rd monday of month 15:30`,
* `every wed,fri of jan,jun 13:15`, and
* `first sunday of quarter 00:00`.
+ * See more explanation about the format here:
+ * https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format
+ * NOTE: the granularity should be at least 8 hours, or less frequent.
*/
core.String schedule;
/**
diff --git a/generated/googleapis/lib/classroom/v1.dart b/generated/googleapis/lib/classroom/v1.dart
index 49bbcea..73350f6 100644
--- a/generated/googleapis/lib/classroom/v1.dart
+++ b/generated/googleapis/lib/classroom/v1.dart
@@ -244,7 +244,8 @@
/**
* Returns a list of courses that the requesting user is permitted to view,
- * restricted to those that match the request.
+ * restricted to those that match the request. Returned courses are ordered by
+ * creation time, with the most recently created coming first.
*
* This method returns the following error codes:
*
@@ -254,12 +255,6 @@
*
* Request parameters:
*
- * [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.
- *
* [courseStates] - Restricts returned courses to those in one of the
* specified states
* The default value is ACTIVE, ARCHIVED, PROVISIONED, DECLINED.
@@ -288,6 +283,12 @@
* 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.
+ *
* Completes with a [ListCoursesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -296,7 +297,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<ListCoursesResponse> list({core.int pageSize, core.List<core.String> courseStates, core.String teacherId, core.String studentId, core.String pageToken}) {
+ async.Future<ListCoursesResponse> list({core.List<core.String> courseStates, core.String teacherId, core.String studentId, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -304,9 +305,6 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (courseStates != null) {
_queryParams["courseStates"] = courseStates;
}
@@ -319,6 +317,9 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/courses';
@@ -363,6 +364,11 @@
* * `description`
* * `room`
* * `courseState`
+ * * `ownerId`
+ *
+ * Note: patches to ownerId are treated as being effective immediately, but in
+ * practice it may take some time for the ownership transfer of all affected
+ * resources to complete.
*
* When set in a query parameter, this field should be specified as
*
@@ -854,17 +860,6 @@
* 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.
- *
- * [courseWorkStates] - Restriction on the work status to return. Only
- * courseWork that matches
- * is returned. If unspecified, items with a work status of `PUBLISHED`
- * is returned.
- *
* [pageToken] - nextPageToken
* value returned from a previous
* list call,
@@ -880,6 +875,17 @@
* If not specified, `updateTime desc` is the default behavior.
* Examples: `dueDate asc,updateTime desc`, `updateTime,dueDate desc`
*
+ * [pageSize] - Maximum number of items to return. Zero or unspecified
+ * indicates that the
+ * server may assign a maximum.
+ *
+ * The server may return fewer than the specified number of results.
+ *
+ * [courseWorkStates] - Restriction on the work status to return. Only
+ * courseWork that matches
+ * is returned. If unspecified, items with a work status of `PUBLISHED`
+ * is returned.
+ *
* Completes with a [ListCourseWorkResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -888,7 +894,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<ListCourseWorkResponse> list(core.String courseId, {core.int pageSize, core.List<core.String> courseWorkStates, core.String pageToken, core.String orderBy}) {
+ async.Future<ListCourseWorkResponse> list(core.String courseId, {core.String pageToken, core.String orderBy, core.int pageSize, core.List<core.String> courseWorkStates}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -899,18 +905,18 @@
if (courseId == null) {
throw new core.ArgumentError("Parameter courseId is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
- if (courseWorkStates != null) {
- _queryParams["courseWorkStates"] = courseWorkStates;
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (courseWorkStates != null) {
+ _queryParams["courseWorkStates"] = courseWorkStates;
+ }
_url = 'v1/courses/' + commons.Escaper.ecapeVariable('$courseId') + '/courseWork';
@@ -1105,7 +1111,7 @@
* This identifier can be either the Classroom-assigned identifier or an
* alias.
*
- * [courseWorkId] - Identifer of the student work to request.
+ * [courseWorkId] - Identifier of the student work to request.
* This may be set to the string literal `"-"` to request student work for
* all course work in the specified course.
*
@@ -1790,10 +1796,6 @@
* 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
@@ -1802,6 +1804,10 @@
* 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.
+ *
* Completes with a [ListStudentsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1810,7 +1816,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.int pageSize, core.String pageToken}) {
+ async.Future<ListStudentsResponse> list(core.String courseId, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1821,12 +1827,12 @@
if (courseId == null) {
throw new core.ArgumentError("Parameter courseId is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/courses/' + commons.Escaper.ecapeVariable('$courseId') + '/students';
@@ -2608,14 +2614,6 @@
* all students that the requesting user is permitted to view guardian
* invitations.
*
- * [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.
@@ -2630,6 +2628,14 @@
* `invited_email_address`
* will be returned.
*
+ * [pageToken] - nextPageToken
+ * value returned from a previous
+ * list call,
+ * indicating that the subsequent page of results should be returned.
+ *
+ * The list request
+ * must be otherwise identical to the one that resulted in this token.
+ *
* Completes with a [ListGuardianInvitationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -2638,7 +2644,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListGuardianInvitationsResponse> list(core.String studentId, {core.String pageToken, core.int pageSize, core.List<core.String> states, core.String invitedEmailAddress}) {
+ async.Future<ListGuardianInvitationsResponse> list(core.String studentId, {core.int pageSize, core.List<core.String> states, core.String invitedEmailAddress, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2649,9 +2655,6 @@
if (studentId == null) {
throw new core.ArgumentError("Parameter studentId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
@@ -2661,6 +2664,9 @@
if (invitedEmailAddress != null) {
_queryParams["invitedEmailAddress"] = [invitedEmailAddress];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1/userProfiles/' + commons.Escaper.ecapeVariable('$studentId') + '/guardianInvitations';
@@ -3221,8 +3227,9 @@
* * the email address of the user
* * the string literal `"me"`, indicating the requesting user
*
- * This must be set in a create request. Specifying this field in a course
- * update mask results in an `INVALID_ARGUMENT` error.
+ * This must be set in a create request. Admins can also specify this field
+ * in a patch course request to
+ * transfer ownership. In other contexts, it is read-only.
*/
core.String ownerId;
/**
@@ -4035,6 +4042,75 @@
}
}
+/** The history of each grade on this submission. */
+class GradeHistory {
+ /** The teacher who made the grade change. */
+ core.String actorUserId;
+ /**
+ * The type of grade change at this time in the submission grade history.
+ * Possible string values are:
+ * - "UNKNOWN_GRADE_CHANGE_TYPE" : No grade change type specified. This should
+ * never be returned.
+ * - "DRAFT_GRADE_POINTS_EARNED_CHANGE" : A change in the numerator of the
+ * draft grade.
+ * - "ASSIGNED_GRADE_POINTS_EARNED_CHANGE" : A change in the numerator of the
+ * assigned grade.
+ * - "MAX_POINTS_CHANGE" : A change in the denominator of the grade.
+ */
+ core.String gradeChangeType;
+ /** When the grade of the submission was changed. */
+ core.String gradeTimestamp;
+ /**
+ * The denominator of the grade at this time in the submission grade
+ * history.
+ */
+ core.double maxPoints;
+ /**
+ * The numerator of the grade at this time in the submission grade history.
+ */
+ core.double pointsEarned;
+
+ GradeHistory();
+
+ GradeHistory.fromJson(core.Map _json) {
+ if (_json.containsKey("actorUserId")) {
+ actorUserId = _json["actorUserId"];
+ }
+ if (_json.containsKey("gradeChangeType")) {
+ gradeChangeType = _json["gradeChangeType"];
+ }
+ if (_json.containsKey("gradeTimestamp")) {
+ gradeTimestamp = _json["gradeTimestamp"];
+ }
+ if (_json.containsKey("maxPoints")) {
+ maxPoints = _json["maxPoints"];
+ }
+ if (_json.containsKey("pointsEarned")) {
+ pointsEarned = _json["pointsEarned"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (actorUserId != null) {
+ _json["actorUserId"] = actorUserId;
+ }
+ if (gradeChangeType != null) {
+ _json["gradeChangeType"] = gradeChangeType;
+ }
+ if (gradeTimestamp != null) {
+ _json["gradeTimestamp"] = gradeTimestamp;
+ }
+ if (maxPoints != null) {
+ _json["maxPoints"] = maxPoints;
+ }
+ if (pointsEarned != null) {
+ _json["pointsEarned"] = pointsEarned;
+ }
+ return _json;
+ }
+}
+
/**
* Association between a student and a guardian of that student. The guardian
* may receive information about the student's course work.
@@ -4180,6 +4256,7 @@
* - "COURSE_ROLE_UNSPECIFIED" : No course role.
* - "STUDENT" : Student in the course.
* - "TEACHER" : Teacher of the course.
+ * - "OWNER" : Owner of the course.
*/
core.String role;
/**
@@ -4841,6 +4918,61 @@
}
}
+/** The history of each state this submission has been in. */
+class StateHistory {
+ /** The teacher or student who made the change */
+ core.String actorUserId;
+ /**
+ * The workflow pipeline stage.
+ * Possible string values are:
+ * - "STATE_UNSPECIFIED" : No state specified. This should never be returned.
+ * - "CREATED" : The Submission has been created.
+ * - "TURNED_IN" : The student has turned in an assigned document, which may
+ * or may not be
+ * a template.
+ * - "RETURNED" : The teacher has returned the assigned document to the
+ * student.
+ * - "RECLAIMED_BY_STUDENT" : The student turned in the assigned document, and
+ * then chose to
+ * "unsubmit" the assignment, giving the student control again as the
+ * owner.
+ * - "STUDENT_EDITED_AFTER_TURN_IN" : The student edited their submission
+ * after turning it in. Currently,
+ * only used by Questions, when the student edits their answer.
+ */
+ core.String state;
+ /** When the submission entered this state. */
+ core.String stateTimestamp;
+
+ StateHistory();
+
+ StateHistory.fromJson(core.Map _json) {
+ if (_json.containsKey("actorUserId")) {
+ actorUserId = _json["actorUserId"];
+ }
+ if (_json.containsKey("state")) {
+ state = _json["state"];
+ }
+ if (_json.containsKey("stateTimestamp")) {
+ stateTimestamp = _json["stateTimestamp"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (actorUserId != null) {
+ _json["actorUserId"] = actorUserId;
+ }
+ if (state != null) {
+ _json["state"] = state;
+ }
+ if (stateTimestamp != null) {
+ _json["stateTimestamp"] = stateTimestamp;
+ }
+ return _json;
+ }
+}
+
/** Student in a course. */
class Student {
/**
@@ -4926,7 +5058,8 @@
core.String alternateLink;
/**
* Optional grade. If unset, no grade was set.
- * This must be a non-negative integer value.
+ * This value must be non-negative. Decimal (i.e. non-integer) values are
+ * allowed, but will be rounded to two decimal places.
*
* This may be modified only by course teachers.
*/
@@ -4976,7 +5109,8 @@
core.String creationTime;
/**
* Optional pending grade. If unset, no grade was set.
- * This must be a non-negative integer value.
+ * This value must be non-negative. Decimal (i.e. non-integer) values are
+ * allowed, but will be rounded to two decimal places.
*
* This is only visible to and modifiable by course teachers.
*/
@@ -5015,6 +5149,12 @@
*/
core.String state;
/**
+ * The history of the submission (includes state and grade histories).
+ *
+ * Read-only.
+ */
+ core.List<SubmissionHistory> submissionHistory;
+ /**
* Last update time of this submission.
* This may be unset if the student has not accessed this item.
*
@@ -5073,6 +5213,9 @@
if (_json.containsKey("state")) {
state = _json["state"];
}
+ if (_json.containsKey("submissionHistory")) {
+ submissionHistory = _json["submissionHistory"].map((value) => new SubmissionHistory.fromJson(value)).toList();
+ }
if (_json.containsKey("updateTime")) {
updateTime = _json["updateTime"];
}
@@ -5125,6 +5268,9 @@
if (state != null) {
_json["state"] = state;
}
+ if (submissionHistory != null) {
+ _json["submissionHistory"] = submissionHistory.map((value) => (value).toJson()).toList();
+ }
if (updateTime != null) {
_json["updateTime"] = updateTime;
}
@@ -5135,6 +5281,39 @@
}
}
+/**
+ * The history of the submission. This currently includes state and grade
+ * histories.
+ */
+class SubmissionHistory {
+ /** The grade history information of the submission, if present. */
+ GradeHistory gradeHistory;
+ /** The state history information of the submission, if present. */
+ StateHistory stateHistory;
+
+ SubmissionHistory();
+
+ SubmissionHistory.fromJson(core.Map _json) {
+ if (_json.containsKey("gradeHistory")) {
+ gradeHistory = new GradeHistory.fromJson(_json["gradeHistory"]);
+ }
+ if (_json.containsKey("stateHistory")) {
+ stateHistory = new StateHistory.fromJson(_json["stateHistory"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (gradeHistory != null) {
+ _json["gradeHistory"] = (gradeHistory).toJson();
+ }
+ if (stateHistory != null) {
+ _json["stateHistory"] = (stateHistory).toJson();
+ }
+ return _json;
+ }
+}
+
/** Teacher of a course. */
class Teacher {
/**
diff --git a/generated/googleapis/lib/cloudbilling/v1.dart b/generated/googleapis/lib/cloudbilling/v1.dart
index bfe7374..5154619 100644
--- a/generated/googleapis/lib/cloudbilling/v1.dart
+++ b/generated/googleapis/lib/cloudbilling/v1.dart
@@ -27,6 +27,7 @@
BillingAccountsResourceApi get billingAccounts => new BillingAccountsResourceApi(_requester);
ProjectsResourceApi get projects => new ProjectsResourceApi(_requester);
+ ServicesResourceApi get services => new ServicesResourceApi(_requester);
CloudbillingApi(http.Client client, {core.String rootUrl: "https://cloudbilling.googleapis.com/", core.String servicePath: ""}) :
_requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
@@ -335,6 +336,211 @@
}
+class ServicesResourceApi {
+ final commons.ApiRequester _requester;
+
+ ServicesSkusResourceApi get skus => new ServicesSkusResourceApi(_requester);
+
+ ServicesResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Lists all public cloud services.
+ *
+ * Request parameters:
+ *
+ * [pageSize] - Requested page size. Defaults to 5000.
+ *
+ * [pageToken] - A token identifying a page of results to return. This should
+ * be a
+ * `next_page_token` value returned from a previous `ListServices`
+ * call. If unspecified, the first page of results is returned.
+ *
+ * Completes with a [ListServicesResponse].
+ *
+ * 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<ListServicesResponse> list({core.int pageSize, core.String pageToken}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+
+ _url = 'v1/services';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListServicesResponse.fromJson(data));
+ }
+
+}
+
+
+class ServicesSkusResourceApi {
+ final commons.ApiRequester _requester;
+
+ ServicesSkusResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Lists all publicly available SKUs for a given cloud service.
+ *
+ * Request parameters:
+ *
+ * [parent] - The name of the service.
+ * Example: "services/DA34-426B-A397"
+ * Value must have pattern "^services/[^/]+$".
+ *
+ * [currencyCode] - The ISO 4217 currency code for the pricing info in the
+ * response proto.
+ * Will use the conversion rate as of start_time.
+ * Optional. If not specified USD will be used.
+ *
+ * [endTime] - Optional exclusive end time of the time range for which the
+ * pricing
+ * versions will be returned. Timestamps in the future are not allowed.
+ * Maximum allowable time range is 1 month (31 days). Time range as a whole
+ * is optional. If not specified, the latest pricing will be returned (up to
+ * 12 hours old at most).
+ *
+ * [pageSize] - Requested page size. Defaults to 5000.
+ *
+ * [startTime] - Optional inclusive start time of the time range for which the
+ * pricing
+ * versions will be returned. Timestamps in the future are not allowed.
+ * Maximum allowable time range is 1 month (31 days). Time range as a whole
+ * is optional. If not specified, the latest pricing will be returned (up to
+ * 12 hours old at most).
+ *
+ * [pageToken] - A token identifying a page of results to return. This should
+ * be a
+ * `next_page_token` value returned from a previous `ListSkus`
+ * call. If unspecified, the first page of results is returned.
+ *
+ * Completes with a [ListSkusResponse].
+ *
+ * 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<ListSkusResponse> list(core.String parent, {core.String currencyCode, core.String endTime, core.int pageSize, core.String startTime, core.String pageToken}) {
+ 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 (currencyCode != null) {
+ _queryParams["currencyCode"] = [currencyCode];
+ }
+ if (endTime != null) {
+ _queryParams["endTime"] = [endTime];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (startTime != null) {
+ _queryParams["startTime"] = [startTime];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/skus';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListSkusResponse.fromJson(data));
+ }
+
+}
+
+
+
+/**
+ * Represents the aggregation level and interval for pricing of a single SKU.
+ */
+class AggregationInfo {
+ /**
+ * The number of intervals to aggregate over.
+ * Example: If aggregation_level is "DAILY" and aggregation_count is 14,
+ * aggregation will be over 14 days.
+ */
+ core.int aggregationCount;
+ /**
+ *
+ * Possible string values are:
+ * - "AGGREGATION_INTERVAL_UNSPECIFIED"
+ * - "DAILY"
+ * - "MONTHLY"
+ */
+ core.String aggregationInterval;
+ /**
+ *
+ * Possible string values are:
+ * - "AGGREGATION_LEVEL_UNSPECIFIED"
+ * - "ACCOUNT"
+ * - "PROJECT"
+ */
+ core.String aggregationLevel;
+
+ AggregationInfo();
+
+ AggregationInfo.fromJson(core.Map _json) {
+ if (_json.containsKey("aggregationCount")) {
+ aggregationCount = _json["aggregationCount"];
+ }
+ if (_json.containsKey("aggregationInterval")) {
+ aggregationInterval = _json["aggregationInterval"];
+ }
+ if (_json.containsKey("aggregationLevel")) {
+ aggregationLevel = _json["aggregationLevel"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (aggregationCount != null) {
+ _json["aggregationCount"] = aggregationCount;
+ }
+ if (aggregationInterval != null) {
+ _json["aggregationInterval"] = aggregationInterval;
+ }
+ if (aggregationLevel != null) {
+ _json["aggregationLevel"] = aggregationLevel;
+ }
+ return _json;
+ }
+}
/**
* A billing account in [Google Cloud
@@ -390,6 +596,61 @@
}
}
+/** Represents the category hierarchy of a SKU. */
+class Category {
+ /**
+ * The type of product the SKU refers to.
+ * Example: "Compute", "Storage", "Network", "ApplicationServices" etc.
+ */
+ core.String resourceFamily;
+ /**
+ * A group classification for related SKUs.
+ * Example: "RAM", "GPU", "Prediction", "Ops", "GoogleEgress" etc.
+ */
+ core.String resourceGroup;
+ /** The display name of the service this SKU belongs to. */
+ core.String serviceDisplayName;
+ /**
+ * Represents how the SKU is consumed.
+ * Example: "OnDemand", "Preemptible", "Commit1Mo", "Commit1Yr" etc.
+ */
+ core.String usageType;
+
+ Category();
+
+ Category.fromJson(core.Map _json) {
+ if (_json.containsKey("resourceFamily")) {
+ resourceFamily = _json["resourceFamily"];
+ }
+ if (_json.containsKey("resourceGroup")) {
+ resourceGroup = _json["resourceGroup"];
+ }
+ if (_json.containsKey("serviceDisplayName")) {
+ serviceDisplayName = _json["serviceDisplayName"];
+ }
+ if (_json.containsKey("usageType")) {
+ usageType = _json["usageType"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (resourceFamily != null) {
+ _json["resourceFamily"] = resourceFamily;
+ }
+ if (resourceGroup != null) {
+ _json["resourceGroup"] = resourceGroup;
+ }
+ if (serviceDisplayName != null) {
+ _json["serviceDisplayName"] = serviceDisplayName;
+ }
+ if (usageType != null) {
+ _json["usageType"] = usageType;
+ }
+ return _json;
+ }
+}
+
/** Response message for `ListBillingAccounts`. */
class ListBillingAccountsResponse {
/** A list of billing accounts. */
@@ -461,6 +722,298 @@
}
}
+/** Response message for `ListServices`. */
+class ListServicesResponse {
+ /**
+ * A token to retrieve the next page of results. To retrieve the next page,
+ * call `ListServices` again with the `page_token` field set to this
+ * value. This field is empty if there are no more results to retrieve.
+ */
+ core.String nextPageToken;
+ /** A list of services. */
+ core.List<Service> services;
+
+ ListServicesResponse();
+
+ ListServicesResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("services")) {
+ services = _json["services"].map((value) => new Service.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 (services != null) {
+ _json["services"] = services.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/** Response message for `ListSkus`. */
+class ListSkusResponse {
+ /**
+ * A token to retrieve the next page of results. To retrieve the next page,
+ * call `ListSkus` again with the `page_token` field set to this
+ * value. This field is empty if there are no more results to retrieve.
+ */
+ core.String nextPageToken;
+ /** The list of public SKUs of the given service. */
+ core.List<Sku> skus;
+
+ ListSkusResponse();
+
+ ListSkusResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("skus")) {
+ skus = _json["skus"].map((value) => new Sku.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 (skus != null) {
+ _json["skus"] = skus.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/** Represents an amount of money with its currency type. */
+class Money {
+ /** The 3-letter currency code defined in ISO 4217. */
+ core.String currencyCode;
+ /**
+ * 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.
+ * If `units` is zero, `nanos` can be positive, zero, or negative.
+ * If `units` is negative, `nanos` must be negative or zero.
+ * For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ */
+ core.int nanos;
+ /**
+ * The whole units of the amount.
+ * For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ */
+ core.String units;
+
+ Money();
+
+ Money.fromJson(core.Map _json) {
+ if (_json.containsKey("currencyCode")) {
+ currencyCode = _json["currencyCode"];
+ }
+ if (_json.containsKey("nanos")) {
+ nanos = _json["nanos"];
+ }
+ if (_json.containsKey("units")) {
+ units = _json["units"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (currencyCode != null) {
+ _json["currencyCode"] = currencyCode;
+ }
+ if (nanos != null) {
+ _json["nanos"] = nanos;
+ }
+ if (units != null) {
+ _json["units"] = units;
+ }
+ return _json;
+ }
+}
+
+/**
+ * Expresses a mathematical pricing formula. For Example:-
+ *
+ * `usage_unit: GBy`
+ * `tiered_rates:`
+ * `[start_usage_amount: 20, unit_price: $10]`
+ * `[start_usage_amount: 100, unit_price: $5]`
+ *
+ * The above expresses a pricing formula where the first 20GB is free, the
+ * next 80GB is priced at $10 per GB followed by $5 per GB for additional
+ * usage.
+ */
+class PricingExpression {
+ /**
+ * The base unit for the SKU which is the unit used in usage exports.
+ * Example: "By"
+ */
+ core.String baseUnit;
+ /**
+ * Conversion factor for converting from price per usage_unit to price per
+ * base_unit, and start_usage_amount to start_usage_amount in base_unit.
+ * unit_price / base_unit_conversion_factor = price per base_unit.
+ * start_usage_amount * base_unit_conversion_factor = start_usage_amount in
+ * base_unit.
+ */
+ core.double baseUnitConversionFactor;
+ /**
+ * The base unit in human readable form.
+ * Example: "byte".
+ */
+ core.String baseUnitDescription;
+ /**
+ * The recommended quantity of units for displaying pricing info. When
+ * displaying pricing info it is recommended to display:
+ * (unit_price * display_quantity) per display_quantity usage_unit.
+ * This field does not affect the pricing formula and is for display purposes
+ * only.
+ * Example: If the unit_price is "0.0001 USD", the usage_unit is "GB" and
+ * the display_quantity is "1000" then the recommended way of displaying the
+ * pricing info is "0.10 USD per 1000 GB"
+ */
+ core.double displayQuantity;
+ /**
+ * The list of tiered rates for this pricing. The total cost is computed by
+ * applying each of the tiered rates on usage. This repeated list is sorted
+ * by ascending order of start_usage_amount.
+ */
+ core.List<TierRate> tieredRates;
+ /**
+ * The short hand for unit of usage this pricing is specified in.
+ * Example: usage_unit of "GiBy" means that usage is specified in "Gibi Byte".
+ */
+ core.String usageUnit;
+ /**
+ * The unit of usage in human readable form.
+ * Example: "gibi byte".
+ */
+ core.String usageUnitDescription;
+
+ PricingExpression();
+
+ PricingExpression.fromJson(core.Map _json) {
+ if (_json.containsKey("baseUnit")) {
+ baseUnit = _json["baseUnit"];
+ }
+ if (_json.containsKey("baseUnitConversionFactor")) {
+ baseUnitConversionFactor = _json["baseUnitConversionFactor"];
+ }
+ if (_json.containsKey("baseUnitDescription")) {
+ baseUnitDescription = _json["baseUnitDescription"];
+ }
+ if (_json.containsKey("displayQuantity")) {
+ displayQuantity = _json["displayQuantity"];
+ }
+ if (_json.containsKey("tieredRates")) {
+ tieredRates = _json["tieredRates"].map((value) => new TierRate.fromJson(value)).toList();
+ }
+ if (_json.containsKey("usageUnit")) {
+ usageUnit = _json["usageUnit"];
+ }
+ if (_json.containsKey("usageUnitDescription")) {
+ usageUnitDescription = _json["usageUnitDescription"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (baseUnit != null) {
+ _json["baseUnit"] = baseUnit;
+ }
+ if (baseUnitConversionFactor != null) {
+ _json["baseUnitConversionFactor"] = baseUnitConversionFactor;
+ }
+ if (baseUnitDescription != null) {
+ _json["baseUnitDescription"] = baseUnitDescription;
+ }
+ if (displayQuantity != null) {
+ _json["displayQuantity"] = displayQuantity;
+ }
+ if (tieredRates != null) {
+ _json["tieredRates"] = tieredRates.map((value) => (value).toJson()).toList();
+ }
+ if (usageUnit != null) {
+ _json["usageUnit"] = usageUnit;
+ }
+ if (usageUnitDescription != null) {
+ _json["usageUnitDescription"] = usageUnitDescription;
+ }
+ return _json;
+ }
+}
+
+/** Represents the pricing information for a SKU at a single point of time. */
+class PricingInfo {
+ /**
+ * Aggregation Info. This can be left unspecified if the pricing expression
+ * doesn't require aggregation.
+ */
+ AggregationInfo aggregationInfo;
+ /**
+ * Conversion rate for currency conversion, from USD to the currency specified
+ * in the request. If the currency is not specified this defaults to 1.0.
+ * Example: USD * currency_conversion_rate = JPY
+ */
+ core.double currencyConversionRate;
+ /** The timestamp from which this pricing was effective. */
+ core.String effectiveTime;
+ /** Expresses the pricing formula. See `PricingExpression` for an example. */
+ PricingExpression pricingExpression;
+ /**
+ * An optional human readable summary of the pricing information, has a
+ * maximum length of 256 characters.
+ */
+ core.String summary;
+
+ PricingInfo();
+
+ PricingInfo.fromJson(core.Map _json) {
+ if (_json.containsKey("aggregationInfo")) {
+ aggregationInfo = new AggregationInfo.fromJson(_json["aggregationInfo"]);
+ }
+ if (_json.containsKey("currencyConversionRate")) {
+ currencyConversionRate = _json["currencyConversionRate"];
+ }
+ if (_json.containsKey("effectiveTime")) {
+ effectiveTime = _json["effectiveTime"];
+ }
+ if (_json.containsKey("pricingExpression")) {
+ pricingExpression = new PricingExpression.fromJson(_json["pricingExpression"]);
+ }
+ 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 (aggregationInfo != null) {
+ _json["aggregationInfo"] = (aggregationInfo).toJson();
+ }
+ if (currencyConversionRate != null) {
+ _json["currencyConversionRate"] = currencyConversionRate;
+ }
+ if (effectiveTime != null) {
+ _json["effectiveTime"] = effectiveTime;
+ }
+ if (pricingExpression != null) {
+ _json["pricingExpression"] = (pricingExpression).toJson();
+ }
+ if (summary != null) {
+ _json["summary"] = summary;
+ }
+ return _json;
+ }
+}
+
/**
* Encapsulation of billing information for a Cloud Console project. A project
* has at most one associated billing account at a time (but a billing account
@@ -527,3 +1080,170 @@
return _json;
}
}
+
+/** Encapsulates a single service in Google Cloud Platform. */
+class Service {
+ /** A human readable display name for this service. */
+ core.String displayName;
+ /**
+ * The resource name for the service.
+ * Example: "services/DA34-426B-A397"
+ */
+ core.String name;
+ /**
+ * The identifier for the service.
+ * Example: "DA34-426B-A397"
+ */
+ core.String serviceId;
+
+ Service();
+
+ Service.fromJson(core.Map _json) {
+ if (_json.containsKey("displayName")) {
+ displayName = _json["displayName"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("serviceId")) {
+ serviceId = _json["serviceId"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (displayName != null) {
+ _json["displayName"] = displayName;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (serviceId != null) {
+ _json["serviceId"] = serviceId;
+ }
+ return _json;
+ }
+}
+
+/** Encapsulates a single SKU in Google Cloud Platform */
+class Sku {
+ /** The category hierarchy of this SKU, purely for organizational purpose. */
+ Category category;
+ /**
+ * A human readable description of the SKU, has a maximum length of 256
+ * characters.
+ */
+ core.String description;
+ /**
+ * The resource name for the SKU.
+ * Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
+ */
+ core.String name;
+ /** A timeline of pricing info for this SKU in chronological order. */
+ core.List<PricingInfo> pricingInfo;
+ /**
+ * Identifies the service provider.
+ * This is 'Google' for first party services in Google Cloud Platform.
+ */
+ core.String serviceProviderName;
+ /**
+ * List of service regions this SKU is offered at.
+ * Example: "asia-east1"
+ * Service regions can be found at https://cloud.google.com/about/locations/
+ */
+ core.List<core.String> serviceRegions;
+ /**
+ * The identifier for the SKU.
+ * Example: "AA95-CD31-42FE"
+ */
+ core.String skuId;
+
+ Sku();
+
+ Sku.fromJson(core.Map _json) {
+ if (_json.containsKey("category")) {
+ category = new Category.fromJson(_json["category"]);
+ }
+ if (_json.containsKey("description")) {
+ description = _json["description"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("pricingInfo")) {
+ pricingInfo = _json["pricingInfo"].map((value) => new PricingInfo.fromJson(value)).toList();
+ }
+ if (_json.containsKey("serviceProviderName")) {
+ serviceProviderName = _json["serviceProviderName"];
+ }
+ if (_json.containsKey("serviceRegions")) {
+ serviceRegions = _json["serviceRegions"];
+ }
+ if (_json.containsKey("skuId")) {
+ skuId = _json["skuId"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (category != null) {
+ _json["category"] = (category).toJson();
+ }
+ if (description != null) {
+ _json["description"] = description;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (pricingInfo != null) {
+ _json["pricingInfo"] = pricingInfo.map((value) => (value).toJson()).toList();
+ }
+ if (serviceProviderName != null) {
+ _json["serviceProviderName"] = serviceProviderName;
+ }
+ if (serviceRegions != null) {
+ _json["serviceRegions"] = serviceRegions;
+ }
+ if (skuId != null) {
+ _json["skuId"] = skuId;
+ }
+ return _json;
+ }
+}
+
+/** The price rate indicating starting usage and its corresponding price. */
+class TierRate {
+ /**
+ * Usage is priced at this rate only after this amount.
+ * Example: start_usage_amount of 10 indicates that the usage will be priced
+ * at the unit_price after the first 10 usage_units.
+ */
+ core.double startUsageAmount;
+ /**
+ * The price per unit of usage.
+ * Example: unit_price of amount $10 indicates that each unit will cost $10.
+ */
+ Money unitPrice;
+
+ TierRate();
+
+ TierRate.fromJson(core.Map _json) {
+ if (_json.containsKey("startUsageAmount")) {
+ startUsageAmount = _json["startUsageAmount"];
+ }
+ if (_json.containsKey("unitPrice")) {
+ unitPrice = new Money.fromJson(_json["unitPrice"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (startUsageAmount != null) {
+ _json["startUsageAmount"] = startUsageAmount;
+ }
+ if (unitPrice != null) {
+ _json["unitPrice"] = (unitPrice).toJson();
+ }
+ return _json;
+ }
+}
diff --git a/generated/googleapis/lib/cloudbuild/v1.dart b/generated/googleapis/lib/cloudbuild/v1.dart
index 6573f32..ada1703 100644
--- a/generated/googleapis/lib/cloudbuild/v1.dart
+++ b/generated/googleapis/lib/cloudbuild/v1.dart
@@ -370,12 +370,12 @@
*
* [projectId] - ID of the project.
*
+ * [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.
*
- * [pageToken] - Token to provide to skip to a particular spot in the list.
- *
* Completes with a [ListBuildsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -384,7 +384,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<ListBuildsResponse> list(core.String projectId, {core.int pageSize, core.String filter, core.String pageToken}) {
+ async.Future<ListBuildsResponse> list(core.String projectId, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -395,15 +395,15 @@
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId 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];
- }
_url = 'v1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/builds';
diff --git a/generated/googleapis/lib/clouddebugger/v2.dart b/generated/googleapis/lib/clouddebugger/v2.dart
index 5d8912c..a7ca2f8 100644
--- a/generated/googleapis/lib/clouddebugger/v2.dart
+++ b/generated/googleapis/lib/clouddebugger/v2.dart
@@ -57,14 +57,14 @@
/**
* Registers the debuggee with the controller service.
*
- * All agents attached to the same application should call this method with
- * the same request content to get back the same stable `debuggee_id`. Agents
- * should call this method again whenever `google.rpc.Code.NOT_FOUND` is
- * returned from any controller method.
+ * All agents attached to the same application must call this method with
+ * exactly the same request content to get back the same stable `debuggee_id`.
+ * Agents should call this method again whenever `google.rpc.Code.NOT_FOUND`
+ * is returned from any controller method.
*
- * This allows the controller service to disable the agent or recover from any
- * data loss. If the debuggee is disabled by the server, the response will
- * have `is_disabled` set to `true`.
+ * This protocol allows the controller service to disable debuggees, recover
+ * from data loss, or change the `debuggee_id` format. Agents must handle
+ * `debuggee_id` value changing upon re-registration.
*
* [request] - The metadata request object.
*
@@ -130,18 +130,19 @@
*
* [debuggeeId] - Identifies the debuggee.
*
- * [successOnTimeout] - If set to `true`, returns `google.rpc.Code.OK` status
- * and sets the
- * `wait_expired` response field to `true` when the server-selected timeout
- * has expired (recommended).
+ * [successOnTimeout] - If set to `true` (recommended), returns
+ * `google.rpc.Code.OK` status and
+ * sets the `wait_expired` response field to `true` when the server-selected
+ * timeout has expired.
*
- * If set to `false`, returns `google.rpc.Code.ABORTED` status when the
- * server-selected timeout has expired (deprecated).
+ * If set to `false` (deprecated), returns `google.rpc.Code.ABORTED` status
+ * when the server-selected timeout has expired.
*
- * [waitToken] - A wait token that, if specified, blocks the method call until
- * the list
- * of active breakpoints has changed, or a server selected timeout has
- * expired. The value should be set from the last returned response.
+ * [waitToken] - A token that, if specified, blocks the method call until the
+ * list
+ * of active breakpoints has changed, or a server-selected timeout has
+ * expired. The value should be set from the `next_wait_token` field in
+ * the last response. The initial value should be set to `"init"`.
*
* Completes with a [ListActiveBreakpointsResponse].
*
@@ -183,8 +184,7 @@
/**
* Updates the breakpoint state or mutable fields.
- * The entire Breakpoint message must be sent back to the controller
- * service.
+ * The entire Breakpoint message must be sent back to the controller service.
*
* Updates to active breakpoint fields are only allowed if the new value
* does not change the breakpoint specification. Updates to the `location`,
@@ -260,10 +260,13 @@
_requester = client;
/**
- * Lists all the debuggees that the user can set breakpoints to.
+ * Lists all the debuggees that the user has access to.
*
* Request parameters:
*
+ * [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.
@@ -271,9 +274,6 @@
* [project] - Project number of a Google Cloud project whose debuggees to
* list.
*
- * [clientVersion] - The client version making the call.
- * Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
- *
* Completes with a [ListDebuggeesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -282,7 +282,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<ListDebuggeesResponse> list({core.bool includeInactive, core.String project, core.String clientVersion}) {
+ async.Future<ListDebuggeesResponse> list({core.String clientVersion, core.bool includeInactive, core.String project}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -290,15 +290,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (clientVersion != null) {
+ _queryParams["clientVersion"] = [clientVersion];
+ }
if (includeInactive != null) {
_queryParams["includeInactive"] = ["${includeInactive}"];
}
if (project != null) {
_queryParams["project"] = [project];
}
- if (clientVersion != null) {
- _queryParams["clientVersion"] = [clientVersion];
- }
_url = 'v2/debugger/debuggees';
@@ -331,7 +331,7 @@
* [breakpointId] - ID of the breakpoint to delete.
*
* [clientVersion] - The client version making the call.
- * Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
+ * Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).
*
* Completes with a [Empty].
*
@@ -381,7 +381,7 @@
* [breakpointId] - ID of the breakpoint to get.
*
* [clientVersion] - The client version making the call.
- * Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
+ * Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).
*
* Completes with a [GetBreakpointResponse].
*
@@ -428,6 +428,10 @@
*
* [debuggeeId] - ID of the debuggee whose breakpoints to list.
*
+ * [stripResults] - This field is deprecated. The following fields are always
+ * stripped out of
+ * the result: `stack_frames`, `evaluated_expressions` and `variable_table`.
+ *
* [waitToken] - A wait token that, if specified, blocks the call until the
* breakpoints
* list has changed, or a server selected timeout has expired. The value
@@ -436,7 +440,7 @@
* should be called again with the same `wait_token`.
*
* [clientVersion] - The client version making the call.
- * Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
+ * Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).
*
* [action_value] - Only breakpoints with the specified action will pass the
* filter.
@@ -452,10 +456,6 @@
* breakpoints set by
* any user. Otherwise, it includes only breakpoints set by the caller.
*
- * [stripResults] - This field is deprecated. The following fields are always
- * stripped out of
- * the result: `stack_frames`, `evaluated_expressions` and `variable_table`.
- *
* Completes with a [ListBreakpointsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -464,7 +464,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<ListBreakpointsResponse> list(core.String debuggeeId, {core.String waitToken, core.String clientVersion, core.String action_value, core.bool includeInactive, core.bool includeAllUsers, core.bool stripResults}) {
+ async.Future<ListBreakpointsResponse> list(core.String debuggeeId, {core.bool stripResults, core.String waitToken, core.String clientVersion, core.String action_value, core.bool includeInactive, core.bool includeAllUsers}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -475,6 +475,9 @@
if (debuggeeId == null) {
throw new core.ArgumentError("Parameter debuggeeId is required.");
}
+ if (stripResults != null) {
+ _queryParams["stripResults"] = ["${stripResults}"];
+ }
if (waitToken != null) {
_queryParams["waitToken"] = [waitToken];
}
@@ -490,9 +493,6 @@
if (includeAllUsers != null) {
_queryParams["includeAllUsers"] = ["${includeAllUsers}"];
}
- if (stripResults != null) {
- _queryParams["stripResults"] = ["${stripResults}"];
- }
_url = 'v2/debugger/debuggees/' + commons.Escaper.ecapeVariable('$debuggeeId') + '/breakpoints';
@@ -516,7 +516,7 @@
* [debuggeeId] - ID of the debuggee where the breakpoint is to be set.
*
* [clientVersion] - The client version making the call.
- * Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
+ * Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).
*
* Completes with a [SetBreakpointResponse].
*
@@ -943,17 +943,17 @@
}
/**
- * Represents the application to debug. The application may include one or more
+ * Represents the debugged application. The application may include one or more
* replicated processes executing the same code. Each of these processes is
* attached with a debugger agent, carrying out the debugging commands.
- * The agents attached to the same debuggee are identified by using exactly the
- * same field values when registering.
+ * Agents attached to the same debuggee identify themselves as such by using
+ * exactly the same Debuggee message value when registering.
*/
class Debuggee {
/**
- * Version ID of the agent release. The version ID is structured as
- * following: `domain/type/vmajor.minor` (for example
- * `google.com/gcp-java/v1.1`).
+ * Version ID of the agent.
+ * Schema: `domain/language-platform/vmajor.minor` (for example
+ * `google.com/java-gcp/v1.1`).
*/
core.String agentVersion;
/**
@@ -966,9 +966,7 @@
* References to the locations and revisions of the source code used in the
* deployed application.
*
- * Contexts describing a remote repo related to the source code
- * have a `category` label of `remote_repo`. Source snapshot source
- * contexts have a `category` of `snapshot`.
+ * NOTE: this field is experimental and can be ignored.
*/
core.List<ExtendedSourceContext> extSourceContexts;
/**
@@ -981,8 +979,8 @@
*/
core.bool isDisabled;
/**
- * If set to `true`, indicates that the debuggee is considered as inactive by
- * the Controller service.
+ * If set to `true`, indicates that Controller service does not detect any
+ * activity from the debuggee agents and the application is possibly stopped.
*/
core.bool isInactive;
/**
@@ -992,16 +990,12 @@
core.Map<core.String, core.String> labels;
/**
* Project the debuggee is associated with.
- * Use the project number when registering a Google Cloud Platform project.
+ * Use project number or id when registering a Google Cloud Platform project.
*/
core.String project;
/**
* References to the locations and revisions of the source code used in the
* deployed application.
- *
- * NOTE: This field is deprecated. Consumers should use
- * `ext_source_contexts` if it is not empty. Debug agents should populate
- * both this field and `ext_source_contexts`.
*/
core.List<SourceContext> sourceContexts;
/**
@@ -1011,9 +1005,12 @@
*/
StatusMessage status;
/**
- * Debuggee uniquifier within the project.
- * Any string that identifies the application within the project can be used.
- * Including environment and version or build IDs is recommended.
+ * Uniquifier to further distiguish the application.
+ * It is possible that different applications might have identical values in
+ * the debuggee message, thus, incorrectly identified as a single application
+ * by the Controller service. This field adds salt to further distiguish the
+ * application. Agents should consider seeding this field with value that
+ * identifies the code, binary, configuration and environment.
*/
core.String uniquifier;
@@ -1318,13 +1315,14 @@
*/
core.List<Breakpoint> breakpoints;
/**
- * A wait token that can be used in the next method call to block until
+ * A token that can be used in the next method call to block until
* the list of breakpoints changes.
*/
core.String nextWaitToken;
/**
- * The `wait_expired` field is set to true by the server when the
- * request times out and the field `success_on_timeout` is set to true.
+ * If set to `true`, indicates that there is no change to the
+ * list of active breakpoints and the server-selected timeout has expired.
+ * The `breakpoints` field would be empty and should be ignored.
*/
core.bool waitExpired;
@@ -1399,10 +1397,9 @@
class ListDebuggeesResponse {
/**
* List of debuggees accessible to the calling user.
- * Note that the `description` field is the only human readable field
- * that should be displayed to the user.
- * The fields `debuggee.id` and `description` fields are guaranteed to be
- * set on each debuggee.
+ * The fields `debuggee.id` and `description` are guaranteed to be set.
+ * The `description` field is a human readable field provided by agents and
+ * can be displayed to users.
*/
core.List<Debuggee> debuggees;
@@ -1487,6 +1484,9 @@
/**
* Debuggee resource.
* The field `id` is guranteed to be set (in addition to the echoed fields).
+ * If the field `is_disabled` is set to `true`, the agent should disable
+ * itself by removing all breakpoints and detaching from the application.
+ * It should however continue to poll `RegisterDebuggee` until reenabled.
*/
Debuggee debuggee;
@@ -1759,6 +1759,7 @@
/**
* Updated breakpoint information.
* The field `id` must be set.
+ * The agent must echo all Breakpoint specification fields in the update.
*/
Breakpoint breakpoint;
diff --git a/generated/googleapis/lib/cloudkms/v1.dart b/generated/googleapis/lib/cloudkms/v1.dart
index 77aade2..44540b0 100644
--- a/generated/googleapis/lib/cloudkms/v1.dart
+++ b/generated/googleapis/lib/cloudkms/v1.dart
@@ -98,12 +98,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.
- *
* Completes with a [ListLocationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -112,7 +112,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<ListLocationsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListLocationsResponse> list(core.String name, {core.int pageSize, core.String filter, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -123,15 +123,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}"];
- }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + '/locations';
@@ -302,14 +302,14 @@
* KeyRings, in the format `projects / * /locations / * `.
* Value must have pattern "^projects/[^/]+/locations/[^/]+$".
*
- * [pageToken] - Optional pagination token, returned earlier via
- * ListKeyRingsResponse.next_page_token.
- *
* [pageSize] - Optional limit on the number of KeyRings to include in the
* response. Further KeyRings can subsequently be obtained by
* including the ListKeyRingsResponse.next_page_token in a subsequent
* request. If unspecified, the server will pick an appropriate default.
*
+ * [pageToken] - Optional pagination token, returned earlier via
+ * ListKeyRingsResponse.next_page_token.
+ *
* Completes with a [ListKeyRingsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -318,7 +318,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<ListKeyRingsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListKeyRingsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -329,12 +329,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];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/keyRings';
@@ -710,14 +710,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.
+ *
* Completes with a [ListCryptoKeysResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -726,7 +726,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}) {
+ async.Future<ListCryptoKeysResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -737,12 +737,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];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/cryptoKeys';
@@ -1654,7 +1654,30 @@
}
}
-/** Options for counters */
+/**
+ * Increment a streamz counter with the specified metric and field names.
+ *
+ * Metric names should start with a '/', generally be lowercase-only,
+ * and end in "_count". Field names should not contain an initial slash.
+ * The actual exported metric names will have "/iam/policy" prepended.
+ *
+ * Field names correspond to IAM request parameters and field values are
+ * their respective values.
+ *
+ * At present the only supported field names are
+ * - "iam_principal", corresponding to IAMContext.principal;
+ * - "" (empty string), resulting in one aggretated counter with no field.
+ *
+ * Examples:
+ * counter { metric: "/debug_access_count" field: "iam_principal" }
+ * ==> increment counter /iam/policy/backend_debug_access_count
+ * {iam_principal=[value of IAMContext.principal]}
+ *
+ * At this time we do not support:
+ * * multiple field names (though this may be supported in the future)
+ * * decrementing the counter
+ * * incrementing it by anything other than 1
+ */
class CounterOptions {
/** The field value to attribute. */
core.String field;
@@ -1877,14 +1900,41 @@
/** Write a Data Access (Gin) log */
class DataAccessOptions {
+ /**
+ * Whether Gin logging should happen in a fail-closed manner at the caller.
+ * This is relevant only in the LocalIAM implementation, for now.
+ * Possible string values are:
+ * - "LOG_MODE_UNSPECIFIED" : Client is not required to write a partial Gin
+ * log immediately after
+ * the authorization check. If client chooses to write one and it fails,
+ * client may either fail open (allow the operation to continue) or
+ * fail closed (handle as a DENY outcome).
+ * - "LOG_FAIL_CLOSED" : The application's operation in the context of which
+ * this authorization
+ * check is being made may only be performed if it is successfully logged
+ * to Gin. For instance, the authorization library may satisfy this
+ * obligation by emitting a partial log entry at authorization check time
+ * and only returning ALLOW to the application if it succeeds.
+ *
+ * If a matching Rule has this directive, but the client has not indicated
+ * that it will honor such requirements, then the IAM check will result in
+ * authorization failure by setting CheckPolicyResponse.success=false.
+ */
+ core.String logMode;
DataAccessOptions();
DataAccessOptions.fromJson(core.Map _json) {
+ if (_json.containsKey("logMode")) {
+ logMode = _json["logMode"];
+ }
}
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (logMode != null) {
+ _json["logMode"] = logMode;
+ }
return _json;
}
}
@@ -2384,31 +2434,7 @@
}
}
-/**
- * Specifies what kind of log the caller must write
- * Increment a streamz counter with the specified metric and field names.
- *
- * Metric names should start with a '/', generally be lowercase-only,
- * and end in "_count". Field names should not contain an initial slash.
- * The actual exported metric names will have "/iam/policy" prepended.
- *
- * Field names correspond to IAM request parameters and field values are
- * their respective values.
- *
- * At present the only supported field names are
- * - "iam_principal", corresponding to IAMContext.principal;
- * - "" (empty string), resulting in one aggretated counter with no field.
- *
- * Examples:
- * counter { metric: "/debug_access_count" field: "iam_principal" }
- * ==> increment counter /iam/policy/backend_debug_access_count
- * {iam_principal=[value of IAMContext.principal]}
- *
- * At this time we do not support:
- * * multiple field names (though this may be supported in the future)
- * * decrementing the counter
- * * incrementing it by anything other than 1
- */
+/** Specifies what kind of log the caller must write */
class LogConfig {
/** Cloud audit options. */
CloudAuditOptions cloudAudit;
diff --git a/generated/googleapis/lib/cloudresourcemanager/v1.dart b/generated/googleapis/lib/cloudresourcemanager/v1.dart
index d15712b..72d0165 100644
--- a/generated/googleapis/lib/cloudresourcemanager/v1.dart
+++ b/generated/googleapis/lib/cloudresourcemanager/v1.dart
@@ -1480,6 +1480,12 @@
*
* Request parameters:
*
+ * [pageSize] - The maximum number of Projects to return in the response.
+ * The server can return fewer Projects than requested.
+ * If unspecified, server picks an appropriate default.
+ *
+ * Optional.
+ *
* [filter] - An expression for filtering the results of the request. Filter
* rules are
* case insensitive. The fields eligible for filtering are:
@@ -1518,12 +1524,6 @@
*
* Optional.
*
- * [pageSize] - The maximum number of Projects to return in the response.
- * The server can return fewer Projects than requested.
- * If unspecified, server picks an appropriate default.
- *
- * Optional.
- *
* Completes with a [ListProjectsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1532,7 +1532,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<ListProjectsResponse> list({core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListProjectsResponse> list({core.int pageSize, core.String filter, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1540,15 +1540,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (filter != null) {
_queryParams["filter"] = [filter];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
_url = 'v1/projects';
diff --git a/generated/googleapis/lib/cloudtrace/v1.dart b/generated/googleapis/lib/cloudtrace/v1.dart
index 294ac2a..6c88370 100644
--- a/generated/googleapis/lib/cloudtrace/v1.dart
+++ b/generated/googleapis/lib/cloudtrace/v1.dart
@@ -156,20 +156,6 @@
*
* [projectId] - ID of the Cloud project where the trace data is stored.
*
- * [orderBy] - Field used to sort the returned traces. Optional.
- * Can be one of the following:
- *
- * * `trace_id`
- * * `name` (`name` field of root span in the trace)
- * * `duration` (difference between `end_time` and `start_time` fields of
- * the root span)
- * * `start` (`start_time` field of the root span)
- *
- * Descending order can be specified by appending `desc` to the sort field
- * (for example, `name desc`).
- *
- * Only one sort field is permitted.
- *
* [filter] - An optional filter against labels for the request.
*
* By default, searches use prefix matching. To specify exact match, prepend
@@ -226,6 +212,20 @@
* - "ROOTSPAN" : A ROOTSPAN.
* - "COMPLETE" : A COMPLETE.
*
+ * [orderBy] - Field used to sort the returned traces. Optional.
+ * Can be one of the following:
+ *
+ * * `trace_id`
+ * * `name` (`name` field of root span in the trace)
+ * * `duration` (difference between `end_time` and `start_time` fields of
+ * the root span)
+ * * `start` (`start_time` field of the root span)
+ *
+ * Descending order can be specified by appending `desc` to the sort field
+ * (for example, `name desc`).
+ *
+ * Only one sort field is permitted.
+ *
* Completes with a [ListTracesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -234,7 +234,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<ListTracesResponse> list(core.String projectId, {core.String orderBy, core.String filter, core.String endTime, core.String pageToken, core.String startTime, core.int pageSize, core.String view}) {
+ async.Future<ListTracesResponse> list(core.String projectId, {core.String filter, core.String endTime, core.String pageToken, core.String startTime, core.int pageSize, core.String view, core.String orderBy}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -245,9 +245,6 @@
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId is required.");
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
@@ -266,6 +263,9 @@
if (view != null) {
_queryParams["view"] = [view];
}
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
_url = 'v1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/traces';
diff --git a/generated/googleapis/lib/cloudtrace/v2.dart b/generated/googleapis/lib/cloudtrace/v2.dart
index 4678aa8..ed954cb 100644
--- a/generated/googleapis/lib/cloudtrace/v2.dart
+++ b/generated/googleapis/lib/cloudtrace/v2.dart
@@ -118,19 +118,6 @@
* is `projects/PROJECT_ID`.
* Value must have pattern "^projects/[^/]+$".
*
- * [orderBy] - Optional. A single field used to sort the returned traces.
- * Only the following field names can be used:
- *
- * * `trace_id`: the trace's ID field
- * * `name`: the root span's resource name
- * * `duration`: the difference between the root span's start time and end
- * time
- * * `start`: the start time of the root span
- *
- * Sorting is in ascending order unless `desc` is appended to the sort field
- * name.
- * Example: `"name desc"`).
- *
* [filter] - Opional. Return only traces that match this
* [trace filter](/trace/docs/trace-filters). Example:
*
@@ -154,6 +141,19 @@
* response indicates that more results might be available, even if fewer than
* the maximum number of results is returned by this request.
*
+ * [orderBy] - Optional. A single field used to sort the returned traces.
+ * Only the following field names can be used:
+ *
+ * * `trace_id`: the trace's ID field
+ * * `name`: the root span's resource name
+ * * `duration`: the difference between the root span's start time and end
+ * time
+ * * `start`: the start time of the root span
+ *
+ * Sorting is in ascending order unless `desc` is appended to the sort field
+ * name.
+ * Example: `"name desc"`).
+ *
* Completes with a [ListTracesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -162,7 +162,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<ListTracesResponse> list(core.String parent, {core.String orderBy, core.String filter, core.String endTime, core.String startTime, core.String pageToken, core.int pageSize}) {
+ async.Future<ListTracesResponse> list(core.String parent, {core.String filter, core.String endTime, core.String startTime, core.String pageToken, core.int pageSize, core.String orderBy}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -173,9 +173,6 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
@@ -191,6 +188,9 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/traces';
diff --git a/generated/googleapis/lib/compute/v1.dart b/generated/googleapis/lib/compute/v1.dart
index d14d8fb..3494879 100644
--- a/generated/googleapis/lib/compute/v1.dart
+++ b/generated/googleapis/lib/compute/v1.dart
@@ -477,6 +477,19 @@
* [address] - Name of the address resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -485,7 +498,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String region, core.String address) {
+ async.Future<Operation> delete(core.String project, core.String region, core.String address, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -502,6 +515,9 @@
if (address == null) {
throw new core.ArgumentError("Parameter address is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/addresses/' + commons.Escaper.ecapeVariable('$address');
@@ -583,6 +599,19 @@
* [region] - Name of the region for this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -591,7 +620,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(Address request, core.String project, core.String region) {
+ async.Future<Operation> insert(Address request, core.String project, core.String region, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -608,6 +637,9 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/addresses';
@@ -849,6 +881,19 @@
* [autoscaler] - Name of the autoscaler to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -857,7 +902,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String zone, core.String autoscaler) {
+ async.Future<Operation> delete(core.String project, core.String zone, core.String autoscaler, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -874,6 +919,9 @@
if (autoscaler == null) {
throw new core.ArgumentError("Parameter autoscaler is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/autoscalers/' + commons.Escaper.ecapeVariable('$autoscaler');
@@ -956,6 +1004,19 @@
* [zone] - Name of the zone for this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -964,7 +1025,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(Autoscaler request, core.String project, core.String zone) {
+ async.Future<Operation> insert(Autoscaler request, core.String project, core.String zone, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -981,6 +1042,9 @@
if (zone == null) {
throw new core.ArgumentError("Parameter zone is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/autoscalers';
@@ -1118,6 +1182,19 @@
* [autoscaler] - Name of the autoscaler to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1126,7 +1203,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> patch(Autoscaler request, core.String project, core.String zone, {core.String autoscaler}) {
+ async.Future<Operation> patch(Autoscaler request, core.String project, core.String zone, {core.String autoscaler, core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1146,6 +1223,9 @@
if (autoscaler != null) {
_queryParams["autoscaler"] = [autoscaler];
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/autoscalers';
@@ -1177,6 +1257,19 @@
* [autoscaler] - Name of the autoscaler to update.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1185,7 +1278,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> update(Autoscaler request, core.String project, core.String zone, {core.String autoscaler}) {
+ async.Future<Operation> update(Autoscaler request, core.String project, core.String zone, {core.String autoscaler, core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1205,6 +1298,9 @@
if (autoscaler != null) {
_queryParams["autoscaler"] = [autoscaler];
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/autoscalers';
@@ -1239,6 +1335,19 @@
* [backendBucket] - Name of the BackendBucket resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1247,7 +1356,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String backendBucket) {
+ async.Future<Operation> delete(core.String project, core.String backendBucket, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1261,6 +1370,9 @@
if (backendBucket == null) {
throw new core.ArgumentError("Parameter backendBucket is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/backendBuckets/' + commons.Escaper.ecapeVariable('$backendBucket');
@@ -1334,6 +1446,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1342,7 +1467,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(BackendBucket request, core.String project) {
+ async.Future<Operation> insert(BackendBucket request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1356,6 +1481,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/backendBuckets';
@@ -1485,6 +1613,19 @@
* [backendBucket] - Name of the BackendBucket resource to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1493,7 +1634,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> patch(BackendBucket request, core.String project, core.String backendBucket) {
+ async.Future<Operation> patch(BackendBucket request, core.String project, core.String backendBucket, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1510,6 +1651,9 @@
if (backendBucket == null) {
throw new core.ArgumentError("Parameter backendBucket is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/backendBuckets/' + commons.Escaper.ecapeVariable('$backendBucket');
@@ -1538,6 +1682,19 @@
* [backendBucket] - Name of the BackendBucket resource to update.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1546,7 +1703,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> update(BackendBucket request, core.String project, core.String backendBucket) {
+ async.Future<Operation> update(BackendBucket request, core.String project, core.String backendBucket, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1563,6 +1720,9 @@
if (backendBucket == null) {
throw new core.ArgumentError("Parameter backendBucket is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/backendBuckets/' + commons.Escaper.ecapeVariable('$backendBucket');
@@ -1697,6 +1857,19 @@
* [backendService] - Name of the BackendService resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1705,7 +1878,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String backendService) {
+ async.Future<Operation> delete(core.String project, core.String backendService, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1719,6 +1892,9 @@
if (backendService == null) {
throw new core.ArgumentError("Parameter backendService is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/backendServices/' + commons.Escaper.ecapeVariable('$backendService');
@@ -1847,6 +2023,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1855,7 +2044,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(BackendService request, core.String project) {
+ async.Future<Operation> insert(BackendService request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1869,6 +2058,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/backendServices';
@@ -2000,6 +2192,19 @@
* [backendService] - Name of the BackendService resource to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -2008,7 +2213,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> patch(BackendService request, core.String project, core.String backendService) {
+ async.Future<Operation> patch(BackendService request, core.String project, core.String backendService, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2025,6 +2230,9 @@
if (backendService == null) {
throw new core.ArgumentError("Parameter backendService is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/backendServices/' + commons.Escaper.ecapeVariable('$backendService');
@@ -2055,6 +2263,19 @@
* [backendService] - Name of the BackendService resource to update.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -2063,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<Operation> update(BackendService request, core.String project, core.String backendService) {
+ async.Future<Operation> update(BackendService request, core.String project, core.String backendService, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2080,6 +2301,9 @@
if (backendService == null) {
throw new core.ArgumentError("Parameter backendService is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/backendServices/' + commons.Escaper.ecapeVariable('$backendService');
@@ -2487,6 +2711,19 @@
*
* [guestFlush] - null
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -2495,7 +2732,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> createSnapshot(Snapshot request, core.String project, core.String zone, core.String disk, {core.bool guestFlush}) {
+ async.Future<Operation> createSnapshot(Snapshot request, core.String project, core.String zone, core.String disk, {core.bool guestFlush, core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2518,6 +2755,9 @@
if (guestFlush != null) {
_queryParams["guestFlush"] = ["${guestFlush}"];
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/disks/' + commons.Escaper.ecapeVariable('$disk') + '/createSnapshot';
@@ -2548,6 +2788,19 @@
*
* [disk] - Name of the persistent disk to delete.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -2556,7 +2809,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String zone, core.String disk) {
+ async.Future<Operation> delete(core.String project, core.String zone, core.String disk, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2573,6 +2826,9 @@
if (disk == null) {
throw new core.ArgumentError("Parameter disk is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/disks/' + commons.Escaper.ecapeVariable('$disk');
@@ -2658,6 +2914,19 @@
* [zone] - The name of the zone for this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* [sourceImage] - Optional. Source image to restore onto a disk.
*
* Completes with a [Operation].
@@ -2668,7 +2937,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(Disk request, core.String project, core.String zone, {core.String sourceImage}) {
+ async.Future<Operation> insert(Disk request, core.String project, core.String zone, {core.String requestId, core.String sourceImage}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2685,6 +2954,9 @@
if (zone == null) {
throw new core.ArgumentError("Parameter zone is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
if (sourceImage != null) {
_queryParams["sourceImage"] = [sourceImage];
}
@@ -2823,6 +3095,19 @@
* [disk] - The name of the persistent disk.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -2831,7 +3116,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> resize(DisksResizeRequest request, core.String project, core.String zone, core.String disk) {
+ async.Future<Operation> resize(DisksResizeRequest request, core.String project, core.String zone, core.String disk, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2851,6 +3136,9 @@
if (disk == null) {
throw new core.ArgumentError("Parameter disk is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/disks/' + commons.Escaper.ecapeVariable('$disk') + '/resize';
@@ -2882,6 +3170,19 @@
* [resource] - Name of the resource for this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -2890,7 +3191,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setLabels(ZoneSetLabelsRequest request, core.String project, core.String zone, core.String resource) {
+ async.Future<Operation> setLabels(ZoneSetLabelsRequest request, core.String project, core.String zone, core.String resource, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2910,6 +3211,9 @@
if (resource == null) {
throw new core.ArgumentError("Parameter resource is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/disks/' + commons.Escaper.ecapeVariable('$resource') + '/setLabels';
@@ -2944,6 +3248,19 @@
* [firewall] - Name of the firewall rule to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -2952,7 +3269,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String firewall) {
+ async.Future<Operation> delete(core.String project, core.String firewall, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2966,6 +3283,9 @@
if (firewall == null) {
throw new core.ArgumentError("Parameter firewall is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/firewalls/' + commons.Escaper.ecapeVariable('$firewall');
@@ -3038,6 +3358,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -3046,7 +3379,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(Firewall request, core.String project) {
+ async.Future<Operation> insert(Firewall request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -3060,6 +3393,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/firewalls';
@@ -3174,9 +3510,8 @@
/**
* Updates the specified firewall rule with the data included in the request.
- * Using PUT method, can only update following fields of firewall rule:
- * allowed, description, sourceRanges, sourceTags, targetTags. This method
- * supports patch semantics.
+ * This method supports PATCH semantics and uses the JSON merge patch format
+ * and processing rules.
*
* [request] - The metadata request object.
*
@@ -3186,9 +3521,22 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
- * [firewall] - Name of the firewall rule to update.
+ * [firewall] - Name of the firewall rule to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -3197,7 +3545,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> patch(Firewall request, core.String project, core.String firewall) {
+ async.Future<Operation> patch(Firewall request, core.String project, core.String firewall, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -3214,6 +3562,9 @@
if (firewall == null) {
throw new core.ArgumentError("Parameter firewall is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/firewalls/' + commons.Escaper.ecapeVariable('$firewall');
@@ -3243,6 +3594,19 @@
* [firewall] - Name of the firewall rule to update.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -3251,7 +3615,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> update(Firewall request, core.String project, core.String firewall) {
+ async.Future<Operation> update(Firewall request, core.String project, core.String firewall, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -3268,6 +3632,9 @@
if (firewall == null) {
throw new core.ArgumentError("Parameter firewall is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/firewalls/' + commons.Escaper.ecapeVariable('$firewall');
@@ -3404,6 +3771,19 @@
* [forwardingRule] - Name of the ForwardingRule resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -3412,7 +3792,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String region, core.String forwardingRule) {
+ async.Future<Operation> delete(core.String project, core.String region, core.String forwardingRule, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -3429,6 +3809,9 @@
if (forwardingRule == null) {
throw new core.ArgumentError("Parameter forwardingRule is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/forwardingRules/' + commons.Escaper.ecapeVariable('$forwardingRule');
@@ -3510,6 +3893,19 @@
* [region] - Name of the region scoping this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -3518,7 +3914,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(ForwardingRule request, core.String project, core.String region) {
+ async.Future<Operation> insert(ForwardingRule request, core.String project, core.String region, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -3535,6 +3931,9 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/forwardingRules';
@@ -3673,6 +4072,19 @@
* to be set.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -3681,7 +4093,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setTarget(TargetReference request, core.String project, core.String region, core.String forwardingRule) {
+ async.Future<Operation> setTarget(TargetReference request, core.String project, core.String region, core.String forwardingRule, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -3701,6 +4113,9 @@
if (forwardingRule == null) {
throw new core.ArgumentError("Parameter forwardingRule is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/forwardingRules/' + commons.Escaper.ecapeVariable('$forwardingRule') + '/setTarget';
@@ -3735,6 +4150,19 @@
* [address] - Name of the address resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -3743,7 +4171,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String address) {
+ async.Future<Operation> delete(core.String project, core.String address, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -3757,6 +4185,9 @@
if (address == null) {
throw new core.ArgumentError("Parameter address is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/addresses/' + commons.Escaper.ecapeVariable('$address');
@@ -3830,6 +4261,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -3838,7 +4282,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(Address request, core.String project) {
+ async.Future<Operation> insert(Address request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -3852,6 +4296,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/addresses';
@@ -3985,6 +4432,19 @@
* [forwardingRule] - Name of the ForwardingRule resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -3993,7 +4453,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String forwardingRule) {
+ async.Future<Operation> delete(core.String project, core.String forwardingRule, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -4007,6 +4467,9 @@
if (forwardingRule == null) {
throw new core.ArgumentError("Parameter forwardingRule is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/forwardingRules/' + commons.Escaper.ecapeVariable('$forwardingRule');
@@ -4080,6 +4543,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -4088,7 +4564,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(ForwardingRule request, core.String project) {
+ async.Future<Operation> insert(ForwardingRule request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -4102,6 +4578,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/forwardingRules';
@@ -4231,6 +4710,19 @@
* to be set.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -4239,7 +4731,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setTarget(TargetReference request, core.String project, core.String forwardingRule) {
+ async.Future<Operation> setTarget(TargetReference request, core.String project, core.String forwardingRule, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -4256,6 +4748,9 @@
if (forwardingRule == null) {
throw new core.ArgumentError("Parameter forwardingRule is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/forwardingRules/' + commons.Escaper.ecapeVariable('$forwardingRule') + '/setTarget';
@@ -4593,6 +5088,19 @@
* [healthCheck] - Name of the HealthCheck resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -4601,7 +5109,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String healthCheck) {
+ async.Future<Operation> delete(core.String project, core.String healthCheck, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -4615,6 +5123,9 @@
if (healthCheck == null) {
throw new core.ArgumentError("Parameter healthCheck is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/healthChecks/' + commons.Escaper.ecapeVariable('$healthCheck');
@@ -4688,6 +5199,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -4696,7 +5220,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(HealthCheck request, core.String project) {
+ async.Future<Operation> insert(HealthCheck request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -4710,6 +5234,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/healthChecks';
@@ -4839,6 +5366,19 @@
* [healthCheck] - Name of the HealthCheck resource to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -4847,7 +5387,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> patch(HealthCheck request, core.String project, core.String healthCheck) {
+ async.Future<Operation> patch(HealthCheck request, core.String project, core.String healthCheck, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -4864,6 +5404,9 @@
if (healthCheck == null) {
throw new core.ArgumentError("Parameter healthCheck is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/healthChecks/' + commons.Escaper.ecapeVariable('$healthCheck');
@@ -4892,6 +5435,19 @@
* [healthCheck] - Name of the HealthCheck resource to update.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -4900,7 +5456,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> update(HealthCheck request, core.String project, core.String healthCheck) {
+ async.Future<Operation> update(HealthCheck request, core.String project, core.String healthCheck, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -4917,6 +5473,9 @@
if (healthCheck == null) {
throw new core.ArgumentError("Parameter healthCheck is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/healthChecks/' + commons.Escaper.ecapeVariable('$healthCheck');
@@ -4951,6 +5510,19 @@
* [httpHealthCheck] - Name of the HttpHealthCheck resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -4959,7 +5531,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String httpHealthCheck) {
+ async.Future<Operation> delete(core.String project, core.String httpHealthCheck, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -4973,6 +5545,9 @@
if (httpHealthCheck == null) {
throw new core.ArgumentError("Parameter httpHealthCheck is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/httpHealthChecks/' + commons.Escaper.ecapeVariable('$httpHealthCheck');
@@ -5046,6 +5621,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -5054,7 +5642,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(HttpHealthCheck request, core.String project) {
+ async.Future<Operation> insert(HttpHealthCheck request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -5068,6 +5656,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/httpHealthChecks';
@@ -5197,6 +5788,19 @@
* [httpHealthCheck] - Name of the HttpHealthCheck resource to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -5205,7 +5809,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> patch(HttpHealthCheck request, core.String project, core.String httpHealthCheck) {
+ async.Future<Operation> patch(HttpHealthCheck request, core.String project, core.String httpHealthCheck, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -5222,6 +5826,9 @@
if (httpHealthCheck == null) {
throw new core.ArgumentError("Parameter httpHealthCheck is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/httpHealthChecks/' + commons.Escaper.ecapeVariable('$httpHealthCheck');
@@ -5250,6 +5857,19 @@
* [httpHealthCheck] - Name of the HttpHealthCheck resource to update.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -5258,7 +5878,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> update(HttpHealthCheck request, core.String project, core.String httpHealthCheck) {
+ async.Future<Operation> update(HttpHealthCheck request, core.String project, core.String httpHealthCheck, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -5275,6 +5895,9 @@
if (httpHealthCheck == null) {
throw new core.ArgumentError("Parameter httpHealthCheck is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/httpHealthChecks/' + commons.Escaper.ecapeVariable('$httpHealthCheck');
@@ -5309,6 +5932,19 @@
* [httpsHealthCheck] - Name of the HttpsHealthCheck resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -5317,7 +5953,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String httpsHealthCheck) {
+ async.Future<Operation> delete(core.String project, core.String httpsHealthCheck, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -5331,6 +5967,9 @@
if (httpsHealthCheck == null) {
throw new core.ArgumentError("Parameter httpsHealthCheck is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/httpsHealthChecks/' + commons.Escaper.ecapeVariable('$httpsHealthCheck');
@@ -5404,6 +6043,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -5412,7 +6064,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(HttpsHealthCheck request, core.String project) {
+ async.Future<Operation> insert(HttpsHealthCheck request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -5426,6 +6078,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/httpsHealthChecks';
@@ -5555,6 +6210,19 @@
* [httpsHealthCheck] - Name of the HttpsHealthCheck resource to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -5563,7 +6231,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> patch(HttpsHealthCheck request, core.String project, core.String httpsHealthCheck) {
+ async.Future<Operation> patch(HttpsHealthCheck request, core.String project, core.String httpsHealthCheck, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -5580,6 +6248,9 @@
if (httpsHealthCheck == null) {
throw new core.ArgumentError("Parameter httpsHealthCheck is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/httpsHealthChecks/' + commons.Escaper.ecapeVariable('$httpsHealthCheck');
@@ -5608,6 +6279,19 @@
* [httpsHealthCheck] - Name of the HttpsHealthCheck resource to update.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -5616,7 +6300,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> update(HttpsHealthCheck request, core.String project, core.String httpsHealthCheck) {
+ async.Future<Operation> update(HttpsHealthCheck request, core.String project, core.String httpsHealthCheck, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -5633,6 +6317,9 @@
if (httpsHealthCheck == null) {
throw new core.ArgumentError("Parameter httpsHealthCheck is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/httpsHealthChecks/' + commons.Escaper.ecapeVariable('$httpsHealthCheck');
@@ -5667,6 +6354,19 @@
* [image] - Name of the image resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -5675,7 +6375,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String image) {
+ async.Future<Operation> delete(core.String project, core.String image, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -5689,6 +6389,9 @@
if (image == null) {
throw new core.ArgumentError("Parameter image is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/images/' + commons.Escaper.ecapeVariable('$image');
@@ -5718,6 +6421,19 @@
* [image] - Image name.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -5726,7 +6442,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> deprecate(DeprecationStatus request, core.String project, core.String image) {
+ async.Future<Operation> deprecate(DeprecationStatus request, core.String project, core.String image, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -5743,6 +6459,9 @@
if (image == null) {
throw new core.ArgumentError("Parameter image is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/images/' + commons.Escaper.ecapeVariable('$image') + '/deprecate';
@@ -5866,6 +6585,19 @@
*
* [forceCreate] - Force image creation if true.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -5874,7 +6606,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(Image request, core.String project, {core.bool forceCreate}) {
+ async.Future<Operation> insert(Image request, core.String project, {core.bool forceCreate, core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -5891,6 +6623,9 @@
if (forceCreate != null) {
_queryParams["forceCreate"] = ["${forceCreate}"];
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/images';
@@ -6098,6 +6833,19 @@
*
* [instanceGroupManager] - The name of the managed instance group.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -6106,7 +6854,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> abandonInstances(InstanceGroupManagersAbandonInstancesRequest request, core.String project, core.String zone, core.String instanceGroupManager) {
+ async.Future<Operation> abandonInstances(InstanceGroupManagersAbandonInstancesRequest request, core.String project, core.String zone, core.String instanceGroupManager, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -6126,6 +6874,9 @@
if (instanceGroupManager == null) {
throw new core.ArgumentError("Parameter instanceGroupManager is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instanceGroupManagers/' + commons.Escaper.ecapeVariable('$instanceGroupManager') + '/abandonInstances';
@@ -6253,6 +7004,19 @@
*
* [instanceGroupManager] - The name of the managed instance group to delete.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -6261,7 +7025,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String zone, core.String instanceGroupManager) {
+ async.Future<Operation> delete(core.String project, core.String zone, core.String instanceGroupManager, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -6278,6 +7042,9 @@
if (instanceGroupManager == null) {
throw new core.ArgumentError("Parameter instanceGroupManager is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instanceGroupManagers/' + commons.Escaper.ecapeVariable('$instanceGroupManager');
@@ -6318,6 +7085,19 @@
*
* [instanceGroupManager] - The name of the managed instance group.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -6326,7 +7106,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> deleteInstances(InstanceGroupManagersDeleteInstancesRequest request, core.String project, core.String zone, core.String instanceGroupManager) {
+ async.Future<Operation> deleteInstances(InstanceGroupManagersDeleteInstancesRequest request, core.String project, core.String zone, core.String instanceGroupManager, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -6346,6 +7126,9 @@
if (instanceGroupManager == null) {
throw new core.ArgumentError("Parameter instanceGroupManager is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instanceGroupManagers/' + commons.Escaper.ecapeVariable('$instanceGroupManager') + '/deleteInstances';
@@ -6433,6 +7216,19 @@
* [zone] - The name of the zone where you want to create the managed instance
* group.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -6441,7 +7237,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(InstanceGroupManager request, core.String project, core.String zone) {
+ async.Future<Operation> insert(InstanceGroupManager request, core.String project, core.String zone, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -6458,6 +7254,9 @@
if (zone == null) {
throw new core.ArgumentError("Parameter zone is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instanceGroupManagers';
@@ -6677,6 +7476,19 @@
*
* [instanceGroupManager] - The name of the managed instance group.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -6685,7 +7497,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> recreateInstances(InstanceGroupManagersRecreateInstancesRequest request, core.String project, core.String zone, core.String instanceGroupManager) {
+ async.Future<Operation> recreateInstances(InstanceGroupManagersRecreateInstancesRequest request, core.String project, core.String zone, core.String instanceGroupManager, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -6705,6 +7517,9 @@
if (instanceGroupManager == null) {
throw new core.ArgumentError("Parameter instanceGroupManager is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instanceGroupManagers/' + commons.Escaper.ecapeVariable('$instanceGroupManager') + '/recreateInstances';
@@ -6744,6 +7559,19 @@
* should maintain at any given time. The group automatically adds or removes
* instances to maintain the number of instances specified by this parameter.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -6752,7 +7580,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> resize(core.String project, core.String zone, core.String instanceGroupManager, core.int size) {
+ async.Future<Operation> resize(core.String project, core.String zone, core.String instanceGroupManager, core.int size, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -6773,6 +7601,9 @@
throw new core.ArgumentError("Parameter size is required.");
}
_queryParams["size"] = ["${size}"];
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instanceGroupManagers/' + commons.Escaper.ecapeVariable('$instanceGroupManager') + '/resize';
@@ -6803,6 +7634,19 @@
*
* [instanceGroupManager] - The name of the managed instance group.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -6811,7 +7655,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setInstanceTemplate(InstanceGroupManagersSetInstanceTemplateRequest request, core.String project, core.String zone, core.String instanceGroupManager) {
+ async.Future<Operation> setInstanceTemplate(InstanceGroupManagersSetInstanceTemplateRequest request, core.String project, core.String zone, core.String instanceGroupManager, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -6831,6 +7675,9 @@
if (instanceGroupManager == null) {
throw new core.ArgumentError("Parameter instanceGroupManager is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instanceGroupManagers/' + commons.Escaper.ecapeVariable('$instanceGroupManager') + '/setInstanceTemplate';
@@ -6864,6 +7711,19 @@
*
* [instanceGroupManager] - The name of the managed instance group.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -6872,7 +7732,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setTargetPools(InstanceGroupManagersSetTargetPoolsRequest request, core.String project, core.String zone, core.String instanceGroupManager) {
+ async.Future<Operation> setTargetPools(InstanceGroupManagersSetTargetPoolsRequest request, core.String project, core.String zone, core.String instanceGroupManager, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -6892,6 +7752,9 @@
if (instanceGroupManager == null) {
throw new core.ArgumentError("Parameter instanceGroupManager is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instanceGroupManagers/' + commons.Escaper.ecapeVariable('$instanceGroupManager') + '/setTargetPools';
@@ -6932,6 +7795,19 @@
* [instanceGroup] - The name of the instance group where you are adding
* instances.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -6940,7 +7816,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> addInstances(InstanceGroupsAddInstancesRequest request, core.String project, core.String zone, core.String instanceGroup) {
+ async.Future<Operation> addInstances(InstanceGroupsAddInstancesRequest request, core.String project, core.String zone, core.String instanceGroup, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -6960,6 +7836,9 @@
if (instanceGroup == null) {
throw new core.ArgumentError("Parameter instanceGroup is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instanceGroups/' + commons.Escaper.ecapeVariable('$instanceGroup') + '/addInstances';
@@ -7087,6 +7966,19 @@
*
* [instanceGroup] - The name of the instance group to delete.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -7095,7 +7987,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String zone, core.String instanceGroup) {
+ async.Future<Operation> delete(core.String project, core.String zone, core.String instanceGroup, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -7112,6 +8004,9 @@
if (instanceGroup == null) {
throw new core.ArgumentError("Parameter instanceGroup is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instanceGroups/' + commons.Escaper.ecapeVariable('$instanceGroup');
@@ -7191,6 +8086,19 @@
*
* [zone] - The name of the zone where you want to create the instance group.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -7199,7 +8107,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(InstanceGroup request, core.String project, core.String zone) {
+ async.Future<Operation> insert(InstanceGroup request, core.String project, core.String zone, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -7216,6 +8124,9 @@
if (zone == null) {
throw new core.ArgumentError("Parameter zone is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instanceGroups';
@@ -7470,6 +8381,19 @@
* [instanceGroup] - The name of the instance group where the specified
* instances will be removed.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -7478,7 +8402,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> removeInstances(InstanceGroupsRemoveInstancesRequest request, core.String project, core.String zone, core.String instanceGroup) {
+ async.Future<Operation> removeInstances(InstanceGroupsRemoveInstancesRequest request, core.String project, core.String zone, core.String instanceGroup, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -7498,6 +8422,9 @@
if (instanceGroup == null) {
throw new core.ArgumentError("Parameter instanceGroup is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instanceGroups/' + commons.Escaper.ecapeVariable('$instanceGroup') + '/removeInstances';
@@ -7527,6 +8454,19 @@
* [instanceGroup] - The name of the instance group where the named ports are
* updated.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -7535,7 +8475,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setNamedPorts(InstanceGroupsSetNamedPortsRequest request, core.String project, core.String zone, core.String instanceGroup) {
+ async.Future<Operation> setNamedPorts(InstanceGroupsSetNamedPortsRequest request, core.String project, core.String zone, core.String instanceGroup, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -7555,6 +8495,9 @@
if (instanceGroup == null) {
throw new core.ArgumentError("Parameter instanceGroup is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instanceGroups/' + commons.Escaper.ecapeVariable('$instanceGroup') + '/setNamedPorts';
@@ -7592,6 +8535,19 @@
* [instanceTemplate] - The name of the instance template to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -7600,7 +8556,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String instanceTemplate) {
+ async.Future<Operation> delete(core.String project, core.String instanceTemplate, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -7614,6 +8570,9 @@
if (instanceTemplate == null) {
throw new core.ArgumentError("Parameter instanceTemplate is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/instanceTemplates/' + commons.Escaper.ecapeVariable('$instanceTemplate');
@@ -7689,6 +8648,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -7697,7 +8669,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(InstanceTemplate request, core.String project) {
+ async.Future<Operation> insert(InstanceTemplate request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -7711,6 +8683,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/instanceTemplates';
@@ -7853,6 +8828,19 @@
* [networkInterface] - The name of the network interface to add to this
* instance.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -7861,7 +8849,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> addAccessConfig(AccessConfig request, core.String project, core.String zone, core.String instance, core.String networkInterface) {
+ async.Future<Operation> addAccessConfig(AccessConfig request, core.String project, core.String zone, core.String instance, core.String networkInterface, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -7885,6 +8873,9 @@
throw new core.ArgumentError("Parameter networkInterface is required.");
}
_queryParams["networkInterface"] = [networkInterface];
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instances/' + commons.Escaper.ecapeVariable('$instance') + '/addAccessConfig';
@@ -8017,6 +9008,19 @@
* [instance] - The instance name for this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -8025,7 +9029,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> attachDisk(AttachedDisk request, core.String project, core.String zone, core.String instance) {
+ async.Future<Operation> attachDisk(AttachedDisk request, core.String project, core.String zone, core.String instance, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -8045,6 +9049,9 @@
if (instance == null) {
throw new core.ArgumentError("Parameter instance is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instances/' + commons.Escaper.ecapeVariable('$instance') + '/attachDisk';
@@ -8074,6 +9081,19 @@
* [instance] - Name of the instance resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -8082,7 +9102,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String zone, core.String instance) {
+ async.Future<Operation> delete(core.String project, core.String zone, core.String instance, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -8099,6 +9119,9 @@
if (instance == null) {
throw new core.ArgumentError("Parameter instance is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instances/' + commons.Escaper.ecapeVariable('$instance');
@@ -8131,6 +9154,19 @@
*
* [networkInterface] - The name of the network interface.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -8139,7 +9175,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> deleteAccessConfig(core.String project, core.String zone, core.String instance, core.String accessConfig, core.String networkInterface) {
+ async.Future<Operation> deleteAccessConfig(core.String project, core.String zone, core.String instance, core.String accessConfig, core.String networkInterface, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -8164,6 +9200,9 @@
throw new core.ArgumentError("Parameter networkInterface is required.");
}
_queryParams["networkInterface"] = [networkInterface];
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instances/' + commons.Escaper.ecapeVariable('$instance') + '/deleteAccessConfig';
@@ -8194,6 +9233,19 @@
*
* [deviceName] - Disk device name to detach.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -8202,7 +9254,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> detachDisk(core.String project, core.String zone, core.String instance, core.String deviceName) {
+ async.Future<Operation> detachDisk(core.String project, core.String zone, core.String instance, core.String deviceName, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -8223,6 +9275,9 @@
throw new core.ArgumentError("Parameter deviceName is required.");
}
_queryParams["deviceName"] = [deviceName];
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instances/' + commons.Escaper.ecapeVariable('$instance') + '/detachDisk';
@@ -8373,6 +9428,19 @@
* [zone] - The name of the zone for this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -8381,7 +9449,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(Instance request, core.String project, core.String zone) {
+ async.Future<Operation> insert(Instance request, core.String project, core.String zone, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -8398,6 +9466,9 @@
if (zone == null) {
throw new core.ArgumentError("Parameter zone is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instances';
@@ -8532,6 +9603,19 @@
* [instance] - Name of the instance scoping this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -8540,7 +9624,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> reset(core.String project, core.String zone, core.String instance) {
+ async.Future<Operation> reset(core.String project, core.String zone, core.String instance, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -8557,6 +9641,9 @@
if (instance == null) {
throw new core.ArgumentError("Parameter instance is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instances/' + commons.Escaper.ecapeVariable('$instance') + '/reset';
@@ -8591,6 +9678,19 @@
* [deviceName] - The device name of the disk to modify.
* Value must have pattern "\w[\w.-]{0,254}".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -8599,7 +9699,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setDiskAutoDelete(core.String project, core.String zone, core.String instance, core.bool autoDelete, core.String deviceName) {
+ async.Future<Operation> setDiskAutoDelete(core.String project, core.String zone, core.String instance, core.bool autoDelete, core.String deviceName, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -8624,6 +9724,9 @@
throw new core.ArgumentError("Parameter deviceName is required.");
}
_queryParams["deviceName"] = [deviceName];
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instances/' + commons.Escaper.ecapeVariable('$instance') + '/setDiskAutoDelete';
@@ -8655,6 +9758,19 @@
* [instance] - Name of the instance scoping this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -8663,7 +9779,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setLabels(InstancesSetLabelsRequest request, core.String project, core.String zone, core.String instance) {
+ async.Future<Operation> setLabels(InstancesSetLabelsRequest request, core.String project, core.String zone, core.String instance, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -8683,6 +9799,9 @@
if (instance == null) {
throw new core.ArgumentError("Parameter instance is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instances/' + commons.Escaper.ecapeVariable('$instance') + '/setLabels';
@@ -8714,6 +9833,19 @@
* [instance] - Name of the instance scoping this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -8722,7 +9854,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setMachineResources(InstancesSetMachineResourcesRequest request, core.String project, core.String zone, core.String instance) {
+ async.Future<Operation> setMachineResources(InstancesSetMachineResourcesRequest request, core.String project, core.String zone, core.String instance, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -8742,6 +9874,9 @@
if (instance == null) {
throw new core.ArgumentError("Parameter instance is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instances/' + commons.Escaper.ecapeVariable('$instance') + '/setMachineResources';
@@ -8773,6 +9908,19 @@
* [instance] - Name of the instance scoping this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -8781,7 +9929,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setMachineType(InstancesSetMachineTypeRequest request, core.String project, core.String zone, core.String instance) {
+ async.Future<Operation> setMachineType(InstancesSetMachineTypeRequest request, core.String project, core.String zone, core.String instance, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -8801,6 +9949,9 @@
if (instance == null) {
throw new core.ArgumentError("Parameter instance is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instances/' + commons.Escaper.ecapeVariable('$instance') + '/setMachineType';
@@ -8832,6 +9983,19 @@
* [instance] - Name of the instance scoping this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -8840,7 +10004,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setMetadata(Metadata request, core.String project, core.String zone, core.String instance) {
+ async.Future<Operation> setMetadata(Metadata request, core.String project, core.String zone, core.String instance, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -8860,6 +10024,9 @@
if (instance == null) {
throw new core.ArgumentError("Parameter instance is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instances/' + commons.Escaper.ecapeVariable('$instance') + '/setMetadata';
@@ -8890,6 +10057,19 @@
* [instance] - Instance name.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -8898,7 +10078,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setScheduling(Scheduling request, core.String project, core.String zone, core.String instance) {
+ async.Future<Operation> setScheduling(Scheduling request, core.String project, core.String zone, core.String instance, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -8918,6 +10098,9 @@
if (instance == null) {
throw new core.ArgumentError("Parameter instance is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instances/' + commons.Escaper.ecapeVariable('$instance') + '/setScheduling';
@@ -8949,6 +10132,19 @@
* [instance] - Name of the instance resource to start.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -8957,7 +10153,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setServiceAccount(InstancesSetServiceAccountRequest request, core.String project, core.String zone, core.String instance) {
+ async.Future<Operation> setServiceAccount(InstancesSetServiceAccountRequest request, core.String project, core.String zone, core.String instance, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -8977,6 +10173,9 @@
if (instance == null) {
throw new core.ArgumentError("Parameter instance is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instances/' + commons.Escaper.ecapeVariable('$instance') + '/setServiceAccount';
@@ -9007,6 +10206,19 @@
* [instance] - Name of the instance scoping this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -9015,7 +10227,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setTags(Tags request, core.String project, core.String zone, core.String instance) {
+ async.Future<Operation> setTags(Tags request, core.String project, core.String zone, core.String instance, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -9035,6 +10247,9 @@
if (instance == null) {
throw new core.ArgumentError("Parameter instance is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instances/' + commons.Escaper.ecapeVariable('$instance') + '/setTags';
@@ -9064,6 +10279,19 @@
* [instance] - Name of the instance resource to start.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -9072,7 +10300,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> start(core.String project, core.String zone, core.String instance) {
+ async.Future<Operation> start(core.String project, core.String zone, core.String instance, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -9089,6 +10317,9 @@
if (instance == null) {
throw new core.ArgumentError("Parameter instance is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instances/' + commons.Escaper.ecapeVariable('$instance') + '/start';
@@ -9120,6 +10351,19 @@
* [instance] - Name of the instance resource to start.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -9128,7 +10372,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> startWithEncryptionKey(InstancesStartWithEncryptionKeyRequest request, core.String project, core.String zone, core.String instance) {
+ async.Future<Operation> startWithEncryptionKey(InstancesStartWithEncryptionKeyRequest request, core.String project, core.String zone, core.String instance, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -9148,6 +10392,9 @@
if (instance == null) {
throw new core.ArgumentError("Parameter instance is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instances/' + commons.Escaper.ecapeVariable('$instance') + '/startWithEncryptionKey';
@@ -9181,6 +10428,19 @@
* [instance] - Name of the instance resource to stop.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -9189,7 +10449,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> stop(core.String project, core.String zone, core.String instance) {
+ async.Future<Operation> stop(core.String project, core.String zone, core.String instance, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -9206,6 +10466,9 @@
if (instance == null) {
throw new core.ArgumentError("Parameter instance is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/instances/' + commons.Escaper.ecapeVariable('$instance') + '/stop';
@@ -9565,6 +10828,19 @@
* [network] - Name of the network resource to add peering to.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -9573,7 +10849,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> addPeering(NetworksAddPeeringRequest request, core.String project, core.String network) {
+ async.Future<Operation> addPeering(NetworksAddPeeringRequest request, core.String project, core.String network, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -9590,6 +10866,9 @@
if (network == null) {
throw new core.ArgumentError("Parameter network is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/networks/' + commons.Escaper.ecapeVariable('$network') + '/addPeering';
@@ -9615,6 +10894,19 @@
* [network] - Name of the network to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -9623,7 +10915,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String network) {
+ async.Future<Operation> delete(core.String project, core.String network, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -9637,6 +10929,9 @@
if (network == null) {
throw new core.ArgumentError("Parameter network is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/networks/' + commons.Escaper.ecapeVariable('$network');
@@ -9710,6 +11005,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -9718,7 +11026,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(Network request, core.String project) {
+ async.Future<Operation> insert(Network request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -9732,6 +11040,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/networks';
@@ -9858,6 +11169,19 @@
* [network] - Name of the network resource to remove peering from.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -9866,7 +11190,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> removePeering(NetworksRemovePeeringRequest request, core.String project, core.String network) {
+ async.Future<Operation> removePeering(NetworksRemovePeeringRequest request, core.String project, core.String network, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -9883,6 +11207,9 @@
if (network == null) {
throw new core.ArgumentError("Parameter network is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/networks/' + commons.Escaper.ecapeVariable('$network') + '/removePeering';
@@ -9908,6 +11235,19 @@
* [network] - Name of the network to be updated.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -9916,7 +11256,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> switchToCustomMode(core.String project, core.String network) {
+ async.Future<Operation> switchToCustomMode(core.String project, core.String network, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -9930,6 +11270,9 @@
if (network == null) {
throw new core.ArgumentError("Parameter network is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/networks/' + commons.Escaper.ecapeVariable('$network') + '/switchToCustomMode';
@@ -9961,6 +11304,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -9969,7 +11325,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> disableXpnHost(core.String project) {
+ async.Future<Operation> disableXpnHost(core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -9980,6 +11336,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/disableXpnHost';
@@ -10005,6 +11364,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -10013,7 +11385,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> disableXpnResource(ProjectsDisableXpnResourceRequest request, core.String project) {
+ async.Future<Operation> disableXpnResource(ProjectsDisableXpnResourceRequest request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -10027,6 +11399,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/disableXpnResource';
@@ -10049,6 +11424,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -10057,7 +11445,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> enableXpnHost(core.String project) {
+ async.Future<Operation> enableXpnHost(core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -10068,6 +11456,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/enableXpnHost';
@@ -10094,6 +11485,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -10102,7 +11506,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> enableXpnResource(ProjectsEnableXpnResourceRequest request, core.String project) {
+ async.Future<Operation> enableXpnResource(ProjectsEnableXpnResourceRequest request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -10116,6 +11520,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/enableXpnResource';
@@ -10351,6 +11758,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -10359,7 +11779,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> moveDisk(DiskMoveRequest request, core.String project) {
+ async.Future<Operation> moveDisk(DiskMoveRequest request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -10373,6 +11793,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/moveDisk';
@@ -10398,6 +11821,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -10406,7 +11842,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> moveInstance(InstanceMoveRequest request, core.String project) {
+ async.Future<Operation> moveInstance(InstanceMoveRequest request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -10420,6 +11856,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/moveInstance';
@@ -10445,6 +11884,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -10453,7 +11905,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setCommonInstanceMetadata(Metadata request, core.String project) {
+ async.Future<Operation> setCommonInstanceMetadata(Metadata request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -10467,6 +11919,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/setCommonInstanceMetadata';
@@ -10493,6 +11948,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -10501,7 +11969,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setUsageExportBucket(UsageExportLocation request, core.String project) {
+ async.Future<Operation> setUsageExportBucket(UsageExportLocation request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -10515,6 +11983,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/setUsageExportBucket';
@@ -10552,6 +12023,19 @@
* [autoscaler] - Name of the autoscaler to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -10560,7 +12044,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String region, core.String autoscaler) {
+ async.Future<Operation> delete(core.String project, core.String region, core.String autoscaler, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -10577,6 +12061,9 @@
if (autoscaler == null) {
throw new core.ArgumentError("Parameter autoscaler is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/autoscalers/' + commons.Escaper.ecapeVariable('$autoscaler');
@@ -10658,6 +12145,19 @@
* [region] - Name of the region scoping this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -10666,7 +12166,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(Autoscaler request, core.String project, core.String region) {
+ async.Future<Operation> insert(Autoscaler request, core.String project, core.String region, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -10683,6 +12183,9 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/autoscalers';
@@ -10820,6 +12323,19 @@
* [autoscaler] - Name of the autoscaler to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -10828,7 +12344,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> patch(Autoscaler request, core.String project, core.String region, {core.String autoscaler}) {
+ async.Future<Operation> patch(Autoscaler request, core.String project, core.String region, {core.String autoscaler, core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -10848,6 +12364,9 @@
if (autoscaler != null) {
_queryParams["autoscaler"] = [autoscaler];
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/autoscalers';
@@ -10879,6 +12398,19 @@
* [autoscaler] - Name of the autoscaler to update.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -10887,7 +12419,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> update(Autoscaler request, core.String project, core.String region, {core.String autoscaler}) {
+ async.Future<Operation> update(Autoscaler request, core.String project, core.String region, {core.String autoscaler, core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -10907,6 +12439,9 @@
if (autoscaler != null) {
_queryParams["autoscaler"] = [autoscaler];
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/autoscalers';
@@ -10944,6 +12479,19 @@
* [backendService] - Name of the BackendService resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -10952,7 +12500,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String region, core.String backendService) {
+ async.Future<Operation> delete(core.String project, core.String region, core.String backendService, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -10969,6 +12517,9 @@
if (backendService == null) {
throw new core.ArgumentError("Parameter backendService is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/backendServices/' + commons.Escaper.ecapeVariable('$backendService');
@@ -11111,6 +12662,19 @@
* [region] - Name of the region scoping this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -11119,7 +12683,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(BackendService request, core.String project, core.String region) {
+ async.Future<Operation> insert(BackendService request, core.String project, core.String region, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -11136,6 +12700,9 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/backendServices';
@@ -11276,6 +12843,19 @@
* [backendService] - Name of the BackendService resource to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -11284,7 +12864,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> patch(BackendService request, core.String project, core.String region, core.String backendService) {
+ async.Future<Operation> patch(BackendService request, core.String project, core.String region, core.String backendService, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -11304,6 +12884,9 @@
if (backendService == null) {
throw new core.ArgumentError("Parameter backendService is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/backendServices/' + commons.Escaper.ecapeVariable('$backendService');
@@ -11337,6 +12920,19 @@
* [backendService] - Name of the BackendService resource to update.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -11345,7 +12941,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> update(BackendService request, core.String project, core.String region, core.String backendService) {
+ async.Future<Operation> update(BackendService request, core.String project, core.String region, core.String backendService, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -11365,6 +12961,9 @@
if (backendService == null) {
throw new core.ArgumentError("Parameter backendService is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/backendServices/' + commons.Escaper.ecapeVariable('$backendService');
@@ -11555,6 +13154,19 @@
* [region] - Name of the region for this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -11563,7 +13175,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(Commitment request, core.String project, core.String region) {
+ async.Future<Operation> insert(Commitment request, core.String project, core.String region, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -11580,6 +13192,9 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/commitments';
@@ -11735,6 +13350,19 @@
*
* [instanceGroupManager] - Name of the managed instance group.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -11743,7 +13371,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> abandonInstances(RegionInstanceGroupManagersAbandonInstancesRequest request, core.String project, core.String region, core.String instanceGroupManager) {
+ async.Future<Operation> abandonInstances(RegionInstanceGroupManagersAbandonInstancesRequest request, core.String project, core.String region, core.String instanceGroupManager, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -11763,6 +13391,9 @@
if (instanceGroupManager == null) {
throw new core.ArgumentError("Parameter instanceGroupManager is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/instanceGroupManagers/' + commons.Escaper.ecapeVariable('$instanceGroupManager') + '/abandonInstances';
@@ -11790,6 +13421,19 @@
*
* [instanceGroupManager] - Name of the managed instance group to delete.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -11798,7 +13442,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String region, core.String instanceGroupManager) {
+ async.Future<Operation> delete(core.String project, core.String region, core.String instanceGroupManager, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -11815,6 +13459,9 @@
if (instanceGroupManager == null) {
throw new core.ArgumentError("Parameter instanceGroupManager is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/instanceGroupManagers/' + commons.Escaper.ecapeVariable('$instanceGroupManager');
@@ -11855,6 +13502,19 @@
*
* [instanceGroupManager] - Name of the managed instance group.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -11863,7 +13523,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> deleteInstances(RegionInstanceGroupManagersDeleteInstancesRequest request, core.String project, core.String region, core.String instanceGroupManager) {
+ async.Future<Operation> deleteInstances(RegionInstanceGroupManagersDeleteInstancesRequest request, core.String project, core.String region, core.String instanceGroupManager, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -11883,6 +13543,9 @@
if (instanceGroupManager == null) {
throw new core.ArgumentError("Parameter instanceGroupManager is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/instanceGroupManagers/' + commons.Escaper.ecapeVariable('$instanceGroupManager') + '/deleteInstances';
@@ -11967,6 +13630,19 @@
*
* [region] - Name of the region scoping this request.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -11975,7 +13651,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(InstanceGroupManager request, core.String project, core.String region) {
+ async.Future<Operation> insert(InstanceGroupManager request, core.String project, core.String region, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -11992,6 +13668,9 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/instanceGroupManagers';
@@ -12209,6 +13888,19 @@
*
* [instanceGroupManager] - Name of the managed instance group.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -12217,7 +13909,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> recreateInstances(RegionInstanceGroupManagersRecreateRequest request, core.String project, core.String region, core.String instanceGroupManager) {
+ async.Future<Operation> recreateInstances(RegionInstanceGroupManagersRecreateRequest request, core.String project, core.String region, core.String instanceGroupManager, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -12237,6 +13929,9 @@
if (instanceGroupManager == null) {
throw new core.ArgumentError("Parameter instanceGroupManager is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/instanceGroupManagers/' + commons.Escaper.ecapeVariable('$instanceGroupManager') + '/recreateInstances';
@@ -12276,6 +13971,19 @@
* [size] - Number of instances that should exist in this instance group
* manager.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -12284,7 +13992,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> resize(core.String project, core.String region, core.String instanceGroupManager, core.int size) {
+ async.Future<Operation> resize(core.String project, core.String region, core.String instanceGroupManager, core.int size, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -12305,6 +14013,9 @@
throw new core.ArgumentError("Parameter size is required.");
}
_queryParams["size"] = ["${size}"];
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/instanceGroupManagers/' + commons.Escaper.ecapeVariable('$instanceGroupManager') + '/resize';
@@ -12334,6 +14045,19 @@
*
* [instanceGroupManager] - The name of the managed instance group.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -12342,7 +14066,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setInstanceTemplate(RegionInstanceGroupManagersSetTemplateRequest request, core.String project, core.String region, core.String instanceGroupManager) {
+ async.Future<Operation> setInstanceTemplate(RegionInstanceGroupManagersSetTemplateRequest request, core.String project, core.String region, core.String instanceGroupManager, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -12362,6 +14086,9 @@
if (instanceGroupManager == null) {
throw new core.ArgumentError("Parameter instanceGroupManager is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/instanceGroupManagers/' + commons.Escaper.ecapeVariable('$instanceGroupManager') + '/setInstanceTemplate';
@@ -12391,6 +14118,19 @@
*
* [instanceGroupManager] - Name of the managed instance group.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -12399,7 +14139,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setTargetPools(RegionInstanceGroupManagersSetTargetPoolsRequest request, core.String project, core.String region, core.String instanceGroupManager) {
+ async.Future<Operation> setTargetPools(RegionInstanceGroupManagersSetTargetPoolsRequest request, core.String project, core.String region, core.String instanceGroupManager, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -12419,6 +14159,9 @@
if (instanceGroupManager == null) {
throw new core.ArgumentError("Parameter instanceGroupManager is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/instanceGroupManagers/' + commons.Escaper.ecapeVariable('$instanceGroupManager') + '/setTargetPools';
@@ -12730,6 +14473,19 @@
* [instanceGroup] - The name of the regional instance group where the named
* ports are updated.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -12738,7 +14494,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setNamedPorts(RegionInstanceGroupsSetNamedPortsRequest request, core.String project, core.String region, core.String instanceGroup) {
+ async.Future<Operation> setNamedPorts(RegionInstanceGroupsSetNamedPortsRequest request, core.String project, core.String region, core.String instanceGroup, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -12758,6 +14514,9 @@
if (instanceGroup == null) {
throw new core.ArgumentError("Parameter instanceGroup is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/instanceGroups/' + commons.Escaper.ecapeVariable('$instanceGroup') + '/setNamedPorts';
@@ -13271,6 +15030,19 @@
* [router] - Name of the Router resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -13279,7 +15051,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String region, core.String router) {
+ async.Future<Operation> delete(core.String project, core.String region, core.String router, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -13296,6 +15068,9 @@
if (router == null) {
throw new core.ArgumentError("Parameter router is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/routers/' + commons.Escaper.ecapeVariable('$router');
@@ -13431,6 +15206,19 @@
* [region] - Name of the region for this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -13439,7 +15227,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(Router request, core.String project, core.String region) {
+ async.Future<Operation> insert(Router request, core.String project, core.String region, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -13456,6 +15244,9 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/routers';
@@ -13593,6 +15384,19 @@
* [router] - Name of the Router resource to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -13601,7 +15405,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> patch(Router request, core.String project, core.String region, core.String router) {
+ async.Future<Operation> patch(Router request, core.String project, core.String region, core.String router, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -13621,6 +15425,9 @@
if (router == null) {
throw new core.ArgumentError("Parameter router is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/routers/' + commons.Escaper.ecapeVariable('$router');
@@ -13711,6 +15518,19 @@
* [router] - Name of the Router resource to update.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -13719,7 +15539,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> update(Router request, core.String project, core.String region, core.String router) {
+ async.Future<Operation> update(Router request, core.String project, core.String region, core.String router, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -13739,6 +15559,9 @@
if (router == null) {
throw new core.ArgumentError("Parameter router is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/routers/' + commons.Escaper.ecapeVariable('$router');
@@ -13773,6 +15596,19 @@
* [route] - Name of the Route resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -13781,7 +15617,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String route) {
+ async.Future<Operation> delete(core.String project, core.String route, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -13795,6 +15631,9 @@
if (route == null) {
throw new core.ArgumentError("Parameter route is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/routes/' + commons.Escaper.ecapeVariable('$route');
@@ -13868,6 +15707,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -13876,7 +15728,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(Route request, core.String project) {
+ async.Future<Operation> insert(Route request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -13890,6 +15742,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/routes';
@@ -14029,6 +15884,19 @@
* [snapshot] - Name of the Snapshot resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -14037,7 +15905,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String snapshot) {
+ async.Future<Operation> delete(core.String project, core.String snapshot, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -14051,6 +15919,9 @@
if (snapshot == null) {
throw new core.ArgumentError("Parameter snapshot is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/snapshots/' + commons.Escaper.ecapeVariable('$snapshot');
@@ -14286,6 +16157,19 @@
* [sslCertificate] - Name of the SslCertificate resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -14294,7 +16178,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String sslCertificate) {
+ async.Future<Operation> delete(core.String project, core.String sslCertificate, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -14308,6 +16192,9 @@
if (sslCertificate == null) {
throw new core.ArgumentError("Parameter sslCertificate is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/sslCertificates/' + commons.Escaper.ecapeVariable('$sslCertificate');
@@ -14381,6 +16268,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -14389,7 +16289,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(SslCertificate request, core.String project) {
+ async.Future<Operation> insert(SslCertificate request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -14403,6 +16303,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/sslCertificates';
@@ -14639,6 +16542,19 @@
* [subnetwork] - Name of the Subnetwork resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -14647,7 +16563,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String region, core.String subnetwork) {
+ async.Future<Operation> delete(core.String project, core.String region, core.String subnetwork, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -14664,6 +16580,9 @@
if (subnetwork == null) {
throw new core.ArgumentError("Parameter subnetwork is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/subnetworks/' + commons.Escaper.ecapeVariable('$subnetwork');
@@ -14694,6 +16613,19 @@
* [subnetwork] - Name of the Subnetwork resource to update.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -14702,7 +16634,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> expandIpCidrRange(SubnetworksExpandIpCidrRangeRequest request, core.String project, core.String region, core.String subnetwork) {
+ async.Future<Operation> expandIpCidrRange(SubnetworksExpandIpCidrRangeRequest request, core.String project, core.String region, core.String subnetwork, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -14722,6 +16654,9 @@
if (subnetwork == null) {
throw new core.ArgumentError("Parameter subnetwork is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/subnetworks/' + commons.Escaper.ecapeVariable('$subnetwork') + '/expandIpCidrRange';
@@ -14804,6 +16739,19 @@
* [region] - Name of the region scoping this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -14812,7 +16760,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(Subnetwork request, core.String project, core.String region) {
+ async.Future<Operation> insert(Subnetwork request, core.String project, core.String region, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -14829,6 +16777,9 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/subnetworks';
@@ -14965,6 +16916,19 @@
* [subnetwork] - Name of the Subnetwork resource.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -14973,7 +16937,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setPrivateIpGoogleAccess(SubnetworksSetPrivateIpGoogleAccessRequest request, core.String project, core.String region, core.String subnetwork) {
+ async.Future<Operation> setPrivateIpGoogleAccess(SubnetworksSetPrivateIpGoogleAccessRequest request, core.String project, core.String region, core.String subnetwork, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -14993,6 +16957,9 @@
if (subnetwork == null) {
throw new core.ArgumentError("Parameter subnetwork is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/subnetworks/' + commons.Escaper.ecapeVariable('$subnetwork') + '/setPrivateIpGoogleAccess';
@@ -15027,6 +16994,19 @@
* [targetHttpProxy] - Name of the TargetHttpProxy resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -15035,7 +17015,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String targetHttpProxy) {
+ async.Future<Operation> delete(core.String project, core.String targetHttpProxy, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -15049,6 +17029,9 @@
if (targetHttpProxy == null) {
throw new core.ArgumentError("Parameter targetHttpProxy is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/targetHttpProxies/' + commons.Escaper.ecapeVariable('$targetHttpProxy');
@@ -15122,6 +17105,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -15130,7 +17126,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(TargetHttpProxy request, core.String project) {
+ async.Future<Operation> insert(TargetHttpProxy request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -15144,6 +17140,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/targetHttpProxies';
@@ -15271,6 +17270,19 @@
* [targetHttpProxy] - Name of the TargetHttpProxy to set a URL map for.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -15279,7 +17291,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setUrlMap(UrlMapReference request, core.String project, core.String targetHttpProxy) {
+ async.Future<Operation> setUrlMap(UrlMapReference request, core.String project, core.String targetHttpProxy, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -15296,6 +17308,9 @@
if (targetHttpProxy == null) {
throw new core.ArgumentError("Parameter targetHttpProxy is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/targetHttpProxies/' + commons.Escaper.ecapeVariable('$targetHttpProxy') + '/setUrlMap';
@@ -15330,6 +17345,19 @@
* [targetHttpsProxy] - Name of the TargetHttpsProxy resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -15338,7 +17366,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String targetHttpsProxy) {
+ async.Future<Operation> delete(core.String project, core.String targetHttpsProxy, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -15352,6 +17380,9 @@
if (targetHttpsProxy == null) {
throw new core.ArgumentError("Parameter targetHttpsProxy is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/targetHttpsProxies/' + commons.Escaper.ecapeVariable('$targetHttpsProxy');
@@ -15425,6 +17456,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -15433,7 +17477,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(TargetHttpsProxy request, core.String project) {
+ async.Future<Operation> insert(TargetHttpsProxy request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -15447,6 +17491,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/targetHttpsProxies';
@@ -15575,6 +17622,19 @@
* SslCertificates resource for.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -15583,7 +17643,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setSslCertificates(TargetHttpsProxiesSetSslCertificatesRequest request, core.String project, core.String targetHttpsProxy) {
+ async.Future<Operation> setSslCertificates(TargetHttpsProxiesSetSslCertificatesRequest request, core.String project, core.String targetHttpsProxy, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -15600,6 +17660,9 @@
if (targetHttpsProxy == null) {
throw new core.ArgumentError("Parameter targetHttpsProxy is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/targetHttpsProxies/' + commons.Escaper.ecapeVariable('$targetHttpsProxy') + '/setSslCertificates';
@@ -15628,6 +17691,19 @@
* to be set.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -15636,7 +17712,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setUrlMap(UrlMapReference request, core.String project, core.String targetHttpsProxy) {
+ async.Future<Operation> setUrlMap(UrlMapReference request, core.String project, core.String targetHttpsProxy, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -15653,6 +17729,9 @@
if (targetHttpsProxy == null) {
throw new core.ArgumentError("Parameter targetHttpsProxy is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/targetHttpsProxies/' + commons.Escaper.ecapeVariable('$targetHttpsProxy') + '/setUrlMap';
@@ -15789,6 +17868,19 @@
* [targetInstance] - Name of the TargetInstance resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -15797,7 +17889,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String zone, core.String targetInstance) {
+ async.Future<Operation> delete(core.String project, core.String zone, core.String targetInstance, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -15814,6 +17906,9 @@
if (targetInstance == null) {
throw new core.ArgumentError("Parameter targetInstance is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/targetInstances/' + commons.Escaper.ecapeVariable('$targetInstance');
@@ -15896,6 +17991,19 @@
* [zone] - Name of the zone scoping this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -15904,7 +18012,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(TargetInstance request, core.String project, core.String zone) {
+ async.Future<Operation> insert(TargetInstance request, core.String project, core.String zone, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -15921,6 +18029,9 @@
if (zone == null) {
throw new core.ArgumentError("Parameter zone is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/targetInstances';
@@ -16066,6 +18177,19 @@
* [targetPool] - Name of the target pool to add a health check to.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -16074,7 +18198,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> addHealthCheck(TargetPoolsAddHealthCheckRequest request, core.String project, core.String region, core.String targetPool) {
+ async.Future<Operation> addHealthCheck(TargetPoolsAddHealthCheckRequest request, core.String project, core.String region, core.String targetPool, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -16094,6 +18218,9 @@
if (targetPool == null) {
throw new core.ArgumentError("Parameter targetPool is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/targetPools/' + commons.Escaper.ecapeVariable('$targetPool') + '/addHealthCheck';
@@ -16124,6 +18251,19 @@
* [targetPool] - Name of the TargetPool resource to add instances to.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -16132,7 +18272,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> addInstance(TargetPoolsAddInstanceRequest request, core.String project, core.String region, core.String targetPool) {
+ async.Future<Operation> addInstance(TargetPoolsAddInstanceRequest request, core.String project, core.String region, core.String targetPool, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -16152,6 +18292,9 @@
if (targetPool == null) {
throw new core.ArgumentError("Parameter targetPool is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/targetPools/' + commons.Escaper.ecapeVariable('$targetPool') + '/addInstance';
@@ -16279,6 +18422,19 @@
* [targetPool] - Name of the TargetPool resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -16287,7 +18443,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String region, core.String targetPool) {
+ async.Future<Operation> delete(core.String project, core.String region, core.String targetPool, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -16304,6 +18460,9 @@
if (targetPool == null) {
throw new core.ArgumentError("Parameter targetPool is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/targetPools/' + commons.Escaper.ecapeVariable('$targetPool');
@@ -16446,6 +18605,19 @@
* [region] - Name of the region scoping this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -16454,7 +18626,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(TargetPool request, core.String project, core.String region) {
+ async.Future<Operation> insert(TargetPool request, core.String project, core.String region, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -16471,6 +18643,9 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/targetPools';
@@ -16607,6 +18782,19 @@
* [targetPool] - Name of the target pool to remove health checks from.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -16615,7 +18803,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> removeHealthCheck(TargetPoolsRemoveHealthCheckRequest request, core.String project, core.String region, core.String targetPool) {
+ async.Future<Operation> removeHealthCheck(TargetPoolsRemoveHealthCheckRequest request, core.String project, core.String region, core.String targetPool, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -16635,6 +18823,9 @@
if (targetPool == null) {
throw new core.ArgumentError("Parameter targetPool is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/targetPools/' + commons.Escaper.ecapeVariable('$targetPool') + '/removeHealthCheck';
@@ -16665,6 +18856,19 @@
* [targetPool] - Name of the TargetPool resource to remove instances from.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -16673,7 +18877,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> removeInstance(TargetPoolsRemoveInstanceRequest request, core.String project, core.String region, core.String targetPool) {
+ async.Future<Operation> removeInstance(TargetPoolsRemoveInstanceRequest request, core.String project, core.String region, core.String targetPool, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -16693,6 +18897,9 @@
if (targetPool == null) {
throw new core.ArgumentError("Parameter targetPool is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/targetPools/' + commons.Escaper.ecapeVariable('$targetPool') + '/removeInstance';
@@ -16725,6 +18932,19 @@
*
* [failoverRatio] - New failoverRatio value for the target pool.
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -16733,7 +18953,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setBackup(TargetReference request, core.String project, core.String region, core.String targetPool, {core.double failoverRatio}) {
+ async.Future<Operation> setBackup(TargetReference request, core.String project, core.String region, core.String targetPool, {core.double failoverRatio, core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -16756,6 +18976,9 @@
if (failoverRatio != null) {
_queryParams["failoverRatio"] = ["${failoverRatio}"];
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/targetPools/' + commons.Escaper.ecapeVariable('$targetPool') + '/setBackup';
@@ -16790,6 +19013,19 @@
* [targetSslProxy] - Name of the TargetSslProxy resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -16798,7 +19034,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String targetSslProxy) {
+ async.Future<Operation> delete(core.String project, core.String targetSslProxy, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -16812,6 +19048,9 @@
if (targetSslProxy == null) {
throw new core.ArgumentError("Parameter targetSslProxy is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/targetSslProxies/' + commons.Escaper.ecapeVariable('$targetSslProxy');
@@ -16885,6 +19124,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -16893,7 +19145,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(TargetSslProxy request, core.String project) {
+ async.Future<Operation> insert(TargetSslProxy request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -16907,6 +19159,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/targetSslProxies';
@@ -17035,6 +19290,19 @@
* resource is to be set.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -17043,7 +19311,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setBackendService(TargetSslProxiesSetBackendServiceRequest request, core.String project, core.String targetSslProxy) {
+ async.Future<Operation> setBackendService(TargetSslProxiesSetBackendServiceRequest request, core.String project, core.String targetSslProxy, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -17060,6 +19328,9 @@
if (targetSslProxy == null) {
throw new core.ArgumentError("Parameter targetSslProxy is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/targetSslProxies/' + commons.Escaper.ecapeVariable('$targetSslProxy') + '/setBackendService';
@@ -17088,6 +19359,19 @@
* to be set.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -17096,7 +19380,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setProxyHeader(TargetSslProxiesSetProxyHeaderRequest request, core.String project, core.String targetSslProxy) {
+ async.Future<Operation> setProxyHeader(TargetSslProxiesSetProxyHeaderRequest request, core.String project, core.String targetSslProxy, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -17113,6 +19397,9 @@
if (targetSslProxy == null) {
throw new core.ArgumentError("Parameter targetSslProxy is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/targetSslProxies/' + commons.Escaper.ecapeVariable('$targetSslProxy') + '/setProxyHeader';
@@ -17141,6 +19428,19 @@
* resource is to be set.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -17149,7 +19449,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setSslCertificates(TargetSslProxiesSetSslCertificatesRequest request, core.String project, core.String targetSslProxy) {
+ async.Future<Operation> setSslCertificates(TargetSslProxiesSetSslCertificatesRequest request, core.String project, core.String targetSslProxy, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -17166,6 +19466,9 @@
if (targetSslProxy == null) {
throw new core.ArgumentError("Parameter targetSslProxy is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/targetSslProxies/' + commons.Escaper.ecapeVariable('$targetSslProxy') + '/setSslCertificates';
@@ -17200,6 +19503,19 @@
* [targetTcpProxy] - Name of the TargetTcpProxy resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -17208,7 +19524,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String targetTcpProxy) {
+ async.Future<Operation> delete(core.String project, core.String targetTcpProxy, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -17222,6 +19538,9 @@
if (targetTcpProxy == null) {
throw new core.ArgumentError("Parameter targetTcpProxy is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/targetTcpProxies/' + commons.Escaper.ecapeVariable('$targetTcpProxy');
@@ -17295,6 +19614,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -17303,7 +19635,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(TargetTcpProxy request, core.String project) {
+ async.Future<Operation> insert(TargetTcpProxy request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -17317,6 +19649,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/targetTcpProxies';
@@ -17445,6 +19780,19 @@
* resource is to be set.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -17453,7 +19801,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setBackendService(TargetTcpProxiesSetBackendServiceRequest request, core.String project, core.String targetTcpProxy) {
+ async.Future<Operation> setBackendService(TargetTcpProxiesSetBackendServiceRequest request, core.String project, core.String targetTcpProxy, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -17470,6 +19818,9 @@
if (targetTcpProxy == null) {
throw new core.ArgumentError("Parameter targetTcpProxy is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/targetTcpProxies/' + commons.Escaper.ecapeVariable('$targetTcpProxy') + '/setBackendService';
@@ -17498,6 +19849,19 @@
* to be set.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -17506,7 +19870,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> setProxyHeader(TargetTcpProxiesSetProxyHeaderRequest request, core.String project, core.String targetTcpProxy) {
+ async.Future<Operation> setProxyHeader(TargetTcpProxiesSetProxyHeaderRequest request, core.String project, core.String targetTcpProxy, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -17523,6 +19887,9 @@
if (targetTcpProxy == null) {
throw new core.ArgumentError("Parameter targetTcpProxy is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/targetTcpProxies/' + commons.Escaper.ecapeVariable('$targetTcpProxy') + '/setProxyHeader';
@@ -17659,6 +20026,19 @@
* [targetVpnGateway] - Name of the target VPN gateway to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -17667,7 +20047,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String region, core.String targetVpnGateway) {
+ async.Future<Operation> delete(core.String project, core.String region, core.String targetVpnGateway, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -17684,6 +20064,9 @@
if (targetVpnGateway == null) {
throw new core.ArgumentError("Parameter targetVpnGateway is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/targetVpnGateways/' + commons.Escaper.ecapeVariable('$targetVpnGateway');
@@ -17766,6 +20149,19 @@
* [region] - Name of the region for this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -17774,7 +20170,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(TargetVpnGateway request, core.String project, core.String region) {
+ async.Future<Operation> insert(TargetVpnGateway request, core.String project, core.String region, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -17791,6 +20187,9 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/targetVpnGateways';
@@ -17931,6 +20330,19 @@
* [urlMap] - Name of the UrlMap resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -17939,7 +20351,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String urlMap) {
+ async.Future<Operation> delete(core.String project, core.String urlMap, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -17953,6 +20365,9 @@
if (urlMap == null) {
throw new core.ArgumentError("Parameter urlMap is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/urlMaps/' + commons.Escaper.ecapeVariable('$urlMap');
@@ -18026,6 +20441,19 @@
* Value must have pattern
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -18034,7 +20462,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(UrlMap request, core.String project) {
+ async.Future<Operation> insert(UrlMap request, core.String project, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -18048,6 +20476,9 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/urlMaps';
@@ -18076,6 +20507,19 @@
* [urlMap] - Name of the UrlMap scoping this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -18084,7 +20528,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> invalidateCache(CacheInvalidationRule request, core.String project, core.String urlMap) {
+ async.Future<Operation> invalidateCache(CacheInvalidationRule request, core.String project, core.String urlMap, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -18101,6 +20545,9 @@
if (urlMap == null) {
throw new core.ArgumentError("Parameter urlMap is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/urlMaps/' + commons.Escaper.ecapeVariable('$urlMap') + '/invalidateCache';
@@ -18229,6 +20676,19 @@
* [urlMap] - Name of the UrlMap resource to patch.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -18237,7 +20697,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> patch(UrlMap request, core.String project, core.String urlMap) {
+ async.Future<Operation> patch(UrlMap request, core.String project, core.String urlMap, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -18254,6 +20714,9 @@
if (urlMap == null) {
throw new core.ArgumentError("Parameter urlMap is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/urlMaps/' + commons.Escaper.ecapeVariable('$urlMap');
@@ -18282,6 +20745,19 @@
* [urlMap] - Name of the UrlMap resource to update.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -18290,7 +20766,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> update(UrlMap request, core.String project, core.String urlMap) {
+ async.Future<Operation> update(UrlMap request, core.String project, core.String urlMap, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -18307,6 +20783,9 @@
if (urlMap == null) {
throw new core.ArgumentError("Parameter urlMap is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/global/urlMaps/' + commons.Escaper.ecapeVariable('$urlMap');
@@ -18497,6 +20976,19 @@
* [vpnTunnel] - Name of the VpnTunnel resource to delete.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -18505,7 +20997,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> delete(core.String project, core.String region, core.String vpnTunnel) {
+ async.Future<Operation> delete(core.String project, core.String region, core.String vpnTunnel, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -18522,6 +21014,9 @@
if (vpnTunnel == null) {
throw new core.ArgumentError("Parameter vpnTunnel is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/vpnTunnels/' + commons.Escaper.ecapeVariable('$vpnTunnel');
@@ -18604,6 +21099,19 @@
* [region] - Name of the region for this request.
* Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
*
+ * [requestId] - An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed.
+ *
+ * For example, consider a situation where you make an initial request and the
+ * request times out. If you make the request again with the same request ID,
+ * the server can check if original operation with the same request ID was
+ * received, and if so, will ignore the second request. This prevents clients
+ * from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
* Completes with a [Operation].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -18612,7 +21120,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Operation> insert(VpnTunnel request, core.String project, core.String region) {
+ async.Future<Operation> insert(VpnTunnel request, core.String project, core.String region, {core.String requestId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -18629,6 +21137,9 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
+ if (requestId != null) {
+ _queryParams["requestId"] = [requestId];
+ }
_url = commons.Escaper.ecapeVariable('$project') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/vpnTunnels';
@@ -21011,7 +23522,8 @@
* TCP/SSL load balancing, the default is UTILIZATION. Valid values are
* UTILIZATION, RATE (for HTTP(S)) and CONNECTION (for TCP/SSL).
*
- * This cannot be used for internal load balancing.
+ * For Internal Load Balancing, the default and only supported mode is
+ * CONNECTION.
* Possible string values are:
* - "CONNECTION"
* - "RATE"
@@ -21357,9 +23869,9 @@
/**
* The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for
* health checking this BackendService. Currently at most one health check can
- * be specified, and a health check is required for GCE backend services. A
- * health check must not be specified for GAE app backend and Cloud Function
- * backend.
+ * be specified, and a health check is required for Compute Engine backend
+ * services. A health check must not be specified for App Engine backend and
+ * Cloud Function backend.
*
* For internal load balancing, a URL to a HealthCheck resource must be
* specified instead.
@@ -21377,7 +23889,10 @@
*/
core.String kind;
/**
- *
+ * Indicates whether the backend service will be used with internal or
+ * external load balancing. A backend service created for one type of load
+ * balancing cannot be used with the other. Possible values are INTERNAL and
+ * EXTERNAL.
* Possible string values are:
* - "EXTERNAL"
* - "INTERNAL"
@@ -22741,7 +25256,7 @@
*
* If you specify this field along with sourceImage or sourceSnapshot, the
* value of sizeGb must not be less than the size of the sourceImage or the
- * size of the snapshot.
+ * size of the snapshot. Acceptable values are 1 to 65536, inclusive.
*/
core.String sizeGb;
/**
@@ -23675,8 +26190,8 @@
/**
* The IP protocol to which this rule applies. The protocol type is required
* when creating a firewall rule. This value can either be one of the
- * following well known protocol strings (tcp, udp, icmp, esp, ah, sctp), or
- * the IP protocol number.
+ * following well known protocol strings (tcp, udp, icmp, esp, ah, ipip,
+ * sctp), or the IP protocol number.
*/
core.String IPProtocol;
/**
@@ -23712,6 +26227,47 @@
}
}
+class FirewallDenied {
+ /**
+ * The IP protocol to which this rule applies. The protocol type is required
+ * when creating a firewall rule. This value can either be one of the
+ * following well known protocol strings (tcp, udp, icmp, esp, ah, ipip,
+ * sctp), or the IP protocol number.
+ */
+ core.String IPProtocol;
+ /**
+ * An optional list of ports to which this rule applies. This field is only
+ * applicable for UDP or TCP protocol. Each entry must be either an integer or
+ * a range. If not specified, this rule applies to connections through any
+ * port.
+ *
+ * Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
+ */
+ core.List<core.String> ports;
+
+ FirewallDenied();
+
+ FirewallDenied.fromJson(core.Map _json) {
+ if (_json.containsKey("IPProtocol")) {
+ IPProtocol = _json["IPProtocol"];
+ }
+ if (_json.containsKey("ports")) {
+ ports = _json["ports"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (IPProtocol != null) {
+ _json["IPProtocol"] = IPProtocol;
+ }
+ if (ports != null) {
+ _json["ports"] = ports;
+ }
+ return _json;
+ }
+}
+
/** Represents a Firewall resource. */
class Firewall {
/**
@@ -23722,11 +26278,32 @@
/** [Output Only] Creation timestamp in RFC3339 text format. */
core.String creationTimestamp;
/**
+ * The list of DENY rules specified by this firewall. Each rule specifies a
+ * protocol and port-range tuple that describes a permitted connection.
+ */
+ core.List<FirewallDenied> denied;
+ /**
* An optional description of this resource. Provide this property when you
* create the resource.
*/
core.String description;
/**
+ * If destination ranges are specified, the firewall will apply only to
+ * traffic that has destination IP address in these ranges. These ranges must
+ * be expressed in CIDR format. Only IPv4 is supported.
+ */
+ core.List<core.String> destinationRanges;
+ /**
+ * Direction of traffic to which this firewall applies; default is INGRESS.
+ * Note: For INGRESS traffic, it is NOT supported to specify
+ * destinationRanges; For EGRESS traffic, it is NOT supported to specify
+ * sourceRanges OR sourceTags.
+ * Possible string values are:
+ * - "EGRESS"
+ * - "INGRESS"
+ */
+ core.String direction;
+ /**
* [Output Only] The unique identifier for the resource. This identifier is
* defined by the server.
*/
@@ -23758,6 +26335,15 @@
* - global/networks/default
*/
core.String network;
+ /**
+ * Priority for this rule. This is an integer between 0 and 65535, both
+ * inclusive. When not specified, the value assumed is 1000. Relative
+ * priorities determine precedence of conflicting rules. Lower value of
+ * priority implies higher precedence (eg, a rule with priority 0 has higher
+ * precedence than a rule with priority 1). DENY rules take precedence over
+ * ALLOW rules having equal priority.
+ */
+ core.int priority;
/** [Output Only] Server-defined URL for the resource. */
core.String selfLink;
/**
@@ -23771,16 +26357,17 @@
*/
core.List<core.String> sourceRanges;
/**
- * If source tags are specified, the firewall will apply only to traffic from
- * VM instances in the same virtual network with a tag listed in the source
- * tags. Source tags cannot be used to control traffic to an instance's
- * external IP address, it only applies to traffic between instances in the
- * same virtual network. Because tags are associated with instances, not IP
- * addresses. One or both of sourceRanges and sourceTags may be set. If both
- * properties are set, the firewall will apply to traffic that has source IP
- * address within sourceRanges OR the source IP that belongs to a tag listed
- * in the sourceTags property. The connection does not need to match both
- * properties for the firewall to apply.
+ * If source tags are specified, the firewall rule applies only to traffic
+ * with source IPs that match the primary network interfaces of VM instances
+ * that have the tag and are in the same VPC network. Source tags cannot be
+ * used to control traffic to an instance's external IP address, it only
+ * applies to traffic between instances in the same virtual network. Because
+ * tags are associated with instances, not IP addresses. One or both of
+ * sourceRanges and sourceTags may be set. If both properties are set, the
+ * firewall will apply to traffic that has source IP address within
+ * sourceRanges OR the source IP that belongs to a tag listed in the
+ * sourceTags property. The connection does not need to match both properties
+ * for the firewall to apply.
*/
core.List<core.String> sourceTags;
/**
@@ -23800,9 +26387,18 @@
if (_json.containsKey("creationTimestamp")) {
creationTimestamp = _json["creationTimestamp"];
}
+ if (_json.containsKey("denied")) {
+ denied = _json["denied"].map((value) => new FirewallDenied.fromJson(value)).toList();
+ }
if (_json.containsKey("description")) {
description = _json["description"];
}
+ if (_json.containsKey("destinationRanges")) {
+ destinationRanges = _json["destinationRanges"];
+ }
+ if (_json.containsKey("direction")) {
+ direction = _json["direction"];
+ }
if (_json.containsKey("id")) {
id = _json["id"];
}
@@ -23815,6 +26411,9 @@
if (_json.containsKey("network")) {
network = _json["network"];
}
+ if (_json.containsKey("priority")) {
+ priority = _json["priority"];
+ }
if (_json.containsKey("selfLink")) {
selfLink = _json["selfLink"];
}
@@ -23837,9 +26436,18 @@
if (creationTimestamp != null) {
_json["creationTimestamp"] = creationTimestamp;
}
+ if (denied != null) {
+ _json["denied"] = denied.map((value) => (value).toJson()).toList();
+ }
if (description != null) {
_json["description"] = description;
}
+ if (destinationRanges != null) {
+ _json["destinationRanges"] = destinationRanges;
+ }
+ if (direction != null) {
+ _json["direction"] = direction;
+ }
if (id != null) {
_json["id"] = id;
}
@@ -23852,6 +26460,9 @@
if (network != null) {
_json["network"] = network;
}
+ if (priority != null) {
+ _json["priority"] = priority;
+ }
if (selfLink != null) {
_json["selfLink"] = selfLink;
}
@@ -24046,8 +26657,10 @@
* Some types of forwarding target have constraints on the acceptable ports:
* - TargetHttpProxy: 80, 8080
* - TargetHttpsProxy: 443
- * - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 5222
- * - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 5222
+ * - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995,
+ * 1883, 5222
+ * - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995,
+ * 1883, 5222
* - TargetVpnGateway: 500, 4500
* -
*/
@@ -25978,9 +28591,9 @@
*/
core.String name;
/**
- * An array of configurations for this interface. This specifies how this
- * interface is configured to interact with other network services, such as
- * connecting to the internet. Only one interface is supported per instance.
+ * An array of network configurations for this instance. These specify how
+ * interfaces are configured to interact with other network services, such as
+ * connecting to the internet. Multiple interfaces are supported per instance.
*/
core.List<NetworkInterface> networkInterfaces;
/** Sets the scheduling options for this instance. */
@@ -26003,8 +28616,8 @@
core.bool startRestricted;
/**
* [Output Only] The status of the instance. One of the following values:
- * PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, and
- * TERMINATED.
+ * PROVISIONING, STAGING, RUNNING, STOPPING, STOPPED, SUSPENDING, SUSPENDED,
+ * and TERMINATED.
* Possible string values are:
* - "PROVISIONING"
* - "RUNNING"
@@ -30700,6 +33313,8 @@
* - "REGIONAL_INSTANCE_GROUP_MANAGERS"
* - "ROUTERS"
* - "ROUTES"
+ * - "SECURITY_POLICIES"
+ * - "SECURITY_POLICY_RULES"
* - "SNAPSHOTS"
* - "SSD_TOTAL_GB"
* - "SSL_CERTIFICATES"
diff --git a/generated/googleapis/lib/container/v1.dart b/generated/googleapis/lib/container/v1.dart
index 734d702..87b169d 100644
--- a/generated/googleapis/lib/container/v1.dart
+++ b/generated/googleapis/lib/container/v1.dart
@@ -2675,7 +2675,7 @@
core.String servicesIpv4Cidr;
/**
* A custom subnetwork name to be used if `create_subnetwork` is true. If
- * this field is empty, then an automatic name will choosen for the new
+ * this field is empty, then an automatic name will be chosen for the new
* subnetwork.
*/
core.String subnetworkName;
diff --git a/generated/googleapis/lib/content/v2.dart b/generated/googleapis/lib/content/v2.dart
index 30f3ca1..bf23b8c 100644
--- a/generated/googleapis/lib/content/v2.dart
+++ b/generated/googleapis/lib/content/v2.dart
@@ -3224,6 +3224,8 @@
class AccountStatus {
/** The ID of the account for which the status is reported. */
core.String accountId;
+ /** A list of account level issues. */
+ core.List<AccountStatusAccountLevelIssue> accountLevelIssues;
/** A list of data quality issues. */
core.List<AccountStatusDataQualityIssue> dataQualityIssues;
/**
@@ -3240,6 +3242,9 @@
if (_json.containsKey("accountId")) {
accountId = _json["accountId"];
}
+ if (_json.containsKey("accountLevelIssues")) {
+ accountLevelIssues = _json["accountLevelIssues"].map((value) => new AccountStatusAccountLevelIssue.fromJson(value)).toList();
+ }
if (_json.containsKey("dataQualityIssues")) {
dataQualityIssues = _json["dataQualityIssues"].map((value) => new AccountStatusDataQualityIssue.fromJson(value)).toList();
}
@@ -3256,6 +3261,9 @@
if (accountId != null) {
_json["accountId"] = accountId;
}
+ if (accountLevelIssues != null) {
+ _json["accountLevelIssues"] = accountLevelIssues.map((value) => (value).toJson()).toList();
+ }
if (dataQualityIssues != null) {
_json["dataQualityIssues"] = dataQualityIssues.map((value) => (value).toJson()).toList();
}
@@ -3269,6 +3277,59 @@
}
}
+class AccountStatusAccountLevelIssue {
+ /** Country for which this issue is reported. */
+ core.String country;
+ /** Additional details about the issue. */
+ core.String detail;
+ /** Issue identifier. */
+ core.String id;
+ /** Severity of the issue. */
+ core.String severity;
+ /** Short description of the issue. */
+ core.String title;
+
+ AccountStatusAccountLevelIssue();
+
+ AccountStatusAccountLevelIssue.fromJson(core.Map _json) {
+ if (_json.containsKey("country")) {
+ country = _json["country"];
+ }
+ if (_json.containsKey("detail")) {
+ detail = _json["detail"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("severity")) {
+ severity = _json["severity"];
+ }
+ if (_json.containsKey("title")) {
+ title = _json["title"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (country != null) {
+ _json["country"] = country;
+ }
+ if (detail != null) {
+ _json["detail"] = detail;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (severity != null) {
+ _json["severity"] = severity;
+ }
+ if (title != null) {
+ _json["title"] = title;
+ }
+ return _json;
+ }
+}
+
class AccountStatusDataQualityIssue {
/** Country for which this issue is reported. */
core.String country;
diff --git a/generated/googleapis/lib/dataproc/v1.dart b/generated/googleapis/lib/dataproc/v1.dart
index 2ee5301..cab8750 100644
--- a/generated/googleapis/lib/dataproc/v1.dart
+++ b/generated/googleapis/lib/dataproc/v1.dart
@@ -278,8 +278,6 @@
* [region] - Required. The Cloud Dataproc region in which to handle the
* request.
*
- * [pageToken] - Optional. The standard List page token.
- *
* [pageSize] - Optional. The standard List page size.
*
* [filter] - Optional. A filter constraining the clusters to list. Filters
@@ -294,6 +292,8 @@
* implicit AND operator.Example filter:status.state = ACTIVE AND clusterName
* = mycluster AND labels.env = staging AND labels.starred = *
*
+ * [pageToken] - Optional. The standard List page token.
+ *
* Completes with a [ListClustersResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -302,7 +302,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<ListClustersResponse> list(core.String projectId, core.String region, {core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<ListClustersResponse> list(core.String projectId, core.String region, {core.int pageSize, core.String filter, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -316,15 +316,15 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/clusters';
@@ -609,11 +609,6 @@
* [region] - Required. The Cloud Dataproc region in which to handle the
* request.
*
- * [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.
- *
* [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
@@ -633,6 +628,11 @@
* [pageToken] - Optional. The page token, returned by a previous call, to
* request the next page of results.
*
+ * [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.
+ *
* Completes with a [ListJobsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -641,7 +641,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<ListJobsResponse> list(core.String projectId, core.String region, {core.int pageSize, core.String clusterName, core.String filter, core.String jobStateMatcher, core.String pageToken}) {
+ async.Future<ListJobsResponse> list(core.String projectId, core.String region, {core.String filter, core.String jobStateMatcher, core.String pageToken, core.int pageSize, core.String clusterName}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -655,12 +655,6 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
- if (clusterName != null) {
- _queryParams["clusterName"] = [clusterName];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
@@ -670,6 +664,12 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (clusterName != null) {
+ _queryParams["clusterName"] = [clusterName];
+ }
_url = 'v1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/jobs';
diff --git a/generated/googleapis/lib/datastore/v1.dart b/generated/googleapis/lib/datastore/v1.dart
index 49f6ce6..5564ca0 100644
--- a/generated/googleapis/lib/datastore/v1.dart
+++ b/generated/googleapis/lib/datastore/v1.dart
@@ -38,6 +38,8 @@
class ProjectsResourceApi {
final commons.ApiRequester _requester;
+ ProjectsOperationsResourceApi get operations => new ProjectsOperationsResourceApi(_requester);
+
ProjectsResourceApi(commons.ApiRequester client) :
_requester = client;
@@ -310,6 +312,213 @@
}
+class ProjectsOperationsResourceApi {
+ final commons.ApiRequester _requester;
+
+ ProjectsOperationsResourceApi(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 parameters:
+ *
+ * [name] - The name of the operation resource to be cancelled.
+ * Value must have pattern "^projects/[^/]+/operations/[^/]+$".
+ *
+ * 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> cancel(core.String name) {
+ 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.");
+ }
+
+ _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 "^projects/[^/]+/operations/[^/]+$".
+ *
+ * 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) {
+ 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.");
+ }
+
+ _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 "^projects/[^/]+/operations/[^/]+$".
+ *
+ * Completes with a [GoogleLongrunningOperation].
+ *
+ * Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ * error.
+ *
+ * If the used [http.Client] completes with an error when making a REST call,
+ * this method will complete with the same error.
+ */
+ async.Future<GoogleLongrunningOperation> get(core.String name) {
+ 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.");
+ }
+
+ _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 GoogleLongrunningOperation.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 "^projects/[^/]+$".
+ *
+ * [pageSize] - The standard list page size.
+ *
+ * [filter] - The standard list filter.
+ *
+ * [pageToken] - The standard list page token.
+ *
+ * Completes with a [GoogleLongrunningListOperationsResponse].
+ *
+ * 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<GoogleLongrunningListOperationsResponse> list(core.String name, {core.int pageSize, core.String filter, core.String pageToken}) {
+ 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 (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + '/operations';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new GoogleLongrunningListOperationsResponse.fromJson(data));
+ }
+
+}
+
+
/** The request for Datastore.AllocateIds. */
class AllocateIdsRequest {
@@ -389,14 +598,22 @@
/** The request for Datastore.BeginTransaction. */
class BeginTransactionRequest {
+ /** Options for a new transaction. */
+ TransactionOptions transactionOptions;
BeginTransactionRequest();
BeginTransactionRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("transactionOptions")) {
+ transactionOptions = new TransactionOptions.fromJson(_json["transactionOptions"]);
+ }
}
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (transactionOptions != null) {
+ _json["transactionOptions"] = (transactionOptions).toJson();
+ }
return _json;
}
}
@@ -578,6 +795,30 @@
}
/**
+ * 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 Datastore data object.
*
* An entity is limited to 1 megabyte when stored. That _roughly_
@@ -715,6 +956,442 @@
}
}
+/** Metadata common to all Datastore Admin operations. */
+class GoogleDatastoreAdminV1beta1CommonMetadata {
+ /** The time the operation ended, either successfully or otherwise. */
+ core.String endTime;
+ /**
+ * The client-assigned labels which were provided when the operation was
+ * created. May also include additional labels.
+ */
+ core.Map<core.String, core.String> labels;
+ /**
+ * The type of the operation. Can be used as a filter in
+ * ListOperationsRequest.
+ * Possible string values are:
+ * - "OPERATION_TYPE_UNSPECIFIED" : Unspecified.
+ * - "EXPORT_ENTITIES" : ExportEntities.
+ * - "IMPORT_ENTITIES" : ImportEntities.
+ * - "BUILD_INDEX" : Build an index.
+ * - "CLEAR_INDEX" : Clear an index.
+ */
+ core.String operationType;
+ /** The time that work began on the operation. */
+ core.String startTime;
+ /**
+ * The current state of the Operation.
+ * Possible string values are:
+ * - "STATE_UNSPECIFIED" : Unspecified.
+ * - "INITIALIZING" : Request is being prepared for processing.
+ * - "PROCESSING" : Request is actively being processed.
+ * - "CANCELLING" : Request is in the process of being cancelled after user
+ * called
+ * longrunning.Operations.CancelOperation on the operation.
+ * - "FINALIZING" : Request has been processed and is in its finalization
+ * stage.
+ * - "SUCCESSFUL" : Request has completed successfully.
+ * - "FAILED" : Request has finished being processed, but encountered an
+ * error.
+ * - "CANCELLED" : Request has finished being cancelled after user called
+ * longrunning.Operations.CancelOperation.
+ */
+ core.String state;
+
+ GoogleDatastoreAdminV1beta1CommonMetadata();
+
+ GoogleDatastoreAdminV1beta1CommonMetadata.fromJson(core.Map _json) {
+ if (_json.containsKey("endTime")) {
+ endTime = _json["endTime"];
+ }
+ if (_json.containsKey("labels")) {
+ labels = _json["labels"];
+ }
+ if (_json.containsKey("operationType")) {
+ operationType = _json["operationType"];
+ }
+ if (_json.containsKey("startTime")) {
+ startTime = _json["startTime"];
+ }
+ if (_json.containsKey("state")) {
+ state = _json["state"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (endTime != null) {
+ _json["endTime"] = endTime;
+ }
+ if (labels != null) {
+ _json["labels"] = labels;
+ }
+ if (operationType != null) {
+ _json["operationType"] = operationType;
+ }
+ if (startTime != null) {
+ _json["startTime"] = startTime;
+ }
+ if (state != null) {
+ _json["state"] = state;
+ }
+ return _json;
+ }
+}
+
+/**
+ * Identifies a subset of entities in a project. This is specified as
+ * combinations of kind + namespace (either or both of which may be all, as
+ * described in the following examples).
+ * Example usage:
+ *
+ * Entire project:
+ * kinds=[], namespace_ids=[]
+ *
+ * Kinds Foo and Bar in all namespaces:
+ * kinds=['Foo', 'Bar'], namespace_ids=[]
+ *
+ * Kinds Foo and Bar only in the default namespace:
+ * kinds=['Foo', 'Bar'], namespace_ids=['']
+ *
+ * Kinds Foo and Bar in both the default and Baz namespaces:
+ * kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz']
+ *
+ * The entire Baz namespace:
+ * kinds=[], namespace_ids=['Baz']
+ */
+class GoogleDatastoreAdminV1beta1EntityFilter {
+ /** If empty, then this represents all kinds. */
+ core.List<core.String> kinds;
+ /**
+ * An empty list represents all namespaces. This is the preferred
+ * usage for projects that don't use namespaces.
+ *
+ * An empty string element represents the default namespace. This should be
+ * used if the project has data in non-default namespaces, but doesn't want to
+ * include them.
+ * Each namespace in this list must be unique.
+ */
+ core.List<core.String> namespaceIds;
+
+ GoogleDatastoreAdminV1beta1EntityFilter();
+
+ GoogleDatastoreAdminV1beta1EntityFilter.fromJson(core.Map _json) {
+ if (_json.containsKey("kinds")) {
+ kinds = _json["kinds"];
+ }
+ if (_json.containsKey("namespaceIds")) {
+ namespaceIds = _json["namespaceIds"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (kinds != null) {
+ _json["kinds"] = kinds;
+ }
+ if (namespaceIds != null) {
+ _json["namespaceIds"] = namespaceIds;
+ }
+ return _json;
+ }
+}
+
+/** Metadata for ExportEntities operations. */
+class GoogleDatastoreAdminV1beta1ExportEntitiesMetadata {
+ /** Metadata common to all Datastore Admin operations. */
+ GoogleDatastoreAdminV1beta1CommonMetadata common;
+ /** Description of which entities are being exported. */
+ GoogleDatastoreAdminV1beta1EntityFilter entityFilter;
+ /**
+ * Location for the export metadata and data files. This will be the same
+ * value as the
+ * google.datastore.admin.v1beta1.ExportEntitiesRequest.output_url_prefix
+ * field. The final output location is provided in
+ * google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url.
+ */
+ core.String outputUrlPrefix;
+ /** An estimate of the number of bytes processed. */
+ GoogleDatastoreAdminV1beta1Progress progressBytes;
+ /** An estimate of the number of entities processed. */
+ GoogleDatastoreAdminV1beta1Progress progressEntities;
+
+ GoogleDatastoreAdminV1beta1ExportEntitiesMetadata();
+
+ GoogleDatastoreAdminV1beta1ExportEntitiesMetadata.fromJson(core.Map _json) {
+ if (_json.containsKey("common")) {
+ common = new GoogleDatastoreAdminV1beta1CommonMetadata.fromJson(_json["common"]);
+ }
+ if (_json.containsKey("entityFilter")) {
+ entityFilter = new GoogleDatastoreAdminV1beta1EntityFilter.fromJson(_json["entityFilter"]);
+ }
+ if (_json.containsKey("outputUrlPrefix")) {
+ outputUrlPrefix = _json["outputUrlPrefix"];
+ }
+ if (_json.containsKey("progressBytes")) {
+ progressBytes = new GoogleDatastoreAdminV1beta1Progress.fromJson(_json["progressBytes"]);
+ }
+ if (_json.containsKey("progressEntities")) {
+ progressEntities = new GoogleDatastoreAdminV1beta1Progress.fromJson(_json["progressEntities"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (common != null) {
+ _json["common"] = (common).toJson();
+ }
+ if (entityFilter != null) {
+ _json["entityFilter"] = (entityFilter).toJson();
+ }
+ if (outputUrlPrefix != null) {
+ _json["outputUrlPrefix"] = outputUrlPrefix;
+ }
+ if (progressBytes != null) {
+ _json["progressBytes"] = (progressBytes).toJson();
+ }
+ if (progressEntities != null) {
+ _json["progressEntities"] = (progressEntities).toJson();
+ }
+ return _json;
+ }
+}
+
+/**
+ * The response for
+ * google.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities.
+ */
+class GoogleDatastoreAdminV1beta1ExportEntitiesResponse {
+ /**
+ * Location of the output metadata file. This can be used to begin an import
+ * into Cloud Datastore (this project or another project). See
+ * google.datastore.admin.v1beta1.ImportEntitiesRequest.input_url.
+ * Only present if the operation completed successfully.
+ */
+ core.String outputUrl;
+
+ GoogleDatastoreAdminV1beta1ExportEntitiesResponse();
+
+ GoogleDatastoreAdminV1beta1ExportEntitiesResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("outputUrl")) {
+ outputUrl = _json["outputUrl"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (outputUrl != null) {
+ _json["outputUrl"] = outputUrl;
+ }
+ return _json;
+ }
+}
+
+/** Metadata for ImportEntities operations. */
+class GoogleDatastoreAdminV1beta1ImportEntitiesMetadata {
+ /** Metadata common to all Datastore Admin operations. */
+ GoogleDatastoreAdminV1beta1CommonMetadata common;
+ /** Description of which entities are being imported. */
+ GoogleDatastoreAdminV1beta1EntityFilter entityFilter;
+ /**
+ * The location of the import metadata file. This will be the same value as
+ * the google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url
+ * field.
+ */
+ core.String inputUrl;
+ /** An estimate of the number of bytes processed. */
+ GoogleDatastoreAdminV1beta1Progress progressBytes;
+ /** An estimate of the number of entities processed. */
+ GoogleDatastoreAdminV1beta1Progress progressEntities;
+
+ GoogleDatastoreAdminV1beta1ImportEntitiesMetadata();
+
+ GoogleDatastoreAdminV1beta1ImportEntitiesMetadata.fromJson(core.Map _json) {
+ if (_json.containsKey("common")) {
+ common = new GoogleDatastoreAdminV1beta1CommonMetadata.fromJson(_json["common"]);
+ }
+ if (_json.containsKey("entityFilter")) {
+ entityFilter = new GoogleDatastoreAdminV1beta1EntityFilter.fromJson(_json["entityFilter"]);
+ }
+ if (_json.containsKey("inputUrl")) {
+ inputUrl = _json["inputUrl"];
+ }
+ if (_json.containsKey("progressBytes")) {
+ progressBytes = new GoogleDatastoreAdminV1beta1Progress.fromJson(_json["progressBytes"]);
+ }
+ if (_json.containsKey("progressEntities")) {
+ progressEntities = new GoogleDatastoreAdminV1beta1Progress.fromJson(_json["progressEntities"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (common != null) {
+ _json["common"] = (common).toJson();
+ }
+ if (entityFilter != null) {
+ _json["entityFilter"] = (entityFilter).toJson();
+ }
+ if (inputUrl != null) {
+ _json["inputUrl"] = inputUrl;
+ }
+ if (progressBytes != null) {
+ _json["progressBytes"] = (progressBytes).toJson();
+ }
+ if (progressEntities != null) {
+ _json["progressEntities"] = (progressEntities).toJson();
+ }
+ return _json;
+ }
+}
+
+/** Measures the progress of a particular metric. */
+class GoogleDatastoreAdminV1beta1Progress {
+ /** Note that this may be greater than work_estimated. */
+ core.String workCompleted;
+ /**
+ * An estimate of how much work needs to be performed. May be zero if the
+ * work estimate is unavailable.
+ */
+ core.String workEstimated;
+
+ GoogleDatastoreAdminV1beta1Progress();
+
+ GoogleDatastoreAdminV1beta1Progress.fromJson(core.Map _json) {
+ if (_json.containsKey("workCompleted")) {
+ workCompleted = _json["workCompleted"];
+ }
+ if (_json.containsKey("workEstimated")) {
+ workEstimated = _json["workEstimated"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (workCompleted != null) {
+ _json["workCompleted"] = workCompleted;
+ }
+ if (workEstimated != null) {
+ _json["workEstimated"] = workEstimated;
+ }
+ return _json;
+ }
+}
+
+/** The response message for Operations.ListOperations. */
+class GoogleLongrunningListOperationsResponse {
+ /** The standard List next-page token. */
+ core.String nextPageToken;
+ /** A list of operations that matches the specified filter in the request. */
+ core.List<GoogleLongrunningOperation> operations;
+
+ GoogleLongrunningListOperationsResponse();
+
+ GoogleLongrunningListOperationsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("nextPageToken")) {
+ nextPageToken = _json["nextPageToken"];
+ }
+ if (_json.containsKey("operations")) {
+ operations = _json["operations"].map((value) => new GoogleLongrunningOperation.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;
+ }
+}
+
+/**
+ * This resource represents a long-running operation that is the result of a
+ * network API call.
+ */
+class GoogleLongrunningOperation {
+ /**
+ * 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;
+
+ GoogleLongrunningOperation();
+
+ GoogleLongrunningOperation.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 [GQL
* query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
@@ -1656,6 +2333,20 @@
}
}
+/** Options specific to read-only transactions. */
+class ReadOnly {
+
+ ReadOnly();
+
+ ReadOnly.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;
+ }
+}
+
/** The options shared by read requests. */
class ReadOptions {
/**
@@ -1705,6 +2396,35 @@
}
}
+/** Options specific to read / write transactions. */
+class ReadWrite {
+ /** The transaction identifier of the transaction being retried. */
+ core.String previousTransaction;
+ core.List<core.int> get previousTransactionAsBytes {
+ return convert.BASE64.decode(previousTransaction);
+ }
+
+ void set previousTransactionAsBytes(core.List<core.int> _bytes) {
+ previousTransaction = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
+ }
+
+ ReadWrite();
+
+ ReadWrite.fromJson(core.Map _json) {
+ if (_json.containsKey("previousTransaction")) {
+ previousTransaction = _json["previousTransaction"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (previousTransaction != null) {
+ _json["previousTransaction"] = previousTransaction;
+ }
+ return _json;
+ }
+}
+
/** The request for Datastore.Rollback. */
class RollbackRequest {
/**
@@ -1836,6 +2556,145 @@
}
/**
+ * 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;
+ }
+}
+
+/**
+ * Options for beginning a new transaction.
+ *
+ * Transactions can be created explicitly with calls to
+ * Datastore.BeginTransaction or implicitly by setting
+ * ReadOptions.new_transaction in read requests.
+ */
+class TransactionOptions {
+ /** The transaction should only allow reads. */
+ ReadOnly readOnly;
+ /** The transaction should allow both reads and writes. */
+ ReadWrite readWrite;
+
+ TransactionOptions();
+
+ TransactionOptions.fromJson(core.Map _json) {
+ if (_json.containsKey("readOnly")) {
+ readOnly = new ReadOnly.fromJson(_json["readOnly"]);
+ }
+ if (_json.containsKey("readWrite")) {
+ readWrite = new ReadWrite.fromJson(_json["readWrite"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (readOnly != null) {
+ _json["readOnly"] = (readOnly).toJson();
+ }
+ if (readWrite != null) {
+ _json["readWrite"] = (readWrite).toJson();
+ }
+ return _json;
+ }
+}
+
+/**
* A message that can hold any of the supported value types and associated
* metadata.
*/
diff --git a/generated/googleapis/lib/deploymentmanager/v2.dart b/generated/googleapis/lib/deploymentmanager/v2.dart
index 97e762d..0004a60 100644
--- a/generated/googleapis/lib/deploymentmanager/v2.dart
+++ b/generated/googleapis/lib/deploymentmanager/v2.dart
@@ -221,7 +221,7 @@
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
* [resource] - Name of the resource for this request.
- * Value must have pattern "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?".
+ * Value must have pattern "[a-z0-9](?:[-a-z0-9_]{0,61}[a-z0-9])?".
*
* Completes with a [Policy].
*
@@ -512,7 +512,7 @@
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
* [resource] - Name of the resource for this request.
- * Value must have pattern "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?".
+ * Value must have pattern "[a-z0-9](?:[-a-z0-9_]{0,61}[a-z0-9])?".
*
* Completes with a [Policy].
*
@@ -617,7 +617,7 @@
* "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))".
*
* [resource] - Name of the resource for this request.
- * Value must have pattern "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?".
+ * Value must have pattern "(?:[-a-z0-9_]{0,62}[a-z0-9])?".
*
* Completes with a [TestPermissionsResponse].
*
@@ -1443,6 +1443,28 @@
}
}
+/** Authorization-related information used by Cloud Audit Logging. */
+class AuthorizationLoggingOptions {
+ /** The type of the permission that was checked. */
+ core.String permissionType;
+
+ AuthorizationLoggingOptions();
+
+ AuthorizationLoggingOptions.fromJson(core.Map _json) {
+ if (_json.containsKey("permissionType")) {
+ permissionType = _json["permissionType"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (permissionType != null) {
+ _json["permissionType"] = permissionType;
+ }
+ return _json;
+ }
+}
+
/** Associates `members` with a `role`. */
class Binding {
/**
@@ -2066,6 +2088,8 @@
LogConfigCloudAuditOptions cloudAudit;
/** Counter options. */
LogConfigCounterOptions counter;
+ /** Data access options. */
+ LogConfigDataAccessOptions dataAccess;
LogConfig();
@@ -2076,6 +2100,9 @@
if (_json.containsKey("counter")) {
counter = new LogConfigCounterOptions.fromJson(_json["counter"]);
}
+ if (_json.containsKey("dataAccess")) {
+ dataAccess = new LogConfigDataAccessOptions.fromJson(_json["dataAccess"]);
+ }
}
core.Map<core.String, core.Object> toJson() {
@@ -2086,18 +2113,26 @@
if (counter != null) {
_json["counter"] = (counter).toJson();
}
+ if (dataAccess != null) {
+ _json["dataAccess"] = (dataAccess).toJson();
+ }
return _json;
}
}
/** Write a Cloud Audit log */
class LogConfigCloudAuditOptions {
+ /** Information used by the Cloud Audit Logging pipeline. */
+ AuthorizationLoggingOptions authorizationLoggingOptions;
/** The log_name to populate in the Cloud Audit Record. */
core.String logName;
LogConfigCloudAuditOptions();
LogConfigCloudAuditOptions.fromJson(core.Map _json) {
+ if (_json.containsKey("authorizationLoggingOptions")) {
+ authorizationLoggingOptions = new AuthorizationLoggingOptions.fromJson(_json["authorizationLoggingOptions"]);
+ }
if (_json.containsKey("logName")) {
logName = _json["logName"];
}
@@ -2105,6 +2140,9 @@
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (authorizationLoggingOptions != null) {
+ _json["authorizationLoggingOptions"] = (authorizationLoggingOptions).toJson();
+ }
if (logName != null) {
_json["logName"] = logName;
}
@@ -2112,7 +2150,28 @@
}
}
-/** Options for counters */
+/**
+ * Increment a streamz counter with the specified metric and field names.
+ *
+ * Metric names should start with a '/', generally be lowercase-only, and end in
+ * "_count". Field names should not contain an initial slash. The actual
+ * exported metric names will have "/iam/policy" prepended.
+ *
+ * Field names correspond to IAM request parameters and field values are their
+ * respective values.
+ *
+ * At present the only supported field names are - "iam_principal",
+ * corresponding to IAMContext.principal; - "" (empty string), resulting in one
+ * aggretated counter with no field.
+ *
+ * Examples: counter { metric: "/debug_access_count" field: "iam_principal" }
+ * ==> increment counter /iam/policy/backend_debug_access_count
+ * {iam_principal=[value of IAMContext.principal]}
+ *
+ * At this time we do not support: * multiple field names (though this may be
+ * supported in the future) * decrementing the counter * incrementing it by
+ * anything other than 1
+ */
class LogConfigCounterOptions {
/** The field value to attribute. */
core.String field;
@@ -2142,6 +2201,31 @@
}
}
+/** Write a Data Access (Gin) log */
+class LogConfigDataAccessOptions {
+ /**
+ * Whether Gin logging should happen in a fail-closed manner at the caller.
+ * This is relevant only in the LocalIAM implementation, for now.
+ */
+ core.String logMode;
+
+ LogConfigDataAccessOptions();
+
+ LogConfigDataAccessOptions.fromJson(core.Map _json) {
+ if (_json.containsKey("logMode")) {
+ logMode = _json["logMode"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (logMode != null) {
+ _json["logMode"] = logMode;
+ }
+ return _json;
+ }
+}
+
class Manifest {
/** [Output Only] The YAML configuration for this manifest. */
ConfigFile config;
diff --git a/generated/googleapis/lib/firebasedynamiclinks/v1.dart b/generated/googleapis/lib/firebasedynamiclinks/v1.dart
index 81e7189..f895227 100644
--- a/generated/googleapis/lib/firebasedynamiclinks/v1.dart
+++ b/generated/googleapis/lib/firebasedynamiclinks/v1.dart
@@ -25,7 +25,7 @@
ShortLinksResourceApi get shortLinks => new ShortLinksResourceApi(_requester);
V1ResourceApi get v1 => new V1ResourceApi(_requester);
- FirebasedynamiclinksApi(http.Client client, {core.String rootUrl: "https://firebasedynamiclinks.googleapis.com/", core.String servicePath: ""}) :
+ FirebasedynamiclinksApi(http.Client client, {core.String rootUrl: "https://firebasedynamiclinks-ipv6.googleapis.com/", core.String servicePath: ""}) :
_requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
}
@@ -541,6 +541,8 @@
* match with the given iOS store ID.
*/
core.String warningCode;
+ /** The document describing the warning, and helps resolve. */
+ core.String warningDocumentLink;
/** The warning message to help developers improve their requests. */
core.String warningMessage;
@@ -550,6 +552,9 @@
if (_json.containsKey("warningCode")) {
warningCode = _json["warningCode"];
}
+ if (_json.containsKey("warningDocumentLink")) {
+ warningDocumentLink = _json["warningDocumentLink"];
+ }
if (_json.containsKey("warningMessage")) {
warningMessage = _json["warningMessage"];
}
@@ -560,6 +565,9 @@
if (warningCode != null) {
_json["warningCode"] = warningCode;
}
+ if (warningDocumentLink != null) {
+ _json["warningDocumentLink"] = warningDocumentLink;
+ }
if (warningMessage != null) {
_json["warningMessage"] = warningMessage;
}
diff --git a/generated/googleapis/lib/firebaserules/v1.dart b/generated/googleapis/lib/firebaserules/v1.dart
index ab32331..f704599 100644
--- a/generated/googleapis/lib/firebaserules/v1.dart
+++ b/generated/googleapis/lib/firebaserules/v1.dart
@@ -292,14 +292,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
- * the releases, the caller should iterate until the `page_token` on the
- * response is empty.
- *
* [filter] - `Release` filter. The list method supports filters with
* restrictions on the
* `Release.name`, `Release.ruleset_name`, and `Release.test_suite_name`.
@@ -326,6 +318,14 @@
* relative to the project. Fully qualified prefixed may also be used. e.g.
* `test_suite_name=projects/foo/testsuites/uuid1`
*
+ * [pageToken] - Next page token for the next batch of `Release` instances.
+ *
+ * [pageSize] - Page size to load. Maximum of 100. Defaults to 10.
+ * Note: `page_size` is just a hint and the service may choose to load fewer
+ * than `page_size` results due to the size of the output. To traverse all of
+ * the releases, the caller should iterate until the `page_token` on the
+ * response is empty.
+ *
* Completes with a [ListReleasesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -334,7 +334,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<ListReleasesResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<ListReleasesResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -345,15 +345,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];
- }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + '/releases';
@@ -600,6 +600,14 @@
* Format: `projects/{project_id}`
* Value must have pattern "^projects/[^/]+$".
*
+ * [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.
+ *
* [filter] - `Ruleset` filter. The list method supports filters with
* restrictions on
* `Ruleset.name`.
@@ -609,14 +617,6 @@
*
* Example: `create_time > date("2017-01-01") AND name=UUID-*`
*
- * [pageToken] - Next page token for loading the next batch of `Ruleset`
- * instances.
- *
- * [pageSize] - Page size to load. Maximum of 100. Defaults to 10.
- * Note: `page_size` is just a hint and the service may choose to load less
- * than `page_size` due to the size of the output. To traverse all of the
- * releases, caller should iterate until the `page_token` is empty.
- *
* Completes with a [ListRulesetsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -625,7 +625,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<ListRulesetsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListRulesetsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -636,15 +636,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];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + '/rulesets';
diff --git a/generated/googleapis/lib/fitness/v1.dart b/generated/googleapis/lib/fitness/v1.dart
index 325b429..ee2a337 100644
--- a/generated/googleapis/lib/fitness/v1.dart
+++ b/generated/googleapis/lib/fitness/v1.dart
@@ -1471,7 +1471,7 @@
* number:device.manufacturer:device.model:device.uid:dataStreamName
*
* When any of the optional fields that comprise of the data stream ID are
- * blank, they will be omitted from the data stream ID. The minnimum viable
+ * blank, they will be omitted from the data stream ID. The minimum viable
* data stream ID would be: type:dataType.name:developer project number
*
* Finally, the developer project number is obfuscated when read by any REST
diff --git a/generated/googleapis/lib/genomics/v1.dart b/generated/googleapis/lib/genomics/v1.dart
index 93cea1e..20900ef 100644
--- a/generated/googleapis/lib/genomics/v1.dart
+++ b/generated/googleapis/lib/genomics/v1.dart
@@ -1036,6 +1036,8 @@
*
* Request parameters:
*
+ * [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
@@ -1045,8 +1047,6 @@
* unspecified,
* defaults to 50. The maximum value is 1024.
*
- * [projectId] - Required. The Google Cloud project ID to list datasets for.
- *
* Completes with a [ListDatasetsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1055,7 +1055,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<ListDatasetsResponse> list({core.String pageToken, core.int pageSize, core.String projectId}) {
+ async.Future<ListDatasetsResponse> list({core.String projectId, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1063,15 +1063,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (projectId != null) {
+ _queryParams["projectId"] = [projectId];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (projectId != null) {
- _queryParams["projectId"] = [projectId];
- }
_url = 'v1/datasets';
@@ -1410,6 +1410,12 @@
* [name] - The name of the operation's parent resource.
* Value must have pattern "^operations$".
*
+ * [pageToken] - The standard list page token.
+ *
+ * [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:
*
@@ -1430,12 +1436,6 @@
* * `projectId = my-project AND labels.color = *`
* * `projectId = my-project AND labels.color = red`
*
- * [pageToken] - The standard list page token.
- *
- * [pageSize] - The maximum number of results to return. If unspecified,
- * defaults to
- * 256. The maximum value is 2048.
- *
* Completes with a [ListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1444,7 +1444,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<ListOperationsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListOperationsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1455,15 +1455,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];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
@@ -1826,19 +1826,6 @@
* [readGroupSetId] - Required. The ID of the read group set over which
* coverage is requested.
*
- * [targetBucketWidth] - The desired width of each reported coverage bucket in
- * base pairs. This
- * will be rounded down to the nearest precomputed bucket width; the value
- * of which is returned as `bucketWidth` in the response. Defaults
- * to infinity (each bucket spans an entire reference sequence) or the length
- * of the target range, if specified. The smallest precomputed
- * `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
@@ -1857,6 +1844,19 @@
* inclusive. If
* specified, `referenceName` must also be specified. Defaults to 0.
*
+ * [targetBucketWidth] - The desired width of each reported coverage bucket in
+ * base pairs. This
+ * will be rounded down to the nearest precomputed bucket width; the value
+ * of which is returned as `bucketWidth` in the response. Defaults
+ * to infinity (each bucket spans an entire reference sequence) or the length
+ * of the target range, if specified. The smallest precomputed
+ * `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.
+ *
* Completes with a [ListCoverageBucketsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1865,7 +1865,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<ListCoverageBucketsResponse> list(core.String readGroupSetId, {core.String targetBucketWidth, core.String referenceName, core.String end, core.String pageToken, core.int pageSize, core.String start}) {
+ async.Future<ListCoverageBucketsResponse> list(core.String readGroupSetId, {core.String end, core.String pageToken, core.int pageSize, core.String start, core.String targetBucketWidth, core.String referenceName}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1876,12 +1876,6 @@
if (readGroupSetId == null) {
throw new core.ArgumentError("Parameter readGroupSetId is required.");
}
- if (targetBucketWidth != null) {
- _queryParams["targetBucketWidth"] = [targetBucketWidth];
- }
- if (referenceName != null) {
- _queryParams["referenceName"] = [referenceName];
- }
if (end != null) {
_queryParams["end"] = [end];
}
@@ -1894,6 +1888,12 @@
if (start != null) {
_queryParams["start"] = [start];
}
+ if (targetBucketWidth != null) {
+ _queryParams["targetBucketWidth"] = [targetBucketWidth];
+ }
+ if (referenceName != null) {
+ _queryParams["referenceName"] = [referenceName];
+ }
_url = 'v1/readgroupsets/' + commons.Escaper.ecapeVariable('$readGroupSetId') + '/coveragebuckets';
@@ -2104,6 +2104,13 @@
*
* [referenceId] - The ID of the reference.
*
+ * [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 base
+ * pairs).
+ *
+ * [start] - The start position (0-based) of this query. Defaults to 0.
+ *
* [end] - The end position (0-based, exclusive) of this query. Defaults to
* the length
* of this reference.
@@ -2113,13 +2120,6 @@
* 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 base
- * pairs).
- *
- * [start] - The start position (0-based) of this query. Defaults to 0.
- *
* Completes with a [ListBasesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -2128,7 +2128,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<ListBasesResponse> list(core.String referenceId, {core.String end, core.String pageToken, core.int pageSize, core.String start}) {
+ async.Future<ListBasesResponse> list(core.String referenceId, {core.int pageSize, core.String start, core.String end, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2139,18 +2139,18 @@
if (referenceId == null) {
throw new core.ArgumentError("Parameter referenceId is required.");
}
- if (end != null) {
- _queryParams["end"] = [end];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (start != null) {
_queryParams["start"] = [start];
}
+ if (end != null) {
+ _queryParams["end"] = [end];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1/references/' + commons.Escaper.ecapeVariable('$referenceId') + '/bases';
diff --git a/generated/googleapis/lib/iam/v1.dart b/generated/googleapis/lib/iam/v1.dart
index eb0a529..64402b7 100644
--- a/generated/googleapis/lib/iam/v1.dart
+++ b/generated/googleapis/lib/iam/v1.dart
@@ -208,6 +208,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.
*
@@ -219,8 +221,6 @@
* - "BASIC" : A BASIC.
* - "FULL" : A FULL.
*
- * [showDeleted] - Include Roles that have been deleted.
- *
* Completes with a [ListRolesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -229,7 +229,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<ListRolesResponse> list(core.String parent, {core.String pageToken, core.int pageSize, core.String view, core.bool showDeleted}) {
+ async.Future<ListRolesResponse> list(core.String parent, {core.bool showDeleted, core.String pageToken, core.int pageSize, core.String view}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -240,6 +240,9 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (showDeleted != null) {
+ _queryParams["showDeleted"] = ["${showDeleted}"];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -249,9 +252,6 @@
if (view != null) {
_queryParams["view"] = [view];
}
- if (showDeleted != null) {
- _queryParams["showDeleted"] = ["${showDeleted}"];
- }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/roles';
@@ -1522,12 +1522,6 @@
*
* Request parameters:
*
- * [pageToken] - Optional pagination token returned in an earlier
- * ListRolesResponse.
- *
- * [pageSize] - Optional limit on the number of roles to include in the
- * response.
- *
* [view] - Optional view for the returned Role objects.
* Possible string values are:
* - "BASIC" : A BASIC.
@@ -1541,6 +1535,12 @@
*
* [showDeleted] - Include Roles that have been deleted.
*
+ * [pageToken] - Optional pagination token returned in an earlier
+ * ListRolesResponse.
+ *
+ * [pageSize] - Optional limit on the number of roles to include in the
+ * response.
+ *
* Completes with a [ListRolesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1549,7 +1549,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<ListRolesResponse> list({core.String pageToken, core.int pageSize, core.String view, core.String parent, core.bool showDeleted}) {
+ async.Future<ListRolesResponse> list({core.String view, core.String parent, core.bool showDeleted, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1557,12 +1557,6 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (view != null) {
_queryParams["view"] = [view];
}
@@ -1572,6 +1566,12 @@
if (showDeleted != null) {
_queryParams["showDeleted"] = ["${showDeleted}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/roles';
@@ -1814,7 +1814,6 @@
/** The service account key create request. */
class CreateServiceAccountKeyRequest {
- core.bool includePublicKeyData;
/**
* Which type of key and algorithm to use for the key.
* The default is currently a 2K RSA key. However this may change in the
@@ -1841,9 +1840,6 @@
CreateServiceAccountKeyRequest();
CreateServiceAccountKeyRequest.fromJson(core.Map _json) {
- if (_json.containsKey("includePublicKeyData")) {
- includePublicKeyData = _json["includePublicKeyData"];
- }
if (_json.containsKey("keyAlgorithm")) {
keyAlgorithm = _json["keyAlgorithm"];
}
@@ -1854,9 +1850,6 @@
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
- if (includePublicKeyData != null) {
- _json["includePublicKeyData"] = includePublicKeyData;
- }
if (keyAlgorithm != null) {
_json["keyAlgorithm"] = keyAlgorithm;
}
diff --git a/generated/googleapis/lib/kgsearch/v1.dart b/generated/googleapis/lib/kgsearch/v1.dart
index 80ae2c2..d01da4c 100644
--- a/generated/googleapis/lib/kgsearch/v1.dart
+++ b/generated/googleapis/lib/kgsearch/v1.dart
@@ -39,6 +39,8 @@
*
* 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.
@@ -58,8 +60,6 @@
* 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.
- *
* Completes with a [SearchResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -68,7 +68,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<SearchResponse> search({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}) {
+ async.Future<SearchResponse> search({core.int limit, core.bool prefix, core.String query, core.List<core.String> types, core.bool indent, core.List<core.String> languages, core.List<core.String> ids}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -76,6 +76,9 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (limit != null) {
+ _queryParams["limit"] = ["${limit}"];
+ }
if (prefix != null) {
_queryParams["prefix"] = ["${prefix}"];
}
@@ -94,9 +97,6 @@
if (ids != null) {
_queryParams["ids"] = ids;
}
- if (limit != null) {
- _queryParams["limit"] = ["${limit}"];
- }
_url = 'v1/entities:search';
diff --git a/generated/googleapis/lib/logging/v2.dart b/generated/googleapis/lib/logging/v2.dart
index 3b8992c..e49894e 100644
--- a/generated/googleapis/lib/logging/v2.dart
+++ b/generated/googleapis/lib/logging/v2.dart
@@ -127,15 +127,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.
+ *
* Completes with a [ListLogsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -144,7 +144,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}) {
+ async.Future<ListLogsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -155,12 +155,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/logs';
@@ -356,15 +356,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.
+ *
* Completes with a [ListSinksResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -373,7 +373,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}) {
+ async.Future<ListSinksResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -384,12 +384,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}"];
+ }
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/sinks';
@@ -404,12 +404,78 @@
}
/**
- * Updates a sink. If the named sink doesn't exist, then this method is
- * identical to sinks.create. If the named sink does exist, then this method
- * replaces the following fields in the existing sink with values from the new
- * sink: destination, filter, output_version_format, start_time, and end_time.
- * The updated filter might also have a new writer_identity; see the
- * unique_writer_identity field.
+ * Updates a sink. This method replaces the following fields in the existing
+ * sink with values from the new sink: destination, filter,
+ * output_version_format, start_time, and end_time. The updated sink might
+ * also have a new writer_identity; see the unique_writer_identity field.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [sinkName] - Required. The full resource name of the sink to update,
+ * including the parent resource and the sink identifier:
+ * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+ * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+ * "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ * Example: "projects/my-project-id/sinks/my-sink-id".
+ * Value must have pattern "^billingAccounts/[^/]+/sinks/[^/]+$".
+ *
+ * [uniqueWriterIdentity] - Optional. See sinks.create for a description of
+ * this field. When updating a sink, the effect of this field on the value of
+ * writer_identity in the updated sink depends on both the old and new values
+ * of this field:
+ * If the old and new values of this field are both false or both true, then
+ * there is no change to the sink's writer_identity.
+ * If the old value is false and the new value is true, then writer_identity
+ * is changed to a unique service account.
+ * It is an error if the old value is true and the new value is set to false
+ * or defaulted to false.
+ *
+ * Completes with a [LogSink].
+ *
+ * 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<LogSink> patch(LogSink request, core.String sinkName, {core.bool uniqueWriterIdentity}) {
+ 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 (sinkName == null) {
+ throw new core.ArgumentError("Parameter sinkName is required.");
+ }
+ if (uniqueWriterIdentity != null) {
+ _queryParams["uniqueWriterIdentity"] = ["${uniqueWriterIdentity}"];
+ }
+
+ _url = 'v2/' + commons.Escaper.ecapeVariableReserved('$sinkName');
+
+ var _response = _requester.request(_url,
+ "PATCH",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new LogSink.fromJson(data));
+ }
+
+ /**
+ * Updates a sink. This method replaces the following fields in the existing
+ * sink with values from the new sink: destination, filter,
+ * output_version_format, start_time, and end_time. The updated sink might
+ * also have a new writer_identity; see the unique_writer_identity field.
*
* [request] - The metadata request object.
*
@@ -874,15 +940,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.
+ *
* Completes with a [ListSinksResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -891,7 +957,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}) {
+ async.Future<ListSinksResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -902,12 +968,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}"];
+ }
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/sinks';
@@ -922,12 +988,78 @@
}
/**
- * Updates a sink. If the named sink doesn't exist, then this method is
- * identical to sinks.create. If the named sink does exist, then this method
- * replaces the following fields in the existing sink with values from the new
- * sink: destination, filter, output_version_format, start_time, and end_time.
- * The updated filter might also have a new writer_identity; see the
- * unique_writer_identity field.
+ * Updates a sink. This method replaces the following fields in the existing
+ * sink with values from the new sink: destination, filter,
+ * output_version_format, start_time, and end_time. The updated sink might
+ * also have a new writer_identity; see the unique_writer_identity field.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [sinkName] - Required. The full resource name of the sink to update,
+ * including the parent resource and the sink identifier:
+ * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+ * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+ * "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ * Example: "projects/my-project-id/sinks/my-sink-id".
+ * Value must have pattern "^folders/[^/]+/sinks/[^/]+$".
+ *
+ * [uniqueWriterIdentity] - Optional. See sinks.create for a description of
+ * this field. When updating a sink, the effect of this field on the value of
+ * writer_identity in the updated sink depends on both the old and new values
+ * of this field:
+ * If the old and new values of this field are both false or both true, then
+ * there is no change to the sink's writer_identity.
+ * If the old value is false and the new value is true, then writer_identity
+ * is changed to a unique service account.
+ * It is an error if the old value is true and the new value is set to false
+ * or defaulted to false.
+ *
+ * Completes with a [LogSink].
+ *
+ * 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<LogSink> patch(LogSink request, core.String sinkName, {core.bool uniqueWriterIdentity}) {
+ 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 (sinkName == null) {
+ throw new core.ArgumentError("Parameter sinkName is required.");
+ }
+ if (uniqueWriterIdentity != null) {
+ _queryParams["uniqueWriterIdentity"] = ["${uniqueWriterIdentity}"];
+ }
+
+ _url = 'v2/' + commons.Escaper.ecapeVariableReserved('$sinkName');
+
+ var _response = _requester.request(_url,
+ "PATCH",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new LogSink.fromJson(data));
+ }
+
+ /**
+ * Updates a sink. This method replaces the following fields in the existing
+ * sink with values from the new sink: destination, filter,
+ * output_version_format, start_time, and end_time. The updated sink might
+ * also have a new writer_identity; see the unique_writer_identity field.
*
* [request] - The metadata request object.
*
@@ -1006,15 +1138,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.
+ *
* Completes with a [ListMonitoredResourceDescriptorsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1023,7 +1155,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}) {
+ async.Future<ListMonitoredResourceDescriptorsResponse> list({core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1031,12 +1163,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}"];
+ }
_url = 'v2/monitoredResourceDescriptors';
@@ -1411,12 +1543,78 @@
}
/**
- * Updates a sink. If the named sink doesn't exist, then this method is
- * identical to sinks.create. If the named sink does exist, then this method
- * replaces the following fields in the existing sink with values from the new
- * sink: destination, filter, output_version_format, start_time, and end_time.
- * The updated filter might also have a new writer_identity; see the
- * unique_writer_identity field.
+ * Updates a sink. This method replaces the following fields in the existing
+ * sink with values from the new sink: destination, filter,
+ * output_version_format, start_time, and end_time. The updated sink might
+ * also have a new writer_identity; see the unique_writer_identity field.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [sinkName] - Required. The full resource name of the sink to update,
+ * including the parent resource and the sink identifier:
+ * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+ * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+ * "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ * Example: "projects/my-project-id/sinks/my-sink-id".
+ * Value must have pattern "^organizations/[^/]+/sinks/[^/]+$".
+ *
+ * [uniqueWriterIdentity] - Optional. See sinks.create for a description of
+ * this field. When updating a sink, the effect of this field on the value of
+ * writer_identity in the updated sink depends on both the old and new values
+ * of this field:
+ * If the old and new values of this field are both false or both true, then
+ * there is no change to the sink's writer_identity.
+ * If the old value is false and the new value is true, then writer_identity
+ * is changed to a unique service account.
+ * It is an error if the old value is true and the new value is set to false
+ * or defaulted to false.
+ *
+ * Completes with a [LogSink].
+ *
+ * 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<LogSink> patch(LogSink request, core.String sinkName, {core.bool uniqueWriterIdentity}) {
+ 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 (sinkName == null) {
+ throw new core.ArgumentError("Parameter sinkName is required.");
+ }
+ if (uniqueWriterIdentity != null) {
+ _queryParams["uniqueWriterIdentity"] = ["${uniqueWriterIdentity}"];
+ }
+
+ _url = 'v2/' + commons.Escaper.ecapeVariableReserved('$sinkName');
+
+ var _response = _requester.request(_url,
+ "PATCH",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new LogSink.fromJson(data));
+ }
+
+ /**
+ * Updates a sink. This method replaces the following fields in the existing
+ * sink with values from the new sink: destination, filter,
+ * output_version_format, start_time, and end_time. The updated sink might
+ * also have a new writer_identity; see the unique_writer_identity field.
*
* [request] - The metadata request object.
*
@@ -1762,15 +1960,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.
+ *
* Completes with a [ListLogMetricsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1779,7 +1977,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListLogMetricsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListLogMetricsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1790,12 +1988,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}"];
+ }
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/metrics';
@@ -2088,12 +2286,78 @@
}
/**
- * Updates a sink. If the named sink doesn't exist, then this method is
- * identical to sinks.create. If the named sink does exist, then this method
- * replaces the following fields in the existing sink with values from the new
- * sink: destination, filter, output_version_format, start_time, and end_time.
- * The updated filter might also have a new writer_identity; see the
- * unique_writer_identity field.
+ * Updates a sink. This method replaces the following fields in the existing
+ * sink with values from the new sink: destination, filter,
+ * output_version_format, start_time, and end_time. The updated sink might
+ * also have a new writer_identity; see the unique_writer_identity field.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [sinkName] - Required. The full resource name of the sink to update,
+ * including the parent resource and the sink identifier:
+ * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+ * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+ * "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ * Example: "projects/my-project-id/sinks/my-sink-id".
+ * Value must have pattern "^projects/[^/]+/sinks/[^/]+$".
+ *
+ * [uniqueWriterIdentity] - Optional. See sinks.create for a description of
+ * this field. When updating a sink, the effect of this field on the value of
+ * writer_identity in the updated sink depends on both the old and new values
+ * of this field:
+ * If the old and new values of this field are both false or both true, then
+ * there is no change to the sink's writer_identity.
+ * If the old value is false and the new value is true, then writer_identity
+ * is changed to a unique service account.
+ * It is an error if the old value is true and the new value is set to false
+ * or defaulted to false.
+ *
+ * Completes with a [LogSink].
+ *
+ * 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<LogSink> patch(LogSink request, core.String sinkName, {core.bool uniqueWriterIdentity}) {
+ 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 (sinkName == null) {
+ throw new core.ArgumentError("Parameter sinkName is required.");
+ }
+ if (uniqueWriterIdentity != null) {
+ _queryParams["uniqueWriterIdentity"] = ["${uniqueWriterIdentity}"];
+ }
+
+ _url = 'v2/' + commons.Escaper.ecapeVariableReserved('$sinkName');
+
+ var _response = _requester.request(_url,
+ "PATCH",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new LogSink.fromJson(data));
+ }
+
+ /**
+ * Updates a sink. This method replaces the following fields in the existing
+ * sink with values from the new sink: destination, filter,
+ * output_version_format, start_time, and end_time. The updated sink might
+ * also have a new writer_identity; see the unique_writer_identity field.
*
* [request] - The metadata request object.
*
@@ -2213,6 +2477,10 @@
*/
core.String latency;
/**
+ * Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
+ */
+ core.String protocol;
+ /**
* The referer URL of the request, as defined in HTTP/1.1 Header Field
* Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
*/
@@ -2273,6 +2541,9 @@
if (_json.containsKey("latency")) {
latency = _json["latency"];
}
+ if (_json.containsKey("protocol")) {
+ protocol = _json["protocol"];
+ }
if (_json.containsKey("referer")) {
referer = _json["referer"];
}
@@ -2319,6 +2590,9 @@
if (latency != null) {
_json["latency"] = latency;
}
+ if (protocol != null) {
+ _json["protocol"] = protocol;
+ }
if (referer != null) {
_json["referer"] = referer;
}
@@ -3079,9 +3353,8 @@
*/
core.String name;
/**
- * Output only. The API version that created or updated this metric. The
- * version also dictates the syntax of the filter expression. When a value for
- * this field is missing, the default value of V2 should be assumed.
+ * Output only. The API version that created or updated this metric. This
+ * value is currently always set to V2.
* Possible string values are:
* - "V2" : Stackdriver Logging API v2.
* - "V1" : Stackdriver Logging API v1.
diff --git a/generated/googleapis/lib/manufacturers/v1.dart b/generated/googleapis/lib/manufacturers/v1.dart
index 9affd68..88a53a3 100644
--- a/generated/googleapis/lib/manufacturers/v1.dart
+++ b/generated/googleapis/lib/manufacturers/v1.dart
@@ -107,9 +107,10 @@
* Gets the product from a Manufacturer Center account, including product
* issues.
*
- * A recently updated product takes some time to be processed before any
- * changes are visible. While some issues may be available once the product
- * has been processed, other issues may take days to appear.
+ * A recently updated product takes around 15 minutes to process. Changes are
+ * only visible after it has been processed. While some issues may be
+ * available once the product has been processed, other issues may take days
+ * to appear.
*
* Request parameters:
*
@@ -176,12 +177,12 @@
* `account_id` - The ID of the Manufacturer Center account.
* Value must have pattern "^accounts/[^/]+$".
*
+ * [pageToken] - The token returned by the previous request.
+ *
* [pageSize] - Maximum number of product statuses to return in the response,
* used for
* paging.
*
- * [pageToken] - The token returned by the previous request.
- *
* Completes with a [ListProductsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -190,7 +191,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListProductsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListProductsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -201,12 +202,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}"];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/products';
@@ -450,6 +451,11 @@
*/
Price suggestedRetailPrice;
/**
+ * The target account id. Should only be used in the accounts of the data
+ * partners.
+ */
+ core.String targetAccountId;
+ /**
* The theme of the product. For more information, see
* https://support.google.com/manufacturers/answer/6124116#theme.
*/
@@ -555,6 +561,9 @@
if (_json.containsKey("suggestedRetailPrice")) {
suggestedRetailPrice = new Price.fromJson(_json["suggestedRetailPrice"]);
}
+ if (_json.containsKey("targetAccountId")) {
+ targetAccountId = _json["targetAccountId"];
+ }
if (_json.containsKey("theme")) {
theme = _json["theme"];
}
@@ -655,6 +664,9 @@
if (suggestedRetailPrice != null) {
_json["suggestedRetailPrice"] = (suggestedRetailPrice).toJson();
}
+ if (targetAccountId != null) {
+ _json["targetAccountId"] = targetAccountId;
+ }
if (theme != null) {
_json["theme"] = theme;
}
diff --git a/generated/googleapis/lib/ml/v1.dart b/generated/googleapis/lib/ml/v1.dart
index f899547..3db694b 100644
--- a/generated/googleapis/lib/ml/v1.dart
+++ b/generated/googleapis/lib/ml/v1.dart
@@ -271,6 +271,50 @@
}
/**
+ * Gets the access control policy for a resource.
+ * Returns an empty policy if the resource exists and does not have a policy
+ * set.
+ *
+ * Request parameters:
+ *
+ * [resource] - REQUIRED: The resource for which the policy is being
+ * requested.
+ * See the operation documentation for the appropriate value for this field.
+ * Value must have pattern "^projects/[^/]+/jobs/[^/]+$".
+ *
+ * Completes with a [GoogleIamV1Policy].
+ *
+ * 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<GoogleIamV1Policy> getIamPolicy(core.String resource) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':getIamPolicy';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new GoogleIamV1Policy.fromJson(data));
+ }
+
+ /**
* Lists the jobs in the project.
*
* Request parameters:
@@ -333,6 +377,107 @@
return _response.then((data) => new GoogleCloudMlV1ListJobsResponse.fromJson(data));
}
+ /**
+ * Sets the access control policy on the specified resource. Replaces any
+ * existing policy.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - REQUIRED: The resource for which the policy is being
+ * specified.
+ * See the operation documentation for the appropriate value for this field.
+ * Value must have pattern "^projects/[^/]+/jobs/[^/]+$".
+ *
+ * Completes with a [GoogleIamV1Policy].
+ *
+ * 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<GoogleIamV1Policy> setIamPolicy(GoogleIamV1SetIamPolicyRequest request, core.String resource) {
+ 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 (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':setIamPolicy';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new GoogleIamV1Policy.fromJson(data));
+ }
+
+ /**
+ * Returns permissions that a caller has on the specified resource.
+ * If the resource does not exist, this will return an empty set of
+ * permissions, not a NOT_FOUND error.
+ *
+ * Note: This operation is designed to be used for building permission-aware
+ * UIs and command-line tools, not for authorization checking. This operation
+ * may "fail open" without warning.
+ *
+ * [request] - The metadata request object.
+ *
+ * Request parameters:
+ *
+ * [resource] - REQUIRED: The resource for which the policy detail is being
+ * requested.
+ * See the operation documentation for the appropriate value for this field.
+ * Value must have pattern "^projects/[^/]+/jobs/[^/]+$".
+ *
+ * Completes with a [GoogleIamV1TestIamPermissionsResponse].
+ *
+ * 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<GoogleIamV1TestIamPermissionsResponse> testIamPermissions(GoogleIamV1TestIamPermissionsRequest request, core.String resource) {
+ 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 (resource == null) {
+ throw new core.ArgumentError("Parameter resource is required.");
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':testIamPermissions';
+
+ var _response = _requester.request(_url,
+ "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new GoogleIamV1TestIamPermissionsResponse.fromJson(data));
+ }
+
}
@@ -920,9 +1065,6 @@
* model. You
* can get the names of all the versions of a model by calling
* [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list).
- *
- * Authorization: `ml.models.update` permission is required on the parent
- * model.
* Value must have pattern "^projects/[^/]+/models/[^/]+/versions/[^/]+$".
*
* Completes with a [GoogleCloudMlV1Version].
@@ -1120,12 +1262,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.
+ *
* Completes with a [GoogleLongrunningListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1134,7 +1276,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<GoogleLongrunningListOperationsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<GoogleLongrunningListOperationsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1145,15 +1287,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];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + '/operations';
@@ -1514,7 +1656,11 @@
}
}
-/** Represents a training or prediction job. */
+/**
+ * Represents a training or prediction job.
+ *
+ * Next ID: 16
+ */
class GoogleCloudMlV1Job {
/** Output only. When the job was created. */
core.String createTime;
@@ -1755,6 +1901,8 @@
* A model can have multiple versions, each of which is a deployed, trained
* model ready to receive prediction requests. The model itself is just a
* container.
+ *
+ * Next ID: 8
*/
class GoogleCloudMlV1Model {
/**
@@ -1832,7 +1980,11 @@
}
}
-/** Represents the metadata of the long-running operation. */
+/**
+ * Represents the metadata of the long-running operation.
+ *
+ * Next ID: 9
+ */
class GoogleCloudMlV1OperationMetadata {
/** The time the operation was submitted. */
core.String createTime;
@@ -1849,6 +2001,8 @@
* - "CREATE_VERSION" : An operation to create a new version.
* - "DELETE_VERSION" : An operation to delete an existing version.
* - "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.
*/
core.String operationType;
/** The time operation processing started. */
@@ -2242,6 +2396,13 @@
/** Represents input parameters for a prediction job. */
class GoogleCloudMlV1PredictionInput {
/**
+ * Optional. Number of records per batch, defaults to 64.
+ * The service will buffer batch_size number of records in memory before
+ * invoking one Tensorflow prediction call internally. So take the record
+ * size and memory available into consideration when setting this parameter.
+ */
+ core.String batchSize;
+ /**
* Required. The format of the input data files.
* Possible string values are:
* - "DATA_FORMAT_UNSPECIFIED" : Unspecified format.
@@ -2299,6 +2460,9 @@
GoogleCloudMlV1PredictionInput();
GoogleCloudMlV1PredictionInput.fromJson(core.Map _json) {
+ if (_json.containsKey("batchSize")) {
+ batchSize = _json["batchSize"];
+ }
if (_json.containsKey("dataFormat")) {
dataFormat = _json["dataFormat"];
}
@@ -2330,6 +2494,9 @@
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (batchSize != null) {
+ _json["batchSize"] = batchSize;
+ }
if (dataFormat != null) {
_json["dataFormat"] = dataFormat;
}
@@ -2728,6 +2895,8 @@
* prediction requests. A model can have multiple versions. You can get
* information about all of the versions of a given model by calling
* [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list).
+ *
+ * Next ID: 18
*/
class GoogleCloudMlV1Version {
/**
@@ -2795,9 +2964,10 @@
* Possible string values are:
* - "UNKNOWN" : The version state is unspecified.
* - "READY" : The version is ready for prediction.
- * - "CREATING" : The version is still in the process of creation.
+ * - "CREATING" : The version is in the process of creation.
* - "FAILED" : The version failed to be created, possibly cancelled.
* `error_message` should contain the details of the failure.
+ * - "DELETING" : The version is in the process of deletion.
*/
core.String state;
@@ -2946,7 +3116,11 @@
}
}
-/** Represents the metadata of the long-running operation. */
+/**
+ * Represents the metadata of the long-running operation.
+ *
+ * Next ID: 9
+ */
class GoogleCloudMlV1beta1OperationMetadata {
/** The time the operation was submitted. */
core.String createTime;
@@ -2963,6 +3137,8 @@
* - "CREATE_VERSION" : An operation to create a new version.
* - "DELETE_VERSION" : An operation to delete an existing version.
* - "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.
*/
core.String operationType;
/** The time operation processing started. */
@@ -3030,6 +3206,8 @@
* prediction requests. A model can have multiple versions. You can get
* information about all of the versions of a given model by calling
* [projects.models.versions.list](/ml-engine/reference/rest/v1beta1/projects.models.versions/list).
+ *
+ * Next ID: 18
*/
class GoogleCloudMlV1beta1Version {
/**
@@ -3097,9 +3275,10 @@
* Possible string values are:
* - "UNKNOWN" : The version state is unspecified.
* - "READY" : The version is ready for prediction.
- * - "CREATING" : The version is still in the process of creation.
+ * - "CREATING" : The version is in the process of creation.
* - "FAILED" : The version failed to be created, possibly cancelled.
* `error_message` should contain the details of the failure.
+ * - "DELETING" : The version is in the process of deletion.
*/
core.String state;
@@ -3208,7 +3387,30 @@
}
}
-/** Options for counters */
+/**
+ * Increment a streamz counter with the specified metric and field names.
+ *
+ * Metric names should start with a '/', generally be lowercase-only,
+ * and end in "_count". Field names should not contain an initial slash.
+ * The actual exported metric names will have "/iam/policy" prepended.
+ *
+ * Field names correspond to IAM request parameters and field values are
+ * their respective values.
+ *
+ * At present the only supported field names are
+ * - "iam_principal", corresponding to IAMContext.principal;
+ * - "" (empty string), resulting in one aggretated counter with no field.
+ *
+ * Examples:
+ * counter { metric: "/debug_access_count" field: "iam_principal" }
+ * ==> increment counter /iam/policy/backend_debug_access_count
+ * {iam_principal=[value of IAMContext.principal]}
+ *
+ * At this time we do not support:
+ * * multiple field names (though this may be supported in the future)
+ * * decrementing the counter
+ * * incrementing it by anything other than 1
+ */
class GoogleIamV1LogConfigCounterOptions {
/** The field value to attribute. */
core.String field;
@@ -3240,14 +3442,41 @@
/** Write a Data Access (Gin) log */
class GoogleIamV1LogConfigDataAccessOptions {
+ /**
+ * Whether Gin logging should happen in a fail-closed manner at the caller.
+ * This is relevant only in the LocalIAM implementation, for now.
+ * Possible string values are:
+ * - "LOG_MODE_UNSPECIFIED" : Client is not required to write a partial Gin
+ * log immediately after
+ * the authorization check. If client chooses to write one and it fails,
+ * client may either fail open (allow the operation to continue) or
+ * fail closed (handle as a DENY outcome).
+ * - "LOG_FAIL_CLOSED" : The application's operation in the context of which
+ * this authorization
+ * check is being made may only be performed if it is successfully logged
+ * to Gin. For instance, the authorization library may satisfy this
+ * obligation by emitting a partial log entry at authorization check time
+ * and only returning ALLOW to the application if it succeeds.
+ *
+ * If a matching Rule has this directive, but the client has not indicated
+ * that it will honor such requirements, then the IAM check will result in
+ * authorization failure by setting CheckPolicyResponse.success=false.
+ */
+ core.String logMode;
GoogleIamV1LogConfigDataAccessOptions();
GoogleIamV1LogConfigDataAccessOptions.fromJson(core.Map _json) {
+ if (_json.containsKey("logMode")) {
+ logMode = _json["logMode"];
+ }
}
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (logMode != null) {
+ _json["logMode"] = logMode;
+ }
return _json;
}
}
@@ -3589,31 +3818,7 @@
}
}
-/**
- * Specifies what kind of log the caller must write
- * Increment a streamz counter with the specified metric and field names.
- *
- * Metric names should start with a '/', generally be lowercase-only,
- * and end in "_count". Field names should not contain an initial slash.
- * The actual exported metric names will have "/iam/policy" prepended.
- *
- * Field names correspond to IAM request parameters and field values are
- * their respective values.
- *
- * At present the only supported field names are
- * - "iam_principal", corresponding to IAMContext.principal;
- * - "" (empty string), resulting in one aggretated counter with no field.
- *
- * Examples:
- * counter { metric: "/debug_access_count" field: "iam_principal" }
- * ==> increment counter /iam/policy/backend_debug_access_count
- * {iam_principal=[value of IAMContext.principal]}
- *
- * At this time we do not support:
- * * multiple field names (though this may be supported in the future)
- * * decrementing the counter
- * * incrementing it by anything other than 1
- */
+/** Specifies what kind of log the caller must write */
class GoogleIamV1LogConfig {
/** Cloud audit options. */
GoogleIamV1LogConfigCloudAuditOptions cloudAudit;
diff --git a/generated/googleapis/lib/monitoring/v3.dart b/generated/googleapis/lib/monitoring/v3.dart
index 3a09d37..2501c6d 100644
--- a/generated/googleapis/lib/monitoring/v3.dart
+++ b/generated/googleapis/lib/monitoring/v3.dart
@@ -269,6 +269,11 @@
* "projects/{project_id_or_number}".
* Value must have pattern "^projects/[^/]+$".
*
+ * [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
@@ -290,11 +295,6 @@
* 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.
- *
* Completes with a [ListGroupsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -303,7 +303,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<ListGroupsResponse> list(core.String name, {core.String descendantsOfGroup, core.String pageToken, core.int pageSize, core.String ancestorsOfGroup, core.String childrenOfGroup}) {
+ async.Future<ListGroupsResponse> list(core.String name, {core.String childrenOfGroup, core.String descendantsOfGroup, core.String pageToken, core.int pageSize, core.String ancestorsOfGroup}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -314,6 +314,9 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ if (childrenOfGroup != null) {
+ _queryParams["childrenOfGroup"] = [childrenOfGroup];
+ }
if (descendantsOfGroup != null) {
_queryParams["descendantsOfGroup"] = [descendantsOfGroup];
}
@@ -326,9 +329,6 @@
if (ancestorsOfGroup != null) {
_queryParams["ancestorsOfGroup"] = [ancestorsOfGroup];
}
- if (childrenOfGroup != null) {
- _queryParams["childrenOfGroup"] = [childrenOfGroup];
- }
_url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/groups';
@@ -428,13 +428,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.
- *
* Completes with a [ListGroupMembersResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -443,7 +443,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<ListGroupMembersResponse> list(core.String name, {core.String interval_endTime, core.String filter, core.String pageToken, core.String interval_startTime, core.int pageSize}) {
+ async.Future<ListGroupMembersResponse> list(core.String name, {core.String interval_endTime, core.String filter, core.String pageToken, core.int pageSize, core.String interval_startTime}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -463,12 +463,12 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (interval_startTime != null) {
- _queryParams["interval.startTime"] = [interval_startTime];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (interval_startTime != null) {
+ _queryParams["interval.startTime"] = [interval_startTime];
+ }
_url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/members';
@@ -635,12 +635,6 @@
* "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
@@ -649,6 +643,12 @@
* [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/")
+ *
* Completes with a [ListMetricDescriptorsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -657,7 +657,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<ListMetricDescriptorsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListMetricDescriptorsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -668,15 +668,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];
+ }
_url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/metricDescriptors';
@@ -753,6 +753,12 @@
* "projects/{project_id_or_number}".
* Value must have pattern "^projects/[^/]+$".
*
+ * [filter] - An optional filter describing the descriptors to be returned.
+ * The filter can reference the descriptor's type and labels. For example, the
+ * following filter returns only Google Compute Engine descriptors that have
+ * an id label:
+ * resource.type = starts_with("gce_") AND resource.label:id
+ *
* [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
@@ -761,12 +767,6 @@
* [pageSize] - A positive number that is the maximum number of results to
* return.
*
- * [filter] - An optional filter describing the descriptors to be returned.
- * The filter can reference the descriptor's type and labels. For example, the
- * following filter returns only Google Compute Engine descriptors that have
- * an id label:
- * resource.type = starts_with("gce_") AND resource.label:id
- *
* Completes with a [ListMonitoredResourceDescriptorsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -775,7 +775,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.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<ListMonitoredResourceDescriptorsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -786,15 +786,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];
- }
_url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/monitoredResourceDescriptors';
@@ -876,40 +876,6 @@
* "projects/{project_id_or_number}".
* Value must have pattern "^projects/[^/]+$".
*
- * [orderBy] - Specifies the order in which the points of the time series
- * 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.
- * - "REDUCE_FRACTION_LESS_THAN" : A REDUCE_FRACTION_LESS_THAN.
- *
- * [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
@@ -941,7 +907,6 @@
* - "ALIGN_PERCENTILE_95" : A ALIGN_PERCENTILE_95.
* - "ALIGN_PERCENTILE_50" : A ALIGN_PERCENTILE_50.
* - "ALIGN_PERCENTILE_05" : A ALIGN_PERCENTILE_05.
- * - "ALIGN_MAKE_DISTRIBUTION" : A ALIGN_MAKE_DISTRIBUTION.
*
* [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
@@ -952,9 +917,6 @@
* - "FULL" : A FULL.
* - "HEADERS" : A HEADERS.
*
- * [aggregation_reduceFractionLessThanParams_threshold] - The threshold used
- * by the REDUCE_FRACTION_LESS_THAN cross-series reducer.
- *
* [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
@@ -983,10 +945,38 @@
* will return; if view field is HEADERS, it limits the number of TimeSeries
* server will return.
*
- * [outputPeriod] - If outputPeriod is specified, the data in the response
- * will have the given period. Must be equal to or longer than
- * alignmentPeriod. Must not be used when view is HEADERS. Only used when
- * interval describes an interval longer than a single point.
+ * [orderBy] - Specifies the order in which the points of the time series
+ * 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"
*
* Completes with a [ListTimeSeriesResponse].
*
@@ -996,7 +986,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<ListTimeSeriesResponse> list(core.String name, {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.double aggregation_reduceFractionLessThanParams_threshold, core.List<core.String> aggregation_groupByFields, core.String interval_endTime, core.String aggregation_alignmentPeriod, core.int pageSize, core.String outputPeriod}) {
+ async.Future<ListTimeSeriesResponse> list(core.String name, {core.String pageToken, core.String aggregation_perSeriesAligner, 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}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1007,15 +997,6 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- 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];
}
@@ -1028,9 +1009,6 @@
if (view != null) {
_queryParams["view"] = [view];
}
- if (aggregation_reduceFractionLessThanParams_threshold != null) {
- _queryParams["aggregation.reduceFractionLessThanParams.threshold"] = ["${aggregation_reduceFractionLessThanParams_threshold}"];
- }
if (aggregation_groupByFields != null) {
_queryParams["aggregation.groupByFields"] = aggregation_groupByFields;
}
@@ -1043,8 +1021,14 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (outputPeriod != null) {
- _queryParams["outputPeriod"] = [outputPeriod];
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
+ if (aggregation_crossSeriesReducer != null) {
+ _queryParams["aggregation.crossSeriesReducer"] = [aggregation_crossSeriesReducer];
+ }
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
}
_url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/timeSeries';
diff --git a/generated/googleapis/lib/partners/v2.dart b/generated/googleapis/lib/partners/v2.dart
index 9db967f..e6ddaa8 100644
--- a/generated/googleapis/lib/partners/v2.dart
+++ b/generated/googleapis/lib/partners/v2.dart
@@ -50,11 +50,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.
+ *
* [pageToken] - A token identifying a page of results that the server
* returns.
* Typically, this is the value of `ListAnalyticsResponse.next_page_token`
@@ -99,7 +99,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<ListAnalyticsResponse> list({core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, 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 requestMetadata_trafficSource_trafficSubId}) {
+ async.Future<ListAnalyticsResponse> list({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.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -107,12 +107,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (requestMetadata_partnersSessionId != null) {
- _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
- }
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];
}
@@ -215,13 +215,35 @@
*
* [companyId] - The ID of the company to retrieve.
*
+ * [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.
+ *
+ * [view] - The view of `Company` resource to be returned. This must not be
+ * `COMPANY_VIEW_UNSPECIFIED`.
+ * Possible string values are:
+ * - "COMPANY_VIEW_UNSPECIFIED" : A COMPANY_VIEW_UNSPECIFIED.
+ * - "CV_GOOGLE_PARTNER_SEARCH" : A CV_GOOGLE_PARTNER_SEARCH.
+ *
+ * [requestMetadata_locale] - Locale to use for the current request.
+ *
* [address] - The address to use for sorting the company's addresses by
* proximity.
* If not given, the geo-located address of the request is used.
* Used when order_by is set.
*
- * [requestMetadata_locale] - Locale to use for the current request.
- *
* [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
* where the traffic comes from.
* An identifier has multiple letters created by a team which redirected the
@@ -230,34 +252,12 @@
* [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.
- *
- * [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:
- * - "COMPANY_VIEW_UNSPECIFIED" : A COMPANY_VIEW_UNSPECIFIED.
- * - "CV_GOOGLE_PARTNER_SEARCH" : A CV_GOOGLE_PARTNER_SEARCH.
+ * [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.
*
* Completes with a [GetCompanyResponse].
*
@@ -267,7 +267,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<GetCompanyResponse> get(core.String companyId, {core.String address, core.String requestMetadata_locale, 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 requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String view}) {
+ async.Future<GetCompanyResponse> get(core.String companyId, {core.String orderBy, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String view, core.String requestMetadata_locale, core.String address, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String currencyCode}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -278,38 +278,38 @@
if (companyId == null) {
throw new core.ArgumentError("Parameter companyId is required.");
}
- if (address != null) {
- _queryParams["address"] = [address];
+ 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) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
+ }
+ if (view != null) {
+ _queryParams["view"] = [view];
}
if (requestMetadata_locale != null) {
_queryParams["requestMetadata.locale"] = [requestMetadata_locale];
}
+ if (address != null) {
+ _queryParams["address"] = [address];
+ }
if (requestMetadata_trafficSource_trafficSourceId != null) {
_queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
}
if (requestMetadata_userOverrides_ipAddress != null) {
_queryParams["requestMetadata.userOverrides.ipAddress"] = [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 (requestMetadata_userOverrides_userId != null) {
- _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
- }
- if (requestMetadata_partnersSessionId != null) {
- _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
- }
- if (view != null) {
- _queryParams["view"] = [view];
+ if (currencyCode != null) {
+ _queryParams["currencyCode"] = [currencyCode];
}
_url = 'v2/companies/' + commons.Escaper.ecapeVariable('$companyId');
@@ -329,22 +329,6 @@
*
* Request parameters:
*
- * [companyName] - Company name to search for.
- *
- * [pageToken] - A token identifying a page of results that the server
- * returns.
- * Typically, this is the value of `ListCompaniesResponse.next_page_token`
- * returned from the previous call to
- * ListCompanies.
- *
- * [industries] - List of industries the company can help with.
- *
- * [websiteUrl] - Website URL that will help to find a better matched company.
- * .
- *
- * [gpsMotivations] - List of reasons for using Google Partner Search to get
- * companies.
- *
* [languageCodes] - List of language codes that company can support. Only
* primary language
* subtags are accepted as defined by
@@ -388,11 +372,11 @@
* - "COMPANY_VIEW_UNSPECIFIED" : A COMPANY_VIEW_UNSPECIFIED.
* - "CV_GOOGLE_PARTNER_SEARCH" : A CV_GOOGLE_PARTNER_SEARCH.
*
- * [requestMetadata_locale] - Locale to use for the current request.
- *
* [address] - The address to use when searching for companies.
* If not given, the geo-located address of the request is used.
*
+ * [requestMetadata_locale] - Locale to use for the current request.
+ *
* [minMonthlyBudget_units] - The whole units of the amount.
* For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
*
@@ -408,18 +392,13 @@
* not empty, any returned agency must have at least one of these services,
* or one of the specializations in the "specializations" field.
*
- * [maxMonthlyBudget_units] - The whole units of the amount.
- * For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- *
* [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_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.
+ * [maxMonthlyBudget_units] - The whole units of the amount.
+ * For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
*
* [minMonthlyBudget_nanos] - Number of nano (10^-9) units of the amount.
* The value must be between -999,999,999 and +999,999,999 inclusive.
@@ -428,8 +407,29 @@
* 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.
+ *
+ * [pageToken] - A token identifying a page of results that the server
+ * returns.
+ * Typically, this is the value of `ListCompaniesResponse.next_page_token`
+ * returned from the previous call to
+ * ListCompanies.
+ *
+ * [industries] - List of industries the company can help with.
+ *
+ * [websiteUrl] - Website URL that will help to find a better matched company.
+ * .
+ *
+ * [gpsMotivations] - List of reasons for using Google Partner Search to get
+ * companies.
+ *
* Completes with a [ListCompaniesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -438,7 +438,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<ListCompaniesResponse> list({core.String companyName, core.String pageToken, core.List<core.String> industries, core.String websiteUrl, core.List<core.String> gpsMotivations, core.List<core.String> languageCodes, core.int pageSize, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String orderBy, core.List<core.String> specializations, core.String maxMonthlyBudget_currencyCode, core.String minMonthlyBudget_currencyCode, core.String requestMetadata_userOverrides_userId, core.String view, core.String requestMetadata_locale, core.String address, core.String minMonthlyBudget_units, core.int maxMonthlyBudget_nanos, core.List<core.String> services, core.String maxMonthlyBudget_units, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_trafficSource_trafficSubId, core.int minMonthlyBudget_nanos, core.String requestMetadata_partnersSessionId}) {
+ async.Future<ListCompaniesResponse> list({core.List<core.String> languageCodes, core.int pageSize, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String orderBy, core.List<core.String> specializations, core.String maxMonthlyBudget_currencyCode, core.String minMonthlyBudget_currencyCode, core.String requestMetadata_userOverrides_userId, core.String view, core.String address, core.String requestMetadata_locale, core.String minMonthlyBudget_units, core.int maxMonthlyBudget_nanos, core.List<core.String> services, core.String requestMetadata_trafficSource_trafficSourceId, core.String maxMonthlyBudget_units, core.int minMonthlyBudget_nanos, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_partnersSessionId, core.String companyName, core.String pageToken, core.List<core.String> industries, core.String websiteUrl, core.List<core.String> gpsMotivations}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -446,21 +446,6 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (companyName != null) {
- _queryParams["companyName"] = [companyName];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (industries != null) {
- _queryParams["industries"] = industries;
- }
- if (websiteUrl != null) {
- _queryParams["websiteUrl"] = [websiteUrl];
- }
- if (gpsMotivations != null) {
- _queryParams["gpsMotivations"] = gpsMotivations;
- }
if (languageCodes != null) {
_queryParams["languageCodes"] = languageCodes;
}
@@ -491,12 +476,12 @@
if (view != null) {
_queryParams["view"] = [view];
}
- if (requestMetadata_locale != null) {
- _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
- }
if (address != null) {
_queryParams["address"] = [address];
}
+ if (requestMetadata_locale != null) {
+ _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
+ }
if (minMonthlyBudget_units != null) {
_queryParams["minMonthlyBudget.units"] = [minMonthlyBudget_units];
}
@@ -506,21 +491,36 @@
if (services != null) {
_queryParams["services"] = services;
}
- if (maxMonthlyBudget_units != null) {
- _queryParams["maxMonthlyBudget.units"] = [maxMonthlyBudget_units];
- }
if (requestMetadata_trafficSource_trafficSourceId != null) {
_queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
}
- if (requestMetadata_trafficSource_trafficSubId != null) {
- _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
+ 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 (requestMetadata_partnersSessionId != null) {
_queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
}
+ if (companyName != null) {
+ _queryParams["companyName"] = [companyName];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (industries != null) {
+ _queryParams["industries"] = industries;
+ }
+ if (websiteUrl != null) {
+ _queryParams["websiteUrl"] = [websiteUrl];
+ }
+ if (gpsMotivations != null) {
+ _queryParams["gpsMotivations"] = gpsMotivations;
+ }
_url = 'v2/companies';
@@ -616,11 +616,11 @@
* - "CET_DIGITAL_SALES" : A CET_DIGITAL_SALES.
* - "CET_MOBILE_SITES" : A CET_MOBILE_SITES.
*
+ * [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
@@ -647,7 +647,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<ExamToken> getToken(core.String examType, {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}) {
+ async.Future<ExamToken> getToken(core.String examType, {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}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -658,12 +658,12 @@
if (examType == null) {
throw new core.ArgumentError("Parameter examType 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];
}
@@ -707,6 +707,22 @@
*
* Request parameters:
*
+ * [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.
+ *
+ * [orderBy] - How to order Leads. Currently, only `create_time`
+ * and `create_time desc` are supported
+ *
* [requestMetadata_partnersSessionId] - Google Partners session ID.
*
* [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
@@ -727,22 +743,6 @@
* 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
- * 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.
- *
* Completes with a [ListLeadsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -751,7 +751,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<ListLeadsResponse> list({core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, 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}) {
+ async.Future<ListLeadsResponse> list({core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String orderBy, core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String pageToken, core.int pageSize, core.String requestMetadata_trafficSource_trafficSourceId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -759,6 +759,21 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ 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 (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
if (requestMetadata_partnersSessionId != null) {
_queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
}
@@ -774,21 +789,6 @@
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;
- }
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
- if (requestMetadata_trafficSource_trafficSubId != null) {
- _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
- }
_url = 'v2/leads';
@@ -818,6 +818,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_trafficSource_trafficSourceId] - Identifier to indicate
* where the traffic comes from.
* An identifier has multiple letters created by a team which redirected the
@@ -836,11 +841,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.
- *
* Completes with a [ListOffersResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -849,7 +849,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<ListOffersResponse> list({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}) {
+ async.Future<ListOffersResponse> list({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}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -857,6 +857,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ 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];
}
@@ -872,12 +878,6 @@
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];
- }
_url = 'v2/offers';
@@ -905,6 +905,12 @@
*
* Request parameters:
*
+ * [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
@@ -936,12 +942,6 @@
* [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.
- *
* Completes with a [ListOffersHistoryResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -950,7 +950,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<ListOffersHistoryResponse> list({core.String requestMetadata_trafficSource_trafficSubId, core.String orderBy, core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, 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.bool entireCompany}) {
+ async.Future<ListOffersHistoryResponse> list({core.List<core.String> requestMetadata_experimentIds, core.bool entireCompany, core.String requestMetadata_trafficSource_trafficSubId, core.String orderBy, core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String pageToken, core.int pageSize, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -958,6 +958,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (requestMetadata_experimentIds != null) {
+ _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
+ }
+ if (entireCompany != null) {
+ _queryParams["entireCompany"] = ["${entireCompany}"];
+ }
if (requestMetadata_trafficSource_trafficSubId != null) {
_queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
}
@@ -985,12 +991,6 @@
if (requestMetadata_userOverrides_ipAddress != null) {
_queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
}
- if (requestMetadata_experimentIds != null) {
- _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
- }
- if (entireCompany != null) {
- _queryParams["entireCompany"] = ["${entireCompany}"];
- }
_url = 'v2/offers/history';
@@ -1158,11 +1158,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
@@ -1189,7 +1189,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<CompanyRelation> createCompanyRelation(CompanyRelation request, core.String 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}) {
+ async.Future<CompanyRelation> createCompanyRelation(CompanyRelation request, core.String 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}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1203,12 +1203,12 @@
if (userId == null) {
throw new core.ArgumentError("Parameter userId is required.");
}
- if (requestMetadata_partnersSessionId != null) {
- _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
- }
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];
}
@@ -1253,11 +1253,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.
- *
* [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
* where the traffic comes from.
* An identifier has multiple letters created by a team which redirected the
@@ -1276,7 +1276,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Empty> deleteCompanyRelation(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_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress}) {
+ async.Future<Empty> deleteCompanyRelation(core.String userId, {core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1293,12 +1293,12 @@
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 (requestMetadata_userOverrides_userId != null) {
+ _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
+ }
if (requestMetadata_trafficSource_trafficSourceId != null) {
_queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
}
@@ -1330,6 +1330,14 @@
* 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
@@ -1351,14 +1359,6 @@
* [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.
- *
* Completes with a [User].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1367,7 +1367,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<User> get(core.String userId, {core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, 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}) {
+ async.Future<User> get(core.String userId, {core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String userView, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1378,6 +1378,12 @@
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_partnersSessionId != null) {
_queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
}
@@ -1396,12 +1402,6 @@
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];
- }
_url = 'v2/users/' + commons.Escaper.ecapeVariable('$userId');
@@ -1514,14 +1514,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_partnersSessionId] - Google Partners session ID.
*
* [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
@@ -1537,6 +1529,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.
+ *
* Completes with a [GetPartnersStatusResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1545,7 +1545,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<GetPartnersStatusResponse> getPartnersstatus({core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress}) {
+ async.Future<GetPartnersStatusResponse> getPartnersstatus({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}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1553,12 +1553,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 (requestMetadata_partnersSessionId != null) {
_queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
}
@@ -1574,6 +1568,12 @@
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];
+ }
_url = 'v2/partnersstatus';
@@ -1595,16 +1595,11 @@
*
* Request parameters:
*
- * [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
@@ -1621,6 +1616,11 @@
* [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.
+ *
* Completes with a [Company].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1629,7 +1629,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<Company> updateCompanies(Company request, {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.String updateMask, core.List<core.String> requestMetadata_experimentIds}) {
+ async.Future<Company> updateCompanies(Company request, {core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, 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}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1640,15 +1640,12 @@
if (request != null) {
_body = convert.JSON.encode((request).toJson());
}
- 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) {
_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];
}
@@ -1664,6 +1661,9 @@
if (requestMetadata_experimentIds != null) {
_queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
}
+ if (requestMetadata_trafficSource_trafficSubId != null) {
+ _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
+ }
_url = 'v2/companies';
@@ -1684,6 +1684,16 @@
*
* Request parameters:
*
+ * [requestMetadata_partnersSessionId] - Google Partners session ID.
+ *
+ * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
+ * instead of the user's 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.
+ *
* [requestMetadata_locale] - Locale to use for the current request.
*
* [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
@@ -1701,16 +1711,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.
- *
- * [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.
- *
* Completes with a [Lead].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1719,7 +1719,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<Lead> updateLeads(Lead request, {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 requestMetadata_trafficSource_trafficSourceId}) {
+ async.Future<Lead> updateLeads(Lead request, {core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, 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}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1730,6 +1730,15 @@
if (request != null) {
_body = convert.JSON.encode((request).toJson());
}
+ 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];
+ }
if (requestMetadata_locale != null) {
_queryParams["requestMetadata.locale"] = [requestMetadata_locale];
}
@@ -1745,15 +1754,6 @@
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 (requestMetadata_trafficSource_trafficSourceId != null) {
- _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
- }
_url = 'v2/leads';
diff --git a/generated/googleapis/lib/people/v1.dart b/generated/googleapis/lib/people/v1.dart
index 246dc84..201a9c8 100644
--- a/generated/googleapis/lib/people/v1.dart
+++ b/generated/googleapis/lib/people/v1.dart
@@ -68,11 +68,11 @@
*
* Request parameters:
*
- * [resourceNames] - The resource names of the contact groups to get.
- *
* [maxMembers] - Specifies the maximum number of members to return for each
* group.
*
+ * [resourceNames] - The resource names of the contact groups to get.
+ *
* Completes with a [BatchGetContactGroupsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -81,7 +81,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<BatchGetContactGroupsResponse> batchGet({core.List<core.String> resourceNames, core.int maxMembers}) {
+ async.Future<BatchGetContactGroupsResponse> batchGet({core.int maxMembers, core.List<core.String> resourceNames}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -89,12 +89,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (resourceNames != null) {
- _queryParams["resourceNames"] = resourceNames;
- }
if (maxMembers != null) {
_queryParams["maxMembers"] = ["${maxMembers}"];
}
+ if (resourceNames != null) {
+ _queryParams["resourceNames"] = resourceNames;
+ }
_url = 'v1/contactGroups:batchGet';
@@ -246,16 +246,16 @@
*
* Request parameters:
*
+ * [pageToken] - The next_page_token value returned from a previous call to
+ * [ListContactGroups](/people/api/rest/v1/contactgroups/list).
+ * Requests the next page of resources.
+ *
* [pageSize] - The maximum number of resources to return.
*
* [syncToken] - A sync token, returned by a previous call to
* `contactgroups.list`.
* Only resources changed since the sync token was created will be returned.
*
- * [pageToken] - The next_page_token value returned from a previous call to
- * [ListContactGroups](/people/api/rest/v1/contactgroups/list).
- * Requests the next page of resources.
- *
* Completes with a [ListContactGroupsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -264,7 +264,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<ListContactGroupsResponse> list({core.int pageSize, core.String syncToken, core.String pageToken}) {
+ async.Future<ListContactGroupsResponse> list({core.String pageToken, core.int pageSize, core.String syncToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -272,15 +272,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (syncToken != null) {
_queryParams["syncToken"] = [syncToken];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
_url = 'v1/contactGroups';
@@ -510,6 +510,11 @@
* [`people.connections.list`](/people/api/rest/v1/people.connections/list).
* Value must have pattern "^people/[^/]+$".
*
+ * [requestMask_includeField] - **Required.** Comma-separated list of person
+ * fields to be included in the
+ * response. Each path should start with `person.`: for example,
+ * `person.names` or `person.photos`.
+ *
* [personFields] - **Required.** A field mask to restrict which fields on the
* person are
* returned. Valid values are:
@@ -542,11 +547,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`.
- *
* Completes with a [Person].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -555,7 +555,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<Person> get(core.String resourceName, {core.String personFields, core.String requestMask_includeField}) {
+ async.Future<Person> get(core.String resourceName, {core.String requestMask_includeField, core.String personFields}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -566,12 +566,12 @@
if (resourceName == null) {
throw new core.ArgumentError("Parameter resourceName is required.");
}
- if (personFields != null) {
- _queryParams["personFields"] = [personFields];
- }
if (requestMask_includeField != null) {
_queryParams["requestMask.includeField"] = [requestMask_includeField];
}
+ if (personFields != null) {
+ _queryParams["personFields"] = [personFields];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resourceName');
@@ -594,6 +594,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:
@@ -626,23 +643,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.
- *
* Completes with a [GetPeopleResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -651,7 +651,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<GetPeopleResponse> getBatchGet({core.String personFields, core.String requestMask_includeField, core.List<core.String> resourceNames}) {
+ async.Future<GetPeopleResponse> getBatchGet({core.String requestMask_includeField, core.List<core.String> resourceNames, core.String personFields}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -659,15 +659,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];
+ }
_url = 'v1/people:batchGet';
@@ -834,15 +834,15 @@
*
* [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`.
*
+ * [pageSize] - The number of connections to include in the response. Valid
+ * values are
+ * between 1 and 2000, inclusive. Defaults to 100.
+ *
* [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.
@@ -855,7 +855,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<ListConnectionsResponse> list(core.String resourceName, {core.String personFields, core.String sortOrder, core.bool requestSyncToken, core.String pageToken, core.int pageSize, core.String requestMask_includeField, core.String syncToken}) {
+ async.Future<ListConnectionsResponse> list(core.String resourceName, {core.String personFields, core.String sortOrder, core.bool requestSyncToken, core.String pageToken, core.String requestMask_includeField, core.int pageSize, core.String syncToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -878,12 +878,12 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (requestMask_includeField != null) {
_queryParams["requestMask.includeField"] = [requestMask_includeField];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (syncToken != null) {
_queryParams["syncToken"] = [syncToken];
}
diff --git a/generated/googleapis/lib/playmoviespartner/v1.dart b/generated/googleapis/lib/playmoviespartner/v1.dart
index 17d310c..5823934 100644
--- a/generated/googleapis/lib/playmoviespartner/v1.dart
+++ b/generated/googleapis/lib/playmoviespartner/v1.dart
@@ -103,6 +103,15 @@
* [accountId] - REQUIRED. See _General rules_ for more information about this
* field.
*
+ * [pphNames] - See _List methods rules_ for info about this field.
+ *
+ * [altId] - Filter Avails that match a case-insensitive, partner-specific
+ * custom id.
+ * NOTE: this field is deprecated and will be removed on V2; `alt_ids`
+ * should be used instead.
+ *
+ * [studioNames] - See _List methods rules_ for info about this field.
+ *
* [territories] - Filter Avails that match (case-insensitive) any of the
* given country codes,
* using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us").
@@ -121,15 +130,6 @@
* [altIds] - Filter Avails that match (case-insensitive) any of the given
* partner-specific custom ids.
*
- * [pphNames] - See _List methods rules_ for info about this field.
- *
- * [altId] - Filter Avails that match a case-insensitive, partner-specific
- * custom id.
- * NOTE: this field is deprecated and will be removed on V2; `alt_ids`
- * should be used instead.
- *
- * [studioNames] - See _List methods rules_ for info about this field.
- *
* Completes with a [ListAvailsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -138,7 +138,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<ListAvailsResponse> list(core.String accountId, {core.List<core.String> territories, core.String title, core.List<core.String> videoIds, core.String pageToken, core.int pageSize, core.List<core.String> altIds, core.List<core.String> pphNames, core.String altId, core.List<core.String> studioNames}) {
+ async.Future<ListAvailsResponse> list(core.String accountId, {core.List<core.String> pphNames, core.String altId, core.List<core.String> studioNames, core.List<core.String> territories, core.String title, core.List<core.String> videoIds, core.String pageToken, core.int pageSize, core.List<core.String> altIds}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -149,6 +149,15 @@
if (accountId == null) {
throw new core.ArgumentError("Parameter accountId is required.");
}
+ if (pphNames != null) {
+ _queryParams["pphNames"] = pphNames;
+ }
+ if (altId != null) {
+ _queryParams["altId"] = [altId];
+ }
+ if (studioNames != null) {
+ _queryParams["studioNames"] = studioNames;
+ }
if (territories != null) {
_queryParams["territories"] = territories;
}
@@ -167,15 +176,6 @@
if (altIds != null) {
_queryParams["altIds"] = altIds;
}
- if (pphNames != null) {
- _queryParams["pphNames"] = pphNames;
- }
- if (altId != null) {
- _queryParams["altId"] = [altId];
- }
- if (studioNames != null) {
- _queryParams["studioNames"] = studioNames;
- }
_url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/avails';
@@ -257,25 +257,25 @@
* [accountId] - REQUIRED. See _General rules_ for more information about this
* field.
*
+ * [pageToken] - See _List methods rules_ for info about this field.
+ *
+ * [customId] - Filter Orders that match a case-insensitive, partner-specific
+ * custom id.
+ *
+ * [videoIds] - Filter Orders that match any of the given `video_id`s.
+ *
* [pageSize] - See _List methods rules_ for info about this field.
*
* [pphNames] - See _List methods rules_ for info about this field.
*
* [status] - Filter Orders that match one of the given status.
*
+ * [studioNames] - See _List methods rules_ for info about this field.
+ *
* [name] - Filter that matches Orders with a `name`, `show`, `season` or
* `episode`
* that contains the given case-insensitive name.
*
- * [studioNames] - See _List methods rules_ for info about this field.
- *
- * [videoIds] - Filter Orders that match any of the given `video_id`s.
- *
- * [customId] - Filter Orders that match a case-insensitive, partner-specific
- * custom id.
- *
- * [pageToken] - See _List methods rules_ for info about this field.
- *
* Completes with a [ListOrdersResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -284,7 +284,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<ListOrdersResponse> list(core.String accountId, {core.int pageSize, core.List<core.String> pphNames, core.List<core.String> status, core.String name, core.List<core.String> studioNames, core.List<core.String> videoIds, core.String customId, core.String pageToken}) {
+ async.Future<ListOrdersResponse> list(core.String accountId, {core.String pageToken, core.String customId, core.List<core.String> videoIds, core.int pageSize, core.List<core.String> pphNames, core.List<core.String> status, core.List<core.String> studioNames, core.String name}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -295,6 +295,15 @@
if (accountId == null) {
throw new core.ArgumentError("Parameter accountId is required.");
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (customId != null) {
+ _queryParams["customId"] = [customId];
+ }
+ if (videoIds != null) {
+ _queryParams["videoIds"] = videoIds;
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
@@ -304,20 +313,11 @@
if (status != null) {
_queryParams["status"] = status;
}
- if (name != null) {
- _queryParams["name"] = [name];
- }
if (studioNames != null) {
_queryParams["studioNames"] = studioNames;
}
- if (videoIds != null) {
- _queryParams["videoIds"] = videoIds;
- }
- if (customId != null) {
- _queryParams["customId"] = [customId];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (name != null) {
+ _queryParams["name"] = [name];
}
_url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/orders';
@@ -356,13 +356,13 @@
*
* [seasonIds] - Filter StoreInfos that match any of the given `season_id`s.
*
- * [pageToken] - See _List methods rules_ for info about this field.
+ * [videoIds] - Filter StoreInfos that match any of the given `video_id`s.
*
* [videoId] - Filter StoreInfos that match a given `video_id`.
* NOTE: this field is deprecated and will be removed on V2; `video_ids`
* should be used instead.
*
- * [videoIds] - Filter StoreInfos that match any of the given `video_id`s.
+ * [pageToken] - See _List methods rules_ for info about this field.
*
* [pageSize] - See _List methods rules_ for info about this field.
*
@@ -374,11 +374,11 @@
* given country
* codes, using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us").
*
- * [studioNames] - See _List methods rules_ for info about this field.
- *
* [name] - Filter that matches StoreInfos with a `name` or `show_name`
* that contains the given case-insensitive name.
*
+ * [studioNames] - See _List methods rules_ for info about this field.
+ *
* Completes with a [ListStoreInfosResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -387,7 +387,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<ListStoreInfosResponse> list(core.String accountId, {core.List<core.String> seasonIds, core.String pageToken, core.String videoId, core.List<core.String> videoIds, core.int pageSize, core.List<core.String> mids, core.List<core.String> pphNames, core.List<core.String> countries, core.List<core.String> studioNames, core.String name}) {
+ async.Future<ListStoreInfosResponse> list(core.String accountId, {core.List<core.String> seasonIds, core.List<core.String> videoIds, core.String videoId, core.String pageToken, core.int pageSize, core.List<core.String> mids, core.List<core.String> pphNames, core.List<core.String> countries, core.String name, core.List<core.String> studioNames}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -401,14 +401,14 @@
if (seasonIds != null) {
_queryParams["seasonIds"] = seasonIds;
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (videoIds != null) {
+ _queryParams["videoIds"] = videoIds;
}
if (videoId != null) {
_queryParams["videoId"] = [videoId];
}
- if (videoIds != null) {
- _queryParams["videoIds"] = videoIds;
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
@@ -422,12 +422,12 @@
if (countries != null) {
_queryParams["countries"] = countries;
}
- if (studioNames != null) {
- _queryParams["studioNames"] = studioNames;
- }
if (name != null) {
_queryParams["name"] = [name];
}
+ if (studioNames != null) {
+ _queryParams["studioNames"] = studioNames;
+ }
_url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/storeInfos';
diff --git a/generated/googleapis/lib/pubsub/v1.dart b/generated/googleapis/lib/pubsub/v1.dart
index 6e38f9e..4eec35b 100644
--- a/generated/googleapis/lib/pubsub/v1.dart
+++ b/generated/googleapis/lib/pubsub/v1.dart
@@ -457,13 +457,13 @@
* Format is `projects/{project}`.
* Value must have pattern "^projects/[^/]+$".
*
- * [pageSize] - Maximum number of subscriptions to return.
- *
* [pageToken] - The value returned by the last `ListSubscriptionsResponse`;
* indicates that
* this is a continuation of a prior `ListSubscriptions` call, and that the
* system should return the next page of data.
*
+ * [pageSize] - Maximum number of subscriptions to return.
+ *
* Completes with a [ListSubscriptionsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -472,7 +472,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListSubscriptionsResponse> list(core.String project, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListSubscriptionsResponse> list(core.String project, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -483,12 +483,12 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$project') + '/subscriptions';
@@ -953,13 +953,13 @@
* Format is `projects/{project}`.
* Value must have pattern "^projects/[^/]+$".
*
- * [pageSize] - Maximum number of topics to return.
- *
* [pageToken] - The value returned by the last `ListTopicsResponse`;
* indicates that this is
* a continuation of a prior `ListTopics` call, and that the system should
* return the next page of data.
*
+ * [pageSize] - Maximum number of topics to return.
+ *
* Completes with a [ListTopicsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -968,7 +968,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<ListTopicsResponse> list(core.String project, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListTopicsResponse> list(core.String project, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -979,12 +979,12 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$project') + '/topics';
@@ -1165,13 +1165,13 @@
* Format is `projects/{project}/topics/{topic}`.
* Value must have pattern "^projects/[^/]+/topics/[^/]+$".
*
+ * [pageSize] - Maximum number of subscription names to return.
+ *
* [pageToken] - The value returned by the last
* `ListTopicSubscriptionsResponse`; indicates
* that this is a continuation of a prior `ListTopicSubscriptions` call, and
* that the system should return the next page of data.
*
- * [pageSize] - Maximum number of subscription names to return.
- *
* Completes with a [ListTopicSubscriptionsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1180,7 +1180,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<ListTopicSubscriptionsResponse> list(core.String topic, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListTopicSubscriptionsResponse> list(core.String topic, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1191,12 +1191,12 @@
if (topic == null) {
throw new core.ArgumentError("Parameter topic is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$topic') + '/subscriptions';
diff --git a/generated/googleapis/lib/runtimeconfig/v1.dart b/generated/googleapis/lib/runtimeconfig/v1.dart
index 0759e47..21d80a8 100644
--- a/generated/googleapis/lib/runtimeconfig/v1.dart
+++ b/generated/googleapis/lib/runtimeconfig/v1.dart
@@ -157,12 +157,12 @@
* [name] - The name of the operation's parent resource.
* Value must have pattern "^operations$".
*
- * [filter] - The standard list filter.
- *
* [pageToken] - The standard list page token.
*
* [pageSize] - The standard list page size.
*
+ * [filter] - The standard list filter.
+ *
* Completes with a [ListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -171,7 +171,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<ListOperationsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListOperationsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -182,15 +182,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];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
@@ -421,8 +421,8 @@
/** 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 will be a
- * common set of message types for APIs to use.
+ * 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.
diff --git a/generated/googleapis/lib/safebrowsing/v4.dart b/generated/googleapis/lib/safebrowsing/v4.dart
index 300226c..75ac1a0 100644
--- a/generated/googleapis/lib/safebrowsing/v4.dart
+++ b/generated/googleapis/lib/safebrowsing/v4.dart
@@ -15,10 +15,8 @@
const core.String USER_AGENT = 'dart-api-client safebrowsing/v4';
/**
- * The Safe Browsing API is an experimental API that allows client applications
- * to check URLs against Google's constantly-updated blacklists of suspected
- * phishing and malware pages. Your client application can use the API to
- * download an encrypted table for local, client-side lookups of URLs.
+ * Enables client applications to check web resources (most commonly URLs)
+ * against Google-generated lists of unsafe web resources.
*/
class SafebrowsingApi {
@@ -47,12 +45,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.
+ *
* Completes with a [FindFullHashesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -61,7 +59,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 clientVersion, core.String clientId}) {
+ async.Future<FindFullHashesResponse> get(core.String encodedRequest, {core.String clientId, core.String clientVersion}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -72,12 +70,12 @@
if (encodedRequest == null) {
throw new core.ArgumentError("Parameter encodedRequest is required.");
}
- if (clientVersion != null) {
- _queryParams["clientVersion"] = [clientVersion];
- }
if (clientId != null) {
_queryParams["clientId"] = [clientId];
}
+ if (clientVersion != null) {
+ _queryParams["clientVersion"] = [clientVersion];
+ }
_url = 'v4/encodedFullHashes/' + commons.Escaper.ecapeVariable('$encodedRequest');
@@ -105,12 +103,12 @@
*
* [encodedRequest] - A serialized FetchThreatListUpdatesRequest proto.
*
- * [clientVersion] - The version of the client implementation.
- *
* [clientId] - A client ID that uniquely identifies the client implementation
* of the Safe
* Browsing API.
*
+ * [clientVersion] - The version of the client implementation.
+ *
* Completes with a [FetchThreatListUpdatesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -119,7 +117,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<FetchThreatListUpdatesResponse> get(core.String encodedRequest, {core.String clientVersion, core.String clientId}) {
+ async.Future<FetchThreatListUpdatesResponse> get(core.String encodedRequest, {core.String clientId, core.String clientVersion}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -130,12 +128,12 @@
if (encodedRequest == null) {
throw new core.ArgumentError("Parameter encodedRequest is required.");
}
- if (clientVersion != null) {
- _queryParams["clientVersion"] = [clientVersion];
- }
if (clientId != null) {
_queryParams["clientId"] = [clientId];
}
+ if (clientVersion != null) {
+ _queryParams["clientVersion"] = [clientVersion];
+ }
_url = 'v4/encodedUpdates/' + commons.Escaper.ecapeVariable('$encodedRequest');
@@ -747,7 +745,21 @@
* - "UNWANTED_SOFTWARE" : Unwanted software threat type.
* - "POTENTIALLY_HARMFUL_APPLICATION" : Potentially harmful application
* threat type.
+ * - "SOCIAL_ENGINEERING_INTERNAL" : Social engineering threat type for
+ * internal use.
+ * - "API_ABUSE" : API abuse threat type.
* - "MALICIOUS_BINARY" : Malicious binary threat type.
+ * - "CSD_WHITELIST" : Client side detection whitelist threat type.
+ * - "CSD_DOWNLOAD_WHITELIST" : Client side download detection whitelist
+ * threat type.
+ * - "CLIENT_INCIDENT" : Client incident threat type.
+ * - "CLIENT_INCIDENT_WHITELIST" : Whitelist used when detecting client
+ * incident threats.
+ * This enum was never launched and should be re-used for the next list.
+ * - "APK_MALWARE_OFFLINE" : List used for offline APK checks in PAM.
+ * - "SUBRESOURCE_FILTER" : Patterns to be used for activating the subresource
+ * filter. Interstitial
+ * will not be shown for patterns from this list.
*/
core.String threatType;
@@ -869,7 +881,21 @@
* - "UNWANTED_SOFTWARE" : Unwanted software threat type.
* - "POTENTIALLY_HARMFUL_APPLICATION" : Potentially harmful application
* threat type.
+ * - "SOCIAL_ENGINEERING_INTERNAL" : Social engineering threat type for
+ * internal use.
+ * - "API_ABUSE" : API abuse threat type.
* - "MALICIOUS_BINARY" : Malicious binary threat type.
+ * - "CSD_WHITELIST" : Client side detection whitelist threat type.
+ * - "CSD_DOWNLOAD_WHITELIST" : Client side download detection whitelist
+ * threat type.
+ * - "CLIENT_INCIDENT" : Client incident threat type.
+ * - "CLIENT_INCIDENT_WHITELIST" : Whitelist used when detecting client
+ * incident threats.
+ * This enum was never launched and should be re-used for the next list.
+ * - "APK_MALWARE_OFFLINE" : List used for offline APK checks in PAM.
+ * - "SUBRESOURCE_FILTER" : Patterns to be used for activating the subresource
+ * filter. Interstitial
+ * will not be shown for patterns from this list.
*/
core.String threatType;
@@ -1367,7 +1393,21 @@
* - "UNWANTED_SOFTWARE" : Unwanted software threat type.
* - "POTENTIALLY_HARMFUL_APPLICATION" : Potentially harmful application
* threat type.
+ * - "SOCIAL_ENGINEERING_INTERNAL" : Social engineering threat type for
+ * internal use.
+ * - "API_ABUSE" : API abuse threat type.
* - "MALICIOUS_BINARY" : Malicious binary threat type.
+ * - "CSD_WHITELIST" : Client side detection whitelist threat type.
+ * - "CSD_DOWNLOAD_WHITELIST" : Client side download detection whitelist
+ * threat type.
+ * - "CLIENT_INCIDENT" : Client incident threat type.
+ * - "CLIENT_INCIDENT_WHITELIST" : Whitelist used when detecting client
+ * incident threats.
+ * This enum was never launched and should be re-used for the next list.
+ * - "APK_MALWARE_OFFLINE" : List used for offline APK checks in PAM.
+ * - "SUBRESOURCE_FILTER" : Patterns to be used for activating the subresource
+ * filter. Interstitial
+ * will not be shown for patterns from this list.
*/
core.String threatType;
@@ -1446,7 +1486,21 @@
* - "UNWANTED_SOFTWARE" : Unwanted software threat type.
* - "POTENTIALLY_HARMFUL_APPLICATION" : Potentially harmful application
* threat type.
+ * - "SOCIAL_ENGINEERING_INTERNAL" : Social engineering threat type for
+ * internal use.
+ * - "API_ABUSE" : API abuse threat type.
* - "MALICIOUS_BINARY" : Malicious binary threat type.
+ * - "CSD_WHITELIST" : Client side detection whitelist threat type.
+ * - "CSD_DOWNLOAD_WHITELIST" : Client side download detection whitelist
+ * threat type.
+ * - "CLIENT_INCIDENT" : Client incident threat type.
+ * - "CLIENT_INCIDENT_WHITELIST" : Whitelist used when detecting client
+ * incident threats.
+ * This enum was never launched and should be re-used for the next list.
+ * - "APK_MALWARE_OFFLINE" : List used for offline APK checks in PAM.
+ * - "SUBRESOURCE_FILTER" : Patterns to be used for activating the subresource
+ * filter. Interstitial
+ * will not be shown for patterns from this list.
*/
core.String threatType;
diff --git a/generated/googleapis/lib/script/v1.dart b/generated/googleapis/lib/script/v1.dart
index 3444e08..86e443b 100644
--- a/generated/googleapis/lib/script/v1.dart
+++ b/generated/googleapis/lib/script/v1.dart
@@ -14,7 +14,7 @@
const core.String USER_AGENT = 'dart-api-client script/v1';
-/** Executes Google Apps Script projects. */
+/** Executes functions in Google Apps Script projects. */
class ScriptApi {
/** Read, send, delete, and manage your email */
static const MailGoogleComScope = "https://mail.google.com/";
@@ -80,8 +80,8 @@
*
* Request parameters:
*
- * [scriptId] - The project key of the script to be executed. To find the
- * project key, open
+ * [scriptId] - The script ID of the script to be executed. To find the script
+ * ID, open
* the project in the script editor and select **File > Project properties**.
*
* Completes with a [Operation].
@@ -295,79 +295,6 @@
}
/**
- * A request to retrieve the results from a collection of requests,
- * specified by the operation resource names.
- */
-class JoinAsyncRequest {
- /**
- * List of operation resource names that we want to join,
- * as returned from a call to RunAsync.
- */
- core.List<core.String> names;
- /**
- * The script id which specifies the script which all processes in the names
- * field must be from.
- */
- core.String scriptId;
- /** Timeout for information retrieval in milliseconds. */
- core.String timeout;
-
- JoinAsyncRequest();
-
- JoinAsyncRequest.fromJson(core.Map _json) {
- if (_json.containsKey("names")) {
- names = _json["names"];
- }
- if (_json.containsKey("scriptId")) {
- scriptId = _json["scriptId"];
- }
- if (_json.containsKey("timeout")) {
- timeout = _json["timeout"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
- if (names != null) {
- _json["names"] = names;
- }
- if (scriptId != null) {
- _json["scriptId"] = scriptId;
- }
- if (timeout != null) {
- _json["timeout"] = timeout;
- }
- return _json;
- }
-}
-
-/** An object that provides the return value for the JoinAsync method. */
-class JoinAsyncResponse {
- /**
- * The return values for each script function, in a map of operation resource
- * names to the Operation containing the result of the process. The response
- * will contain either an error or the result of the script function.
- */
- core.Map<core.String, Operation> results;
-
- JoinAsyncResponse();
-
- JoinAsyncResponse.fromJson(core.Map _json) {
- if (_json.containsKey("results")) {
- results = commons.mapMap<core.Map<core.String, core.Object>, Operation>(_json["results"], (core.Map<core.String, core.Object> item) => new Operation.fromJson(item));
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
- if (results != null) {
- _json["results"] = commons.mapMap<Operation, core.Map<core.String, core.Object>>(results, (Operation item) => (item).toJson());
- }
- return _json;
- }
-}
-
-/**
* The response will not arrive until the function finishes executing. The
* maximum runtime is listed in the guide to [limitations in Apps
* Script](https://developers.google.com/apps-script/guides/services/quotas#current_limitations).
@@ -385,7 +312,12 @@
* class.</p>
*/
class Operation {
- /** This field is not used. */
+ /**
+ * This field is only used with asynchronous executions and indicates whether
+ * or not 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` call succeeds but the script function (or Apps Script itself)
@@ -402,7 +334,11 @@
* `String`, `bool` and `null` as well as `Map` and `List` values.
*/
core.Map<core.String, core.Object> metadata;
- /** This field is not used. */
+ /**
+ * This field is only used with asynchronous executions and contains a unique
+ * identifier that can be used to subsequently invoke a `get` `cancel` or
+ * `join` on the asynchronous script execution identified by this name.
+ */
core.String name;
/**
* If the script function returns successfully, this field will contain an
@@ -493,7 +429,7 @@
class Status {
/**
* The status code. For this API, this value will always be 3, corresponding
- * to an INVALID_ARGUMENT error.
+ * to an <code>INVALID_ARGUMENT</code> error.
*/
core.int code;
/**
diff --git a/generated/googleapis/lib/servicecontrol/v1.dart b/generated/googleapis/lib/servicecontrol/v1.dart
index 15fb800..c779ae5 100644
--- a/generated/googleapis/lib/servicecontrol/v1.dart
+++ b/generated/googleapis/lib/servicecontrol/v1.dart
@@ -703,7 +703,11 @@
* It is not guaranteed that the principal was allowed to use this authority.
*/
core.String authoritySelector;
- /** The email address of the authenticated user making the request. */
+ /**
+ * The email address of the authenticated user making the request.
+ * For privacy reasons, the principal email address is redacted for all
+ * read-only operations that fail with a "permission denied" error.
+ */
core.String principalEmail;
AuthenticationInfo();
@@ -1982,7 +1986,11 @@
* Map of quota group name to the actual number of tokens consumed. If the
* quota check was not successful, then this will not be populated due to no
* quota consumption.
- * Deprecated: Use quota_metrics to get per quota group usage.
+ *
+ * We are not merging this field with 'quota_metrics' field because of the
+ * complexity of scaling in Chemist client code base. For simplicity, we will
+ * keep this field for Castor (that scales quota usage) and 'quota_metrics'
+ * for SuperQuota (that doesn't scale quota usage).
*/
core.Map<core.String, core.int> quotaConsumed;
/**
@@ -2056,10 +2064,9 @@
*/
core.String methodName;
/**
- * Identity of the operation. This must be unique within the scope of the
- * service that generated the operation. If the service calls AllocateQuota
- * and ReleaseQuota on the same operation, the two calls should carry the
- * same ID.
+ * Identity of the operation. This is expected to be unique within the scope
+ * of the service that generated the operation, and guarantees idempotency in
+ * case of retries.
*
* UUID version 4 is recommended, though not required. In scenarios where an
* operation is computed from existing information and an idempotent id is
diff --git a/generated/googleapis/lib/servicemanagement/v1.dart b/generated/googleapis/lib/servicemanagement/v1.dart
index d5ac500..e4cc9a8 100644
--- a/generated/googleapis/lib/servicemanagement/v1.dart
+++ b/generated/googleapis/lib/servicemanagement/v1.dart
@@ -96,6 +96,10 @@
*
* Request parameters:
*
+ * [pageSize] - The maximum number of operations to return. If unspecified,
+ * defaults to
+ * 50. The maximum value is 100.
+ *
* [filter] - A string for filtering Operations.
* The following filter fields are supported:
*
@@ -122,10 +126,6 @@
*
* [name] - Not used.
*
- * [pageSize] - The maximum number of operations to return. If unspecified,
- * defaults to
- * 50. The maximum value is 100.
- *
* Completes with a [ListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -134,7 +134,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<ListOperationsResponse> list({core.String filter, core.String pageToken, core.String name, core.int pageSize}) {
+ async.Future<ListOperationsResponse> list({core.int pageSize, core.String filter, core.String pageToken, core.String name}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -142,6 +142,9 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (filter != null) {
_queryParams["filter"] = [filter];
}
@@ -151,9 +154,6 @@
if (name != null) {
_queryParams["name"] = [name];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
_url = 'v1/operations';
@@ -578,6 +578,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
@@ -588,10 +592,6 @@
* previous list
* call.
*
- * [pageSize] - Requested size of the next page of data.
- *
- * [producerProjectId] - Include services produced by the specified project.
- *
* Completes with a [ListServicesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -600,7 +600,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<ListServicesResponse> list({core.String consumerId, core.String pageToken, core.int pageSize, core.String producerProjectId}) {
+ async.Future<ListServicesResponse> list({core.int pageSize, core.String producerProjectId, core.String consumerId, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -608,18 +608,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];
+ }
_url = 'v1/services';
@@ -1365,18 +1365,28 @@
}
}
-/** Api is a light-weight descriptor for a protocol buffer service. */
+/**
+ * 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 api, in unspecified order. */
+ /** The methods of this interface, in unspecified order. */
core.List<Method> methods;
- /** Included APIs. See Mixin. */
+ /** Included interfaces. See Mixin. */
core.List<Mixin> mixins;
/**
- * The fully qualified name of this api, including package name
- * followed by the api's simple name.
+ * 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 API. */
+ /** Any metadata attached to the interface. */
core.List<Option> options;
/**
* Source context for the protocol buffer service represented by this
@@ -1391,13 +1401,12 @@
*/
core.String syntax;
/**
- * A version string for this api. 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.
+ * 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
@@ -1407,10 +1416,10 @@
* chosen based on the product plan.
*
* The major version is also reflected in the package name of the
- * API, which must end in `v<major-version>`, as in
+ * 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, none-GA apis.
+ * experimental, non-GA interfaces.
*/
core.String version;
@@ -1647,6 +1656,11 @@
*/
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`.
*
@@ -1684,6 +1698,9 @@
if (_json.containsKey("audiences")) {
audiences = _json["audiences"];
}
+ if (_json.containsKey("authorizationUrl")) {
+ authorizationUrl = _json["authorizationUrl"];
+ }
if (_json.containsKey("id")) {
id = _json["id"];
}
@@ -1700,6 +1717,9 @@
if (audiences != null) {
_json["audiences"] = audiences;
}
+ if (authorizationUrl != null) {
+ _json["authorizationUrl"] = authorizationUrl;
+ }
if (id != null) {
_json["id"] = id;
}
@@ -2119,8 +2139,6 @@
/** Write a Cloud Audit log */
class CloudAuditOptions {
- /** True if the log is for a permission of type DATA_READ or ADMIN_READ. */
- core.bool isReadPermissionType;
/**
* The log_name to populate in the Cloud Audit Record.
* Possible string values are:
@@ -2133,9 +2151,6 @@
CloudAuditOptions();
CloudAuditOptions.fromJson(core.Map _json) {
- if (_json.containsKey("isReadPermissionType")) {
- isReadPermissionType = _json["isReadPermissionType"];
- }
if (_json.containsKey("logName")) {
logName = _json["logName"];
}
@@ -2143,9 +2158,6 @@
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
- if (isReadPermissionType != null) {
- _json["isReadPermissionType"] = isReadPermissionType;
- }
if (logName != null) {
_json["logName"] = logName;
}
@@ -2598,7 +2610,30 @@
}
}
-/** Options for counters */
+/**
+ * Increment a streamz counter with the specified metric and field names.
+ *
+ * Metric names should start with a '/', generally be lowercase-only,
+ * and end in "_count". Field names should not contain an initial slash.
+ * The actual exported metric names will have "/iam/policy" prepended.
+ *
+ * Field names correspond to IAM request parameters and field values are
+ * their respective values.
+ *
+ * At present the only supported field names are
+ * - "iam_principal", corresponding to IAMContext.principal;
+ * - "" (empty string), resulting in one aggretated counter with no field.
+ *
+ * Examples:
+ * counter { metric: "/debug_access_count" field: "iam_principal" }
+ * ==> increment counter /iam/policy/backend_debug_access_count
+ * {iam_principal=[value of IAMContext.principal]}
+ *
+ * At this time we do not support:
+ * * multiple field names (though this may be supported in the future)
+ * * decrementing the counter
+ * * incrementing it by anything other than 1
+ */
class CounterOptions {
/** The field value to attribute. */
core.String field;
@@ -2770,14 +2805,41 @@
/** Write a Data Access (Gin) log */
class DataAccessOptions {
+ /**
+ * Whether Gin logging should happen in a fail-closed manner at the caller.
+ * This is relevant only in the LocalIAM implementation, for now.
+ * Possible string values are:
+ * - "LOG_MODE_UNSPECIFIED" : Client is not required to write a partial Gin
+ * log immediately after
+ * the authorization check. If client chooses to write one and it fails,
+ * client may either fail open (allow the operation to continue) or
+ * fail closed (handle as a DENY outcome).
+ * - "LOG_FAIL_CLOSED" : The application's operation in the context of which
+ * this authorization
+ * check is being made may only be performed if it is successfully logged
+ * to Gin. For instance, the authorization library may satisfy this
+ * obligation by emitting a partial log entry at authorization check time
+ * and only returning ALLOW to the application if it succeeds.
+ *
+ * If a matching Rule has this directive, but the client has not indicated
+ * that it will honor such requirements, then the IAM check will result in
+ * authorization failure by setting CheckPolicyResponse.success=false.
+ */
+ core.String logMode;
DataAccessOptions();
DataAccessOptions.fromJson(core.Map _json) {
+ if (_json.containsKey("logMode")) {
+ logMode = _json["logMode"];
+ }
}
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (logMode != null) {
+ _json["logMode"] = logMode;
+ }
return _json;
}
}
@@ -4029,43 +4091,6 @@
*/
core.String responseBody;
/**
- * 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;
- /**
- * 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 compatability with apiary, it is specified as insert.
- */
- core.String restMethodName;
- /**
* Selects methods to which this rule applies.
*
* Refer to selector for syntax details.
@@ -4108,12 +4133,6 @@
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"];
}
@@ -4154,12 +4173,6 @@
if (responseBody != null) {
_json["responseBody"] = responseBody;
}
- if (restCollection != null) {
- _json["restCollection"] = restCollection;
- }
- if (restMethodName != null) {
- _json["restMethodName"] = restMethodName;
- }
if (selector != null) {
_json["selector"] = selector;
}
@@ -4333,31 +4346,7 @@
}
}
-/**
- * Specifies what kind of log the caller must write
- * Increment a streamz counter with the specified metric and field names.
- *
- * Metric names should start with a '/', generally be lowercase-only,
- * and end in "_count". Field names should not contain an initial slash.
- * The actual exported metric names will have "/iam/policy" prepended.
- *
- * Field names correspond to IAM request parameters and field values are
- * their respective values.
- *
- * At present the only supported field names are
- * - "iam_principal", corresponding to IAMContext.principal;
- * - "" (empty string), resulting in one aggretated counter with no field.
- *
- * Examples:
- * counter { metric: "/debug_access_count" field: "iam_principal" }
- * ==> increment counter /iam/policy/backend_debug_access_count
- * {iam_principal=[value of IAMContext.principal]}
- *
- * At this time we do not support:
- * * multiple field names (though this may be supported in the future)
- * * decrementing the counter
- * * incrementing it by anything other than 1
- */
+/** Specifies what kind of log the caller must write */
class LogConfig {
/** Cloud audit options. */
CloudAuditOptions cloudAudit;
@@ -4791,7 +4780,7 @@
}
}
-/** Method represents a method of an api. */
+/** Method represents a method of an API interface. */
class Method {
/** The simple name of this method. */
core.String name;
@@ -5112,9 +5101,9 @@
}
/**
- * Declares an API to be included in this API. The including API must
- * redeclare all the methods from the included API, but documentation
- * and options are inherited as follows:
+ * 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
@@ -5126,7 +5115,8 @@
*
* - 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 API plus the root path if specified.
+ * version of the including interface plus the root path if
+ * specified.
*
* Example of a simple mixin:
*
@@ -5191,7 +5181,7 @@
* }
*/
class Mixin {
- /** The fully qualified name of the API which is included. */
+ /** The fully qualified name of the interface which is included. */
core.String name;
/**
* If non-empty specifies a path under which inherited HTTP paths
@@ -6353,10 +6343,10 @@
/** API backend configuration. */
Backend backend;
/**
- * The version of the service configuration. The config version may
- * influence interpretation of the configuration, for example, to
- * determine defaults. This is documented together with applicable
- * options. The current default for the config version itself is `3`.
+ * 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. */
diff --git a/generated/googleapis/lib/serviceuser/v1.dart b/generated/googleapis/lib/serviceuser/v1.dart
index 24a1071..fc53b5c 100644
--- a/generated/googleapis/lib/serviceuser/v1.dart
+++ b/generated/googleapis/lib/serviceuser/v1.dart
@@ -281,18 +281,28 @@
-/** Api is a light-weight descriptor for a protocol buffer service. */
+/**
+ * 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 api, in unspecified order. */
+ /** The methods of this interface, in unspecified order. */
core.List<Method> methods;
- /** Included APIs. See Mixin. */
+ /** Included interfaces. See Mixin. */
core.List<Mixin> mixins;
/**
- * The fully qualified name of this api, including package name
- * followed by the api's simple name.
+ * 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 API. */
+ /** Any metadata attached to the interface. */
core.List<Option> options;
/**
* Source context for the protocol buffer service represented by this
@@ -307,13 +317,12 @@
*/
core.String syntax;
/**
- * A version string for this api. 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.
+ * 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
@@ -323,10 +332,10 @@
* chosen based on the product plan.
*
* The major version is also reflected in the package name of the
- * API, which must end in `v<major-version>`, as in
+ * 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, none-GA apis.
+ * experimental, non-GA interfaces.
*/
core.String version;
@@ -406,6 +415,11 @@
*/
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`.
*
@@ -443,6 +457,9 @@
if (_json.containsKey("audiences")) {
audiences = _json["audiences"];
}
+ if (_json.containsKey("authorizationUrl")) {
+ authorizationUrl = _json["authorizationUrl"];
+ }
if (_json.containsKey("id")) {
id = _json["id"];
}
@@ -459,6 +476,9 @@
if (audiences != null) {
_json["audiences"] = audiences;
}
+ if (authorizationUrl != null) {
+ _json["authorizationUrl"] = authorizationUrl;
+ }
if (id != null) {
_json["id"] = id;
}
@@ -690,6 +710,66 @@
}
}
+/**
+ * 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 {
/**
@@ -1874,6 +1954,13 @@
*/
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
@@ -1919,6 +2006,8 @@
*/
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:
@@ -1938,6 +2027,8 @@
*/
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:
@@ -1951,8 +2042,9 @@
* };
* }
*
- * This method has the automatically derived rest method name "create", but
- * for backwards compatability with apiary, it is specified as 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;
/**
@@ -1968,6 +2060,9 @@
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"];
}
@@ -2014,6 +2109,9 @@
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;
}
@@ -2494,7 +2592,7 @@
}
}
-/** Method represents a method of an api. */
+/** Method represents a method of an API interface. */
class Method {
/** The simple name of this method. */
core.String name;
@@ -2815,9 +2913,9 @@
}
/**
- * Declares an API to be included in this API. The including API must
- * redeclare all the methods from the included API, but documentation
- * and options are inherited as follows:
+ * 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
@@ -2829,7 +2927,8 @@
*
* - 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 API plus the root path if specified.
+ * version of the including interface plus the root path if
+ * specified.
*
* Example of a simple mixin:
*
@@ -2894,7 +2993,7 @@
* }
*/
class Mixin {
- /** The fully qualified name of the API which is included. */
+ /** The fully qualified name of the interface which is included. */
core.String name;
/**
* If non-empty specifies a path under which inherited HTTP paths
@@ -3799,10 +3898,10 @@
/** API backend configuration. */
Backend backend;
/**
- * The version of the service configuration. The config version may
- * influence interpretation of the configuration, for example, to
- * determine defaults. This is documented together with applicable
- * options. The current default for the config version itself is `3`.
+ * 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. */
diff --git a/generated/googleapis/lib/sheets/v4.dart b/generated/googleapis/lib/sheets/v4.dart
index aba9b49..d3aca56 100644
--- a/generated/googleapis/lib/sheets/v4.dart
+++ b/generated/googleapis/lib/sheets/v4.dart
@@ -317,6 +317,11 @@
* [range] - The A1 notation of a range to search for a logical table of data.
* Values will be appended after the last row of the table.
*
+ * [includeValuesInResponse] - Determines if the update response should
+ * include the values
+ * of the cells that were appended. By default, responses
+ * do not include the updated values.
+ *
* [responseValueRenderOption] - Determines how values in the response should
* be rendered.
* The default render option is ValueRenderOption.FORMATTED_VALUE.
@@ -345,11 +350,6 @@
* - "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 appended. By default, responses
- * do not include the updated values.
- *
* Completes with a [AppendValuesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -358,7 +358,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<AppendValuesResponse> append(ValueRange request, core.String spreadsheetId, core.String range, {core.String responseValueRenderOption, core.String insertDataOption, core.String valueInputOption, core.String responseDateTimeRenderOption, core.bool includeValuesInResponse}) {
+ async.Future<AppendValuesResponse> append(ValueRange request, core.String spreadsheetId, core.String range, {core.bool includeValuesInResponse, core.String responseValueRenderOption, core.String insertDataOption, core.String valueInputOption, core.String responseDateTimeRenderOption}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -375,6 +375,9 @@
if (range == null) {
throw new core.ArgumentError("Parameter range is required.");
}
+ if (includeValuesInResponse != null) {
+ _queryParams["includeValuesInResponse"] = ["${includeValuesInResponse}"];
+ }
if (responseValueRenderOption != null) {
_queryParams["responseValueRenderOption"] = [responseValueRenderOption];
}
@@ -387,9 +390,6 @@
if (responseDateTimeRenderOption != null) {
_queryParams["responseDateTimeRenderOption"] = [responseDateTimeRenderOption];
}
- if (includeValuesInResponse != null) {
- _queryParams["includeValuesInResponse"] = ["${includeValuesInResponse}"];
- }
_url = 'v4/spreadsheets/' + commons.Escaper.ecapeVariable('$spreadsheetId') + '/values/' + commons.Escaper.ecapeVariable('$range') + ':append';
@@ -458,6 +458,20 @@
*
* [spreadsheetId] - The ID of the spreadsheet to retrieve data from.
*
+ * [majorDimension] - The major dimension that results should use.
+ *
+ * For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
+ * then requesting `range=A1:B2,majorDimension=ROWS` will return
+ * `[[1,2],[3,4]]`,
+ * whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return
+ * `[[1,3],[2,4]]`.
+ * Possible string values are:
+ * - "DIMENSION_UNSPECIFIED" : A DIMENSION_UNSPECIFIED.
+ * - "ROWS" : A ROWS.
+ * - "COLUMNS" : A COLUMNS.
+ *
+ * [ranges] - The A1 notation of the values to retrieve.
+ *
* [dateTimeRenderOption] - How dates, times, and durations should be
* represented in the output.
* This is ignored if value_render_option is
@@ -474,20 +488,6 @@
* - "UNFORMATTED_VALUE" : A UNFORMATTED_VALUE.
* - "FORMULA" : A FORMULA.
*
- * [majorDimension] - The major dimension that results should use.
- *
- * For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
- * then requesting `range=A1:B2,majorDimension=ROWS` will return
- * `[[1,2],[3,4]]`,
- * whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return
- * `[[1,3],[2,4]]`.
- * Possible string values are:
- * - "DIMENSION_UNSPECIFIED" : A DIMENSION_UNSPECIFIED.
- * - "ROWS" : A ROWS.
- * - "COLUMNS" : A COLUMNS.
- *
- * [ranges] - The A1 notation of the values to retrieve.
- *
* Completes with a [BatchGetValuesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -496,7 +496,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<BatchGetValuesResponse> batchGet(core.String spreadsheetId, {core.String dateTimeRenderOption, core.String valueRenderOption, core.String majorDimension, core.List<core.String> ranges}) {
+ async.Future<BatchGetValuesResponse> batchGet(core.String spreadsheetId, {core.String majorDimension, core.List<core.String> ranges, core.String dateTimeRenderOption, core.String valueRenderOption}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -507,18 +507,18 @@
if (spreadsheetId == null) {
throw new core.ArgumentError("Parameter spreadsheetId is required.");
}
- if (dateTimeRenderOption != null) {
- _queryParams["dateTimeRenderOption"] = [dateTimeRenderOption];
- }
- if (valueRenderOption != null) {
- _queryParams["valueRenderOption"] = [valueRenderOption];
- }
if (majorDimension != null) {
_queryParams["majorDimension"] = [majorDimension];
}
if (ranges != null) {
_queryParams["ranges"] = ranges;
}
+ if (dateTimeRenderOption != null) {
+ _queryParams["dateTimeRenderOption"] = [dateTimeRenderOption];
+ }
+ if (valueRenderOption != null) {
+ _queryParams["valueRenderOption"] = [valueRenderOption];
+ }
_url = 'v4/spreadsheets/' + commons.Escaper.ecapeVariable('$spreadsheetId') + '/values:batchGet';
diff --git a/generated/googleapis/lib/slides/v1.dart b/generated/googleapis/lib/slides/v1.dart
index e4bd9e3..e78d873 100644
--- a/generated/googleapis/lib/slides/v1.dart
+++ b/generated/googleapis/lib/slides/v1.dart
@@ -825,7 +825,7 @@
* and `DISC` bullet glyph for
* the first 3 list nesting levels.
* - "BULLET_STAR_CIRCLE_SQUARE" : A bulleted list with a `STAR`, `CIRCLE` and
- * `DISC` bullet glyph for
+ * `SQUARE` bullet glyph for
* the first 3 list nesting levels.
* - "BULLET_ARROW3D_CIRCLE_SQUARE" : A bulleted list with a `ARROW3D`,
* `CIRCLE` and `SQUARE` bullet glyph for
diff --git a/generated/googleapis/lib/spanner/v1.dart b/generated/googleapis/lib/spanner/v1.dart
index 340b45a..1040f3f 100644
--- a/generated/googleapis/lib/spanner/v1.dart
+++ b/generated/googleapis/lib/spanner/v1.dart
@@ -402,6 +402,14 @@
* requested. Values are of the form `projects/<project>`.
* Value must have pattern "^projects/[^/]+$".
*
+ * [pageToken] - If non-empty, `page_token` should contain a
+ * next_page_token from a
+ * previous ListInstancesResponse.
+ *
+ * [pageSize] - Number of instances to be returned in the response. If 0 or
+ * less, defaults
+ * to the server's maximum allowed page size.
+ *
* [filter] - An expression for filtering the results of the request. Filter
* rules are
* case insensitive. The fields eligible for filtering are:
@@ -423,14 +431,6 @@
* it has the label "env" with its value
* containing "dev".
*
- * [pageToken] - If non-empty, `page_token` should contain a
- * next_page_token from a
- * previous ListInstancesResponse.
- *
- * [pageSize] - Number of instances to be returned in the response. If 0 or
- * less, defaults
- * to the server's maximum allowed page size.
- *
* Completes with a [ListInstancesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -439,7 +439,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<ListInstancesResponse> list(core.String parent, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListInstancesResponse> list(core.String parent, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -450,15 +450,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];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/instances';
@@ -2224,6 +2224,36 @@
}
}
+/** Authorization-related information used by Cloud Audit Logging. */
+class AuthorizationLoggingOptions {
+ /**
+ * The type of the permission that was checked.
+ * Possible string values are:
+ * - "PERMISSION_TYPE_UNSPECIFIED" : Default. Should not be used.
+ * - "ADMIN_READ" : A read of admin (meta) data.
+ * - "ADMIN_WRITE" : A write of admin (meta) data.
+ * - "DATA_READ" : A read of standard data.
+ * - "DATA_WRITE" : A write of standard data.
+ */
+ core.String permissionType;
+
+ AuthorizationLoggingOptions();
+
+ AuthorizationLoggingOptions.fromJson(core.Map _json) {
+ if (_json.containsKey("permissionType")) {
+ permissionType = _json["permissionType"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (permissionType != null) {
+ _json["permissionType"] = permissionType;
+ }
+ return _json;
+ }
+}
+
/** The request for BeginTransaction. */
class BeginTransactionRequest {
/** Required. Options for the new transaction. */
@@ -2374,6 +2404,8 @@
/** Write a Cloud Audit log */
class CloudAuditOptions {
+ /** Information used by the Cloud Audit Logging pipeline. */
+ AuthorizationLoggingOptions authorizationLoggingOptions;
/**
* The log_name to populate in the Cloud Audit Record.
* Possible string values are:
@@ -2386,6 +2418,9 @@
CloudAuditOptions();
CloudAuditOptions.fromJson(core.Map _json) {
+ if (_json.containsKey("authorizationLoggingOptions")) {
+ authorizationLoggingOptions = new AuthorizationLoggingOptions.fromJson(_json["authorizationLoggingOptions"]);
+ }
if (_json.containsKey("logName")) {
logName = _json["logName"];
}
@@ -2393,6 +2428,9 @@
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (authorizationLoggingOptions != null) {
+ _json["authorizationLoggingOptions"] = (authorizationLoggingOptions).toJson();
+ }
if (logName != null) {
_json["logName"] = logName;
}
@@ -3036,7 +3074,7 @@
core.String description;
/**
* Textual representation of an expression in
- * [Common Expression Language](http://go/api-expr) syntax.
+ * Common Expression Language syntax.
*
* The application context of the containing message determines which
* well-known feature set of CEL is supported.
@@ -3216,6 +3254,21 @@
/**
* Required. The number of nodes allocated to this instance. This may be zero
* in API responses for instances that are not yet in state `READY`.
+ *
+ * Each Spanner node can provide up to 10,000 QPS of reads or 2000 QPS of
+ * writes (writing single rows at 1KB data per row), and 2 TiB storage.
+ *
+ * For optimal performance, we recommend provisioning enough nodes to keep
+ * overall CPU utilization under 75%.
+ *
+ * A minimum of 3 nodes is recommended for production environments. This
+ * minimum is required for SLAs to apply to your instance.
+ *
+ * Note that Cloud Spanner performance is highly dependent on workload, schema
+ * design, and dataset characteristics. The performance numbers above are
+ * estimates, and assume [best
+ * practices](https://cloud.google.com/spanner/docs/bulk-loading)
+ * are followed.
*/
core.int nodeCount;
/**
@@ -3668,7 +3721,31 @@
}
}
-/** Specifies what kind of log the caller must write */
+/**
+ * Specifies what kind of log the caller must write
+ * Increment a streamz counter with the specified metric and field names.
+ *
+ * Metric names should start with a '/', generally be lowercase-only,
+ * and end in "_count". Field names should not contain an initial slash.
+ * The actual exported metric names will have "/iam/policy" prepended.
+ *
+ * Field names correspond to IAM request parameters and field values are
+ * their respective values.
+ *
+ * At present the only supported field names are
+ * - "iam_principal", corresponding to IAMContext.principal;
+ * - "" (empty string), resulting in one aggretated counter with no field.
+ *
+ * Examples:
+ * counter { metric: "/debug_access_count" field: "iam_principal" }
+ * ==> increment counter /iam/policy/backend_debug_access_count
+ * {iam_principal=[value of IAMContext.principal]}
+ *
+ * At this time we do not support:
+ * * multiple field names (though this may be supported in the future)
+ * * decrementing the counter
+ * * incrementing it by anything other than 1
+ */
class LogConfig {
/** Cloud audit options. */
CloudAuditOptions cloudAudit;
@@ -4953,8 +5030,8 @@
/** 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 will be a
- * common set of message types for APIs to use.
+ * 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.
diff --git a/generated/googleapis/lib/speech/v1.dart b/generated/googleapis/lib/speech/v1.dart
index 11ecaac..5b0c2b8 100644
--- a/generated/googleapis/lib/speech/v1.dart
+++ b/generated/googleapis/lib/speech/v1.dart
@@ -581,9 +581,10 @@
*/
class RecognitionConfig {
/**
- * *Optional* If `true`, a list of `words` are returned in the top result,
- * containing the start and end timestamps for those words. The default value,
- * 'false' does not return any word-level timing information.
+ * *Optional* If `true`, the top result includes a list of words and
+ * the start and end time offsets (timestamps) for those words. If
+ * `false`, no word-level time offset information is returned. The default is
+ * `false`.
*/
core.bool enableWordTimeOffsets;
/**
@@ -825,7 +826,7 @@
*/
core.String transcript;
/**
- * *Output-only* List of word-specific information for each recognized word.
+ * *Output-only* A list of word-specific information for each recognized word.
*/
core.List<WordInfo> words;
@@ -863,7 +864,7 @@
/**
* *Output-only* May contain one or more recognition hypotheses (up to the
* maximum specified in `max_alternatives`).
- * These alternatives are ordered in terms of accuracy, with the first/top
+ * These alternatives are ordered in terms of accuracy, with the top (first)
* alternative being the most probable, as ranked by the recognizer.
*/
core.List<SpeechRecognitionAlternative> alternatives;
@@ -989,8 +990,9 @@
}
/**
- * Word-specific information detected along with speech recognition when certain
- * request parameters are set.
+ * Word-specific information for recognized words. Word information is only
+ * included in the response when certain request parameters are set, such
+ * as `enable_word_time_offsets`.
*/
class WordInfo {
/**
diff --git a/generated/googleapis/lib/storage/v1.dart b/generated/googleapis/lib/storage/v1.dart
index 5e5bcd2..005d959 100644
--- a/generated/googleapis/lib/storage/v1.dart
+++ b/generated/googleapis/lib/storage/v1.dart
@@ -1566,7 +1566,7 @@
*
* Request parameters:
*
- * [bucket] - Name of a GCS bucket.
+ * [bucket] - Name of a Google Cloud Storage bucket.
*
* [userProject] - The project to be billed for this request, for Requester
* Pays buckets.
@@ -2040,7 +2040,8 @@
* access.
*
* [ifGenerationMatch] - Makes the operation conditional on whether the
- * object's current generation matches the given value.
+ * object's current generation matches the given value. Setting to 0 makes the
+ * operation succeed only if there are no live versions of the object.
*
* [ifMetagenerationMatch] - Makes the operation conditional on whether the
* object's current metageneration matches the given value.
@@ -2159,10 +2160,14 @@
* access.
*
* [ifGenerationMatch] - Makes the operation conditional on whether the
- * destination object's current generation matches the given value.
+ * destination object's current generation matches the given value. Setting to
+ * 0 makes the operation succeed only if there are no live versions of the
+ * object.
*
* [ifGenerationNotMatch] - Makes the operation conditional on whether the
- * destination object's current generation does not match the given value.
+ * destination object's current generation does not match the given value. If
+ * no live object exists, the precondition fails. Setting to 0 makes the
+ * operation succeed only if there is a live version of the object.
*
* [ifMetagenerationMatch] - Makes the operation conditional on whether the
* destination object's current metageneration matches the given value.
@@ -2171,10 +2176,10 @@
* destination object's current metageneration does not match the given value.
*
* [ifSourceGenerationMatch] - Makes the operation conditional on whether the
- * source object's generation matches the given value.
+ * source object's current generation matches the given value.
*
* [ifSourceGenerationNotMatch] - Makes the operation conditional on whether
- * the source object's generation does not match the given value.
+ * the source object's current generation does not match the given value.
*
* [ifSourceMetagenerationMatch] - Makes the operation conditional on whether
* the source object's current metageneration matches the given value.
@@ -2305,10 +2310,13 @@
* object (as opposed to the latest version, the default).
*
* [ifGenerationMatch] - Makes the operation conditional on whether the
- * object's current generation matches the given value.
+ * object's current generation matches the given value. Setting to 0 makes the
+ * operation succeed only if there are no live versions of the object.
*
* [ifGenerationNotMatch] - Makes the operation conditional on whether the
- * object's current generation does not match the given value.
+ * object's current generation does not match the given value. If no live
+ * object exists, the precondition fails. Setting to 0 makes the operation
+ * succeed only if there is a live version of the object.
*
* [ifMetagenerationMatch] - Makes the operation conditional on whether the
* object's current metageneration matches the given value.
@@ -2386,10 +2394,13 @@
* opposed to the latest version, the default).
*
* [ifGenerationMatch] - Makes the operation conditional on whether the
- * object's generation matches the given value.
+ * object's current generation matches the given value. Setting to 0 makes the
+ * operation succeed only if there are no live versions of the object.
*
* [ifGenerationNotMatch] - Makes the operation conditional on whether the
- * object's generation does not match the given value.
+ * object's current generation does not match the given value. If no live
+ * object exists, the precondition fails. Setting to 0 makes the operation
+ * succeed only if there is a live version of the object.
*
* [ifMetagenerationMatch] - Makes the operation conditional on whether the
* object's current metageneration matches the given value.
@@ -2550,10 +2561,13 @@
* uploaded.
*
* [ifGenerationMatch] - Makes the operation conditional on whether the
- * object's current generation matches the given value.
+ * object's current generation matches the given value. Setting to 0 makes the
+ * operation succeed only if there are no live versions of the object.
*
* [ifGenerationNotMatch] - Makes the operation conditional on whether the
- * object's current generation does not match the given value.
+ * object's current generation does not match the given value. If no live
+ * object exists, the precondition fails. Setting to 0 makes the operation
+ * succeed only if there is a live version of the object.
*
* [ifMetagenerationMatch] - Makes the operation conditional on whether the
* object's current metageneration matches the given value.
@@ -2792,10 +2806,13 @@
* opposed to the latest version, the default).
*
* [ifGenerationMatch] - Makes the operation conditional on whether the
- * object's current generation matches the given value.
+ * object's current generation matches the given value. Setting to 0 makes the
+ * operation succeed only if there are no live versions of the object.
*
* [ifGenerationNotMatch] - Makes the operation conditional on whether the
- * object's current generation does not match the given value.
+ * object's current generation does not match the given value. If no live
+ * object exists, the precondition fails. Setting to 0 makes the operation
+ * succeed only if there is a live version of the object.
*
* [ifMetagenerationMatch] - Makes the operation conditional on whether the
* object's current metageneration matches the given value.
@@ -2929,10 +2946,13 @@
* access.
*
* [ifGenerationMatch] - Makes the operation conditional on whether the
- * destination object's current generation matches the given value.
+ * object's current generation matches the given value. Setting to 0 makes the
+ * operation succeed only if there are no live versions of the object.
*
* [ifGenerationNotMatch] - Makes the operation conditional on whether the
- * destination object's current generation does not match the given value.
+ * object's current generation does not match the given value. If no live
+ * object exists, the precondition fails. Setting to 0 makes the operation
+ * succeed only if there is a live version of the object.
*
* [ifMetagenerationMatch] - Makes the operation conditional on whether the
* destination object's current metageneration matches the given value.
@@ -2941,10 +2961,10 @@
* destination object's current metageneration does not match the given value.
*
* [ifSourceGenerationMatch] - Makes the operation conditional on whether the
- * source object's generation matches the given value.
+ * source object's current generation matches the given value.
*
* [ifSourceGenerationNotMatch] - Makes the operation conditional on whether
- * the source object's generation does not match the given value.
+ * the source object's current generation does not match the given value.
*
* [ifSourceMetagenerationMatch] - Makes the operation conditional on whether
* the source object's current metageneration matches the given value.
@@ -3210,10 +3230,13 @@
* opposed to the latest version, the default).
*
* [ifGenerationMatch] - Makes the operation conditional on whether the
- * object's current generation matches the given value.
+ * object's current generation matches the given value. Setting to 0 makes the
+ * operation succeed only if there are no live versions of the object.
*
* [ifGenerationNotMatch] - Makes the operation conditional on whether the
- * object's current generation does not match the given value.
+ * object's current generation does not match the given value. If no live
+ * object exists, the precondition fails. Setting to 0 makes the operation
+ * succeed only if there is a live version of the object.
*
* [ifMetagenerationMatch] - Makes the operation conditional on whether the
* object's current metageneration matches the given value.
@@ -3432,7 +3455,8 @@
_requester = client;
/**
- * Get the email address of this project's GCS service account.
+ * Get the email address of this project's Google Cloud Storage service
+ * account.
*
* Request parameters:
*
@@ -4755,8 +4779,8 @@
/** Content-Language of the object data. */
core.String contentLanguage;
/**
- * Content-Type of the object data. If contentType is not specified, object
- * downloads will be served as application/octet-stream.
+ * Content-Type of the object data. If an object is stored without a
+ * Content-Type, it is served as application/octet-stream.
*/
core.String contentType;
/**
@@ -5362,10 +5386,11 @@
core.String kind;
/**
* The ID of the resource to which this policy belongs. Will be of the form
- * buckets/bucket for buckets, and buckets/bucket/objects/object for objects.
- * A specific generation may be specified by appending #generationNumber to
- * the end of the object name, e.g. buckets/my-bucket/objects/data.txt#17. The
- * current generation can be denoted with #0. This field is ignored on input.
+ * projects/_/buckets/bucket for buckets, and
+ * projects/_/buckets/bucket/objects/object for objects. A specific generation
+ * may be specified by appending #generationNumber to the end of the object
+ * name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current
+ * generation can be denoted with #0. This field is ignored on input.
*/
core.String resourceId;
diff --git a/generated/googleapis/lib/storagetransfer/v1.dart b/generated/googleapis/lib/storagetransfer/v1.dart
index 82e3151..db18a60 100644
--- a/generated/googleapis/lib/storagetransfer/v1.dart
+++ b/generated/googleapis/lib/storagetransfer/v1.dart
@@ -190,10 +190,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 of
* {"project_id":"my_project_id",
* "job_names":["jobid1","jobid2",...],
@@ -204,6 +200,10 @@
* and `job_statuses` are optional. The valid values for `job_statuses` are
* case-insensitive: `ENABLED`, `DISABLED`, and `DELETED`.
*
+ * [pageToken] - The list page token.
+ *
+ * [pageSize] - The list page size. The max allowed value is 256.
+ *
* Completes with a [ListTransferJobsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -212,7 +212,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<ListTransferJobsResponse> list({core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<ListTransferJobsResponse> list({core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -220,15 +220,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
_url = 'v1/transferJobs';
@@ -439,6 +439,10 @@
* [name] - The value `transferOperations`.
* Value must have pattern "^transferOperations$".
*
+ * [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 of
* {\"project_id\" : \"my_project_id\", \"job_names\" : [\"jobid1\",
* \"jobid2\",...], \"operation_names\" : [\"opid1\", \"opid2\",...],
@@ -447,10 +451,6 @@
* must be specified with array notation. `job_names`, `operation_names`, and
* `transfer_statuses` are optional.
*
- * [pageToken] - The list page token.
- *
- * [pageSize] - The list page size. The max allowed value is 256.
- *
* Completes with a [ListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -459,7 +459,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<ListOperationsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListOperationsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -470,15 +470,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];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
@@ -2074,7 +2074,10 @@
*/
core.String projectId;
/**
- * The job to update.
+ * The job to update. `transferJob` is expected to specify only three fields:
+ * `description`, `transferSpec`, and `status`. An UpdateTransferJobRequest
+ * that specifies other fields will be rejected with an error
+ * `INVALID_ARGUMENT`.
* Required.
*/
TransferJob transferJob;
diff --git a/generated/googleapis/lib/streetviewpublish/v1.dart b/generated/googleapis/lib/streetviewpublish/v1.dart
index ea6b58e..0eab26c 100644
--- a/generated/googleapis/lib/streetviewpublish/v1.dart
+++ b/generated/googleapis/lib/streetviewpublish/v1.dart
@@ -519,6 +519,9 @@
*
* Request parameters:
*
+ * [filter] - The filter expression. For example:
+ * `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`.
+ *
* [pageToken] - The
* nextPageToken
* value returned from a previous
@@ -538,9 +541,6 @@
* - "BASIC" : A BASIC.
* - "INCLUDE_DOWNLOAD_URL" : A INCLUDE_DOWNLOAD_URL.
*
- * [filter] - The filter expression. For example:
- * `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`.
- *
* Completes with a [ListPhotosResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -549,7 +549,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<ListPhotosResponse> list({core.String pageToken, core.int pageSize, core.String view, core.String filter}) {
+ async.Future<ListPhotosResponse> list({core.String filter, core.String pageToken, core.int pageSize, core.String view}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -557,6 +557,9 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -566,9 +569,6 @@
if (view != null) {
_queryParams["view"] = [view];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
_url = 'v1/photos';
diff --git a/generated/googleapis/lib/vault/v1.dart b/generated/googleapis/lib/vault/v1.dart
index c3afa4d..a2d5a7b 100644
--- a/generated/googleapis/lib/vault/v1.dart
+++ b/generated/googleapis/lib/vault/v1.dart
@@ -839,8 +839,8 @@
/**
* Lists HeldAccounts for a hold. This will only list individually specified
- * held accounts. If the hold is on an OU, then use the
- * <ahref="https://developers.google.com/admin-sdk/">Admin SDK</a>
+ * held accounts. If the hold is on an OU, then use
+ * <a href="https://developers.google.com/admin-sdk/">Admin SDK</a>
* to enumerate its members.
*
* Request parameters:
@@ -1041,8 +1041,8 @@
*/
class HeldAccount {
/**
- * The account's ID as provided by the <a
- * href="https://developers.google.com/admin-sdk/">Admin SDK</a>.
+ * The account's ID as provided by the
+ * <a href="https://developers.google.com/admin-sdk/">Admin SDK</a>.
*/
core.String accountId;
/** When the account was put on hold. */
diff --git a/generated/googleapis/lib/youtubereporting/v1.dart b/generated/googleapis/lib/youtubereporting/v1.dart
index 4b73fa2..3759afe 100644
--- a/generated/googleapis/lib/youtubereporting/v1.dart
+++ b/generated/googleapis/lib/youtubereporting/v1.dart
@@ -193,10 +193,6 @@
*
* Request parameters:
*
- * [onBehalfOfContentOwner] - The content owner's external ID on which behalf
- * the user is acting on. If
- * not set, the user is acting for himself (his own channel).
- *
* [includeSystemManaged] - If set to true, also system-managed jobs will be
* returned; otherwise only
* user-created jobs will be returned. System-managed jobs can neither be
@@ -212,6 +208,10 @@
* 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).
+ *
* Completes with a [ListJobsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -220,7 +220,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<ListJobsResponse> list({core.String onBehalfOfContentOwner, core.bool includeSystemManaged, core.String pageToken, core.int pageSize}) {
+ async.Future<ListJobsResponse> list({core.bool includeSystemManaged, core.String pageToken, core.int pageSize, core.String onBehalfOfContentOwner}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -228,9 +228,6 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
- }
if (includeSystemManaged != null) {
_queryParams["includeSystemManaged"] = ["${includeSystemManaged}"];
}
@@ -240,6 +237,9 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (onBehalfOfContentOwner != null) {
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
+ }
_url = 'v1/jobs';
diff --git a/generated/googleapis/pubspec.yaml b/generated/googleapis/pubspec.yaml
index fc6f748..e8ed9a1 100644
--- a/generated/googleapis/pubspec.yaml
+++ b/generated/googleapis/pubspec.yaml
@@ -1,5 +1,5 @@
name: googleapis
-version: 0.42.0
+version: 0.43.0
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, 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, discovery:v1, dns:v1, doubleclickbidmanager:v1, doubleclicksearch:v2, drive:v2, drive:v3, firebasedynamiclinks: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, playmoviespartner:v1, plus:v1, plusDomains:v1, prediction:v1.6, pubsub:v1, qpxExpress: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, translate:v2, urlshortener:v1, vault:v1, vision:v1, webfonts:v1, webmasters:v3, youtube:v3, youtubeAnalytics:v1, youtubereporting:v1"
homepage: http://www.dartlang.org/googleapis/
diff --git a/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart b/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart
index 0c0d7a1..b2b08b0 100644
--- a/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart
+++ b/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart
@@ -97,14 +97,14 @@
buildCounterAmpUrlError--;
}
-buildUnnamed1241() {
+buildUnnamed1258() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1241(core.List<core.String> o) {
+checkUnnamed1258(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -116,7 +116,7 @@
buildCounterBatchGetAmpUrlsRequest++;
if (buildCounterBatchGetAmpUrlsRequest < 3) {
o.lookupStrategy = "foo";
- o.urls = buildUnnamed1241();
+ o.urls = buildUnnamed1258();
}
buildCounterBatchGetAmpUrlsRequest--;
return o;
@@ -126,32 +126,32 @@
buildCounterBatchGetAmpUrlsRequest++;
if (buildCounterBatchGetAmpUrlsRequest < 3) {
unittest.expect(o.lookupStrategy, unittest.equals('foo'));
- checkUnnamed1241(o.urls);
+ checkUnnamed1258(o.urls);
}
buildCounterBatchGetAmpUrlsRequest--;
}
-buildUnnamed1242() {
+buildUnnamed1259() {
var o = new core.List<api.AmpUrl>();
o.add(buildAmpUrl());
o.add(buildAmpUrl());
return o;
}
-checkUnnamed1242(core.List<api.AmpUrl> o) {
+checkUnnamed1259(core.List<api.AmpUrl> o) {
unittest.expect(o, unittest.hasLength(2));
checkAmpUrl(o[0]);
checkAmpUrl(o[1]);
}
-buildUnnamed1243() {
+buildUnnamed1260() {
var o = new core.List<api.AmpUrlError>();
o.add(buildAmpUrlError());
o.add(buildAmpUrlError());
return o;
}
-checkUnnamed1243(core.List<api.AmpUrlError> o) {
+checkUnnamed1260(core.List<api.AmpUrlError> o) {
unittest.expect(o, unittest.hasLength(2));
checkAmpUrlError(o[0]);
checkAmpUrlError(o[1]);
@@ -162,8 +162,8 @@
var o = new api.BatchGetAmpUrlsResponse();
buildCounterBatchGetAmpUrlsResponse++;
if (buildCounterBatchGetAmpUrlsResponse < 3) {
- o.ampUrls = buildUnnamed1242();
- o.urlErrors = buildUnnamed1243();
+ o.ampUrls = buildUnnamed1259();
+ o.urlErrors = buildUnnamed1260();
}
buildCounterBatchGetAmpUrlsResponse--;
return o;
@@ -172,8 +172,8 @@
checkBatchGetAmpUrlsResponse(api.BatchGetAmpUrlsResponse o) {
buildCounterBatchGetAmpUrlsResponse++;
if (buildCounterBatchGetAmpUrlsResponse < 3) {
- checkUnnamed1242(o.ampUrls);
- checkUnnamed1243(o.urlErrors);
+ checkUnnamed1259(o.ampUrls);
+ checkUnnamed1260(o.urlErrors);
}
buildCounterBatchGetAmpUrlsResponse--;
}
diff --git a/generated/googleapis/test/adexperiencereport/v1_test.dart b/generated/googleapis/test/adexperiencereport/v1_test.dart
index e37e454..c5444d2 100644
--- a/generated/googleapis/test/adexperiencereport/v1_test.dart
+++ b/generated/googleapis/test/adexperiencereport/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1757() {
+buildUnnamed1774() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1757(core.List<core.String> o) {
+checkUnnamed1774(core.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,12 +69,12 @@
var o = new api.PlatformSummary();
buildCounterPlatformSummary++;
if (buildCounterPlatformSummary < 3) {
+ o.abusiveStatus = "foo";
o.betterAdsStatus = "foo";
- o.egregiousStatus = "foo";
o.enforcementTime = "foo";
o.filterStatus = "foo";
o.lastChangeTime = "foo";
- o.region = buildUnnamed1757();
+ o.region = buildUnnamed1774();
o.reportUrl = "foo";
o.underReview = true;
}
@@ -85,12 +85,12 @@
checkPlatformSummary(api.PlatformSummary o) {
buildCounterPlatformSummary++;
if (buildCounterPlatformSummary < 3) {
+ unittest.expect(o.abusiveStatus, unittest.equals('foo'));
unittest.expect(o.betterAdsStatus, unittest.equals('foo'));
- unittest.expect(o.egregiousStatus, unittest.equals('foo'));
unittest.expect(o.enforcementTime, unittest.equals('foo'));
unittest.expect(o.filterStatus, unittest.equals('foo'));
unittest.expect(o.lastChangeTime, unittest.equals('foo'));
- checkUnnamed1757(o.region);
+ checkUnnamed1774(o.region);
unittest.expect(o.reportUrl, unittest.equals('foo'));
unittest.expect(o.underReview, unittest.isTrue);
}
@@ -120,14 +120,14 @@
buildCounterSiteSummaryResponse--;
}
-buildUnnamed1758() {
+buildUnnamed1775() {
var o = new core.List<api.SiteSummaryResponse>();
o.add(buildSiteSummaryResponse());
o.add(buildSiteSummaryResponse());
return o;
}
-checkUnnamed1758(core.List<api.SiteSummaryResponse> o) {
+checkUnnamed1775(core.List<api.SiteSummaryResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkSiteSummaryResponse(o[0]);
checkSiteSummaryResponse(o[1]);
@@ -138,7 +138,7 @@
var o = new api.ViolatingSitesResponse();
buildCounterViolatingSitesResponse++;
if (buildCounterViolatingSitesResponse < 3) {
- o.violatingSites = buildUnnamed1758();
+ o.violatingSites = buildUnnamed1775();
}
buildCounterViolatingSitesResponse--;
return o;
@@ -147,7 +147,7 @@
checkViolatingSitesResponse(api.ViolatingSitesResponse o) {
buildCounterViolatingSitesResponse++;
if (buildCounterViolatingSitesResponse < 3) {
- checkUnnamed1758(o.violatingSites);
+ checkUnnamed1775(o.violatingSites);
}
buildCounterViolatingSitesResponse--;
}
diff --git a/generated/googleapis/test/admin/datatransfer_v1_test.dart b/generated/googleapis/test/admin/datatransfer_v1_test.dart
index b19c2d5..516d98f 100644
--- a/generated/googleapis/test/admin/datatransfer_v1_test.dart
+++ b/generated/googleapis/test/admin/datatransfer_v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed163() {
+buildUnnamed168() {
var o = new core.List<api.ApplicationTransferParam>();
o.add(buildApplicationTransferParam());
o.add(buildApplicationTransferParam());
return o;
}
-checkUnnamed163(core.List<api.ApplicationTransferParam> o) {
+checkUnnamed168(core.List<api.ApplicationTransferParam> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationTransferParam(o[0]);
checkApplicationTransferParam(o[1]);
@@ -73,7 +73,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.transferParams = buildUnnamed163();
+ o.transferParams = buildUnnamed168();
}
buildCounterApplication--;
return o;
@@ -86,19 +86,19 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed163(o.transferParams);
+ checkUnnamed168(o.transferParams);
}
buildCounterApplication--;
}
-buildUnnamed164() {
+buildUnnamed169() {
var o = new core.List<api.ApplicationTransferParam>();
o.add(buildApplicationTransferParam());
o.add(buildApplicationTransferParam());
return o;
}
-checkUnnamed164(core.List<api.ApplicationTransferParam> o) {
+checkUnnamed169(core.List<api.ApplicationTransferParam> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationTransferParam(o[0]);
checkApplicationTransferParam(o[1]);
@@ -110,7 +110,7 @@
buildCounterApplicationDataTransfer++;
if (buildCounterApplicationDataTransfer < 3) {
o.applicationId = "foo";
- o.applicationTransferParams = buildUnnamed164();
+ o.applicationTransferParams = buildUnnamed169();
o.applicationTransferStatus = "foo";
}
buildCounterApplicationDataTransfer--;
@@ -121,20 +121,20 @@
buildCounterApplicationDataTransfer++;
if (buildCounterApplicationDataTransfer < 3) {
unittest.expect(o.applicationId, unittest.equals('foo'));
- checkUnnamed164(o.applicationTransferParams);
+ checkUnnamed169(o.applicationTransferParams);
unittest.expect(o.applicationTransferStatus, unittest.equals('foo'));
}
buildCounterApplicationDataTransfer--;
}
-buildUnnamed165() {
+buildUnnamed170() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed165(core.List<core.String> o) {
+checkUnnamed170(core.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,7 +146,7 @@
buildCounterApplicationTransferParam++;
if (buildCounterApplicationTransferParam < 3) {
o.key = "foo";
- o.value = buildUnnamed165();
+ o.value = buildUnnamed170();
}
buildCounterApplicationTransferParam--;
return o;
@@ -156,19 +156,19 @@
buildCounterApplicationTransferParam++;
if (buildCounterApplicationTransferParam < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed165(o.value);
+ checkUnnamed170(o.value);
}
buildCounterApplicationTransferParam--;
}
-buildUnnamed166() {
+buildUnnamed171() {
var o = new core.List<api.Application>();
o.add(buildApplication());
o.add(buildApplication());
return o;
}
-checkUnnamed166(core.List<api.Application> o) {
+checkUnnamed171(core.List<api.Application> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplication(o[0]);
checkApplication(o[1]);
@@ -179,7 +179,7 @@
var o = new api.ApplicationsListResponse();
buildCounterApplicationsListResponse++;
if (buildCounterApplicationsListResponse < 3) {
- o.applications = buildUnnamed166();
+ o.applications = buildUnnamed171();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -191,7 +191,7 @@
checkApplicationsListResponse(api.ApplicationsListResponse o) {
buildCounterApplicationsListResponse++;
if (buildCounterApplicationsListResponse < 3) {
- checkUnnamed166(o.applications);
+ checkUnnamed171(o.applications);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -199,14 +199,14 @@
buildCounterApplicationsListResponse--;
}
-buildUnnamed167() {
+buildUnnamed172() {
var o = new core.List<api.ApplicationDataTransfer>();
o.add(buildApplicationDataTransfer());
o.add(buildApplicationDataTransfer());
return o;
}
-checkUnnamed167(core.List<api.ApplicationDataTransfer> o) {
+checkUnnamed172(core.List<api.ApplicationDataTransfer> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationDataTransfer(o[0]);
checkApplicationDataTransfer(o[1]);
@@ -217,7 +217,7 @@
var o = new api.DataTransfer();
buildCounterDataTransfer++;
if (buildCounterDataTransfer < 3) {
- o.applicationDataTransfers = buildUnnamed167();
+ o.applicationDataTransfers = buildUnnamed172();
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
@@ -233,7 +233,7 @@
checkDataTransfer(api.DataTransfer o) {
buildCounterDataTransfer++;
if (buildCounterDataTransfer < 3) {
- checkUnnamed167(o.applicationDataTransfers);
+ checkUnnamed172(o.applicationDataTransfers);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -245,14 +245,14 @@
buildCounterDataTransfer--;
}
-buildUnnamed168() {
+buildUnnamed173() {
var o = new core.List<api.DataTransfer>();
o.add(buildDataTransfer());
o.add(buildDataTransfer());
return o;
}
-checkUnnamed168(core.List<api.DataTransfer> o) {
+checkUnnamed173(core.List<api.DataTransfer> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataTransfer(o[0]);
checkDataTransfer(o[1]);
@@ -263,7 +263,7 @@
var o = new api.DataTransfersListResponse();
buildCounterDataTransfersListResponse++;
if (buildCounterDataTransfersListResponse < 3) {
- o.dataTransfers = buildUnnamed168();
+ o.dataTransfers = buildUnnamed173();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -275,7 +275,7 @@
checkDataTransfersListResponse(api.DataTransfersListResponse o) {
buildCounterDataTransfersListResponse++;
if (buildCounterDataTransfersListResponse < 3) {
- checkUnnamed168(o.dataTransfers);
+ checkUnnamed173(o.dataTransfers);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
diff --git a/generated/googleapis/test/admin/directory_v1_test.dart b/generated/googleapis/test/admin/directory_v1_test.dart
index 9abeb9b..f578689 100644
--- a/generated/googleapis/test/admin/directory_v1_test.dart
+++ b/generated/googleapis/test/admin/directory_v1_test.dart
@@ -78,14 +78,14 @@
buildCounterAlias--;
}
-buildUnnamed789() {
+buildUnnamed805() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed789(core.List<core.Object> o) {
+checkUnnamed805(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
@@ -96,7 +96,7 @@
var o = new api.Aliases();
buildCounterAliases++;
if (buildCounterAliases < 3) {
- o.aliases = buildUnnamed789();
+ o.aliases = buildUnnamed805();
o.etag = "foo";
o.kind = "foo";
}
@@ -107,7 +107,7 @@
checkAliases(api.Aliases o) {
buildCounterAliases++;
if (buildCounterAliases < 3) {
- checkUnnamed789(o.aliases);
+ checkUnnamed805(o.aliases);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
@@ -145,14 +145,14 @@
buildCounterAsp--;
}
-buildUnnamed790() {
+buildUnnamed806() {
var o = new core.List<api.Asp>();
o.add(buildAsp());
o.add(buildAsp());
return o;
}
-checkUnnamed790(core.List<api.Asp> o) {
+checkUnnamed806(core.List<api.Asp> o) {
unittest.expect(o, unittest.hasLength(2));
checkAsp(o[0]);
checkAsp(o[1]);
@@ -164,7 +164,7 @@
buildCounterAsps++;
if (buildCounterAsps < 3) {
o.etag = "foo";
- o.items = buildUnnamed790();
+ o.items = buildUnnamed806();
o.kind = "foo";
}
buildCounterAsps--;
@@ -175,7 +175,7 @@
buildCounterAsps++;
if (buildCounterAsps < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed790(o.items);
+ checkUnnamed806(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAsps--;
@@ -212,14 +212,14 @@
buildCounterCalendarResource--;
}
-buildUnnamed791() {
+buildUnnamed807() {
var o = new core.List<api.CalendarResource>();
o.add(buildCalendarResource());
o.add(buildCalendarResource());
return o;
}
-checkUnnamed791(core.List<api.CalendarResource> o) {
+checkUnnamed807(core.List<api.CalendarResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkCalendarResource(o[0]);
checkCalendarResource(o[1]);
@@ -231,7 +231,7 @@
buildCounterCalendarResources++;
if (buildCounterCalendarResources < 3) {
o.etag = "foo";
- o.items = buildUnnamed791();
+ o.items = buildUnnamed807();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -243,21 +243,21 @@
buildCounterCalendarResources++;
if (buildCounterCalendarResources < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed791(o.items);
+ checkUnnamed807(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCalendarResources--;
}
-buildUnnamed792() {
+buildUnnamed808() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed792(core.Map<core.String, core.String> o) {
+checkUnnamed808(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -272,7 +272,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed792();
+ o.params = buildUnnamed808();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -290,7 +290,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed792(o.params);
+ checkUnnamed808(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -321,14 +321,14 @@
buildCounterChromeOsDeviceActiveTimeRanges--;
}
-buildUnnamed793() {
+buildUnnamed809() {
var o = new core.List<api.ChromeOsDeviceActiveTimeRanges>();
o.add(buildChromeOsDeviceActiveTimeRanges());
o.add(buildChromeOsDeviceActiveTimeRanges());
return o;
}
-checkUnnamed793(core.List<api.ChromeOsDeviceActiveTimeRanges> o) {
+checkUnnamed809(core.List<api.ChromeOsDeviceActiveTimeRanges> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDeviceActiveTimeRanges(o[0]);
checkChromeOsDeviceActiveTimeRanges(o[1]);
@@ -355,14 +355,14 @@
buildCounterChromeOsDeviceRecentUsers--;
}
-buildUnnamed794() {
+buildUnnamed810() {
var o = new core.List<api.ChromeOsDeviceRecentUsers>();
o.add(buildChromeOsDeviceRecentUsers());
o.add(buildChromeOsDeviceRecentUsers());
return o;
}
-checkUnnamed794(core.List<api.ChromeOsDeviceRecentUsers> o) {
+checkUnnamed810(core.List<api.ChromeOsDeviceRecentUsers> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDeviceRecentUsers(o[0]);
checkChromeOsDeviceRecentUsers(o[1]);
@@ -373,7 +373,7 @@
var o = new api.ChromeOsDevice();
buildCounterChromeOsDevice++;
if (buildCounterChromeOsDevice < 3) {
- o.activeTimeRanges = buildUnnamed793();
+ o.activeTimeRanges = buildUnnamed809();
o.annotatedAssetId = "foo";
o.annotatedLocation = "foo";
o.annotatedUser = "foo";
@@ -393,7 +393,7 @@
o.orgUnitPath = "foo";
o.osVersion = "foo";
o.platformVersion = "foo";
- o.recentUsers = buildUnnamed794();
+ o.recentUsers = buildUnnamed810();
o.serialNumber = "foo";
o.status = "foo";
o.supportEndDate = core.DateTime.parse("2002-02-27T14:01:02");
@@ -406,7 +406,7 @@
checkChromeOsDevice(api.ChromeOsDevice o) {
buildCounterChromeOsDevice++;
if (buildCounterChromeOsDevice < 3) {
- checkUnnamed793(o.activeTimeRanges);
+ checkUnnamed809(o.activeTimeRanges);
unittest.expect(o.annotatedAssetId, unittest.equals('foo'));
unittest.expect(o.annotatedLocation, unittest.equals('foo'));
unittest.expect(o.annotatedUser, unittest.equals('foo'));
@@ -426,7 +426,7 @@
unittest.expect(o.orgUnitPath, unittest.equals('foo'));
unittest.expect(o.osVersion, unittest.equals('foo'));
unittest.expect(o.platformVersion, unittest.equals('foo'));
- checkUnnamed794(o.recentUsers);
+ checkUnnamed810(o.recentUsers);
unittest.expect(o.serialNumber, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.supportEndDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -456,14 +456,14 @@
buildCounterChromeOsDeviceAction--;
}
-buildUnnamed795() {
+buildUnnamed811() {
var o = new core.List<api.ChromeOsDevice>();
o.add(buildChromeOsDevice());
o.add(buildChromeOsDevice());
return o;
}
-checkUnnamed795(core.List<api.ChromeOsDevice> o) {
+checkUnnamed811(core.List<api.ChromeOsDevice> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDevice(o[0]);
checkChromeOsDevice(o[1]);
@@ -474,7 +474,7 @@
var o = new api.ChromeOsDevices();
buildCounterChromeOsDevices++;
if (buildCounterChromeOsDevices < 3) {
- o.chromeosdevices = buildUnnamed795();
+ o.chromeosdevices = buildUnnamed811();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -486,7 +486,7 @@
checkChromeOsDevices(api.ChromeOsDevices o) {
buildCounterChromeOsDevices++;
if (buildCounterChromeOsDevices < 3) {
- checkUnnamed795(o.chromeosdevices);
+ checkUnnamed811(o.chromeosdevices);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -494,14 +494,14 @@
buildCounterChromeOsDevices--;
}
-buildUnnamed796() {
+buildUnnamed812() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed796(core.List<core.String> o) {
+checkUnnamed812(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -512,7 +512,7 @@
var o = new api.ChromeOsMoveDevicesToOu();
buildCounterChromeOsMoveDevicesToOu++;
if (buildCounterChromeOsMoveDevicesToOu < 3) {
- o.deviceIds = buildUnnamed796();
+ o.deviceIds = buildUnnamed812();
}
buildCounterChromeOsMoveDevicesToOu--;
return o;
@@ -521,7 +521,7 @@
checkChromeOsMoveDevicesToOu(api.ChromeOsMoveDevicesToOu o) {
buildCounterChromeOsMoveDevicesToOu++;
if (buildCounterChromeOsMoveDevicesToOu < 3) {
- checkUnnamed796(o.deviceIds);
+ checkUnnamed812(o.deviceIds);
}
buildCounterChromeOsMoveDevicesToOu--;
}
@@ -625,14 +625,14 @@
buildCounterDomainAlias--;
}
-buildUnnamed797() {
+buildUnnamed813() {
var o = new core.List<api.DomainAlias>();
o.add(buildDomainAlias());
o.add(buildDomainAlias());
return o;
}
-checkUnnamed797(core.List<api.DomainAlias> o) {
+checkUnnamed813(core.List<api.DomainAlias> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomainAlias(o[0]);
checkDomainAlias(o[1]);
@@ -643,7 +643,7 @@
var o = new api.DomainAliases();
buildCounterDomainAliases++;
if (buildCounterDomainAliases < 3) {
- o.domainAliases = buildUnnamed797();
+ o.domainAliases = buildUnnamed813();
o.etag = "foo";
o.kind = "foo";
}
@@ -654,21 +654,21 @@
checkDomainAliases(api.DomainAliases o) {
buildCounterDomainAliases++;
if (buildCounterDomainAliases < 3) {
- checkUnnamed797(o.domainAliases);
+ checkUnnamed813(o.domainAliases);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDomainAliases--;
}
-buildUnnamed798() {
+buildUnnamed814() {
var o = new core.List<api.DomainAlias>();
o.add(buildDomainAlias());
o.add(buildDomainAlias());
return o;
}
-checkUnnamed798(core.List<api.DomainAlias> o) {
+checkUnnamed814(core.List<api.DomainAlias> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomainAlias(o[0]);
checkDomainAlias(o[1]);
@@ -680,7 +680,7 @@
buildCounterDomains++;
if (buildCounterDomains < 3) {
o.creationTime = "foo";
- o.domainAliases = buildUnnamed798();
+ o.domainAliases = buildUnnamed814();
o.domainName = "foo";
o.etag = "foo";
o.isPrimary = true;
@@ -695,7 +695,7 @@
buildCounterDomains++;
if (buildCounterDomains < 3) {
unittest.expect(o.creationTime, unittest.equals('foo'));
- checkUnnamed798(o.domainAliases);
+ checkUnnamed814(o.domainAliases);
unittest.expect(o.domainName, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.isPrimary, unittest.isTrue);
@@ -705,14 +705,14 @@
buildCounterDomains--;
}
-buildUnnamed799() {
+buildUnnamed815() {
var o = new core.List<api.Domains>();
o.add(buildDomains());
o.add(buildDomains());
return o;
}
-checkUnnamed799(core.List<api.Domains> o) {
+checkUnnamed815(core.List<api.Domains> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomains(o[0]);
checkDomains(o[1]);
@@ -723,7 +723,7 @@
var o = new api.Domains2();
buildCounterDomains2++;
if (buildCounterDomains2 < 3) {
- o.domains = buildUnnamed799();
+ o.domains = buildUnnamed815();
o.etag = "foo";
o.kind = "foo";
}
@@ -734,34 +734,34 @@
checkDomains2(api.Domains2 o) {
buildCounterDomains2++;
if (buildCounterDomains2 < 3) {
- checkUnnamed799(o.domains);
+ checkUnnamed815(o.domains);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDomains2--;
}
-buildUnnamed800() {
+buildUnnamed816() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed800(core.List<core.String> o) {
+checkUnnamed816(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed801() {
+buildUnnamed817() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed801(core.List<core.String> o) {
+checkUnnamed817(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -773,7 +773,7 @@
buildCounterGroup++;
if (buildCounterGroup < 3) {
o.adminCreated = true;
- o.aliases = buildUnnamed800();
+ o.aliases = buildUnnamed816();
o.description = "foo";
o.directMembersCount = "foo";
o.email = "foo";
@@ -781,7 +781,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.nonEditableAliases = buildUnnamed801();
+ o.nonEditableAliases = buildUnnamed817();
}
buildCounterGroup--;
return o;
@@ -791,7 +791,7 @@
buildCounterGroup++;
if (buildCounterGroup < 3) {
unittest.expect(o.adminCreated, unittest.isTrue);
- checkUnnamed800(o.aliases);
+ checkUnnamed816(o.aliases);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.directMembersCount, unittest.equals('foo'));
unittest.expect(o.email, unittest.equals('foo'));
@@ -799,19 +799,19 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed801(o.nonEditableAliases);
+ checkUnnamed817(o.nonEditableAliases);
}
buildCounterGroup--;
}
-buildUnnamed802() {
+buildUnnamed818() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed802(core.List<api.Group> o) {
+checkUnnamed818(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -823,7 +823,7 @@
buildCounterGroups++;
if (buildCounterGroups < 3) {
o.etag = "foo";
- o.groups = buildUnnamed802();
+ o.groups = buildUnnamed818();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -835,7 +835,7 @@
buildCounterGroups++;
if (buildCounterGroups < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed802(o.groups);
+ checkUnnamed818(o.groups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -873,14 +873,14 @@
buildCounterMember--;
}
-buildUnnamed803() {
+buildUnnamed819() {
var o = new core.List<api.Member>();
o.add(buildMember());
o.add(buildMember());
return o;
}
-checkUnnamed803(core.List<api.Member> o) {
+checkUnnamed819(core.List<api.Member> o) {
unittest.expect(o, unittest.hasLength(2));
checkMember(o[0]);
checkMember(o[1]);
@@ -893,7 +893,7 @@
if (buildCounterMembers < 3) {
o.etag = "foo";
o.kind = "foo";
- o.members = buildUnnamed803();
+ o.members = buildUnnamed819();
o.nextPageToken = "foo";
}
buildCounterMembers--;
@@ -905,20 +905,20 @@
if (buildCounterMembers < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed803(o.members);
+ checkUnnamed819(o.members);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterMembers--;
}
-buildUnnamed804() {
+buildUnnamed820() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed804(core.List<core.String> o) {
+checkUnnamed820(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -931,7 +931,7 @@
if (buildCounterMobileDeviceApplications < 3) {
o.displayName = "foo";
o.packageName = "foo";
- o.permission = buildUnnamed804();
+ o.permission = buildUnnamed820();
o.versionCode = 42;
o.versionName = "foo";
}
@@ -944,60 +944,60 @@
if (buildCounterMobileDeviceApplications < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed804(o.permission);
+ checkUnnamed820(o.permission);
unittest.expect(o.versionCode, unittest.equals(42));
unittest.expect(o.versionName, unittest.equals('foo'));
}
buildCounterMobileDeviceApplications--;
}
-buildUnnamed805() {
+buildUnnamed821() {
var o = new core.List<api.MobileDeviceApplications>();
o.add(buildMobileDeviceApplications());
o.add(buildMobileDeviceApplications());
return o;
}
-checkUnnamed805(core.List<api.MobileDeviceApplications> o) {
+checkUnnamed821(core.List<api.MobileDeviceApplications> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileDeviceApplications(o[0]);
checkMobileDeviceApplications(o[1]);
}
-buildUnnamed806() {
+buildUnnamed822() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed806(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'));
}
-buildUnnamed807() {
+buildUnnamed823() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed807(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'));
}
-buildUnnamed808() {
+buildUnnamed824() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed808(core.List<core.String> o) {
+checkUnnamed824(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1009,7 +1009,7 @@
buildCounterMobileDevice++;
if (buildCounterMobileDevice < 3) {
o.adbStatus = true;
- o.applications = buildUnnamed805();
+ o.applications = buildUnnamed821();
o.basebandVersion = "foo";
o.bootloaderVersion = "foo";
o.brand = "foo";
@@ -1019,7 +1019,7 @@
o.deviceCompromisedStatus = "foo";
o.deviceId = "foo";
o.devicePasswordStatus = "foo";
- o.email = buildUnnamed806();
+ o.email = buildUnnamed822();
o.encryptionStatus = "foo";
o.etag = "foo";
o.firstSync = core.DateTime.parse("2002-02-27T14:01:02");
@@ -1033,10 +1033,10 @@
o.manufacturer = "foo";
o.meid = "foo";
o.model = "foo";
- o.name = buildUnnamed807();
+ o.name = buildUnnamed823();
o.networkOperator = "foo";
o.os = "foo";
- o.otherAccountsInfo = buildUnnamed808();
+ o.otherAccountsInfo = buildUnnamed824();
o.privilege = "foo";
o.releaseVersion = "foo";
o.resourceId = "foo";
@@ -1057,7 +1057,7 @@
buildCounterMobileDevice++;
if (buildCounterMobileDevice < 3) {
unittest.expect(o.adbStatus, unittest.isTrue);
- checkUnnamed805(o.applications);
+ checkUnnamed821(o.applications);
unittest.expect(o.basebandVersion, unittest.equals('foo'));
unittest.expect(o.bootloaderVersion, unittest.equals('foo'));
unittest.expect(o.brand, unittest.equals('foo'));
@@ -1067,7 +1067,7 @@
unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo'));
unittest.expect(o.deviceId, unittest.equals('foo'));
unittest.expect(o.devicePasswordStatus, unittest.equals('foo'));
- checkUnnamed806(o.email);
+ checkUnnamed822(o.email);
unittest.expect(o.encryptionStatus, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.firstSync, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -1081,10 +1081,10 @@
unittest.expect(o.manufacturer, unittest.equals('foo'));
unittest.expect(o.meid, unittest.equals('foo'));
unittest.expect(o.model, unittest.equals('foo'));
- checkUnnamed807(o.name);
+ checkUnnamed823(o.name);
unittest.expect(o.networkOperator, unittest.equals('foo'));
unittest.expect(o.os, unittest.equals('foo'));
- checkUnnamed808(o.otherAccountsInfo);
+ checkUnnamed824(o.otherAccountsInfo);
unittest.expect(o.privilege, unittest.equals('foo'));
unittest.expect(o.releaseVersion, unittest.equals('foo'));
unittest.expect(o.resourceId, unittest.equals('foo'));
@@ -1119,14 +1119,14 @@
buildCounterMobileDeviceAction--;
}
-buildUnnamed809() {
+buildUnnamed825() {
var o = new core.List<api.MobileDevice>();
o.add(buildMobileDevice());
o.add(buildMobileDevice());
return o;
}
-checkUnnamed809(core.List<api.MobileDevice> o) {
+checkUnnamed825(core.List<api.MobileDevice> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileDevice(o[0]);
checkMobileDevice(o[1]);
@@ -1139,7 +1139,7 @@
if (buildCounterMobileDevices < 3) {
o.etag = "foo";
o.kind = "foo";
- o.mobiledevices = buildUnnamed809();
+ o.mobiledevices = buildUnnamed825();
o.nextPageToken = "foo";
}
buildCounterMobileDevices--;
@@ -1151,7 +1151,7 @@
if (buildCounterMobileDevices < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed809(o.mobiledevices);
+ checkUnnamed825(o.mobiledevices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterMobileDevices--;
@@ -1190,14 +1190,14 @@
buildCounterNotification--;
}
-buildUnnamed810() {
+buildUnnamed826() {
var o = new core.List<api.Notification>();
o.add(buildNotification());
o.add(buildNotification());
return o;
}
-checkUnnamed810(core.List<api.Notification> o) {
+checkUnnamed826(core.List<api.Notification> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotification(o[0]);
checkNotification(o[1]);
@@ -1209,7 +1209,7 @@
buildCounterNotifications++;
if (buildCounterNotifications < 3) {
o.etag = "foo";
- o.items = buildUnnamed810();
+ o.items = buildUnnamed826();
o.kind = "foo";
o.nextPageToken = "foo";
o.unreadNotificationsCount = 42;
@@ -1222,7 +1222,7 @@
buildCounterNotifications++;
if (buildCounterNotifications < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed810(o.items);
+ checkUnnamed826(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.unreadNotificationsCount, unittest.equals(42));
@@ -1265,14 +1265,14 @@
buildCounterOrgUnit--;
}
-buildUnnamed811() {
+buildUnnamed827() {
var o = new core.List<api.OrgUnit>();
o.add(buildOrgUnit());
o.add(buildOrgUnit());
return o;
}
-checkUnnamed811(core.List<api.OrgUnit> o) {
+checkUnnamed827(core.List<api.OrgUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrgUnit(o[0]);
checkOrgUnit(o[1]);
@@ -1285,7 +1285,7 @@
if (buildCounterOrgUnits < 3) {
o.etag = "foo";
o.kind = "foo";
- o.organizationUnits = buildUnnamed811();
+ o.organizationUnits = buildUnnamed827();
}
buildCounterOrgUnits--;
return o;
@@ -1296,19 +1296,19 @@
if (buildCounterOrgUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed811(o.organizationUnits);
+ checkUnnamed827(o.organizationUnits);
}
buildCounterOrgUnits--;
}
-buildUnnamed812() {
+buildUnnamed828() {
var o = new core.List<api.Privilege>();
o.add(buildPrivilege());
o.add(buildPrivilege());
return o;
}
-checkUnnamed812(core.List<api.Privilege> o) {
+checkUnnamed828(core.List<api.Privilege> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrivilege(o[0]);
checkPrivilege(o[1]);
@@ -1319,7 +1319,7 @@
var o = new api.Privilege();
buildCounterPrivilege++;
if (buildCounterPrivilege < 3) {
- o.childPrivileges = buildUnnamed812();
+ o.childPrivileges = buildUnnamed828();
o.etag = "foo";
o.isOuScopable = true;
o.kind = "foo";
@@ -1334,7 +1334,7 @@
checkPrivilege(api.Privilege o) {
buildCounterPrivilege++;
if (buildCounterPrivilege < 3) {
- checkUnnamed812(o.childPrivileges);
+ checkUnnamed828(o.childPrivileges);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.isOuScopable, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1345,14 +1345,14 @@
buildCounterPrivilege--;
}
-buildUnnamed813() {
+buildUnnamed829() {
var o = new core.List<api.Privilege>();
o.add(buildPrivilege());
o.add(buildPrivilege());
return o;
}
-checkUnnamed813(core.List<api.Privilege> o) {
+checkUnnamed829(core.List<api.Privilege> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrivilege(o[0]);
checkPrivilege(o[1]);
@@ -1364,7 +1364,7 @@
buildCounterPrivileges++;
if (buildCounterPrivileges < 3) {
o.etag = "foo";
- o.items = buildUnnamed813();
+ o.items = buildUnnamed829();
o.kind = "foo";
}
buildCounterPrivileges--;
@@ -1375,7 +1375,7 @@
buildCounterPrivileges++;
if (buildCounterPrivileges < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed813(o.items);
+ checkUnnamed829(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPrivileges--;
@@ -1402,14 +1402,14 @@
buildCounterRoleRolePrivileges--;
}
-buildUnnamed814() {
+buildUnnamed830() {
var o = new core.List<api.RoleRolePrivileges>();
o.add(buildRoleRolePrivileges());
o.add(buildRoleRolePrivileges());
return o;
}
-checkUnnamed814(core.List<api.RoleRolePrivileges> o) {
+checkUnnamed830(core.List<api.RoleRolePrivileges> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoleRolePrivileges(o[0]);
checkRoleRolePrivileges(o[1]);
@@ -1427,7 +1427,7 @@
o.roleDescription = "foo";
o.roleId = "foo";
o.roleName = "foo";
- o.rolePrivileges = buildUnnamed814();
+ o.rolePrivileges = buildUnnamed830();
}
buildCounterRole--;
return o;
@@ -1443,7 +1443,7 @@
unittest.expect(o.roleDescription, unittest.equals('foo'));
unittest.expect(o.roleId, unittest.equals('foo'));
unittest.expect(o.roleName, unittest.equals('foo'));
- checkUnnamed814(o.rolePrivileges);
+ checkUnnamed830(o.rolePrivileges);
}
buildCounterRole--;
}
@@ -1479,14 +1479,14 @@
buildCounterRoleAssignment--;
}
-buildUnnamed815() {
+buildUnnamed831() {
var o = new core.List<api.RoleAssignment>();
o.add(buildRoleAssignment());
o.add(buildRoleAssignment());
return o;
}
-checkUnnamed815(core.List<api.RoleAssignment> o) {
+checkUnnamed831(core.List<api.RoleAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoleAssignment(o[0]);
checkRoleAssignment(o[1]);
@@ -1498,7 +1498,7 @@
buildCounterRoleAssignments++;
if (buildCounterRoleAssignments < 3) {
o.etag = "foo";
- o.items = buildUnnamed815();
+ o.items = buildUnnamed831();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1510,21 +1510,21 @@
buildCounterRoleAssignments++;
if (buildCounterRoleAssignments < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed815(o.items);
+ checkUnnamed831(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterRoleAssignments--;
}
-buildUnnamed816() {
+buildUnnamed832() {
var o = new core.List<api.Role>();
o.add(buildRole());
o.add(buildRole());
return o;
}
-checkUnnamed816(core.List<api.Role> o) {
+checkUnnamed832(core.List<api.Role> o) {
unittest.expect(o, unittest.hasLength(2));
checkRole(o[0]);
checkRole(o[1]);
@@ -1536,7 +1536,7 @@
buildCounterRoles++;
if (buildCounterRoles < 3) {
o.etag = "foo";
- o.items = buildUnnamed816();
+ o.items = buildUnnamed832();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1548,21 +1548,21 @@
buildCounterRoles++;
if (buildCounterRoles < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed816(o.items);
+ checkUnnamed832(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterRoles--;
}
-buildUnnamed817() {
+buildUnnamed833() {
var o = new core.List<api.SchemaFieldSpec>();
o.add(buildSchemaFieldSpec());
o.add(buildSchemaFieldSpec());
return o;
}
-checkUnnamed817(core.List<api.SchemaFieldSpec> o) {
+checkUnnamed833(core.List<api.SchemaFieldSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkSchemaFieldSpec(o[0]);
checkSchemaFieldSpec(o[1]);
@@ -1574,7 +1574,7 @@
buildCounterSchema++;
if (buildCounterSchema < 3) {
o.etag = "foo";
- o.fields = buildUnnamed817();
+ o.fields = buildUnnamed833();
o.kind = "foo";
o.schemaId = "foo";
o.schemaName = "foo";
@@ -1587,7 +1587,7 @@
buildCounterSchema++;
if (buildCounterSchema < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed817(o.fields);
+ checkUnnamed833(o.fields);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.schemaId, unittest.equals('foo'));
unittest.expect(o.schemaName, unittest.equals('foo'));
@@ -1651,14 +1651,14 @@
buildCounterSchemaFieldSpec--;
}
-buildUnnamed818() {
+buildUnnamed834() {
var o = new core.List<api.Schema>();
o.add(buildSchema());
o.add(buildSchema());
return o;
}
-checkUnnamed818(core.List<api.Schema> o) {
+checkUnnamed834(core.List<api.Schema> o) {
unittest.expect(o, unittest.hasLength(2));
checkSchema(o[0]);
checkSchema(o[1]);
@@ -1671,7 +1671,7 @@
if (buildCounterSchemas < 3) {
o.etag = "foo";
o.kind = "foo";
- o.schemas = buildUnnamed818();
+ o.schemas = buildUnnamed834();
}
buildCounterSchemas--;
return o;
@@ -1682,19 +1682,19 @@
if (buildCounterSchemas < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed818(o.schemas);
+ checkUnnamed834(o.schemas);
}
buildCounterSchemas--;
}
-buildUnnamed819() {
+buildUnnamed835() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed819(core.List<core.String> o) {
+checkUnnamed835(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1711,7 +1711,7 @@
o.etag = "foo";
o.kind = "foo";
o.nativeApp = true;
- o.scopes = buildUnnamed819();
+ o.scopes = buildUnnamed835();
o.userKey = "foo";
}
buildCounterToken--;
@@ -1727,20 +1727,20 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nativeApp, unittest.isTrue);
- checkUnnamed819(o.scopes);
+ checkUnnamed835(o.scopes);
unittest.expect(o.userKey, unittest.equals('foo'));
}
buildCounterToken--;
}
-buildUnnamed820() {
+buildUnnamed836() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed820(core.List<api.Token> o) {
+checkUnnamed836(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -1752,7 +1752,7 @@
buildCounterTokens++;
if (buildCounterTokens < 3) {
o.etag = "foo";
- o.items = buildUnnamed820();
+ o.items = buildUnnamed836();
o.kind = "foo";
}
buildCounterTokens--;
@@ -1763,46 +1763,46 @@
buildCounterTokens++;
if (buildCounterTokens < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed820(o.items);
+ checkUnnamed836(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTokens--;
}
-buildUnnamed821() {
+buildUnnamed837() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed821(core.List<core.String> o) {
+checkUnnamed837(core.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() {
+buildUnnamed838() {
var o = new core.Map<core.String, api.UserCustomProperties>();
o["x"] = buildUserCustomProperties();
o["y"] = buildUserCustomProperties();
return o;
}
-checkUnnamed822(core.Map<core.String, api.UserCustomProperties> o) {
+checkUnnamed838(core.Map<core.String, api.UserCustomProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserCustomProperties(o["x"]);
checkUserCustomProperties(o["y"]);
}
-buildUnnamed823() {
+buildUnnamed839() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed823(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'));
@@ -1815,10 +1815,10 @@
if (buildCounterUser < 3) {
o.addresses = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.agreedToTerms = true;
- o.aliases = buildUnnamed821();
+ o.aliases = buildUnnamed837();
o.changePasswordAtNextLogin = true;
o.creationTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.customSchemas = buildUnnamed822();
+ o.customSchemas = buildUnnamed838();
o.customerId = "foo";
o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02");
o.emails = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
@@ -1840,7 +1840,7 @@
o.lastLoginTime = core.DateTime.parse("2002-02-27T14:01:02");
o.locations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.name = buildUserName();
- o.nonEditableAliases = buildUnnamed823();
+ o.nonEditableAliases = buildUnnamed839();
o.notes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.orgUnitPath = "foo";
o.organizations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
@@ -1865,10 +1865,10 @@
if (buildCounterUser < 3) {
var casted3 = (o.addresses) 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'));
unittest.expect(o.agreedToTerms, unittest.isTrue);
- checkUnnamed821(o.aliases);
+ checkUnnamed837(o.aliases);
unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue);
unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed822(o.customSchemas);
+ checkUnnamed838(o.customSchemas);
unittest.expect(o.customerId, unittest.equals('foo'));
unittest.expect(o.deletionTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
var casted4 = (o.emails) 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'));
@@ -1890,7 +1890,7 @@
unittest.expect(o.lastLoginTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
var casted9 = (o.locations) 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'));
checkUserName(o.name);
- checkUnnamed823(o.nonEditableAliases);
+ checkUnnamed839(o.nonEditableAliases);
var casted10 = (o.notes) 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'));
unittest.expect(o.orgUnitPath, unittest.equals('foo'));
var casted11 = (o.organizations) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
@@ -2402,14 +2402,14 @@
buildCounterUserWebsite--;
}
-buildUnnamed824() {
+buildUnnamed840() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed824(core.List<api.User> o) {
+checkUnnamed840(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -2424,7 +2424,7 @@
o.kind = "foo";
o.nextPageToken = "foo";
o.triggerEvent = "foo";
- o.users = buildUnnamed824();
+ o.users = buildUnnamed840();
}
buildCounterUsers--;
return o;
@@ -2437,7 +2437,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.triggerEvent, unittest.equals('foo'));
- checkUnnamed824(o.users);
+ checkUnnamed840(o.users);
}
buildCounterUsers--;
}
@@ -2467,14 +2467,14 @@
buildCounterVerificationCode--;
}
-buildUnnamed825() {
+buildUnnamed841() {
var o = new core.List<api.VerificationCode>();
o.add(buildVerificationCode());
o.add(buildVerificationCode());
return o;
}
-checkUnnamed825(core.List<api.VerificationCode> o) {
+checkUnnamed841(core.List<api.VerificationCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkVerificationCode(o[0]);
checkVerificationCode(o[1]);
@@ -2486,7 +2486,7 @@
buildCounterVerificationCodes++;
if (buildCounterVerificationCodes < 3) {
o.etag = "foo";
- o.items = buildUnnamed825();
+ o.items = buildUnnamed841();
o.kind = "foo";
}
buildCounterVerificationCodes--;
@@ -2497,59 +2497,59 @@
buildCounterVerificationCodes++;
if (buildCounterVerificationCodes < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed825(o.items);
+ checkUnnamed841(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterVerificationCodes--;
}
-buildUnnamed826() {
+buildUnnamed842() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed826(core.List<core.String> o) {
+checkUnnamed842(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed827() {
+buildUnnamed843() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed827(core.List<core.String> o) {
+checkUnnamed843(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed828() {
+buildUnnamed844() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed828(core.List<core.String> o) {
+checkUnnamed844(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed829() {
+buildUnnamed845() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed829(core.List<core.String> o) {
+checkUnnamed845(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5749,7 +5749,7 @@
var mock = new HttpServerMock();
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed826();
+ var arg_orgUnitPath = buildUnnamed842();
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5803,7 +5803,7 @@
var mock = new HttpServerMock();
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed827();
+ var arg_orgUnitPath = buildUnnamed843();
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5974,7 +5974,7 @@
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_request = buildOrgUnit();
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed828();
+ var arg_orgUnitPath = buildUnnamed844();
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.OrgUnit.fromJson(json);
checkOrgUnit(obj);
@@ -6034,7 +6034,7 @@
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_request = buildOrgUnit();
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed829();
+ var arg_orgUnitPath = buildUnnamed845();
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.OrgUnit.fromJson(json);
checkOrgUnit(obj);
diff --git a/generated/googleapis/test/admin/reports_v1_test.dart b/generated/googleapis/test/admin/reports_v1_test.dart
index 22a3e8e..948d03a 100644
--- a/generated/googleapis/test/admin/reports_v1_test.dart
+++ b/generated/googleapis/test/admin/reports_v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed674() {
+buildUnnamed691() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed674(core.List<api.Activity> o) {
+checkUnnamed691(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -70,7 +70,7 @@
buildCounterActivities++;
if (buildCounterActivities < 3) {
o.etag = "foo";
- o.items = buildUnnamed674();
+ o.items = buildUnnamed691();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -82,7 +82,7 @@
buildCounterActivities++;
if (buildCounterActivities < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed674(o.items);
+ checkUnnamed691(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -114,27 +114,27 @@
buildCounterActivityActor--;
}
-buildUnnamed675() {
+buildUnnamed692() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed675(core.List<core.String> o) {
+checkUnnamed692(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed676() {
+buildUnnamed693() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed676(core.List<core.String> o) {
+checkUnnamed693(core.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,8 +147,8 @@
if (buildCounterActivityEventsParameters < 3) {
o.boolValue = true;
o.intValue = "foo";
- o.multiIntValue = buildUnnamed675();
- o.multiValue = buildUnnamed676();
+ o.multiIntValue = buildUnnamed692();
+ o.multiValue = buildUnnamed693();
o.name = "foo";
o.value = "foo";
}
@@ -161,22 +161,22 @@
if (buildCounterActivityEventsParameters < 3) {
unittest.expect(o.boolValue, unittest.isTrue);
unittest.expect(o.intValue, unittest.equals('foo'));
- checkUnnamed675(o.multiIntValue);
- checkUnnamed676(o.multiValue);
+ checkUnnamed692(o.multiIntValue);
+ checkUnnamed693(o.multiValue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterActivityEventsParameters--;
}
-buildUnnamed677() {
+buildUnnamed694() {
var o = new core.List<api.ActivityEventsParameters>();
o.add(buildActivityEventsParameters());
o.add(buildActivityEventsParameters());
return o;
}
-checkUnnamed677(core.List<api.ActivityEventsParameters> o) {
+checkUnnamed694(core.List<api.ActivityEventsParameters> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityEventsParameters(o[0]);
checkActivityEventsParameters(o[1]);
@@ -188,7 +188,7 @@
buildCounterActivityEvents++;
if (buildCounterActivityEvents < 3) {
o.name = "foo";
- o.parameters = buildUnnamed677();
+ o.parameters = buildUnnamed694();
o.type = "foo";
}
buildCounterActivityEvents--;
@@ -199,20 +199,20 @@
buildCounterActivityEvents++;
if (buildCounterActivityEvents < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed677(o.parameters);
+ checkUnnamed694(o.parameters);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterActivityEvents--;
}
-buildUnnamed678() {
+buildUnnamed695() {
var o = new core.List<api.ActivityEvents>();
o.add(buildActivityEvents());
o.add(buildActivityEvents());
return o;
}
-checkUnnamed678(core.List<api.ActivityEvents> o) {
+checkUnnamed695(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 = buildUnnamed678();
+ o.events = buildUnnamed695();
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'));
- checkUnnamed678(o.events);
+ checkUnnamed695(o.events);
checkActivityId(o.id);
unittest.expect(o.ipAddress, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -274,14 +274,14 @@
buildCounterActivity--;
}
-buildUnnamed679() {
+buildUnnamed696() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed679(core.Map<core.String, core.String> o) {
+checkUnnamed696(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -296,7 +296,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed679();
+ o.params = buildUnnamed696();
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'));
- checkUnnamed679(o.params);
+ checkUnnamed696(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -349,30 +349,30 @@
buildCounterUsageReportEntity--;
}
-buildUnnamed680() {
+buildUnnamed697() {
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;
}
-checkUnnamed680(core.Map<core.String, core.Object> o) {
+checkUnnamed697(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'));
}
-buildUnnamed681() {
+buildUnnamed698() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed680());
- o.add(buildUnnamed680());
+ o.add(buildUnnamed697());
+ o.add(buildUnnamed697());
return o;
}
-checkUnnamed681(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed698(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed680(o[0]);
- checkUnnamed680(o[1]);
+ checkUnnamed697(o[0]);
+ checkUnnamed697(o[1]);
}
core.int buildCounterUsageReportParameters = 0;
@@ -383,7 +383,7 @@
o.boolValue = true;
o.datetimeValue = core.DateTime.parse("2002-02-27T14:01:02");
o.intValue = "foo";
- o.msgValue = buildUnnamed681();
+ o.msgValue = buildUnnamed698();
o.name = "foo";
o.stringValue = "foo";
}
@@ -397,21 +397,21 @@
unittest.expect(o.boolValue, unittest.isTrue);
unittest.expect(o.datetimeValue, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.intValue, unittest.equals('foo'));
- checkUnnamed681(o.msgValue);
+ checkUnnamed698(o.msgValue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.stringValue, unittest.equals('foo'));
}
buildCounterUsageReportParameters--;
}
-buildUnnamed682() {
+buildUnnamed699() {
var o = new core.List<api.UsageReportParameters>();
o.add(buildUsageReportParameters());
o.add(buildUsageReportParameters());
return o;
}
-checkUnnamed682(core.List<api.UsageReportParameters> o) {
+checkUnnamed699(core.List<api.UsageReportParameters> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReportParameters(o[0]);
checkUsageReportParameters(o[1]);
@@ -426,7 +426,7 @@
o.entity = buildUsageReportEntity();
o.etag = "foo";
o.kind = "foo";
- o.parameters = buildUnnamed682();
+ o.parameters = buildUnnamed699();
}
buildCounterUsageReport--;
return o;
@@ -439,19 +439,19 @@
checkUsageReportEntity(o.entity);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed682(o.parameters);
+ checkUnnamed699(o.parameters);
}
buildCounterUsageReport--;
}
-buildUnnamed683() {
+buildUnnamed700() {
var o = new core.List<api.UsageReport>();
o.add(buildUsageReport());
o.add(buildUsageReport());
return o;
}
-checkUnnamed683(core.List<api.UsageReport> o) {
+checkUnnamed700(core.List<api.UsageReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReport(o[0]);
checkUsageReport(o[1]);
@@ -478,14 +478,14 @@
buildCounterUsageReportsWarningsData--;
}
-buildUnnamed684() {
+buildUnnamed701() {
var o = new core.List<api.UsageReportsWarningsData>();
o.add(buildUsageReportsWarningsData());
o.add(buildUsageReportsWarningsData());
return o;
}
-checkUnnamed684(core.List<api.UsageReportsWarningsData> o) {
+checkUnnamed701(core.List<api.UsageReportsWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReportsWarningsData(o[0]);
checkUsageReportsWarningsData(o[1]);
@@ -497,7 +497,7 @@
buildCounterUsageReportsWarnings++;
if (buildCounterUsageReportsWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed684();
+ o.data = buildUnnamed701();
o.message = "foo";
}
buildCounterUsageReportsWarnings--;
@@ -508,20 +508,20 @@
buildCounterUsageReportsWarnings++;
if (buildCounterUsageReportsWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed684(o.data);
+ checkUnnamed701(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterUsageReportsWarnings--;
}
-buildUnnamed685() {
+buildUnnamed702() {
var o = new core.List<api.UsageReportsWarnings>();
o.add(buildUsageReportsWarnings());
o.add(buildUsageReportsWarnings());
return o;
}
-checkUnnamed685(core.List<api.UsageReportsWarnings> o) {
+checkUnnamed702(core.List<api.UsageReportsWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReportsWarnings(o[0]);
checkUsageReportsWarnings(o[1]);
@@ -535,8 +535,8 @@
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.usageReports = buildUnnamed683();
- o.warnings = buildUnnamed685();
+ o.usageReports = buildUnnamed700();
+ o.warnings = buildUnnamed702();
}
buildCounterUsageReports--;
return o;
@@ -548,8 +548,8 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed683(o.usageReports);
- checkUnnamed685(o.warnings);
+ checkUnnamed700(o.usageReports);
+ checkUnnamed702(o.warnings);
}
buildCounterUsageReports--;
}
diff --git a/generated/googleapis/test/analytics/v3_test.dart b/generated/googleapis/test/analytics/v3_test.dart
index f690927..005db1e 100644
--- a/generated/googleapis/test/analytics/v3_test.dart
+++ b/generated/googleapis/test/analytics/v3_test.dart
@@ -72,14 +72,14 @@
buildCounterAccountChildLink--;
}
-buildUnnamed983() {
+buildUnnamed999() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed983(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'));
@@ -90,7 +90,7 @@
var o = new api.AccountPermissions();
buildCounterAccountPermissions++;
if (buildCounterAccountPermissions < 3) {
- o.effective = buildUnnamed983();
+ o.effective = buildUnnamed999();
}
buildCounterAccountPermissions--;
return o;
@@ -99,7 +99,7 @@
checkAccountPermissions(api.AccountPermissions o) {
buildCounterAccountPermissions++;
if (buildCounterAccountPermissions < 3) {
- checkUnnamed983(o.effective);
+ checkUnnamed999(o.effective);
}
buildCounterAccountPermissions--;
}
@@ -164,14 +164,14 @@
buildCounterAccountRef--;
}
-buildUnnamed984() {
+buildUnnamed1000() {
var o = new core.List<api.AccountSummary>();
o.add(buildAccountSummary());
o.add(buildAccountSummary());
return o;
}
-checkUnnamed984(core.List<api.AccountSummary> o) {
+checkUnnamed1000(core.List<api.AccountSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountSummary(o[0]);
checkAccountSummary(o[1]);
@@ -182,7 +182,7 @@
var o = new api.AccountSummaries();
buildCounterAccountSummaries++;
if (buildCounterAccountSummaries < 3) {
- o.items = buildUnnamed984();
+ o.items = buildUnnamed1000();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -198,7 +198,7 @@
checkAccountSummaries(api.AccountSummaries o) {
buildCounterAccountSummaries++;
if (buildCounterAccountSummaries < 3) {
- checkUnnamed984(o.items);
+ checkUnnamed1000(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -210,14 +210,14 @@
buildCounterAccountSummaries--;
}
-buildUnnamed985() {
+buildUnnamed1001() {
var o = new core.List<api.WebPropertySummary>();
o.add(buildWebPropertySummary());
o.add(buildWebPropertySummary());
return o;
}
-checkUnnamed985(core.List<api.WebPropertySummary> o) {
+checkUnnamed1001(core.List<api.WebPropertySummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebPropertySummary(o[0]);
checkWebPropertySummary(o[1]);
@@ -232,7 +232,7 @@
o.kind = "foo";
o.name = "foo";
o.starred = true;
- o.webProperties = buildUnnamed985();
+ o.webProperties = buildUnnamed1001();
}
buildCounterAccountSummary--;
return o;
@@ -245,7 +245,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.starred, unittest.isTrue);
- checkUnnamed985(o.webProperties);
+ checkUnnamed1001(o.webProperties);
}
buildCounterAccountSummary--;
}
@@ -279,14 +279,14 @@
buildCounterAccountTicket--;
}
-buildUnnamed986() {
+buildUnnamed1002() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed986(core.List<api.Account> o) {
+checkUnnamed1002(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -297,7 +297,7 @@
var o = new api.Accounts();
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
- o.items = buildUnnamed986();
+ o.items = buildUnnamed1002();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -313,7 +313,7 @@
checkAccounts(api.Accounts o) {
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
- checkUnnamed986(o.items);
+ checkUnnamed1002(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -348,14 +348,14 @@
buildCounterAdWordsAccount--;
}
-buildUnnamed987() {
+buildUnnamed1003() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed987(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'));
@@ -366,7 +366,7 @@
var o = new api.AnalyticsDataimportDeleteUploadDataRequest();
buildCounterAnalyticsDataimportDeleteUploadDataRequest++;
if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) {
- o.customDataImportUids = buildUnnamed987();
+ o.customDataImportUids = buildUnnamed1003();
}
buildCounterAnalyticsDataimportDeleteUploadDataRequest--;
return o;
@@ -375,19 +375,19 @@
checkAnalyticsDataimportDeleteUploadDataRequest(api.AnalyticsDataimportDeleteUploadDataRequest o) {
buildCounterAnalyticsDataimportDeleteUploadDataRequest++;
if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) {
- checkUnnamed987(o.customDataImportUids);
+ checkUnnamed1003(o.customDataImportUids);
}
buildCounterAnalyticsDataimportDeleteUploadDataRequest--;
}
-buildUnnamed988() {
+buildUnnamed1004() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed988(core.Map<core.String, core.String> o) {
+checkUnnamed1004(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -398,7 +398,7 @@
var o = new api.Column();
buildCounterColumn++;
if (buildCounterColumn < 3) {
- o.attributes = buildUnnamed988();
+ o.attributes = buildUnnamed1004();
o.id = "foo";
o.kind = "foo";
}
@@ -409,34 +409,34 @@
checkColumn(api.Column o) {
buildCounterColumn++;
if (buildCounterColumn < 3) {
- checkUnnamed988(o.attributes);
+ checkUnnamed1004(o.attributes);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterColumn--;
}
-buildUnnamed989() {
+buildUnnamed1005() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed989(core.List<core.String> o) {
+checkUnnamed1005(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed990() {
+buildUnnamed1006() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed990(core.List<api.Column> o) {
+checkUnnamed1006(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -447,9 +447,9 @@
var o = new api.Columns();
buildCounterColumns++;
if (buildCounterColumns < 3) {
- o.attributeNames = buildUnnamed989();
+ o.attributeNames = buildUnnamed1005();
o.etag = "foo";
- o.items = buildUnnamed990();
+ o.items = buildUnnamed1006();
o.kind = "foo";
o.totalResults = 42;
}
@@ -460,9 +460,9 @@
checkColumns(api.Columns o) {
buildCounterColumns++;
if (buildCounterColumns < 3) {
- checkUnnamed989(o.attributeNames);
+ checkUnnamed1005(o.attributeNames);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed990(o.items);
+ checkUnnamed1006(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
}
@@ -511,14 +511,27 @@
buildCounterCustomDataSourceParentLink--;
}
-buildUnnamed991() {
+buildUnnamed1007() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed991(core.List<core.String> o) {
+checkUnnamed1007(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1008() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1008(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -538,7 +551,8 @@
o.kind = "foo";
o.name = "foo";
o.parentLink = buildCustomDataSourceParentLink();
- o.profilesLinked = buildUnnamed991();
+ o.profilesLinked = buildUnnamed1007();
+ o.schema = buildUnnamed1008();
o.selfLink = "foo";
o.type = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
@@ -561,7 +575,8 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkCustomDataSourceParentLink(o.parentLink);
- checkUnnamed991(o.profilesLinked);
+ checkUnnamed1007(o.profilesLinked);
+ checkUnnamed1008(o.schema);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -571,14 +586,14 @@
buildCounterCustomDataSource--;
}
-buildUnnamed992() {
+buildUnnamed1009() {
var o = new core.List<api.CustomDataSource>();
o.add(buildCustomDataSource());
o.add(buildCustomDataSource());
return o;
}
-checkUnnamed992(core.List<api.CustomDataSource> o) {
+checkUnnamed1009(core.List<api.CustomDataSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDataSource(o[0]);
checkCustomDataSource(o[1]);
@@ -589,7 +604,7 @@
var o = new api.CustomDataSources();
buildCounterCustomDataSources++;
if (buildCounterCustomDataSources < 3) {
- o.items = buildUnnamed992();
+ o.items = buildUnnamed1009();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -605,7 +620,7 @@
checkCustomDataSources(api.CustomDataSources o) {
buildCounterCustomDataSources++;
if (buildCounterCustomDataSources < 3) {
- checkUnnamed992(o.items);
+ checkUnnamed1009(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -679,14 +694,14 @@
buildCounterCustomDimension--;
}
-buildUnnamed993() {
+buildUnnamed1010() {
var o = new core.List<api.CustomDimension>();
o.add(buildCustomDimension());
o.add(buildCustomDimension());
return o;
}
-checkUnnamed993(core.List<api.CustomDimension> o) {
+checkUnnamed1010(core.List<api.CustomDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDimension(o[0]);
checkCustomDimension(o[1]);
@@ -697,7 +712,7 @@
var o = new api.CustomDimensions();
buildCounterCustomDimensions++;
if (buildCounterCustomDimensions < 3) {
- o.items = buildUnnamed993();
+ o.items = buildUnnamed1010();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -713,7 +728,7 @@
checkCustomDimensions(api.CustomDimensions o) {
buildCounterCustomDimensions++;
if (buildCounterCustomDimensions < 3) {
- checkUnnamed993(o.items);
+ checkUnnamed1010(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -793,14 +808,14 @@
buildCounterCustomMetric--;
}
-buildUnnamed994() {
+buildUnnamed1011() {
var o = new core.List<api.CustomMetric>();
o.add(buildCustomMetric());
o.add(buildCustomMetric());
return o;
}
-checkUnnamed994(core.List<api.CustomMetric> o) {
+checkUnnamed1011(core.List<api.CustomMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomMetric(o[0]);
checkCustomMetric(o[1]);
@@ -811,7 +826,7 @@
var o = new api.CustomMetrics();
buildCounterCustomMetrics++;
if (buildCounterCustomMetrics < 3) {
- o.items = buildUnnamed994();
+ o.items = buildUnnamed1011();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -827,7 +842,7 @@
checkCustomMetrics(api.CustomMetrics o) {
buildCounterCustomMetrics++;
if (buildCounterCustomMetrics < 3) {
- checkUnnamed994(o.items);
+ checkUnnamed1011(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -839,14 +854,14 @@
buildCounterCustomMetrics--;
}
-buildUnnamed995() {
+buildUnnamed1012() {
var o = new core.List<api.AdWordsAccount>();
o.add(buildAdWordsAccount());
o.add(buildAdWordsAccount());
return o;
}
-checkUnnamed995(core.List<api.AdWordsAccount> o) {
+checkUnnamed1012(core.List<api.AdWordsAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdWordsAccount(o[0]);
checkAdWordsAccount(o[1]);
@@ -871,14 +886,14 @@
buildCounterEntityAdWordsLinkEntity--;
}
-buildUnnamed996() {
+buildUnnamed1013() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed996(core.List<core.String> o) {
+checkUnnamed1013(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -889,12 +904,12 @@
var o = new api.EntityAdWordsLink();
buildCounterEntityAdWordsLink++;
if (buildCounterEntityAdWordsLink < 3) {
- o.adWordsAccounts = buildUnnamed995();
+ o.adWordsAccounts = buildUnnamed1012();
o.entity = buildEntityAdWordsLinkEntity();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.profileIds = buildUnnamed996();
+ o.profileIds = buildUnnamed1013();
o.selfLink = "foo";
}
buildCounterEntityAdWordsLink--;
@@ -904,25 +919,25 @@
checkEntityAdWordsLink(api.EntityAdWordsLink o) {
buildCounterEntityAdWordsLink++;
if (buildCounterEntityAdWordsLink < 3) {
- checkUnnamed995(o.adWordsAccounts);
+ checkUnnamed1012(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'));
- checkUnnamed996(o.profileIds);
+ checkUnnamed1013(o.profileIds);
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterEntityAdWordsLink--;
}
-buildUnnamed997() {
+buildUnnamed1014() {
var o = new core.List<api.EntityAdWordsLink>();
o.add(buildEntityAdWordsLink());
o.add(buildEntityAdWordsLink());
return o;
}
-checkUnnamed997(core.List<api.EntityAdWordsLink> o) {
+checkUnnamed1014(core.List<api.EntityAdWordsLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAdWordsLink(o[0]);
checkEntityAdWordsLink(o[1]);
@@ -933,7 +948,7 @@
var o = new api.EntityAdWordsLinks();
buildCounterEntityAdWordsLinks++;
if (buildCounterEntityAdWordsLinks < 3) {
- o.items = buildUnnamed997();
+ o.items = buildUnnamed1014();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -948,7 +963,7 @@
checkEntityAdWordsLinks(api.EntityAdWordsLinks o) {
buildCounterEntityAdWordsLinks++;
if (buildCounterEntityAdWordsLinks < 3) {
- checkUnnamed997(o.items);
+ checkUnnamed1014(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -982,27 +997,27 @@
buildCounterEntityUserLinkEntity--;
}
-buildUnnamed998() {
+buildUnnamed1015() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed998(core.List<core.String> o) {
+checkUnnamed1015(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed999() {
+buildUnnamed1016() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed999(core.List<core.String> o) {
+checkUnnamed1016(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1013,8 +1028,8 @@
var o = new api.EntityUserLinkPermissions();
buildCounterEntityUserLinkPermissions++;
if (buildCounterEntityUserLinkPermissions < 3) {
- o.effective = buildUnnamed998();
- o.local = buildUnnamed999();
+ o.effective = buildUnnamed1015();
+ o.local = buildUnnamed1016();
}
buildCounterEntityUserLinkPermissions--;
return o;
@@ -1023,8 +1038,8 @@
checkEntityUserLinkPermissions(api.EntityUserLinkPermissions o) {
buildCounterEntityUserLinkPermissions++;
if (buildCounterEntityUserLinkPermissions < 3) {
- checkUnnamed998(o.effective);
- checkUnnamed999(o.local);
+ checkUnnamed1015(o.effective);
+ checkUnnamed1016(o.local);
}
buildCounterEntityUserLinkPermissions--;
}
@@ -1058,14 +1073,14 @@
buildCounterEntityUserLink--;
}
-buildUnnamed1000() {
+buildUnnamed1017() {
var o = new core.List<api.EntityUserLink>();
o.add(buildEntityUserLink());
o.add(buildEntityUserLink());
return o;
}
-checkUnnamed1000(core.List<api.EntityUserLink> o) {
+checkUnnamed1017(core.List<api.EntityUserLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityUserLink(o[0]);
checkEntityUserLink(o[1]);
@@ -1076,7 +1091,7 @@
var o = new api.EntityUserLinks();
buildCounterEntityUserLinks++;
if (buildCounterEntityUserLinks < 3) {
- o.items = buildUnnamed1000();
+ o.items = buildUnnamed1017();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1091,7 +1106,7 @@
checkEntityUserLinks(api.EntityUserLinks o) {
buildCounterEntityUserLinks++;
if (buildCounterEntityUserLinks < 3) {
- checkUnnamed1000(o.items);
+ checkUnnamed1017(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1150,14 +1165,14 @@
buildCounterExperimentVariations--;
}
-buildUnnamed1001() {
+buildUnnamed1018() {
var o = new core.List<api.ExperimentVariations>();
o.add(buildExperimentVariations());
o.add(buildExperimentVariations());
return o;
}
-checkUnnamed1001(core.List<api.ExperimentVariations> o) {
+checkUnnamed1018(core.List<api.ExperimentVariations> o) {
unittest.expect(o, unittest.hasLength(2));
checkExperimentVariations(o[0]);
checkExperimentVariations(o[1]);
@@ -1192,7 +1207,7 @@
o.status = "foo";
o.trafficCoverage = 42.0;
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
- o.variations = buildUnnamed1001();
+ o.variations = buildUnnamed1018();
o.webPropertyId = "foo";
o.winnerConfidenceLevel = 42.0;
o.winnerFound = true;
@@ -1228,7 +1243,7 @@
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.trafficCoverage, unittest.equals(42.0));
unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed1001(o.variations);
+ checkUnnamed1018(o.variations);
unittest.expect(o.webPropertyId, unittest.equals('foo'));
unittest.expect(o.winnerConfidenceLevel, unittest.equals(42.0));
unittest.expect(o.winnerFound, unittest.isTrue);
@@ -1236,14 +1251,14 @@
buildCounterExperiment--;
}
-buildUnnamed1002() {
+buildUnnamed1019() {
var o = new core.List<api.Experiment>();
o.add(buildExperiment());
o.add(buildExperiment());
return o;
}
-checkUnnamed1002(core.List<api.Experiment> o) {
+checkUnnamed1019(core.List<api.Experiment> o) {
unittest.expect(o, unittest.hasLength(2));
checkExperiment(o[0]);
checkExperiment(o[1]);
@@ -1254,7 +1269,7 @@
var o = new api.Experiments();
buildCounterExperiments++;
if (buildCounterExperiments < 3) {
- o.items = buildUnnamed1002();
+ o.items = buildUnnamed1019();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1270,7 +1285,7 @@
checkExperiments(api.Experiments o) {
buildCounterExperiments++;
if (buildCounterExperiments < 3) {
- checkUnnamed1002(o.items);
+ checkUnnamed1019(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1518,14 +1533,14 @@
buildCounterFilterRef--;
}
-buildUnnamed1003() {
+buildUnnamed1020() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed1003(core.List<api.Filter> o) {
+checkUnnamed1020(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -1536,7 +1551,7 @@
var o = new api.Filters();
buildCounterFilters++;
if (buildCounterFilters < 3) {
- o.items = buildUnnamed1003();
+ o.items = buildUnnamed1020();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1552,7 +1567,7 @@
checkFilters(api.Filters o) {
buildCounterFilters++;
if (buildCounterFilters < 3) {
- checkUnnamed1003(o.items);
+ checkUnnamed1020(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1587,14 +1602,14 @@
buildCounterGaDataColumnHeaders--;
}
-buildUnnamed1004() {
+buildUnnamed1021() {
var o = new core.List<api.GaDataColumnHeaders>();
o.add(buildGaDataColumnHeaders());
o.add(buildGaDataColumnHeaders());
return o;
}
-checkUnnamed1004(core.List<api.GaDataColumnHeaders> o) {
+checkUnnamed1021(core.List<api.GaDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataColumnHeaders(o[0]);
checkGaDataColumnHeaders(o[1]);
@@ -1623,14 +1638,14 @@
buildCounterGaDataDataTableCols--;
}
-buildUnnamed1005() {
+buildUnnamed1022() {
var o = new core.List<api.GaDataDataTableCols>();
o.add(buildGaDataDataTableCols());
o.add(buildGaDataDataTableCols());
return o;
}
-checkUnnamed1005(core.List<api.GaDataDataTableCols> o) {
+checkUnnamed1022(core.List<api.GaDataDataTableCols> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableCols(o[0]);
checkGaDataDataTableCols(o[1]);
@@ -1655,14 +1670,14 @@
buildCounterGaDataDataTableRowsC--;
}
-buildUnnamed1006() {
+buildUnnamed1023() {
var o = new core.List<api.GaDataDataTableRowsC>();
o.add(buildGaDataDataTableRowsC());
o.add(buildGaDataDataTableRowsC());
return o;
}
-checkUnnamed1006(core.List<api.GaDataDataTableRowsC> o) {
+checkUnnamed1023(core.List<api.GaDataDataTableRowsC> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableRowsC(o[0]);
checkGaDataDataTableRowsC(o[1]);
@@ -1673,7 +1688,7 @@
var o = new api.GaDataDataTableRows();
buildCounterGaDataDataTableRows++;
if (buildCounterGaDataDataTableRows < 3) {
- o.c = buildUnnamed1006();
+ o.c = buildUnnamed1023();
}
buildCounterGaDataDataTableRows--;
return o;
@@ -1682,19 +1697,19 @@
checkGaDataDataTableRows(api.GaDataDataTableRows o) {
buildCounterGaDataDataTableRows++;
if (buildCounterGaDataDataTableRows < 3) {
- checkUnnamed1006(o.c);
+ checkUnnamed1023(o.c);
}
buildCounterGaDataDataTableRows--;
}
-buildUnnamed1007() {
+buildUnnamed1024() {
var o = new core.List<api.GaDataDataTableRows>();
o.add(buildGaDataDataTableRows());
o.add(buildGaDataDataTableRows());
return o;
}
-checkUnnamed1007(core.List<api.GaDataDataTableRows> o) {
+checkUnnamed1024(core.List<api.GaDataDataTableRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableRows(o[0]);
checkGaDataDataTableRows(o[1]);
@@ -1705,8 +1720,8 @@
var o = new api.GaDataDataTable();
buildCounterGaDataDataTable++;
if (buildCounterGaDataDataTable < 3) {
- o.cols = buildUnnamed1005();
- o.rows = buildUnnamed1007();
+ o.cols = buildUnnamed1022();
+ o.rows = buildUnnamed1024();
}
buildCounterGaDataDataTable--;
return o;
@@ -1715,8 +1730,8 @@
checkGaDataDataTable(api.GaDataDataTable o) {
buildCounterGaDataDataTable++;
if (buildCounterGaDataDataTable < 3) {
- checkUnnamed1005(o.cols);
- checkUnnamed1007(o.rows);
+ checkUnnamed1022(o.cols);
+ checkUnnamed1024(o.rows);
}
buildCounterGaDataDataTable--;
}
@@ -1750,27 +1765,27 @@
buildCounterGaDataProfileInfo--;
}
-buildUnnamed1008() {
+buildUnnamed1025() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1008(core.List<core.String> o) {
+checkUnnamed1025(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1009() {
+buildUnnamed1026() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1009(core.List<core.String> o) {
+checkUnnamed1026(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1786,10 +1801,10 @@
o.filters = "foo";
o.ids = "foo";
o.max_results = 42;
- o.metrics = buildUnnamed1008();
+ o.metrics = buildUnnamed1025();
o.samplingLevel = "foo";
o.segment = "foo";
- o.sort = buildUnnamed1009();
+ o.sort = buildUnnamed1026();
o.start_date = "foo";
o.start_index = 42;
}
@@ -1805,50 +1820,50 @@
unittest.expect(o.filters, unittest.equals('foo'));
unittest.expect(o.ids, unittest.equals('foo'));
unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed1008(o.metrics);
+ checkUnnamed1025(o.metrics);
unittest.expect(o.samplingLevel, unittest.equals('foo'));
unittest.expect(o.segment, unittest.equals('foo'));
- checkUnnamed1009(o.sort);
+ checkUnnamed1026(o.sort);
unittest.expect(o.start_date, unittest.equals('foo'));
unittest.expect(o.start_index, unittest.equals(42));
}
buildCounterGaDataQuery--;
}
-buildUnnamed1010() {
+buildUnnamed1027() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1010(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'));
}
-buildUnnamed1011() {
+buildUnnamed1028() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed1010());
- o.add(buildUnnamed1010());
+ o.add(buildUnnamed1027());
+ o.add(buildUnnamed1027());
return o;
}
-checkUnnamed1011(core.List<core.List<core.String>> o) {
+checkUnnamed1028(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1010(o[0]);
- checkUnnamed1010(o[1]);
+ checkUnnamed1027(o[0]);
+ checkUnnamed1027(o[1]);
}
-buildUnnamed1012() {
+buildUnnamed1029() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1012(core.Map<core.String, core.String> o) {
+checkUnnamed1029(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1859,7 +1874,7 @@
var o = new api.GaData();
buildCounterGaData++;
if (buildCounterGaData < 3) {
- o.columnHeaders = buildUnnamed1004();
+ o.columnHeaders = buildUnnamed1021();
o.containsSampledData = true;
o.dataLastRefreshed = "foo";
o.dataTable = buildGaDataDataTable();
@@ -1870,12 +1885,12 @@
o.previousLink = "foo";
o.profileInfo = buildGaDataProfileInfo();
o.query = buildGaDataQuery();
- o.rows = buildUnnamed1011();
+ o.rows = buildUnnamed1028();
o.sampleSize = "foo";
o.sampleSpace = "foo";
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed1012();
+ o.totalsForAllResults = buildUnnamed1029();
}
buildCounterGaData--;
return o;
@@ -1884,7 +1899,7 @@
checkGaData(api.GaData o) {
buildCounterGaData++;
if (buildCounterGaData < 3) {
- checkUnnamed1004(o.columnHeaders);
+ checkUnnamed1021(o.columnHeaders);
unittest.expect(o.containsSampledData, unittest.isTrue);
unittest.expect(o.dataLastRefreshed, unittest.equals('foo'));
checkGaDataDataTable(o.dataTable);
@@ -1895,12 +1910,12 @@
unittest.expect(o.previousLink, unittest.equals('foo'));
checkGaDataProfileInfo(o.profileInfo);
checkGaDataQuery(o.query);
- checkUnnamed1011(o.rows);
+ checkUnnamed1028(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));
- checkUnnamed1012(o.totalsForAllResults);
+ checkUnnamed1029(o.totalsForAllResults);
}
buildCounterGaData--;
}
@@ -1932,14 +1947,14 @@
buildCounterGoalEventDetailsEventConditions--;
}
-buildUnnamed1013() {
+buildUnnamed1030() {
var o = new core.List<api.GoalEventDetailsEventConditions>();
o.add(buildGoalEventDetailsEventConditions());
o.add(buildGoalEventDetailsEventConditions());
return o;
}
-checkUnnamed1013(core.List<api.GoalEventDetailsEventConditions> o) {
+checkUnnamed1030(core.List<api.GoalEventDetailsEventConditions> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoalEventDetailsEventConditions(o[0]);
checkGoalEventDetailsEventConditions(o[1]);
@@ -1950,7 +1965,7 @@
var o = new api.GoalEventDetails();
buildCounterGoalEventDetails++;
if (buildCounterGoalEventDetails < 3) {
- o.eventConditions = buildUnnamed1013();
+ o.eventConditions = buildUnnamed1030();
o.useEventValue = true;
}
buildCounterGoalEventDetails--;
@@ -1960,7 +1975,7 @@
checkGoalEventDetails(api.GoalEventDetails o) {
buildCounterGoalEventDetails++;
if (buildCounterGoalEventDetails < 3) {
- checkUnnamed1013(o.eventConditions);
+ checkUnnamed1030(o.eventConditions);
unittest.expect(o.useEventValue, unittest.isTrue);
}
buildCounterGoalEventDetails--;
@@ -2010,14 +2025,14 @@
buildCounterGoalUrlDestinationDetailsSteps--;
}
-buildUnnamed1014() {
+buildUnnamed1031() {
var o = new core.List<api.GoalUrlDestinationDetailsSteps>();
o.add(buildGoalUrlDestinationDetailsSteps());
o.add(buildGoalUrlDestinationDetailsSteps());
return o;
}
-checkUnnamed1014(core.List<api.GoalUrlDestinationDetailsSteps> o) {
+checkUnnamed1031(core.List<api.GoalUrlDestinationDetailsSteps> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoalUrlDestinationDetailsSteps(o[0]);
checkGoalUrlDestinationDetailsSteps(o[1]);
@@ -2031,7 +2046,7 @@
o.caseSensitive = true;
o.firstStepRequired = true;
o.matchType = "foo";
- o.steps = buildUnnamed1014();
+ o.steps = buildUnnamed1031();
o.url = "foo";
}
buildCounterGoalUrlDestinationDetails--;
@@ -2044,7 +2059,7 @@
unittest.expect(o.caseSensitive, unittest.isTrue);
unittest.expect(o.firstStepRequired, unittest.isTrue);
unittest.expect(o.matchType, unittest.equals('foo'));
- checkUnnamed1014(o.steps);
+ checkUnnamed1031(o.steps);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterGoalUrlDestinationDetails--;
@@ -2145,14 +2160,14 @@
buildCounterGoal--;
}
-buildUnnamed1015() {
+buildUnnamed1032() {
var o = new core.List<api.Goal>();
o.add(buildGoal());
o.add(buildGoal());
return o;
}
-checkUnnamed1015(core.List<api.Goal> o) {
+checkUnnamed1032(core.List<api.Goal> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoal(o[0]);
checkGoal(o[1]);
@@ -2163,7 +2178,7 @@
var o = new api.Goals();
buildCounterGoals++;
if (buildCounterGoals < 3) {
- o.items = buildUnnamed1015();
+ o.items = buildUnnamed1032();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2179,7 +2194,7 @@
checkGoals(api.Goals o) {
buildCounterGoals++;
if (buildCounterGoals < 3) {
- checkUnnamed1015(o.items);
+ checkUnnamed1032(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2278,14 +2293,14 @@
buildCounterMcfDataColumnHeaders--;
}
-buildUnnamed1016() {
+buildUnnamed1033() {
var o = new core.List<api.McfDataColumnHeaders>();
o.add(buildMcfDataColumnHeaders());
o.add(buildMcfDataColumnHeaders());
return o;
}
-checkUnnamed1016(core.List<api.McfDataColumnHeaders> o) {
+checkUnnamed1033(core.List<api.McfDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataColumnHeaders(o[0]);
checkMcfDataColumnHeaders(o[1]);
@@ -2320,27 +2335,27 @@
buildCounterMcfDataProfileInfo--;
}
-buildUnnamed1017() {
+buildUnnamed1034() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1017(core.List<core.String> o) {
+checkUnnamed1034(core.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() {
+buildUnnamed1035() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1018(core.List<core.String> 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'));
@@ -2356,10 +2371,10 @@
o.filters = "foo";
o.ids = "foo";
o.max_results = 42;
- o.metrics = buildUnnamed1017();
+ o.metrics = buildUnnamed1034();
o.samplingLevel = "foo";
o.segment = "foo";
- o.sort = buildUnnamed1018();
+ o.sort = buildUnnamed1035();
o.start_date = "foo";
o.start_index = 42;
}
@@ -2375,10 +2390,10 @@
unittest.expect(o.filters, unittest.equals('foo'));
unittest.expect(o.ids, unittest.equals('foo'));
unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed1017(o.metrics);
+ checkUnnamed1034(o.metrics);
unittest.expect(o.samplingLevel, unittest.equals('foo'));
unittest.expect(o.segment, unittest.equals('foo'));
- checkUnnamed1018(o.sort);
+ checkUnnamed1035(o.sort);
unittest.expect(o.start_date, unittest.equals('foo'));
unittest.expect(o.start_index, unittest.equals(42));
}
@@ -2406,14 +2421,14 @@
buildCounterMcfDataRowsConversionPathValue--;
}
-buildUnnamed1019() {
+buildUnnamed1036() {
var o = new core.List<api.McfDataRowsConversionPathValue>();
o.add(buildMcfDataRowsConversionPathValue());
o.add(buildMcfDataRowsConversionPathValue());
return o;
}
-checkUnnamed1019(core.List<api.McfDataRowsConversionPathValue> o) {
+checkUnnamed1036(core.List<api.McfDataRowsConversionPathValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataRowsConversionPathValue(o[0]);
checkMcfDataRowsConversionPathValue(o[1]);
@@ -2424,7 +2439,7 @@
var o = new api.McfDataRows();
buildCounterMcfDataRows++;
if (buildCounterMcfDataRows < 3) {
- o.conversionPathValue = buildUnnamed1019();
+ o.conversionPathValue = buildUnnamed1036();
o.primitiveValue = "foo";
}
buildCounterMcfDataRows--;
@@ -2434,46 +2449,46 @@
checkMcfDataRows(api.McfDataRows o) {
buildCounterMcfDataRows++;
if (buildCounterMcfDataRows < 3) {
- checkUnnamed1019(o.conversionPathValue);
+ checkUnnamed1036(o.conversionPathValue);
unittest.expect(o.primitiveValue, unittest.equals('foo'));
}
buildCounterMcfDataRows--;
}
-buildUnnamed1020() {
+buildUnnamed1037() {
var o = new core.List<api.McfDataRows>();
o.add(buildMcfDataRows());
o.add(buildMcfDataRows());
return o;
}
-checkUnnamed1020(core.List<api.McfDataRows> o) {
+checkUnnamed1037(core.List<api.McfDataRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataRows(o[0]);
checkMcfDataRows(o[1]);
}
-buildUnnamed1021() {
+buildUnnamed1038() {
var o = new core.List<core.List<api.McfDataRows>>();
- o.add(buildUnnamed1020());
- o.add(buildUnnamed1020());
+ o.add(buildUnnamed1037());
+ o.add(buildUnnamed1037());
return o;
}
-checkUnnamed1021(core.List<core.List<api.McfDataRows>> o) {
+checkUnnamed1038(core.List<core.List<api.McfDataRows>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1020(o[0]);
- checkUnnamed1020(o[1]);
+ checkUnnamed1037(o[0]);
+ checkUnnamed1037(o[1]);
}
-buildUnnamed1022() {
+buildUnnamed1039() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1022(core.Map<core.String, core.String> o) {
+checkUnnamed1039(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2484,7 +2499,7 @@
var o = new api.McfData();
buildCounterMcfData++;
if (buildCounterMcfData < 3) {
- o.columnHeaders = buildUnnamed1016();
+ o.columnHeaders = buildUnnamed1033();
o.containsSampledData = true;
o.id = "foo";
o.itemsPerPage = 42;
@@ -2493,12 +2508,12 @@
o.previousLink = "foo";
o.profileInfo = buildMcfDataProfileInfo();
o.query = buildMcfDataQuery();
- o.rows = buildUnnamed1021();
+ o.rows = buildUnnamed1038();
o.sampleSize = "foo";
o.sampleSpace = "foo";
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed1022();
+ o.totalsForAllResults = buildUnnamed1039();
}
buildCounterMcfData--;
return o;
@@ -2507,7 +2522,7 @@
checkMcfData(api.McfData o) {
buildCounterMcfData++;
if (buildCounterMcfData < 3) {
- checkUnnamed1016(o.columnHeaders);
+ checkUnnamed1033(o.columnHeaders);
unittest.expect(o.containsSampledData, unittest.isTrue);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.itemsPerPage, unittest.equals(42));
@@ -2516,12 +2531,12 @@
unittest.expect(o.previousLink, unittest.equals('foo'));
checkMcfDataProfileInfo(o.profileInfo);
checkMcfDataQuery(o.query);
- checkUnnamed1021(o.rows);
+ checkUnnamed1038(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));
- checkUnnamed1022(o.totalsForAllResults);
+ checkUnnamed1039(o.totalsForAllResults);
}
buildCounterMcfData--;
}
@@ -2568,14 +2583,14 @@
buildCounterProfileParentLink--;
}
-buildUnnamed1023() {
+buildUnnamed1040() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1023(core.List<core.String> o) {
+checkUnnamed1040(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2586,7 +2601,7 @@
var o = new api.ProfilePermissions();
buildCounterProfilePermissions++;
if (buildCounterProfilePermissions < 3) {
- o.effective = buildUnnamed1023();
+ o.effective = buildUnnamed1040();
}
buildCounterProfilePermissions--;
return o;
@@ -2595,7 +2610,7 @@
checkProfilePermissions(api.ProfilePermissions o) {
buildCounterProfilePermissions++;
if (buildCounterProfilePermissions < 3) {
- checkUnnamed1023(o.effective);
+ checkUnnamed1040(o.effective);
}
buildCounterProfilePermissions--;
}
@@ -2698,14 +2713,14 @@
buildCounterProfileFilterLink--;
}
-buildUnnamed1024() {
+buildUnnamed1041() {
var o = new core.List<api.ProfileFilterLink>();
o.add(buildProfileFilterLink());
o.add(buildProfileFilterLink());
return o;
}
-checkUnnamed1024(core.List<api.ProfileFilterLink> o) {
+checkUnnamed1041(core.List<api.ProfileFilterLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfileFilterLink(o[0]);
checkProfileFilterLink(o[1]);
@@ -2716,7 +2731,7 @@
var o = new api.ProfileFilterLinks();
buildCounterProfileFilterLinks++;
if (buildCounterProfileFilterLinks < 3) {
- o.items = buildUnnamed1024();
+ o.items = buildUnnamed1041();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2732,7 +2747,7 @@
checkProfileFilterLinks(api.ProfileFilterLinks o) {
buildCounterProfileFilterLinks++;
if (buildCounterProfileFilterLinks < 3) {
- checkUnnamed1024(o.items);
+ checkUnnamed1041(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2802,14 +2817,14 @@
buildCounterProfileSummary--;
}
-buildUnnamed1025() {
+buildUnnamed1042() {
var o = new core.List<api.Profile>();
o.add(buildProfile());
o.add(buildProfile());
return o;
}
-checkUnnamed1025(core.List<api.Profile> o) {
+checkUnnamed1042(core.List<api.Profile> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfile(o[0]);
checkProfile(o[1]);
@@ -2820,7 +2835,7 @@
var o = new api.Profiles();
buildCounterProfiles++;
if (buildCounterProfiles < 3) {
- o.items = buildUnnamed1025();
+ o.items = buildUnnamed1042();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2836,7 +2851,7 @@
checkProfiles(api.Profiles o) {
buildCounterProfiles++;
if (buildCounterProfiles < 3) {
- checkUnnamed1025(o.items);
+ checkUnnamed1042(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2871,14 +2886,14 @@
buildCounterRealtimeDataColumnHeaders--;
}
-buildUnnamed1026() {
+buildUnnamed1043() {
var o = new core.List<api.RealtimeDataColumnHeaders>();
o.add(buildRealtimeDataColumnHeaders());
o.add(buildRealtimeDataColumnHeaders());
return o;
}
-checkUnnamed1026(core.List<api.RealtimeDataColumnHeaders> o) {
+checkUnnamed1043(core.List<api.RealtimeDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkRealtimeDataColumnHeaders(o[0]);
checkRealtimeDataColumnHeaders(o[1]);
@@ -2913,27 +2928,27 @@
buildCounterRealtimeDataProfileInfo--;
}
-buildUnnamed1027() {
+buildUnnamed1044() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1027(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'));
}
-buildUnnamed1028() {
+buildUnnamed1045() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1028(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'));
@@ -2948,8 +2963,8 @@
o.filters = "foo";
o.ids = "foo";
o.max_results = 42;
- o.metrics = buildUnnamed1027();
- o.sort = buildUnnamed1028();
+ o.metrics = buildUnnamed1044();
+ o.sort = buildUnnamed1045();
}
buildCounterRealtimeDataQuery--;
return o;
@@ -2962,46 +2977,46 @@
unittest.expect(o.filters, unittest.equals('foo'));
unittest.expect(o.ids, unittest.equals('foo'));
unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed1027(o.metrics);
- checkUnnamed1028(o.sort);
+ checkUnnamed1044(o.metrics);
+ checkUnnamed1045(o.sort);
}
buildCounterRealtimeDataQuery--;
}
-buildUnnamed1029() {
+buildUnnamed1046() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1029(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'));
}
-buildUnnamed1030() {
+buildUnnamed1047() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed1029());
- o.add(buildUnnamed1029());
+ o.add(buildUnnamed1046());
+ o.add(buildUnnamed1046());
return o;
}
-checkUnnamed1030(core.List<core.List<core.String>> o) {
+checkUnnamed1047(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1029(o[0]);
- checkUnnamed1029(o[1]);
+ checkUnnamed1046(o[0]);
+ checkUnnamed1046(o[1]);
}
-buildUnnamed1031() {
+buildUnnamed1048() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1031(core.Map<core.String, core.String> o) {
+checkUnnamed1048(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -3012,15 +3027,15 @@
var o = new api.RealtimeData();
buildCounterRealtimeData++;
if (buildCounterRealtimeData < 3) {
- o.columnHeaders = buildUnnamed1026();
+ o.columnHeaders = buildUnnamed1043();
o.id = "foo";
o.kind = "foo";
o.profileInfo = buildRealtimeDataProfileInfo();
o.query = buildRealtimeDataQuery();
- o.rows = buildUnnamed1030();
+ o.rows = buildUnnamed1047();
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed1031();
+ o.totalsForAllResults = buildUnnamed1048();
}
buildCounterRealtimeData--;
return o;
@@ -3029,15 +3044,15 @@
checkRealtimeData(api.RealtimeData o) {
buildCounterRealtimeData++;
if (buildCounterRealtimeData < 3) {
- checkUnnamed1026(o.columnHeaders);
+ checkUnnamed1043(o.columnHeaders);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkRealtimeDataProfileInfo(o.profileInfo);
checkRealtimeDataQuery(o.query);
- checkUnnamed1030(o.rows);
+ checkUnnamed1047(o.rows);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
- checkUnnamed1031(o.totalsForAllResults);
+ checkUnnamed1048(o.totalsForAllResults);
}
buildCounterRealtimeData--;
}
@@ -3061,27 +3076,27 @@
buildCounterRemarketingAudienceAudienceDefinition--;
}
-buildUnnamed1032() {
+buildUnnamed1049() {
var o = new core.List<api.LinkedForeignAccount>();
o.add(buildLinkedForeignAccount());
o.add(buildLinkedForeignAccount());
return o;
}
-checkUnnamed1032(core.List<api.LinkedForeignAccount> o) {
+checkUnnamed1049(core.List<api.LinkedForeignAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkLinkedForeignAccount(o[0]);
checkLinkedForeignAccount(o[1]);
}
-buildUnnamed1033() {
+buildUnnamed1050() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1033(core.List<core.String> o) {
+checkUnnamed1050(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3142,8 +3157,8 @@
o.id = "foo";
o.internalWebPropertyId = "foo";
o.kind = "foo";
- o.linkedAdAccounts = buildUnnamed1032();
- o.linkedViews = buildUnnamed1033();
+ o.linkedAdAccounts = buildUnnamed1049();
+ o.linkedViews = buildUnnamed1050();
o.name = "foo";
o.stateBasedAudienceDefinition = buildRemarketingAudienceStateBasedAudienceDefinition();
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
@@ -3164,8 +3179,8 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.internalWebPropertyId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1032(o.linkedAdAccounts);
- checkUnnamed1033(o.linkedViews);
+ checkUnnamed1049(o.linkedAdAccounts);
+ checkUnnamed1050(o.linkedViews);
unittest.expect(o.name, unittest.equals('foo'));
checkRemarketingAudienceStateBasedAudienceDefinition(o.stateBasedAudienceDefinition);
unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -3174,14 +3189,14 @@
buildCounterRemarketingAudience--;
}
-buildUnnamed1034() {
+buildUnnamed1051() {
var o = new core.List<api.RemarketingAudience>();
o.add(buildRemarketingAudience());
o.add(buildRemarketingAudience());
return o;
}
-checkUnnamed1034(core.List<api.RemarketingAudience> o) {
+checkUnnamed1051(core.List<api.RemarketingAudience> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemarketingAudience(o[0]);
checkRemarketingAudience(o[1]);
@@ -3192,7 +3207,7 @@
var o = new api.RemarketingAudiences();
buildCounterRemarketingAudiences++;
if (buildCounterRemarketingAudiences < 3) {
- o.items = buildUnnamed1034();
+ o.items = buildUnnamed1051();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3208,7 +3223,7 @@
checkRemarketingAudiences(api.RemarketingAudiences o) {
buildCounterRemarketingAudiences++;
if (buildCounterRemarketingAudiences < 3) {
- checkUnnamed1034(o.items);
+ checkUnnamed1051(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3255,14 +3270,14 @@
buildCounterSegment--;
}
-buildUnnamed1035() {
+buildUnnamed1052() {
var o = new core.List<api.Segment>();
o.add(buildSegment());
o.add(buildSegment());
return o;
}
-checkUnnamed1035(core.List<api.Segment> o) {
+checkUnnamed1052(core.List<api.Segment> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegment(o[0]);
checkSegment(o[1]);
@@ -3273,7 +3288,7 @@
var o = new api.Segments();
buildCounterSegments++;
if (buildCounterSegments < 3) {
- o.items = buildUnnamed1035();
+ o.items = buildUnnamed1052();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3289,7 +3304,7 @@
checkSegments(api.Segments o) {
buildCounterSegments++;
if (buildCounterSegments < 3) {
- checkUnnamed1035(o.items);
+ checkUnnamed1052(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3396,14 +3411,14 @@
buildCounterUnsampledReport--;
}
-buildUnnamed1036() {
+buildUnnamed1053() {
var o = new core.List<api.UnsampledReport>();
o.add(buildUnsampledReport());
o.add(buildUnsampledReport());
return o;
}
-checkUnnamed1036(core.List<api.UnsampledReport> o) {
+checkUnnamed1053(core.List<api.UnsampledReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkUnsampledReport(o[0]);
checkUnsampledReport(o[1]);
@@ -3414,7 +3429,7 @@
var o = new api.UnsampledReports();
buildCounterUnsampledReports++;
if (buildCounterUnsampledReports < 3) {
- o.items = buildUnnamed1036();
+ o.items = buildUnnamed1053();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3430,7 +3445,7 @@
checkUnsampledReports(api.UnsampledReports o) {
buildCounterUnsampledReports++;
if (buildCounterUnsampledReports < 3) {
- checkUnnamed1036(o.items);
+ checkUnnamed1053(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3442,14 +3457,14 @@
buildCounterUnsampledReports--;
}
-buildUnnamed1037() {
+buildUnnamed1054() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1037(core.List<core.String> o) {
+checkUnnamed1054(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3462,10 +3477,11 @@
if (buildCounterUpload < 3) {
o.accountId = "foo";
o.customDataSourceId = "foo";
- o.errors = buildUnnamed1037();
+ o.errors = buildUnnamed1054();
o.id = "foo";
o.kind = "foo";
o.status = "foo";
+ o.uploadTime = core.DateTime.parse("2002-02-27T14:01:02");
}
buildCounterUpload--;
return o;
@@ -3476,22 +3492,23 @@
if (buildCounterUpload < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.customDataSourceId, unittest.equals('foo'));
- checkUnnamed1037(o.errors);
+ checkUnnamed1054(o.errors);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
+ unittest.expect(o.uploadTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
}
buildCounterUpload--;
}
-buildUnnamed1038() {
+buildUnnamed1055() {
var o = new core.List<api.Upload>();
o.add(buildUpload());
o.add(buildUpload());
return o;
}
-checkUnnamed1038(core.List<api.Upload> o) {
+checkUnnamed1055(core.List<api.Upload> o) {
unittest.expect(o, unittest.hasLength(2));
checkUpload(o[0]);
checkUpload(o[1]);
@@ -3502,7 +3519,7 @@
var o = new api.Uploads();
buildCounterUploads++;
if (buildCounterUploads < 3) {
- o.items = buildUnnamed1038();
+ o.items = buildUnnamed1055();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3517,7 +3534,7 @@
checkUploads(api.Uploads o) {
buildCounterUploads++;
if (buildCounterUploads < 3) {
- checkUnnamed1038(o.items);
+ checkUnnamed1055(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3580,14 +3597,14 @@
buildCounterWebPropertyRef--;
}
-buildUnnamed1039() {
+buildUnnamed1056() {
var o = new core.List<api.ProfileSummary>();
o.add(buildProfileSummary());
o.add(buildProfileSummary());
return o;
}
-checkUnnamed1039(core.List<api.ProfileSummary> o) {
+checkUnnamed1056(core.List<api.ProfileSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfileSummary(o[0]);
checkProfileSummary(o[1]);
@@ -3603,7 +3620,7 @@
o.kind = "foo";
o.level = "foo";
o.name = "foo";
- o.profiles = buildUnnamed1039();
+ o.profiles = buildUnnamed1056();
o.starred = true;
o.websiteUrl = "foo";
}
@@ -3619,21 +3636,21 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1039(o.profiles);
+ checkUnnamed1056(o.profiles);
unittest.expect(o.starred, unittest.isTrue);
unittest.expect(o.websiteUrl, unittest.equals('foo'));
}
buildCounterWebPropertySummary--;
}
-buildUnnamed1040() {
+buildUnnamed1057() {
var o = new core.List<api.Webproperty>();
o.add(buildWebproperty());
o.add(buildWebproperty());
return o;
}
-checkUnnamed1040(core.List<api.Webproperty> o) {
+checkUnnamed1057(core.List<api.Webproperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebproperty(o[0]);
checkWebproperty(o[1]);
@@ -3644,7 +3661,7 @@
var o = new api.Webproperties();
buildCounterWebproperties++;
if (buildCounterWebproperties < 3) {
- o.items = buildUnnamed1040();
+ o.items = buildUnnamed1057();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3660,7 +3677,7 @@
checkWebproperties(api.Webproperties o) {
buildCounterWebproperties++;
if (buildCounterWebproperties < 3) {
- checkUnnamed1040(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'));
@@ -3714,14 +3731,14 @@
buildCounterWebpropertyParentLink--;
}
-buildUnnamed1041() {
+buildUnnamed1058() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1041(core.List<core.String> o) {
+checkUnnamed1058(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3732,7 +3749,7 @@
var o = new api.WebpropertyPermissions();
buildCounterWebpropertyPermissions++;
if (buildCounterWebpropertyPermissions < 3) {
- o.effective = buildUnnamed1041();
+ o.effective = buildUnnamed1058();
}
buildCounterWebpropertyPermissions--;
return o;
@@ -3741,7 +3758,7 @@
checkWebpropertyPermissions(api.WebpropertyPermissions o) {
buildCounterWebpropertyPermissions++;
if (buildCounterWebpropertyPermissions < 3) {
- checkUnnamed1041(o.effective);
+ checkUnnamed1058(o.effective);
}
buildCounterWebpropertyPermissions--;
}
diff --git a/generated/googleapis/test/analyticsreporting/v4_test.dart b/generated/googleapis/test/analyticsreporting/v4_test.dart
index 6fd91fa..c7db1dc 100644
--- a/generated/googleapis/test/analyticsreporting/v4_test.dart
+++ b/generated/googleapis/test/analyticsreporting/v4_test.dart
@@ -74,14 +74,14 @@
buildCounterCohort--;
}
-buildUnnamed209() {
+buildUnnamed214() {
var o = new core.List<api.Cohort>();
o.add(buildCohort());
o.add(buildCohort());
return o;
}
-checkUnnamed209(core.List<api.Cohort> o) {
+checkUnnamed214(core.List<api.Cohort> o) {
unittest.expect(o, unittest.hasLength(2));
checkCohort(o[0]);
checkCohort(o[1]);
@@ -92,7 +92,7 @@
var o = new api.CohortGroup();
buildCounterCohortGroup++;
if (buildCounterCohortGroup < 3) {
- o.cohorts = buildUnnamed209();
+ o.cohorts = buildUnnamed214();
o.lifetimeValue = true;
}
buildCounterCohortGroup--;
@@ -102,20 +102,20 @@
checkCohortGroup(api.CohortGroup o) {
buildCounterCohortGroup++;
if (buildCounterCohortGroup < 3) {
- checkUnnamed209(o.cohorts);
+ checkUnnamed214(o.cohorts);
unittest.expect(o.lifetimeValue, unittest.isTrue);
}
buildCounterCohortGroup--;
}
-buildUnnamed210() {
+buildUnnamed215() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed210(core.List<core.String> o) {
+checkUnnamed215(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -126,7 +126,7 @@
var o = new api.ColumnHeader();
buildCounterColumnHeader++;
if (buildCounterColumnHeader < 3) {
- o.dimensions = buildUnnamed210();
+ o.dimensions = buildUnnamed215();
o.metricHeader = buildMetricHeader();
}
buildCounterColumnHeader--;
@@ -136,7 +136,7 @@
checkColumnHeader(api.ColumnHeader o) {
buildCounterColumnHeader++;
if (buildCounterColumnHeader < 3) {
- checkUnnamed210(o.dimensions);
+ checkUnnamed215(o.dimensions);
checkMetricHeader(o.metricHeader);
}
buildCounterColumnHeader--;
@@ -163,27 +163,27 @@
buildCounterDateRange--;
}
-buildUnnamed211() {
+buildUnnamed216() {
var o = new core.List<api.PivotValueRegion>();
o.add(buildPivotValueRegion());
o.add(buildPivotValueRegion());
return o;
}
-checkUnnamed211(core.List<api.PivotValueRegion> o) {
+checkUnnamed216(core.List<api.PivotValueRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotValueRegion(o[0]);
checkPivotValueRegion(o[1]);
}
-buildUnnamed212() {
+buildUnnamed217() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed212(core.List<core.String> o) {
+checkUnnamed217(core.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,8 +194,8 @@
var o = new api.DateRangeValues();
buildCounterDateRangeValues++;
if (buildCounterDateRangeValues < 3) {
- o.pivotValueRegions = buildUnnamed211();
- o.values = buildUnnamed212();
+ o.pivotValueRegions = buildUnnamed216();
+ o.values = buildUnnamed217();
}
buildCounterDateRangeValues--;
return o;
@@ -204,20 +204,20 @@
checkDateRangeValues(api.DateRangeValues o) {
buildCounterDateRangeValues++;
if (buildCounterDateRangeValues < 3) {
- checkUnnamed211(o.pivotValueRegions);
- checkUnnamed212(o.values);
+ checkUnnamed216(o.pivotValueRegions);
+ checkUnnamed217(o.values);
}
buildCounterDateRangeValues--;
}
-buildUnnamed213() {
+buildUnnamed218() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed213(core.List<core.String> o) {
+checkUnnamed218(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -228,7 +228,7 @@
var o = new api.Dimension();
buildCounterDimension++;
if (buildCounterDimension < 3) {
- o.histogramBuckets = buildUnnamed213();
+ o.histogramBuckets = buildUnnamed218();
o.name = "foo";
}
buildCounterDimension--;
@@ -238,20 +238,20 @@
checkDimension(api.Dimension o) {
buildCounterDimension++;
if (buildCounterDimension < 3) {
- checkUnnamed213(o.histogramBuckets);
+ checkUnnamed218(o.histogramBuckets);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterDimension--;
}
-buildUnnamed214() {
+buildUnnamed219() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed214(core.List<core.String> o) {
+checkUnnamed219(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -264,7 +264,7 @@
if (buildCounterDimensionFilter < 3) {
o.caseSensitive = true;
o.dimensionName = "foo";
- o.expressions = buildUnnamed214();
+ o.expressions = buildUnnamed219();
o.not = true;
o.operator = "foo";
}
@@ -277,21 +277,21 @@
if (buildCounterDimensionFilter < 3) {
unittest.expect(o.caseSensitive, unittest.isTrue);
unittest.expect(o.dimensionName, unittest.equals('foo'));
- checkUnnamed214(o.expressions);
+ checkUnnamed219(o.expressions);
unittest.expect(o.not, unittest.isTrue);
unittest.expect(o.operator, unittest.equals('foo'));
}
buildCounterDimensionFilter--;
}
-buildUnnamed215() {
+buildUnnamed220() {
var o = new core.List<api.DimensionFilter>();
o.add(buildDimensionFilter());
o.add(buildDimensionFilter());
return o;
}
-checkUnnamed215(core.List<api.DimensionFilter> o) {
+checkUnnamed220(core.List<api.DimensionFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilter(o[0]);
checkDimensionFilter(o[1]);
@@ -302,7 +302,7 @@
var o = new api.DimensionFilterClause();
buildCounterDimensionFilterClause++;
if (buildCounterDimensionFilterClause < 3) {
- o.filters = buildUnnamed215();
+ o.filters = buildUnnamed220();
o.operator = "foo";
}
buildCounterDimensionFilterClause--;
@@ -312,7 +312,7 @@
checkDimensionFilterClause(api.DimensionFilterClause o) {
buildCounterDimensionFilterClause++;
if (buildCounterDimensionFilterClause < 3) {
- checkUnnamed215(o.filters);
+ checkUnnamed220(o.filters);
unittest.expect(o.operator, unittest.equals('foo'));
}
buildCounterDimensionFilterClause--;
@@ -341,14 +341,14 @@
buildCounterDynamicSegment--;
}
-buildUnnamed216() {
+buildUnnamed221() {
var o = new core.List<api.ReportRequest>();
o.add(buildReportRequest());
o.add(buildReportRequest());
return o;
}
-checkUnnamed216(core.List<api.ReportRequest> o) {
+checkUnnamed221(core.List<api.ReportRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRequest(o[0]);
checkReportRequest(o[1]);
@@ -359,7 +359,7 @@
var o = new api.GetReportsRequest();
buildCounterGetReportsRequest++;
if (buildCounterGetReportsRequest < 3) {
- o.reportRequests = buildUnnamed216();
+ o.reportRequests = buildUnnamed221();
}
buildCounterGetReportsRequest--;
return o;
@@ -368,19 +368,19 @@
checkGetReportsRequest(api.GetReportsRequest o) {
buildCounterGetReportsRequest++;
if (buildCounterGetReportsRequest < 3) {
- checkUnnamed216(o.reportRequests);
+ checkUnnamed221(o.reportRequests);
}
buildCounterGetReportsRequest--;
}
-buildUnnamed217() {
+buildUnnamed222() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed217(core.List<api.Report> o) {
+checkUnnamed222(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -391,7 +391,7 @@
var o = new api.GetReportsResponse();
buildCounterGetReportsResponse++;
if (buildCounterGetReportsResponse < 3) {
- o.reports = buildUnnamed217();
+ o.reports = buildUnnamed222();
}
buildCounterGetReportsResponse--;
return o;
@@ -400,7 +400,7 @@
checkGetReportsResponse(api.GetReportsResponse o) {
buildCounterGetReportsResponse++;
if (buildCounterGetReportsResponse < 3) {
- checkUnnamed217(o.reports);
+ checkUnnamed222(o.reports);
}
buildCounterGetReportsResponse--;
}
@@ -453,14 +453,14 @@
buildCounterMetricFilter--;
}
-buildUnnamed218() {
+buildUnnamed223() {
var o = new core.List<api.MetricFilter>();
o.add(buildMetricFilter());
o.add(buildMetricFilter());
return o;
}
-checkUnnamed218(core.List<api.MetricFilter> o) {
+checkUnnamed223(core.List<api.MetricFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricFilter(o[0]);
checkMetricFilter(o[1]);
@@ -471,7 +471,7 @@
var o = new api.MetricFilterClause();
buildCounterMetricFilterClause++;
if (buildCounterMetricFilterClause < 3) {
- o.filters = buildUnnamed218();
+ o.filters = buildUnnamed223();
o.operator = "foo";
}
buildCounterMetricFilterClause--;
@@ -481,33 +481,33 @@
checkMetricFilterClause(api.MetricFilterClause o) {
buildCounterMetricFilterClause++;
if (buildCounterMetricFilterClause < 3) {
- checkUnnamed218(o.filters);
+ checkUnnamed223(o.filters);
unittest.expect(o.operator, unittest.equals('foo'));
}
buildCounterMetricFilterClause--;
}
-buildUnnamed219() {
+buildUnnamed224() {
var o = new core.List<api.MetricHeaderEntry>();
o.add(buildMetricHeaderEntry());
o.add(buildMetricHeaderEntry());
return o;
}
-checkUnnamed219(core.List<api.MetricHeaderEntry> o) {
+checkUnnamed224(core.List<api.MetricHeaderEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricHeaderEntry(o[0]);
checkMetricHeaderEntry(o[1]);
}
-buildUnnamed220() {
+buildUnnamed225() {
var o = new core.List<api.PivotHeader>();
o.add(buildPivotHeader());
o.add(buildPivotHeader());
return o;
}
-checkUnnamed220(core.List<api.PivotHeader> o) {
+checkUnnamed225(core.List<api.PivotHeader> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotHeader(o[0]);
checkPivotHeader(o[1]);
@@ -518,8 +518,8 @@
var o = new api.MetricHeader();
buildCounterMetricHeader++;
if (buildCounterMetricHeader < 3) {
- o.metricHeaderEntries = buildUnnamed219();
- o.pivotHeaders = buildUnnamed220();
+ o.metricHeaderEntries = buildUnnamed224();
+ o.pivotHeaders = buildUnnamed225();
}
buildCounterMetricHeader--;
return o;
@@ -528,8 +528,8 @@
checkMetricHeader(api.MetricHeader o) {
buildCounterMetricHeader++;
if (buildCounterMetricHeader < 3) {
- checkUnnamed219(o.metricHeaderEntries);
- checkUnnamed220(o.pivotHeaders);
+ checkUnnamed224(o.metricHeaderEntries);
+ checkUnnamed225(o.pivotHeaders);
}
buildCounterMetricHeader--;
}
@@ -555,14 +555,14 @@
buildCounterMetricHeaderEntry--;
}
-buildUnnamed221() {
+buildUnnamed226() {
var o = new core.List<api.SegmentFilterClause>();
o.add(buildSegmentFilterClause());
o.add(buildSegmentFilterClause());
return o;
}
-checkUnnamed221(core.List<api.SegmentFilterClause> o) {
+checkUnnamed226(core.List<api.SegmentFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegmentFilterClause(o[0]);
checkSegmentFilterClause(o[1]);
@@ -573,7 +573,7 @@
var o = new api.OrFiltersForSegment();
buildCounterOrFiltersForSegment++;
if (buildCounterOrFiltersForSegment < 3) {
- o.segmentFilterClauses = buildUnnamed221();
+ o.segmentFilterClauses = buildUnnamed226();
}
buildCounterOrFiltersForSegment--;
return o;
@@ -582,7 +582,7 @@
checkOrFiltersForSegment(api.OrFiltersForSegment o) {
buildCounterOrFiltersForSegment++;
if (buildCounterOrFiltersForSegment < 3) {
- checkUnnamed221(o.segmentFilterClauses);
+ checkUnnamed226(o.segmentFilterClauses);
}
buildCounterOrFiltersForSegment--;
}
@@ -610,40 +610,40 @@
buildCounterOrderBy--;
}
-buildUnnamed222() {
+buildUnnamed227() {
var o = new core.List<api.DimensionFilterClause>();
o.add(buildDimensionFilterClause());
o.add(buildDimensionFilterClause());
return o;
}
-checkUnnamed222(core.List<api.DimensionFilterClause> o) {
+checkUnnamed227(core.List<api.DimensionFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilterClause(o[0]);
checkDimensionFilterClause(o[1]);
}
-buildUnnamed223() {
+buildUnnamed228() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed223(core.List<api.Dimension> o) {
+checkUnnamed228(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed224() {
+buildUnnamed229() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed224(core.List<api.Metric> o) {
+checkUnnamed229(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -654,10 +654,10 @@
var o = new api.Pivot();
buildCounterPivot++;
if (buildCounterPivot < 3) {
- o.dimensionFilterClauses = buildUnnamed222();
- o.dimensions = buildUnnamed223();
+ o.dimensionFilterClauses = buildUnnamed227();
+ o.dimensions = buildUnnamed228();
o.maxGroupCount = 42;
- o.metrics = buildUnnamed224();
+ o.metrics = buildUnnamed229();
o.startGroup = 42;
}
buildCounterPivot--;
@@ -667,23 +667,23 @@
checkPivot(api.Pivot o) {
buildCounterPivot++;
if (buildCounterPivot < 3) {
- checkUnnamed222(o.dimensionFilterClauses);
- checkUnnamed223(o.dimensions);
+ checkUnnamed227(o.dimensionFilterClauses);
+ checkUnnamed228(o.dimensions);
unittest.expect(o.maxGroupCount, unittest.equals(42));
- checkUnnamed224(o.metrics);
+ checkUnnamed229(o.metrics);
unittest.expect(o.startGroup, unittest.equals(42));
}
buildCounterPivot--;
}
-buildUnnamed225() {
+buildUnnamed230() {
var o = new core.List<api.PivotHeaderEntry>();
o.add(buildPivotHeaderEntry());
o.add(buildPivotHeaderEntry());
return o;
}
-checkUnnamed225(core.List<api.PivotHeaderEntry> o) {
+checkUnnamed230(core.List<api.PivotHeaderEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotHeaderEntry(o[0]);
checkPivotHeaderEntry(o[1]);
@@ -694,7 +694,7 @@
var o = new api.PivotHeader();
buildCounterPivotHeader++;
if (buildCounterPivotHeader < 3) {
- o.pivotHeaderEntries = buildUnnamed225();
+ o.pivotHeaderEntries = buildUnnamed230();
o.totalPivotGroupsCount = 42;
}
buildCounterPivotHeader--;
@@ -704,33 +704,33 @@
checkPivotHeader(api.PivotHeader o) {
buildCounterPivotHeader++;
if (buildCounterPivotHeader < 3) {
- checkUnnamed225(o.pivotHeaderEntries);
+ checkUnnamed230(o.pivotHeaderEntries);
unittest.expect(o.totalPivotGroupsCount, unittest.equals(42));
}
buildCounterPivotHeader--;
}
-buildUnnamed226() {
+buildUnnamed231() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed226(core.List<core.String> o) {
+checkUnnamed231(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed227() {
+buildUnnamed232() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed227(core.List<core.String> o) {
+checkUnnamed232(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -741,8 +741,8 @@
var o = new api.PivotHeaderEntry();
buildCounterPivotHeaderEntry++;
if (buildCounterPivotHeaderEntry < 3) {
- o.dimensionNames = buildUnnamed226();
- o.dimensionValues = buildUnnamed227();
+ o.dimensionNames = buildUnnamed231();
+ o.dimensionValues = buildUnnamed232();
o.metric = buildMetricHeaderEntry();
}
buildCounterPivotHeaderEntry--;
@@ -752,21 +752,21 @@
checkPivotHeaderEntry(api.PivotHeaderEntry o) {
buildCounterPivotHeaderEntry++;
if (buildCounterPivotHeaderEntry < 3) {
- checkUnnamed226(o.dimensionNames);
- checkUnnamed227(o.dimensionValues);
+ checkUnnamed231(o.dimensionNames);
+ checkUnnamed232(o.dimensionValues);
checkMetricHeaderEntry(o.metric);
}
buildCounterPivotHeaderEntry--;
}
-buildUnnamed228() {
+buildUnnamed233() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed228(core.List<core.String> o) {
+checkUnnamed233(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -777,7 +777,7 @@
var o = new api.PivotValueRegion();
buildCounterPivotValueRegion++;
if (buildCounterPivotValueRegion < 3) {
- o.values = buildUnnamed228();
+ o.values = buildUnnamed233();
}
buildCounterPivotValueRegion--;
return o;
@@ -786,7 +786,7 @@
checkPivotValueRegion(api.PivotValueRegion o) {
buildCounterPivotValueRegion++;
if (buildCounterPivotValueRegion < 3) {
- checkUnnamed228(o.values);
+ checkUnnamed233(o.values);
}
buildCounterPivotValueRegion--;
}
@@ -814,71 +814,6 @@
buildCounterReport--;
}
-buildUnnamed229() {
- var o = new core.List<api.DateRangeValues>();
- o.add(buildDateRangeValues());
- o.add(buildDateRangeValues());
- return o;
-}
-
-checkUnnamed229(core.List<api.DateRangeValues> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkDateRangeValues(o[0]);
- checkDateRangeValues(o[1]);
-}
-
-buildUnnamed230() {
- var o = new core.List<api.DateRangeValues>();
- o.add(buildDateRangeValues());
- o.add(buildDateRangeValues());
- return o;
-}
-
-checkUnnamed230(core.List<api.DateRangeValues> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkDateRangeValues(o[0]);
- checkDateRangeValues(o[1]);
-}
-
-buildUnnamed231() {
- var o = new core.List<api.ReportRow>();
- o.add(buildReportRow());
- o.add(buildReportRow());
- return o;
-}
-
-checkUnnamed231(core.List<api.ReportRow> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkReportRow(o[0]);
- checkReportRow(o[1]);
-}
-
-buildUnnamed232() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed232(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed233() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed233(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed234() {
var o = new core.List<api.DateRangeValues>();
o.add(buildDateRangeValues());
@@ -892,6 +827,71 @@
checkDateRangeValues(o[1]);
}
+buildUnnamed235() {
+ var o = new core.List<api.DateRangeValues>();
+ o.add(buildDateRangeValues());
+ o.add(buildDateRangeValues());
+ return o;
+}
+
+checkUnnamed235(core.List<api.DateRangeValues> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDateRangeValues(o[0]);
+ checkDateRangeValues(o[1]);
+}
+
+buildUnnamed236() {
+ var o = new core.List<api.ReportRow>();
+ o.add(buildReportRow());
+ o.add(buildReportRow());
+ return o;
+}
+
+checkUnnamed236(core.List<api.ReportRow> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkReportRow(o[0]);
+ checkReportRow(o[1]);
+}
+
+buildUnnamed237() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed237(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed238() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed238(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed239() {
+ var o = new core.List<api.DateRangeValues>();
+ o.add(buildDateRangeValues());
+ o.add(buildDateRangeValues());
+ return o;
+}
+
+checkUnnamed239(core.List<api.DateRangeValues> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDateRangeValues(o[0]);
+ checkDateRangeValues(o[1]);
+}
+
core.int buildCounterReportData = 0;
buildReportData() {
var o = new api.ReportData();
@@ -899,13 +899,13 @@
if (buildCounterReportData < 3) {
o.dataLastRefreshed = "foo";
o.isDataGolden = true;
- o.maximums = buildUnnamed229();
- o.minimums = buildUnnamed230();
+ o.maximums = buildUnnamed234();
+ o.minimums = buildUnnamed235();
o.rowCount = 42;
- o.rows = buildUnnamed231();
- o.samplesReadCounts = buildUnnamed232();
- o.samplingSpaceSizes = buildUnnamed233();
- o.totals = buildUnnamed234();
+ o.rows = buildUnnamed236();
+ o.samplesReadCounts = buildUnnamed237();
+ o.samplingSpaceSizes = buildUnnamed238();
+ o.totals = buildUnnamed239();
}
buildCounterReportData--;
return o;
@@ -916,116 +916,116 @@
if (buildCounterReportData < 3) {
unittest.expect(o.dataLastRefreshed, unittest.equals('foo'));
unittest.expect(o.isDataGolden, unittest.isTrue);
- checkUnnamed229(o.maximums);
- checkUnnamed230(o.minimums);
+ checkUnnamed234(o.maximums);
+ checkUnnamed235(o.minimums);
unittest.expect(o.rowCount, unittest.equals(42));
- checkUnnamed231(o.rows);
- checkUnnamed232(o.samplesReadCounts);
- checkUnnamed233(o.samplingSpaceSizes);
- checkUnnamed234(o.totals);
+ checkUnnamed236(o.rows);
+ checkUnnamed237(o.samplesReadCounts);
+ checkUnnamed238(o.samplingSpaceSizes);
+ checkUnnamed239(o.totals);
}
buildCounterReportData--;
}
-buildUnnamed235() {
+buildUnnamed240() {
var o = new core.List<api.DateRange>();
o.add(buildDateRange());
o.add(buildDateRange());
return o;
}
-checkUnnamed235(core.List<api.DateRange> o) {
+checkUnnamed240(core.List<api.DateRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkDateRange(o[0]);
checkDateRange(o[1]);
}
-buildUnnamed236() {
+buildUnnamed241() {
var o = new core.List<api.DimensionFilterClause>();
o.add(buildDimensionFilterClause());
o.add(buildDimensionFilterClause());
return o;
}
-checkUnnamed236(core.List<api.DimensionFilterClause> o) {
+checkUnnamed241(core.List<api.DimensionFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilterClause(o[0]);
checkDimensionFilterClause(o[1]);
}
-buildUnnamed237() {
+buildUnnamed242() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed237(core.List<api.Dimension> o) {
+checkUnnamed242(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed238() {
+buildUnnamed243() {
var o = new core.List<api.MetricFilterClause>();
o.add(buildMetricFilterClause());
o.add(buildMetricFilterClause());
return o;
}
-checkUnnamed238(core.List<api.MetricFilterClause> o) {
+checkUnnamed243(core.List<api.MetricFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricFilterClause(o[0]);
checkMetricFilterClause(o[1]);
}
-buildUnnamed239() {
+buildUnnamed244() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed239(core.List<api.Metric> o) {
+checkUnnamed244(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed240() {
+buildUnnamed245() {
var o = new core.List<api.OrderBy>();
o.add(buildOrderBy());
o.add(buildOrderBy());
return o;
}
-checkUnnamed240(core.List<api.OrderBy> o) {
+checkUnnamed245(core.List<api.OrderBy> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderBy(o[0]);
checkOrderBy(o[1]);
}
-buildUnnamed241() {
+buildUnnamed246() {
var o = new core.List<api.Pivot>();
o.add(buildPivot());
o.add(buildPivot());
return o;
}
-checkUnnamed241(core.List<api.Pivot> o) {
+checkUnnamed246(core.List<api.Pivot> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivot(o[0]);
checkPivot(o[1]);
}
-buildUnnamed242() {
+buildUnnamed247() {
var o = new core.List<api.Segment>();
o.add(buildSegment());
o.add(buildSegment());
return o;
}
-checkUnnamed242(core.List<api.Segment> o) {
+checkUnnamed247(core.List<api.Segment> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegment(o[0]);
checkSegment(o[1]);
@@ -1037,21 +1037,21 @@
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
o.cohortGroup = buildCohortGroup();
- o.dateRanges = buildUnnamed235();
- o.dimensionFilterClauses = buildUnnamed236();
- o.dimensions = buildUnnamed237();
+ o.dateRanges = buildUnnamed240();
+ o.dimensionFilterClauses = buildUnnamed241();
+ o.dimensions = buildUnnamed242();
o.filtersExpression = "foo";
o.hideTotals = true;
o.hideValueRanges = true;
o.includeEmptyRows = true;
- o.metricFilterClauses = buildUnnamed238();
- o.metrics = buildUnnamed239();
- o.orderBys = buildUnnamed240();
+ o.metricFilterClauses = buildUnnamed243();
+ o.metrics = buildUnnamed244();
+ o.orderBys = buildUnnamed245();
o.pageSize = 42;
o.pageToken = "foo";
- o.pivots = buildUnnamed241();
+ o.pivots = buildUnnamed246();
o.samplingLevel = "foo";
- o.segments = buildUnnamed242();
+ o.segments = buildUnnamed247();
o.viewId = "foo";
}
buildCounterReportRequest--;
@@ -1062,47 +1062,47 @@
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
checkCohortGroup(o.cohortGroup);
- checkUnnamed235(o.dateRanges);
- checkUnnamed236(o.dimensionFilterClauses);
- checkUnnamed237(o.dimensions);
+ checkUnnamed240(o.dateRanges);
+ checkUnnamed241(o.dimensionFilterClauses);
+ checkUnnamed242(o.dimensions);
unittest.expect(o.filtersExpression, unittest.equals('foo'));
unittest.expect(o.hideTotals, unittest.isTrue);
unittest.expect(o.hideValueRanges, unittest.isTrue);
unittest.expect(o.includeEmptyRows, unittest.isTrue);
- checkUnnamed238(o.metricFilterClauses);
- checkUnnamed239(o.metrics);
- checkUnnamed240(o.orderBys);
+ checkUnnamed243(o.metricFilterClauses);
+ checkUnnamed244(o.metrics);
+ checkUnnamed245(o.orderBys);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed241(o.pivots);
+ checkUnnamed246(o.pivots);
unittest.expect(o.samplingLevel, unittest.equals('foo'));
- checkUnnamed242(o.segments);
+ checkUnnamed247(o.segments);
unittest.expect(o.viewId, unittest.equals('foo'));
}
buildCounterReportRequest--;
}
-buildUnnamed243() {
+buildUnnamed248() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed243(core.List<core.String> o) {
+checkUnnamed248(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed244() {
+buildUnnamed249() {
var o = new core.List<api.DateRangeValues>();
o.add(buildDateRangeValues());
o.add(buildDateRangeValues());
return o;
}
-checkUnnamed244(core.List<api.DateRangeValues> o) {
+checkUnnamed249(core.List<api.DateRangeValues> o) {
unittest.expect(o, unittest.hasLength(2));
checkDateRangeValues(o[0]);
checkDateRangeValues(o[1]);
@@ -1113,8 +1113,8 @@
var o = new api.ReportRow();
buildCounterReportRow++;
if (buildCounterReportRow < 3) {
- o.dimensions = buildUnnamed243();
- o.metrics = buildUnnamed244();
+ o.dimensions = buildUnnamed248();
+ o.metrics = buildUnnamed249();
}
buildCounterReportRow--;
return o;
@@ -1123,8 +1123,8 @@
checkReportRow(api.ReportRow o) {
buildCounterReportRow++;
if (buildCounterReportRow < 3) {
- checkUnnamed243(o.dimensions);
- checkUnnamed244(o.metrics);
+ checkUnnamed248(o.dimensions);
+ checkUnnamed249(o.metrics);
}
buildCounterReportRow--;
}
@@ -1150,14 +1150,14 @@
buildCounterSegment--;
}
-buildUnnamed245() {
+buildUnnamed250() {
var o = new core.List<api.SegmentFilter>();
o.add(buildSegmentFilter());
o.add(buildSegmentFilter());
return o;
}
-checkUnnamed245(core.List<api.SegmentFilter> o) {
+checkUnnamed250(core.List<api.SegmentFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegmentFilter(o[0]);
checkSegmentFilter(o[1]);
@@ -1168,7 +1168,7 @@
var o = new api.SegmentDefinition();
buildCounterSegmentDefinition++;
if (buildCounterSegmentDefinition < 3) {
- o.segmentFilters = buildUnnamed245();
+ o.segmentFilters = buildUnnamed250();
}
buildCounterSegmentDefinition--;
return o;
@@ -1177,19 +1177,19 @@
checkSegmentDefinition(api.SegmentDefinition o) {
buildCounterSegmentDefinition++;
if (buildCounterSegmentDefinition < 3) {
- checkUnnamed245(o.segmentFilters);
+ checkUnnamed250(o.segmentFilters);
}
buildCounterSegmentDefinition--;
}
-buildUnnamed246() {
+buildUnnamed251() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed246(core.List<core.String> o) {
+checkUnnamed251(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1202,7 +1202,7 @@
if (buildCounterSegmentDimensionFilter < 3) {
o.caseSensitive = true;
o.dimensionName = "foo";
- o.expressions = buildUnnamed246();
+ o.expressions = buildUnnamed251();
o.maxComparisonValue = "foo";
o.minComparisonValue = "foo";
o.operator = "foo";
@@ -1216,7 +1216,7 @@
if (buildCounterSegmentDimensionFilter < 3) {
unittest.expect(o.caseSensitive, unittest.isTrue);
unittest.expect(o.dimensionName, unittest.equals('foo'));
- checkUnnamed246(o.expressions);
+ checkUnnamed251(o.expressions);
unittest.expect(o.maxComparisonValue, unittest.equals('foo'));
unittest.expect(o.minComparisonValue, unittest.equals('foo'));
unittest.expect(o.operator, unittest.equals('foo'));
@@ -1297,14 +1297,14 @@
buildCounterSegmentMetricFilter--;
}
-buildUnnamed247() {
+buildUnnamed252() {
var o = new core.List<api.OrFiltersForSegment>();
o.add(buildOrFiltersForSegment());
o.add(buildOrFiltersForSegment());
return o;
}
-checkUnnamed247(core.List<api.OrFiltersForSegment> o) {
+checkUnnamed252(core.List<api.OrFiltersForSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrFiltersForSegment(o[0]);
checkOrFiltersForSegment(o[1]);
@@ -1316,7 +1316,7 @@
buildCounterSegmentSequenceStep++;
if (buildCounterSegmentSequenceStep < 3) {
o.matchType = "foo";
- o.orFiltersForSegment = buildUnnamed247();
+ o.orFiltersForSegment = buildUnnamed252();
}
buildCounterSegmentSequenceStep--;
return o;
@@ -1326,19 +1326,19 @@
buildCounterSegmentSequenceStep++;
if (buildCounterSegmentSequenceStep < 3) {
unittest.expect(o.matchType, unittest.equals('foo'));
- checkUnnamed247(o.orFiltersForSegment);
+ checkUnnamed252(o.orFiltersForSegment);
}
buildCounterSegmentSequenceStep--;
}
-buildUnnamed248() {
+buildUnnamed253() {
var o = new core.List<api.SegmentSequenceStep>();
o.add(buildSegmentSequenceStep());
o.add(buildSegmentSequenceStep());
return o;
}
-checkUnnamed248(core.List<api.SegmentSequenceStep> o) {
+checkUnnamed253(core.List<api.SegmentSequenceStep> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegmentSequenceStep(o[0]);
checkSegmentSequenceStep(o[1]);
@@ -1350,7 +1350,7 @@
buildCounterSequenceSegment++;
if (buildCounterSequenceSegment < 3) {
o.firstStepShouldMatchFirstHit = true;
- o.segmentSequenceSteps = buildUnnamed248();
+ o.segmentSequenceSteps = buildUnnamed253();
}
buildCounterSequenceSegment--;
return o;
@@ -1360,19 +1360,19 @@
buildCounterSequenceSegment++;
if (buildCounterSequenceSegment < 3) {
unittest.expect(o.firstStepShouldMatchFirstHit, unittest.isTrue);
- checkUnnamed248(o.segmentSequenceSteps);
+ checkUnnamed253(o.segmentSequenceSteps);
}
buildCounterSequenceSegment--;
}
-buildUnnamed249() {
+buildUnnamed254() {
var o = new core.List<api.OrFiltersForSegment>();
o.add(buildOrFiltersForSegment());
o.add(buildOrFiltersForSegment());
return o;
}
-checkUnnamed249(core.List<api.OrFiltersForSegment> o) {
+checkUnnamed254(core.List<api.OrFiltersForSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrFiltersForSegment(o[0]);
checkOrFiltersForSegment(o[1]);
@@ -1383,7 +1383,7 @@
var o = new api.SimpleSegment();
buildCounterSimpleSegment++;
if (buildCounterSimpleSegment < 3) {
- o.orFiltersForSegment = buildUnnamed249();
+ o.orFiltersForSegment = buildUnnamed254();
}
buildCounterSimpleSegment--;
return o;
@@ -1392,7 +1392,7 @@
checkSimpleSegment(api.SimpleSegment o) {
buildCounterSimpleSegment++;
if (buildCounterSimpleSegment < 3) {
- checkUnnamed249(o.orFiltersForSegment);
+ checkUnnamed254(o.orFiltersForSegment);
}
buildCounterSimpleSegment--;
}
diff --git a/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart b/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart
index 41e9255..6d0fd4e 100644
--- a/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart
+++ b/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart
@@ -217,7 +217,6 @@
o.imei = "foo";
o.manufacturer = "foo";
o.meid = "foo";
- o.model = "foo";
o.serialNumber = "foo";
}
buildCounterDeviceIdentifier--;
@@ -230,7 +229,6 @@
unittest.expect(o.imei, unittest.equals('foo'));
unittest.expect(o.manufacturer, unittest.equals('foo'));
unittest.expect(o.meid, unittest.equals('foo'));
- unittest.expect(o.model, unittest.equals('foo'));
unittest.expect(o.serialNumber, unittest.equals('foo'));
}
buildCounterDeviceIdentifier--;
diff --git a/generated/googleapis/test/androidenterprise/v1_test.dart b/generated/googleapis/test/androidenterprise/v1_test.dart
index 5b0c9ad..e00a19f 100644
--- a/generated/googleapis/test/androidenterprise/v1_test.dart
+++ b/generated/googleapis/test/androidenterprise/v1_test.dart
@@ -91,14 +91,14 @@
buildCounterAdministratorWebToken--;
}
-buildUnnamed2140() {
+buildUnnamed2158() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2140(core.List<core.String> 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'));
@@ -111,7 +111,7 @@
if (buildCounterAdministratorWebTokenSpec < 3) {
o.kind = "foo";
o.parent = "foo";
- o.permission = buildUnnamed2140();
+ o.permission = buildUnnamed2158();
}
buildCounterAdministratorWebTokenSpec--;
return o;
@@ -122,7 +122,7 @@
if (buildCounterAdministratorWebTokenSpec < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
- checkUnnamed2140(o.permission);
+ checkUnnamed2158(o.permission);
}
buildCounterAdministratorWebTokenSpec--;
}
@@ -148,14 +148,14 @@
buildCounterAndroidDevicePolicyConfig--;
}
-buildUnnamed2141() {
+buildUnnamed2159() {
var o = new core.List<api.AppRestrictionsSchemaRestriction>();
o.add(buildAppRestrictionsSchemaRestriction());
o.add(buildAppRestrictionsSchemaRestriction());
return o;
}
-checkUnnamed2141(core.List<api.AppRestrictionsSchemaRestriction> o) {
+checkUnnamed2159(core.List<api.AppRestrictionsSchemaRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppRestrictionsSchemaRestriction(o[0]);
checkAppRestrictionsSchemaRestriction(o[1]);
@@ -167,7 +167,7 @@
buildCounterAppRestrictionsSchema++;
if (buildCounterAppRestrictionsSchema < 3) {
o.kind = "foo";
- o.restrictions = buildUnnamed2141();
+ o.restrictions = buildUnnamed2159();
}
buildCounterAppRestrictionsSchema--;
return o;
@@ -177,7 +177,7 @@
buildCounterAppRestrictionsSchema++;
if (buildCounterAppRestrictionsSchema < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2141(o.restrictions);
+ checkUnnamed2159(o.restrictions);
}
buildCounterAppRestrictionsSchema--;
}
@@ -201,40 +201,40 @@
buildCounterAppRestrictionsSchemaChangeEvent--;
}
-buildUnnamed2142() {
+buildUnnamed2160() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2142(core.List<core.String> o) {
+checkUnnamed2160(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2143() {
+buildUnnamed2161() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2143(core.List<core.String> o) {
+checkUnnamed2161(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2144() {
+buildUnnamed2162() {
var o = new core.List<api.AppRestrictionsSchemaRestriction>();
o.add(buildAppRestrictionsSchemaRestriction());
o.add(buildAppRestrictionsSchemaRestriction());
return o;
}
-checkUnnamed2144(core.List<api.AppRestrictionsSchemaRestriction> o) {
+checkUnnamed2162(core.List<api.AppRestrictionsSchemaRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppRestrictionsSchemaRestriction(o[0]);
checkAppRestrictionsSchemaRestriction(o[1]);
@@ -247,10 +247,10 @@
if (buildCounterAppRestrictionsSchemaRestriction < 3) {
o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue();
o.description = "foo";
- o.entry = buildUnnamed2142();
- o.entryValue = buildUnnamed2143();
+ o.entry = buildUnnamed2160();
+ o.entryValue = buildUnnamed2161();
o.key = "foo";
- o.nestedRestriction = buildUnnamed2144();
+ o.nestedRestriction = buildUnnamed2162();
o.restrictionType = "foo";
o.title = "foo";
}
@@ -263,24 +263,24 @@
if (buildCounterAppRestrictionsSchemaRestriction < 3) {
checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2142(o.entry);
- checkUnnamed2143(o.entryValue);
+ checkUnnamed2160(o.entry);
+ checkUnnamed2161(o.entryValue);
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed2144(o.nestedRestriction);
+ checkUnnamed2162(o.nestedRestriction);
unittest.expect(o.restrictionType, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterAppRestrictionsSchemaRestriction--;
}
-buildUnnamed2145() {
+buildUnnamed2163() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2145(core.List<core.String> o) {
+checkUnnamed2163(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -294,7 +294,7 @@
o.type = "foo";
o.valueBool = true;
o.valueInteger = 42;
- o.valueMultiselect = buildUnnamed2145();
+ o.valueMultiselect = buildUnnamed2163();
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));
- checkUnnamed2145(o.valueMultiselect);
+ checkUnnamed2163(o.valueMultiselect);
unittest.expect(o.valueString, unittest.equals('foo'));
}
buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
@@ -439,14 +439,14 @@
buildCounterDeviceState--;
}
-buildUnnamed2146() {
+buildUnnamed2164() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed2146(core.List<api.Device> o) {
+checkUnnamed2164(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -457,7 +457,7 @@
var o = new api.DevicesListResponse();
buildCounterDevicesListResponse++;
if (buildCounterDevicesListResponse < 3) {
- o.device = buildUnnamed2146();
+ o.device = buildUnnamed2164();
o.kind = "foo";
}
buildCounterDevicesListResponse--;
@@ -467,20 +467,20 @@
checkDevicesListResponse(api.DevicesListResponse o) {
buildCounterDevicesListResponse++;
if (buildCounterDevicesListResponse < 3) {
- checkUnnamed2146(o.device);
+ checkUnnamed2164(o.device);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDevicesListResponse--;
}
-buildUnnamed2147() {
+buildUnnamed2165() {
var o = new core.List<api.Administrator>();
o.add(buildAdministrator());
o.add(buildAdministrator());
return o;
}
-checkUnnamed2147(core.List<api.Administrator> o) {
+checkUnnamed2165(core.List<api.Administrator> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdministrator(o[0]);
checkAdministrator(o[1]);
@@ -491,7 +491,7 @@
var o = new api.Enterprise();
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
- o.administrator = buildUnnamed2147();
+ o.administrator = buildUnnamed2165();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -504,7 +504,7 @@
checkEnterprise(api.Enterprise o) {
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
- checkUnnamed2147(o.administrator);
+ checkUnnamed2165(o.administrator);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -534,14 +534,14 @@
buildCounterEnterpriseAccount--;
}
-buildUnnamed2148() {
+buildUnnamed2166() {
var o = new core.List<api.Enterprise>();
o.add(buildEnterprise());
o.add(buildEnterprise());
return o;
}
-checkUnnamed2148(core.List<api.Enterprise> o) {
+checkUnnamed2166(core.List<api.Enterprise> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnterprise(o[0]);
checkEnterprise(o[1]);
@@ -552,7 +552,7 @@
var o = new api.EnterprisesListResponse();
buildCounterEnterprisesListResponse++;
if (buildCounterEnterprisesListResponse < 3) {
- o.enterprise = buildUnnamed2148();
+ o.enterprise = buildUnnamed2166();
o.kind = "foo";
}
buildCounterEnterprisesListResponse--;
@@ -562,7 +562,7 @@
checkEnterprisesListResponse(api.EnterprisesListResponse o) {
buildCounterEnterprisesListResponse++;
if (buildCounterEnterprisesListResponse < 3) {
- checkUnnamed2148(o.enterprise);
+ checkUnnamed2166(o.enterprise);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEnterprisesListResponse--;
@@ -612,14 +612,14 @@
buildCounterEntitlement--;
}
-buildUnnamed2149() {
+buildUnnamed2167() {
var o = new core.List<api.Entitlement>();
o.add(buildEntitlement());
o.add(buildEntitlement());
return o;
}
-checkUnnamed2149(core.List<api.Entitlement> o) {
+checkUnnamed2167(core.List<api.Entitlement> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntitlement(o[0]);
checkEntitlement(o[1]);
@@ -630,7 +630,7 @@
var o = new api.EntitlementsListResponse();
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
- o.entitlement = buildUnnamed2149();
+ o.entitlement = buildUnnamed2167();
o.kind = "foo";
}
buildCounterEntitlementsListResponse--;
@@ -640,7 +640,7 @@
checkEntitlementsListResponse(api.EntitlementsListResponse o) {
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
- checkUnnamed2149(o.entitlement);
+ checkUnnamed2167(o.entitlement);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEntitlementsListResponse--;
@@ -677,14 +677,14 @@
buildCounterGroupLicense--;
}
-buildUnnamed2150() {
+buildUnnamed2168() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed2150(core.List<api.User> o) {
+checkUnnamed2168(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -696,7 +696,7 @@
buildCounterGroupLicenseUsersListResponse++;
if (buildCounterGroupLicenseUsersListResponse < 3) {
o.kind = "foo";
- o.user = buildUnnamed2150();
+ o.user = buildUnnamed2168();
}
buildCounterGroupLicenseUsersListResponse--;
return o;
@@ -706,19 +706,19 @@
buildCounterGroupLicenseUsersListResponse++;
if (buildCounterGroupLicenseUsersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2150(o.user);
+ checkUnnamed2168(o.user);
}
buildCounterGroupLicenseUsersListResponse--;
}
-buildUnnamed2151() {
+buildUnnamed2169() {
var o = new core.List<api.GroupLicense>();
o.add(buildGroupLicense());
o.add(buildGroupLicense());
return o;
}
-checkUnnamed2151(core.List<api.GroupLicense> o) {
+checkUnnamed2169(core.List<api.GroupLicense> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroupLicense(o[0]);
checkGroupLicense(o[1]);
@@ -729,7 +729,7 @@
var o = new api.GroupLicensesListResponse();
buildCounterGroupLicensesListResponse++;
if (buildCounterGroupLicensesListResponse < 3) {
- o.groupLicense = buildUnnamed2151();
+ o.groupLicense = buildUnnamed2169();
o.kind = "foo";
}
buildCounterGroupLicensesListResponse--;
@@ -739,7 +739,7 @@
checkGroupLicensesListResponse(api.GroupLicensesListResponse o) {
buildCounterGroupLicensesListResponse++;
if (buildCounterGroupLicensesListResponse < 3) {
- checkUnnamed2151(o.groupLicense);
+ checkUnnamed2169(o.groupLicense);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterGroupLicensesListResponse--;
@@ -797,14 +797,14 @@
buildCounterInstallFailureEvent--;
}
-buildUnnamed2152() {
+buildUnnamed2170() {
var o = new core.List<api.Install>();
o.add(buildInstall());
o.add(buildInstall());
return o;
}
-checkUnnamed2152(core.List<api.Install> o) {
+checkUnnamed2170(core.List<api.Install> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstall(o[0]);
checkInstall(o[1]);
@@ -815,7 +815,7 @@
var o = new api.InstallsListResponse();
buildCounterInstallsListResponse++;
if (buildCounterInstallsListResponse < 3) {
- o.install = buildUnnamed2152();
+ o.install = buildUnnamed2170();
o.kind = "foo";
}
buildCounterInstallsListResponse--;
@@ -825,7 +825,7 @@
checkInstallsListResponse(api.InstallsListResponse o) {
buildCounterInstallsListResponse++;
if (buildCounterInstallsListResponse < 3) {
- checkUnnamed2152(o.install);
+ checkUnnamed2170(o.install);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterInstallsListResponse--;
@@ -852,14 +852,14 @@
buildCounterLocalizedText--;
}
-buildUnnamed2153() {
+buildUnnamed2171() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed2153(core.List<api.ManagedProperty> o) {
+checkUnnamed2171(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
@@ -871,7 +871,7 @@
buildCounterManagedConfiguration++;
if (buildCounterManagedConfiguration < 3) {
o.kind = "foo";
- o.managedProperty = buildUnnamed2153();
+ o.managedProperty = buildUnnamed2171();
o.productId = "foo";
}
buildCounterManagedConfiguration--;
@@ -882,20 +882,20 @@
buildCounterManagedConfiguration++;
if (buildCounterManagedConfiguration < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2153(o.managedProperty);
+ checkUnnamed2171(o.managedProperty);
unittest.expect(o.productId, unittest.equals('foo'));
}
buildCounterManagedConfiguration--;
}
-buildUnnamed2154() {
+buildUnnamed2172() {
var o = new core.List<api.ManagedConfiguration>();
o.add(buildManagedConfiguration());
o.add(buildManagedConfiguration());
return o;
}
-checkUnnamed2154(core.List<api.ManagedConfiguration> o) {
+checkUnnamed2172(core.List<api.ManagedConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedConfiguration(o[0]);
checkManagedConfiguration(o[1]);
@@ -907,7 +907,7 @@
buildCounterManagedConfigurationsForDeviceListResponse++;
if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
o.kind = "foo";
- o.managedConfigurationForDevice = buildUnnamed2154();
+ o.managedConfigurationForDevice = buildUnnamed2172();
}
buildCounterManagedConfigurationsForDeviceListResponse--;
return o;
@@ -917,19 +917,19 @@
buildCounterManagedConfigurationsForDeviceListResponse++;
if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2154(o.managedConfigurationForDevice);
+ checkUnnamed2172(o.managedConfigurationForDevice);
}
buildCounterManagedConfigurationsForDeviceListResponse--;
}
-buildUnnamed2155() {
+buildUnnamed2173() {
var o = new core.List<api.ManagedConfiguration>();
o.add(buildManagedConfiguration());
o.add(buildManagedConfiguration());
return o;
}
-checkUnnamed2155(core.List<api.ManagedConfiguration> o) {
+checkUnnamed2173(core.List<api.ManagedConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedConfiguration(o[0]);
checkManagedConfiguration(o[1]);
@@ -941,7 +941,7 @@
buildCounterManagedConfigurationsForUserListResponse++;
if (buildCounterManagedConfigurationsForUserListResponse < 3) {
o.kind = "foo";
- o.managedConfigurationForUser = buildUnnamed2155();
+ o.managedConfigurationForUser = buildUnnamed2173();
}
buildCounterManagedConfigurationsForUserListResponse--;
return o;
@@ -951,32 +951,32 @@
buildCounterManagedConfigurationsForUserListResponse++;
if (buildCounterManagedConfigurationsForUserListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2155(o.managedConfigurationForUser);
+ checkUnnamed2173(o.managedConfigurationForUser);
}
buildCounterManagedConfigurationsForUserListResponse--;
}
-buildUnnamed2156() {
+buildUnnamed2174() {
var o = new core.List<api.ManagedPropertyBundle>();
o.add(buildManagedPropertyBundle());
o.add(buildManagedPropertyBundle());
return o;
}
-checkUnnamed2156(core.List<api.ManagedPropertyBundle> o) {
+checkUnnamed2174(core.List<api.ManagedPropertyBundle> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedPropertyBundle(o[0]);
checkManagedPropertyBundle(o[1]);
}
-buildUnnamed2157() {
+buildUnnamed2175() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2157(core.List<core.String> o) {
+checkUnnamed2175(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -990,10 +990,10 @@
o.key = "foo";
o.valueBool = true;
o.valueBundle = buildManagedPropertyBundle();
- o.valueBundleArray = buildUnnamed2156();
+ o.valueBundleArray = buildUnnamed2174();
o.valueInteger = 42;
o.valueString = "foo";
- o.valueStringArray = buildUnnamed2157();
+ o.valueStringArray = buildUnnamed2175();
}
buildCounterManagedProperty--;
return o;
@@ -1005,22 +1005,22 @@
unittest.expect(o.key, unittest.equals('foo'));
unittest.expect(o.valueBool, unittest.isTrue);
checkManagedPropertyBundle(o.valueBundle);
- checkUnnamed2156(o.valueBundleArray);
+ checkUnnamed2174(o.valueBundleArray);
unittest.expect(o.valueInteger, unittest.equals(42));
unittest.expect(o.valueString, unittest.equals('foo'));
- checkUnnamed2157(o.valueStringArray);
+ checkUnnamed2175(o.valueStringArray);
}
buildCounterManagedProperty--;
}
-buildUnnamed2158() {
+buildUnnamed2176() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed2158(core.List<api.ManagedProperty> o) {
+checkUnnamed2176(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
@@ -1031,7 +1031,7 @@
var o = new api.ManagedPropertyBundle();
buildCounterManagedPropertyBundle++;
if (buildCounterManagedPropertyBundle < 3) {
- o.managedProperty = buildUnnamed2158();
+ o.managedProperty = buildUnnamed2176();
}
buildCounterManagedPropertyBundle--;
return o;
@@ -1040,7 +1040,7 @@
checkManagedPropertyBundle(api.ManagedPropertyBundle o) {
buildCounterManagedPropertyBundle++;
if (buildCounterManagedPropertyBundle < 3) {
- checkUnnamed2158(o.managedProperty);
+ checkUnnamed2176(o.managedProperty);
}
buildCounterManagedPropertyBundle--;
}
@@ -1068,27 +1068,27 @@
buildCounterNewDeviceEvent--;
}
-buildUnnamed2159() {
+buildUnnamed2177() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2159(core.List<core.String> o) {
+checkUnnamed2177(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2160() {
+buildUnnamed2178() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2160(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'));
@@ -1099,9 +1099,9 @@
var o = new api.NewPermissionsEvent();
buildCounterNewPermissionsEvent++;
if (buildCounterNewPermissionsEvent < 3) {
- o.approvedPermissions = buildUnnamed2159();
+ o.approvedPermissions = buildUnnamed2177();
o.productId = "foo";
- o.requestedPermissions = buildUnnamed2160();
+ o.requestedPermissions = buildUnnamed2178();
}
buildCounterNewPermissionsEvent--;
return o;
@@ -1110,9 +1110,9 @@
checkNewPermissionsEvent(api.NewPermissionsEvent o) {
buildCounterNewPermissionsEvent++;
if (buildCounterNewPermissionsEvent < 3) {
- checkUnnamed2159(o.approvedPermissions);
+ checkUnnamed2177(o.approvedPermissions);
unittest.expect(o.productId, unittest.equals('foo'));
- checkUnnamed2160(o.requestedPermissions);
+ checkUnnamed2178(o.requestedPermissions);
}
buildCounterNewPermissionsEvent--;
}
@@ -1154,14 +1154,14 @@
buildCounterNotification--;
}
-buildUnnamed2161() {
+buildUnnamed2179() {
var o = new core.List<api.Notification>();
o.add(buildNotification());
o.add(buildNotification());
return o;
}
-checkUnnamed2161(core.List<api.Notification> o) {
+checkUnnamed2179(core.List<api.Notification> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotification(o[0]);
checkNotification(o[1]);
@@ -1173,7 +1173,7 @@
buildCounterNotificationSet++;
if (buildCounterNotificationSet < 3) {
o.kind = "foo";
- o.notification = buildUnnamed2161();
+ o.notification = buildUnnamed2179();
o.notificationSetId = "foo";
}
buildCounterNotificationSet--;
@@ -1184,7 +1184,7 @@
buildCounterNotificationSet++;
if (buildCounterNotificationSet < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2161(o.notification);
+ checkUnnamed2179(o.notification);
unittest.expect(o.notificationSetId, unittest.equals('foo'));
}
buildCounterNotificationSet--;
@@ -1238,14 +1238,14 @@
buildCounterPermission--;
}
-buildUnnamed2162() {
+buildUnnamed2180() {
var o = new core.List<api.AppVersion>();
o.add(buildAppVersion());
o.add(buildAppVersion());
return o;
}
-checkUnnamed2162(core.List<api.AppVersion> o) {
+checkUnnamed2180(core.List<api.AppVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppVersion(o[0]);
checkAppVersion(o[1]);
@@ -1256,7 +1256,7 @@
var o = new api.Product();
buildCounterProduct++;
if (buildCounterProduct < 3) {
- o.appVersion = buildUnnamed2162();
+ o.appVersion = buildUnnamed2180();
o.authorName = "foo";
o.detailsUrl = "foo";
o.distributionChannel = "foo";
@@ -1276,7 +1276,7 @@
checkProduct(api.Product o) {
buildCounterProduct++;
if (buildCounterProduct < 3) {
- checkUnnamed2162(o.appVersion);
+ checkUnnamed2180(o.appVersion);
unittest.expect(o.authorName, unittest.equals('foo'));
unittest.expect(o.detailsUrl, unittest.equals('foo'));
unittest.expect(o.distributionChannel, unittest.equals('foo'));
@@ -1355,14 +1355,14 @@
buildCounterProductPermission--;
}
-buildUnnamed2163() {
+buildUnnamed2181() {
var o = new core.List<api.ProductPermission>();
o.add(buildProductPermission());
o.add(buildProductPermission());
return o;
}
-checkUnnamed2163(core.List<api.ProductPermission> o) {
+checkUnnamed2181(core.List<api.ProductPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductPermission(o[0]);
checkProductPermission(o[1]);
@@ -1374,7 +1374,7 @@
buildCounterProductPermissions++;
if (buildCounterProductPermissions < 3) {
o.kind = "foo";
- o.permission = buildUnnamed2163();
+ o.permission = buildUnnamed2181();
o.productId = "foo";
}
buildCounterProductPermissions--;
@@ -1385,20 +1385,20 @@
buildCounterProductPermissions++;
if (buildCounterProductPermissions < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2163(o.permission);
+ checkUnnamed2181(o.permission);
unittest.expect(o.productId, unittest.equals('foo'));
}
buildCounterProductPermissions--;
}
-buildUnnamed2164() {
+buildUnnamed2182() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2164(core.List<core.String> o) {
+checkUnnamed2182(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1410,7 +1410,7 @@
buildCounterProductSet++;
if (buildCounterProductSet < 3) {
o.kind = "foo";
- o.productId = buildUnnamed2164();
+ o.productId = buildUnnamed2182();
o.productSetBehavior = "foo";
}
buildCounterProductSet--;
@@ -1421,7 +1421,7 @@
buildCounterProductSet++;
if (buildCounterProductSet < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2164(o.productId);
+ checkUnnamed2182(o.productId);
unittest.expect(o.productSetBehavior, unittest.equals('foo'));
}
buildCounterProductSet--;
@@ -1467,14 +1467,14 @@
buildCounterProductsGenerateApprovalUrlResponse--;
}
-buildUnnamed2165() {
+buildUnnamed2183() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed2165(core.List<api.Product> o) {
+checkUnnamed2183(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -1487,7 +1487,7 @@
if (buildCounterProductsListResponse < 3) {
o.kind = "foo";
o.pageInfo = buildPageInfo();
- o.product = buildUnnamed2165();
+ o.product = buildUnnamed2183();
o.tokenPagination = buildTokenPagination();
}
buildCounterProductsListResponse--;
@@ -1499,7 +1499,7 @@
if (buildCounterProductsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
- checkUnnamed2165(o.product);
+ checkUnnamed2183(o.product);
checkTokenPagination(o.tokenPagination);
}
buildCounterProductsListResponse--;
@@ -1555,14 +1555,14 @@
buildCounterServiceAccountKey--;
}
-buildUnnamed2166() {
+buildUnnamed2184() {
var o = new core.List<api.ServiceAccountKey>();
o.add(buildServiceAccountKey());
o.add(buildServiceAccountKey());
return o;
}
-checkUnnamed2166(core.List<api.ServiceAccountKey> o) {
+checkUnnamed2184(core.List<api.ServiceAccountKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccountKey(o[0]);
checkServiceAccountKey(o[1]);
@@ -1573,7 +1573,7 @@
var o = new api.ServiceAccountKeysListResponse();
buildCounterServiceAccountKeysListResponse++;
if (buildCounterServiceAccountKeysListResponse < 3) {
- o.serviceAccountKey = buildUnnamed2166();
+ o.serviceAccountKey = buildUnnamed2184();
}
buildCounterServiceAccountKeysListResponse--;
return o;
@@ -1582,7 +1582,7 @@
checkServiceAccountKeysListResponse(api.ServiceAccountKeysListResponse o) {
buildCounterServiceAccountKeysListResponse++;
if (buildCounterServiceAccountKeysListResponse < 3) {
- checkUnnamed2166(o.serviceAccountKey);
+ checkUnnamed2184(o.serviceAccountKey);
}
buildCounterServiceAccountKeysListResponse--;
}
@@ -1610,27 +1610,27 @@
buildCounterSignupInfo--;
}
-buildUnnamed2167() {
+buildUnnamed2185() {
var o = new core.List<api.LocalizedText>();
o.add(buildLocalizedText());
o.add(buildLocalizedText());
return o;
}
-checkUnnamed2167(core.List<api.LocalizedText> o) {
+checkUnnamed2185(core.List<api.LocalizedText> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedText(o[0]);
checkLocalizedText(o[1]);
}
-buildUnnamed2168() {
+buildUnnamed2186() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2168(core.List<core.String> o) {
+checkUnnamed2186(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1643,9 +1643,9 @@
if (buildCounterStoreCluster < 3) {
o.id = "foo";
o.kind = "foo";
- o.name = buildUnnamed2167();
+ o.name = buildUnnamed2185();
o.orderInPage = "foo";
- o.productId = buildUnnamed2168();
+ o.productId = buildUnnamed2186();
}
buildCounterStoreCluster--;
return o;
@@ -1656,9 +1656,9 @@
if (buildCounterStoreCluster < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2167(o.name);
+ checkUnnamed2185(o.name);
unittest.expect(o.orderInPage, unittest.equals('foo'));
- checkUnnamed2168(o.productId);
+ checkUnnamed2186(o.productId);
}
buildCounterStoreCluster--;
}
@@ -1686,14 +1686,14 @@
buildCounterStoreLayout--;
}
-buildUnnamed2169() {
+buildUnnamed2187() {
var o = new core.List<api.StoreCluster>();
o.add(buildStoreCluster());
o.add(buildStoreCluster());
return o;
}
-checkUnnamed2169(core.List<api.StoreCluster> o) {
+checkUnnamed2187(core.List<api.StoreCluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkStoreCluster(o[0]);
checkStoreCluster(o[1]);
@@ -1704,7 +1704,7 @@
var o = new api.StoreLayoutClustersListResponse();
buildCounterStoreLayoutClustersListResponse++;
if (buildCounterStoreLayoutClustersListResponse < 3) {
- o.cluster = buildUnnamed2169();
+ o.cluster = buildUnnamed2187();
o.kind = "foo";
}
buildCounterStoreLayoutClustersListResponse--;
@@ -1714,20 +1714,20 @@
checkStoreLayoutClustersListResponse(api.StoreLayoutClustersListResponse o) {
buildCounterStoreLayoutClustersListResponse++;
if (buildCounterStoreLayoutClustersListResponse < 3) {
- checkUnnamed2169(o.cluster);
+ checkUnnamed2187(o.cluster);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterStoreLayoutClustersListResponse--;
}
-buildUnnamed2170() {
+buildUnnamed2188() {
var o = new core.List<api.StorePage>();
o.add(buildStorePage());
o.add(buildStorePage());
return o;
}
-checkUnnamed2170(core.List<api.StorePage> o) {
+checkUnnamed2188(core.List<api.StorePage> o) {
unittest.expect(o, unittest.hasLength(2));
checkStorePage(o[0]);
checkStorePage(o[1]);
@@ -1739,7 +1739,7 @@
buildCounterStoreLayoutPagesListResponse++;
if (buildCounterStoreLayoutPagesListResponse < 3) {
o.kind = "foo";
- o.page = buildUnnamed2170();
+ o.page = buildUnnamed2188();
}
buildCounterStoreLayoutPagesListResponse--;
return o;
@@ -1749,32 +1749,32 @@
buildCounterStoreLayoutPagesListResponse++;
if (buildCounterStoreLayoutPagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2170(o.page);
+ checkUnnamed2188(o.page);
}
buildCounterStoreLayoutPagesListResponse--;
}
-buildUnnamed2171() {
+buildUnnamed2189() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2171(core.List<core.String> o) {
+checkUnnamed2189(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2172() {
+buildUnnamed2190() {
var o = new core.List<api.LocalizedText>();
o.add(buildLocalizedText());
o.add(buildLocalizedText());
return o;
}
-checkUnnamed2172(core.List<api.LocalizedText> o) {
+checkUnnamed2190(core.List<api.LocalizedText> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedText(o[0]);
checkLocalizedText(o[1]);
@@ -1787,8 +1787,8 @@
if (buildCounterStorePage < 3) {
o.id = "foo";
o.kind = "foo";
- o.link = buildUnnamed2171();
- o.name = buildUnnamed2172();
+ o.link = buildUnnamed2189();
+ o.name = buildUnnamed2190();
}
buildCounterStorePage--;
return o;
@@ -1799,8 +1799,8 @@
if (buildCounterStorePage < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2171(o.link);
- checkUnnamed2172(o.name);
+ checkUnnamed2189(o.link);
+ checkUnnamed2190(o.name);
}
buildCounterStorePage--;
}
@@ -1880,14 +1880,14 @@
buildCounterUserToken--;
}
-buildUnnamed2173() {
+buildUnnamed2191() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed2173(core.List<api.User> o) {
+checkUnnamed2191(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -1899,7 +1899,7 @@
buildCounterUsersListResponse++;
if (buildCounterUsersListResponse < 3) {
o.kind = "foo";
- o.user = buildUnnamed2173();
+ o.user = buildUnnamed2191();
}
buildCounterUsersListResponse--;
return o;
@@ -1909,7 +1909,7 @@
buildCounterUsersListResponse++;
if (buildCounterUsersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2173(o.user);
+ checkUnnamed2191(o.user);
}
buildCounterUsersListResponse--;
}
diff --git a/generated/googleapis/test/androidmanagement/v1_test.dart b/generated/googleapis/test/androidmanagement/v1_test.dart
index 3eeb448..8cee3f2 100644
--- a/generated/googleapis/test/androidmanagement/v1_test.dart
+++ b/generated/googleapis/test/androidmanagement/v1_test.dart
@@ -70,27 +70,27 @@
buildCounterApiLevelCondition--;
}
-buildUnnamed1542() {
+buildUnnamed1559() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed1542(core.List<api.ManagedProperty> o) {
+checkUnnamed1559(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
}
-buildUnnamed1543() {
+buildUnnamed1560() {
var o = new core.List<api.ApplicationPermission>();
o.add(buildApplicationPermission());
o.add(buildApplicationPermission());
return o;
}
-checkUnnamed1543(core.List<api.ApplicationPermission> o) {
+checkUnnamed1560(core.List<api.ApplicationPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationPermission(o[0]);
checkApplicationPermission(o[1]);
@@ -101,9 +101,9 @@
var o = new api.Application();
buildCounterApplication++;
if (buildCounterApplication < 3) {
- o.managedProperties = buildUnnamed1542();
+ o.managedProperties = buildUnnamed1559();
o.name = "foo";
- o.permissions = buildUnnamed1543();
+ o.permissions = buildUnnamed1560();
o.title = "foo";
}
buildCounterApplication--;
@@ -113,9 +113,9 @@
checkApplication(api.Application o) {
buildCounterApplication++;
if (buildCounterApplication < 3) {
- checkUnnamed1542(o.managedProperties);
+ checkUnnamed1559(o.managedProperties);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1543(o.permissions);
+ checkUnnamed1560(o.permissions);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterApplication--;
@@ -144,27 +144,27 @@
buildCounterApplicationPermission--;
}
-buildUnnamed1544() {
+buildUnnamed1561() {
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;
}
-checkUnnamed1544(core.Map<core.String, core.Object> o) {
+checkUnnamed1561(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'));
}
-buildUnnamed1545() {
+buildUnnamed1562() {
var o = new core.List<api.PermissionGrant>();
o.add(buildPermissionGrant());
o.add(buildPermissionGrant());
return o;
}
-checkUnnamed1545(core.List<api.PermissionGrant> o) {
+checkUnnamed1562(core.List<api.PermissionGrant> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionGrant(o[0]);
checkPermissionGrant(o[1]);
@@ -178,9 +178,9 @@
o.defaultPermissionPolicy = "foo";
o.installType = "foo";
o.lockTaskAllowed = true;
- o.managedConfiguration = buildUnnamed1544();
+ o.managedConfiguration = buildUnnamed1561();
o.packageName = "foo";
- o.permissionGrants = buildUnnamed1545();
+ o.permissionGrants = buildUnnamed1562();
}
buildCounterApplicationPolicy--;
return o;
@@ -192,21 +192,21 @@
unittest.expect(o.defaultPermissionPolicy, unittest.equals('foo'));
unittest.expect(o.installType, unittest.equals('foo'));
unittest.expect(o.lockTaskAllowed, unittest.isTrue);
- checkUnnamed1544(o.managedConfiguration);
+ checkUnnamed1561(o.managedConfiguration);
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed1545(o.permissionGrants);
+ checkUnnamed1562(o.permissionGrants);
}
buildCounterApplicationPolicy--;
}
-buildUnnamed1546() {
+buildUnnamed1563() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1546(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'));
@@ -220,7 +220,7 @@
o.createTime = "foo";
o.duration = "foo";
o.newPassword = "foo";
- o.resetPasswordFlags = buildUnnamed1546();
+ o.resetPasswordFlags = buildUnnamed1563();
o.type = "foo";
}
buildCounterCommand--;
@@ -233,7 +233,7 @@
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.duration, unittest.equals('foo'));
unittest.expect(o.newPassword, unittest.equals('foo'));
- checkUnnamed1546(o.resetPasswordFlags);
+ checkUnnamed1563(o.resetPasswordFlags);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterCommand--;
@@ -262,79 +262,79 @@
buildCounterComplianceRule--;
}
-buildUnnamed1547() {
+buildUnnamed1564() {
var o = new core.List<api.Display>();
o.add(buildDisplay());
o.add(buildDisplay());
return o;
}
-checkUnnamed1547(core.List<api.Display> o) {
+checkUnnamed1564(core.List<api.Display> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisplay(o[0]);
checkDisplay(o[1]);
}
-buildUnnamed1548() {
+buildUnnamed1565() {
var o = new core.List<api.HardwareStatus>();
o.add(buildHardwareStatus());
o.add(buildHardwareStatus());
return o;
}
-checkUnnamed1548(core.List<api.HardwareStatus> o) {
+checkUnnamed1565(core.List<api.HardwareStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkHardwareStatus(o[0]);
checkHardwareStatus(o[1]);
}
-buildUnnamed1549() {
+buildUnnamed1566() {
var o = new core.List<api.MemoryEvent>();
o.add(buildMemoryEvent());
o.add(buildMemoryEvent());
return o;
}
-checkUnnamed1549(core.List<api.MemoryEvent> o) {
+checkUnnamed1566(core.List<api.MemoryEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkMemoryEvent(o[0]);
checkMemoryEvent(o[1]);
}
-buildUnnamed1550() {
+buildUnnamed1567() {
var o = new core.List<api.NonComplianceDetail>();
o.add(buildNonComplianceDetail());
o.add(buildNonComplianceDetail());
return o;
}
-checkUnnamed1550(core.List<api.NonComplianceDetail> o) {
+checkUnnamed1567(core.List<api.NonComplianceDetail> o) {
unittest.expect(o, unittest.hasLength(2));
checkNonComplianceDetail(o[0]);
checkNonComplianceDetail(o[1]);
}
-buildUnnamed1551() {
+buildUnnamed1568() {
var o = new core.List<api.PowerManagementEvent>();
o.add(buildPowerManagementEvent());
o.add(buildPowerManagementEvent());
return o;
}
-checkUnnamed1551(core.List<api.PowerManagementEvent> o) {
+checkUnnamed1568(core.List<api.PowerManagementEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkPowerManagementEvent(o[0]);
checkPowerManagementEvent(o[1]);
}
-buildUnnamed1552() {
+buildUnnamed1569() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1552(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'));
@@ -350,24 +350,24 @@
o.appliedPolicyVersion = "foo";
o.appliedState = "foo";
o.disabledReason = buildUserFacingMessage();
- o.displays = buildUnnamed1547();
+ o.displays = buildUnnamed1564();
o.enrollmentTime = "foo";
o.enrollmentTokenData = "foo";
o.enrollmentTokenName = "foo";
o.hardwareInfo = buildHardwareInfo();
- o.hardwareStatusSamples = buildUnnamed1548();
+ o.hardwareStatusSamples = buildUnnamed1565();
o.lastPolicyComplianceReportTime = "foo";
o.lastPolicySyncTime = "foo";
o.lastStatusReportTime = "foo";
- o.memoryEvents = buildUnnamed1549();
+ o.memoryEvents = buildUnnamed1566();
o.memoryInfo = buildMemoryInfo();
o.name = "foo";
o.networkInfo = buildNetworkInfo();
- o.nonComplianceDetails = buildUnnamed1550();
+ o.nonComplianceDetails = buildUnnamed1567();
o.policyCompliant = true;
o.policyName = "foo";
- o.powerManagementEvents = buildUnnamed1551();
- o.previousDeviceNames = buildUnnamed1552();
+ o.powerManagementEvents = buildUnnamed1568();
+ o.previousDeviceNames = buildUnnamed1569();
o.softwareInfo = buildSoftwareInfo();
o.state = "foo";
o.userName = "foo";
@@ -384,24 +384,24 @@
unittest.expect(o.appliedPolicyVersion, unittest.equals('foo'));
unittest.expect(o.appliedState, unittest.equals('foo'));
checkUserFacingMessage(o.disabledReason);
- checkUnnamed1547(o.displays);
+ checkUnnamed1564(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);
- checkUnnamed1548(o.hardwareStatusSamples);
+ checkUnnamed1565(o.hardwareStatusSamples);
unittest.expect(o.lastPolicyComplianceReportTime, unittest.equals('foo'));
unittest.expect(o.lastPolicySyncTime, unittest.equals('foo'));
unittest.expect(o.lastStatusReportTime, unittest.equals('foo'));
- checkUnnamed1549(o.memoryEvents);
+ checkUnnamed1566(o.memoryEvents);
checkMemoryInfo(o.memoryInfo);
unittest.expect(o.name, unittest.equals('foo'));
checkNetworkInfo(o.networkInfo);
- checkUnnamed1550(o.nonComplianceDetails);
+ checkUnnamed1567(o.nonComplianceDetails);
unittest.expect(o.policyCompliant, unittest.isTrue);
unittest.expect(o.policyName, unittest.equals('foo'));
- checkUnnamed1551(o.powerManagementEvents);
- checkUnnamed1552(o.previousDeviceNames);
+ checkUnnamed1568(o.powerManagementEvents);
+ checkUnnamed1569(o.previousDeviceNames);
checkSoftwareInfo(o.softwareInfo);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.userName, unittest.equals('foo'));
@@ -488,14 +488,14 @@
buildCounterEnrollmentToken--;
}
-buildUnnamed1553() {
+buildUnnamed1570() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1553(core.List<core.String> o) {
+checkUnnamed1570(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -507,7 +507,7 @@
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
o.appAutoApprovalEnabled = true;
- o.enabledNotificationTypes = buildUnnamed1553();
+ o.enabledNotificationTypes = buildUnnamed1570();
o.enterpriseDisplayName = "foo";
o.logo = buildExternalData();
o.name = "foo";
@@ -522,7 +522,7 @@
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
unittest.expect(o.appAutoApprovalEnabled, unittest.isTrue);
- checkUnnamed1553(o.enabledNotificationTypes);
+ checkUnnamed1570(o.enabledNotificationTypes);
unittest.expect(o.enterpriseDisplayName, unittest.equals('foo'));
checkExternalData(o.logo);
unittest.expect(o.name, unittest.equals('foo'));
@@ -553,105 +553,105 @@
buildCounterExternalData--;
}
-buildUnnamed1554() {
+buildUnnamed1571() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1554(core.List<core.double> o) {
+checkUnnamed1571(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));
}
-buildUnnamed1555() {
+buildUnnamed1572() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1555(core.List<core.double> o) {
+checkUnnamed1572(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));
}
-buildUnnamed1556() {
+buildUnnamed1573() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1556(core.List<core.double> o) {
+checkUnnamed1573(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));
}
-buildUnnamed1557() {
+buildUnnamed1574() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1557(core.List<core.double> o) {
+checkUnnamed1574(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));
}
-buildUnnamed1558() {
+buildUnnamed1575() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1558(core.List<core.double> o) {
+checkUnnamed1575(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));
}
-buildUnnamed1559() {
+buildUnnamed1576() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1559(core.List<core.double> o) {
+checkUnnamed1576(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));
}
-buildUnnamed1560() {
+buildUnnamed1577() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1560(core.List<core.double> o) {
+checkUnnamed1577(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));
}
-buildUnnamed1561() {
+buildUnnamed1578() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1561(core.List<core.double> o) {
+checkUnnamed1578(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));
@@ -662,20 +662,20 @@
var o = new api.HardwareInfo();
buildCounterHardwareInfo++;
if (buildCounterHardwareInfo < 3) {
- o.batteryShutdownTemperatures = buildUnnamed1554();
- o.batteryThrottlingTemperatures = buildUnnamed1555();
+ o.batteryShutdownTemperatures = buildUnnamed1571();
+ o.batteryThrottlingTemperatures = buildUnnamed1572();
o.brand = "foo";
- o.cpuShutdownTemperatures = buildUnnamed1556();
- o.cpuThrottlingTemperatures = buildUnnamed1557();
+ o.cpuShutdownTemperatures = buildUnnamed1573();
+ o.cpuThrottlingTemperatures = buildUnnamed1574();
o.deviceBasebandVersion = "foo";
- o.gpuShutdownTemperatures = buildUnnamed1558();
- o.gpuThrottlingTemperatures = buildUnnamed1559();
+ o.gpuShutdownTemperatures = buildUnnamed1575();
+ o.gpuThrottlingTemperatures = buildUnnamed1576();
o.hardware = "foo";
o.manufacturer = "foo";
o.model = "foo";
o.serialNumber = "foo";
- o.skinShutdownTemperatures = buildUnnamed1560();
- o.skinThrottlingTemperatures = buildUnnamed1561();
+ o.skinShutdownTemperatures = buildUnnamed1577();
+ o.skinThrottlingTemperatures = buildUnnamed1578();
}
buildCounterHardwareInfo--;
return o;
@@ -684,97 +684,97 @@
checkHardwareInfo(api.HardwareInfo o) {
buildCounterHardwareInfo++;
if (buildCounterHardwareInfo < 3) {
- checkUnnamed1554(o.batteryShutdownTemperatures);
- checkUnnamed1555(o.batteryThrottlingTemperatures);
+ checkUnnamed1571(o.batteryShutdownTemperatures);
+ checkUnnamed1572(o.batteryThrottlingTemperatures);
unittest.expect(o.brand, unittest.equals('foo'));
- checkUnnamed1556(o.cpuShutdownTemperatures);
- checkUnnamed1557(o.cpuThrottlingTemperatures);
+ checkUnnamed1573(o.cpuShutdownTemperatures);
+ checkUnnamed1574(o.cpuThrottlingTemperatures);
unittest.expect(o.deviceBasebandVersion, unittest.equals('foo'));
- checkUnnamed1558(o.gpuShutdownTemperatures);
- checkUnnamed1559(o.gpuThrottlingTemperatures);
+ checkUnnamed1575(o.gpuShutdownTemperatures);
+ checkUnnamed1576(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'));
- checkUnnamed1560(o.skinShutdownTemperatures);
- checkUnnamed1561(o.skinThrottlingTemperatures);
+ checkUnnamed1577(o.skinShutdownTemperatures);
+ checkUnnamed1578(o.skinThrottlingTemperatures);
}
buildCounterHardwareInfo--;
}
-buildUnnamed1562() {
+buildUnnamed1579() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1562(core.List<core.double> o) {
+checkUnnamed1579(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));
}
-buildUnnamed1563() {
+buildUnnamed1580() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1563(core.List<core.double> o) {
+checkUnnamed1580(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));
}
-buildUnnamed1564() {
+buildUnnamed1581() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1564(core.List<core.double> o) {
+checkUnnamed1581(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));
}
-buildUnnamed1565() {
+buildUnnamed1582() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1565(core.List<core.double> o) {
+checkUnnamed1582(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));
}
-buildUnnamed1566() {
+buildUnnamed1583() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1566(core.List<core.double> o) {
+checkUnnamed1583(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));
}
-buildUnnamed1567() {
+buildUnnamed1584() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1567(core.List<core.double> o) {
+checkUnnamed1584(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));
@@ -785,13 +785,13 @@
var o = new api.HardwareStatus();
buildCounterHardwareStatus++;
if (buildCounterHardwareStatus < 3) {
- o.batteryTemperatures = buildUnnamed1562();
- o.cpuTemperatures = buildUnnamed1563();
- o.cpuUsages = buildUnnamed1564();
+ o.batteryTemperatures = buildUnnamed1579();
+ o.cpuTemperatures = buildUnnamed1580();
+ o.cpuUsages = buildUnnamed1581();
o.createTime = "foo";
- o.fanSpeeds = buildUnnamed1565();
- o.gpuTemperatures = buildUnnamed1566();
- o.skinTemperatures = buildUnnamed1567();
+ o.fanSpeeds = buildUnnamed1582();
+ o.gpuTemperatures = buildUnnamed1583();
+ o.skinTemperatures = buildUnnamed1584();
}
buildCounterHardwareStatus--;
return o;
@@ -800,25 +800,25 @@
checkHardwareStatus(api.HardwareStatus o) {
buildCounterHardwareStatus++;
if (buildCounterHardwareStatus < 3) {
- checkUnnamed1562(o.batteryTemperatures);
- checkUnnamed1563(o.cpuTemperatures);
- checkUnnamed1564(o.cpuUsages);
+ checkUnnamed1579(o.batteryTemperatures);
+ checkUnnamed1580(o.cpuTemperatures);
+ checkUnnamed1581(o.cpuUsages);
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed1565(o.fanSpeeds);
- checkUnnamed1566(o.gpuTemperatures);
- checkUnnamed1567(o.skinTemperatures);
+ checkUnnamed1582(o.fanSpeeds);
+ checkUnnamed1583(o.gpuTemperatures);
+ checkUnnamed1584(o.skinTemperatures);
}
buildCounterHardwareStatus--;
}
-buildUnnamed1568() {
+buildUnnamed1585() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed1568(core.List<api.Device> o) {
+checkUnnamed1585(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -829,7 +829,7 @@
var o = new api.ListDevicesResponse();
buildCounterListDevicesResponse++;
if (buildCounterListDevicesResponse < 3) {
- o.devices = buildUnnamed1568();
+ o.devices = buildUnnamed1585();
o.nextPageToken = "foo";
}
buildCounterListDevicesResponse--;
@@ -839,20 +839,20 @@
checkListDevicesResponse(api.ListDevicesResponse o) {
buildCounterListDevicesResponse++;
if (buildCounterListDevicesResponse < 3) {
- checkUnnamed1568(o.devices);
+ checkUnnamed1585(o.devices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDevicesResponse--;
}
-buildUnnamed1569() {
+buildUnnamed1586() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1569(core.List<api.Operation> o) {
+checkUnnamed1586(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -864,7 +864,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1569();
+ o.operations = buildUnnamed1586();
}
buildCounterListOperationsResponse--;
return o;
@@ -874,19 +874,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1569(o.operations);
+ checkUnnamed1586(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1570() {
+buildUnnamed1587() {
var o = new core.List<api.Policy>();
o.add(buildPolicy());
o.add(buildPolicy());
return o;
}
-checkUnnamed1570(core.List<api.Policy> o) {
+checkUnnamed1587(core.List<api.Policy> o) {
unittest.expect(o, unittest.hasLength(2));
checkPolicy(o[0]);
checkPolicy(o[1]);
@@ -898,7 +898,7 @@
buildCounterListPoliciesResponse++;
if (buildCounterListPoliciesResponse < 3) {
o.nextPageToken = "foo";
- o.policies = buildUnnamed1570();
+ o.policies = buildUnnamed1587();
}
buildCounterListPoliciesResponse--;
return o;
@@ -908,32 +908,32 @@
buildCounterListPoliciesResponse++;
if (buildCounterListPoliciesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1570(o.policies);
+ checkUnnamed1587(o.policies);
}
buildCounterListPoliciesResponse--;
}
-buildUnnamed1571() {
+buildUnnamed1588() {
var o = new core.List<api.ManagedPropertyEntry>();
o.add(buildManagedPropertyEntry());
o.add(buildManagedPropertyEntry());
return o;
}
-checkUnnamed1571(core.List<api.ManagedPropertyEntry> o) {
+checkUnnamed1588(core.List<api.ManagedPropertyEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedPropertyEntry(o[0]);
checkManagedPropertyEntry(o[1]);
}
-buildUnnamed1572() {
+buildUnnamed1589() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed1572(core.List<api.ManagedProperty> o) {
+checkUnnamed1589(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
@@ -946,9 +946,9 @@
if (buildCounterManagedProperty < 3) {
o.defaultValue = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.description = "foo";
- o.entries = buildUnnamed1571();
+ o.entries = buildUnnamed1588();
o.key = "foo";
- o.nestedProperties = buildUnnamed1572();
+ o.nestedProperties = buildUnnamed1589();
o.title = "foo";
o.type = "foo";
}
@@ -961,9 +961,9 @@
if (buildCounterManagedProperty < 3) {
var casted3 = (o.defaultValue) 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'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1571(o.entries);
+ checkUnnamed1588(o.entries);
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed1572(o.nestedProperties);
+ checkUnnamed1589(o.nestedProperties);
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
@@ -1110,27 +1110,27 @@
buildCounterNonComplianceDetailCondition--;
}
-buildUnnamed1573() {
+buildUnnamed1590() {
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;
}
-checkUnnamed1573(core.Map<core.String, core.Object> o) {
+checkUnnamed1590(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'));
}
-buildUnnamed1574() {
+buildUnnamed1591() {
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;
}
-checkUnnamed1574(core.Map<core.String, core.Object> o) {
+checkUnnamed1591(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'));
@@ -1143,9 +1143,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1573();
+ o.metadata = buildUnnamed1590();
o.name = "foo";
- o.response = buildUnnamed1574();
+ o.response = buildUnnamed1591();
}
buildCounterOperation--;
return o;
@@ -1156,9 +1156,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1573(o.metadata);
+ checkUnnamed1590(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1574(o.response);
+ checkUnnamed1591(o.response);
}
buildCounterOperation--;
}
@@ -1223,27 +1223,27 @@
buildCounterPermissionGrant--;
}
-buildUnnamed1575() {
+buildUnnamed1592() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1575(core.List<core.String> o) {
+checkUnnamed1592(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1576() {
+buildUnnamed1593() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1576(core.List<core.String> o) {
+checkUnnamed1593(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1254,8 +1254,8 @@
var o = new api.PersistentPreferredActivity();
buildCounterPersistentPreferredActivity++;
if (buildCounterPersistentPreferredActivity < 3) {
- o.actions = buildUnnamed1575();
- o.categories = buildUnnamed1576();
+ o.actions = buildUnnamed1592();
+ o.categories = buildUnnamed1593();
o.receiverActivity = "foo";
}
buildCounterPersistentPreferredActivity--;
@@ -1265,86 +1265,86 @@
checkPersistentPreferredActivity(api.PersistentPreferredActivity o) {
buildCounterPersistentPreferredActivity++;
if (buildCounterPersistentPreferredActivity < 3) {
- checkUnnamed1575(o.actions);
- checkUnnamed1576(o.categories);
+ checkUnnamed1592(o.actions);
+ checkUnnamed1593(o.categories);
unittest.expect(o.receiverActivity, unittest.equals('foo'));
}
buildCounterPersistentPreferredActivity--;
}
-buildUnnamed1577() {
+buildUnnamed1594() {
var o = new core.List<api.ApplicationPolicy>();
o.add(buildApplicationPolicy());
o.add(buildApplicationPolicy());
return o;
}
-checkUnnamed1577(core.List<api.ApplicationPolicy> o) {
+checkUnnamed1594(core.List<api.ApplicationPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationPolicy(o[0]);
checkApplicationPolicy(o[1]);
}
-buildUnnamed1578() {
+buildUnnamed1595() {
var o = new core.List<api.ComplianceRule>();
o.add(buildComplianceRule());
o.add(buildComplianceRule());
return o;
}
-checkUnnamed1578(core.List<api.ComplianceRule> o) {
+checkUnnamed1595(core.List<api.ComplianceRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkComplianceRule(o[0]);
checkComplianceRule(o[1]);
}
-buildUnnamed1579() {
+buildUnnamed1596() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1579(core.List<core.String> o) {
+checkUnnamed1596(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1580() {
+buildUnnamed1597() {
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;
}
-checkUnnamed1580(core.Map<core.String, core.Object> o) {
+checkUnnamed1597(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'));
}
-buildUnnamed1581() {
+buildUnnamed1598() {
var o = new core.List<api.PersistentPreferredActivity>();
o.add(buildPersistentPreferredActivity());
o.add(buildPersistentPreferredActivity());
return o;
}
-checkUnnamed1581(core.List<api.PersistentPreferredActivity> o) {
+checkUnnamed1598(core.List<api.PersistentPreferredActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersistentPreferredActivity(o[0]);
checkPersistentPreferredActivity(o[1]);
}
-buildUnnamed1582() {
+buildUnnamed1599() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1582(core.List<core.String> o) {
+checkUnnamed1599(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1357,29 +1357,30 @@
if (buildCounterPolicy < 3) {
o.addUserDisabled = true;
o.adjustVolumeDisabled = true;
- o.applications = buildUnnamed1577();
+ o.applications = buildUnnamed1594();
o.blockApplicationsEnabled = true;
o.cameraDisabled = true;
- o.complianceRules = buildUnnamed1578();
+ o.complianceRules = buildUnnamed1595();
o.debuggingFeaturesAllowed = true;
o.defaultPermissionPolicy = "foo";
o.factoryResetDisabled = true;
- o.frpAdminEmails = buildUnnamed1579();
+ o.frpAdminEmails = buildUnnamed1596();
+ o.funDisabled = true;
o.installUnknownSourcesAllowed = true;
o.keyguardDisabled = true;
o.maximumTimeToLock = "foo";
o.modifyAccountsDisabled = true;
o.name = "foo";
o.networkEscapeHatchEnabled = true;
- o.openNetworkConfiguration = buildUnnamed1580();
+ o.openNetworkConfiguration = buildUnnamed1597();
o.passwordRequirements = buildPasswordRequirements();
- o.persistentPreferredActivities = buildUnnamed1581();
+ o.persistentPreferredActivities = buildUnnamed1598();
o.removeUserDisabled = true;
o.safeBootDisabled = true;
o.screenCaptureDisabled = true;
o.statusBarDisabled = true;
o.statusReportingSettings = buildStatusReportingSettings();
- o.stayOnPluggedModes = buildUnnamed1582();
+ o.stayOnPluggedModes = buildUnnamed1599();
o.systemUpdate = buildSystemUpdate();
o.unmuteMicrophoneDisabled = true;
o.version = "foo";
@@ -1393,29 +1394,30 @@
if (buildCounterPolicy < 3) {
unittest.expect(o.addUserDisabled, unittest.isTrue);
unittest.expect(o.adjustVolumeDisabled, unittest.isTrue);
- checkUnnamed1577(o.applications);
+ checkUnnamed1594(o.applications);
unittest.expect(o.blockApplicationsEnabled, unittest.isTrue);
unittest.expect(o.cameraDisabled, unittest.isTrue);
- checkUnnamed1578(o.complianceRules);
+ checkUnnamed1595(o.complianceRules);
unittest.expect(o.debuggingFeaturesAllowed, unittest.isTrue);
unittest.expect(o.defaultPermissionPolicy, unittest.equals('foo'));
unittest.expect(o.factoryResetDisabled, unittest.isTrue);
- checkUnnamed1579(o.frpAdminEmails);
+ checkUnnamed1596(o.frpAdminEmails);
+ unittest.expect(o.funDisabled, unittest.isTrue);
unittest.expect(o.installUnknownSourcesAllowed, unittest.isTrue);
unittest.expect(o.keyguardDisabled, unittest.isTrue);
unittest.expect(o.maximumTimeToLock, unittest.equals('foo'));
unittest.expect(o.modifyAccountsDisabled, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.networkEscapeHatchEnabled, unittest.isTrue);
- checkUnnamed1580(o.openNetworkConfiguration);
+ checkUnnamed1597(o.openNetworkConfiguration);
checkPasswordRequirements(o.passwordRequirements);
- checkUnnamed1581(o.persistentPreferredActivities);
+ checkUnnamed1598(o.persistentPreferredActivities);
unittest.expect(o.removeUserDisabled, unittest.isTrue);
unittest.expect(o.safeBootDisabled, unittest.isTrue);
unittest.expect(o.screenCaptureDisabled, unittest.isTrue);
unittest.expect(o.statusBarDisabled, unittest.isTrue);
checkStatusReportingSettings(o.statusReportingSettings);
- checkUnnamed1582(o.stayOnPluggedModes);
+ checkUnnamed1599(o.stayOnPluggedModes);
checkSystemUpdate(o.systemUpdate);
unittest.expect(o.unmuteMicrophoneDisabled, unittest.isTrue);
unittest.expect(o.version, unittest.equals('foo'));
@@ -1496,30 +1498,30 @@
buildCounterSoftwareInfo--;
}
-buildUnnamed1583() {
+buildUnnamed1600() {
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;
}
-checkUnnamed1583(core.Map<core.String, core.Object> o) {
+checkUnnamed1600(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed1584() {
+buildUnnamed1601() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1583());
- o.add(buildUnnamed1583());
+ o.add(buildUnnamed1600());
+ o.add(buildUnnamed1600());
return o;
}
-checkUnnamed1584(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1601(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1583(o[0]);
- checkUnnamed1583(o[1]);
+ checkUnnamed1600(o[0]);
+ checkUnnamed1600(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1528,7 +1530,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1584();
+ o.details = buildUnnamed1601();
o.message = "foo";
}
buildCounterStatus--;
@@ -1539,7 +1541,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1584(o.details);
+ checkUnnamed1601(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1597,14 +1599,14 @@
buildCounterSystemUpdate--;
}
-buildUnnamed1585() {
+buildUnnamed1602() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1585(core.Map<core.String, core.String> o) {
+checkUnnamed1602(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1616,7 +1618,7 @@
buildCounterUserFacingMessage++;
if (buildCounterUserFacingMessage < 3) {
o.defaultMessage = "foo";
- o.localizedMessages = buildUnnamed1585();
+ o.localizedMessages = buildUnnamed1602();
}
buildCounterUserFacingMessage--;
return o;
@@ -1626,19 +1628,19 @@
buildCounterUserFacingMessage++;
if (buildCounterUserFacingMessage < 3) {
unittest.expect(o.defaultMessage, unittest.equals('foo'));
- checkUnnamed1585(o.localizedMessages);
+ checkUnnamed1602(o.localizedMessages);
}
buildCounterUserFacingMessage--;
}
-buildUnnamed1586() {
+buildUnnamed1603() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1586(core.List<core.String> o) {
+checkUnnamed1603(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1651,7 +1653,7 @@
if (buildCounterWebToken < 3) {
o.name = "foo";
o.parentFrameUrl = "foo";
- o.permissions = buildUnnamed1586();
+ o.permissions = buildUnnamed1603();
o.value = "foo";
}
buildCounterWebToken--;
@@ -1663,7 +1665,7 @@
if (buildCounterWebToken < 3) {
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentFrameUrl, unittest.equals('foo'));
- checkUnnamed1586(o.permissions);
+ checkUnnamed1603(o.permissions);
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterWebToken--;
diff --git a/generated/googleapis/test/androidpublisher/v2_test.dart b/generated/googleapis/test/androidpublisher/v2_test.dart
index 7a3d86f..b81d8d1 100644
--- a/generated/googleapis/test/androidpublisher/v2_test.dart
+++ b/generated/googleapis/test/androidpublisher/v2_test.dart
@@ -78,6 +78,7 @@
buildCounterApkBinary++;
if (buildCounterApkBinary < 3) {
o.sha1 = "foo";
+ o.sha256 = "foo";
}
buildCounterApkBinary--;
return o;
@@ -87,6 +88,7 @@
buildCounterApkBinary++;
if (buildCounterApkBinary < 3) {
unittest.expect(o.sha1, unittest.equals('foo'));
+ unittest.expect(o.sha256, unittest.equals('foo'));
}
buildCounterApkBinary--;
}
@@ -112,14 +114,14 @@
buildCounterApkListing--;
}
-buildUnnamed2505() {
+buildUnnamed2526() {
var o = new core.List<api.ApkListing>();
o.add(buildApkListing());
o.add(buildApkListing());
return o;
}
-checkUnnamed2505(core.List<api.ApkListing> o) {
+checkUnnamed2526(core.List<api.ApkListing> o) {
unittest.expect(o, unittest.hasLength(2));
checkApkListing(o[0]);
checkApkListing(o[1]);
@@ -131,7 +133,7 @@
buildCounterApkListingsListResponse++;
if (buildCounterApkListingsListResponse < 3) {
o.kind = "foo";
- o.listings = buildUnnamed2505();
+ o.listings = buildUnnamed2526();
}
buildCounterApkListingsListResponse--;
return o;
@@ -141,7 +143,7 @@
buildCounterApkListingsListResponse++;
if (buildCounterApkListingsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2505(o.listings);
+ checkUnnamed2526(o.listings);
}
buildCounterApkListingsListResponse--;
}
@@ -184,14 +186,14 @@
buildCounterApksAddExternallyHostedResponse--;
}
-buildUnnamed2506() {
+buildUnnamed2527() {
var o = new core.List<api.Apk>();
o.add(buildApk());
o.add(buildApk());
return o;
}
-checkUnnamed2506(core.List<api.Apk> o) {
+checkUnnamed2527(core.List<api.Apk> o) {
unittest.expect(o, unittest.hasLength(2));
checkApk(o[0]);
checkApk(o[1]);
@@ -202,7 +204,7 @@
var o = new api.ApksListResponse();
buildCounterApksListResponse++;
if (buildCounterApksListResponse < 3) {
- o.apks = buildUnnamed2506();
+ o.apks = buildUnnamed2527();
o.kind = "foo";
}
buildCounterApksListResponse--;
@@ -212,7 +214,7 @@
checkApksListResponse(api.ApksListResponse o) {
buildCounterApksListResponse++;
if (buildCounterApksListResponse < 3) {
- checkUnnamed2506(o.apks);
+ checkUnnamed2527(o.apks);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterApksListResponse--;
@@ -408,14 +410,14 @@
buildCounterEntitlement--;
}
-buildUnnamed2507() {
+buildUnnamed2528() {
var o = new core.List<api.Entitlement>();
o.add(buildEntitlement());
o.add(buildEntitlement());
return o;
}
-checkUnnamed2507(core.List<api.Entitlement> o) {
+checkUnnamed2528(core.List<api.Entitlement> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntitlement(o[0]);
checkEntitlement(o[1]);
@@ -427,7 +429,7 @@
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
o.pageInfo = buildPageInfo();
- o.resources = buildUnnamed2507();
+ o.resources = buildUnnamed2528();
o.tokenPagination = buildTokenPagination();
}
buildCounterEntitlementsListResponse--;
@@ -438,7 +440,7 @@
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
checkPageInfo(o.pageInfo);
- checkUnnamed2507(o.resources);
+ checkUnnamed2528(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterEntitlementsListResponse--;
@@ -484,53 +486,53 @@
buildCounterExpansionFilesUploadResponse--;
}
-buildUnnamed2508() {
+buildUnnamed2529() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2508(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'));
}
-buildUnnamed2509() {
+buildUnnamed2530() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2509(core.List<core.String> o) {
+checkUnnamed2530(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2510() {
+buildUnnamed2531() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2510(core.List<core.String> o) {
+checkUnnamed2531(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2511() {
+buildUnnamed2532() {
var o = new core.List<api.ExternallyHostedApkUsesPermission>();
o.add(buildExternallyHostedApkUsesPermission());
o.add(buildExternallyHostedApkUsesPermission());
return o;
}
-checkUnnamed2511(core.List<api.ExternallyHostedApkUsesPermission> o) {
+checkUnnamed2532(core.List<api.ExternallyHostedApkUsesPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternallyHostedApkUsesPermission(o[0]);
checkExternallyHostedApkUsesPermission(o[1]);
@@ -542,7 +544,7 @@
buildCounterExternallyHostedApk++;
if (buildCounterExternallyHostedApk < 3) {
o.applicationLabel = "foo";
- o.certificateBase64s = buildUnnamed2508();
+ o.certificateBase64s = buildUnnamed2529();
o.externallyHostedUrl = "foo";
o.fileSha1Base64 = "foo";
o.fileSha256Base64 = "foo";
@@ -550,10 +552,10 @@
o.iconBase64 = "foo";
o.maximumSdk = 42;
o.minimumSdk = 42;
- o.nativeCodes = buildUnnamed2509();
+ o.nativeCodes = buildUnnamed2530();
o.packageName = "foo";
- o.usesFeatures = buildUnnamed2510();
- o.usesPermissions = buildUnnamed2511();
+ o.usesFeatures = buildUnnamed2531();
+ o.usesPermissions = buildUnnamed2532();
o.versionCode = 42;
o.versionName = "foo";
}
@@ -565,7 +567,7 @@
buildCounterExternallyHostedApk++;
if (buildCounterExternallyHostedApk < 3) {
unittest.expect(o.applicationLabel, unittest.equals('foo'));
- checkUnnamed2508(o.certificateBase64s);
+ checkUnnamed2529(o.certificateBase64s);
unittest.expect(o.externallyHostedUrl, unittest.equals('foo'));
unittest.expect(o.fileSha1Base64, unittest.equals('foo'));
unittest.expect(o.fileSha256Base64, unittest.equals('foo'));
@@ -573,10 +575,10 @@
unittest.expect(o.iconBase64, unittest.equals('foo'));
unittest.expect(o.maximumSdk, unittest.equals(42));
unittest.expect(o.minimumSdk, unittest.equals(42));
- checkUnnamed2509(o.nativeCodes);
+ checkUnnamed2530(o.nativeCodes);
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed2510(o.usesFeatures);
- checkUnnamed2511(o.usesPermissions);
+ checkUnnamed2531(o.usesFeatures);
+ checkUnnamed2532(o.usesPermissions);
unittest.expect(o.versionCode, unittest.equals(42));
unittest.expect(o.versionName, unittest.equals('foo'));
}
@@ -627,14 +629,14 @@
buildCounterImage--;
}
-buildUnnamed2512() {
+buildUnnamed2533() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed2512(core.List<api.Image> o) {
+checkUnnamed2533(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
@@ -645,7 +647,7 @@
var o = new api.ImagesDeleteAllResponse();
buildCounterImagesDeleteAllResponse++;
if (buildCounterImagesDeleteAllResponse < 3) {
- o.deleted = buildUnnamed2512();
+ o.deleted = buildUnnamed2533();
}
buildCounterImagesDeleteAllResponse--;
return o;
@@ -654,19 +656,19 @@
checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) {
buildCounterImagesDeleteAllResponse++;
if (buildCounterImagesDeleteAllResponse < 3) {
- checkUnnamed2512(o.deleted);
+ checkUnnamed2533(o.deleted);
}
buildCounterImagesDeleteAllResponse--;
}
-buildUnnamed2513() {
+buildUnnamed2534() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed2513(core.List<api.Image> o) {
+checkUnnamed2534(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
@@ -677,7 +679,7 @@
var o = new api.ImagesListResponse();
buildCounterImagesListResponse++;
if (buildCounterImagesListResponse < 3) {
- o.images = buildUnnamed2513();
+ o.images = buildUnnamed2534();
}
buildCounterImagesListResponse--;
return o;
@@ -686,7 +688,7 @@
checkImagesListResponse(api.ImagesListResponse o) {
buildCounterImagesListResponse++;
if (buildCounterImagesListResponse < 3) {
- checkUnnamed2513(o.images);
+ checkUnnamed2534(o.images);
}
buildCounterImagesListResponse--;
}
@@ -710,27 +712,27 @@
buildCounterImagesUploadResponse--;
}
-buildUnnamed2514() {
+buildUnnamed2535() {
var o = new core.Map<core.String, api.InAppProductListing>();
o["x"] = buildInAppProductListing();
o["y"] = buildInAppProductListing();
return o;
}
-checkUnnamed2514(core.Map<core.String, api.InAppProductListing> o) {
+checkUnnamed2535(core.Map<core.String, api.InAppProductListing> o) {
unittest.expect(o, unittest.hasLength(2));
checkInAppProductListing(o["x"]);
checkInAppProductListing(o["y"]);
}
-buildUnnamed2515() {
+buildUnnamed2536() {
var o = new core.Map<core.String, api.Price>();
o["x"] = buildPrice();
o["y"] = buildPrice();
return o;
}
-checkUnnamed2515(core.Map<core.String, api.Price> o) {
+checkUnnamed2536(core.Map<core.String, api.Price> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrice(o["x"]);
checkPrice(o["y"]);
@@ -743,9 +745,9 @@
if (buildCounterInAppProduct < 3) {
o.defaultLanguage = "foo";
o.defaultPrice = buildPrice();
- o.listings = buildUnnamed2514();
+ o.listings = buildUnnamed2535();
o.packageName = "foo";
- o.prices = buildUnnamed2515();
+ o.prices = buildUnnamed2536();
o.purchaseType = "foo";
o.season = buildSeason();
o.sku = "foo";
@@ -762,9 +764,9 @@
if (buildCounterInAppProduct < 3) {
unittest.expect(o.defaultLanguage, unittest.equals('foo'));
checkPrice(o.defaultPrice);
- checkUnnamed2514(o.listings);
+ checkUnnamed2535(o.listings);
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed2515(o.prices);
+ checkUnnamed2536(o.prices);
unittest.expect(o.purchaseType, unittest.equals('foo'));
checkSeason(o.season);
unittest.expect(o.sku, unittest.equals('foo'));
@@ -796,14 +798,14 @@
buildCounterInAppProductListing--;
}
-buildUnnamed2516() {
+buildUnnamed2537() {
var o = new core.List<api.InappproductsBatchRequestEntry>();
o.add(buildInappproductsBatchRequestEntry());
o.add(buildInappproductsBatchRequestEntry());
return o;
}
-checkUnnamed2516(core.List<api.InappproductsBatchRequestEntry> o) {
+checkUnnamed2537(core.List<api.InappproductsBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkInappproductsBatchRequestEntry(o[0]);
checkInappproductsBatchRequestEntry(o[1]);
@@ -814,7 +816,7 @@
var o = new api.InappproductsBatchRequest();
buildCounterInappproductsBatchRequest++;
if (buildCounterInappproductsBatchRequest < 3) {
- o.entrys = buildUnnamed2516();
+ o.entrys = buildUnnamed2537();
}
buildCounterInappproductsBatchRequest--;
return o;
@@ -823,7 +825,7 @@
checkInappproductsBatchRequest(api.InappproductsBatchRequest o) {
buildCounterInappproductsBatchRequest++;
if (buildCounterInappproductsBatchRequest < 3) {
- checkUnnamed2516(o.entrys);
+ checkUnnamed2537(o.entrys);
}
buildCounterInappproductsBatchRequest--;
}
@@ -853,14 +855,14 @@
buildCounterInappproductsBatchRequestEntry--;
}
-buildUnnamed2517() {
+buildUnnamed2538() {
var o = new core.List<api.InappproductsBatchResponseEntry>();
o.add(buildInappproductsBatchResponseEntry());
o.add(buildInappproductsBatchResponseEntry());
return o;
}
-checkUnnamed2517(core.List<api.InappproductsBatchResponseEntry> o) {
+checkUnnamed2538(core.List<api.InappproductsBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkInappproductsBatchResponseEntry(o[0]);
checkInappproductsBatchResponseEntry(o[1]);
@@ -871,7 +873,7 @@
var o = new api.InappproductsBatchResponse();
buildCounterInappproductsBatchResponse++;
if (buildCounterInappproductsBatchResponse < 3) {
- o.entrys = buildUnnamed2517();
+ o.entrys = buildUnnamed2538();
o.kind = "foo";
}
buildCounterInappproductsBatchResponse--;
@@ -881,7 +883,7 @@
checkInappproductsBatchResponse(api.InappproductsBatchResponse o) {
buildCounterInappproductsBatchResponse++;
if (buildCounterInappproductsBatchResponse < 3) {
- checkUnnamed2517(o.entrys);
+ checkUnnamed2538(o.entrys);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterInappproductsBatchResponse--;
@@ -948,14 +950,14 @@
buildCounterInappproductsInsertResponse--;
}
-buildUnnamed2518() {
+buildUnnamed2539() {
var o = new core.List<api.InAppProduct>();
o.add(buildInAppProduct());
o.add(buildInAppProduct());
return o;
}
-checkUnnamed2518(core.List<api.InAppProduct> o) {
+checkUnnamed2539(core.List<api.InAppProduct> o) {
unittest.expect(o, unittest.hasLength(2));
checkInAppProduct(o[0]);
checkInAppProduct(o[1]);
@@ -966,7 +968,7 @@
var o = new api.InappproductsListResponse();
buildCounterInappproductsListResponse++;
if (buildCounterInappproductsListResponse < 3) {
- o.inappproduct = buildUnnamed2518();
+ o.inappproduct = buildUnnamed2539();
o.kind = "foo";
o.pageInfo = buildPageInfo();
o.tokenPagination = buildTokenPagination();
@@ -978,7 +980,7 @@
checkInappproductsListResponse(api.InappproductsListResponse o) {
buildCounterInappproductsListResponse++;
if (buildCounterInappproductsListResponse < 3) {
- checkUnnamed2518(o.inappproduct);
+ checkUnnamed2539(o.inappproduct);
unittest.expect(o.kind, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
checkTokenPagination(o.tokenPagination);
@@ -1051,14 +1053,14 @@
buildCounterListing--;
}
-buildUnnamed2519() {
+buildUnnamed2540() {
var o = new core.List<api.Listing>();
o.add(buildListing());
o.add(buildListing());
return o;
}
-checkUnnamed2519(core.List<api.Listing> o) {
+checkUnnamed2540(core.List<api.Listing> o) {
unittest.expect(o, unittest.hasLength(2));
checkListing(o[0]);
checkListing(o[1]);
@@ -1070,7 +1072,7 @@
buildCounterListingsListResponse++;
if (buildCounterListingsListResponse < 3) {
o.kind = "foo";
- o.listings = buildUnnamed2519();
+ o.listings = buildUnnamed2540();
}
buildCounterListingsListResponse--;
return o;
@@ -1080,7 +1082,7 @@
buildCounterListingsListResponse++;
if (buildCounterListingsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2519(o.listings);
+ checkUnnamed2540(o.listings);
}
buildCounterListingsListResponse--;
}
@@ -1158,6 +1160,7 @@
o.consumptionState = 42;
o.developerPayload = "foo";
o.kind = "foo";
+ o.orderId = "foo";
o.purchaseState = 42;
o.purchaseTimeMillis = "foo";
}
@@ -1171,6 +1174,7 @@
unittest.expect(o.consumptionState, unittest.equals(42));
unittest.expect(o.developerPayload, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.orderId, unittest.equals('foo'));
unittest.expect(o.purchaseState, unittest.equals(42));
unittest.expect(o.purchaseTimeMillis, unittest.equals('foo'));
}
@@ -1198,14 +1202,14 @@
buildCounterProrate--;
}
-buildUnnamed2520() {
+buildUnnamed2541() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed2520(core.List<api.Comment> o) {
+checkUnnamed2541(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1217,7 +1221,7 @@
buildCounterReview++;
if (buildCounterReview < 3) {
o.authorName = "foo";
- o.comments = buildUnnamed2520();
+ o.comments = buildUnnamed2541();
o.reviewId = "foo";
}
buildCounterReview--;
@@ -1228,7 +1232,7 @@
buildCounterReview++;
if (buildCounterReview < 3) {
unittest.expect(o.authorName, unittest.equals('foo'));
- checkUnnamed2520(o.comments);
+ checkUnnamed2541(o.comments);
unittest.expect(o.reviewId, unittest.equals('foo'));
}
buildCounterReview--;
@@ -1255,14 +1259,14 @@
buildCounterReviewReplyResult--;
}
-buildUnnamed2521() {
+buildUnnamed2542() {
var o = new core.List<api.Review>();
o.add(buildReview());
o.add(buildReview());
return o;
}
-checkUnnamed2521(core.List<api.Review> o) {
+checkUnnamed2542(core.List<api.Review> o) {
unittest.expect(o, unittest.hasLength(2));
checkReview(o[0]);
checkReview(o[1]);
@@ -1274,7 +1278,7 @@
buildCounterReviewsListResponse++;
if (buildCounterReviewsListResponse < 3) {
o.pageInfo = buildPageInfo();
- o.reviews = buildUnnamed2521();
+ o.reviews = buildUnnamed2542();
o.tokenPagination = buildTokenPagination();
}
buildCounterReviewsListResponse--;
@@ -1285,7 +1289,7 @@
buildCounterReviewsListResponse++;
if (buildCounterReviewsListResponse < 3) {
checkPageInfo(o.pageInfo);
- checkUnnamed2521(o.reviews);
+ checkUnnamed2542(o.reviews);
checkTokenPagination(o.tokenPagination);
}
buildCounterReviewsListResponse--;
@@ -1329,14 +1333,14 @@
buildCounterReviewsReplyResponse--;
}
-buildUnnamed2522() {
+buildUnnamed2543() {
var o = new core.List<api.Prorate>();
o.add(buildProrate());
o.add(buildProrate());
return o;
}
-checkUnnamed2522(core.List<api.Prorate> o) {
+checkUnnamed2543(core.List<api.Prorate> o) {
unittest.expect(o, unittest.hasLength(2));
checkProrate(o[0]);
checkProrate(o[1]);
@@ -1348,7 +1352,7 @@
buildCounterSeason++;
if (buildCounterSeason < 3) {
o.end = buildMonthDay();
- o.prorations = buildUnnamed2522();
+ o.prorations = buildUnnamed2543();
o.start = buildMonthDay();
}
buildCounterSeason--;
@@ -1359,7 +1363,7 @@
buildCounterSeason++;
if (buildCounterSeason < 3) {
checkMonthDay(o.end);
- checkUnnamed2522(o.prorations);
+ checkUnnamed2543(o.prorations);
checkMonthDay(o.start);
}
buildCounterSeason--;
@@ -1397,6 +1401,7 @@
o.developerPayload = "foo";
o.expiryTimeMillis = "foo";
o.kind = "foo";
+ o.orderId = "foo";
o.paymentState = 42;
o.priceAmountMicros = "foo";
o.priceCurrencyCode = "foo";
@@ -1416,6 +1421,7 @@
unittest.expect(o.developerPayload, unittest.equals('foo'));
unittest.expect(o.expiryTimeMillis, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.orderId, unittest.equals('foo'));
unittest.expect(o.paymentState, unittest.equals(42));
unittest.expect(o.priceAmountMicros, unittest.equals('foo'));
unittest.expect(o.priceCurrencyCode, unittest.equals('foo'));
@@ -1463,27 +1469,27 @@
buildCounterSubscriptionPurchasesDeferResponse--;
}
-buildUnnamed2523() {
+buildUnnamed2544() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2523(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'));
}
-buildUnnamed2524() {
+buildUnnamed2545() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2524(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'));
@@ -1494,8 +1500,8 @@
var o = new api.Testers();
buildCounterTesters++;
if (buildCounterTesters < 3) {
- o.googleGroups = buildUnnamed2523();
- o.googlePlusCommunities = buildUnnamed2524();
+ o.googleGroups = buildUnnamed2544();
+ o.googlePlusCommunities = buildUnnamed2545();
}
buildCounterTesters--;
return o;
@@ -1504,8 +1510,8 @@
checkTesters(api.Testers o) {
buildCounterTesters++;
if (buildCounterTesters < 3) {
- checkUnnamed2523(o.googleGroups);
- checkUnnamed2524(o.googlePlusCommunities);
+ checkUnnamed2544(o.googleGroups);
+ checkUnnamed2545(o.googlePlusCommunities);
}
buildCounterTesters--;
}
@@ -1552,14 +1558,14 @@
buildCounterTokenPagination--;
}
-buildUnnamed2525() {
+buildUnnamed2546() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2525(core.List<core.int> o) {
+checkUnnamed2546(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));
@@ -1572,7 +1578,7 @@
if (buildCounterTrack < 3) {
o.track = "foo";
o.userFraction = 42.0;
- o.versionCodes = buildUnnamed2525();
+ o.versionCodes = buildUnnamed2546();
}
buildCounterTrack--;
return o;
@@ -1583,19 +1589,19 @@
if (buildCounterTrack < 3) {
unittest.expect(o.track, unittest.equals('foo'));
unittest.expect(o.userFraction, unittest.equals(42.0));
- checkUnnamed2525(o.versionCodes);
+ checkUnnamed2546(o.versionCodes);
}
buildCounterTrack--;
}
-buildUnnamed2526() {
+buildUnnamed2547() {
var o = new core.List<api.Track>();
o.add(buildTrack());
o.add(buildTrack());
return o;
}
-checkUnnamed2526(core.List<api.Track> o) {
+checkUnnamed2547(core.List<api.Track> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrack(o[0]);
checkTrack(o[1]);
@@ -1607,7 +1613,7 @@
buildCounterTracksListResponse++;
if (buildCounterTracksListResponse < 3) {
o.kind = "foo";
- o.tracks = buildUnnamed2526();
+ o.tracks = buildUnnamed2547();
}
buildCounterTracksListResponse--;
return o;
@@ -1617,7 +1623,7 @@
buildCounterTracksListResponse++;
if (buildCounterTracksListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2526(o.tracks);
+ checkUnnamed2547(o.tracks);
}
buildCounterTracksListResponse--;
}
@@ -1688,14 +1694,14 @@
buildCounterVoidedPurchase--;
}
-buildUnnamed2527() {
+buildUnnamed2548() {
var o = new core.List<api.VoidedPurchase>();
o.add(buildVoidedPurchase());
o.add(buildVoidedPurchase());
return o;
}
-checkUnnamed2527(core.List<api.VoidedPurchase> o) {
+checkUnnamed2548(core.List<api.VoidedPurchase> o) {
unittest.expect(o, unittest.hasLength(2));
checkVoidedPurchase(o[0]);
checkVoidedPurchase(o[1]);
@@ -1708,7 +1714,7 @@
if (buildCounterVoidedPurchasesListResponse < 3) {
o.pageInfo = buildPageInfo();
o.tokenPagination = buildTokenPagination();
- o.voidedPurchases = buildUnnamed2527();
+ o.voidedPurchases = buildUnnamed2548();
}
buildCounterVoidedPurchasesListResponse--;
return o;
@@ -1719,7 +1725,7 @@
if (buildCounterVoidedPurchasesListResponse < 3) {
checkPageInfo(o.pageInfo);
checkTokenPagination(o.tokenPagination);
- checkUnnamed2527(o.voidedPurchases);
+ checkUnnamed2548(o.voidedPurchases);
}
buildCounterVoidedPurchasesListResponse--;
}
diff --git a/generated/googleapis/test/appengine/v1_test.dart b/generated/googleapis/test/appengine/v1_test.dart
index a5b5fe5..c3ed74a 100644
--- a/generated/googleapis/test/appengine/v1_test.dart
+++ b/generated/googleapis/test/appengine/v1_test.dart
@@ -97,14 +97,14 @@
buildCounterApiEndpointHandler--;
}
-buildUnnamed2660() {
+buildUnnamed2681() {
var o = new core.List<api.UrlDispatchRule>();
o.add(buildUrlDispatchRule());
o.add(buildUrlDispatchRule());
return o;
}
-checkUnnamed2660(core.List<api.UrlDispatchRule> o) {
+checkUnnamed2681(core.List<api.UrlDispatchRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlDispatchRule(o[0]);
checkUrlDispatchRule(o[1]);
@@ -120,7 +120,7 @@
o.defaultBucket = "foo";
o.defaultCookieExpiration = "foo";
o.defaultHostname = "foo";
- o.dispatchRules = buildUnnamed2660();
+ o.dispatchRules = buildUnnamed2681();
o.gcrDomain = "foo";
o.iap = buildIdentityAwareProxy();
o.id = "foo";
@@ -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'));
- checkUnnamed2660(o.dispatchRules);
+ checkUnnamed2681(o.dispatchRules);
unittest.expect(o.gcrDomain, unittest.equals('foo'));
checkIdentityAwareProxy(o.iap);
unittest.expect(o.id, unittest.equals('foo'));
@@ -272,14 +272,14 @@
buildCounterDebugInstanceRequest--;
}
-buildUnnamed2661() {
+buildUnnamed2682() {
var o = new core.Map<core.String, api.FileInfo>();
o["x"] = buildFileInfo();
o["y"] = buildFileInfo();
return o;
}
-checkUnnamed2661(core.Map<core.String, api.FileInfo> o) {
+checkUnnamed2682(core.Map<core.String, api.FileInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileInfo(o["x"]);
checkFileInfo(o["y"]);
@@ -291,7 +291,7 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
o.container = buildContainerInfo();
- o.files = buildUnnamed2661();
+ o.files = buildUnnamed2682();
o.zip = buildZipInfo();
}
buildCounterDeployment--;
@@ -302,7 +302,7 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
checkContainerInfo(o.container);
- checkUnnamed2661(o.files);
+ checkUnnamed2682(o.files);
checkZipInfo(o.zip);
}
buildCounterDeployment--;
@@ -526,14 +526,14 @@
buildCounterLibrary--;
}
-buildUnnamed2662() {
+buildUnnamed2683() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed2662(core.List<api.Instance> o) {
+checkUnnamed2683(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -544,7 +544,7 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed2662();
+ o.instances = buildUnnamed2683();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -554,20 +554,20 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed2662(o.instances);
+ checkUnnamed2683(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed2663() {
+buildUnnamed2684() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed2663(core.List<api.Location> o) {
+checkUnnamed2684(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -578,7 +578,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed2663();
+ o.locations = buildUnnamed2684();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -588,20 +588,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed2663(o.locations);
+ checkUnnamed2684(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed2664() {
+buildUnnamed2685() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2664(core.List<api.Operation> o) {
+checkUnnamed2685(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -613,7 +613,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2664();
+ o.operations = buildUnnamed2685();
}
buildCounterListOperationsResponse--;
return o;
@@ -623,19 +623,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2664(o.operations);
+ checkUnnamed2685(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed2665() {
+buildUnnamed2686() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed2665(core.List<api.Service> o) {
+checkUnnamed2686(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -647,7 +647,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed2665();
+ o.services = buildUnnamed2686();
}
buildCounterListServicesResponse--;
return o;
@@ -657,19 +657,19 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2665(o.services);
+ checkUnnamed2686(o.services);
}
buildCounterListServicesResponse--;
}
-buildUnnamed2666() {
+buildUnnamed2687() {
var o = new core.List<api.Version>();
o.add(buildVersion());
o.add(buildVersion());
return o;
}
-checkUnnamed2666(core.List<api.Version> o) {
+checkUnnamed2687(core.List<api.Version> o) {
unittest.expect(o, unittest.hasLength(2));
checkVersion(o[0]);
checkVersion(o[1]);
@@ -681,7 +681,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
o.nextPageToken = "foo";
- o.versions = buildUnnamed2666();
+ o.versions = buildUnnamed2687();
}
buildCounterListVersionsResponse--;
return o;
@@ -691,7 +691,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2666(o.versions);
+ checkUnnamed2687(o.versions);
}
buildCounterListVersionsResponse--;
}
@@ -727,27 +727,27 @@
buildCounterLivenessCheck--;
}
-buildUnnamed2667() {
+buildUnnamed2688() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2667(core.Map<core.String, core.String> o) {
+checkUnnamed2688(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2668() {
+buildUnnamed2689() {
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;
}
-checkUnnamed2668(core.Map<core.String, core.Object> o) {
+checkUnnamed2689(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'));
@@ -758,9 +758,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed2667();
+ o.labels = buildUnnamed2688();
o.locationId = "foo";
- o.metadata = buildUnnamed2668();
+ o.metadata = buildUnnamed2689();
o.name = "foo";
}
buildCounterLocation--;
@@ -770,9 +770,9 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed2667(o.labels);
+ checkUnnamed2688(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed2668(o.metadata);
+ checkUnnamed2689(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -818,14 +818,14 @@
buildCounterManualScaling--;
}
-buildUnnamed2669() {
+buildUnnamed2690() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2669(core.List<core.String> o) {
+checkUnnamed2690(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -836,7 +836,7 @@
var o = new api.Network();
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- o.forwardedPorts = buildUnnamed2669();
+ o.forwardedPorts = buildUnnamed2690();
o.instanceTag = "foo";
o.name = "foo";
o.subnetworkName = "foo";
@@ -848,7 +848,7 @@
checkNetwork(api.Network o) {
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- checkUnnamed2669(o.forwardedPorts);
+ checkUnnamed2690(o.forwardedPorts);
unittest.expect(o.instanceTag, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.subnetworkName, unittest.equals('foo'));
@@ -881,27 +881,27 @@
buildCounterNetworkUtilization--;
}
-buildUnnamed2670() {
+buildUnnamed2691() {
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;
}
-checkUnnamed2670(core.Map<core.String, core.Object> o) {
+checkUnnamed2691(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'));
}
-buildUnnamed2671() {
+buildUnnamed2692() {
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;
}
-checkUnnamed2671(core.Map<core.String, core.Object> o) {
+checkUnnamed2692(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'));
@@ -914,9 +914,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2670();
+ o.metadata = buildUnnamed2691();
o.name = "foo";
- o.response = buildUnnamed2671();
+ o.response = buildUnnamed2692();
}
buildCounterOperation--;
return o;
@@ -927,9 +927,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2670(o.metadata);
+ checkUnnamed2691(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2671(o.response);
+ checkUnnamed2692(o.response);
}
buildCounterOperation--;
}
@@ -990,14 +990,14 @@
buildCounterOperationMetadataExperimental--;
}
-buildUnnamed2672() {
+buildUnnamed2693() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2672(core.List<core.String> o) {
+checkUnnamed2693(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1014,7 +1014,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed2672();
+ o.warning = buildUnnamed2693();
}
buildCounterOperationMetadataV1--;
return o;
@@ -1029,19 +1029,19 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed2672(o.warning);
+ checkUnnamed2693(o.warning);
}
buildCounterOperationMetadataV1--;
}
-buildUnnamed2673() {
+buildUnnamed2694() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2673(core.List<core.String> o) {
+checkUnnamed2694(core.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,7 +1058,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed2673();
+ o.warning = buildUnnamed2694();
}
buildCounterOperationMetadataV1Alpha--;
return o;
@@ -1073,19 +1073,19 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed2673(o.warning);
+ checkUnnamed2694(o.warning);
}
buildCounterOperationMetadataV1Alpha--;
}
-buildUnnamed2674() {
+buildUnnamed2695() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2674(core.List<core.String> o) {
+checkUnnamed2695(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1102,7 +1102,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed2674();
+ o.warning = buildUnnamed2695();
}
buildCounterOperationMetadataV1Beta--;
return o;
@@ -1117,7 +1117,7 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed2674(o.warning);
+ checkUnnamed2695(o.warning);
}
buildCounterOperationMetadataV1Beta--;
}
@@ -1218,14 +1218,14 @@
buildCounterRequestUtilization--;
}
-buildUnnamed2675() {
+buildUnnamed2696() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed2675(core.List<api.Volume> o) {
+checkUnnamed2696(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1239,7 +1239,7 @@
o.cpu = 42.0;
o.diskGb = 42.0;
o.memoryGb = 42.0;
- o.volumes = buildUnnamed2675();
+ o.volumes = buildUnnamed2696();
}
buildCounterResources--;
return o;
@@ -1251,7 +1251,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));
- checkUnnamed2675(o.volumes);
+ checkUnnamed2696(o.volumes);
}
buildCounterResources--;
}
@@ -1298,14 +1298,14 @@
buildCounterService--;
}
-buildUnnamed2676() {
+buildUnnamed2697() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2676(core.Map<core.String, core.String> o) {
+checkUnnamed2697(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1318,7 +1318,7 @@
if (buildCounterStaticFilesHandler < 3) {
o.applicationReadable = true;
o.expiration = "foo";
- o.httpHeaders = buildUnnamed2676();
+ o.httpHeaders = buildUnnamed2697();
o.mimeType = "foo";
o.path = "foo";
o.requireMatchingFile = true;
@@ -1333,7 +1333,7 @@
if (buildCounterStaticFilesHandler < 3) {
unittest.expect(o.applicationReadable, unittest.isTrue);
unittest.expect(o.expiration, unittest.equals('foo'));
- checkUnnamed2676(o.httpHeaders);
+ checkUnnamed2697(o.httpHeaders);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.requireMatchingFile, unittest.isTrue);
@@ -1342,30 +1342,30 @@
buildCounterStaticFilesHandler--;
}
-buildUnnamed2677() {
+buildUnnamed2698() {
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;
}
-checkUnnamed2677(core.Map<core.String, core.Object> o) {
+checkUnnamed2698(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'));
}
-buildUnnamed2678() {
+buildUnnamed2699() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2677());
- o.add(buildUnnamed2677());
+ o.add(buildUnnamed2698());
+ o.add(buildUnnamed2698());
return o;
}
-checkUnnamed2678(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2699(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2677(o[0]);
- checkUnnamed2677(o[1]);
+ checkUnnamed2698(o[0]);
+ checkUnnamed2698(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1374,7 +1374,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2678();
+ o.details = buildUnnamed2699();
o.message = "foo";
}
buildCounterStatus--;
@@ -1385,20 +1385,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2678(o.details);
+ checkUnnamed2699(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed2679() {
+buildUnnamed2700() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed2679(core.Map<core.String, core.double> o) {
+checkUnnamed2700(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));
@@ -1409,7 +1409,7 @@
var o = new api.TrafficSplit();
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- o.allocations = buildUnnamed2679();
+ o.allocations = buildUnnamed2700();
o.shardBy = "foo";
}
buildCounterTrafficSplit--;
@@ -1419,7 +1419,7 @@
checkTrafficSplit(api.TrafficSplit o) {
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- checkUnnamed2679(o.allocations);
+ checkUnnamed2700(o.allocations);
unittest.expect(o.shardBy, unittest.equals('foo'));
}
buildCounterTrafficSplit--;
@@ -1481,79 +1481,79 @@
buildCounterUrlMap--;
}
-buildUnnamed2680() {
+buildUnnamed2701() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2680(core.Map<core.String, core.String> o) {
+checkUnnamed2701(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2681() {
+buildUnnamed2702() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2681(core.Map<core.String, core.String> o) {
+checkUnnamed2702(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2682() {
+buildUnnamed2703() {
var o = new core.List<api.ErrorHandler>();
o.add(buildErrorHandler());
o.add(buildErrorHandler());
return o;
}
-checkUnnamed2682(core.List<api.ErrorHandler> o) {
+checkUnnamed2703(core.List<api.ErrorHandler> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorHandler(o[0]);
checkErrorHandler(o[1]);
}
-buildUnnamed2683() {
+buildUnnamed2704() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed2683(core.List<api.UrlMap> o) {
+checkUnnamed2704(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
}
-buildUnnamed2684() {
+buildUnnamed2705() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2684(core.List<core.String> o) {
+checkUnnamed2705(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2685() {
+buildUnnamed2706() {
var o = new core.List<api.Library>();
o.add(buildLibrary());
o.add(buildLibrary());
return o;
}
-checkUnnamed2685(core.List<api.Library> o) {
+checkUnnamed2706(core.List<api.Library> o) {
unittest.expect(o, unittest.hasLength(2));
checkLibrary(o[0]);
checkLibrary(o[1]);
@@ -1567,7 +1567,7 @@
o.apiConfig = buildApiConfigHandler();
o.automaticScaling = buildAutomaticScaling();
o.basicScaling = buildBasicScaling();
- o.betaSettings = buildUnnamed2680();
+ o.betaSettings = buildUnnamed2701();
o.createTime = "foo";
o.createdBy = "foo";
o.defaultExpiration = "foo";
@@ -1575,14 +1575,14 @@
o.diskUsageBytes = "foo";
o.endpointsApiService = buildEndpointsApiService();
o.env = "foo";
- o.envVariables = buildUnnamed2681();
- o.errorHandlers = buildUnnamed2682();
- o.handlers = buildUnnamed2683();
+ o.envVariables = buildUnnamed2702();
+ o.errorHandlers = buildUnnamed2703();
+ o.handlers = buildUnnamed2704();
o.healthCheck = buildHealthCheck();
o.id = "foo";
- o.inboundServices = buildUnnamed2684();
+ o.inboundServices = buildUnnamed2705();
o.instanceClass = "foo";
- o.libraries = buildUnnamed2685();
+ o.libraries = buildUnnamed2706();
o.livenessCheck = buildLivenessCheck();
o.manualScaling = buildManualScaling();
o.name = "foo";
@@ -1607,7 +1607,7 @@
checkApiConfigHandler(o.apiConfig);
checkAutomaticScaling(o.automaticScaling);
checkBasicScaling(o.basicScaling);
- checkUnnamed2680(o.betaSettings);
+ checkUnnamed2701(o.betaSettings);
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.createdBy, unittest.equals('foo'));
unittest.expect(o.defaultExpiration, unittest.equals('foo'));
@@ -1615,14 +1615,14 @@
unittest.expect(o.diskUsageBytes, unittest.equals('foo'));
checkEndpointsApiService(o.endpointsApiService);
unittest.expect(o.env, unittest.equals('foo'));
- checkUnnamed2681(o.envVariables);
- checkUnnamed2682(o.errorHandlers);
- checkUnnamed2683(o.handlers);
+ checkUnnamed2702(o.envVariables);
+ checkUnnamed2703(o.errorHandlers);
+ checkUnnamed2704(o.handlers);
checkHealthCheck(o.healthCheck);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2684(o.inboundServices);
+ checkUnnamed2705(o.inboundServices);
unittest.expect(o.instanceClass, unittest.equals('foo'));
- checkUnnamed2685(o.libraries);
+ checkUnnamed2706(o.libraries);
checkLivenessCheck(o.livenessCheck);
checkManualScaling(o.manualScaling);
unittest.expect(o.name, unittest.equals('foo'));
@@ -2394,9 +2394,9 @@
var mock = new HttpServerMock();
api.AppsLocationsResourceApi res = new api.AppengineApi(mock).apps.locations;
var arg_appsId = "foo";
+ var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
- var arg_pageSize = 42;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2430,9 +2430,9 @@
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["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));
var h = {
@@ -2441,7 +2441,7 @@
var resp = convert.JSON.encode(buildListLocationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListLocationsResponse response) {
+ res.list(arg_appsId, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListLocationsResponse response) {
checkListLocationsResponse(response);
})));
});
@@ -2510,9 +2510,9 @@
var mock = new HttpServerMock();
api.AppsOperationsResourceApi res = new api.AppengineApi(mock).apps.operations;
var arg_appsId = "foo";
+ var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_filter = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2546,9 +2546,9 @@
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["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -2557,7 +2557,7 @@
var resp = convert.JSON.encode(buildListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
+ res.list(arg_appsId, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
@@ -2738,8 +2738,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";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Service.fromJson(json);
checkService(obj);
@@ -2779,8 +2779,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), 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));
var h = {
@@ -2789,7 +2789,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_appsId, arg_servicesId, updateMask: arg_updateMask, migrateTraffic: arg_migrateTraffic).then(unittest.expectAsync1(((api.Operation response) {
+ res.patch(arg_request, arg_appsId, arg_servicesId, migrateTraffic: arg_migrateTraffic, updateMask: arg_updateMask).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -3355,8 +3355,8 @@
var arg_appsId = "foo";
var arg_servicesId = "foo";
var arg_versionsId = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3404,8 +3404,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -3414,7 +3414,7 @@
var resp = convert.JSON.encode(buildListInstancesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, arg_servicesId, arg_versionsId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListInstancesResponse response) {
+ res.list(arg_appsId, arg_servicesId, arg_versionsId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListInstancesResponse response) {
checkListInstancesResponse(response);
})));
});
diff --git a/generated/googleapis/test/appsactivity/v1_test.dart b/generated/googleapis/test/appsactivity/v1_test.dart
index 3cb6591..33d8a16 100644
--- a/generated/googleapis/test/appsactivity/v1_test.dart
+++ b/generated/googleapis/test/appsactivity/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1079() {
+buildUnnamed1096() {
var o = new core.List<api.Event>();
o.add(buildEvent());
o.add(buildEvent());
return o;
}
-checkUnnamed1079(core.List<api.Event> o) {
+checkUnnamed1096(core.List<api.Event> o) {
unittest.expect(o, unittest.hasLength(2));
checkEvent(o[0]);
checkEvent(o[1]);
@@ -70,7 +70,7 @@
buildCounterActivity++;
if (buildCounterActivity < 3) {
o.combinedEvent = buildEvent();
- o.singleEvents = buildUnnamed1079();
+ o.singleEvents = buildUnnamed1096();
}
buildCounterActivity--;
return o;
@@ -80,32 +80,32 @@
buildCounterActivity++;
if (buildCounterActivity < 3) {
checkEvent(o.combinedEvent);
- checkUnnamed1079(o.singleEvents);
+ checkUnnamed1096(o.singleEvents);
}
buildCounterActivity--;
}
-buildUnnamed1080() {
+buildUnnamed1097() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1080(core.List<core.String> o) {
+checkUnnamed1097(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1081() {
+buildUnnamed1098() {
var o = new core.List<api.PermissionChange>();
o.add(buildPermissionChange());
o.add(buildPermissionChange());
return o;
}
-checkUnnamed1081(core.List<api.PermissionChange> o) {
+checkUnnamed1098(core.List<api.PermissionChange> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionChange(o[0]);
checkPermissionChange(o[1]);
@@ -116,11 +116,11 @@
var o = new api.Event();
buildCounterEvent++;
if (buildCounterEvent < 3) {
- o.additionalEventTypes = buildUnnamed1080();
+ o.additionalEventTypes = buildUnnamed1097();
o.eventTimeMillis = "foo";
o.fromUserDeletion = true;
o.move = buildMove();
- o.permissionChanges = buildUnnamed1081();
+ o.permissionChanges = buildUnnamed1098();
o.primaryEventType = "foo";
o.rename = buildRename();
o.target = buildTarget();
@@ -133,11 +133,11 @@
checkEvent(api.Event o) {
buildCounterEvent++;
if (buildCounterEvent < 3) {
- checkUnnamed1080(o.additionalEventTypes);
+ checkUnnamed1097(o.additionalEventTypes);
unittest.expect(o.eventTimeMillis, unittest.equals('foo'));
unittest.expect(o.fromUserDeletion, unittest.isTrue);
checkMove(o.move);
- checkUnnamed1081(o.permissionChanges);
+ checkUnnamed1098(o.permissionChanges);
unittest.expect(o.primaryEventType, unittest.equals('foo'));
checkRename(o.rename);
checkTarget(o.target);
@@ -146,14 +146,14 @@
buildCounterEvent--;
}
-buildUnnamed1082() {
+buildUnnamed1099() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed1082(core.List<api.Activity> o) {
+checkUnnamed1099(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -164,7 +164,7 @@
var o = new api.ListActivitiesResponse();
buildCounterListActivitiesResponse++;
if (buildCounterListActivitiesResponse < 3) {
- o.activities = buildUnnamed1082();
+ o.activities = buildUnnamed1099();
o.nextPageToken = "foo";
}
buildCounterListActivitiesResponse--;
@@ -174,33 +174,33 @@
checkListActivitiesResponse(api.ListActivitiesResponse o) {
buildCounterListActivitiesResponse++;
if (buildCounterListActivitiesResponse < 3) {
- checkUnnamed1082(o.activities);
+ checkUnnamed1099(o.activities);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListActivitiesResponse--;
}
-buildUnnamed1083() {
+buildUnnamed1100() {
var o = new core.List<api.Parent>();
o.add(buildParent());
o.add(buildParent());
return o;
}
-checkUnnamed1083(core.List<api.Parent> o) {
+checkUnnamed1100(core.List<api.Parent> o) {
unittest.expect(o, unittest.hasLength(2));
checkParent(o[0]);
checkParent(o[1]);
}
-buildUnnamed1084() {
+buildUnnamed1101() {
var o = new core.List<api.Parent>();
o.add(buildParent());
o.add(buildParent());
return o;
}
-checkUnnamed1084(core.List<api.Parent> o) {
+checkUnnamed1101(core.List<api.Parent> o) {
unittest.expect(o, unittest.hasLength(2));
checkParent(o[0]);
checkParent(o[1]);
@@ -211,8 +211,8 @@
var o = new api.Move();
buildCounterMove++;
if (buildCounterMove < 3) {
- o.addedParents = buildUnnamed1083();
- o.removedParents = buildUnnamed1084();
+ o.addedParents = buildUnnamed1100();
+ o.removedParents = buildUnnamed1101();
}
buildCounterMove--;
return o;
@@ -221,8 +221,8 @@
checkMove(api.Move o) {
buildCounterMove++;
if (buildCounterMove < 3) {
- checkUnnamed1083(o.addedParents);
- checkUnnamed1084(o.removedParents);
+ checkUnnamed1100(o.addedParents);
+ checkUnnamed1101(o.removedParents);
}
buildCounterMove--;
}
@@ -279,27 +279,27 @@
buildCounterPermission--;
}
-buildUnnamed1085() {
+buildUnnamed1102() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1085(core.List<api.Permission> o) {
+checkUnnamed1102(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
}
-buildUnnamed1086() {
+buildUnnamed1103() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1086(core.List<api.Permission> o) {
+checkUnnamed1103(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -310,8 +310,8 @@
var o = new api.PermissionChange();
buildCounterPermissionChange++;
if (buildCounterPermissionChange < 3) {
- o.addedPermissions = buildUnnamed1085();
- o.removedPermissions = buildUnnamed1086();
+ o.addedPermissions = buildUnnamed1102();
+ o.removedPermissions = buildUnnamed1103();
}
buildCounterPermissionChange--;
return o;
@@ -320,8 +320,8 @@
checkPermissionChange(api.PermissionChange o) {
buildCounterPermissionChange++;
if (buildCounterPermissionChange < 3) {
- checkUnnamed1085(o.addedPermissions);
- checkUnnamed1086(o.removedPermissions);
+ checkUnnamed1102(o.addedPermissions);
+ checkUnnamed1103(o.removedPermissions);
}
buildCounterPermissionChange--;
}
diff --git a/generated/googleapis/test/appstate/v1_test.dart b/generated/googleapis/test/appstate/v1_test.dart
index 75ce478..a2b4172 100644
--- a/generated/googleapis/test/appstate/v1_test.dart
+++ b/generated/googleapis/test/appstate/v1_test.dart
@@ -76,14 +76,14 @@
buildCounterGetResponse--;
}
-buildUnnamed2494() {
+buildUnnamed2515() {
var o = new core.List<api.GetResponse>();
o.add(buildGetResponse());
o.add(buildGetResponse());
return o;
}
-checkUnnamed2494(core.List<api.GetResponse> o) {
+checkUnnamed2515(core.List<api.GetResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkGetResponse(o[0]);
checkGetResponse(o[1]);
@@ -94,7 +94,7 @@
var o = new api.ListResponse();
buildCounterListResponse++;
if (buildCounterListResponse < 3) {
- o.items = buildUnnamed2494();
+ o.items = buildUnnamed2515();
o.kind = "foo";
o.maximumKeyCount = 42;
}
@@ -105,7 +105,7 @@
checkListResponse(api.ListResponse o) {
buildCounterListResponse++;
if (buildCounterListResponse < 3) {
- checkUnnamed2494(o.items);
+ checkUnnamed2515(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.maximumKeyCount, unittest.equals(42));
}
diff --git a/generated/googleapis/test/cloudbilling/v1_test.dart b/generated/googleapis/test/cloudbilling/v1_test.dart
index 25d6083..527c34e 100644
--- a/generated/googleapis/test/cloudbilling/v1_test.dart
+++ b/generated/googleapis/test/cloudbilling/v1_test.dart
@@ -51,6 +51,29 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
+core.int buildCounterAggregationInfo = 0;
+buildAggregationInfo() {
+ var o = new api.AggregationInfo();
+ buildCounterAggregationInfo++;
+ if (buildCounterAggregationInfo < 3) {
+ o.aggregationCount = 42;
+ o.aggregationInterval = "foo";
+ o.aggregationLevel = "foo";
+ }
+ buildCounterAggregationInfo--;
+ return o;
+}
+
+checkAggregationInfo(api.AggregationInfo o) {
+ buildCounterAggregationInfo++;
+ if (buildCounterAggregationInfo < 3) {
+ unittest.expect(o.aggregationCount, unittest.equals(42));
+ unittest.expect(o.aggregationInterval, unittest.equals('foo'));
+ unittest.expect(o.aggregationLevel, unittest.equals('foo'));
+ }
+ buildCounterAggregationInfo--;
+}
+
core.int buildCounterBillingAccount = 0;
buildBillingAccount() {
var o = new api.BillingAccount();
@@ -74,6 +97,31 @@
buildCounterBillingAccount--;
}
+core.int buildCounterCategory = 0;
+buildCategory() {
+ var o = new api.Category();
+ buildCounterCategory++;
+ if (buildCounterCategory < 3) {
+ o.resourceFamily = "foo";
+ o.resourceGroup = "foo";
+ o.serviceDisplayName = "foo";
+ o.usageType = "foo";
+ }
+ buildCounterCategory--;
+ return o;
+}
+
+checkCategory(api.Category o) {
+ buildCounterCategory++;
+ if (buildCounterCategory < 3) {
+ unittest.expect(o.resourceFamily, unittest.equals('foo'));
+ unittest.expect(o.resourceGroup, unittest.equals('foo'));
+ unittest.expect(o.serviceDisplayName, unittest.equals('foo'));
+ unittest.expect(o.usageType, unittest.equals('foo'));
+ }
+ buildCounterCategory--;
+}
+
buildUnnamed68() {
var o = new core.List<api.BillingAccount>();
o.add(buildBillingAccount());
@@ -142,6 +190,168 @@
buildCounterListProjectBillingInfoResponse--;
}
+buildUnnamed70() {
+ var o = new core.List<api.Service>();
+ o.add(buildService());
+ o.add(buildService());
+ return o;
+}
+
+checkUnnamed70(core.List<api.Service> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkService(o[0]);
+ checkService(o[1]);
+}
+
+core.int buildCounterListServicesResponse = 0;
+buildListServicesResponse() {
+ var o = new api.ListServicesResponse();
+ buildCounterListServicesResponse++;
+ if (buildCounterListServicesResponse < 3) {
+ o.nextPageToken = "foo";
+ o.services = buildUnnamed70();
+ }
+ buildCounterListServicesResponse--;
+ return o;
+}
+
+checkListServicesResponse(api.ListServicesResponse o) {
+ buildCounterListServicesResponse++;
+ if (buildCounterListServicesResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed70(o.services);
+ }
+ buildCounterListServicesResponse--;
+}
+
+buildUnnamed71() {
+ var o = new core.List<api.Sku>();
+ o.add(buildSku());
+ o.add(buildSku());
+ return o;
+}
+
+checkUnnamed71(core.List<api.Sku> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSku(o[0]);
+ checkSku(o[1]);
+}
+
+core.int buildCounterListSkusResponse = 0;
+buildListSkusResponse() {
+ var o = new api.ListSkusResponse();
+ buildCounterListSkusResponse++;
+ if (buildCounterListSkusResponse < 3) {
+ o.nextPageToken = "foo";
+ o.skus = buildUnnamed71();
+ }
+ buildCounterListSkusResponse--;
+ return o;
+}
+
+checkListSkusResponse(api.ListSkusResponse o) {
+ buildCounterListSkusResponse++;
+ if (buildCounterListSkusResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed71(o.skus);
+ }
+ buildCounterListSkusResponse--;
+}
+
+core.int buildCounterMoney = 0;
+buildMoney() {
+ var o = new api.Money();
+ buildCounterMoney++;
+ if (buildCounterMoney < 3) {
+ o.currencyCode = "foo";
+ o.nanos = 42;
+ o.units = "foo";
+ }
+ buildCounterMoney--;
+ return o;
+}
+
+checkMoney(api.Money o) {
+ buildCounterMoney++;
+ if (buildCounterMoney < 3) {
+ unittest.expect(o.currencyCode, unittest.equals('foo'));
+ unittest.expect(o.nanos, unittest.equals(42));
+ unittest.expect(o.units, unittest.equals('foo'));
+ }
+ buildCounterMoney--;
+}
+
+buildUnnamed72() {
+ var o = new core.List<api.TierRate>();
+ o.add(buildTierRate());
+ o.add(buildTierRate());
+ return o;
+}
+
+checkUnnamed72(core.List<api.TierRate> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkTierRate(o[0]);
+ checkTierRate(o[1]);
+}
+
+core.int buildCounterPricingExpression = 0;
+buildPricingExpression() {
+ var o = new api.PricingExpression();
+ buildCounterPricingExpression++;
+ if (buildCounterPricingExpression < 3) {
+ o.baseUnit = "foo";
+ o.baseUnitConversionFactor = 42.0;
+ o.baseUnitDescription = "foo";
+ o.displayQuantity = 42.0;
+ o.tieredRates = buildUnnamed72();
+ o.usageUnit = "foo";
+ o.usageUnitDescription = "foo";
+ }
+ buildCounterPricingExpression--;
+ return o;
+}
+
+checkPricingExpression(api.PricingExpression o) {
+ buildCounterPricingExpression++;
+ if (buildCounterPricingExpression < 3) {
+ unittest.expect(o.baseUnit, unittest.equals('foo'));
+ unittest.expect(o.baseUnitConversionFactor, unittest.equals(42.0));
+ unittest.expect(o.baseUnitDescription, unittest.equals('foo'));
+ unittest.expect(o.displayQuantity, unittest.equals(42.0));
+ checkUnnamed72(o.tieredRates);
+ unittest.expect(o.usageUnit, unittest.equals('foo'));
+ unittest.expect(o.usageUnitDescription, unittest.equals('foo'));
+ }
+ buildCounterPricingExpression--;
+}
+
+core.int buildCounterPricingInfo = 0;
+buildPricingInfo() {
+ var o = new api.PricingInfo();
+ buildCounterPricingInfo++;
+ if (buildCounterPricingInfo < 3) {
+ o.aggregationInfo = buildAggregationInfo();
+ o.currencyConversionRate = 42.0;
+ o.effectiveTime = "foo";
+ o.pricingExpression = buildPricingExpression();
+ o.summary = "foo";
+ }
+ buildCounterPricingInfo--;
+ return o;
+}
+
+checkPricingInfo(api.PricingInfo o) {
+ buildCounterPricingInfo++;
+ if (buildCounterPricingInfo < 3) {
+ checkAggregationInfo(o.aggregationInfo);
+ unittest.expect(o.currencyConversionRate, unittest.equals(42.0));
+ unittest.expect(o.effectiveTime, unittest.equals('foo'));
+ checkPricingExpression(o.pricingExpression);
+ unittest.expect(o.summary, unittest.equals('foo'));
+ }
+ buildCounterPricingInfo--;
+}
+
core.int buildCounterProjectBillingInfo = 0;
buildProjectBillingInfo() {
var o = new api.ProjectBillingInfo();
@@ -167,8 +377,118 @@
buildCounterProjectBillingInfo--;
}
+core.int buildCounterService = 0;
+buildService() {
+ var o = new api.Service();
+ buildCounterService++;
+ if (buildCounterService < 3) {
+ o.displayName = "foo";
+ o.name = "foo";
+ o.serviceId = "foo";
+ }
+ buildCounterService--;
+ return o;
+}
+
+checkService(api.Service o) {
+ buildCounterService++;
+ if (buildCounterService < 3) {
+ unittest.expect(o.displayName, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.serviceId, unittest.equals('foo'));
+ }
+ buildCounterService--;
+}
+
+buildUnnamed73() {
+ var o = new core.List<api.PricingInfo>();
+ o.add(buildPricingInfo());
+ o.add(buildPricingInfo());
+ return o;
+}
+
+checkUnnamed73(core.List<api.PricingInfo> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPricingInfo(o[0]);
+ checkPricingInfo(o[1]);
+}
+
+buildUnnamed74() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed74(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterSku = 0;
+buildSku() {
+ var o = new api.Sku();
+ buildCounterSku++;
+ if (buildCounterSku < 3) {
+ o.category = buildCategory();
+ o.description = "foo";
+ o.name = "foo";
+ o.pricingInfo = buildUnnamed73();
+ o.serviceProviderName = "foo";
+ o.serviceRegions = buildUnnamed74();
+ o.skuId = "foo";
+ }
+ buildCounterSku--;
+ return o;
+}
+
+checkSku(api.Sku o) {
+ buildCounterSku++;
+ if (buildCounterSku < 3) {
+ checkCategory(o.category);
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed73(o.pricingInfo);
+ unittest.expect(o.serviceProviderName, unittest.equals('foo'));
+ checkUnnamed74(o.serviceRegions);
+ unittest.expect(o.skuId, unittest.equals('foo'));
+ }
+ buildCounterSku--;
+}
+
+core.int buildCounterTierRate = 0;
+buildTierRate() {
+ var o = new api.TierRate();
+ buildCounterTierRate++;
+ if (buildCounterTierRate < 3) {
+ o.startUsageAmount = 42.0;
+ o.unitPrice = buildMoney();
+ }
+ buildCounterTierRate--;
+ return o;
+}
+
+checkTierRate(api.TierRate o) {
+ buildCounterTierRate++;
+ if (buildCounterTierRate < 3) {
+ unittest.expect(o.startUsageAmount, unittest.equals(42.0));
+ checkMoney(o.unitPrice);
+ }
+ buildCounterTierRate--;
+}
+
main() {
+ unittest.group("obj-schema-AggregationInfo", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAggregationInfo();
+ var od = new api.AggregationInfo.fromJson(o.toJson());
+ checkAggregationInfo(od);
+ });
+ });
+
+
unittest.group("obj-schema-BillingAccount", () {
unittest.test("to-json--from-json", () {
var o = buildBillingAccount();
@@ -178,6 +498,15 @@
});
+ unittest.group("obj-schema-Category", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCategory();
+ var od = new api.Category.fromJson(o.toJson());
+ checkCategory(od);
+ });
+ });
+
+
unittest.group("obj-schema-ListBillingAccountsResponse", () {
unittest.test("to-json--from-json", () {
var o = buildListBillingAccountsResponse();
@@ -196,6 +525,51 @@
});
+ unittest.group("obj-schema-ListServicesResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListServicesResponse();
+ var od = new api.ListServicesResponse.fromJson(o.toJson());
+ checkListServicesResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ListSkusResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListSkusResponse();
+ var od = new api.ListSkusResponse.fromJson(o.toJson());
+ checkListSkusResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-Money", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMoney();
+ var od = new api.Money.fromJson(o.toJson());
+ checkMoney(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-PricingExpression", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPricingExpression();
+ var od = new api.PricingExpression.fromJson(o.toJson());
+ checkPricingExpression(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-PricingInfo", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPricingInfo();
+ var od = new api.PricingInfo.fromJson(o.toJson());
+ checkPricingInfo(od);
+ });
+ });
+
+
unittest.group("obj-schema-ProjectBillingInfo", () {
unittest.test("to-json--from-json", () {
var o = buildProjectBillingInfo();
@@ -205,6 +579,33 @@
});
+ 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-Sku", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSku();
+ var od = new api.Sku.fromJson(o.toJson());
+ checkSku(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-TierRate", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTierRate();
+ var od = new api.TierRate.fromJson(o.toJson());
+ checkTierRate(od);
+ });
+ });
+
+
unittest.group("resource-BillingAccountsResourceApi", () {
unittest.test("method--get", () {
@@ -452,5 +853,115 @@
});
+ unittest.group("resource-ServicesResourceApi", () {
+ unittest.test("method--list", () {
+
+ var mock = new HttpServerMock();
+ api.ServicesResourceApi res = new api.CloudbillingApi(mock).services;
+ var arg_pageSize = 42;
+ var arg_pageToken = "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 + 11), unittest.equals("v1/services"));
+ pathOffset += 11;
+
+ 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["pageToken"].first, unittest.equals(arg_pageToken));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListServicesResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListServicesResponse response) {
+ checkListServicesResponse(response);
+ })));
+ });
+
+ });
+
+
+ unittest.group("resource-ServicesSkusResourceApi", () {
+ unittest.test("method--list", () {
+
+ var mock = new HttpServerMock();
+ api.ServicesSkusResourceApi res = new api.CloudbillingApi(mock).services.skus;
+ var arg_parent = "foo";
+ var arg_currencyCode = "foo";
+ var arg_endTime = "foo";
+ var arg_pageSize = 42;
+ var arg_startTime = "foo";
+ var arg_pageToken = "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["currencyCode"].first, unittest.equals(arg_currencyCode));
+ unittest.expect(queryMap["endTime"].first, unittest.equals(arg_endTime));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTime));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListSkusResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_parent, currencyCode: arg_currencyCode, endTime: arg_endTime, pageSize: arg_pageSize, startTime: arg_startTime, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListSkusResponse response) {
+ checkListSkusResponse(response);
+ })));
+ });
+
+ });
+
+
}
diff --git a/generated/googleapis/test/cloudbuild/v1_test.dart b/generated/googleapis/test/cloudbuild/v1_test.dart
index 5565f6b..80acb4d 100644
--- a/generated/googleapis/test/cloudbuild/v1_test.dart
+++ b/generated/googleapis/test/cloudbuild/v1_test.dart
@@ -51,66 +51,66 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1402() {
+buildUnnamed1419() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1402(core.List<core.String> o) {
+checkUnnamed1419(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1403() {
+buildUnnamed1420() {
var o = new core.List<api.Secret>();
o.add(buildSecret());
o.add(buildSecret());
return o;
}
-checkUnnamed1403(core.List<api.Secret> o) {
+checkUnnamed1420(core.List<api.Secret> o) {
unittest.expect(o, unittest.hasLength(2));
checkSecret(o[0]);
checkSecret(o[1]);
}
-buildUnnamed1404() {
+buildUnnamed1421() {
var o = new core.List<api.BuildStep>();
o.add(buildBuildStep());
o.add(buildBuildStep());
return o;
}
-checkUnnamed1404(core.List<api.BuildStep> o) {
+checkUnnamed1421(core.List<api.BuildStep> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildStep(o[0]);
checkBuildStep(o[1]);
}
-buildUnnamed1405() {
+buildUnnamed1422() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1405(core.Map<core.String, core.String> o) {
+checkUnnamed1422(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1406() {
+buildUnnamed1423() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1406(core.List<core.String> o) {
+checkUnnamed1423(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -125,21 +125,21 @@
o.createTime = "foo";
o.finishTime = "foo";
o.id = "foo";
- o.images = buildUnnamed1402();
+ o.images = buildUnnamed1419();
o.logUrl = "foo";
o.logsBucket = "foo";
o.options = buildBuildOptions();
o.projectId = "foo";
o.results = buildResults();
- o.secrets = buildUnnamed1403();
+ o.secrets = buildUnnamed1420();
o.source = buildSource();
o.sourceProvenance = buildSourceProvenance();
o.startTime = "foo";
o.status = "foo";
o.statusDetail = "foo";
- o.steps = buildUnnamed1404();
- o.substitutions = buildUnnamed1405();
- o.tags = buildUnnamed1406();
+ o.steps = buildUnnamed1421();
+ o.substitutions = buildUnnamed1422();
+ o.tags = buildUnnamed1423();
o.timeout = "foo";
}
buildCounterBuild--;
@@ -153,21 +153,21 @@
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.finishTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1402(o.images);
+ checkUnnamed1419(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);
- checkUnnamed1403(o.secrets);
+ checkUnnamed1420(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'));
- checkUnnamed1404(o.steps);
- checkUnnamed1405(o.substitutions);
- checkUnnamed1406(o.tags);
+ checkUnnamed1421(o.steps);
+ checkUnnamed1422(o.substitutions);
+ checkUnnamed1423(o.tags);
unittest.expect(o.timeout, unittest.equals('foo'));
}
buildCounterBuild--;
@@ -192,14 +192,14 @@
buildCounterBuildOperationMetadata--;
}
-buildUnnamed1407() {
+buildUnnamed1424() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1407(core.List<core.String> o) {
+checkUnnamed1424(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -211,7 +211,7 @@
buildCounterBuildOptions++;
if (buildCounterBuildOptions < 3) {
o.requestedVerifyOption = "foo";
- o.sourceProvenanceHash = buildUnnamed1407();
+ o.sourceProvenanceHash = buildUnnamed1424();
o.substitutionOption = "foo";
}
buildCounterBuildOptions--;
@@ -222,72 +222,72 @@
buildCounterBuildOptions++;
if (buildCounterBuildOptions < 3) {
unittest.expect(o.requestedVerifyOption, unittest.equals('foo'));
- checkUnnamed1407(o.sourceProvenanceHash);
+ checkUnnamed1424(o.sourceProvenanceHash);
unittest.expect(o.substitutionOption, unittest.equals('foo'));
}
buildCounterBuildOptions--;
}
-buildUnnamed1408() {
+buildUnnamed1425() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1408(core.List<core.String> o) {
+checkUnnamed1425(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1409() {
+buildUnnamed1426() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1409(core.List<core.String> o) {
+checkUnnamed1426(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1410() {
+buildUnnamed1427() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1410(core.List<core.String> o) {
+checkUnnamed1427(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1411() {
+buildUnnamed1428() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed1411(core.List<api.Volume> o) {
+checkUnnamed1428(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
}
-buildUnnamed1412() {
+buildUnnamed1429() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1412(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'));
@@ -298,15 +298,15 @@
var o = new api.BuildStep();
buildCounterBuildStep++;
if (buildCounterBuildStep < 3) {
- o.args = buildUnnamed1408();
+ o.args = buildUnnamed1425();
o.dir = "foo";
o.entrypoint = "foo";
- o.env = buildUnnamed1409();
+ o.env = buildUnnamed1426();
o.id = "foo";
o.name = "foo";
- o.secretEnv = buildUnnamed1410();
- o.volumes = buildUnnamed1411();
- o.waitFor = buildUnnamed1412();
+ o.secretEnv = buildUnnamed1427();
+ o.volumes = buildUnnamed1428();
+ o.waitFor = buildUnnamed1429();
}
buildCounterBuildStep--;
return o;
@@ -315,27 +315,27 @@
checkBuildStep(api.BuildStep o) {
buildCounterBuildStep++;
if (buildCounterBuildStep < 3) {
- checkUnnamed1408(o.args);
+ checkUnnamed1425(o.args);
unittest.expect(o.dir, unittest.equals('foo'));
unittest.expect(o.entrypoint, unittest.equals('foo'));
- checkUnnamed1409(o.env);
+ checkUnnamed1426(o.env);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1410(o.secretEnv);
- checkUnnamed1411(o.volumes);
- checkUnnamed1412(o.waitFor);
+ checkUnnamed1427(o.secretEnv);
+ checkUnnamed1428(o.volumes);
+ checkUnnamed1429(o.waitFor);
}
buildCounterBuildStep--;
}
-buildUnnamed1413() {
+buildUnnamed1430() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1413(core.Map<core.String, core.String> o) {
+checkUnnamed1430(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -352,7 +352,7 @@
o.disabled = true;
o.filename = "foo";
o.id = "foo";
- o.substitutions = buildUnnamed1413();
+ o.substitutions = buildUnnamed1430();
o.triggerTemplate = buildRepoSource();
}
buildCounterBuildTrigger--;
@@ -368,7 +368,7 @@
unittest.expect(o.disabled, unittest.isTrue);
unittest.expect(o.filename, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1413(o.substitutions);
+ checkUnnamed1430(o.substitutions);
checkRepoSource(o.triggerTemplate);
}
buildCounterBuildTrigger--;
@@ -446,14 +446,14 @@
buildCounterEmpty--;
}
-buildUnnamed1414() {
+buildUnnamed1431() {
var o = new core.List<api.Hash>();
o.add(buildHash());
o.add(buildHash());
return o;
}
-checkUnnamed1414(core.List<api.Hash> o) {
+checkUnnamed1431(core.List<api.Hash> o) {
unittest.expect(o, unittest.hasLength(2));
checkHash(o[0]);
checkHash(o[1]);
@@ -464,7 +464,7 @@
var o = new api.FileHashes();
buildCounterFileHashes++;
if (buildCounterFileHashes < 3) {
- o.fileHash = buildUnnamed1414();
+ o.fileHash = buildUnnamed1431();
}
buildCounterFileHashes--;
return o;
@@ -473,7 +473,7 @@
checkFileHashes(api.FileHashes o) {
buildCounterFileHashes++;
if (buildCounterFileHashes < 3) {
- checkUnnamed1414(o.fileHash);
+ checkUnnamed1431(o.fileHash);
}
buildCounterFileHashes--;
}
@@ -499,14 +499,14 @@
buildCounterHash--;
}
-buildUnnamed1415() {
+buildUnnamed1432() {
var o = new core.List<api.BuildTrigger>();
o.add(buildBuildTrigger());
o.add(buildBuildTrigger());
return o;
}
-checkUnnamed1415(core.List<api.BuildTrigger> o) {
+checkUnnamed1432(core.List<api.BuildTrigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildTrigger(o[0]);
checkBuildTrigger(o[1]);
@@ -517,7 +517,7 @@
var o = new api.ListBuildTriggersResponse();
buildCounterListBuildTriggersResponse++;
if (buildCounterListBuildTriggersResponse < 3) {
- o.triggers = buildUnnamed1415();
+ o.triggers = buildUnnamed1432();
}
buildCounterListBuildTriggersResponse--;
return o;
@@ -526,19 +526,19 @@
checkListBuildTriggersResponse(api.ListBuildTriggersResponse o) {
buildCounterListBuildTriggersResponse++;
if (buildCounterListBuildTriggersResponse < 3) {
- checkUnnamed1415(o.triggers);
+ checkUnnamed1432(o.triggers);
}
buildCounterListBuildTriggersResponse--;
}
-buildUnnamed1416() {
+buildUnnamed1433() {
var o = new core.List<api.Build>();
o.add(buildBuild());
o.add(buildBuild());
return o;
}
-checkUnnamed1416(core.List<api.Build> o) {
+checkUnnamed1433(core.List<api.Build> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuild(o[0]);
checkBuild(o[1]);
@@ -549,7 +549,7 @@
var o = new api.ListBuildsResponse();
buildCounterListBuildsResponse++;
if (buildCounterListBuildsResponse < 3) {
- o.builds = buildUnnamed1416();
+ o.builds = buildUnnamed1433();
o.nextPageToken = "foo";
}
buildCounterListBuildsResponse--;
@@ -559,20 +559,20 @@
checkListBuildsResponse(api.ListBuildsResponse o) {
buildCounterListBuildsResponse++;
if (buildCounterListBuildsResponse < 3) {
- checkUnnamed1416(o.builds);
+ checkUnnamed1433(o.builds);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListBuildsResponse--;
}
-buildUnnamed1417() {
+buildUnnamed1434() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1417(core.List<api.Operation> o) {
+checkUnnamed1434(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -584,7 +584,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1417();
+ o.operations = buildUnnamed1434();
}
buildCounterListOperationsResponse--;
return o;
@@ -594,32 +594,32 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1417(o.operations);
+ checkUnnamed1434(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1418() {
+buildUnnamed1435() {
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;
}
-checkUnnamed1418(core.Map<core.String, core.Object> o) {
+checkUnnamed1435(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'));
}
-buildUnnamed1419() {
+buildUnnamed1436() {
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;
}
-checkUnnamed1419(core.Map<core.String, core.Object> o) {
+checkUnnamed1436(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'));
@@ -632,9 +632,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1418();
+ o.metadata = buildUnnamed1435();
o.name = "foo";
- o.response = buildUnnamed1419();
+ o.response = buildUnnamed1436();
}
buildCounterOperation--;
return o;
@@ -645,9 +645,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1418(o.metadata);
+ checkUnnamed1435(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1419(o.response);
+ checkUnnamed1436(o.response);
}
buildCounterOperation--;
}
@@ -679,27 +679,27 @@
buildCounterRepoSource--;
}
-buildUnnamed1420() {
+buildUnnamed1437() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1420(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'));
}
-buildUnnamed1421() {
+buildUnnamed1438() {
var o = new core.List<api.BuiltImage>();
o.add(buildBuiltImage());
o.add(buildBuiltImage());
return o;
}
-checkUnnamed1421(core.List<api.BuiltImage> o) {
+checkUnnamed1438(core.List<api.BuiltImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuiltImage(o[0]);
checkBuiltImage(o[1]);
@@ -710,8 +710,8 @@
var o = new api.Results();
buildCounterResults++;
if (buildCounterResults < 3) {
- o.buildStepImages = buildUnnamed1420();
- o.images = buildUnnamed1421();
+ o.buildStepImages = buildUnnamed1437();
+ o.images = buildUnnamed1438();
}
buildCounterResults--;
return o;
@@ -720,20 +720,20 @@
checkResults(api.Results o) {
buildCounterResults++;
if (buildCounterResults < 3) {
- checkUnnamed1420(o.buildStepImages);
- checkUnnamed1421(o.images);
+ checkUnnamed1437(o.buildStepImages);
+ checkUnnamed1438(o.images);
}
buildCounterResults--;
}
-buildUnnamed1422() {
+buildUnnamed1439() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1422(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'));
@@ -745,7 +745,7 @@
buildCounterSecret++;
if (buildCounterSecret < 3) {
o.kmsKeyName = "foo";
- o.secretEnv = buildUnnamed1422();
+ o.secretEnv = buildUnnamed1439();
}
buildCounterSecret--;
return o;
@@ -755,7 +755,7 @@
buildCounterSecret++;
if (buildCounterSecret < 3) {
unittest.expect(o.kmsKeyName, unittest.equals('foo'));
- checkUnnamed1422(o.secretEnv);
+ checkUnnamed1439(o.secretEnv);
}
buildCounterSecret--;
}
@@ -781,14 +781,14 @@
buildCounterSource--;
}
-buildUnnamed1423() {
+buildUnnamed1440() {
var o = new core.Map<core.String, api.FileHashes>();
o["x"] = buildFileHashes();
o["y"] = buildFileHashes();
return o;
}
-checkUnnamed1423(core.Map<core.String, api.FileHashes> o) {
+checkUnnamed1440(core.Map<core.String, api.FileHashes> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileHashes(o["x"]);
checkFileHashes(o["y"]);
@@ -799,7 +799,7 @@
var o = new api.SourceProvenance();
buildCounterSourceProvenance++;
if (buildCounterSourceProvenance < 3) {
- o.fileHashes = buildUnnamed1423();
+ o.fileHashes = buildUnnamed1440();
o.resolvedRepoSource = buildRepoSource();
o.resolvedStorageSource = buildStorageSource();
}
@@ -810,37 +810,37 @@
checkSourceProvenance(api.SourceProvenance o) {
buildCounterSourceProvenance++;
if (buildCounterSourceProvenance < 3) {
- checkUnnamed1423(o.fileHashes);
+ checkUnnamed1440(o.fileHashes);
checkRepoSource(o.resolvedRepoSource);
checkStorageSource(o.resolvedStorageSource);
}
buildCounterSourceProvenance--;
}
-buildUnnamed1424() {
+buildUnnamed1441() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1424(core.Map<core.String, core.Object> o) {
+checkUnnamed1441(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); 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'));
}
-buildUnnamed1425() {
+buildUnnamed1442() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1424());
- o.add(buildUnnamed1424());
+ o.add(buildUnnamed1441());
+ o.add(buildUnnamed1441());
return o;
}
-checkUnnamed1425(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1442(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1424(o[0]);
- checkUnnamed1424(o[1]);
+ checkUnnamed1441(o[0]);
+ checkUnnamed1441(o[1]);
}
core.int buildCounterStatus = 0;
@@ -849,7 +849,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1425();
+ o.details = buildUnnamed1442();
o.message = "foo";
}
buildCounterStatus--;
@@ -860,7 +860,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1425(o.details);
+ checkUnnamed1442(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1447,9 +1447,9 @@
var mock = new HttpServerMock();
api.ProjectsBuildsResourceApi res = new api.CloudbuildApi(mock).projects.builds;
var arg_projectId = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_filter = "foo";
- var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1483,9 +1483,9 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1494,7 +1494,7 @@
var resp = convert.JSON.encode(buildListBuildsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListBuildsResponse response) {
+ res.list(arg_projectId, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).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 ff6ef24..e8ef718 100644
--- a/generated/googleapis/test/clouddebugger/v2_test.dart
+++ b/generated/googleapis/test/clouddebugger/v2_test.dart
@@ -72,66 +72,66 @@
buildCounterAliasContext--;
}
-buildUnnamed867() {
+buildUnnamed883() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed867(core.List<api.Variable> o) {
+checkUnnamed883(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
}
-buildUnnamed868() {
+buildUnnamed884() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed868(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'));
}
-buildUnnamed869() {
+buildUnnamed885() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed869(core.Map<core.String, core.String> o) {
+checkUnnamed885(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed870() {
+buildUnnamed886() {
var o = new core.List<api.StackFrame>();
o.add(buildStackFrame());
o.add(buildStackFrame());
return o;
}
-checkUnnamed870(core.List<api.StackFrame> o) {
+checkUnnamed886(core.List<api.StackFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkStackFrame(o[0]);
checkStackFrame(o[1]);
}
-buildUnnamed871() {
+buildUnnamed887() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed871(core.List<api.Variable> o) {
+checkUnnamed887(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -145,19 +145,19 @@
o.action = "foo";
o.condition = "foo";
o.createTime = "foo";
- o.evaluatedExpressions = buildUnnamed867();
- o.expressions = buildUnnamed868();
+ o.evaluatedExpressions = buildUnnamed883();
+ o.expressions = buildUnnamed884();
o.finalTime = "foo";
o.id = "foo";
o.isFinalState = true;
- o.labels = buildUnnamed869();
+ o.labels = buildUnnamed885();
o.location = buildSourceLocation();
o.logLevel = "foo";
o.logMessageFormat = "foo";
- o.stackFrames = buildUnnamed870();
+ o.stackFrames = buildUnnamed886();
o.status = buildStatusMessage();
o.userEmail = "foo";
- o.variableTable = buildUnnamed871();
+ o.variableTable = buildUnnamed887();
}
buildCounterBreakpoint--;
return o;
@@ -169,19 +169,19 @@
unittest.expect(o.action, unittest.equals('foo'));
unittest.expect(o.condition, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed867(o.evaluatedExpressions);
- checkUnnamed868(o.expressions);
+ checkUnnamed883(o.evaluatedExpressions);
+ checkUnnamed884(o.expressions);
unittest.expect(o.finalTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isFinalState, unittest.isTrue);
- checkUnnamed869(o.labels);
+ checkUnnamed885(o.labels);
checkSourceLocation(o.location);
unittest.expect(o.logLevel, unittest.equals('foo'));
unittest.expect(o.logMessageFormat, unittest.equals('foo'));
- checkUnnamed870(o.stackFrames);
+ checkUnnamed886(o.stackFrames);
checkStatusMessage(o.status);
unittest.expect(o.userEmail, unittest.equals('foo'));
- checkUnnamed871(o.variableTable);
+ checkUnnamed887(o.variableTable);
}
buildCounterBreakpoint--;
}
@@ -253,40 +253,40 @@
buildCounterCloudWorkspaceSourceContext--;
}
-buildUnnamed872() {
+buildUnnamed888() {
var o = new core.List<api.ExtendedSourceContext>();
o.add(buildExtendedSourceContext());
o.add(buildExtendedSourceContext());
return o;
}
-checkUnnamed872(core.List<api.ExtendedSourceContext> o) {
+checkUnnamed888(core.List<api.ExtendedSourceContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkExtendedSourceContext(o[0]);
checkExtendedSourceContext(o[1]);
}
-buildUnnamed873() {
+buildUnnamed889() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed873(core.Map<core.String, core.String> o) {
+checkUnnamed889(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed874() {
+buildUnnamed890() {
var o = new core.List<api.SourceContext>();
o.add(buildSourceContext());
o.add(buildSourceContext());
return o;
}
-checkUnnamed874(core.List<api.SourceContext> o) {
+checkUnnamed890(core.List<api.SourceContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceContext(o[0]);
checkSourceContext(o[1]);
@@ -299,13 +299,13 @@
if (buildCounterDebuggee < 3) {
o.agentVersion = "foo";
o.description = "foo";
- o.extSourceContexts = buildUnnamed872();
+ o.extSourceContexts = buildUnnamed888();
o.id = "foo";
o.isDisabled = true;
o.isInactive = true;
- o.labels = buildUnnamed873();
+ o.labels = buildUnnamed889();
o.project = "foo";
- o.sourceContexts = buildUnnamed874();
+ o.sourceContexts = buildUnnamed890();
o.status = buildStatusMessage();
o.uniquifier = "foo";
}
@@ -318,13 +318,13 @@
if (buildCounterDebuggee < 3) {
unittest.expect(o.agentVersion, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed872(o.extSourceContexts);
+ checkUnnamed888(o.extSourceContexts);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isDisabled, unittest.isTrue);
unittest.expect(o.isInactive, unittest.isTrue);
- checkUnnamed873(o.labels);
+ checkUnnamed889(o.labels);
unittest.expect(o.project, unittest.equals('foo'));
- checkUnnamed874(o.sourceContexts);
+ checkUnnamed890(o.sourceContexts);
checkStatusMessage(o.status);
unittest.expect(o.uniquifier, unittest.equals('foo'));
}
@@ -348,14 +348,14 @@
buildCounterEmpty--;
}
-buildUnnamed875() {
+buildUnnamed891() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed875(core.Map<core.String, core.String> o) {
+checkUnnamed891(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -367,7 +367,7 @@
buildCounterExtendedSourceContext++;
if (buildCounterExtendedSourceContext < 3) {
o.context = buildSourceContext();
- o.labels = buildUnnamed875();
+ o.labels = buildUnnamed891();
}
buildCounterExtendedSourceContext--;
return o;
@@ -377,19 +377,19 @@
buildCounterExtendedSourceContext++;
if (buildCounterExtendedSourceContext < 3) {
checkSourceContext(o.context);
- checkUnnamed875(o.labels);
+ checkUnnamed891(o.labels);
}
buildCounterExtendedSourceContext--;
}
-buildUnnamed876() {
+buildUnnamed892() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed876(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'));
@@ -401,7 +401,7 @@
buildCounterFormatMessage++;
if (buildCounterFormatMessage < 3) {
o.format = "foo";
- o.parameters = buildUnnamed876();
+ o.parameters = buildUnnamed892();
}
buildCounterFormatMessage--;
return o;
@@ -411,7 +411,7 @@
buildCounterFormatMessage++;
if (buildCounterFormatMessage < 3) {
unittest.expect(o.format, unittest.equals('foo'));
- checkUnnamed876(o.parameters);
+ checkUnnamed892(o.parameters);
}
buildCounterFormatMessage--;
}
@@ -483,14 +483,14 @@
buildCounterGitSourceContext--;
}
-buildUnnamed877() {
+buildUnnamed893() {
var o = new core.List<api.Breakpoint>();
o.add(buildBreakpoint());
o.add(buildBreakpoint());
return o;
}
-checkUnnamed877(core.List<api.Breakpoint> o) {
+checkUnnamed893(core.List<api.Breakpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkBreakpoint(o[0]);
checkBreakpoint(o[1]);
@@ -501,7 +501,7 @@
var o = new api.ListActiveBreakpointsResponse();
buildCounterListActiveBreakpointsResponse++;
if (buildCounterListActiveBreakpointsResponse < 3) {
- o.breakpoints = buildUnnamed877();
+ o.breakpoints = buildUnnamed893();
o.nextWaitToken = "foo";
o.waitExpired = true;
}
@@ -512,21 +512,21 @@
checkListActiveBreakpointsResponse(api.ListActiveBreakpointsResponse o) {
buildCounterListActiveBreakpointsResponse++;
if (buildCounterListActiveBreakpointsResponse < 3) {
- checkUnnamed877(o.breakpoints);
+ checkUnnamed893(o.breakpoints);
unittest.expect(o.nextWaitToken, unittest.equals('foo'));
unittest.expect(o.waitExpired, unittest.isTrue);
}
buildCounterListActiveBreakpointsResponse--;
}
-buildUnnamed878() {
+buildUnnamed894() {
var o = new core.List<api.Breakpoint>();
o.add(buildBreakpoint());
o.add(buildBreakpoint());
return o;
}
-checkUnnamed878(core.List<api.Breakpoint> o) {
+checkUnnamed894(core.List<api.Breakpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkBreakpoint(o[0]);
checkBreakpoint(o[1]);
@@ -537,7 +537,7 @@
var o = new api.ListBreakpointsResponse();
buildCounterListBreakpointsResponse++;
if (buildCounterListBreakpointsResponse < 3) {
- o.breakpoints = buildUnnamed878();
+ o.breakpoints = buildUnnamed894();
o.nextWaitToken = "foo";
}
buildCounterListBreakpointsResponse--;
@@ -547,20 +547,20 @@
checkListBreakpointsResponse(api.ListBreakpointsResponse o) {
buildCounterListBreakpointsResponse++;
if (buildCounterListBreakpointsResponse < 3) {
- checkUnnamed878(o.breakpoints);
+ checkUnnamed894(o.breakpoints);
unittest.expect(o.nextWaitToken, unittest.equals('foo'));
}
buildCounterListBreakpointsResponse--;
}
-buildUnnamed879() {
+buildUnnamed895() {
var o = new core.List<api.Debuggee>();
o.add(buildDebuggee());
o.add(buildDebuggee());
return o;
}
-checkUnnamed879(core.List<api.Debuggee> o) {
+checkUnnamed895(core.List<api.Debuggee> o) {
unittest.expect(o, unittest.hasLength(2));
checkDebuggee(o[0]);
checkDebuggee(o[1]);
@@ -571,7 +571,7 @@
var o = new api.ListDebuggeesResponse();
buildCounterListDebuggeesResponse++;
if (buildCounterListDebuggeesResponse < 3) {
- o.debuggees = buildUnnamed879();
+ o.debuggees = buildUnnamed895();
}
buildCounterListDebuggeesResponse--;
return o;
@@ -580,7 +580,7 @@
checkListDebuggeesResponse(api.ListDebuggeesResponse o) {
buildCounterListDebuggeesResponse++;
if (buildCounterListDebuggeesResponse < 3) {
- checkUnnamed879(o.debuggees);
+ checkUnnamed895(o.debuggees);
}
buildCounterListDebuggeesResponse--;
}
@@ -730,27 +730,27 @@
buildCounterSourceLocation--;
}
-buildUnnamed880() {
+buildUnnamed896() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed880(core.List<api.Variable> o) {
+checkUnnamed896(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
}
-buildUnnamed881() {
+buildUnnamed897() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed881(core.List<api.Variable> o) {
+checkUnnamed897(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -761,9 +761,9 @@
var o = new api.StackFrame();
buildCounterStackFrame++;
if (buildCounterStackFrame < 3) {
- o.arguments = buildUnnamed880();
+ o.arguments = buildUnnamed896();
o.function = "foo";
- o.locals = buildUnnamed881();
+ o.locals = buildUnnamed897();
o.location = buildSourceLocation();
}
buildCounterStackFrame--;
@@ -773,9 +773,9 @@
checkStackFrame(api.StackFrame o) {
buildCounterStackFrame++;
if (buildCounterStackFrame < 3) {
- checkUnnamed880(o.arguments);
+ checkUnnamed896(o.arguments);
unittest.expect(o.function, unittest.equals('foo'));
- checkUnnamed881(o.locals);
+ checkUnnamed897(o.locals);
checkSourceLocation(o.location);
}
buildCounterStackFrame--;
@@ -840,14 +840,14 @@
buildCounterUpdateActiveBreakpointResponse--;
}
-buildUnnamed882() {
+buildUnnamed898() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed882(core.List<api.Variable> o) {
+checkUnnamed898(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -858,7 +858,7 @@
var o = new api.Variable();
buildCounterVariable++;
if (buildCounterVariable < 3) {
- o.members = buildUnnamed882();
+ o.members = buildUnnamed898();
o.name = "foo";
o.status = buildStatusMessage();
o.type = "foo";
@@ -872,7 +872,7 @@
checkVariable(api.Variable o) {
buildCounterVariable++;
if (buildCounterVariable < 3) {
- checkUnnamed882(o.members);
+ checkUnnamed898(o.members);
unittest.expect(o.name, unittest.equals('foo'));
checkStatusMessage(o.status);
unittest.expect(o.type, unittest.equals('foo'));
@@ -1301,9 +1301,9 @@
var mock = new HttpServerMock();
api.DebuggerDebuggeesResourceApi res = new api.ClouddebuggerApi(mock).debugger.debuggees;
+ var arg_clientVersion = "foo";
var arg_includeInactive = true;
var arg_project = "foo";
- var arg_clientVersion = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1330,9 +1330,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["clientVersion"].first, unittest.equals(arg_clientVersion));
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));
var h = {
@@ -1341,7 +1341,7 @@
var resp = convert.JSON.encode(buildListDebuggeesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(includeInactive: arg_includeInactive, project: arg_project, clientVersion: arg_clientVersion).then(unittest.expectAsync1(((api.ListDebuggeesResponse response) {
+ res.list(clientVersion: arg_clientVersion, includeInactive: arg_includeInactive, project: arg_project).then(unittest.expectAsync1(((api.ListDebuggeesResponse response) {
checkListDebuggeesResponse(response);
})));
});
@@ -1469,12 +1469,12 @@
var mock = new HttpServerMock();
api.DebuggerDebuggeesBreakpointsResourceApi res = new api.ClouddebuggerApi(mock).debugger.debuggees.breakpoints;
var arg_debuggeeId = "foo";
+ var arg_stripResults = true;
var arg_waitToken = "foo";
var arg_clientVersion = "foo";
var arg_action_value = "foo";
var arg_includeInactive = true;
var arg_includeAllUsers = true;
- var arg_stripResults = true;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1508,12 +1508,12 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["stripResults"].first, 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["includeInactive"].first, unittest.equals("$arg_includeInactive"));
unittest.expect(queryMap["includeAllUsers"].first, unittest.equals("$arg_includeAllUsers"));
- unittest.expect(queryMap["stripResults"].first, unittest.equals("$arg_stripResults"));
var h = {
@@ -1522,7 +1522,7 @@
var resp = convert.JSON.encode(buildListBreakpointsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_debuggeeId, waitToken: arg_waitToken, clientVersion: arg_clientVersion, action_value: arg_action_value, includeInactive: arg_includeInactive, includeAllUsers: arg_includeAllUsers, stripResults: arg_stripResults).then(unittest.expectAsync1(((api.ListBreakpointsResponse response) {
+ res.list(arg_debuggeeId, stripResults: arg_stripResults, waitToken: arg_waitToken, clientVersion: arg_clientVersion, action_value: arg_action_value, includeInactive: arg_includeInactive, includeAllUsers: arg_includeAllUsers).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 f17ed4f..c232eef 100644
--- a/generated/googleapis/test/cloudfunctions/v1_test.dart
+++ b/generated/googleapis/test/cloudfunctions/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed141() {
+buildUnnamed146() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed141(core.List<api.Location> o) {
+checkUnnamed146(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -69,7 +69,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed141();
+ o.locations = buildUnnamed146();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -79,20 +79,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed141(o.locations);
+ checkUnnamed146(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed142() {
+buildUnnamed147() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed142(core.List<api.Operation> o) {
+checkUnnamed147(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -104,7 +104,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed142();
+ o.operations = buildUnnamed147();
}
buildCounterListOperationsResponse--;
return o;
@@ -114,32 +114,32 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed142(o.operations);
+ checkUnnamed147(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed143() {
+buildUnnamed148() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed143(core.Map<core.String, core.String> o) {
+checkUnnamed148(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed144() {
+buildUnnamed149() {
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;
}
-checkUnnamed144(core.Map<core.String, core.Object> o) {
+checkUnnamed149(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'));
@@ -150,9 +150,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed143();
+ o.labels = buildUnnamed148();
o.locationId = "foo";
- o.metadata = buildUnnamed144();
+ o.metadata = buildUnnamed149();
o.name = "foo";
}
buildCounterLocation--;
@@ -162,35 +162,35 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed143(o.labels);
+ checkUnnamed148(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed144(o.metadata);
+ checkUnnamed149(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
}
-buildUnnamed145() {
+buildUnnamed150() {
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;
}
-checkUnnamed145(core.Map<core.String, core.Object> o) {
+checkUnnamed150(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'));
}
-buildUnnamed146() {
+buildUnnamed151() {
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;
}
-checkUnnamed146(core.Map<core.String, core.Object> o) {
+checkUnnamed151(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'));
@@ -203,9 +203,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed145();
+ o.metadata = buildUnnamed150();
o.name = "foo";
- o.response = buildUnnamed146();
+ o.response = buildUnnamed151();
}
buildCounterOperation--;
return o;
@@ -216,21 +216,21 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed145(o.metadata);
+ checkUnnamed150(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed146(o.response);
+ checkUnnamed151(o.response);
}
buildCounterOperation--;
}
-buildUnnamed147() {
+buildUnnamed152() {
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;
}
-checkUnnamed147(core.Map<core.String, core.Object> o) {
+checkUnnamed152(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'));
@@ -241,7 +241,7 @@
var o = new api.OperationMetadataV1Beta2();
buildCounterOperationMetadataV1Beta2++;
if (buildCounterOperationMetadataV1Beta2 < 3) {
- o.request = buildUnnamed147();
+ o.request = buildUnnamed152();
o.target = "foo";
o.type = "foo";
}
@@ -252,37 +252,37 @@
checkOperationMetadataV1Beta2(api.OperationMetadataV1Beta2 o) {
buildCounterOperationMetadataV1Beta2++;
if (buildCounterOperationMetadataV1Beta2 < 3) {
- checkUnnamed147(o.request);
+ checkUnnamed152(o.request);
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterOperationMetadataV1Beta2--;
}
-buildUnnamed148() {
+buildUnnamed153() {
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;
}
-checkUnnamed148(core.Map<core.String, core.Object> o) {
+checkUnnamed153(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'));
}
-buildUnnamed149() {
+buildUnnamed154() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed148());
- o.add(buildUnnamed148());
+ o.add(buildUnnamed153());
+ o.add(buildUnnamed153());
return o;
}
-checkUnnamed149(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed154(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed148(o[0]);
- checkUnnamed148(o[1]);
+ checkUnnamed153(o[0]);
+ checkUnnamed153(o[1]);
}
core.int buildCounterStatus = 0;
@@ -291,7 +291,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed149();
+ o.details = buildUnnamed154();
o.message = "foo";
}
buildCounterStatus--;
@@ -302,7 +302,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed149(o.details);
+ checkUnnamed154(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
diff --git a/generated/googleapis/test/cloudkms/v1_test.dart b/generated/googleapis/test/cloudkms/v1_test.dart
index 26fbfc0..5342a92 100644
--- a/generated/googleapis/test/cloudkms/v1_test.dart
+++ b/generated/googleapis/test/cloudkms/v1_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1370() {
+buildUnnamed1387() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1370(core.List<api.AuditLogConfig> o) {
+checkUnnamed1387(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed1371() {
+buildUnnamed1388() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1371(core.List<core.String> o) {
+checkUnnamed1388(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,8 +82,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed1370();
- o.exemptedMembers = buildUnnamed1371();
+ o.auditLogConfigs = buildUnnamed1387();
+ o.exemptedMembers = buildUnnamed1388();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -93,21 +93,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1370(o.auditLogConfigs);
- checkUnnamed1371(o.exemptedMembers);
+ checkUnnamed1387(o.auditLogConfigs);
+ checkUnnamed1388(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1372() {
+buildUnnamed1389() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1372(core.List<core.String> o) {
+checkUnnamed1389(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -118,7 +118,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed1372();
+ o.exemptedMembers = buildUnnamed1389();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -128,20 +128,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1372(o.exemptedMembers);
+ checkUnnamed1389(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed1373() {
+buildUnnamed1390() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1373(core.List<core.String> o) {
+checkUnnamed1390(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -153,7 +153,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed1373();
+ o.members = buildUnnamed1390();
o.role = "foo";
}
buildCounterBinding--;
@@ -164,7 +164,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed1373(o.members);
+ checkUnnamed1390(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -189,14 +189,14 @@
buildCounterCloudAuditOptions--;
}
-buildUnnamed1374() {
+buildUnnamed1391() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1374(core.List<core.String> o) {
+checkUnnamed1391(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -212,7 +212,7 @@
o.svc = "foo";
o.sys = "foo";
o.value = "foo";
- o.values = buildUnnamed1374();
+ o.values = buildUnnamed1391();
}
buildCounterCondition--;
return o;
@@ -226,7 +226,7 @@
unittest.expect(o.svc, unittest.equals('foo'));
unittest.expect(o.sys, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
- checkUnnamed1374(o.values);
+ checkUnnamed1391(o.values);
}
buildCounterCondition--;
}
@@ -313,6 +313,7 @@
var o = new api.DataAccessOptions();
buildCounterDataAccessOptions++;
if (buildCounterDataAccessOptions < 3) {
+ o.logMode = "foo";
}
buildCounterDataAccessOptions--;
return o;
@@ -321,6 +322,7 @@
checkDataAccessOptions(api.DataAccessOptions o) {
buildCounterDataAccessOptions++;
if (buildCounterDataAccessOptions < 3) {
+ unittest.expect(o.logMode, unittest.equals('foo'));
}
buildCounterDataAccessOptions--;
}
@@ -470,14 +472,14 @@
buildCounterKeyRing--;
}
-buildUnnamed1375() {
+buildUnnamed1392() {
var o = new core.List<api.CryptoKeyVersion>();
o.add(buildCryptoKeyVersion());
o.add(buildCryptoKeyVersion());
return o;
}
-checkUnnamed1375(core.List<api.CryptoKeyVersion> o) {
+checkUnnamed1392(core.List<api.CryptoKeyVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkCryptoKeyVersion(o[0]);
checkCryptoKeyVersion(o[1]);
@@ -488,7 +490,7 @@
var o = new api.ListCryptoKeyVersionsResponse();
buildCounterListCryptoKeyVersionsResponse++;
if (buildCounterListCryptoKeyVersionsResponse < 3) {
- o.cryptoKeyVersions = buildUnnamed1375();
+ o.cryptoKeyVersions = buildUnnamed1392();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -499,21 +501,21 @@
checkListCryptoKeyVersionsResponse(api.ListCryptoKeyVersionsResponse o) {
buildCounterListCryptoKeyVersionsResponse++;
if (buildCounterListCryptoKeyVersionsResponse < 3) {
- checkUnnamed1375(o.cryptoKeyVersions);
+ checkUnnamed1392(o.cryptoKeyVersions);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListCryptoKeyVersionsResponse--;
}
-buildUnnamed1376() {
+buildUnnamed1393() {
var o = new core.List<api.CryptoKey>();
o.add(buildCryptoKey());
o.add(buildCryptoKey());
return o;
}
-checkUnnamed1376(core.List<api.CryptoKey> o) {
+checkUnnamed1393(core.List<api.CryptoKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkCryptoKey(o[0]);
checkCryptoKey(o[1]);
@@ -524,7 +526,7 @@
var o = new api.ListCryptoKeysResponse();
buildCounterListCryptoKeysResponse++;
if (buildCounterListCryptoKeysResponse < 3) {
- o.cryptoKeys = buildUnnamed1376();
+ o.cryptoKeys = buildUnnamed1393();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -535,21 +537,21 @@
checkListCryptoKeysResponse(api.ListCryptoKeysResponse o) {
buildCounterListCryptoKeysResponse++;
if (buildCounterListCryptoKeysResponse < 3) {
- checkUnnamed1376(o.cryptoKeys);
+ checkUnnamed1393(o.cryptoKeys);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListCryptoKeysResponse--;
}
-buildUnnamed1377() {
+buildUnnamed1394() {
var o = new core.List<api.KeyRing>();
o.add(buildKeyRing());
o.add(buildKeyRing());
return o;
}
-checkUnnamed1377(core.List<api.KeyRing> o) {
+checkUnnamed1394(core.List<api.KeyRing> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyRing(o[0]);
checkKeyRing(o[1]);
@@ -560,7 +562,7 @@
var o = new api.ListKeyRingsResponse();
buildCounterListKeyRingsResponse++;
if (buildCounterListKeyRingsResponse < 3) {
- o.keyRings = buildUnnamed1377();
+ o.keyRings = buildUnnamed1394();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -571,21 +573,21 @@
checkListKeyRingsResponse(api.ListKeyRingsResponse o) {
buildCounterListKeyRingsResponse++;
if (buildCounterListKeyRingsResponse < 3) {
- checkUnnamed1377(o.keyRings);
+ checkUnnamed1394(o.keyRings);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListKeyRingsResponse--;
}
-buildUnnamed1378() {
+buildUnnamed1395() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed1378(core.List<api.Location> o) {
+checkUnnamed1395(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -596,7 +598,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed1378();
+ o.locations = buildUnnamed1395();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -606,33 +608,33 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed1378(o.locations);
+ checkUnnamed1395(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed1379() {
+buildUnnamed1396() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1379(core.Map<core.String, core.String> o) {
+checkUnnamed1396(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1380() {
+buildUnnamed1397() {
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;
}
-checkUnnamed1380(core.Map<core.String, core.Object> o) {
+checkUnnamed1397(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'));
@@ -643,9 +645,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed1379();
+ o.labels = buildUnnamed1396();
o.locationId = "foo";
- o.metadata = buildUnnamed1380();
+ o.metadata = buildUnnamed1397();
o.name = "foo";
}
buildCounterLocation--;
@@ -655,9 +657,9 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed1379(o.labels);
+ checkUnnamed1396(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed1380(o.metadata);
+ checkUnnamed1397(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -686,40 +688,40 @@
buildCounterLogConfig--;
}
-buildUnnamed1381() {
+buildUnnamed1398() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1381(core.List<api.AuditConfig> o) {
+checkUnnamed1398(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1382() {
+buildUnnamed1399() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1382(core.List<api.Binding> o) {
+checkUnnamed1399(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
}
-buildUnnamed1383() {
+buildUnnamed1400() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed1383(core.List<api.Rule> o) {
+checkUnnamed1400(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -730,11 +732,11 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed1381();
- o.bindings = buildUnnamed1382();
+ o.auditConfigs = buildUnnamed1398();
+ o.bindings = buildUnnamed1399();
o.etag = "foo";
o.iamOwned = true;
- o.rules = buildUnnamed1383();
+ o.rules = buildUnnamed1400();
o.version = 42;
}
buildCounterPolicy--;
@@ -744,11 +746,11 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1381(o.auditConfigs);
- checkUnnamed1382(o.bindings);
+ checkUnnamed1398(o.auditConfigs);
+ checkUnnamed1399(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
- checkUnnamed1383(o.rules);
+ checkUnnamed1400(o.rules);
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
@@ -771,66 +773,66 @@
buildCounterRestoreCryptoKeyVersionRequest--;
}
-buildUnnamed1384() {
+buildUnnamed1401() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1384(core.List<api.Condition> o) {
+checkUnnamed1401(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1385() {
+buildUnnamed1402() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1385(core.List<core.String> o) {
+checkUnnamed1402(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1386() {
+buildUnnamed1403() {
var o = new core.List<api.LogConfig>();
o.add(buildLogConfig());
o.add(buildLogConfig());
return o;
}
-checkUnnamed1386(core.List<api.LogConfig> o) {
+checkUnnamed1403(core.List<api.LogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogConfig(o[0]);
checkLogConfig(o[1]);
}
-buildUnnamed1387() {
+buildUnnamed1404() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1387(core.List<core.String> o) {
+checkUnnamed1404(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1388() {
+buildUnnamed1405() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1388(core.List<core.String> o) {
+checkUnnamed1405(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -842,12 +844,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.action = "foo";
- o.conditions = buildUnnamed1384();
+ o.conditions = buildUnnamed1401();
o.description = "foo";
- o.in_ = buildUnnamed1385();
- o.logConfig = buildUnnamed1386();
- o.notIn = buildUnnamed1387();
- o.permissions = buildUnnamed1388();
+ o.in_ = buildUnnamed1402();
+ o.logConfig = buildUnnamed1403();
+ o.notIn = buildUnnamed1404();
+ o.permissions = buildUnnamed1405();
}
buildCounterRule--;
return o;
@@ -857,12 +859,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed1384(o.conditions);
+ checkUnnamed1401(o.conditions);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1385(o.in_);
- checkUnnamed1386(o.logConfig);
- checkUnnamed1387(o.notIn);
- checkUnnamed1388(o.permissions);
+ checkUnnamed1402(o.in_);
+ checkUnnamed1403(o.logConfig);
+ checkUnnamed1404(o.notIn);
+ checkUnnamed1405(o.permissions);
}
buildCounterRule--;
}
@@ -888,14 +890,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed1389() {
+buildUnnamed1406() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1389(core.List<core.String> o) {
+checkUnnamed1406(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -906,7 +908,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1389();
+ o.permissions = buildUnnamed1406();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -915,19 +917,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1389(o.permissions);
+ checkUnnamed1406(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1390() {
+buildUnnamed1407() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1390(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'));
@@ -938,7 +940,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1390();
+ o.permissions = buildUnnamed1407();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -947,7 +949,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1390(o.permissions);
+ checkUnnamed1407(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1285,9 +1287,9 @@
var mock = new HttpServerMock();
api.ProjectsLocationsResourceApi res = new api.CloudkmsApi(mock).projects.locations;
var arg_name = "foo";
+ var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
- var arg_pageSize = 42;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1315,9 +1317,9 @@
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["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));
var h = {
@@ -1326,7 +1328,7 @@
var resp = convert.JSON.encode(buildListLocationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListLocationsResponse response) {
+ res.list(arg_name, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListLocationsResponse response) {
checkListLocationsResponse(response);
})));
});
@@ -1481,8 +1483,8 @@
var mock = new HttpServerMock();
api.ProjectsLocationsKeyRingsResourceApi res = new api.CloudkmsApi(mock).projects.locations.keyRings;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1510,8 +1512,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1520,7 +1522,7 @@
var resp = convert.JSON.encode(buildListKeyRingsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListKeyRingsResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListKeyRingsResponse response) {
checkListKeyRingsResponse(response);
})));
});
@@ -1871,8 +1873,8 @@
var mock = new HttpServerMock();
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";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1900,8 +1902,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1910,7 +1912,7 @@
var resp = convert.JSON.encode(buildListCryptoKeysResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListCryptoKeysResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).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 e858665..2a2d346 100644
--- a/generated/googleapis/test/cloudresourcemanager/v1_test.dart
+++ b/generated/googleapis/test/cloudresourcemanager/v1_test.dart
@@ -70,14 +70,14 @@
buildCounterAncestor--;
}
-buildUnnamed1825() {
+buildUnnamed1843() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1825(core.List<api.AuditLogConfig> o) {
+checkUnnamed1843(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -88,7 +88,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed1825();
+ o.auditLogConfigs = buildUnnamed1843();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -98,20 +98,20 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1825(o.auditLogConfigs);
+ checkUnnamed1843(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1826() {
+buildUnnamed1844() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1826(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'));
@@ -122,7 +122,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed1826();
+ o.exemptedMembers = buildUnnamed1844();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -132,20 +132,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1826(o.exemptedMembers);
+ checkUnnamed1844(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed1827() {
+buildUnnamed1845() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1827(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'));
@@ -156,7 +156,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1827();
+ o.members = buildUnnamed1845();
o.role = "foo";
}
buildCounterBinding--;
@@ -166,7 +166,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1827(o.members);
+ checkUnnamed1845(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -338,14 +338,14 @@
buildCounterGetAncestryRequest--;
}
-buildUnnamed1828() {
+buildUnnamed1846() {
var o = new core.List<api.Ancestor>();
o.add(buildAncestor());
o.add(buildAncestor());
return o;
}
-checkUnnamed1828(core.List<api.Ancestor> o) {
+checkUnnamed1846(core.List<api.Ancestor> o) {
unittest.expect(o, unittest.hasLength(2));
checkAncestor(o[0]);
checkAncestor(o[1]);
@@ -356,7 +356,7 @@
var o = new api.GetAncestryResponse();
buildCounterGetAncestryResponse++;
if (buildCounterGetAncestryResponse < 3) {
- o.ancestor = buildUnnamed1828();
+ o.ancestor = buildUnnamed1846();
}
buildCounterGetAncestryResponse--;
return o;
@@ -365,7 +365,7 @@
checkGetAncestryResponse(api.GetAncestryResponse o) {
buildCounterGetAncestryResponse++;
if (buildCounterGetAncestryResponse < 3) {
- checkUnnamed1828(o.ancestor);
+ checkUnnamed1846(o.ancestor);
}
buildCounterGetAncestryResponse--;
}
@@ -425,14 +425,14 @@
buildCounterGetOrgPolicyRequest--;
}
-buildUnnamed1829() {
+buildUnnamed1847() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1829(core.List<core.String> o) {
+checkUnnamed1847(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -448,7 +448,7 @@
o.origin = "foo";
o.parent = "foo";
o.reason = "foo";
- o.restrictions = buildUnnamed1829();
+ o.restrictions = buildUnnamed1847();
}
buildCounterLien--;
return o;
@@ -462,7 +462,7 @@
unittest.expect(o.origin, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
unittest.expect(o.reason, unittest.equals('foo'));
- checkUnnamed1829(o.restrictions);
+ checkUnnamed1847(o.restrictions);
}
buildCounterLien--;
}
@@ -488,14 +488,14 @@
buildCounterListAvailableOrgPolicyConstraintsRequest--;
}
-buildUnnamed1830() {
+buildUnnamed1848() {
var o = new core.List<api.Constraint>();
o.add(buildConstraint());
o.add(buildConstraint());
return o;
}
-checkUnnamed1830(core.List<api.Constraint> o) {
+checkUnnamed1848(core.List<api.Constraint> o) {
unittest.expect(o, unittest.hasLength(2));
checkConstraint(o[0]);
checkConstraint(o[1]);
@@ -506,7 +506,7 @@
var o = new api.ListAvailableOrgPolicyConstraintsResponse();
buildCounterListAvailableOrgPolicyConstraintsResponse++;
if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) {
- o.constraints = buildUnnamed1830();
+ o.constraints = buildUnnamed1848();
o.nextPageToken = "foo";
}
buildCounterListAvailableOrgPolicyConstraintsResponse--;
@@ -516,7 +516,7 @@
checkListAvailableOrgPolicyConstraintsResponse(api.ListAvailableOrgPolicyConstraintsResponse o) {
buildCounterListAvailableOrgPolicyConstraintsResponse++;
if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) {
- checkUnnamed1830(o.constraints);
+ checkUnnamed1848(o.constraints);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAvailableOrgPolicyConstraintsResponse--;
@@ -541,14 +541,14 @@
buildCounterListConstraint--;
}
-buildUnnamed1831() {
+buildUnnamed1849() {
var o = new core.List<api.Lien>();
o.add(buildLien());
o.add(buildLien());
return o;
}
-checkUnnamed1831(core.List<api.Lien> o) {
+checkUnnamed1849(core.List<api.Lien> o) {
unittest.expect(o, unittest.hasLength(2));
checkLien(o[0]);
checkLien(o[1]);
@@ -559,7 +559,7 @@
var o = new api.ListLiensResponse();
buildCounterListLiensResponse++;
if (buildCounterListLiensResponse < 3) {
- o.liens = buildUnnamed1831();
+ o.liens = buildUnnamed1849();
o.nextPageToken = "foo";
}
buildCounterListLiensResponse--;
@@ -569,7 +569,7 @@
checkListLiensResponse(api.ListLiensResponse o) {
buildCounterListLiensResponse++;
if (buildCounterListLiensResponse < 3) {
- checkUnnamed1831(o.liens);
+ checkUnnamed1849(o.liens);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLiensResponse--;
@@ -596,14 +596,14 @@
buildCounterListOrgPoliciesRequest--;
}
-buildUnnamed1832() {
+buildUnnamed1850() {
var o = new core.List<api.OrgPolicy>();
o.add(buildOrgPolicy());
o.add(buildOrgPolicy());
return o;
}
-checkUnnamed1832(core.List<api.OrgPolicy> o) {
+checkUnnamed1850(core.List<api.OrgPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrgPolicy(o[0]);
checkOrgPolicy(o[1]);
@@ -615,7 +615,7 @@
buildCounterListOrgPoliciesResponse++;
if (buildCounterListOrgPoliciesResponse < 3) {
o.nextPageToken = "foo";
- o.policies = buildUnnamed1832();
+ o.policies = buildUnnamed1850();
}
buildCounterListOrgPoliciesResponse--;
return o;
@@ -625,32 +625,32 @@
buildCounterListOrgPoliciesResponse++;
if (buildCounterListOrgPoliciesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1832(o.policies);
+ checkUnnamed1850(o.policies);
}
buildCounterListOrgPoliciesResponse--;
}
-buildUnnamed1833() {
+buildUnnamed1851() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1833(core.List<core.String> o) {
+checkUnnamed1851(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1834() {
+buildUnnamed1852() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1834(core.List<core.String> o) {
+checkUnnamed1852(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -662,8 +662,8 @@
buildCounterListPolicy++;
if (buildCounterListPolicy < 3) {
o.allValues = "foo";
- o.allowedValues = buildUnnamed1833();
- o.deniedValues = buildUnnamed1834();
+ o.allowedValues = buildUnnamed1851();
+ o.deniedValues = buildUnnamed1852();
o.inheritFromParent = true;
o.suggestedValue = "foo";
}
@@ -675,22 +675,22 @@
buildCounterListPolicy++;
if (buildCounterListPolicy < 3) {
unittest.expect(o.allValues, unittest.equals('foo'));
- checkUnnamed1833(o.allowedValues);
- checkUnnamed1834(o.deniedValues);
+ checkUnnamed1851(o.allowedValues);
+ checkUnnamed1852(o.deniedValues);
unittest.expect(o.inheritFromParent, unittest.isTrue);
unittest.expect(o.suggestedValue, unittest.equals('foo'));
}
buildCounterListPolicy--;
}
-buildUnnamed1835() {
+buildUnnamed1853() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed1835(core.List<api.Project> o) {
+checkUnnamed1853(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -702,7 +702,7 @@
buildCounterListProjectsResponse++;
if (buildCounterListProjectsResponse < 3) {
o.nextPageToken = "foo";
- o.projects = buildUnnamed1835();
+ o.projects = buildUnnamed1853();
}
buildCounterListProjectsResponse--;
return o;
@@ -712,32 +712,32 @@
buildCounterListProjectsResponse++;
if (buildCounterListProjectsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1835(o.projects);
+ checkUnnamed1853(o.projects);
}
buildCounterListProjectsResponse--;
}
-buildUnnamed1836() {
+buildUnnamed1854() {
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;
}
-checkUnnamed1836(core.Map<core.String, core.Object> o) {
+checkUnnamed1854(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'));
}
-buildUnnamed1837() {
+buildUnnamed1855() {
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;
}
-checkUnnamed1837(core.Map<core.String, core.Object> o) {
+checkUnnamed1855(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'));
@@ -750,9 +750,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1836();
+ o.metadata = buildUnnamed1854();
o.name = "foo";
- o.response = buildUnnamed1837();
+ o.response = buildUnnamed1855();
}
buildCounterOperation--;
return o;
@@ -763,9 +763,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1836(o.metadata);
+ checkUnnamed1854(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1837(o.response);
+ checkUnnamed1855(o.response);
}
buildCounterOperation--;
}
@@ -847,27 +847,27 @@
buildCounterOrganizationOwner--;
}
-buildUnnamed1838() {
+buildUnnamed1856() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1838(core.List<api.AuditConfig> o) {
+checkUnnamed1856(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1839() {
+buildUnnamed1857() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1839(core.List<api.Binding> o) {
+checkUnnamed1857(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -878,8 +878,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed1838();
- o.bindings = buildUnnamed1839();
+ o.auditConfigs = buildUnnamed1856();
+ o.bindings = buildUnnamed1857();
o.etag = "foo";
o.version = 42;
}
@@ -890,22 +890,22 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1838(o.auditConfigs);
- checkUnnamed1839(o.bindings);
+ checkUnnamed1856(o.auditConfigs);
+ checkUnnamed1857(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed1840() {
+buildUnnamed1858() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1840(core.Map<core.String, core.String> o) {
+checkUnnamed1858(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -917,7 +917,7 @@
buildCounterProject++;
if (buildCounterProject < 3) {
o.createTime = "foo";
- o.labels = buildUnnamed1840();
+ o.labels = buildUnnamed1858();
o.lifecycleState = "foo";
o.name = "foo";
o.parent = buildResourceId();
@@ -932,7 +932,7 @@
buildCounterProject++;
if (buildCounterProject < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed1840(o.labels);
+ checkUnnamed1858(o.labels);
unittest.expect(o.lifecycleState, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkResourceId(o.parent);
@@ -1026,14 +1026,14 @@
buildCounterSearchOrganizationsRequest--;
}
-buildUnnamed1841() {
+buildUnnamed1859() {
var o = new core.List<api.Organization>();
o.add(buildOrganization());
o.add(buildOrganization());
return o;
}
-checkUnnamed1841(core.List<api.Organization> o) {
+checkUnnamed1859(core.List<api.Organization> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrganization(o[0]);
checkOrganization(o[1]);
@@ -1045,7 +1045,7 @@
buildCounterSearchOrganizationsResponse++;
if (buildCounterSearchOrganizationsResponse < 3) {
o.nextPageToken = "foo";
- o.organizations = buildUnnamed1841();
+ o.organizations = buildUnnamed1859();
}
buildCounterSearchOrganizationsResponse--;
return o;
@@ -1055,7 +1055,7 @@
buildCounterSearchOrganizationsResponse++;
if (buildCounterSearchOrganizationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1841(o.organizations);
+ checkUnnamed1859(o.organizations);
}
buildCounterSearchOrganizationsResponse--;
}
@@ -1100,30 +1100,30 @@
buildCounterSetOrgPolicyRequest--;
}
-buildUnnamed1842() {
+buildUnnamed1860() {
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;
}
-checkUnnamed1842(core.Map<core.String, core.Object> o) {
+checkUnnamed1860(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'));
}
-buildUnnamed1843() {
+buildUnnamed1861() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1842());
- o.add(buildUnnamed1842());
+ o.add(buildUnnamed1860());
+ o.add(buildUnnamed1860());
return o;
}
-checkUnnamed1843(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1861(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1842(o[0]);
- checkUnnamed1842(o[1]);
+ checkUnnamed1860(o[0]);
+ checkUnnamed1860(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1132,7 +1132,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1843();
+ o.details = buildUnnamed1861();
o.message = "foo";
}
buildCounterStatus--;
@@ -1143,20 +1143,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1843(o.details);
+ checkUnnamed1861(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed1844() {
+buildUnnamed1862() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1844(core.List<core.String> o) {
+checkUnnamed1862(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1167,7 +1167,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1844();
+ o.permissions = buildUnnamed1862();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -1176,19 +1176,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1844(o.permissions);
+ checkUnnamed1862(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1845() {
+buildUnnamed1863() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1845(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'));
@@ -1199,7 +1199,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1845();
+ o.permissions = buildUnnamed1863();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1208,7 +1208,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1845(o.permissions);
+ checkUnnamed1863(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -3042,9 +3042,9 @@
var mock = new HttpServerMock();
api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projects;
+ var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
- var arg_pageSize = 42;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3071,9 +3071,9 @@
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["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));
var h = {
@@ -3082,7 +3082,7 @@
var resp = convert.JSON.encode(buildListProjectsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListProjectsResponse response) {
+ res.list(pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListProjectsResponse response) {
checkListProjectsResponse(response);
})));
});
diff --git a/generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart b/generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart
index 53303b0..7c6deeb 100644
--- a/generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart
+++ b/generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed83() {
+buildUnnamed88() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed83(core.List<api.AuditLogConfig> o) {
+checkUnnamed88(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -69,7 +69,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed83();
+ o.auditLogConfigs = buildUnnamed88();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -79,20 +79,20 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed83(o.auditLogConfigs);
+ checkUnnamed88(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed84() {
+buildUnnamed89() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed84(core.List<core.String> o) {
+checkUnnamed89(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -103,7 +103,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed84();
+ o.exemptedMembers = buildUnnamed89();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -113,20 +113,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed84(o.exemptedMembers);
+ checkUnnamed89(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed85() {
+buildUnnamed90() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed85(core.List<core.String> o) {
+checkUnnamed90(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -137,7 +137,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed85();
+ o.members = buildUnnamed90();
o.role = "foo";
}
buildCounterBinding--;
@@ -147,7 +147,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed85(o.members);
+ checkUnnamed90(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -241,14 +241,14 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed86() {
+buildUnnamed91() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed86(core.List<api.Folder> o) {
+checkUnnamed91(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
@@ -259,7 +259,7 @@
var o = new api.ListFoldersResponse();
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- o.folders = buildUnnamed86();
+ o.folders = buildUnnamed91();
o.nextPageToken = "foo";
}
buildCounterListFoldersResponse--;
@@ -269,7 +269,7 @@
checkListFoldersResponse(api.ListFoldersResponse o) {
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- checkUnnamed86(o.folders);
+ checkUnnamed91(o.folders);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListFoldersResponse--;
@@ -294,27 +294,27 @@
buildCounterMoveFolderRequest--;
}
-buildUnnamed87() {
+buildUnnamed92() {
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;
}
-checkUnnamed87(core.Map<core.String, core.Object> o) {
+checkUnnamed92(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'));
}
-buildUnnamed88() {
+buildUnnamed93() {
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;
}
-checkUnnamed88(core.Map<core.String, core.Object> o) {
+checkUnnamed93(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'));
@@ -327,9 +327,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed87();
+ o.metadata = buildUnnamed92();
o.name = "foo";
- o.response = buildUnnamed88();
+ o.response = buildUnnamed93();
}
buildCounterOperation--;
return o;
@@ -340,34 +340,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed87(o.metadata);
+ checkUnnamed92(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed88(o.response);
+ checkUnnamed93(o.response);
}
buildCounterOperation--;
}
-buildUnnamed89() {
+buildUnnamed94() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed89(core.List<api.AuditConfig> o) {
+checkUnnamed94(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed90() {
+buildUnnamed95() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed90(core.List<api.Binding> o) {
+checkUnnamed95(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -378,8 +378,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed89();
- o.bindings = buildUnnamed90();
+ o.auditConfigs = buildUnnamed94();
+ o.bindings = buildUnnamed95();
o.etag = "foo";
o.version = 42;
}
@@ -390,8 +390,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed89(o.auditConfigs);
- checkUnnamed90(o.bindings);
+ checkUnnamed94(o.auditConfigs);
+ checkUnnamed95(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -444,14 +444,14 @@
buildCounterSearchFoldersRequest--;
}
-buildUnnamed91() {
+buildUnnamed96() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed91(core.List<api.Folder> o) {
+checkUnnamed96(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
@@ -462,7 +462,7 @@
var o = new api.SearchFoldersResponse();
buildCounterSearchFoldersResponse++;
if (buildCounterSearchFoldersResponse < 3) {
- o.folders = buildUnnamed91();
+ o.folders = buildUnnamed96();
o.nextPageToken = "foo";
}
buildCounterSearchFoldersResponse--;
@@ -472,7 +472,7 @@
checkSearchFoldersResponse(api.SearchFoldersResponse o) {
buildCounterSearchFoldersResponse++;
if (buildCounterSearchFoldersResponse < 3) {
- checkUnnamed91(o.folders);
+ checkUnnamed96(o.folders);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchFoldersResponse--;
@@ -499,30 +499,30 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed92() {
+buildUnnamed97() {
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;
}
-checkUnnamed92(core.Map<core.String, core.Object> o) {
+checkUnnamed97(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'));
}
-buildUnnamed93() {
+buildUnnamed98() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed92());
- o.add(buildUnnamed92());
+ o.add(buildUnnamed97());
+ o.add(buildUnnamed97());
return o;
}
-checkUnnamed93(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed98(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed92(o[0]);
- checkUnnamed92(o[1]);
+ checkUnnamed97(o[0]);
+ checkUnnamed97(o[1]);
}
core.int buildCounterStatus = 0;
@@ -531,7 +531,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed93();
+ o.details = buildUnnamed98();
o.message = "foo";
}
buildCounterStatus--;
@@ -542,20 +542,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed93(o.details);
+ checkUnnamed98(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed94() {
+buildUnnamed99() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed94(core.List<core.String> o) {
+checkUnnamed99(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -566,7 +566,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed94();
+ o.permissions = buildUnnamed99();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -575,19 +575,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed94(o.permissions);
+ checkUnnamed99(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed95() {
+buildUnnamed100() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed95(core.List<core.String> o) {
+checkUnnamed100(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -598,7 +598,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed95();
+ o.permissions = buildUnnamed100();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -607,7 +607,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed95(o.permissions);
+ checkUnnamed100(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
diff --git a/generated/googleapis/test/cloudtrace/v1_test.dart b/generated/googleapis/test/cloudtrace/v1_test.dart
index 2c44fae..418fb4e 100644
--- a/generated/googleapis/test/cloudtrace/v1_test.dart
+++ b/generated/googleapis/test/cloudtrace/v1_test.dart
@@ -68,14 +68,14 @@
buildCounterEmpty--;
}
-buildUnnamed205() {
+buildUnnamed210() {
var o = new core.List<api.Trace>();
o.add(buildTrace());
o.add(buildTrace());
return o;
}
-checkUnnamed205(core.List<api.Trace> o) {
+checkUnnamed210(core.List<api.Trace> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrace(o[0]);
checkTrace(o[1]);
@@ -87,7 +87,7 @@
buildCounterListTracesResponse++;
if (buildCounterListTracesResponse < 3) {
o.nextPageToken = "foo";
- o.traces = buildUnnamed205();
+ o.traces = buildUnnamed210();
}
buildCounterListTracesResponse--;
return o;
@@ -97,19 +97,19 @@
buildCounterListTracesResponse++;
if (buildCounterListTracesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed205(o.traces);
+ checkUnnamed210(o.traces);
}
buildCounterListTracesResponse--;
}
-buildUnnamed206() {
+buildUnnamed211() {
var o = new core.List<api.TraceSpan>();
o.add(buildTraceSpan());
o.add(buildTraceSpan());
return o;
}
-checkUnnamed206(core.List<api.TraceSpan> o) {
+checkUnnamed211(core.List<api.TraceSpan> o) {
unittest.expect(o, unittest.hasLength(2));
checkTraceSpan(o[0]);
checkTraceSpan(o[1]);
@@ -121,7 +121,7 @@
buildCounterTrace++;
if (buildCounterTrace < 3) {
o.projectId = "foo";
- o.spans = buildUnnamed206();
+ o.spans = buildUnnamed211();
o.traceId = "foo";
}
buildCounterTrace--;
@@ -132,20 +132,20 @@
buildCounterTrace++;
if (buildCounterTrace < 3) {
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed206(o.spans);
+ checkUnnamed211(o.spans);
unittest.expect(o.traceId, unittest.equals('foo'));
}
buildCounterTrace--;
}
-buildUnnamed207() {
+buildUnnamed212() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed207(core.Map<core.String, core.String> o) {
+checkUnnamed212(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -158,7 +158,7 @@
if (buildCounterTraceSpan < 3) {
o.endTime = "foo";
o.kind = "foo";
- o.labels = buildUnnamed207();
+ o.labels = buildUnnamed212();
o.name = "foo";
o.parentSpanId = "foo";
o.spanId = "foo";
@@ -173,7 +173,7 @@
if (buildCounterTraceSpan < 3) {
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed207(o.labels);
+ checkUnnamed212(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentSpanId, unittest.equals('foo'));
unittest.expect(o.spanId, unittest.equals('foo'));
@@ -182,14 +182,14 @@
buildCounterTraceSpan--;
}
-buildUnnamed208() {
+buildUnnamed213() {
var o = new core.List<api.Trace>();
o.add(buildTrace());
o.add(buildTrace());
return o;
}
-checkUnnamed208(core.List<api.Trace> o) {
+checkUnnamed213(core.List<api.Trace> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrace(o[0]);
checkTrace(o[1]);
@@ -200,7 +200,7 @@
var o = new api.Traces();
buildCounterTraces++;
if (buildCounterTraces < 3) {
- o.traces = buildUnnamed208();
+ o.traces = buildUnnamed213();
}
buildCounterTraces--;
return o;
@@ -209,7 +209,7 @@
checkTraces(api.Traces o) {
buildCounterTraces++;
if (buildCounterTraces < 3) {
- checkUnnamed208(o.traces);
+ checkUnnamed213(o.traces);
}
buildCounterTraces--;
}
@@ -381,13 +381,13 @@
var mock = new HttpServerMock();
api.ProjectsTracesResourceApi res = new api.CloudtraceApi(mock).projects.traces;
var arg_projectId = "foo";
- var arg_orderBy = "foo";
var arg_filter = "foo";
var arg_endTime = "foo";
var arg_pageToken = "foo";
var arg_startTime = "foo";
var arg_pageSize = 42;
var arg_view = "foo";
+ var arg_orderBy = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -421,13 +421,13 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["endTime"].first, unittest.equals(arg_endTime));
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));
+ unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
var h = {
@@ -436,7 +436,7 @@
var resp = convert.JSON.encode(buildListTracesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, orderBy: arg_orderBy, filter: arg_filter, endTime: arg_endTime, pageToken: arg_pageToken, startTime: arg_startTime, pageSize: arg_pageSize, view: arg_view).then(unittest.expectAsync1(((api.ListTracesResponse response) {
+ res.list(arg_projectId, filter: arg_filter, endTime: arg_endTime, pageToken: arg_pageToken, startTime: arg_startTime, pageSize: arg_pageSize, view: arg_view, orderBy: arg_orderBy).then(unittest.expectAsync1(((api.ListTracesResponse response) {
checkListTracesResponse(response);
})));
});
diff --git a/generated/googleapis/test/cloudtrace/v2_test.dart b/generated/googleapis/test/cloudtrace/v2_test.dart
index 67d28e4..5c27958 100644
--- a/generated/googleapis/test/cloudtrace/v2_test.dart
+++ b/generated/googleapis/test/cloudtrace/v2_test.dart
@@ -95,14 +95,14 @@
buildCounterAttributeValue--;
}
-buildUnnamed1087() {
+buildUnnamed1104() {
var o = new core.Map<core.String, api.AttributeValue>();
o["x"] = buildAttributeValue();
o["y"] = buildAttributeValue();
return o;
}
-checkUnnamed1087(core.Map<core.String, api.AttributeValue> o) {
+checkUnnamed1104(core.Map<core.String, api.AttributeValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttributeValue(o["x"]);
checkAttributeValue(o["y"]);
@@ -113,7 +113,7 @@
var o = new api.Attributes();
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- o.attributeMap = buildUnnamed1087();
+ o.attributeMap = buildUnnamed1104();
o.droppedAttributesCount = 42;
}
buildCounterAttributes--;
@@ -123,20 +123,20 @@
checkAttributes(api.Attributes o) {
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- checkUnnamed1087(o.attributeMap);
+ checkUnnamed1104(o.attributeMap);
unittest.expect(o.droppedAttributesCount, unittest.equals(42));
}
buildCounterAttributes--;
}
-buildUnnamed1088() {
+buildUnnamed1105() {
var o = new core.List<api.Span>();
o.add(buildSpan());
o.add(buildSpan());
return o;
}
-checkUnnamed1088(core.List<api.Span> o) {
+checkUnnamed1105(core.List<api.Span> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpan(o[0]);
checkSpan(o[1]);
@@ -147,7 +147,7 @@
var o = new api.BatchWriteSpansRequest();
buildCounterBatchWriteSpansRequest++;
if (buildCounterBatchWriteSpansRequest < 3) {
- o.spans = buildUnnamed1088();
+ o.spans = buildUnnamed1105();
}
buildCounterBatchWriteSpansRequest--;
return o;
@@ -156,7 +156,7 @@
checkBatchWriteSpansRequest(api.BatchWriteSpansRequest o) {
buildCounterBatchWriteSpansRequest++;
if (buildCounterBatchWriteSpansRequest < 3) {
- checkUnnamed1088(o.spans);
+ checkUnnamed1105(o.spans);
}
buildCounterBatchWriteSpansRequest--;
}
@@ -203,14 +203,14 @@
buildCounterLink--;
}
-buildUnnamed1089() {
+buildUnnamed1106() {
var o = new core.List<api.Link>();
o.add(buildLink());
o.add(buildLink());
return o;
}
-checkUnnamed1089(core.List<api.Link> o) {
+checkUnnamed1106(core.List<api.Link> o) {
unittest.expect(o, unittest.hasLength(2));
checkLink(o[0]);
checkLink(o[1]);
@@ -222,7 +222,7 @@
buildCounterLinks++;
if (buildCounterLinks < 3) {
o.droppedLinksCount = 42;
- o.link = buildUnnamed1089();
+ o.link = buildUnnamed1106();
}
buildCounterLinks--;
return o;
@@ -232,19 +232,19 @@
buildCounterLinks++;
if (buildCounterLinks < 3) {
unittest.expect(o.droppedLinksCount, unittest.equals(42));
- checkUnnamed1089(o.link);
+ checkUnnamed1106(o.link);
}
buildCounterLinks--;
}
-buildUnnamed1090() {
+buildUnnamed1107() {
var o = new core.List<api.Span>();
o.add(buildSpan());
o.add(buildSpan());
return o;
}
-checkUnnamed1090(core.List<api.Span> o) {
+checkUnnamed1107(core.List<api.Span> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpan(o[0]);
checkSpan(o[1]);
@@ -256,7 +256,7 @@
buildCounterListSpansResponse++;
if (buildCounterListSpansResponse < 3) {
o.nextPageToken = "foo";
- o.spans = buildUnnamed1090();
+ o.spans = buildUnnamed1107();
}
buildCounterListSpansResponse--;
return o;
@@ -266,19 +266,19 @@
buildCounterListSpansResponse++;
if (buildCounterListSpansResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1090(o.spans);
+ checkUnnamed1107(o.spans);
}
buildCounterListSpansResponse--;
}
-buildUnnamed1091() {
+buildUnnamed1108() {
var o = new core.List<api.Trace>();
o.add(buildTrace());
o.add(buildTrace());
return o;
}
-checkUnnamed1091(core.List<api.Trace> o) {
+checkUnnamed1108(core.List<api.Trace> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrace(o[0]);
checkTrace(o[1]);
@@ -290,7 +290,7 @@
buildCounterListTracesResponse++;
if (buildCounterListTracesResponse < 3) {
o.nextPageToken = "foo";
- o.traces = buildUnnamed1091();
+ o.traces = buildUnnamed1108();
}
buildCounterListTracesResponse--;
return o;
@@ -300,7 +300,7 @@
buildCounterListTracesResponse++;
if (buildCounterListTracesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1091(o.traces);
+ checkUnnamed1108(o.traces);
}
buildCounterListTracesResponse--;
}
@@ -425,14 +425,14 @@
buildCounterStackFrame--;
}
-buildUnnamed1092() {
+buildUnnamed1109() {
var o = new core.List<api.StackFrame>();
o.add(buildStackFrame());
o.add(buildStackFrame());
return o;
}
-checkUnnamed1092(core.List<api.StackFrame> o) {
+checkUnnamed1109(core.List<api.StackFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkStackFrame(o[0]);
checkStackFrame(o[1]);
@@ -444,7 +444,7 @@
buildCounterStackFrames++;
if (buildCounterStackFrames < 3) {
o.droppedFramesCount = 42;
- o.frame = buildUnnamed1092();
+ o.frame = buildUnnamed1109();
}
buildCounterStackFrames--;
return o;
@@ -454,7 +454,7 @@
buildCounterStackFrames++;
if (buildCounterStackFrames < 3) {
unittest.expect(o.droppedFramesCount, unittest.equals(42));
- checkUnnamed1092(o.frame);
+ checkUnnamed1109(o.frame);
}
buildCounterStackFrames--;
}
@@ -480,30 +480,30 @@
buildCounterStackTrace--;
}
-buildUnnamed1093() {
+buildUnnamed1110() {
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;
}
-checkUnnamed1093(core.Map<core.String, core.Object> o) {
+checkUnnamed1110(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'));
}
-buildUnnamed1094() {
+buildUnnamed1111() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1093());
- o.add(buildUnnamed1093());
+ o.add(buildUnnamed1110());
+ o.add(buildUnnamed1110());
return o;
}
-checkUnnamed1094(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1111(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1093(o[0]);
- checkUnnamed1093(o[1]);
+ checkUnnamed1110(o[0]);
+ checkUnnamed1110(o[1]);
}
core.int buildCounterStatus = 0;
@@ -512,7 +512,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1094();
+ o.details = buildUnnamed1111();
o.message = "foo";
}
buildCounterStatus--;
@@ -523,7 +523,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1094(o.details);
+ checkUnnamed1111(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -552,14 +552,14 @@
buildCounterTimeEvent--;
}
-buildUnnamed1095() {
+buildUnnamed1112() {
var o = new core.List<api.TimeEvent>();
o.add(buildTimeEvent());
o.add(buildTimeEvent());
return o;
}
-checkUnnamed1095(core.List<api.TimeEvent> o) {
+checkUnnamed1112(core.List<api.TimeEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeEvent(o[0]);
checkTimeEvent(o[1]);
@@ -572,7 +572,7 @@
if (buildCounterTimeEvents < 3) {
o.droppedAnnotationsCount = 42;
o.droppedNetworkEventsCount = 42;
- o.timeEvent = buildUnnamed1095();
+ o.timeEvent = buildUnnamed1112();
}
buildCounterTimeEvents--;
return o;
@@ -583,7 +583,7 @@
if (buildCounterTimeEvents < 3) {
unittest.expect(o.droppedAnnotationsCount, unittest.equals(42));
unittest.expect(o.droppedNetworkEventsCount, unittest.equals(42));
- checkUnnamed1095(o.timeEvent);
+ checkUnnamed1112(o.timeEvent);
}
buildCounterTimeEvents--;
}
@@ -865,12 +865,12 @@
var mock = new HttpServerMock();
api.ProjectsTracesResourceApi res = new api.CloudtraceApi(mock).projects.traces;
var arg_parent = "foo";
- var arg_orderBy = "foo";
var arg_filter = "foo";
var arg_endTime = "foo";
var arg_startTime = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_orderBy = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -898,12 +898,12 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(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(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy));
var h = {
@@ -912,7 +912,7 @@
var resp = convert.JSON.encode(buildListTracesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, orderBy: arg_orderBy, filter: arg_filter, endTime: arg_endTime, startTime: arg_startTime, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListTracesResponse response) {
+ res.list(arg_parent, filter: arg_filter, endTime: arg_endTime, startTime: arg_startTime, pageToken: arg_pageToken, pageSize: arg_pageSize, orderBy: arg_orderBy).then(unittest.expectAsync1(((api.ListTracesResponse response) {
checkListTracesResponse(response);
})));
});
diff --git a/generated/googleapis/test/compute/v1_test.dart b/generated/googleapis/test/compute/v1_test.dart
index 0178e83..920b31f 100644
--- a/generated/googleapis/test/compute/v1_test.dart
+++ b/generated/googleapis/test/compute/v1_test.dart
@@ -107,14 +107,14 @@
buildCounterAcceleratorType--;
}
-buildUnnamed2221() {
+buildUnnamed2239() {
var o = new core.Map<core.String, api.AcceleratorTypesScopedList>();
o["x"] = buildAcceleratorTypesScopedList();
o["y"] = buildAcceleratorTypesScopedList();
return o;
}
-checkUnnamed2221(core.Map<core.String, api.AcceleratorTypesScopedList> o) {
+checkUnnamed2239(core.Map<core.String, api.AcceleratorTypesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorTypesScopedList(o["x"]);
checkAcceleratorTypesScopedList(o["y"]);
@@ -126,7 +126,7 @@
buildCounterAcceleratorTypeAggregatedList++;
if (buildCounterAcceleratorTypeAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2221();
+ o.items = buildUnnamed2239();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -139,7 +139,7 @@
buildCounterAcceleratorTypeAggregatedList++;
if (buildCounterAcceleratorTypeAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2221(o.items);
+ checkUnnamed2239(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -147,14 +147,14 @@
buildCounterAcceleratorTypeAggregatedList--;
}
-buildUnnamed2222() {
+buildUnnamed2240() {
var o = new core.List<api.AcceleratorType>();
o.add(buildAcceleratorType());
o.add(buildAcceleratorType());
return o;
}
-checkUnnamed2222(core.List<api.AcceleratorType> o) {
+checkUnnamed2240(core.List<api.AcceleratorType> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorType(o[0]);
checkAcceleratorType(o[1]);
@@ -166,7 +166,7 @@
buildCounterAcceleratorTypeList++;
if (buildCounterAcceleratorTypeList < 3) {
o.id = "foo";
- o.items = buildUnnamed2222();
+ o.items = buildUnnamed2240();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -179,7 +179,7 @@
buildCounterAcceleratorTypeList++;
if (buildCounterAcceleratorTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2222(o.items);
+ checkUnnamed2240(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -187,14 +187,14 @@
buildCounterAcceleratorTypeList--;
}
-buildUnnamed2223() {
+buildUnnamed2241() {
var o = new core.List<api.AcceleratorType>();
o.add(buildAcceleratorType());
o.add(buildAcceleratorType());
return o;
}
-checkUnnamed2223(core.List<api.AcceleratorType> o) {
+checkUnnamed2241(core.List<api.AcceleratorType> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorType(o[0]);
checkAcceleratorType(o[1]);
@@ -221,14 +221,14 @@
buildCounterAcceleratorTypesScopedListWarningData--;
}
-buildUnnamed2224() {
+buildUnnamed2242() {
var o = new core.List<api.AcceleratorTypesScopedListWarningData>();
o.add(buildAcceleratorTypesScopedListWarningData());
o.add(buildAcceleratorTypesScopedListWarningData());
return o;
}
-checkUnnamed2224(core.List<api.AcceleratorTypesScopedListWarningData> o) {
+checkUnnamed2242(core.List<api.AcceleratorTypesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorTypesScopedListWarningData(o[0]);
checkAcceleratorTypesScopedListWarningData(o[1]);
@@ -240,7 +240,7 @@
buildCounterAcceleratorTypesScopedListWarning++;
if (buildCounterAcceleratorTypesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2224();
+ o.data = buildUnnamed2242();
o.message = "foo";
}
buildCounterAcceleratorTypesScopedListWarning--;
@@ -251,7 +251,7 @@
buildCounterAcceleratorTypesScopedListWarning++;
if (buildCounterAcceleratorTypesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2224(o.data);
+ checkUnnamed2242(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAcceleratorTypesScopedListWarning--;
@@ -262,7 +262,7 @@
var o = new api.AcceleratorTypesScopedList();
buildCounterAcceleratorTypesScopedList++;
if (buildCounterAcceleratorTypesScopedList < 3) {
- o.acceleratorTypes = buildUnnamed2223();
+ o.acceleratorTypes = buildUnnamed2241();
o.warning = buildAcceleratorTypesScopedListWarning();
}
buildCounterAcceleratorTypesScopedList--;
@@ -272,7 +272,7 @@
checkAcceleratorTypesScopedList(api.AcceleratorTypesScopedList o) {
buildCounterAcceleratorTypesScopedList++;
if (buildCounterAcceleratorTypesScopedList < 3) {
- checkUnnamed2223(o.acceleratorTypes);
+ checkUnnamed2241(o.acceleratorTypes);
checkAcceleratorTypesScopedListWarning(o.warning);
}
buildCounterAcceleratorTypesScopedList--;
@@ -303,14 +303,14 @@
buildCounterAccessConfig--;
}
-buildUnnamed2225() {
+buildUnnamed2243() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2225(core.List<core.String> o) {
+checkUnnamed2243(core.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 @@
o.region = "foo";
o.selfLink = "foo";
o.status = "foo";
- o.users = buildUnnamed2225();
+ o.users = buildUnnamed2243();
}
buildCounterAddress--;
return o;
@@ -350,19 +350,19 @@
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed2225(o.users);
+ checkUnnamed2243(o.users);
}
buildCounterAddress--;
}
-buildUnnamed2226() {
+buildUnnamed2244() {
var o = new core.Map<core.String, api.AddressesScopedList>();
o["x"] = buildAddressesScopedList();
o["y"] = buildAddressesScopedList();
return o;
}
-checkUnnamed2226(core.Map<core.String, api.AddressesScopedList> o) {
+checkUnnamed2244(core.Map<core.String, api.AddressesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddressesScopedList(o["x"]);
checkAddressesScopedList(o["y"]);
@@ -374,7 +374,7 @@
buildCounterAddressAggregatedList++;
if (buildCounterAddressAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2226();
+ o.items = buildUnnamed2244();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -387,7 +387,7 @@
buildCounterAddressAggregatedList++;
if (buildCounterAddressAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2226(o.items);
+ checkUnnamed2244(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -395,14 +395,14 @@
buildCounterAddressAggregatedList--;
}
-buildUnnamed2227() {
+buildUnnamed2245() {
var o = new core.List<api.Address>();
o.add(buildAddress());
o.add(buildAddress());
return o;
}
-checkUnnamed2227(core.List<api.Address> o) {
+checkUnnamed2245(core.List<api.Address> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddress(o[0]);
checkAddress(o[1]);
@@ -414,7 +414,7 @@
buildCounterAddressList++;
if (buildCounterAddressList < 3) {
o.id = "foo";
- o.items = buildUnnamed2227();
+ o.items = buildUnnamed2245();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -427,7 +427,7 @@
buildCounterAddressList++;
if (buildCounterAddressList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2227(o.items);
+ checkUnnamed2245(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -435,14 +435,14 @@
buildCounterAddressList--;
}
-buildUnnamed2228() {
+buildUnnamed2246() {
var o = new core.List<api.Address>();
o.add(buildAddress());
o.add(buildAddress());
return o;
}
-checkUnnamed2228(core.List<api.Address> o) {
+checkUnnamed2246(core.List<api.Address> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddress(o[0]);
checkAddress(o[1]);
@@ -469,14 +469,14 @@
buildCounterAddressesScopedListWarningData--;
}
-buildUnnamed2229() {
+buildUnnamed2247() {
var o = new core.List<api.AddressesScopedListWarningData>();
o.add(buildAddressesScopedListWarningData());
o.add(buildAddressesScopedListWarningData());
return o;
}
-checkUnnamed2229(core.List<api.AddressesScopedListWarningData> o) {
+checkUnnamed2247(core.List<api.AddressesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddressesScopedListWarningData(o[0]);
checkAddressesScopedListWarningData(o[1]);
@@ -488,7 +488,7 @@
buildCounterAddressesScopedListWarning++;
if (buildCounterAddressesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2229();
+ o.data = buildUnnamed2247();
o.message = "foo";
}
buildCounterAddressesScopedListWarning--;
@@ -499,7 +499,7 @@
buildCounterAddressesScopedListWarning++;
if (buildCounterAddressesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2229(o.data);
+ checkUnnamed2247(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAddressesScopedListWarning--;
@@ -510,7 +510,7 @@
var o = new api.AddressesScopedList();
buildCounterAddressesScopedList++;
if (buildCounterAddressesScopedList < 3) {
- o.addresses = buildUnnamed2228();
+ o.addresses = buildUnnamed2246();
o.warning = buildAddressesScopedListWarning();
}
buildCounterAddressesScopedList--;
@@ -520,7 +520,7 @@
checkAddressesScopedList(api.AddressesScopedList o) {
buildCounterAddressesScopedList++;
if (buildCounterAddressesScopedList < 3) {
- checkUnnamed2228(o.addresses);
+ checkUnnamed2246(o.addresses);
checkAddressesScopedListWarning(o.warning);
}
buildCounterAddressesScopedList--;
@@ -547,14 +547,14 @@
buildCounterAliasIpRange--;
}
-buildUnnamed2230() {
+buildUnnamed2248() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2230(core.List<core.String> o) {
+checkUnnamed2248(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -573,7 +573,7 @@
o.initializeParams = buildAttachedDiskInitializeParams();
o.interface = "foo";
o.kind = "foo";
- o.licenses = buildUnnamed2230();
+ o.licenses = buildUnnamed2248();
o.mode = "foo";
o.source = "foo";
o.type = "foo";
@@ -593,7 +593,7 @@
checkAttachedDiskInitializeParams(o.initializeParams);
unittest.expect(o.interface, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2230(o.licenses);
+ checkUnnamed2248(o.licenses);
unittest.expect(o.mode, unittest.equals('foo'));
unittest.expect(o.source, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -628,14 +628,14 @@
buildCounterAttachedDiskInitializeParams--;
}
-buildUnnamed2231() {
+buildUnnamed2249() {
var o = new core.List<api.AutoscalerStatusDetails>();
o.add(buildAutoscalerStatusDetails());
o.add(buildAutoscalerStatusDetails());
return o;
}
-checkUnnamed2231(core.List<api.AutoscalerStatusDetails> o) {
+checkUnnamed2249(core.List<api.AutoscalerStatusDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalerStatusDetails(o[0]);
checkAutoscalerStatusDetails(o[1]);
@@ -655,7 +655,7 @@
o.region = "foo";
o.selfLink = "foo";
o.status = "foo";
- o.statusDetails = buildUnnamed2231();
+ o.statusDetails = buildUnnamed2249();
o.target = "foo";
o.zone = "foo";
}
@@ -675,21 +675,21 @@
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed2231(o.statusDetails);
+ checkUnnamed2249(o.statusDetails);
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterAutoscaler--;
}
-buildUnnamed2232() {
+buildUnnamed2250() {
var o = new core.Map<core.String, api.AutoscalersScopedList>();
o["x"] = buildAutoscalersScopedList();
o["y"] = buildAutoscalersScopedList();
return o;
}
-checkUnnamed2232(core.Map<core.String, api.AutoscalersScopedList> o) {
+checkUnnamed2250(core.Map<core.String, api.AutoscalersScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalersScopedList(o["x"]);
checkAutoscalersScopedList(o["y"]);
@@ -701,7 +701,7 @@
buildCounterAutoscalerAggregatedList++;
if (buildCounterAutoscalerAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2232();
+ o.items = buildUnnamed2250();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -714,7 +714,7 @@
buildCounterAutoscalerAggregatedList++;
if (buildCounterAutoscalerAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2232(o.items);
+ checkUnnamed2250(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -722,14 +722,14 @@
buildCounterAutoscalerAggregatedList--;
}
-buildUnnamed2233() {
+buildUnnamed2251() {
var o = new core.List<api.Autoscaler>();
o.add(buildAutoscaler());
o.add(buildAutoscaler());
return o;
}
-checkUnnamed2233(core.List<api.Autoscaler> o) {
+checkUnnamed2251(core.List<api.Autoscaler> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscaler(o[0]);
checkAutoscaler(o[1]);
@@ -741,7 +741,7 @@
buildCounterAutoscalerList++;
if (buildCounterAutoscalerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2233();
+ o.items = buildUnnamed2251();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -754,7 +754,7 @@
buildCounterAutoscalerList++;
if (buildCounterAutoscalerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2233(o.items);
+ checkUnnamed2251(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -783,14 +783,14 @@
buildCounterAutoscalerStatusDetails--;
}
-buildUnnamed2234() {
+buildUnnamed2252() {
var o = new core.List<api.Autoscaler>();
o.add(buildAutoscaler());
o.add(buildAutoscaler());
return o;
}
-checkUnnamed2234(core.List<api.Autoscaler> o) {
+checkUnnamed2252(core.List<api.Autoscaler> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscaler(o[0]);
checkAutoscaler(o[1]);
@@ -817,14 +817,14 @@
buildCounterAutoscalersScopedListWarningData--;
}
-buildUnnamed2235() {
+buildUnnamed2253() {
var o = new core.List<api.AutoscalersScopedListWarningData>();
o.add(buildAutoscalersScopedListWarningData());
o.add(buildAutoscalersScopedListWarningData());
return o;
}
-checkUnnamed2235(core.List<api.AutoscalersScopedListWarningData> o) {
+checkUnnamed2253(core.List<api.AutoscalersScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalersScopedListWarningData(o[0]);
checkAutoscalersScopedListWarningData(o[1]);
@@ -836,7 +836,7 @@
buildCounterAutoscalersScopedListWarning++;
if (buildCounterAutoscalersScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2235();
+ o.data = buildUnnamed2253();
o.message = "foo";
}
buildCounterAutoscalersScopedListWarning--;
@@ -847,7 +847,7 @@
buildCounterAutoscalersScopedListWarning++;
if (buildCounterAutoscalersScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2235(o.data);
+ checkUnnamed2253(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAutoscalersScopedListWarning--;
@@ -858,7 +858,7 @@
var o = new api.AutoscalersScopedList();
buildCounterAutoscalersScopedList++;
if (buildCounterAutoscalersScopedList < 3) {
- o.autoscalers = buildUnnamed2234();
+ o.autoscalers = buildUnnamed2252();
o.warning = buildAutoscalersScopedListWarning();
}
buildCounterAutoscalersScopedList--;
@@ -868,20 +868,20 @@
checkAutoscalersScopedList(api.AutoscalersScopedList o) {
buildCounterAutoscalersScopedList++;
if (buildCounterAutoscalersScopedList < 3) {
- checkUnnamed2234(o.autoscalers);
+ checkUnnamed2252(o.autoscalers);
checkAutoscalersScopedListWarning(o.warning);
}
buildCounterAutoscalersScopedList--;
}
-buildUnnamed2236() {
+buildUnnamed2254() {
var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>();
o.add(buildAutoscalingPolicyCustomMetricUtilization());
o.add(buildAutoscalingPolicyCustomMetricUtilization());
return o;
}
-checkUnnamed2236(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) {
+checkUnnamed2254(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalingPolicyCustomMetricUtilization(o[0]);
checkAutoscalingPolicyCustomMetricUtilization(o[1]);
@@ -894,7 +894,7 @@
if (buildCounterAutoscalingPolicy < 3) {
o.coolDownPeriodSec = 42;
o.cpuUtilization = buildAutoscalingPolicyCpuUtilization();
- o.customMetricUtilizations = buildUnnamed2236();
+ o.customMetricUtilizations = buildUnnamed2254();
o.loadBalancingUtilization = buildAutoscalingPolicyLoadBalancingUtilization();
o.maxNumReplicas = 42;
o.minNumReplicas = 42;
@@ -908,7 +908,7 @@
if (buildCounterAutoscalingPolicy < 3) {
unittest.expect(o.coolDownPeriodSec, unittest.equals(42));
checkAutoscalingPolicyCpuUtilization(o.cpuUtilization);
- checkUnnamed2236(o.customMetricUtilizations);
+ checkUnnamed2254(o.customMetricUtilizations);
checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization);
unittest.expect(o.maxNumReplicas, unittest.equals(42));
unittest.expect(o.minNumReplicas, unittest.equals(42));
@@ -1045,14 +1045,14 @@
buildCounterBackendBucket--;
}
-buildUnnamed2237() {
+buildUnnamed2255() {
var o = new core.List<api.BackendBucket>();
o.add(buildBackendBucket());
o.add(buildBackendBucket());
return o;
}
-checkUnnamed2237(core.List<api.BackendBucket> o) {
+checkUnnamed2255(core.List<api.BackendBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendBucket(o[0]);
checkBackendBucket(o[1]);
@@ -1064,7 +1064,7 @@
buildCounterBackendBucketList++;
if (buildCounterBackendBucketList < 3) {
o.id = "foo";
- o.items = buildUnnamed2237();
+ o.items = buildUnnamed2255();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1077,7 +1077,7 @@
buildCounterBackendBucketList++;
if (buildCounterBackendBucketList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2237(o.items);
+ checkUnnamed2255(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1085,27 +1085,27 @@
buildCounterBackendBucketList--;
}
-buildUnnamed2238() {
+buildUnnamed2256() {
var o = new core.List<api.Backend>();
o.add(buildBackend());
o.add(buildBackend());
return o;
}
-checkUnnamed2238(core.List<api.Backend> o) {
+checkUnnamed2256(core.List<api.Backend> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackend(o[0]);
checkBackend(o[1]);
}
-buildUnnamed2239() {
+buildUnnamed2257() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2239(core.List<core.String> o) {
+checkUnnamed2257(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1117,14 +1117,14 @@
buildCounterBackendService++;
if (buildCounterBackendService < 3) {
o.affinityCookieTtlSec = 42;
- o.backends = buildUnnamed2238();
+ o.backends = buildUnnamed2256();
o.cdnPolicy = buildBackendServiceCdnPolicy();
o.connectionDraining = buildConnectionDraining();
o.creationTimestamp = "foo";
o.description = "foo";
o.enableCDN = true;
o.fingerprint = "foo";
- o.healthChecks = buildUnnamed2239();
+ o.healthChecks = buildUnnamed2257();
o.iap = buildBackendServiceIAP();
o.id = "foo";
o.kind = "foo";
@@ -1146,14 +1146,14 @@
buildCounterBackendService++;
if (buildCounterBackendService < 3) {
unittest.expect(o.affinityCookieTtlSec, unittest.equals(42));
- checkUnnamed2238(o.backends);
+ checkUnnamed2256(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'));
- checkUnnamed2239(o.healthChecks);
+ checkUnnamed2257(o.healthChecks);
checkBackendServiceIAP(o.iap);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1170,14 +1170,14 @@
buildCounterBackendService--;
}
-buildUnnamed2240() {
+buildUnnamed2258() {
var o = new core.Map<core.String, api.BackendServicesScopedList>();
o["x"] = buildBackendServicesScopedList();
o["y"] = buildBackendServicesScopedList();
return o;
}
-checkUnnamed2240(core.Map<core.String, api.BackendServicesScopedList> o) {
+checkUnnamed2258(core.Map<core.String, api.BackendServicesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendServicesScopedList(o["x"]);
checkBackendServicesScopedList(o["y"]);
@@ -1189,7 +1189,7 @@
buildCounterBackendServiceAggregatedList++;
if (buildCounterBackendServiceAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2240();
+ o.items = buildUnnamed2258();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1202,7 +1202,7 @@
buildCounterBackendServiceAggregatedList++;
if (buildCounterBackendServiceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2240(o.items);
+ checkUnnamed2258(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1229,14 +1229,14 @@
buildCounterBackendServiceCdnPolicy--;
}
-buildUnnamed2241() {
+buildUnnamed2259() {
var o = new core.List<api.HealthStatus>();
o.add(buildHealthStatus());
o.add(buildHealthStatus());
return o;
}
-checkUnnamed2241(core.List<api.HealthStatus> o) {
+checkUnnamed2259(core.List<api.HealthStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthStatus(o[0]);
checkHealthStatus(o[1]);
@@ -1247,7 +1247,7 @@
var o = new api.BackendServiceGroupHealth();
buildCounterBackendServiceGroupHealth++;
if (buildCounterBackendServiceGroupHealth < 3) {
- o.healthStatus = buildUnnamed2241();
+ o.healthStatus = buildUnnamed2259();
o.kind = "foo";
}
buildCounterBackendServiceGroupHealth--;
@@ -1257,7 +1257,7 @@
checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) {
buildCounterBackendServiceGroupHealth++;
if (buildCounterBackendServiceGroupHealth < 3) {
- checkUnnamed2241(o.healthStatus);
+ checkUnnamed2259(o.healthStatus);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBackendServiceGroupHealth--;
@@ -1288,14 +1288,14 @@
buildCounterBackendServiceIAP--;
}
-buildUnnamed2242() {
+buildUnnamed2260() {
var o = new core.List<api.BackendService>();
o.add(buildBackendService());
o.add(buildBackendService());
return o;
}
-checkUnnamed2242(core.List<api.BackendService> o) {
+checkUnnamed2260(core.List<api.BackendService> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendService(o[0]);
checkBackendService(o[1]);
@@ -1307,7 +1307,7 @@
buildCounterBackendServiceList++;
if (buildCounterBackendServiceList < 3) {
o.id = "foo";
- o.items = buildUnnamed2242();
+ o.items = buildUnnamed2260();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1320,7 +1320,7 @@
buildCounterBackendServiceList++;
if (buildCounterBackendServiceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2242(o.items);
+ checkUnnamed2260(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1328,14 +1328,14 @@
buildCounterBackendServiceList--;
}
-buildUnnamed2243() {
+buildUnnamed2261() {
var o = new core.List<api.BackendService>();
o.add(buildBackendService());
o.add(buildBackendService());
return o;
}
-checkUnnamed2243(core.List<api.BackendService> o) {
+checkUnnamed2261(core.List<api.BackendService> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendService(o[0]);
checkBackendService(o[1]);
@@ -1362,14 +1362,14 @@
buildCounterBackendServicesScopedListWarningData--;
}
-buildUnnamed2244() {
+buildUnnamed2262() {
var o = new core.List<api.BackendServicesScopedListWarningData>();
o.add(buildBackendServicesScopedListWarningData());
o.add(buildBackendServicesScopedListWarningData());
return o;
}
-checkUnnamed2244(core.List<api.BackendServicesScopedListWarningData> o) {
+checkUnnamed2262(core.List<api.BackendServicesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendServicesScopedListWarningData(o[0]);
checkBackendServicesScopedListWarningData(o[1]);
@@ -1381,7 +1381,7 @@
buildCounterBackendServicesScopedListWarning++;
if (buildCounterBackendServicesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2244();
+ o.data = buildUnnamed2262();
o.message = "foo";
}
buildCounterBackendServicesScopedListWarning--;
@@ -1392,7 +1392,7 @@
buildCounterBackendServicesScopedListWarning++;
if (buildCounterBackendServicesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2244(o.data);
+ checkUnnamed2262(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterBackendServicesScopedListWarning--;
@@ -1403,7 +1403,7 @@
var o = new api.BackendServicesScopedList();
buildCounterBackendServicesScopedList++;
if (buildCounterBackendServicesScopedList < 3) {
- o.backendServices = buildUnnamed2243();
+ o.backendServices = buildUnnamed2261();
o.warning = buildBackendServicesScopedListWarning();
}
buildCounterBackendServicesScopedList--;
@@ -1413,7 +1413,7 @@
checkBackendServicesScopedList(api.BackendServicesScopedList o) {
buildCounterBackendServicesScopedList++;
if (buildCounterBackendServicesScopedList < 3) {
- checkUnnamed2243(o.backendServices);
+ checkUnnamed2261(o.backendServices);
checkBackendServicesScopedListWarning(o.warning);
}
buildCounterBackendServicesScopedList--;
@@ -1440,27 +1440,27 @@
buildCounterCacheInvalidationRule--;
}
-buildUnnamed2245() {
+buildUnnamed2263() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2245(core.List<core.String> o) {
+checkUnnamed2263(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2246() {
+buildUnnamed2264() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2246(core.List<core.String> o) {
+checkUnnamed2264(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1474,8 +1474,8 @@
o.includeHost = true;
o.includeProtocol = true;
o.includeQueryString = true;
- o.queryStringBlacklist = buildUnnamed2245();
- o.queryStringWhitelist = buildUnnamed2246();
+ o.queryStringBlacklist = buildUnnamed2263();
+ o.queryStringWhitelist = buildUnnamed2264();
}
buildCounterCacheKeyPolicy--;
return o;
@@ -1487,20 +1487,20 @@
unittest.expect(o.includeHost, unittest.isTrue);
unittest.expect(o.includeProtocol, unittest.isTrue);
unittest.expect(o.includeQueryString, unittest.isTrue);
- checkUnnamed2245(o.queryStringBlacklist);
- checkUnnamed2246(o.queryStringWhitelist);
+ checkUnnamed2263(o.queryStringBlacklist);
+ checkUnnamed2264(o.queryStringWhitelist);
}
buildCounterCacheKeyPolicy--;
}
-buildUnnamed2247() {
+buildUnnamed2265() {
var o = new core.List<api.ResourceCommitment>();
o.add(buildResourceCommitment());
o.add(buildResourceCommitment());
return o;
}
-checkUnnamed2247(core.List<api.ResourceCommitment> o) {
+checkUnnamed2265(core.List<api.ResourceCommitment> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceCommitment(o[0]);
checkResourceCommitment(o[1]);
@@ -1519,7 +1519,7 @@
o.name = "foo";
o.plan = "foo";
o.region = "foo";
- o.resources = buildUnnamed2247();
+ o.resources = buildUnnamed2265();
o.selfLink = "foo";
o.startTimestamp = "foo";
o.status = "foo";
@@ -1540,7 +1540,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.plan, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed2247(o.resources);
+ checkUnnamed2265(o.resources);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.startTimestamp, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
@@ -1549,14 +1549,14 @@
buildCounterCommitment--;
}
-buildUnnamed2248() {
+buildUnnamed2266() {
var o = new core.Map<core.String, api.CommitmentsScopedList>();
o["x"] = buildCommitmentsScopedList();
o["y"] = buildCommitmentsScopedList();
return o;
}
-checkUnnamed2248(core.Map<core.String, api.CommitmentsScopedList> o) {
+checkUnnamed2266(core.Map<core.String, api.CommitmentsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitmentsScopedList(o["x"]);
checkCommitmentsScopedList(o["y"]);
@@ -1568,7 +1568,7 @@
buildCounterCommitmentAggregatedList++;
if (buildCounterCommitmentAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2248();
+ o.items = buildUnnamed2266();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1581,7 +1581,7 @@
buildCounterCommitmentAggregatedList++;
if (buildCounterCommitmentAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2248(o.items);
+ checkUnnamed2266(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1589,14 +1589,14 @@
buildCounterCommitmentAggregatedList--;
}
-buildUnnamed2249() {
+buildUnnamed2267() {
var o = new core.List<api.Commitment>();
o.add(buildCommitment());
o.add(buildCommitment());
return o;
}
-checkUnnamed2249(core.List<api.Commitment> o) {
+checkUnnamed2267(core.List<api.Commitment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitment(o[0]);
checkCommitment(o[1]);
@@ -1608,7 +1608,7 @@
buildCounterCommitmentList++;
if (buildCounterCommitmentList < 3) {
o.id = "foo";
- o.items = buildUnnamed2249();
+ o.items = buildUnnamed2267();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1621,7 +1621,7 @@
buildCounterCommitmentList++;
if (buildCounterCommitmentList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2249(o.items);
+ checkUnnamed2267(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1629,14 +1629,14 @@
buildCounterCommitmentList--;
}
-buildUnnamed2250() {
+buildUnnamed2268() {
var o = new core.List<api.Commitment>();
o.add(buildCommitment());
o.add(buildCommitment());
return o;
}
-checkUnnamed2250(core.List<api.Commitment> o) {
+checkUnnamed2268(core.List<api.Commitment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitment(o[0]);
checkCommitment(o[1]);
@@ -1663,14 +1663,14 @@
buildCounterCommitmentsScopedListWarningData--;
}
-buildUnnamed2251() {
+buildUnnamed2269() {
var o = new core.List<api.CommitmentsScopedListWarningData>();
o.add(buildCommitmentsScopedListWarningData());
o.add(buildCommitmentsScopedListWarningData());
return o;
}
-checkUnnamed2251(core.List<api.CommitmentsScopedListWarningData> o) {
+checkUnnamed2269(core.List<api.CommitmentsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitmentsScopedListWarningData(o[0]);
checkCommitmentsScopedListWarningData(o[1]);
@@ -1682,7 +1682,7 @@
buildCounterCommitmentsScopedListWarning++;
if (buildCounterCommitmentsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2251();
+ o.data = buildUnnamed2269();
o.message = "foo";
}
buildCounterCommitmentsScopedListWarning--;
@@ -1693,7 +1693,7 @@
buildCounterCommitmentsScopedListWarning++;
if (buildCounterCommitmentsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2251(o.data);
+ checkUnnamed2269(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterCommitmentsScopedListWarning--;
@@ -1704,7 +1704,7 @@
var o = new api.CommitmentsScopedList();
buildCounterCommitmentsScopedList++;
if (buildCounterCommitmentsScopedList < 3) {
- o.commitments = buildUnnamed2250();
+ o.commitments = buildUnnamed2268();
o.warning = buildCommitmentsScopedListWarning();
}
buildCounterCommitmentsScopedList--;
@@ -1714,7 +1714,7 @@
checkCommitmentsScopedList(api.CommitmentsScopedList o) {
buildCounterCommitmentsScopedList++;
if (buildCounterCommitmentsScopedList < 3) {
- checkUnnamed2250(o.commitments);
+ checkUnnamed2268(o.commitments);
checkCommitmentsScopedListWarning(o.warning);
}
buildCounterCommitmentsScopedList--;
@@ -1808,40 +1808,40 @@
buildCounterDeprecationStatus--;
}
-buildUnnamed2252() {
+buildUnnamed2270() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2252(core.Map<core.String, core.String> o) {
+checkUnnamed2270(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2253() {
+buildUnnamed2271() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2253(core.List<core.String> o) {
+checkUnnamed2271(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2254() {
+buildUnnamed2272() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2254(core.List<core.String> o) {
+checkUnnamed2272(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1858,10 +1858,10 @@
o.id = "foo";
o.kind = "foo";
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2252();
+ o.labels = buildUnnamed2270();
o.lastAttachTimestamp = "foo";
o.lastDetachTimestamp = "foo";
- o.licenses = buildUnnamed2253();
+ o.licenses = buildUnnamed2271();
o.name = "foo";
o.options = "foo";
o.selfLink = "foo";
@@ -1874,7 +1874,7 @@
o.sourceSnapshotId = "foo";
o.status = "foo";
o.type = "foo";
- o.users = buildUnnamed2254();
+ o.users = buildUnnamed2272();
o.zone = "foo";
}
buildCounterDisk--;
@@ -1890,10 +1890,10 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2252(o.labels);
+ checkUnnamed2270(o.labels);
unittest.expect(o.lastAttachTimestamp, unittest.equals('foo'));
unittest.expect(o.lastDetachTimestamp, unittest.equals('foo'));
- checkUnnamed2253(o.licenses);
+ checkUnnamed2271(o.licenses);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.options, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1906,20 +1906,20 @@
unittest.expect(o.sourceSnapshotId, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
- checkUnnamed2254(o.users);
+ checkUnnamed2272(o.users);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterDisk--;
}
-buildUnnamed2255() {
+buildUnnamed2273() {
var o = new core.Map<core.String, api.DisksScopedList>();
o["x"] = buildDisksScopedList();
o["y"] = buildDisksScopedList();
return o;
}
-checkUnnamed2255(core.Map<core.String, api.DisksScopedList> o) {
+checkUnnamed2273(core.Map<core.String, api.DisksScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisksScopedList(o["x"]);
checkDisksScopedList(o["y"]);
@@ -1931,7 +1931,7 @@
buildCounterDiskAggregatedList++;
if (buildCounterDiskAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2255();
+ o.items = buildUnnamed2273();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1944,7 +1944,7 @@
buildCounterDiskAggregatedList++;
if (buildCounterDiskAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2255(o.items);
+ checkUnnamed2273(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1952,14 +1952,14 @@
buildCounterDiskAggregatedList--;
}
-buildUnnamed2256() {
+buildUnnamed2274() {
var o = new core.List<api.Disk>();
o.add(buildDisk());
o.add(buildDisk());
return o;
}
-checkUnnamed2256(core.List<api.Disk> o) {
+checkUnnamed2274(core.List<api.Disk> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisk(o[0]);
checkDisk(o[1]);
@@ -1971,7 +1971,7 @@
buildCounterDiskList++;
if (buildCounterDiskList < 3) {
o.id = "foo";
- o.items = buildUnnamed2256();
+ o.items = buildUnnamed2274();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1984,7 +1984,7 @@
buildCounterDiskList++;
if (buildCounterDiskList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2256(o.items);
+ checkUnnamed2274(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2050,14 +2050,14 @@
buildCounterDiskType--;
}
-buildUnnamed2257() {
+buildUnnamed2275() {
var o = new core.Map<core.String, api.DiskTypesScopedList>();
o["x"] = buildDiskTypesScopedList();
o["y"] = buildDiskTypesScopedList();
return o;
}
-checkUnnamed2257(core.Map<core.String, api.DiskTypesScopedList> o) {
+checkUnnamed2275(core.Map<core.String, api.DiskTypesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskTypesScopedList(o["x"]);
checkDiskTypesScopedList(o["y"]);
@@ -2069,7 +2069,7 @@
buildCounterDiskTypeAggregatedList++;
if (buildCounterDiskTypeAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2257();
+ o.items = buildUnnamed2275();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2082,7 +2082,7 @@
buildCounterDiskTypeAggregatedList++;
if (buildCounterDiskTypeAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2257(o.items);
+ checkUnnamed2275(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2090,14 +2090,14 @@
buildCounterDiskTypeAggregatedList--;
}
-buildUnnamed2258() {
+buildUnnamed2276() {
var o = new core.List<api.DiskType>();
o.add(buildDiskType());
o.add(buildDiskType());
return o;
}
-checkUnnamed2258(core.List<api.DiskType> o) {
+checkUnnamed2276(core.List<api.DiskType> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskType(o[0]);
checkDiskType(o[1]);
@@ -2109,7 +2109,7 @@
buildCounterDiskTypeList++;
if (buildCounterDiskTypeList < 3) {
o.id = "foo";
- o.items = buildUnnamed2258();
+ o.items = buildUnnamed2276();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2122,7 +2122,7 @@
buildCounterDiskTypeList++;
if (buildCounterDiskTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2258(o.items);
+ checkUnnamed2276(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2130,14 +2130,14 @@
buildCounterDiskTypeList--;
}
-buildUnnamed2259() {
+buildUnnamed2277() {
var o = new core.List<api.DiskType>();
o.add(buildDiskType());
o.add(buildDiskType());
return o;
}
-checkUnnamed2259(core.List<api.DiskType> o) {
+checkUnnamed2277(core.List<api.DiskType> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskType(o[0]);
checkDiskType(o[1]);
@@ -2164,14 +2164,14 @@
buildCounterDiskTypesScopedListWarningData--;
}
-buildUnnamed2260() {
+buildUnnamed2278() {
var o = new core.List<api.DiskTypesScopedListWarningData>();
o.add(buildDiskTypesScopedListWarningData());
o.add(buildDiskTypesScopedListWarningData());
return o;
}
-checkUnnamed2260(core.List<api.DiskTypesScopedListWarningData> o) {
+checkUnnamed2278(core.List<api.DiskTypesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskTypesScopedListWarningData(o[0]);
checkDiskTypesScopedListWarningData(o[1]);
@@ -2183,7 +2183,7 @@
buildCounterDiskTypesScopedListWarning++;
if (buildCounterDiskTypesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2260();
+ o.data = buildUnnamed2278();
o.message = "foo";
}
buildCounterDiskTypesScopedListWarning--;
@@ -2194,7 +2194,7 @@
buildCounterDiskTypesScopedListWarning++;
if (buildCounterDiskTypesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2260(o.data);
+ checkUnnamed2278(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDiskTypesScopedListWarning--;
@@ -2205,7 +2205,7 @@
var o = new api.DiskTypesScopedList();
buildCounterDiskTypesScopedList++;
if (buildCounterDiskTypesScopedList < 3) {
- o.diskTypes = buildUnnamed2259();
+ o.diskTypes = buildUnnamed2277();
o.warning = buildDiskTypesScopedListWarning();
}
buildCounterDiskTypesScopedList--;
@@ -2215,7 +2215,7 @@
checkDiskTypesScopedList(api.DiskTypesScopedList o) {
buildCounterDiskTypesScopedList++;
if (buildCounterDiskTypesScopedList < 3) {
- checkUnnamed2259(o.diskTypes);
+ checkUnnamed2277(o.diskTypes);
checkDiskTypesScopedListWarning(o.warning);
}
buildCounterDiskTypesScopedList--;
@@ -2240,14 +2240,14 @@
buildCounterDisksResizeRequest--;
}
-buildUnnamed2261() {
+buildUnnamed2279() {
var o = new core.List<api.Disk>();
o.add(buildDisk());
o.add(buildDisk());
return o;
}
-checkUnnamed2261(core.List<api.Disk> o) {
+checkUnnamed2279(core.List<api.Disk> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisk(o[0]);
checkDisk(o[1]);
@@ -2274,14 +2274,14 @@
buildCounterDisksScopedListWarningData--;
}
-buildUnnamed2262() {
+buildUnnamed2280() {
var o = new core.List<api.DisksScopedListWarningData>();
o.add(buildDisksScopedListWarningData());
o.add(buildDisksScopedListWarningData());
return o;
}
-checkUnnamed2262(core.List<api.DisksScopedListWarningData> o) {
+checkUnnamed2280(core.List<api.DisksScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisksScopedListWarningData(o[0]);
checkDisksScopedListWarningData(o[1]);
@@ -2293,7 +2293,7 @@
buildCounterDisksScopedListWarning++;
if (buildCounterDisksScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2262();
+ o.data = buildUnnamed2280();
o.message = "foo";
}
buildCounterDisksScopedListWarning--;
@@ -2304,7 +2304,7 @@
buildCounterDisksScopedListWarning++;
if (buildCounterDisksScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2262(o.data);
+ checkUnnamed2280(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDisksScopedListWarning--;
@@ -2315,7 +2315,7 @@
var o = new api.DisksScopedList();
buildCounterDisksScopedList++;
if (buildCounterDisksScopedList < 3) {
- o.disks = buildUnnamed2261();
+ o.disks = buildUnnamed2279();
o.warning = buildDisksScopedListWarning();
}
buildCounterDisksScopedList--;
@@ -2325,20 +2325,20 @@
checkDisksScopedList(api.DisksScopedList o) {
buildCounterDisksScopedList++;
if (buildCounterDisksScopedList < 3) {
- checkUnnamed2261(o.disks);
+ checkUnnamed2279(o.disks);
checkDisksScopedListWarning(o.warning);
}
buildCounterDisksScopedList--;
}
-buildUnnamed2263() {
+buildUnnamed2281() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2263(core.List<core.String> o) {
+checkUnnamed2281(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2350,7 +2350,7 @@
buildCounterFirewallAllowed++;
if (buildCounterFirewallAllowed < 3) {
o.IPProtocol = "foo";
- o.ports = buildUnnamed2263();
+ o.ports = buildUnnamed2281();
}
buildCounterFirewallAllowed--;
return o;
@@ -2360,58 +2360,118 @@
buildCounterFirewallAllowed++;
if (buildCounterFirewallAllowed < 3) {
unittest.expect(o.IPProtocol, unittest.equals('foo'));
- checkUnnamed2263(o.ports);
+ checkUnnamed2281(o.ports);
}
buildCounterFirewallAllowed--;
}
-buildUnnamed2264() {
+buildUnnamed2282() {
var o = new core.List<api.FirewallAllowed>();
o.add(buildFirewallAllowed());
o.add(buildFirewallAllowed());
return o;
}
-checkUnnamed2264(core.List<api.FirewallAllowed> o) {
+checkUnnamed2282(core.List<api.FirewallAllowed> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallAllowed(o[0]);
checkFirewallAllowed(o[1]);
}
-buildUnnamed2265() {
+buildUnnamed2283() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2265(core.List<core.String> o) {
+checkUnnamed2283(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2266() {
+core.int buildCounterFirewallDenied = 0;
+buildFirewallDenied() {
+ var o = new api.FirewallDenied();
+ buildCounterFirewallDenied++;
+ if (buildCounterFirewallDenied < 3) {
+ o.IPProtocol = "foo";
+ o.ports = buildUnnamed2283();
+ }
+ buildCounterFirewallDenied--;
+ return o;
+}
+
+checkFirewallDenied(api.FirewallDenied o) {
+ buildCounterFirewallDenied++;
+ if (buildCounterFirewallDenied < 3) {
+ unittest.expect(o.IPProtocol, unittest.equals('foo'));
+ checkUnnamed2283(o.ports);
+ }
+ buildCounterFirewallDenied--;
+}
+
+buildUnnamed2284() {
+ var o = new core.List<api.FirewallDenied>();
+ o.add(buildFirewallDenied());
+ o.add(buildFirewallDenied());
+ return o;
+}
+
+checkUnnamed2284(core.List<api.FirewallDenied> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkFirewallDenied(o[0]);
+ checkFirewallDenied(o[1]);
+}
+
+buildUnnamed2285() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2266(core.List<core.String> o) {
+checkUnnamed2285(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2267() {
+buildUnnamed2286() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2267(core.List<core.String> o) {
+checkUnnamed2286(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2287() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2287(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2288() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2288(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2422,17 +2482,21 @@
var o = new api.Firewall();
buildCounterFirewall++;
if (buildCounterFirewall < 3) {
- o.allowed = buildUnnamed2264();
+ o.allowed = buildUnnamed2282();
o.creationTimestamp = "foo";
+ o.denied = buildUnnamed2284();
o.description = "foo";
+ o.destinationRanges = buildUnnamed2285();
+ o.direction = "foo";
o.id = "foo";
o.kind = "foo";
o.name = "foo";
o.network = "foo";
+ o.priority = 42;
o.selfLink = "foo";
- o.sourceRanges = buildUnnamed2265();
- o.sourceTags = buildUnnamed2266();
- o.targetTags = buildUnnamed2267();
+ o.sourceRanges = buildUnnamed2286();
+ o.sourceTags = buildUnnamed2287();
+ o.targetTags = buildUnnamed2288();
}
buildCounterFirewall--;
return o;
@@ -2441,29 +2505,33 @@
checkFirewall(api.Firewall o) {
buildCounterFirewall++;
if (buildCounterFirewall < 3) {
- checkUnnamed2264(o.allowed);
+ checkUnnamed2282(o.allowed);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
+ checkUnnamed2284(o.denied);
unittest.expect(o.description, unittest.equals('foo'));
+ checkUnnamed2285(o.destinationRanges);
+ unittest.expect(o.direction, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
+ unittest.expect(o.priority, unittest.equals(42));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2265(o.sourceRanges);
- checkUnnamed2266(o.sourceTags);
- checkUnnamed2267(o.targetTags);
+ checkUnnamed2286(o.sourceRanges);
+ checkUnnamed2287(o.sourceTags);
+ checkUnnamed2288(o.targetTags);
}
buildCounterFirewall--;
}
-buildUnnamed2268() {
+buildUnnamed2289() {
var o = new core.List<api.Firewall>();
o.add(buildFirewall());
o.add(buildFirewall());
return o;
}
-checkUnnamed2268(core.List<api.Firewall> o) {
+checkUnnamed2289(core.List<api.Firewall> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewall(o[0]);
checkFirewall(o[1]);
@@ -2475,7 +2543,7 @@
buildCounterFirewallList++;
if (buildCounterFirewallList < 3) {
o.id = "foo";
- o.items = buildUnnamed2268();
+ o.items = buildUnnamed2289();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2488,7 +2556,7 @@
buildCounterFirewallList++;
if (buildCounterFirewallList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2268(o.items);
+ checkUnnamed2289(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2496,14 +2564,14 @@
buildCounterFirewallList--;
}
-buildUnnamed2269() {
+buildUnnamed2290() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2269(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'));
@@ -2526,7 +2594,7 @@
o.name = "foo";
o.network = "foo";
o.portRange = "foo";
- o.ports = buildUnnamed2269();
+ o.ports = buildUnnamed2290();
o.region = "foo";
o.selfLink = "foo";
o.subnetwork = "foo";
@@ -2551,7 +2619,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.portRange, unittest.equals('foo'));
- checkUnnamed2269(o.ports);
+ checkUnnamed2290(o.ports);
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.subnetwork, unittest.equals('foo'));
@@ -2560,14 +2628,14 @@
buildCounterForwardingRule--;
}
-buildUnnamed2270() {
+buildUnnamed2291() {
var o = new core.Map<core.String, api.ForwardingRulesScopedList>();
o["x"] = buildForwardingRulesScopedList();
o["y"] = buildForwardingRulesScopedList();
return o;
}
-checkUnnamed2270(core.Map<core.String, api.ForwardingRulesScopedList> o) {
+checkUnnamed2291(core.Map<core.String, api.ForwardingRulesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRulesScopedList(o["x"]);
checkForwardingRulesScopedList(o["y"]);
@@ -2579,7 +2647,7 @@
buildCounterForwardingRuleAggregatedList++;
if (buildCounterForwardingRuleAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2270();
+ o.items = buildUnnamed2291();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2592,7 +2660,7 @@
buildCounterForwardingRuleAggregatedList++;
if (buildCounterForwardingRuleAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2270(o.items);
+ checkUnnamed2291(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2600,14 +2668,14 @@
buildCounterForwardingRuleAggregatedList--;
}
-buildUnnamed2271() {
+buildUnnamed2292() {
var o = new core.List<api.ForwardingRule>();
o.add(buildForwardingRule());
o.add(buildForwardingRule());
return o;
}
-checkUnnamed2271(core.List<api.ForwardingRule> o) {
+checkUnnamed2292(core.List<api.ForwardingRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRule(o[0]);
checkForwardingRule(o[1]);
@@ -2619,7 +2687,7 @@
buildCounterForwardingRuleList++;
if (buildCounterForwardingRuleList < 3) {
o.id = "foo";
- o.items = buildUnnamed2271();
+ o.items = buildUnnamed2292();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2632,7 +2700,7 @@
buildCounterForwardingRuleList++;
if (buildCounterForwardingRuleList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2271(o.items);
+ checkUnnamed2292(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2640,14 +2708,14 @@
buildCounterForwardingRuleList--;
}
-buildUnnamed2272() {
+buildUnnamed2293() {
var o = new core.List<api.ForwardingRule>();
o.add(buildForwardingRule());
o.add(buildForwardingRule());
return o;
}
-checkUnnamed2272(core.List<api.ForwardingRule> o) {
+checkUnnamed2293(core.List<api.ForwardingRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRule(o[0]);
checkForwardingRule(o[1]);
@@ -2674,14 +2742,14 @@
buildCounterForwardingRulesScopedListWarningData--;
}
-buildUnnamed2273() {
+buildUnnamed2294() {
var o = new core.List<api.ForwardingRulesScopedListWarningData>();
o.add(buildForwardingRulesScopedListWarningData());
o.add(buildForwardingRulesScopedListWarningData());
return o;
}
-checkUnnamed2273(core.List<api.ForwardingRulesScopedListWarningData> o) {
+checkUnnamed2294(core.List<api.ForwardingRulesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRulesScopedListWarningData(o[0]);
checkForwardingRulesScopedListWarningData(o[1]);
@@ -2693,7 +2761,7 @@
buildCounterForwardingRulesScopedListWarning++;
if (buildCounterForwardingRulesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2273();
+ o.data = buildUnnamed2294();
o.message = "foo";
}
buildCounterForwardingRulesScopedListWarning--;
@@ -2704,7 +2772,7 @@
buildCounterForwardingRulesScopedListWarning++;
if (buildCounterForwardingRulesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2273(o.data);
+ checkUnnamed2294(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterForwardingRulesScopedListWarning--;
@@ -2715,7 +2783,7 @@
var o = new api.ForwardingRulesScopedList();
buildCounterForwardingRulesScopedList++;
if (buildCounterForwardingRulesScopedList < 3) {
- o.forwardingRules = buildUnnamed2272();
+ o.forwardingRules = buildUnnamed2293();
o.warning = buildForwardingRulesScopedListWarning();
}
buildCounterForwardingRulesScopedList--;
@@ -2725,20 +2793,20 @@
checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) {
buildCounterForwardingRulesScopedList++;
if (buildCounterForwardingRulesScopedList < 3) {
- checkUnnamed2272(o.forwardingRules);
+ checkUnnamed2293(o.forwardingRules);
checkForwardingRulesScopedListWarning(o.warning);
}
buildCounterForwardingRulesScopedList--;
}
-buildUnnamed2274() {
+buildUnnamed2295() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2274(core.Map<core.String, core.String> o) {
+checkUnnamed2295(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2750,7 +2818,7 @@
buildCounterGlobalSetLabelsRequest++;
if (buildCounterGlobalSetLabelsRequest < 3) {
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2274();
+ o.labels = buildUnnamed2295();
}
buildCounterGlobalSetLabelsRequest--;
return o;
@@ -2760,7 +2828,7 @@
buildCounterGlobalSetLabelsRequest++;
if (buildCounterGlobalSetLabelsRequest < 3) {
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2274(o.labels);
+ checkUnnamed2295(o.labels);
}
buildCounterGlobalSetLabelsRequest--;
}
@@ -2885,14 +2953,14 @@
buildCounterHealthCheck--;
}
-buildUnnamed2275() {
+buildUnnamed2296() {
var o = new core.List<api.HealthCheck>();
o.add(buildHealthCheck());
o.add(buildHealthCheck());
return o;
}
-checkUnnamed2275(core.List<api.HealthCheck> o) {
+checkUnnamed2296(core.List<api.HealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheck(o[0]);
checkHealthCheck(o[1]);
@@ -2904,7 +2972,7 @@
buildCounterHealthCheckList++;
if (buildCounterHealthCheckList < 3) {
o.id = "foo";
- o.items = buildUnnamed2275();
+ o.items = buildUnnamed2296();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2917,7 +2985,7 @@
buildCounterHealthCheckList++;
if (buildCounterHealthCheckList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2275(o.items);
+ checkUnnamed2296(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2969,14 +3037,14 @@
buildCounterHealthStatus--;
}
-buildUnnamed2276() {
+buildUnnamed2297() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2276(core.List<core.String> o) {
+checkUnnamed2297(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2988,7 +3056,7 @@
buildCounterHostRule++;
if (buildCounterHostRule < 3) {
o.description = "foo";
- o.hosts = buildUnnamed2276();
+ o.hosts = buildUnnamed2297();
o.pathMatcher = "foo";
}
buildCounterHostRule--;
@@ -2999,7 +3067,7 @@
buildCounterHostRule++;
if (buildCounterHostRule < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2276(o.hosts);
+ checkUnnamed2297(o.hosts);
unittest.expect(o.pathMatcher, unittest.equals('foo'));
}
buildCounterHostRule--;
@@ -3048,14 +3116,14 @@
buildCounterHttpHealthCheck--;
}
-buildUnnamed2277() {
+buildUnnamed2298() {
var o = new core.List<api.HttpHealthCheck>();
o.add(buildHttpHealthCheck());
o.add(buildHttpHealthCheck());
return o;
}
-checkUnnamed2277(core.List<api.HttpHealthCheck> o) {
+checkUnnamed2298(core.List<api.HttpHealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpHealthCheck(o[0]);
checkHttpHealthCheck(o[1]);
@@ -3067,7 +3135,7 @@
buildCounterHttpHealthCheckList++;
if (buildCounterHttpHealthCheckList < 3) {
o.id = "foo";
- o.items = buildUnnamed2277();
+ o.items = buildUnnamed2298();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3080,7 +3148,7 @@
buildCounterHttpHealthCheckList++;
if (buildCounterHttpHealthCheckList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2277(o.items);
+ checkUnnamed2298(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3131,14 +3199,14 @@
buildCounterHttpsHealthCheck--;
}
-buildUnnamed2278() {
+buildUnnamed2299() {
var o = new core.List<api.HttpsHealthCheck>();
o.add(buildHttpsHealthCheck());
o.add(buildHttpsHealthCheck());
return o;
}
-checkUnnamed2278(core.List<api.HttpsHealthCheck> o) {
+checkUnnamed2299(core.List<api.HttpsHealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpsHealthCheck(o[0]);
checkHttpsHealthCheck(o[1]);
@@ -3150,7 +3218,7 @@
buildCounterHttpsHealthCheckList++;
if (buildCounterHttpsHealthCheckList < 3) {
o.id = "foo";
- o.items = buildUnnamed2278();
+ o.items = buildUnnamed2299();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3163,7 +3231,7 @@
buildCounterHttpsHealthCheckList++;
if (buildCounterHttpsHealthCheckList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2278(o.items);
+ checkUnnamed2299(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3171,40 +3239,40 @@
buildCounterHttpsHealthCheckList--;
}
-buildUnnamed2279() {
+buildUnnamed2300() {
var o = new core.List<api.GuestOsFeature>();
o.add(buildGuestOsFeature());
o.add(buildGuestOsFeature());
return o;
}
-checkUnnamed2279(core.List<api.GuestOsFeature> o) {
+checkUnnamed2300(core.List<api.GuestOsFeature> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuestOsFeature(o[0]);
checkGuestOsFeature(o[1]);
}
-buildUnnamed2280() {
+buildUnnamed2301() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2280(core.Map<core.String, core.String> o) {
+checkUnnamed2301(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2281() {
+buildUnnamed2302() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2281(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'));
@@ -3244,13 +3312,13 @@
o.description = "foo";
o.diskSizeGb = "foo";
o.family = "foo";
- o.guestOsFeatures = buildUnnamed2279();
+ o.guestOsFeatures = buildUnnamed2300();
o.id = "foo";
o.imageEncryptionKey = buildCustomerEncryptionKey();
o.kind = "foo";
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2280();
- o.licenses = buildUnnamed2281();
+ o.labels = buildUnnamed2301();
+ o.licenses = buildUnnamed2302();
o.name = "foo";
o.rawDisk = buildImageRawDisk();
o.selfLink = "foo";
@@ -3273,13 +3341,13 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.diskSizeGb, unittest.equals('foo'));
unittest.expect(o.family, unittest.equals('foo'));
- checkUnnamed2279(o.guestOsFeatures);
+ checkUnnamed2300(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'));
- checkUnnamed2280(o.labels);
- checkUnnamed2281(o.licenses);
+ checkUnnamed2301(o.labels);
+ checkUnnamed2302(o.licenses);
unittest.expect(o.name, unittest.equals('foo'));
checkImageRawDisk(o.rawDisk);
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3292,14 +3360,14 @@
buildCounterImage--;
}
-buildUnnamed2282() {
+buildUnnamed2303() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed2282(core.List<api.Image> o) {
+checkUnnamed2303(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
@@ -3311,7 +3379,7 @@
buildCounterImageList++;
if (buildCounterImageList < 3) {
o.id = "foo";
- o.items = buildUnnamed2282();
+ o.items = buildUnnamed2303();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3324,7 +3392,7 @@
buildCounterImageList++;
if (buildCounterImageList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2282(o.items);
+ checkUnnamed2303(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3332,66 +3400,66 @@
buildCounterImageList--;
}
-buildUnnamed2283() {
+buildUnnamed2304() {
var o = new core.List<api.AttachedDisk>();
o.add(buildAttachedDisk());
o.add(buildAttachedDisk());
return o;
}
-checkUnnamed2283(core.List<api.AttachedDisk> o) {
+checkUnnamed2304(core.List<api.AttachedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachedDisk(o[0]);
checkAttachedDisk(o[1]);
}
-buildUnnamed2284() {
+buildUnnamed2305() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed2284(core.List<api.AcceleratorConfig> o) {
+checkUnnamed2305(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
}
-buildUnnamed2285() {
+buildUnnamed2306() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2285(core.Map<core.String, core.String> o) {
+checkUnnamed2306(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2286() {
+buildUnnamed2307() {
var o = new core.List<api.NetworkInterface>();
o.add(buildNetworkInterface());
o.add(buildNetworkInterface());
return o;
}
-checkUnnamed2286(core.List<api.NetworkInterface> o) {
+checkUnnamed2307(core.List<api.NetworkInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkInterface(o[0]);
checkNetworkInterface(o[1]);
}
-buildUnnamed2287() {
+buildUnnamed2308() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed2287(core.List<api.ServiceAccount> o) {
+checkUnnamed2308(core.List<api.ServiceAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccount(o[0]);
checkServiceAccount(o[1]);
@@ -3406,19 +3474,19 @@
o.cpuPlatform = "foo";
o.creationTimestamp = "foo";
o.description = "foo";
- o.disks = buildUnnamed2283();
- o.guestAccelerators = buildUnnamed2284();
+ o.disks = buildUnnamed2304();
+ o.guestAccelerators = buildUnnamed2305();
o.id = "foo";
o.kind = "foo";
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2285();
+ o.labels = buildUnnamed2306();
o.machineType = "foo";
o.metadata = buildMetadata();
o.name = "foo";
- o.networkInterfaces = buildUnnamed2286();
+ o.networkInterfaces = buildUnnamed2307();
o.scheduling = buildScheduling();
o.selfLink = "foo";
- o.serviceAccounts = buildUnnamed2287();
+ o.serviceAccounts = buildUnnamed2308();
o.startRestricted = true;
o.status = "foo";
o.statusMessage = "foo";
@@ -3436,19 +3504,19 @@
unittest.expect(o.cpuPlatform, unittest.equals('foo'));
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2283(o.disks);
- checkUnnamed2284(o.guestAccelerators);
+ checkUnnamed2304(o.disks);
+ checkUnnamed2305(o.guestAccelerators);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2285(o.labels);
+ checkUnnamed2306(o.labels);
unittest.expect(o.machineType, unittest.equals('foo'));
checkMetadata(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2286(o.networkInterfaces);
+ checkUnnamed2307(o.networkInterfaces);
checkScheduling(o.scheduling);
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2287(o.serviceAccounts);
+ checkUnnamed2308(o.serviceAccounts);
unittest.expect(o.startRestricted, unittest.isTrue);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.statusMessage, unittest.equals('foo'));
@@ -3458,14 +3526,14 @@
buildCounterInstance--;
}
-buildUnnamed2288() {
+buildUnnamed2309() {
var o = new core.Map<core.String, api.InstancesScopedList>();
o["x"] = buildInstancesScopedList();
o["y"] = buildInstancesScopedList();
return o;
}
-checkUnnamed2288(core.Map<core.String, api.InstancesScopedList> o) {
+checkUnnamed2309(core.Map<core.String, api.InstancesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstancesScopedList(o["x"]);
checkInstancesScopedList(o["y"]);
@@ -3477,7 +3545,7 @@
buildCounterInstanceAggregatedList++;
if (buildCounterInstanceAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2288();
+ o.items = buildUnnamed2309();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3490,7 +3558,7 @@
buildCounterInstanceAggregatedList++;
if (buildCounterInstanceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2288(o.items);
+ checkUnnamed2309(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3498,14 +3566,14 @@
buildCounterInstanceAggregatedList--;
}
-buildUnnamed2289() {
+buildUnnamed2310() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2289(core.List<api.NamedPort> o) {
+checkUnnamed2310(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -3522,7 +3590,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.namedPorts = buildUnnamed2289();
+ o.namedPorts = buildUnnamed2310();
o.network = "foo";
o.region = "foo";
o.selfLink = "foo";
@@ -3543,7 +3611,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2289(o.namedPorts);
+ checkUnnamed2310(o.namedPorts);
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3554,14 +3622,14 @@
buildCounterInstanceGroup--;
}
-buildUnnamed2290() {
+buildUnnamed2311() {
var o = new core.Map<core.String, api.InstanceGroupsScopedList>();
o["x"] = buildInstanceGroupsScopedList();
o["y"] = buildInstanceGroupsScopedList();
return o;
}
-checkUnnamed2290(core.Map<core.String, api.InstanceGroupsScopedList> o) {
+checkUnnamed2311(core.Map<core.String, api.InstanceGroupsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupsScopedList(o["x"]);
checkInstanceGroupsScopedList(o["y"]);
@@ -3573,7 +3641,7 @@
buildCounterInstanceGroupAggregatedList++;
if (buildCounterInstanceGroupAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2290();
+ o.items = buildUnnamed2311();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3586,7 +3654,7 @@
buildCounterInstanceGroupAggregatedList++;
if (buildCounterInstanceGroupAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2290(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'));
@@ -3594,14 +3662,14 @@
buildCounterInstanceGroupAggregatedList--;
}
-buildUnnamed2291() {
+buildUnnamed2312() {
var o = new core.List<api.InstanceGroup>();
o.add(buildInstanceGroup());
o.add(buildInstanceGroup());
return o;
}
-checkUnnamed2291(core.List<api.InstanceGroup> o) {
+checkUnnamed2312(core.List<api.InstanceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroup(o[0]);
checkInstanceGroup(o[1]);
@@ -3613,7 +3681,7 @@
buildCounterInstanceGroupList++;
if (buildCounterInstanceGroupList < 3) {
o.id = "foo";
- o.items = buildUnnamed2291();
+ o.items = buildUnnamed2312();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3626,7 +3694,7 @@
buildCounterInstanceGroupList++;
if (buildCounterInstanceGroupList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2291(o.items);
+ checkUnnamed2312(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3634,27 +3702,27 @@
buildCounterInstanceGroupList--;
}
-buildUnnamed2292() {
+buildUnnamed2313() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2292(core.List<api.NamedPort> o) {
+checkUnnamed2313(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
}
-buildUnnamed2293() {
+buildUnnamed2314() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2293(core.List<core.String> o) {
+checkUnnamed2314(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3675,10 +3743,10 @@
o.instanceTemplate = "foo";
o.kind = "foo";
o.name = "foo";
- o.namedPorts = buildUnnamed2292();
+ o.namedPorts = buildUnnamed2313();
o.region = "foo";
o.selfLink = "foo";
- o.targetPools = buildUnnamed2293();
+ o.targetPools = buildUnnamed2314();
o.targetSize = 42;
o.zone = "foo";
}
@@ -3699,10 +3767,10 @@
unittest.expect(o.instanceTemplate, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2292(o.namedPorts);
+ checkUnnamed2313(o.namedPorts);
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2293(o.targetPools);
+ checkUnnamed2314(o.targetPools);
unittest.expect(o.targetSize, unittest.equals(42));
unittest.expect(o.zone, unittest.equals('foo'));
}
@@ -3742,14 +3810,14 @@
buildCounterInstanceGroupManagerActionsSummary--;
}
-buildUnnamed2294() {
+buildUnnamed2315() {
var o = new core.Map<core.String, api.InstanceGroupManagersScopedList>();
o["x"] = buildInstanceGroupManagersScopedList();
o["y"] = buildInstanceGroupManagersScopedList();
return o;
}
-checkUnnamed2294(core.Map<core.String, api.InstanceGroupManagersScopedList> o) {
+checkUnnamed2315(core.Map<core.String, api.InstanceGroupManagersScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagersScopedList(o["x"]);
checkInstanceGroupManagersScopedList(o["y"]);
@@ -3761,7 +3829,7 @@
buildCounterInstanceGroupManagerAggregatedList++;
if (buildCounterInstanceGroupManagerAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2294();
+ o.items = buildUnnamed2315();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3774,7 +3842,7 @@
buildCounterInstanceGroupManagerAggregatedList++;
if (buildCounterInstanceGroupManagerAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2294(o.items);
+ checkUnnamed2315(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3782,14 +3850,14 @@
buildCounterInstanceGroupManagerAggregatedList--;
}
-buildUnnamed2295() {
+buildUnnamed2316() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed2295(core.List<api.InstanceGroupManager> o) {
+checkUnnamed2316(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -3801,7 +3869,7 @@
buildCounterInstanceGroupManagerList++;
if (buildCounterInstanceGroupManagerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2295();
+ o.items = buildUnnamed2316();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3814,7 +3882,7 @@
buildCounterInstanceGroupManagerList++;
if (buildCounterInstanceGroupManagerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2295(o.items);
+ checkUnnamed2316(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3822,14 +3890,14 @@
buildCounterInstanceGroupManagerList--;
}
-buildUnnamed2296() {
+buildUnnamed2317() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2296(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'));
@@ -3840,7 +3908,7 @@
var o = new api.InstanceGroupManagersAbandonInstancesRequest();
buildCounterInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) {
- o.instances = buildUnnamed2296();
+ o.instances = buildUnnamed2317();
}
buildCounterInstanceGroupManagersAbandonInstancesRequest--;
return o;
@@ -3849,19 +3917,19 @@
checkInstanceGroupManagersAbandonInstancesRequest(api.InstanceGroupManagersAbandonInstancesRequest o) {
buildCounterInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) {
- checkUnnamed2296(o.instances);
+ checkUnnamed2317(o.instances);
}
buildCounterInstanceGroupManagersAbandonInstancesRequest--;
}
-buildUnnamed2297() {
+buildUnnamed2318() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2297(core.List<core.String> o) {
+checkUnnamed2318(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3872,7 +3940,7 @@
var o = new api.InstanceGroupManagersDeleteInstancesRequest();
buildCounterInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) {
- o.instances = buildUnnamed2297();
+ o.instances = buildUnnamed2318();
}
buildCounterInstanceGroupManagersDeleteInstancesRequest--;
return o;
@@ -3881,19 +3949,19 @@
checkInstanceGroupManagersDeleteInstancesRequest(api.InstanceGroupManagersDeleteInstancesRequest o) {
buildCounterInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) {
- checkUnnamed2297(o.instances);
+ checkUnnamed2318(o.instances);
}
buildCounterInstanceGroupManagersDeleteInstancesRequest--;
}
-buildUnnamed2298() {
+buildUnnamed2319() {
var o = new core.List<api.ManagedInstance>();
o.add(buildManagedInstance());
o.add(buildManagedInstance());
return o;
}
-checkUnnamed2298(core.List<api.ManagedInstance> o) {
+checkUnnamed2319(core.List<api.ManagedInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedInstance(o[0]);
checkManagedInstance(o[1]);
@@ -3904,7 +3972,7 @@
var o = new api.InstanceGroupManagersListManagedInstancesResponse();
buildCounterInstanceGroupManagersListManagedInstancesResponse++;
if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) {
- o.managedInstances = buildUnnamed2298();
+ o.managedInstances = buildUnnamed2319();
}
buildCounterInstanceGroupManagersListManagedInstancesResponse--;
return o;
@@ -3913,19 +3981,19 @@
checkInstanceGroupManagersListManagedInstancesResponse(api.InstanceGroupManagersListManagedInstancesResponse o) {
buildCounterInstanceGroupManagersListManagedInstancesResponse++;
if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) {
- checkUnnamed2298(o.managedInstances);
+ checkUnnamed2319(o.managedInstances);
}
buildCounterInstanceGroupManagersListManagedInstancesResponse--;
}
-buildUnnamed2299() {
+buildUnnamed2320() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2299(core.List<core.String> o) {
+checkUnnamed2320(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3936,7 +4004,7 @@
var o = new api.InstanceGroupManagersRecreateInstancesRequest();
buildCounterInstanceGroupManagersRecreateInstancesRequest++;
if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) {
- o.instances = buildUnnamed2299();
+ o.instances = buildUnnamed2320();
}
buildCounterInstanceGroupManagersRecreateInstancesRequest--;
return o;
@@ -3945,19 +4013,19 @@
checkInstanceGroupManagersRecreateInstancesRequest(api.InstanceGroupManagersRecreateInstancesRequest o) {
buildCounterInstanceGroupManagersRecreateInstancesRequest++;
if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) {
- checkUnnamed2299(o.instances);
+ checkUnnamed2320(o.instances);
}
buildCounterInstanceGroupManagersRecreateInstancesRequest--;
}
-buildUnnamed2300() {
+buildUnnamed2321() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed2300(core.List<api.InstanceGroupManager> o) {
+checkUnnamed2321(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -3984,14 +4052,14 @@
buildCounterInstanceGroupManagersScopedListWarningData--;
}
-buildUnnamed2301() {
+buildUnnamed2322() {
var o = new core.List<api.InstanceGroupManagersScopedListWarningData>();
o.add(buildInstanceGroupManagersScopedListWarningData());
o.add(buildInstanceGroupManagersScopedListWarningData());
return o;
}
-checkUnnamed2301(core.List<api.InstanceGroupManagersScopedListWarningData> o) {
+checkUnnamed2322(core.List<api.InstanceGroupManagersScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagersScopedListWarningData(o[0]);
checkInstanceGroupManagersScopedListWarningData(o[1]);
@@ -4003,7 +4071,7 @@
buildCounterInstanceGroupManagersScopedListWarning++;
if (buildCounterInstanceGroupManagersScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2301();
+ o.data = buildUnnamed2322();
o.message = "foo";
}
buildCounterInstanceGroupManagersScopedListWarning--;
@@ -4014,7 +4082,7 @@
buildCounterInstanceGroupManagersScopedListWarning++;
if (buildCounterInstanceGroupManagersScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2301(o.data);
+ checkUnnamed2322(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupManagersScopedListWarning--;
@@ -4025,7 +4093,7 @@
var o = new api.InstanceGroupManagersScopedList();
buildCounterInstanceGroupManagersScopedList++;
if (buildCounterInstanceGroupManagersScopedList < 3) {
- o.instanceGroupManagers = buildUnnamed2300();
+ o.instanceGroupManagers = buildUnnamed2321();
o.warning = buildInstanceGroupManagersScopedListWarning();
}
buildCounterInstanceGroupManagersScopedList--;
@@ -4035,7 +4103,7 @@
checkInstanceGroupManagersScopedList(api.InstanceGroupManagersScopedList o) {
buildCounterInstanceGroupManagersScopedList++;
if (buildCounterInstanceGroupManagersScopedList < 3) {
- checkUnnamed2300(o.instanceGroupManagers);
+ checkUnnamed2321(o.instanceGroupManagers);
checkInstanceGroupManagersScopedListWarning(o.warning);
}
buildCounterInstanceGroupManagersScopedList--;
@@ -4060,14 +4128,14 @@
buildCounterInstanceGroupManagersSetInstanceTemplateRequest--;
}
-buildUnnamed2302() {
+buildUnnamed2323() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2302(core.List<core.String> o) {
+checkUnnamed2323(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4079,7 +4147,7 @@
buildCounterInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) {
o.fingerprint = "foo";
- o.targetPools = buildUnnamed2302();
+ o.targetPools = buildUnnamed2323();
}
buildCounterInstanceGroupManagersSetTargetPoolsRequest--;
return o;
@@ -4089,19 +4157,19 @@
buildCounterInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2302(o.targetPools);
+ checkUnnamed2323(o.targetPools);
}
buildCounterInstanceGroupManagersSetTargetPoolsRequest--;
}
-buildUnnamed2303() {
+buildUnnamed2324() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed2303(core.List<api.InstanceReference> o) {
+checkUnnamed2324(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -4112,7 +4180,7 @@
var o = new api.InstanceGroupsAddInstancesRequest();
buildCounterInstanceGroupsAddInstancesRequest++;
if (buildCounterInstanceGroupsAddInstancesRequest < 3) {
- o.instances = buildUnnamed2303();
+ o.instances = buildUnnamed2324();
}
buildCounterInstanceGroupsAddInstancesRequest--;
return o;
@@ -4121,19 +4189,19 @@
checkInstanceGroupsAddInstancesRequest(api.InstanceGroupsAddInstancesRequest o) {
buildCounterInstanceGroupsAddInstancesRequest++;
if (buildCounterInstanceGroupsAddInstancesRequest < 3) {
- checkUnnamed2303(o.instances);
+ checkUnnamed2324(o.instances);
}
buildCounterInstanceGroupsAddInstancesRequest--;
}
-buildUnnamed2304() {
+buildUnnamed2325() {
var o = new core.List<api.InstanceWithNamedPorts>();
o.add(buildInstanceWithNamedPorts());
o.add(buildInstanceWithNamedPorts());
return o;
}
-checkUnnamed2304(core.List<api.InstanceWithNamedPorts> o) {
+checkUnnamed2325(core.List<api.InstanceWithNamedPorts> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceWithNamedPorts(o[0]);
checkInstanceWithNamedPorts(o[1]);
@@ -4145,7 +4213,7 @@
buildCounterInstanceGroupsListInstances++;
if (buildCounterInstanceGroupsListInstances < 3) {
o.id = "foo";
- o.items = buildUnnamed2304();
+ o.items = buildUnnamed2325();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4158,7 +4226,7 @@
buildCounterInstanceGroupsListInstances++;
if (buildCounterInstanceGroupsListInstances < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2304(o.items);
+ checkUnnamed2325(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4185,14 +4253,14 @@
buildCounterInstanceGroupsListInstancesRequest--;
}
-buildUnnamed2305() {
+buildUnnamed2326() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed2305(core.List<api.InstanceReference> o) {
+checkUnnamed2326(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -4203,7 +4271,7 @@
var o = new api.InstanceGroupsRemoveInstancesRequest();
buildCounterInstanceGroupsRemoveInstancesRequest++;
if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) {
- o.instances = buildUnnamed2305();
+ o.instances = buildUnnamed2326();
}
buildCounterInstanceGroupsRemoveInstancesRequest--;
return o;
@@ -4212,19 +4280,19 @@
checkInstanceGroupsRemoveInstancesRequest(api.InstanceGroupsRemoveInstancesRequest o) {
buildCounterInstanceGroupsRemoveInstancesRequest++;
if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) {
- checkUnnamed2305(o.instances);
+ checkUnnamed2326(o.instances);
}
buildCounterInstanceGroupsRemoveInstancesRequest--;
}
-buildUnnamed2306() {
+buildUnnamed2327() {
var o = new core.List<api.InstanceGroup>();
o.add(buildInstanceGroup());
o.add(buildInstanceGroup());
return o;
}
-checkUnnamed2306(core.List<api.InstanceGroup> o) {
+checkUnnamed2327(core.List<api.InstanceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroup(o[0]);
checkInstanceGroup(o[1]);
@@ -4251,14 +4319,14 @@
buildCounterInstanceGroupsScopedListWarningData--;
}
-buildUnnamed2307() {
+buildUnnamed2328() {
var o = new core.List<api.InstanceGroupsScopedListWarningData>();
o.add(buildInstanceGroupsScopedListWarningData());
o.add(buildInstanceGroupsScopedListWarningData());
return o;
}
-checkUnnamed2307(core.List<api.InstanceGroupsScopedListWarningData> o) {
+checkUnnamed2328(core.List<api.InstanceGroupsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupsScopedListWarningData(o[0]);
checkInstanceGroupsScopedListWarningData(o[1]);
@@ -4270,7 +4338,7 @@
buildCounterInstanceGroupsScopedListWarning++;
if (buildCounterInstanceGroupsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2307();
+ o.data = buildUnnamed2328();
o.message = "foo";
}
buildCounterInstanceGroupsScopedListWarning--;
@@ -4281,7 +4349,7 @@
buildCounterInstanceGroupsScopedListWarning++;
if (buildCounterInstanceGroupsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2307(o.data);
+ checkUnnamed2328(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupsScopedListWarning--;
@@ -4292,7 +4360,7 @@
var o = new api.InstanceGroupsScopedList();
buildCounterInstanceGroupsScopedList++;
if (buildCounterInstanceGroupsScopedList < 3) {
- o.instanceGroups = buildUnnamed2306();
+ o.instanceGroups = buildUnnamed2327();
o.warning = buildInstanceGroupsScopedListWarning();
}
buildCounterInstanceGroupsScopedList--;
@@ -4302,20 +4370,20 @@
checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) {
buildCounterInstanceGroupsScopedList++;
if (buildCounterInstanceGroupsScopedList < 3) {
- checkUnnamed2306(o.instanceGroups);
+ checkUnnamed2327(o.instanceGroups);
checkInstanceGroupsScopedListWarning(o.warning);
}
buildCounterInstanceGroupsScopedList--;
}
-buildUnnamed2308() {
+buildUnnamed2329() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2308(core.List<api.NamedPort> o) {
+checkUnnamed2329(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -4327,7 +4395,7 @@
buildCounterInstanceGroupsSetNamedPortsRequest++;
if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) {
o.fingerprint = "foo";
- o.namedPorts = buildUnnamed2308();
+ o.namedPorts = buildUnnamed2329();
}
buildCounterInstanceGroupsSetNamedPortsRequest--;
return o;
@@ -4337,19 +4405,19 @@
buildCounterInstanceGroupsSetNamedPortsRequest++;
if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2308(o.namedPorts);
+ checkUnnamed2329(o.namedPorts);
}
buildCounterInstanceGroupsSetNamedPortsRequest--;
}
-buildUnnamed2309() {
+buildUnnamed2330() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed2309(core.List<api.Instance> o) {
+checkUnnamed2330(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -4361,7 +4429,7 @@
buildCounterInstanceList++;
if (buildCounterInstanceList < 3) {
o.id = "foo";
- o.items = buildUnnamed2309();
+ o.items = buildUnnamed2330();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4374,7 +4442,7 @@
buildCounterInstanceList++;
if (buildCounterInstanceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2309(o.items);
+ checkUnnamed2330(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4403,66 +4471,66 @@
buildCounterInstanceMoveRequest--;
}
-buildUnnamed2310() {
+buildUnnamed2331() {
var o = new core.List<api.AttachedDisk>();
o.add(buildAttachedDisk());
o.add(buildAttachedDisk());
return o;
}
-checkUnnamed2310(core.List<api.AttachedDisk> o) {
+checkUnnamed2331(core.List<api.AttachedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachedDisk(o[0]);
checkAttachedDisk(o[1]);
}
-buildUnnamed2311() {
+buildUnnamed2332() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed2311(core.List<api.AcceleratorConfig> o) {
+checkUnnamed2332(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
}
-buildUnnamed2312() {
+buildUnnamed2333() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2312(core.Map<core.String, core.String> o) {
+checkUnnamed2333(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2313() {
+buildUnnamed2334() {
var o = new core.List<api.NetworkInterface>();
o.add(buildNetworkInterface());
o.add(buildNetworkInterface());
return o;
}
-checkUnnamed2313(core.List<api.NetworkInterface> o) {
+checkUnnamed2334(core.List<api.NetworkInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkInterface(o[0]);
checkNetworkInterface(o[1]);
}
-buildUnnamed2314() {
+buildUnnamed2335() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed2314(core.List<api.ServiceAccount> o) {
+checkUnnamed2335(core.List<api.ServiceAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccount(o[0]);
checkServiceAccount(o[1]);
@@ -4475,14 +4543,14 @@
if (buildCounterInstanceProperties < 3) {
o.canIpForward = true;
o.description = "foo";
- o.disks = buildUnnamed2310();
- o.guestAccelerators = buildUnnamed2311();
- o.labels = buildUnnamed2312();
+ o.disks = buildUnnamed2331();
+ o.guestAccelerators = buildUnnamed2332();
+ o.labels = buildUnnamed2333();
o.machineType = "foo";
o.metadata = buildMetadata();
- o.networkInterfaces = buildUnnamed2313();
+ o.networkInterfaces = buildUnnamed2334();
o.scheduling = buildScheduling();
- o.serviceAccounts = buildUnnamed2314();
+ o.serviceAccounts = buildUnnamed2335();
o.tags = buildTags();
}
buildCounterInstanceProperties--;
@@ -4494,14 +4562,14 @@
if (buildCounterInstanceProperties < 3) {
unittest.expect(o.canIpForward, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2310(o.disks);
- checkUnnamed2311(o.guestAccelerators);
- checkUnnamed2312(o.labels);
+ checkUnnamed2331(o.disks);
+ checkUnnamed2332(o.guestAccelerators);
+ checkUnnamed2333(o.labels);
unittest.expect(o.machineType, unittest.equals('foo'));
checkMetadata(o.metadata);
- checkUnnamed2313(o.networkInterfaces);
+ checkUnnamed2334(o.networkInterfaces);
checkScheduling(o.scheduling);
- checkUnnamed2314(o.serviceAccounts);
+ checkUnnamed2335(o.serviceAccounts);
checkTags(o.tags);
}
buildCounterInstanceProperties--;
@@ -4557,14 +4625,14 @@
buildCounterInstanceTemplate--;
}
-buildUnnamed2315() {
+buildUnnamed2336() {
var o = new core.List<api.InstanceTemplate>();
o.add(buildInstanceTemplate());
o.add(buildInstanceTemplate());
return o;
}
-checkUnnamed2315(core.List<api.InstanceTemplate> o) {
+checkUnnamed2336(core.List<api.InstanceTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceTemplate(o[0]);
checkInstanceTemplate(o[1]);
@@ -4576,7 +4644,7 @@
buildCounterInstanceTemplateList++;
if (buildCounterInstanceTemplateList < 3) {
o.id = "foo";
- o.items = buildUnnamed2315();
+ o.items = buildUnnamed2336();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4589,7 +4657,7 @@
buildCounterInstanceTemplateList++;
if (buildCounterInstanceTemplateList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2315(o.items);
+ checkUnnamed2336(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4597,14 +4665,14 @@
buildCounterInstanceTemplateList--;
}
-buildUnnamed2316() {
+buildUnnamed2337() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2316(core.List<api.NamedPort> o) {
+checkUnnamed2337(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -4616,7 +4684,7 @@
buildCounterInstanceWithNamedPorts++;
if (buildCounterInstanceWithNamedPorts < 3) {
o.instance = "foo";
- o.namedPorts = buildUnnamed2316();
+ o.namedPorts = buildUnnamed2337();
o.status = "foo";
}
buildCounterInstanceWithNamedPorts--;
@@ -4627,20 +4695,20 @@
buildCounterInstanceWithNamedPorts++;
if (buildCounterInstanceWithNamedPorts < 3) {
unittest.expect(o.instance, unittest.equals('foo'));
- checkUnnamed2316(o.namedPorts);
+ checkUnnamed2337(o.namedPorts);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterInstanceWithNamedPorts--;
}
-buildUnnamed2317() {
+buildUnnamed2338() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed2317(core.List<api.Instance> o) {
+checkUnnamed2338(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -4667,14 +4735,14 @@
buildCounterInstancesScopedListWarningData--;
}
-buildUnnamed2318() {
+buildUnnamed2339() {
var o = new core.List<api.InstancesScopedListWarningData>();
o.add(buildInstancesScopedListWarningData());
o.add(buildInstancesScopedListWarningData());
return o;
}
-checkUnnamed2318(core.List<api.InstancesScopedListWarningData> o) {
+checkUnnamed2339(core.List<api.InstancesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstancesScopedListWarningData(o[0]);
checkInstancesScopedListWarningData(o[1]);
@@ -4686,7 +4754,7 @@
buildCounterInstancesScopedListWarning++;
if (buildCounterInstancesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2318();
+ o.data = buildUnnamed2339();
o.message = "foo";
}
buildCounterInstancesScopedListWarning--;
@@ -4697,7 +4765,7 @@
buildCounterInstancesScopedListWarning++;
if (buildCounterInstancesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2318(o.data);
+ checkUnnamed2339(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstancesScopedListWarning--;
@@ -4708,7 +4776,7 @@
var o = new api.InstancesScopedList();
buildCounterInstancesScopedList++;
if (buildCounterInstancesScopedList < 3) {
- o.instances = buildUnnamed2317();
+ o.instances = buildUnnamed2338();
o.warning = buildInstancesScopedListWarning();
}
buildCounterInstancesScopedList--;
@@ -4718,20 +4786,20 @@
checkInstancesScopedList(api.InstancesScopedList o) {
buildCounterInstancesScopedList++;
if (buildCounterInstancesScopedList < 3) {
- checkUnnamed2317(o.instances);
+ checkUnnamed2338(o.instances);
checkInstancesScopedListWarning(o.warning);
}
buildCounterInstancesScopedList--;
}
-buildUnnamed2319() {
+buildUnnamed2340() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2319(core.Map<core.String, core.String> o) {
+checkUnnamed2340(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -4743,7 +4811,7 @@
buildCounterInstancesSetLabelsRequest++;
if (buildCounterInstancesSetLabelsRequest < 3) {
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2319();
+ o.labels = buildUnnamed2340();
}
buildCounterInstancesSetLabelsRequest--;
return o;
@@ -4753,19 +4821,19 @@
buildCounterInstancesSetLabelsRequest++;
if (buildCounterInstancesSetLabelsRequest < 3) {
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2319(o.labels);
+ checkUnnamed2340(o.labels);
}
buildCounterInstancesSetLabelsRequest--;
}
-buildUnnamed2320() {
+buildUnnamed2341() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed2320(core.List<api.AcceleratorConfig> o) {
+checkUnnamed2341(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
@@ -4776,7 +4844,7 @@
var o = new api.InstancesSetMachineResourcesRequest();
buildCounterInstancesSetMachineResourcesRequest++;
if (buildCounterInstancesSetMachineResourcesRequest < 3) {
- o.guestAccelerators = buildUnnamed2320();
+ o.guestAccelerators = buildUnnamed2341();
}
buildCounterInstancesSetMachineResourcesRequest--;
return o;
@@ -4785,7 +4853,7 @@
checkInstancesSetMachineResourcesRequest(api.InstancesSetMachineResourcesRequest o) {
buildCounterInstancesSetMachineResourcesRequest++;
if (buildCounterInstancesSetMachineResourcesRequest < 3) {
- checkUnnamed2320(o.guestAccelerators);
+ checkUnnamed2341(o.guestAccelerators);
}
buildCounterInstancesSetMachineResourcesRequest--;
}
@@ -4809,14 +4877,14 @@
buildCounterInstancesSetMachineTypeRequest--;
}
-buildUnnamed2321() {
+buildUnnamed2342() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2321(core.List<core.String> o) {
+checkUnnamed2342(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4828,7 +4896,7 @@
buildCounterInstancesSetServiceAccountRequest++;
if (buildCounterInstancesSetServiceAccountRequest < 3) {
o.email = "foo";
- o.scopes = buildUnnamed2321();
+ o.scopes = buildUnnamed2342();
}
buildCounterInstancesSetServiceAccountRequest--;
return o;
@@ -4838,19 +4906,19 @@
buildCounterInstancesSetServiceAccountRequest++;
if (buildCounterInstancesSetServiceAccountRequest < 3) {
unittest.expect(o.email, unittest.equals('foo'));
- checkUnnamed2321(o.scopes);
+ checkUnnamed2342(o.scopes);
}
buildCounterInstancesSetServiceAccountRequest--;
}
-buildUnnamed2322() {
+buildUnnamed2343() {
var o = new core.List<api.CustomerEncryptionKeyProtectedDisk>();
o.add(buildCustomerEncryptionKeyProtectedDisk());
o.add(buildCustomerEncryptionKeyProtectedDisk());
return o;
}
-checkUnnamed2322(core.List<api.CustomerEncryptionKeyProtectedDisk> o) {
+checkUnnamed2343(core.List<api.CustomerEncryptionKeyProtectedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomerEncryptionKeyProtectedDisk(o[0]);
checkCustomerEncryptionKeyProtectedDisk(o[1]);
@@ -4861,7 +4929,7 @@
var o = new api.InstancesStartWithEncryptionKeyRequest();
buildCounterInstancesStartWithEncryptionKeyRequest++;
if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) {
- o.disks = buildUnnamed2322();
+ o.disks = buildUnnamed2343();
}
buildCounterInstancesStartWithEncryptionKeyRequest--;
return o;
@@ -4870,7 +4938,7 @@
checkInstancesStartWithEncryptionKeyRequest(api.InstancesStartWithEncryptionKeyRequest o) {
buildCounterInstancesStartWithEncryptionKeyRequest++;
if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) {
- checkUnnamed2322(o.disks);
+ checkUnnamed2343(o.disks);
}
buildCounterInstancesStartWithEncryptionKeyRequest--;
}
@@ -4919,14 +4987,14 @@
buildCounterMachineTypeScratchDisks--;
}
-buildUnnamed2323() {
+buildUnnamed2344() {
var o = new core.List<api.MachineTypeScratchDisks>();
o.add(buildMachineTypeScratchDisks());
o.add(buildMachineTypeScratchDisks());
return o;
}
-checkUnnamed2323(core.List<api.MachineTypeScratchDisks> o) {
+checkUnnamed2344(core.List<api.MachineTypeScratchDisks> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypeScratchDisks(o[0]);
checkMachineTypeScratchDisks(o[1]);
@@ -4949,7 +5017,7 @@
o.maximumPersistentDisksSizeGb = "foo";
o.memoryMb = 42;
o.name = "foo";
- o.scratchDisks = buildUnnamed2323();
+ o.scratchDisks = buildUnnamed2344();
o.selfLink = "foo";
o.zone = "foo";
}
@@ -4972,21 +5040,21 @@
unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo'));
unittest.expect(o.memoryMb, unittest.equals(42));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2323(o.scratchDisks);
+ checkUnnamed2344(o.scratchDisks);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterMachineType--;
}
-buildUnnamed2324() {
+buildUnnamed2345() {
var o = new core.Map<core.String, api.MachineTypesScopedList>();
o["x"] = buildMachineTypesScopedList();
o["y"] = buildMachineTypesScopedList();
return o;
}
-checkUnnamed2324(core.Map<core.String, api.MachineTypesScopedList> o) {
+checkUnnamed2345(core.Map<core.String, api.MachineTypesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypesScopedList(o["x"]);
checkMachineTypesScopedList(o["y"]);
@@ -4998,7 +5066,7 @@
buildCounterMachineTypeAggregatedList++;
if (buildCounterMachineTypeAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2324();
+ o.items = buildUnnamed2345();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5011,7 +5079,7 @@
buildCounterMachineTypeAggregatedList++;
if (buildCounterMachineTypeAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2324(o.items);
+ checkUnnamed2345(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5019,14 +5087,14 @@
buildCounterMachineTypeAggregatedList--;
}
-buildUnnamed2325() {
+buildUnnamed2346() {
var o = new core.List<api.MachineType>();
o.add(buildMachineType());
o.add(buildMachineType());
return o;
}
-checkUnnamed2325(core.List<api.MachineType> o) {
+checkUnnamed2346(core.List<api.MachineType> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineType(o[0]);
checkMachineType(o[1]);
@@ -5038,7 +5106,7 @@
buildCounterMachineTypeList++;
if (buildCounterMachineTypeList < 3) {
o.id = "foo";
- o.items = buildUnnamed2325();
+ o.items = buildUnnamed2346();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5051,7 +5119,7 @@
buildCounterMachineTypeList++;
if (buildCounterMachineTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2325(o.items);
+ checkUnnamed2346(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5059,14 +5127,14 @@
buildCounterMachineTypeList--;
}
-buildUnnamed2326() {
+buildUnnamed2347() {
var o = new core.List<api.MachineType>();
o.add(buildMachineType());
o.add(buildMachineType());
return o;
}
-checkUnnamed2326(core.List<api.MachineType> o) {
+checkUnnamed2347(core.List<api.MachineType> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineType(o[0]);
checkMachineType(o[1]);
@@ -5093,14 +5161,14 @@
buildCounterMachineTypesScopedListWarningData--;
}
-buildUnnamed2327() {
+buildUnnamed2348() {
var o = new core.List<api.MachineTypesScopedListWarningData>();
o.add(buildMachineTypesScopedListWarningData());
o.add(buildMachineTypesScopedListWarningData());
return o;
}
-checkUnnamed2327(core.List<api.MachineTypesScopedListWarningData> o) {
+checkUnnamed2348(core.List<api.MachineTypesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypesScopedListWarningData(o[0]);
checkMachineTypesScopedListWarningData(o[1]);
@@ -5112,7 +5180,7 @@
buildCounterMachineTypesScopedListWarning++;
if (buildCounterMachineTypesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2327();
+ o.data = buildUnnamed2348();
o.message = "foo";
}
buildCounterMachineTypesScopedListWarning--;
@@ -5123,7 +5191,7 @@
buildCounterMachineTypesScopedListWarning++;
if (buildCounterMachineTypesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2327(o.data);
+ checkUnnamed2348(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterMachineTypesScopedListWarning--;
@@ -5134,7 +5202,7 @@
var o = new api.MachineTypesScopedList();
buildCounterMachineTypesScopedList++;
if (buildCounterMachineTypesScopedList < 3) {
- o.machineTypes = buildUnnamed2326();
+ o.machineTypes = buildUnnamed2347();
o.warning = buildMachineTypesScopedListWarning();
}
buildCounterMachineTypesScopedList--;
@@ -5144,7 +5212,7 @@
checkMachineTypesScopedList(api.MachineTypesScopedList o) {
buildCounterMachineTypesScopedList++;
if (buildCounterMachineTypesScopedList < 3) {
- checkUnnamed2326(o.machineTypes);
+ checkUnnamed2347(o.machineTypes);
checkMachineTypesScopedListWarning(o.warning);
}
buildCounterMachineTypesScopedList--;
@@ -5200,14 +5268,14 @@
buildCounterManagedInstanceLastAttemptErrorsErrors--;
}
-buildUnnamed2328() {
+buildUnnamed2349() {
var o = new core.List<api.ManagedInstanceLastAttemptErrorsErrors>();
o.add(buildManagedInstanceLastAttemptErrorsErrors());
o.add(buildManagedInstanceLastAttemptErrorsErrors());
return o;
}
-checkUnnamed2328(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) {
+checkUnnamed2349(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedInstanceLastAttemptErrorsErrors(o[0]);
checkManagedInstanceLastAttemptErrorsErrors(o[1]);
@@ -5218,7 +5286,7 @@
var o = new api.ManagedInstanceLastAttemptErrors();
buildCounterManagedInstanceLastAttemptErrors++;
if (buildCounterManagedInstanceLastAttemptErrors < 3) {
- o.errors = buildUnnamed2328();
+ o.errors = buildUnnamed2349();
}
buildCounterManagedInstanceLastAttemptErrors--;
return o;
@@ -5227,7 +5295,7 @@
checkManagedInstanceLastAttemptErrors(api.ManagedInstanceLastAttemptErrors o) {
buildCounterManagedInstanceLastAttemptErrors++;
if (buildCounterManagedInstanceLastAttemptErrors < 3) {
- checkUnnamed2328(o.errors);
+ checkUnnamed2349(o.errors);
}
buildCounterManagedInstanceLastAttemptErrors--;
}
@@ -5272,14 +5340,14 @@
buildCounterMetadataItems--;
}
-buildUnnamed2329() {
+buildUnnamed2350() {
var o = new core.List<api.MetadataItems>();
o.add(buildMetadataItems());
o.add(buildMetadataItems());
return o;
}
-checkUnnamed2329(core.List<api.MetadataItems> o) {
+checkUnnamed2350(core.List<api.MetadataItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataItems(o[0]);
checkMetadataItems(o[1]);
@@ -5291,7 +5359,7 @@
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
o.fingerprint = "foo";
- o.items = buildUnnamed2329();
+ o.items = buildUnnamed2350();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -5302,7 +5370,7 @@
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2329(o.items);
+ checkUnnamed2350(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -5329,27 +5397,27 @@
buildCounterNamedPort--;
}
-buildUnnamed2330() {
+buildUnnamed2351() {
var o = new core.List<api.NetworkPeering>();
o.add(buildNetworkPeering());
o.add(buildNetworkPeering());
return o;
}
-checkUnnamed2330(core.List<api.NetworkPeering> o) {
+checkUnnamed2351(core.List<api.NetworkPeering> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkPeering(o[0]);
checkNetworkPeering(o[1]);
}
-buildUnnamed2331() {
+buildUnnamed2352() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2331(core.List<core.String> o) {
+checkUnnamed2352(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5368,9 +5436,9 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.peerings = buildUnnamed2330();
+ o.peerings = buildUnnamed2351();
o.selfLink = "foo";
- o.subnetworks = buildUnnamed2331();
+ o.subnetworks = buildUnnamed2352();
}
buildCounterNetwork--;
return o;
@@ -5387,34 +5455,34 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2330(o.peerings);
+ checkUnnamed2351(o.peerings);
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2331(o.subnetworks);
+ checkUnnamed2352(o.subnetworks);
}
buildCounterNetwork--;
}
-buildUnnamed2332() {
+buildUnnamed2353() {
var o = new core.List<api.AccessConfig>();
o.add(buildAccessConfig());
o.add(buildAccessConfig());
return o;
}
-checkUnnamed2332(core.List<api.AccessConfig> o) {
+checkUnnamed2353(core.List<api.AccessConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccessConfig(o[0]);
checkAccessConfig(o[1]);
}
-buildUnnamed2333() {
+buildUnnamed2354() {
var o = new core.List<api.AliasIpRange>();
o.add(buildAliasIpRange());
o.add(buildAliasIpRange());
return o;
}
-checkUnnamed2333(core.List<api.AliasIpRange> o) {
+checkUnnamed2354(core.List<api.AliasIpRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkAliasIpRange(o[0]);
checkAliasIpRange(o[1]);
@@ -5425,8 +5493,8 @@
var o = new api.NetworkInterface();
buildCounterNetworkInterface++;
if (buildCounterNetworkInterface < 3) {
- o.accessConfigs = buildUnnamed2332();
- o.aliasIpRanges = buildUnnamed2333();
+ o.accessConfigs = buildUnnamed2353();
+ o.aliasIpRanges = buildUnnamed2354();
o.kind = "foo";
o.name = "foo";
o.network = "foo";
@@ -5440,8 +5508,8 @@
checkNetworkInterface(api.NetworkInterface o) {
buildCounterNetworkInterface++;
if (buildCounterNetworkInterface < 3) {
- checkUnnamed2332(o.accessConfigs);
- checkUnnamed2333(o.aliasIpRanges);
+ checkUnnamed2353(o.accessConfigs);
+ checkUnnamed2354(o.aliasIpRanges);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
@@ -5451,14 +5519,14 @@
buildCounterNetworkInterface--;
}
-buildUnnamed2334() {
+buildUnnamed2355() {
var o = new core.List<api.Network>();
o.add(buildNetwork());
o.add(buildNetwork());
return o;
}
-checkUnnamed2334(core.List<api.Network> o) {
+checkUnnamed2355(core.List<api.Network> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetwork(o[0]);
checkNetwork(o[1]);
@@ -5470,7 +5538,7 @@
buildCounterNetworkList++;
if (buildCounterNetworkList < 3) {
o.id = "foo";
- o.items = buildUnnamed2334();
+ o.items = buildUnnamed2355();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5483,7 +5551,7 @@
buildCounterNetworkList++;
if (buildCounterNetworkList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2334(o.items);
+ checkUnnamed2355(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5583,14 +5651,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed2335() {
+buildUnnamed2356() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed2335(core.List<api.OperationErrorErrors> o) {
+checkUnnamed2356(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -5601,7 +5669,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed2335();
+ o.errors = buildUnnamed2356();
}
buildCounterOperationError--;
return o;
@@ -5610,7 +5678,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed2335(o.errors);
+ checkUnnamed2356(o.errors);
}
buildCounterOperationError--;
}
@@ -5636,14 +5704,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed2336() {
+buildUnnamed2357() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed2336(core.List<api.OperationWarningsData> o) {
+checkUnnamed2357(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -5655,7 +5723,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2336();
+ o.data = buildUnnamed2357();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -5666,20 +5734,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2336(o.data);
+ checkUnnamed2357(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed2337() {
+buildUnnamed2358() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed2337(core.List<api.OperationWarnings> o) {
+checkUnnamed2358(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -5711,7 +5779,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed2337();
+ o.warnings = buildUnnamed2358();
o.zone = "foo";
}
buildCounterOperation--;
@@ -5742,20 +5810,20 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed2337(o.warnings);
+ checkUnnamed2358(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed2338() {
+buildUnnamed2359() {
var o = new core.Map<core.String, api.OperationsScopedList>();
o["x"] = buildOperationsScopedList();
o["y"] = buildOperationsScopedList();
return o;
}
-checkUnnamed2338(core.Map<core.String, api.OperationsScopedList> o) {
+checkUnnamed2359(core.Map<core.String, api.OperationsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationsScopedList(o["x"]);
checkOperationsScopedList(o["y"]);
@@ -5767,7 +5835,7 @@
buildCounterOperationAggregatedList++;
if (buildCounterOperationAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2338();
+ o.items = buildUnnamed2359();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5780,7 +5848,7 @@
buildCounterOperationAggregatedList++;
if (buildCounterOperationAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2338(o.items);
+ checkUnnamed2359(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5788,14 +5856,14 @@
buildCounterOperationAggregatedList--;
}
-buildUnnamed2339() {
+buildUnnamed2360() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2339(core.List<api.Operation> o) {
+checkUnnamed2360(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -5807,7 +5875,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
o.id = "foo";
- o.items = buildUnnamed2339();
+ o.items = buildUnnamed2360();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5820,7 +5888,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2339(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'));
@@ -5828,14 +5896,14 @@
buildCounterOperationList--;
}
-buildUnnamed2340() {
+buildUnnamed2361() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2340(core.List<api.Operation> o) {
+checkUnnamed2361(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -5862,14 +5930,14 @@
buildCounterOperationsScopedListWarningData--;
}
-buildUnnamed2341() {
+buildUnnamed2362() {
var o = new core.List<api.OperationsScopedListWarningData>();
o.add(buildOperationsScopedListWarningData());
o.add(buildOperationsScopedListWarningData());
return o;
}
-checkUnnamed2341(core.List<api.OperationsScopedListWarningData> o) {
+checkUnnamed2362(core.List<api.OperationsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationsScopedListWarningData(o[0]);
checkOperationsScopedListWarningData(o[1]);
@@ -5881,7 +5949,7 @@
buildCounterOperationsScopedListWarning++;
if (buildCounterOperationsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2341();
+ o.data = buildUnnamed2362();
o.message = "foo";
}
buildCounterOperationsScopedListWarning--;
@@ -5892,7 +5960,7 @@
buildCounterOperationsScopedListWarning++;
if (buildCounterOperationsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2341(o.data);
+ checkUnnamed2362(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationsScopedListWarning--;
@@ -5903,7 +5971,7 @@
var o = new api.OperationsScopedList();
buildCounterOperationsScopedList++;
if (buildCounterOperationsScopedList < 3) {
- o.operations = buildUnnamed2340();
+ o.operations = buildUnnamed2361();
o.warning = buildOperationsScopedListWarning();
}
buildCounterOperationsScopedList--;
@@ -5913,20 +5981,20 @@
checkOperationsScopedList(api.OperationsScopedList o) {
buildCounterOperationsScopedList++;
if (buildCounterOperationsScopedList < 3) {
- checkUnnamed2340(o.operations);
+ checkUnnamed2361(o.operations);
checkOperationsScopedListWarning(o.warning);
}
buildCounterOperationsScopedList--;
}
-buildUnnamed2342() {
+buildUnnamed2363() {
var o = new core.List<api.PathRule>();
o.add(buildPathRule());
o.add(buildPathRule());
return o;
}
-checkUnnamed2342(core.List<api.PathRule> o) {
+checkUnnamed2363(core.List<api.PathRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathRule(o[0]);
checkPathRule(o[1]);
@@ -5940,7 +6008,7 @@
o.defaultService = "foo";
o.description = "foo";
o.name = "foo";
- o.pathRules = buildUnnamed2342();
+ o.pathRules = buildUnnamed2363();
}
buildCounterPathMatcher--;
return o;
@@ -5952,19 +6020,19 @@
unittest.expect(o.defaultService, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2342(o.pathRules);
+ checkUnnamed2363(o.pathRules);
}
buildCounterPathMatcher--;
}
-buildUnnamed2343() {
+buildUnnamed2364() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2343(core.List<core.String> o) {
+checkUnnamed2364(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5975,7 +6043,7 @@
var o = new api.PathRule();
buildCounterPathRule++;
if (buildCounterPathRule < 3) {
- o.paths = buildUnnamed2343();
+ o.paths = buildUnnamed2364();
o.service = "foo";
}
buildCounterPathRule--;
@@ -5985,33 +6053,33 @@
checkPathRule(api.PathRule o) {
buildCounterPathRule++;
if (buildCounterPathRule < 3) {
- checkUnnamed2343(o.paths);
+ checkUnnamed2364(o.paths);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterPathRule--;
}
-buildUnnamed2344() {
+buildUnnamed2365() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2344(core.List<core.String> o) {
+checkUnnamed2365(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2345() {
+buildUnnamed2366() {
var o = new core.List<api.Quota>();
o.add(buildQuota());
o.add(buildQuota());
return o;
}
-checkUnnamed2345(core.List<api.Quota> o) {
+checkUnnamed2366(core.List<api.Quota> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuota(o[0]);
checkQuota(o[1]);
@@ -6026,11 +6094,11 @@
o.creationTimestamp = "foo";
o.defaultServiceAccount = "foo";
o.description = "foo";
- o.enabledFeatures = buildUnnamed2344();
+ o.enabledFeatures = buildUnnamed2365();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.quotas = buildUnnamed2345();
+ o.quotas = buildUnnamed2366();
o.selfLink = "foo";
o.usageExportLocation = buildUsageExportLocation();
o.xpnProjectStatus = "foo";
@@ -6046,11 +6114,11 @@
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.defaultServiceAccount, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2344(o.enabledFeatures);
+ checkUnnamed2365(o.enabledFeatures);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2345(o.quotas);
+ checkUnnamed2366(o.quotas);
unittest.expect(o.selfLink, unittest.equals('foo'));
checkUsageExportLocation(o.usageExportLocation);
unittest.expect(o.xpnProjectStatus, unittest.equals('foo'));
@@ -6096,14 +6164,14 @@
buildCounterProjectsEnableXpnResourceRequest--;
}
-buildUnnamed2346() {
+buildUnnamed2367() {
var o = new core.List<api.XpnResourceId>();
o.add(buildXpnResourceId());
o.add(buildXpnResourceId());
return o;
}
-checkUnnamed2346(core.List<api.XpnResourceId> o) {
+checkUnnamed2367(core.List<api.XpnResourceId> o) {
unittest.expect(o, unittest.hasLength(2));
checkXpnResourceId(o[0]);
checkXpnResourceId(o[1]);
@@ -6116,7 +6184,7 @@
if (buildCounterProjectsGetXpnResources < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed2346();
+ o.resources = buildUnnamed2367();
}
buildCounterProjectsGetXpnResources--;
return o;
@@ -6127,7 +6195,7 @@
if (buildCounterProjectsGetXpnResources < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2346(o.resources);
+ checkUnnamed2367(o.resources);
}
buildCounterProjectsGetXpnResources--;
}
@@ -6174,27 +6242,27 @@
buildCounterQuota--;
}
-buildUnnamed2347() {
+buildUnnamed2368() {
var o = new core.List<api.Quota>();
o.add(buildQuota());
o.add(buildQuota());
return o;
}
-checkUnnamed2347(core.List<api.Quota> o) {
+checkUnnamed2368(core.List<api.Quota> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuota(o[0]);
checkQuota(o[1]);
}
-buildUnnamed2348() {
+buildUnnamed2369() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2348(core.List<core.String> o) {
+checkUnnamed2369(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6211,10 +6279,10 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.quotas = buildUnnamed2347();
+ o.quotas = buildUnnamed2368();
o.selfLink = "foo";
o.status = "foo";
- o.zones = buildUnnamed2348();
+ o.zones = buildUnnamed2369();
}
buildCounterRegion--;
return o;
@@ -6229,22 +6297,22 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2347(o.quotas);
+ checkUnnamed2368(o.quotas);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed2348(o.zones);
+ checkUnnamed2369(o.zones);
}
buildCounterRegion--;
}
-buildUnnamed2349() {
+buildUnnamed2370() {
var o = new core.List<api.Autoscaler>();
o.add(buildAutoscaler());
o.add(buildAutoscaler());
return o;
}
-checkUnnamed2349(core.List<api.Autoscaler> o) {
+checkUnnamed2370(core.List<api.Autoscaler> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscaler(o[0]);
checkAutoscaler(o[1]);
@@ -6256,7 +6324,7 @@
buildCounterRegionAutoscalerList++;
if (buildCounterRegionAutoscalerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2349();
+ o.items = buildUnnamed2370();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6269,7 +6337,7 @@
buildCounterRegionAutoscalerList++;
if (buildCounterRegionAutoscalerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2349(o.items);
+ checkUnnamed2370(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6277,14 +6345,14 @@
buildCounterRegionAutoscalerList--;
}
-buildUnnamed2350() {
+buildUnnamed2371() {
var o = new core.List<api.InstanceGroup>();
o.add(buildInstanceGroup());
o.add(buildInstanceGroup());
return o;
}
-checkUnnamed2350(core.List<api.InstanceGroup> o) {
+checkUnnamed2371(core.List<api.InstanceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroup(o[0]);
checkInstanceGroup(o[1]);
@@ -6296,7 +6364,7 @@
buildCounterRegionInstanceGroupList++;
if (buildCounterRegionInstanceGroupList < 3) {
o.id = "foo";
- o.items = buildUnnamed2350();
+ o.items = buildUnnamed2371();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6309,7 +6377,7 @@
buildCounterRegionInstanceGroupList++;
if (buildCounterRegionInstanceGroupList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2350(o.items);
+ checkUnnamed2371(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6317,14 +6385,14 @@
buildCounterRegionInstanceGroupList--;
}
-buildUnnamed2351() {
+buildUnnamed2372() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed2351(core.List<api.InstanceGroupManager> o) {
+checkUnnamed2372(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -6336,7 +6404,7 @@
buildCounterRegionInstanceGroupManagerList++;
if (buildCounterRegionInstanceGroupManagerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2351();
+ o.items = buildUnnamed2372();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6349,7 +6417,7 @@
buildCounterRegionInstanceGroupManagerList++;
if (buildCounterRegionInstanceGroupManagerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2351(o.items);
+ checkUnnamed2372(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6357,14 +6425,14 @@
buildCounterRegionInstanceGroupManagerList--;
}
-buildUnnamed2352() {
+buildUnnamed2373() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2352(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'));
@@ -6375,7 +6443,7 @@
var o = new api.RegionInstanceGroupManagersAbandonInstancesRequest();
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) {
- o.instances = buildUnnamed2352();
+ o.instances = buildUnnamed2373();
}
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--;
return o;
@@ -6384,19 +6452,19 @@
checkRegionInstanceGroupManagersAbandonInstancesRequest(api.RegionInstanceGroupManagersAbandonInstancesRequest o) {
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) {
- checkUnnamed2352(o.instances);
+ checkUnnamed2373(o.instances);
}
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--;
}
-buildUnnamed2353() {
+buildUnnamed2374() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2353(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'));
@@ -6407,7 +6475,7 @@
var o = new api.RegionInstanceGroupManagersDeleteInstancesRequest();
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) {
- o.instances = buildUnnamed2353();
+ o.instances = buildUnnamed2374();
}
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--;
return o;
@@ -6416,19 +6484,19 @@
checkRegionInstanceGroupManagersDeleteInstancesRequest(api.RegionInstanceGroupManagersDeleteInstancesRequest o) {
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) {
- checkUnnamed2353(o.instances);
+ checkUnnamed2374(o.instances);
}
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--;
}
-buildUnnamed2354() {
+buildUnnamed2375() {
var o = new core.List<api.ManagedInstance>();
o.add(buildManagedInstance());
o.add(buildManagedInstance());
return o;
}
-checkUnnamed2354(core.List<api.ManagedInstance> o) {
+checkUnnamed2375(core.List<api.ManagedInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedInstance(o[0]);
checkManagedInstance(o[1]);
@@ -6439,7 +6507,7 @@
var o = new api.RegionInstanceGroupManagersListInstancesResponse();
buildCounterRegionInstanceGroupManagersListInstancesResponse++;
if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) {
- o.managedInstances = buildUnnamed2354();
+ o.managedInstances = buildUnnamed2375();
}
buildCounterRegionInstanceGroupManagersListInstancesResponse--;
return o;
@@ -6448,19 +6516,19 @@
checkRegionInstanceGroupManagersListInstancesResponse(api.RegionInstanceGroupManagersListInstancesResponse o) {
buildCounterRegionInstanceGroupManagersListInstancesResponse++;
if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) {
- checkUnnamed2354(o.managedInstances);
+ checkUnnamed2375(o.managedInstances);
}
buildCounterRegionInstanceGroupManagersListInstancesResponse--;
}
-buildUnnamed2355() {
+buildUnnamed2376() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2355(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'));
@@ -6471,7 +6539,7 @@
var o = new api.RegionInstanceGroupManagersRecreateRequest();
buildCounterRegionInstanceGroupManagersRecreateRequest++;
if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) {
- o.instances = buildUnnamed2355();
+ o.instances = buildUnnamed2376();
}
buildCounterRegionInstanceGroupManagersRecreateRequest--;
return o;
@@ -6480,19 +6548,19 @@
checkRegionInstanceGroupManagersRecreateRequest(api.RegionInstanceGroupManagersRecreateRequest o) {
buildCounterRegionInstanceGroupManagersRecreateRequest++;
if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) {
- checkUnnamed2355(o.instances);
+ checkUnnamed2376(o.instances);
}
buildCounterRegionInstanceGroupManagersRecreateRequest--;
}
-buildUnnamed2356() {
+buildUnnamed2377() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2356(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'));
@@ -6504,7 +6572,7 @@
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) {
o.fingerprint = "foo";
- o.targetPools = buildUnnamed2356();
+ o.targetPools = buildUnnamed2377();
}
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--;
return o;
@@ -6514,7 +6582,7 @@
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2356(o.targetPools);
+ checkUnnamed2377(o.targetPools);
}
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--;
}
@@ -6538,14 +6606,14 @@
buildCounterRegionInstanceGroupManagersSetTemplateRequest--;
}
-buildUnnamed2357() {
+buildUnnamed2378() {
var o = new core.List<api.InstanceWithNamedPorts>();
o.add(buildInstanceWithNamedPorts());
o.add(buildInstanceWithNamedPorts());
return o;
}
-checkUnnamed2357(core.List<api.InstanceWithNamedPorts> o) {
+checkUnnamed2378(core.List<api.InstanceWithNamedPorts> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceWithNamedPorts(o[0]);
checkInstanceWithNamedPorts(o[1]);
@@ -6557,7 +6625,7 @@
buildCounterRegionInstanceGroupsListInstances++;
if (buildCounterRegionInstanceGroupsListInstances < 3) {
o.id = "foo";
- o.items = buildUnnamed2357();
+ o.items = buildUnnamed2378();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6570,7 +6638,7 @@
buildCounterRegionInstanceGroupsListInstances++;
if (buildCounterRegionInstanceGroupsListInstances < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2357(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'));
@@ -6599,14 +6667,14 @@
buildCounterRegionInstanceGroupsListInstancesRequest--;
}
-buildUnnamed2358() {
+buildUnnamed2379() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2358(core.List<api.NamedPort> o) {
+checkUnnamed2379(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -6618,7 +6686,7 @@
buildCounterRegionInstanceGroupsSetNamedPortsRequest++;
if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) {
o.fingerprint = "foo";
- o.namedPorts = buildUnnamed2358();
+ o.namedPorts = buildUnnamed2379();
}
buildCounterRegionInstanceGroupsSetNamedPortsRequest--;
return o;
@@ -6628,19 +6696,19 @@
buildCounterRegionInstanceGroupsSetNamedPortsRequest++;
if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2358(o.namedPorts);
+ checkUnnamed2379(o.namedPorts);
}
buildCounterRegionInstanceGroupsSetNamedPortsRequest--;
}
-buildUnnamed2359() {
+buildUnnamed2380() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed2359(core.List<api.Region> o) {
+checkUnnamed2380(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -6652,7 +6720,7 @@
buildCounterRegionList++;
if (buildCounterRegionList < 3) {
o.id = "foo";
- o.items = buildUnnamed2359();
+ o.items = buildUnnamed2380();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6665,7 +6733,7 @@
buildCounterRegionList++;
if (buildCounterRegionList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2359(o.items);
+ checkUnnamed2380(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6713,14 +6781,14 @@
buildCounterResourceGroupReference--;
}
-buildUnnamed2360() {
+buildUnnamed2381() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2360(core.List<core.String> o) {
+checkUnnamed2381(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6747,14 +6815,14 @@
buildCounterRouteWarningsData--;
}
-buildUnnamed2361() {
+buildUnnamed2382() {
var o = new core.List<api.RouteWarningsData>();
o.add(buildRouteWarningsData());
o.add(buildRouteWarningsData());
return o;
}
-checkUnnamed2361(core.List<api.RouteWarningsData> o) {
+checkUnnamed2382(core.List<api.RouteWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouteWarningsData(o[0]);
checkRouteWarningsData(o[1]);
@@ -6766,7 +6834,7 @@
buildCounterRouteWarnings++;
if (buildCounterRouteWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2361();
+ o.data = buildUnnamed2382();
o.message = "foo";
}
buildCounterRouteWarnings--;
@@ -6777,20 +6845,20 @@
buildCounterRouteWarnings++;
if (buildCounterRouteWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2361(o.data);
+ checkUnnamed2382(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRouteWarnings--;
}
-buildUnnamed2362() {
+buildUnnamed2383() {
var o = new core.List<api.RouteWarnings>();
o.add(buildRouteWarnings());
o.add(buildRouteWarnings());
return o;
}
-checkUnnamed2362(core.List<api.RouteWarnings> o) {
+checkUnnamed2383(core.List<api.RouteWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouteWarnings(o[0]);
checkRouteWarnings(o[1]);
@@ -6816,8 +6884,8 @@
o.nextHopVpnTunnel = "foo";
o.priority = 42;
o.selfLink = "foo";
- o.tags = buildUnnamed2360();
- o.warnings = buildUnnamed2362();
+ o.tags = buildUnnamed2381();
+ o.warnings = buildUnnamed2383();
}
buildCounterRoute--;
return o;
@@ -6841,20 +6909,20 @@
unittest.expect(o.nextHopVpnTunnel, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2360(o.tags);
- checkUnnamed2362(o.warnings);
+ checkUnnamed2381(o.tags);
+ checkUnnamed2383(o.warnings);
}
buildCounterRoute--;
}
-buildUnnamed2363() {
+buildUnnamed2384() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2363(core.List<api.Route> o) {
+checkUnnamed2384(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
@@ -6866,7 +6934,7 @@
buildCounterRouteList++;
if (buildCounterRouteList < 3) {
o.id = "foo";
- o.items = buildUnnamed2363();
+ o.items = buildUnnamed2384();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6879,7 +6947,7 @@
buildCounterRouteList++;
if (buildCounterRouteList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2363(o.items);
+ checkUnnamed2384(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6887,27 +6955,27 @@
buildCounterRouteList--;
}
-buildUnnamed2364() {
+buildUnnamed2385() {
var o = new core.List<api.RouterBgpPeer>();
o.add(buildRouterBgpPeer());
o.add(buildRouterBgpPeer());
return o;
}
-checkUnnamed2364(core.List<api.RouterBgpPeer> o) {
+checkUnnamed2385(core.List<api.RouterBgpPeer> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterBgpPeer(o[0]);
checkRouterBgpPeer(o[1]);
}
-buildUnnamed2365() {
+buildUnnamed2386() {
var o = new core.List<api.RouterInterface>();
o.add(buildRouterInterface());
o.add(buildRouterInterface());
return o;
}
-checkUnnamed2365(core.List<api.RouterInterface> o) {
+checkUnnamed2386(core.List<api.RouterInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterInterface(o[0]);
checkRouterInterface(o[1]);
@@ -6919,11 +6987,11 @@
buildCounterRouter++;
if (buildCounterRouter < 3) {
o.bgp = buildRouterBgp();
- o.bgpPeers = buildUnnamed2364();
+ o.bgpPeers = buildUnnamed2385();
o.creationTimestamp = "foo";
o.description = "foo";
o.id = "foo";
- o.interfaces = buildUnnamed2365();
+ o.interfaces = buildUnnamed2386();
o.kind = "foo";
o.name = "foo";
o.network = "foo";
@@ -6938,11 +7006,11 @@
buildCounterRouter++;
if (buildCounterRouter < 3) {
checkRouterBgp(o.bgp);
- checkUnnamed2364(o.bgpPeers);
+ checkUnnamed2385(o.bgpPeers);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2365(o.interfaces);
+ checkUnnamed2386(o.interfaces);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
@@ -6952,14 +7020,14 @@
buildCounterRouter--;
}
-buildUnnamed2366() {
+buildUnnamed2387() {
var o = new core.Map<core.String, api.RoutersScopedList>();
o["x"] = buildRoutersScopedList();
o["y"] = buildRoutersScopedList();
return o;
}
-checkUnnamed2366(core.Map<core.String, api.RoutersScopedList> o) {
+checkUnnamed2387(core.Map<core.String, api.RoutersScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoutersScopedList(o["x"]);
checkRoutersScopedList(o["y"]);
@@ -6971,7 +7039,7 @@
buildCounterRouterAggregatedList++;
if (buildCounterRouterAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2366();
+ o.items = buildUnnamed2387();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6984,7 +7052,7 @@
buildCounterRouterAggregatedList++;
if (buildCounterRouterAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2366(o.items);
+ checkUnnamed2387(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7063,14 +7131,14 @@
buildCounterRouterInterface--;
}
-buildUnnamed2367() {
+buildUnnamed2388() {
var o = new core.List<api.Router>();
o.add(buildRouter());
o.add(buildRouter());
return o;
}
-checkUnnamed2367(core.List<api.Router> o) {
+checkUnnamed2388(core.List<api.Router> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouter(o[0]);
checkRouter(o[1]);
@@ -7082,7 +7150,7 @@
buildCounterRouterList++;
if (buildCounterRouterList < 3) {
o.id = "foo";
- o.items = buildUnnamed2367();
+ o.items = buildUnnamed2388();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7095,7 +7163,7 @@
buildCounterRouterList++;
if (buildCounterRouterList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2367(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'));
@@ -7103,40 +7171,40 @@
buildCounterRouterList--;
}
-buildUnnamed2368() {
+buildUnnamed2389() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2368(core.List<api.Route> o) {
+checkUnnamed2389(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
}
-buildUnnamed2369() {
+buildUnnamed2390() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2369(core.List<api.Route> o) {
+checkUnnamed2390(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
}
-buildUnnamed2370() {
+buildUnnamed2391() {
var o = new core.List<api.RouterStatusBgpPeerStatus>();
o.add(buildRouterStatusBgpPeerStatus());
o.add(buildRouterStatusBgpPeerStatus());
return o;
}
-checkUnnamed2370(core.List<api.RouterStatusBgpPeerStatus> o) {
+checkUnnamed2391(core.List<api.RouterStatusBgpPeerStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterStatusBgpPeerStatus(o[0]);
checkRouterStatusBgpPeerStatus(o[1]);
@@ -7147,9 +7215,9 @@
var o = new api.RouterStatus();
buildCounterRouterStatus++;
if (buildCounterRouterStatus < 3) {
- o.bestRoutes = buildUnnamed2368();
- o.bestRoutesForRouter = buildUnnamed2369();
- o.bgpPeerStatus = buildUnnamed2370();
+ o.bestRoutes = buildUnnamed2389();
+ o.bestRoutesForRouter = buildUnnamed2390();
+ o.bgpPeerStatus = buildUnnamed2391();
o.network = "foo";
}
buildCounterRouterStatus--;
@@ -7159,22 +7227,22 @@
checkRouterStatus(api.RouterStatus o) {
buildCounterRouterStatus++;
if (buildCounterRouterStatus < 3) {
- checkUnnamed2368(o.bestRoutes);
- checkUnnamed2369(o.bestRoutesForRouter);
- checkUnnamed2370(o.bgpPeerStatus);
+ checkUnnamed2389(o.bestRoutes);
+ checkUnnamed2390(o.bestRoutesForRouter);
+ checkUnnamed2391(o.bgpPeerStatus);
unittest.expect(o.network, unittest.equals('foo'));
}
buildCounterRouterStatus--;
}
-buildUnnamed2371() {
+buildUnnamed2392() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2371(core.List<api.Route> o) {
+checkUnnamed2392(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
@@ -7185,7 +7253,7 @@
var o = new api.RouterStatusBgpPeerStatus();
buildCounterRouterStatusBgpPeerStatus++;
if (buildCounterRouterStatusBgpPeerStatus < 3) {
- o.advertisedRoutes = buildUnnamed2371();
+ o.advertisedRoutes = buildUnnamed2392();
o.ipAddress = "foo";
o.linkedVpnTunnel = "foo";
o.name = "foo";
@@ -7203,7 +7271,7 @@
checkRouterStatusBgpPeerStatus(api.RouterStatusBgpPeerStatus o) {
buildCounterRouterStatusBgpPeerStatus++;
if (buildCounterRouterStatusBgpPeerStatus < 3) {
- checkUnnamed2371(o.advertisedRoutes);
+ checkUnnamed2392(o.advertisedRoutes);
unittest.expect(o.ipAddress, unittest.equals('foo'));
unittest.expect(o.linkedVpnTunnel, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -7257,14 +7325,14 @@
buildCounterRoutersPreviewResponse--;
}
-buildUnnamed2372() {
+buildUnnamed2393() {
var o = new core.List<api.Router>();
o.add(buildRouter());
o.add(buildRouter());
return o;
}
-checkUnnamed2372(core.List<api.Router> o) {
+checkUnnamed2393(core.List<api.Router> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouter(o[0]);
checkRouter(o[1]);
@@ -7291,14 +7359,14 @@
buildCounterRoutersScopedListWarningData--;
}
-buildUnnamed2373() {
+buildUnnamed2394() {
var o = new core.List<api.RoutersScopedListWarningData>();
o.add(buildRoutersScopedListWarningData());
o.add(buildRoutersScopedListWarningData());
return o;
}
-checkUnnamed2373(core.List<api.RoutersScopedListWarningData> o) {
+checkUnnamed2394(core.List<api.RoutersScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoutersScopedListWarningData(o[0]);
checkRoutersScopedListWarningData(o[1]);
@@ -7310,7 +7378,7 @@
buildCounterRoutersScopedListWarning++;
if (buildCounterRoutersScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2373();
+ o.data = buildUnnamed2394();
o.message = "foo";
}
buildCounterRoutersScopedListWarning--;
@@ -7321,7 +7389,7 @@
buildCounterRoutersScopedListWarning++;
if (buildCounterRoutersScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2373(o.data);
+ checkUnnamed2394(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRoutersScopedListWarning--;
@@ -7332,7 +7400,7 @@
var o = new api.RoutersScopedList();
buildCounterRoutersScopedList++;
if (buildCounterRoutersScopedList < 3) {
- o.routers = buildUnnamed2372();
+ o.routers = buildUnnamed2393();
o.warning = buildRoutersScopedListWarning();
}
buildCounterRoutersScopedList--;
@@ -7342,7 +7410,7 @@
checkRoutersScopedList(api.RoutersScopedList o) {
buildCounterRoutersScopedList++;
if (buildCounterRoutersScopedList < 3) {
- checkUnnamed2372(o.routers);
+ checkUnnamed2393(o.routers);
checkRoutersScopedListWarning(o.warning);
}
buildCounterRoutersScopedList--;
@@ -7425,14 +7493,14 @@
buildCounterSerialPortOutput--;
}
-buildUnnamed2374() {
+buildUnnamed2395() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2374(core.List<core.String> o) {
+checkUnnamed2395(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7444,7 +7512,7 @@
buildCounterServiceAccount++;
if (buildCounterServiceAccount < 3) {
o.email = "foo";
- o.scopes = buildUnnamed2374();
+ o.scopes = buildUnnamed2395();
}
buildCounterServiceAccount--;
return o;
@@ -7454,32 +7522,32 @@
buildCounterServiceAccount++;
if (buildCounterServiceAccount < 3) {
unittest.expect(o.email, unittest.equals('foo'));
- checkUnnamed2374(o.scopes);
+ checkUnnamed2395(o.scopes);
}
buildCounterServiceAccount--;
}
-buildUnnamed2375() {
+buildUnnamed2396() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2375(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'));
}
-buildUnnamed2376() {
+buildUnnamed2397() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2376(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'));
@@ -7496,8 +7564,8 @@
o.id = "foo";
o.kind = "foo";
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2375();
- o.licenses = buildUnnamed2376();
+ o.labels = buildUnnamed2396();
+ o.licenses = buildUnnamed2397();
o.name = "foo";
o.selfLink = "foo";
o.snapshotEncryptionKey = buildCustomerEncryptionKey();
@@ -7521,8 +7589,8 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2375(o.labels);
- checkUnnamed2376(o.licenses);
+ checkUnnamed2396(o.labels);
+ checkUnnamed2397(o.licenses);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
checkCustomerEncryptionKey(o.snapshotEncryptionKey);
@@ -7536,14 +7604,14 @@
buildCounterSnapshot--;
}
-buildUnnamed2377() {
+buildUnnamed2398() {
var o = new core.List<api.Snapshot>();
o.add(buildSnapshot());
o.add(buildSnapshot());
return o;
}
-checkUnnamed2377(core.List<api.Snapshot> o) {
+checkUnnamed2398(core.List<api.Snapshot> o) {
unittest.expect(o, unittest.hasLength(2));
checkSnapshot(o[0]);
checkSnapshot(o[1]);
@@ -7555,7 +7623,7 @@
buildCounterSnapshotList++;
if (buildCounterSnapshotList < 3) {
o.id = "foo";
- o.items = buildUnnamed2377();
+ o.items = buildUnnamed2398();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7568,7 +7636,7 @@
buildCounterSnapshotList++;
if (buildCounterSnapshotList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2377(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'));
@@ -7609,14 +7677,14 @@
buildCounterSslCertificate--;
}
-buildUnnamed2378() {
+buildUnnamed2399() {
var o = new core.List<api.SslCertificate>();
o.add(buildSslCertificate());
o.add(buildSslCertificate());
return o;
}
-checkUnnamed2378(core.List<api.SslCertificate> o) {
+checkUnnamed2399(core.List<api.SslCertificate> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslCertificate(o[0]);
checkSslCertificate(o[1]);
@@ -7628,7 +7696,7 @@
buildCounterSslCertificateList++;
if (buildCounterSslCertificateList < 3) {
o.id = "foo";
- o.items = buildUnnamed2378();
+ o.items = buildUnnamed2399();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7641,7 +7709,7 @@
buildCounterSslCertificateList++;
if (buildCounterSslCertificateList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2378(o.items);
+ checkUnnamed2399(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7649,14 +7717,14 @@
buildCounterSslCertificateList--;
}
-buildUnnamed2379() {
+buildUnnamed2400() {
var o = new core.List<api.SubnetworkSecondaryRange>();
o.add(buildSubnetworkSecondaryRange());
o.add(buildSubnetworkSecondaryRange());
return o;
}
-checkUnnamed2379(core.List<api.SubnetworkSecondaryRange> o) {
+checkUnnamed2400(core.List<api.SubnetworkSecondaryRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworkSecondaryRange(o[0]);
checkSubnetworkSecondaryRange(o[1]);
@@ -7677,7 +7745,7 @@
o.network = "foo";
o.privateIpGoogleAccess = true;
o.region = "foo";
- o.secondaryIpRanges = buildUnnamed2379();
+ o.secondaryIpRanges = buildUnnamed2400();
o.selfLink = "foo";
}
buildCounterSubnetwork--;
@@ -7697,20 +7765,20 @@
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.privateIpGoogleAccess, unittest.isTrue);
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed2379(o.secondaryIpRanges);
+ checkUnnamed2400(o.secondaryIpRanges);
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterSubnetwork--;
}
-buildUnnamed2380() {
+buildUnnamed2401() {
var o = new core.Map<core.String, api.SubnetworksScopedList>();
o["x"] = buildSubnetworksScopedList();
o["y"] = buildSubnetworksScopedList();
return o;
}
-checkUnnamed2380(core.Map<core.String, api.SubnetworksScopedList> o) {
+checkUnnamed2401(core.Map<core.String, api.SubnetworksScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworksScopedList(o["x"]);
checkSubnetworksScopedList(o["y"]);
@@ -7722,7 +7790,7 @@
buildCounterSubnetworkAggregatedList++;
if (buildCounterSubnetworkAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2380();
+ o.items = buildUnnamed2401();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7735,7 +7803,7 @@
buildCounterSubnetworkAggregatedList++;
if (buildCounterSubnetworkAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2380(o.items);
+ checkUnnamed2401(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7743,14 +7811,14 @@
buildCounterSubnetworkAggregatedList--;
}
-buildUnnamed2381() {
+buildUnnamed2402() {
var o = new core.List<api.Subnetwork>();
o.add(buildSubnetwork());
o.add(buildSubnetwork());
return o;
}
-checkUnnamed2381(core.List<api.Subnetwork> o) {
+checkUnnamed2402(core.List<api.Subnetwork> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetwork(o[0]);
checkSubnetwork(o[1]);
@@ -7762,7 +7830,7 @@
buildCounterSubnetworkList++;
if (buildCounterSubnetworkList < 3) {
o.id = "foo";
- o.items = buildUnnamed2381();
+ o.items = buildUnnamed2402();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7775,7 +7843,7 @@
buildCounterSubnetworkList++;
if (buildCounterSubnetworkList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2381(o.items);
+ checkUnnamed2402(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7823,14 +7891,14 @@
buildCounterSubnetworksExpandIpCidrRangeRequest--;
}
-buildUnnamed2382() {
+buildUnnamed2403() {
var o = new core.List<api.Subnetwork>();
o.add(buildSubnetwork());
o.add(buildSubnetwork());
return o;
}
-checkUnnamed2382(core.List<api.Subnetwork> o) {
+checkUnnamed2403(core.List<api.Subnetwork> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetwork(o[0]);
checkSubnetwork(o[1]);
@@ -7857,14 +7925,14 @@
buildCounterSubnetworksScopedListWarningData--;
}
-buildUnnamed2383() {
+buildUnnamed2404() {
var o = new core.List<api.SubnetworksScopedListWarningData>();
o.add(buildSubnetworksScopedListWarningData());
o.add(buildSubnetworksScopedListWarningData());
return o;
}
-checkUnnamed2383(core.List<api.SubnetworksScopedListWarningData> o) {
+checkUnnamed2404(core.List<api.SubnetworksScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworksScopedListWarningData(o[0]);
checkSubnetworksScopedListWarningData(o[1]);
@@ -7876,7 +7944,7 @@
buildCounterSubnetworksScopedListWarning++;
if (buildCounterSubnetworksScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2383();
+ o.data = buildUnnamed2404();
o.message = "foo";
}
buildCounterSubnetworksScopedListWarning--;
@@ -7887,7 +7955,7 @@
buildCounterSubnetworksScopedListWarning++;
if (buildCounterSubnetworksScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2383(o.data);
+ checkUnnamed2404(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSubnetworksScopedListWarning--;
@@ -7898,7 +7966,7 @@
var o = new api.SubnetworksScopedList();
buildCounterSubnetworksScopedList++;
if (buildCounterSubnetworksScopedList < 3) {
- o.subnetworks = buildUnnamed2382();
+ o.subnetworks = buildUnnamed2403();
o.warning = buildSubnetworksScopedListWarning();
}
buildCounterSubnetworksScopedList--;
@@ -7908,7 +7976,7 @@
checkSubnetworksScopedList(api.SubnetworksScopedList o) {
buildCounterSubnetworksScopedList++;
if (buildCounterSubnetworksScopedList < 3) {
- checkUnnamed2382(o.subnetworks);
+ checkUnnamed2403(o.subnetworks);
checkSubnetworksScopedListWarning(o.warning);
}
buildCounterSubnetworksScopedList--;
@@ -7960,14 +8028,14 @@
buildCounterTCPHealthCheck--;
}
-buildUnnamed2384() {
+buildUnnamed2405() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2384(core.List<core.String> o) {
+checkUnnamed2405(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7979,7 +8047,7 @@
buildCounterTags++;
if (buildCounterTags < 3) {
o.fingerprint = "foo";
- o.items = buildUnnamed2384();
+ o.items = buildUnnamed2405();
}
buildCounterTags--;
return o;
@@ -7989,7 +8057,7 @@
buildCounterTags++;
if (buildCounterTags < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2384(o.items);
+ checkUnnamed2405(o.items);
}
buildCounterTags--;
}
@@ -8025,14 +8093,14 @@
buildCounterTargetHttpProxy--;
}
-buildUnnamed2385() {
+buildUnnamed2406() {
var o = new core.List<api.TargetHttpProxy>();
o.add(buildTargetHttpProxy());
o.add(buildTargetHttpProxy());
return o;
}
-checkUnnamed2385(core.List<api.TargetHttpProxy> o) {
+checkUnnamed2406(core.List<api.TargetHttpProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpProxy(o[0]);
checkTargetHttpProxy(o[1]);
@@ -8044,7 +8112,7 @@
buildCounterTargetHttpProxyList++;
if (buildCounterTargetHttpProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2385();
+ o.items = buildUnnamed2406();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8057,7 +8125,7 @@
buildCounterTargetHttpProxyList++;
if (buildCounterTargetHttpProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2385(o.items);
+ checkUnnamed2406(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8065,14 +8133,14 @@
buildCounterTargetHttpProxyList--;
}
-buildUnnamed2386() {
+buildUnnamed2407() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2386(core.List<core.String> o) {
+checkUnnamed2407(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8083,7 +8151,7 @@
var o = new api.TargetHttpsProxiesSetSslCertificatesRequest();
buildCounterTargetHttpsProxiesSetSslCertificatesRequest++;
if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) {
- o.sslCertificates = buildUnnamed2386();
+ o.sslCertificates = buildUnnamed2407();
}
buildCounterTargetHttpsProxiesSetSslCertificatesRequest--;
return o;
@@ -8092,19 +8160,19 @@
checkTargetHttpsProxiesSetSslCertificatesRequest(api.TargetHttpsProxiesSetSslCertificatesRequest o) {
buildCounterTargetHttpsProxiesSetSslCertificatesRequest++;
if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) {
- checkUnnamed2386(o.sslCertificates);
+ checkUnnamed2407(o.sslCertificates);
}
buildCounterTargetHttpsProxiesSetSslCertificatesRequest--;
}
-buildUnnamed2387() {
+buildUnnamed2408() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2387(core.List<core.String> o) {
+checkUnnamed2408(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8121,7 +8189,7 @@
o.kind = "foo";
o.name = "foo";
o.selfLink = "foo";
- o.sslCertificates = buildUnnamed2387();
+ o.sslCertificates = buildUnnamed2408();
o.urlMap = "foo";
}
buildCounterTargetHttpsProxy--;
@@ -8137,20 +8205,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2387(o.sslCertificates);
+ checkUnnamed2408(o.sslCertificates);
unittest.expect(o.urlMap, unittest.equals('foo'));
}
buildCounterTargetHttpsProxy--;
}
-buildUnnamed2388() {
+buildUnnamed2409() {
var o = new core.List<api.TargetHttpsProxy>();
o.add(buildTargetHttpsProxy());
o.add(buildTargetHttpsProxy());
return o;
}
-checkUnnamed2388(core.List<api.TargetHttpsProxy> o) {
+checkUnnamed2409(core.List<api.TargetHttpsProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpsProxy(o[0]);
checkTargetHttpsProxy(o[1]);
@@ -8162,7 +8230,7 @@
buildCounterTargetHttpsProxyList++;
if (buildCounterTargetHttpsProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2388();
+ o.items = buildUnnamed2409();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8175,7 +8243,7 @@
buildCounterTargetHttpsProxyList++;
if (buildCounterTargetHttpsProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2388(o.items);
+ checkUnnamed2409(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8218,14 +8286,14 @@
buildCounterTargetInstance--;
}
-buildUnnamed2389() {
+buildUnnamed2410() {
var o = new core.Map<core.String, api.TargetInstancesScopedList>();
o["x"] = buildTargetInstancesScopedList();
o["y"] = buildTargetInstancesScopedList();
return o;
}
-checkUnnamed2389(core.Map<core.String, api.TargetInstancesScopedList> o) {
+checkUnnamed2410(core.Map<core.String, api.TargetInstancesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstancesScopedList(o["x"]);
checkTargetInstancesScopedList(o["y"]);
@@ -8237,7 +8305,7 @@
buildCounterTargetInstanceAggregatedList++;
if (buildCounterTargetInstanceAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2389();
+ o.items = buildUnnamed2410();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8250,7 +8318,7 @@
buildCounterTargetInstanceAggregatedList++;
if (buildCounterTargetInstanceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2389(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'));
@@ -8258,14 +8326,14 @@
buildCounterTargetInstanceAggregatedList--;
}
-buildUnnamed2390() {
+buildUnnamed2411() {
var o = new core.List<api.TargetInstance>();
o.add(buildTargetInstance());
o.add(buildTargetInstance());
return o;
}
-checkUnnamed2390(core.List<api.TargetInstance> o) {
+checkUnnamed2411(core.List<api.TargetInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstance(o[0]);
checkTargetInstance(o[1]);
@@ -8277,7 +8345,7 @@
buildCounterTargetInstanceList++;
if (buildCounterTargetInstanceList < 3) {
o.id = "foo";
- o.items = buildUnnamed2390();
+ o.items = buildUnnamed2411();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8290,7 +8358,7 @@
buildCounterTargetInstanceList++;
if (buildCounterTargetInstanceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2390(o.items);
+ checkUnnamed2411(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8298,14 +8366,14 @@
buildCounterTargetInstanceList--;
}
-buildUnnamed2391() {
+buildUnnamed2412() {
var o = new core.List<api.TargetInstance>();
o.add(buildTargetInstance());
o.add(buildTargetInstance());
return o;
}
-checkUnnamed2391(core.List<api.TargetInstance> o) {
+checkUnnamed2412(core.List<api.TargetInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstance(o[0]);
checkTargetInstance(o[1]);
@@ -8332,14 +8400,14 @@
buildCounterTargetInstancesScopedListWarningData--;
}
-buildUnnamed2392() {
+buildUnnamed2413() {
var o = new core.List<api.TargetInstancesScopedListWarningData>();
o.add(buildTargetInstancesScopedListWarningData());
o.add(buildTargetInstancesScopedListWarningData());
return o;
}
-checkUnnamed2392(core.List<api.TargetInstancesScopedListWarningData> o) {
+checkUnnamed2413(core.List<api.TargetInstancesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstancesScopedListWarningData(o[0]);
checkTargetInstancesScopedListWarningData(o[1]);
@@ -8351,7 +8419,7 @@
buildCounterTargetInstancesScopedListWarning++;
if (buildCounterTargetInstancesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2392();
+ o.data = buildUnnamed2413();
o.message = "foo";
}
buildCounterTargetInstancesScopedListWarning--;
@@ -8362,7 +8430,7 @@
buildCounterTargetInstancesScopedListWarning++;
if (buildCounterTargetInstancesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2392(o.data);
+ checkUnnamed2413(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetInstancesScopedListWarning--;
@@ -8373,7 +8441,7 @@
var o = new api.TargetInstancesScopedList();
buildCounterTargetInstancesScopedList++;
if (buildCounterTargetInstancesScopedList < 3) {
- o.targetInstances = buildUnnamed2391();
+ o.targetInstances = buildUnnamed2412();
o.warning = buildTargetInstancesScopedListWarning();
}
buildCounterTargetInstancesScopedList--;
@@ -8383,33 +8451,33 @@
checkTargetInstancesScopedList(api.TargetInstancesScopedList o) {
buildCounterTargetInstancesScopedList++;
if (buildCounterTargetInstancesScopedList < 3) {
- checkUnnamed2391(o.targetInstances);
+ checkUnnamed2412(o.targetInstances);
checkTargetInstancesScopedListWarning(o.warning);
}
buildCounterTargetInstancesScopedList--;
}
-buildUnnamed2393() {
+buildUnnamed2414() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2393(core.List<core.String> o) {
+checkUnnamed2414(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2394() {
+buildUnnamed2415() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2394(core.List<core.String> o) {
+checkUnnamed2415(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8424,9 +8492,9 @@
o.creationTimestamp = "foo";
o.description = "foo";
o.failoverRatio = 42.0;
- o.healthChecks = buildUnnamed2393();
+ o.healthChecks = buildUnnamed2414();
o.id = "foo";
- o.instances = buildUnnamed2394();
+ o.instances = buildUnnamed2415();
o.kind = "foo";
o.name = "foo";
o.region = "foo";
@@ -8444,9 +8512,9 @@
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.failoverRatio, unittest.equals(42.0));
- checkUnnamed2393(o.healthChecks);
+ checkUnnamed2414(o.healthChecks);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2394(o.instances);
+ checkUnnamed2415(o.instances);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
@@ -8456,14 +8524,14 @@
buildCounterTargetPool--;
}
-buildUnnamed2395() {
+buildUnnamed2416() {
var o = new core.Map<core.String, api.TargetPoolsScopedList>();
o["x"] = buildTargetPoolsScopedList();
o["y"] = buildTargetPoolsScopedList();
return o;
}
-checkUnnamed2395(core.Map<core.String, api.TargetPoolsScopedList> o) {
+checkUnnamed2416(core.Map<core.String, api.TargetPoolsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolsScopedList(o["x"]);
checkTargetPoolsScopedList(o["y"]);
@@ -8475,7 +8543,7 @@
buildCounterTargetPoolAggregatedList++;
if (buildCounterTargetPoolAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2395();
+ o.items = buildUnnamed2416();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8488,7 +8556,7 @@
buildCounterTargetPoolAggregatedList++;
if (buildCounterTargetPoolAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2395(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'));
@@ -8496,14 +8564,14 @@
buildCounterTargetPoolAggregatedList--;
}
-buildUnnamed2396() {
+buildUnnamed2417() {
var o = new core.List<api.HealthStatus>();
o.add(buildHealthStatus());
o.add(buildHealthStatus());
return o;
}
-checkUnnamed2396(core.List<api.HealthStatus> o) {
+checkUnnamed2417(core.List<api.HealthStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthStatus(o[0]);
checkHealthStatus(o[1]);
@@ -8514,7 +8582,7 @@
var o = new api.TargetPoolInstanceHealth();
buildCounterTargetPoolInstanceHealth++;
if (buildCounterTargetPoolInstanceHealth < 3) {
- o.healthStatus = buildUnnamed2396();
+ o.healthStatus = buildUnnamed2417();
o.kind = "foo";
}
buildCounterTargetPoolInstanceHealth--;
@@ -8524,20 +8592,20 @@
checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) {
buildCounterTargetPoolInstanceHealth++;
if (buildCounterTargetPoolInstanceHealth < 3) {
- checkUnnamed2396(o.healthStatus);
+ checkUnnamed2417(o.healthStatus);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTargetPoolInstanceHealth--;
}
-buildUnnamed2397() {
+buildUnnamed2418() {
var o = new core.List<api.TargetPool>();
o.add(buildTargetPool());
o.add(buildTargetPool());
return o;
}
-checkUnnamed2397(core.List<api.TargetPool> o) {
+checkUnnamed2418(core.List<api.TargetPool> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPool(o[0]);
checkTargetPool(o[1]);
@@ -8549,7 +8617,7 @@
buildCounterTargetPoolList++;
if (buildCounterTargetPoolList < 3) {
o.id = "foo";
- o.items = buildUnnamed2397();
+ o.items = buildUnnamed2418();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8562,7 +8630,7 @@
buildCounterTargetPoolList++;
if (buildCounterTargetPoolList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2397(o.items);
+ checkUnnamed2418(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8570,14 +8638,14 @@
buildCounterTargetPoolList--;
}
-buildUnnamed2398() {
+buildUnnamed2419() {
var o = new core.List<api.HealthCheckReference>();
o.add(buildHealthCheckReference());
o.add(buildHealthCheckReference());
return o;
}
-checkUnnamed2398(core.List<api.HealthCheckReference> o) {
+checkUnnamed2419(core.List<api.HealthCheckReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheckReference(o[0]);
checkHealthCheckReference(o[1]);
@@ -8588,7 +8656,7 @@
var o = new api.TargetPoolsAddHealthCheckRequest();
buildCounterTargetPoolsAddHealthCheckRequest++;
if (buildCounterTargetPoolsAddHealthCheckRequest < 3) {
- o.healthChecks = buildUnnamed2398();
+ o.healthChecks = buildUnnamed2419();
}
buildCounterTargetPoolsAddHealthCheckRequest--;
return o;
@@ -8597,19 +8665,19 @@
checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) {
buildCounterTargetPoolsAddHealthCheckRequest++;
if (buildCounterTargetPoolsAddHealthCheckRequest < 3) {
- checkUnnamed2398(o.healthChecks);
+ checkUnnamed2419(o.healthChecks);
}
buildCounterTargetPoolsAddHealthCheckRequest--;
}
-buildUnnamed2399() {
+buildUnnamed2420() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed2399(core.List<api.InstanceReference> o) {
+checkUnnamed2420(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -8620,7 +8688,7 @@
var o = new api.TargetPoolsAddInstanceRequest();
buildCounterTargetPoolsAddInstanceRequest++;
if (buildCounterTargetPoolsAddInstanceRequest < 3) {
- o.instances = buildUnnamed2399();
+ o.instances = buildUnnamed2420();
}
buildCounterTargetPoolsAddInstanceRequest--;
return o;
@@ -8629,19 +8697,19 @@
checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) {
buildCounterTargetPoolsAddInstanceRequest++;
if (buildCounterTargetPoolsAddInstanceRequest < 3) {
- checkUnnamed2399(o.instances);
+ checkUnnamed2420(o.instances);
}
buildCounterTargetPoolsAddInstanceRequest--;
}
-buildUnnamed2400() {
+buildUnnamed2421() {
var o = new core.List<api.HealthCheckReference>();
o.add(buildHealthCheckReference());
o.add(buildHealthCheckReference());
return o;
}
-checkUnnamed2400(core.List<api.HealthCheckReference> o) {
+checkUnnamed2421(core.List<api.HealthCheckReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheckReference(o[0]);
checkHealthCheckReference(o[1]);
@@ -8652,7 +8720,7 @@
var o = new api.TargetPoolsRemoveHealthCheckRequest();
buildCounterTargetPoolsRemoveHealthCheckRequest++;
if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) {
- o.healthChecks = buildUnnamed2400();
+ o.healthChecks = buildUnnamed2421();
}
buildCounterTargetPoolsRemoveHealthCheckRequest--;
return o;
@@ -8661,19 +8729,19 @@
checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest o) {
buildCounterTargetPoolsRemoveHealthCheckRequest++;
if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) {
- checkUnnamed2400(o.healthChecks);
+ checkUnnamed2421(o.healthChecks);
}
buildCounterTargetPoolsRemoveHealthCheckRequest--;
}
-buildUnnamed2401() {
+buildUnnamed2422() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed2401(core.List<api.InstanceReference> o) {
+checkUnnamed2422(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -8684,7 +8752,7 @@
var o = new api.TargetPoolsRemoveInstanceRequest();
buildCounterTargetPoolsRemoveInstanceRequest++;
if (buildCounterTargetPoolsRemoveInstanceRequest < 3) {
- o.instances = buildUnnamed2401();
+ o.instances = buildUnnamed2422();
}
buildCounterTargetPoolsRemoveInstanceRequest--;
return o;
@@ -8693,19 +8761,19 @@
checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) {
buildCounterTargetPoolsRemoveInstanceRequest++;
if (buildCounterTargetPoolsRemoveInstanceRequest < 3) {
- checkUnnamed2401(o.instances);
+ checkUnnamed2422(o.instances);
}
buildCounterTargetPoolsRemoveInstanceRequest--;
}
-buildUnnamed2402() {
+buildUnnamed2423() {
var o = new core.List<api.TargetPool>();
o.add(buildTargetPool());
o.add(buildTargetPool());
return o;
}
-checkUnnamed2402(core.List<api.TargetPool> o) {
+checkUnnamed2423(core.List<api.TargetPool> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPool(o[0]);
checkTargetPool(o[1]);
@@ -8732,14 +8800,14 @@
buildCounterTargetPoolsScopedListWarningData--;
}
-buildUnnamed2403() {
+buildUnnamed2424() {
var o = new core.List<api.TargetPoolsScopedListWarningData>();
o.add(buildTargetPoolsScopedListWarningData());
o.add(buildTargetPoolsScopedListWarningData());
return o;
}
-checkUnnamed2403(core.List<api.TargetPoolsScopedListWarningData> o) {
+checkUnnamed2424(core.List<api.TargetPoolsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolsScopedListWarningData(o[0]);
checkTargetPoolsScopedListWarningData(o[1]);
@@ -8751,7 +8819,7 @@
buildCounterTargetPoolsScopedListWarning++;
if (buildCounterTargetPoolsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2403();
+ o.data = buildUnnamed2424();
o.message = "foo";
}
buildCounterTargetPoolsScopedListWarning--;
@@ -8762,7 +8830,7 @@
buildCounterTargetPoolsScopedListWarning++;
if (buildCounterTargetPoolsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2403(o.data);
+ checkUnnamed2424(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetPoolsScopedListWarning--;
@@ -8773,7 +8841,7 @@
var o = new api.TargetPoolsScopedList();
buildCounterTargetPoolsScopedList++;
if (buildCounterTargetPoolsScopedList < 3) {
- o.targetPools = buildUnnamed2402();
+ o.targetPools = buildUnnamed2423();
o.warning = buildTargetPoolsScopedListWarning();
}
buildCounterTargetPoolsScopedList--;
@@ -8783,7 +8851,7 @@
checkTargetPoolsScopedList(api.TargetPoolsScopedList o) {
buildCounterTargetPoolsScopedList++;
if (buildCounterTargetPoolsScopedList < 3) {
- checkUnnamed2402(o.targetPools);
+ checkUnnamed2423(o.targetPools);
checkTargetPoolsScopedListWarning(o.warning);
}
buildCounterTargetPoolsScopedList--;
@@ -8846,14 +8914,14 @@
buildCounterTargetSslProxiesSetProxyHeaderRequest--;
}
-buildUnnamed2404() {
+buildUnnamed2425() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2404(core.List<core.String> o) {
+checkUnnamed2425(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8864,7 +8932,7 @@
var o = new api.TargetSslProxiesSetSslCertificatesRequest();
buildCounterTargetSslProxiesSetSslCertificatesRequest++;
if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) {
- o.sslCertificates = buildUnnamed2404();
+ o.sslCertificates = buildUnnamed2425();
}
buildCounterTargetSslProxiesSetSslCertificatesRequest--;
return o;
@@ -8873,19 +8941,19 @@
checkTargetSslProxiesSetSslCertificatesRequest(api.TargetSslProxiesSetSslCertificatesRequest o) {
buildCounterTargetSslProxiesSetSslCertificatesRequest++;
if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) {
- checkUnnamed2404(o.sslCertificates);
+ checkUnnamed2425(o.sslCertificates);
}
buildCounterTargetSslProxiesSetSslCertificatesRequest--;
}
-buildUnnamed2405() {
+buildUnnamed2426() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2405(core.List<core.String> o) {
+checkUnnamed2426(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8904,7 +8972,7 @@
o.proxyHeader = "foo";
o.selfLink = "foo";
o.service = "foo";
- o.sslCertificates = buildUnnamed2405();
+ o.sslCertificates = buildUnnamed2426();
}
buildCounterTargetSslProxy--;
return o;
@@ -8921,19 +8989,19 @@
unittest.expect(o.proxyHeader, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.service, unittest.equals('foo'));
- checkUnnamed2405(o.sslCertificates);
+ checkUnnamed2426(o.sslCertificates);
}
buildCounterTargetSslProxy--;
}
-buildUnnamed2406() {
+buildUnnamed2427() {
var o = new core.List<api.TargetSslProxy>();
o.add(buildTargetSslProxy());
o.add(buildTargetSslProxy());
return o;
}
-checkUnnamed2406(core.List<api.TargetSslProxy> o) {
+checkUnnamed2427(core.List<api.TargetSslProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetSslProxy(o[0]);
checkTargetSslProxy(o[1]);
@@ -8945,7 +9013,7 @@
buildCounterTargetSslProxyList++;
if (buildCounterTargetSslProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2406();
+ o.items = buildUnnamed2427();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8958,7 +9026,7 @@
buildCounterTargetSslProxyList++;
if (buildCounterTargetSslProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2406(o.items);
+ checkUnnamed2427(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -9037,14 +9105,14 @@
buildCounterTargetTcpProxy--;
}
-buildUnnamed2407() {
+buildUnnamed2428() {
var o = new core.List<api.TargetTcpProxy>();
o.add(buildTargetTcpProxy());
o.add(buildTargetTcpProxy());
return o;
}
-checkUnnamed2407(core.List<api.TargetTcpProxy> o) {
+checkUnnamed2428(core.List<api.TargetTcpProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetTcpProxy(o[0]);
checkTargetTcpProxy(o[1]);
@@ -9056,7 +9124,7 @@
buildCounterTargetTcpProxyList++;
if (buildCounterTargetTcpProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2407();
+ o.items = buildUnnamed2428();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -9069,7 +9137,7 @@
buildCounterTargetTcpProxyList++;
if (buildCounterTargetTcpProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2407(o.items);
+ checkUnnamed2428(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -9077,27 +9145,27 @@
buildCounterTargetTcpProxyList--;
}
-buildUnnamed2408() {
+buildUnnamed2429() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2408(core.List<core.String> o) {
+checkUnnamed2429(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2409() {
+buildUnnamed2430() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2409(core.List<core.String> o) {
+checkUnnamed2430(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -9110,7 +9178,7 @@
if (buildCounterTargetVpnGateway < 3) {
o.creationTimestamp = "foo";
o.description = "foo";
- o.forwardingRules = buildUnnamed2408();
+ o.forwardingRules = buildUnnamed2429();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -9118,7 +9186,7 @@
o.region = "foo";
o.selfLink = "foo";
o.status = "foo";
- o.tunnels = buildUnnamed2409();
+ o.tunnels = buildUnnamed2430();
}
buildCounterTargetVpnGateway--;
return o;
@@ -9129,7 +9197,7 @@
if (buildCounterTargetVpnGateway < 3) {
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2408(o.forwardingRules);
+ checkUnnamed2429(o.forwardingRules);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -9137,19 +9205,19 @@
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed2409(o.tunnels);
+ checkUnnamed2430(o.tunnels);
}
buildCounterTargetVpnGateway--;
}
-buildUnnamed2410() {
+buildUnnamed2431() {
var o = new core.Map<core.String, api.TargetVpnGatewaysScopedList>();
o["x"] = buildTargetVpnGatewaysScopedList();
o["y"] = buildTargetVpnGatewaysScopedList();
return o;
}
-checkUnnamed2410(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) {
+checkUnnamed2431(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGatewaysScopedList(o["x"]);
checkTargetVpnGatewaysScopedList(o["y"]);
@@ -9161,7 +9229,7 @@
buildCounterTargetVpnGatewayAggregatedList++;
if (buildCounterTargetVpnGatewayAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2410();
+ o.items = buildUnnamed2431();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -9174,7 +9242,7 @@
buildCounterTargetVpnGatewayAggregatedList++;
if (buildCounterTargetVpnGatewayAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2410(o.items);
+ checkUnnamed2431(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -9182,14 +9250,14 @@
buildCounterTargetVpnGatewayAggregatedList--;
}
-buildUnnamed2411() {
+buildUnnamed2432() {
var o = new core.List<api.TargetVpnGateway>();
o.add(buildTargetVpnGateway());
o.add(buildTargetVpnGateway());
return o;
}
-checkUnnamed2411(core.List<api.TargetVpnGateway> o) {
+checkUnnamed2432(core.List<api.TargetVpnGateway> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGateway(o[0]);
checkTargetVpnGateway(o[1]);
@@ -9201,7 +9269,7 @@
buildCounterTargetVpnGatewayList++;
if (buildCounterTargetVpnGatewayList < 3) {
o.id = "foo";
- o.items = buildUnnamed2411();
+ o.items = buildUnnamed2432();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -9214,7 +9282,7 @@
buildCounterTargetVpnGatewayList++;
if (buildCounterTargetVpnGatewayList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2411(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'));
@@ -9222,14 +9290,14 @@
buildCounterTargetVpnGatewayList--;
}
-buildUnnamed2412() {
+buildUnnamed2433() {
var o = new core.List<api.TargetVpnGateway>();
o.add(buildTargetVpnGateway());
o.add(buildTargetVpnGateway());
return o;
}
-checkUnnamed2412(core.List<api.TargetVpnGateway> o) {
+checkUnnamed2433(core.List<api.TargetVpnGateway> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGateway(o[0]);
checkTargetVpnGateway(o[1]);
@@ -9256,14 +9324,14 @@
buildCounterTargetVpnGatewaysScopedListWarningData--;
}
-buildUnnamed2413() {
+buildUnnamed2434() {
var o = new core.List<api.TargetVpnGatewaysScopedListWarningData>();
o.add(buildTargetVpnGatewaysScopedListWarningData());
o.add(buildTargetVpnGatewaysScopedListWarningData());
return o;
}
-checkUnnamed2413(core.List<api.TargetVpnGatewaysScopedListWarningData> o) {
+checkUnnamed2434(core.List<api.TargetVpnGatewaysScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGatewaysScopedListWarningData(o[0]);
checkTargetVpnGatewaysScopedListWarningData(o[1]);
@@ -9275,7 +9343,7 @@
buildCounterTargetVpnGatewaysScopedListWarning++;
if (buildCounterTargetVpnGatewaysScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2413();
+ o.data = buildUnnamed2434();
o.message = "foo";
}
buildCounterTargetVpnGatewaysScopedListWarning--;
@@ -9286,7 +9354,7 @@
buildCounterTargetVpnGatewaysScopedListWarning++;
if (buildCounterTargetVpnGatewaysScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2413(o.data);
+ checkUnnamed2434(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetVpnGatewaysScopedListWarning--;
@@ -9297,7 +9365,7 @@
var o = new api.TargetVpnGatewaysScopedList();
buildCounterTargetVpnGatewaysScopedList++;
if (buildCounterTargetVpnGatewaysScopedList < 3) {
- o.targetVpnGateways = buildUnnamed2412();
+ o.targetVpnGateways = buildUnnamed2433();
o.warning = buildTargetVpnGatewaysScopedListWarning();
}
buildCounterTargetVpnGatewaysScopedList--;
@@ -9307,7 +9375,7 @@
checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) {
buildCounterTargetVpnGatewaysScopedList++;
if (buildCounterTargetVpnGatewaysScopedList < 3) {
- checkUnnamed2412(o.targetVpnGateways);
+ checkUnnamed2433(o.targetVpnGateways);
checkTargetVpnGatewaysScopedListWarning(o.warning);
}
buildCounterTargetVpnGatewaysScopedList--;
@@ -9338,40 +9406,40 @@
buildCounterTestFailure--;
}
-buildUnnamed2414() {
+buildUnnamed2435() {
var o = new core.List<api.HostRule>();
o.add(buildHostRule());
o.add(buildHostRule());
return o;
}
-checkUnnamed2414(core.List<api.HostRule> o) {
+checkUnnamed2435(core.List<api.HostRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHostRule(o[0]);
checkHostRule(o[1]);
}
-buildUnnamed2415() {
+buildUnnamed2436() {
var o = new core.List<api.PathMatcher>();
o.add(buildPathMatcher());
o.add(buildPathMatcher());
return o;
}
-checkUnnamed2415(core.List<api.PathMatcher> o) {
+checkUnnamed2436(core.List<api.PathMatcher> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathMatcher(o[0]);
checkPathMatcher(o[1]);
}
-buildUnnamed2416() {
+buildUnnamed2437() {
var o = new core.List<api.UrlMapTest>();
o.add(buildUrlMapTest());
o.add(buildUrlMapTest());
return o;
}
-checkUnnamed2416(core.List<api.UrlMapTest> o) {
+checkUnnamed2437(core.List<api.UrlMapTest> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMapTest(o[0]);
checkUrlMapTest(o[1]);
@@ -9386,13 +9454,13 @@
o.defaultService = "foo";
o.description = "foo";
o.fingerprint = "foo";
- o.hostRules = buildUnnamed2414();
+ o.hostRules = buildUnnamed2435();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.pathMatchers = buildUnnamed2415();
+ o.pathMatchers = buildUnnamed2436();
o.selfLink = "foo";
- o.tests = buildUnnamed2416();
+ o.tests = buildUnnamed2437();
}
buildCounterUrlMap--;
return o;
@@ -9405,25 +9473,25 @@
unittest.expect(o.defaultService, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2414(o.hostRules);
+ checkUnnamed2435(o.hostRules);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2415(o.pathMatchers);
+ checkUnnamed2436(o.pathMatchers);
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2416(o.tests);
+ checkUnnamed2437(o.tests);
}
buildCounterUrlMap--;
}
-buildUnnamed2417() {
+buildUnnamed2438() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed2417(core.List<api.UrlMap> o) {
+checkUnnamed2438(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
@@ -9435,7 +9503,7 @@
buildCounterUrlMapList++;
if (buildCounterUrlMapList < 3) {
o.id = "foo";
- o.items = buildUnnamed2417();
+ o.items = buildUnnamed2438();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -9448,7 +9516,7 @@
buildCounterUrlMapList++;
if (buildCounterUrlMapList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2417(o.items);
+ checkUnnamed2438(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -9500,27 +9568,27 @@
buildCounterUrlMapTest--;
}
-buildUnnamed2418() {
+buildUnnamed2439() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2418(core.List<core.String> o) {
+checkUnnamed2439(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2419() {
+buildUnnamed2440() {
var o = new core.List<api.TestFailure>();
o.add(buildTestFailure());
o.add(buildTestFailure());
return o;
}
-checkUnnamed2419(core.List<api.TestFailure> o) {
+checkUnnamed2440(core.List<api.TestFailure> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestFailure(o[0]);
checkTestFailure(o[1]);
@@ -9531,9 +9599,9 @@
var o = new api.UrlMapValidationResult();
buildCounterUrlMapValidationResult++;
if (buildCounterUrlMapValidationResult < 3) {
- o.loadErrors = buildUnnamed2418();
+ o.loadErrors = buildUnnamed2439();
o.loadSucceeded = true;
- o.testFailures = buildUnnamed2419();
+ o.testFailures = buildUnnamed2440();
o.testPassed = true;
}
buildCounterUrlMapValidationResult--;
@@ -9543,9 +9611,9 @@
checkUrlMapValidationResult(api.UrlMapValidationResult o) {
buildCounterUrlMapValidationResult++;
if (buildCounterUrlMapValidationResult < 3) {
- checkUnnamed2418(o.loadErrors);
+ checkUnnamed2439(o.loadErrors);
unittest.expect(o.loadSucceeded, unittest.isTrue);
- checkUnnamed2419(o.testFailures);
+ checkUnnamed2440(o.testFailures);
unittest.expect(o.testPassed, unittest.isTrue);
}
buildCounterUrlMapValidationResult--;
@@ -9610,27 +9678,27 @@
buildCounterUsageExportLocation--;
}
-buildUnnamed2420() {
+buildUnnamed2441() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2420(core.List<core.String> o) {
+checkUnnamed2441(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2421() {
+buildUnnamed2442() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2421(core.List<core.String> o) {
+checkUnnamed2442(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -9647,11 +9715,11 @@
o.id = "foo";
o.ikeVersion = 42;
o.kind = "foo";
- o.localTrafficSelector = buildUnnamed2420();
+ o.localTrafficSelector = buildUnnamed2441();
o.name = "foo";
o.peerIp = "foo";
o.region = "foo";
- o.remoteTrafficSelector = buildUnnamed2421();
+ o.remoteTrafficSelector = buildUnnamed2442();
o.router = "foo";
o.selfLink = "foo";
o.sharedSecret = "foo";
@@ -9672,11 +9740,11 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.ikeVersion, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2420(o.localTrafficSelector);
+ checkUnnamed2441(o.localTrafficSelector);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.peerIp, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed2421(o.remoteTrafficSelector);
+ checkUnnamed2442(o.remoteTrafficSelector);
unittest.expect(o.router, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.sharedSecret, unittest.equals('foo'));
@@ -9687,14 +9755,14 @@
buildCounterVpnTunnel--;
}
-buildUnnamed2422() {
+buildUnnamed2443() {
var o = new core.Map<core.String, api.VpnTunnelsScopedList>();
o["x"] = buildVpnTunnelsScopedList();
o["y"] = buildVpnTunnelsScopedList();
return o;
}
-checkUnnamed2422(core.Map<core.String, api.VpnTunnelsScopedList> o) {
+checkUnnamed2443(core.Map<core.String, api.VpnTunnelsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnelsScopedList(o["x"]);
checkVpnTunnelsScopedList(o["y"]);
@@ -9706,7 +9774,7 @@
buildCounterVpnTunnelAggregatedList++;
if (buildCounterVpnTunnelAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2422();
+ o.items = buildUnnamed2443();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -9719,7 +9787,7 @@
buildCounterVpnTunnelAggregatedList++;
if (buildCounterVpnTunnelAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2422(o.items);
+ checkUnnamed2443(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -9727,14 +9795,14 @@
buildCounterVpnTunnelAggregatedList--;
}
-buildUnnamed2423() {
+buildUnnamed2444() {
var o = new core.List<api.VpnTunnel>();
o.add(buildVpnTunnel());
o.add(buildVpnTunnel());
return o;
}
-checkUnnamed2423(core.List<api.VpnTunnel> o) {
+checkUnnamed2444(core.List<api.VpnTunnel> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnel(o[0]);
checkVpnTunnel(o[1]);
@@ -9746,7 +9814,7 @@
buildCounterVpnTunnelList++;
if (buildCounterVpnTunnelList < 3) {
o.id = "foo";
- o.items = buildUnnamed2423();
+ o.items = buildUnnamed2444();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -9759,7 +9827,7 @@
buildCounterVpnTunnelList++;
if (buildCounterVpnTunnelList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2423(o.items);
+ checkUnnamed2444(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -9767,14 +9835,14 @@
buildCounterVpnTunnelList--;
}
-buildUnnamed2424() {
+buildUnnamed2445() {
var o = new core.List<api.VpnTunnel>();
o.add(buildVpnTunnel());
o.add(buildVpnTunnel());
return o;
}
-checkUnnamed2424(core.List<api.VpnTunnel> o) {
+checkUnnamed2445(core.List<api.VpnTunnel> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnel(o[0]);
checkVpnTunnel(o[1]);
@@ -9801,14 +9869,14 @@
buildCounterVpnTunnelsScopedListWarningData--;
}
-buildUnnamed2425() {
+buildUnnamed2446() {
var o = new core.List<api.VpnTunnelsScopedListWarningData>();
o.add(buildVpnTunnelsScopedListWarningData());
o.add(buildVpnTunnelsScopedListWarningData());
return o;
}
-checkUnnamed2425(core.List<api.VpnTunnelsScopedListWarningData> o) {
+checkUnnamed2446(core.List<api.VpnTunnelsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnelsScopedListWarningData(o[0]);
checkVpnTunnelsScopedListWarningData(o[1]);
@@ -9820,7 +9888,7 @@
buildCounterVpnTunnelsScopedListWarning++;
if (buildCounterVpnTunnelsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2425();
+ o.data = buildUnnamed2446();
o.message = "foo";
}
buildCounterVpnTunnelsScopedListWarning--;
@@ -9831,7 +9899,7 @@
buildCounterVpnTunnelsScopedListWarning++;
if (buildCounterVpnTunnelsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2425(o.data);
+ checkUnnamed2446(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterVpnTunnelsScopedListWarning--;
@@ -9842,7 +9910,7 @@
var o = new api.VpnTunnelsScopedList();
buildCounterVpnTunnelsScopedList++;
if (buildCounterVpnTunnelsScopedList < 3) {
- o.vpnTunnels = buildUnnamed2424();
+ o.vpnTunnels = buildUnnamed2445();
o.warning = buildVpnTunnelsScopedListWarning();
}
buildCounterVpnTunnelsScopedList--;
@@ -9852,20 +9920,20 @@
checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) {
buildCounterVpnTunnelsScopedList++;
if (buildCounterVpnTunnelsScopedList < 3) {
- checkUnnamed2424(o.vpnTunnels);
+ checkUnnamed2445(o.vpnTunnels);
checkVpnTunnelsScopedListWarning(o.warning);
}
buildCounterVpnTunnelsScopedList--;
}
-buildUnnamed2426() {
+buildUnnamed2447() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed2426(core.List<api.Project> o) {
+checkUnnamed2447(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -9877,7 +9945,7 @@
buildCounterXpnHostList++;
if (buildCounterXpnHostList < 3) {
o.id = "foo";
- o.items = buildUnnamed2426();
+ o.items = buildUnnamed2447();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -9890,7 +9958,7 @@
buildCounterXpnHostList++;
if (buildCounterXpnHostList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2426(o.items);
+ checkUnnamed2447(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -9954,14 +10022,14 @@
buildCounterZone--;
}
-buildUnnamed2427() {
+buildUnnamed2448() {
var o = new core.List<api.Zone>();
o.add(buildZone());
o.add(buildZone());
return o;
}
-checkUnnamed2427(core.List<api.Zone> o) {
+checkUnnamed2448(core.List<api.Zone> o) {
unittest.expect(o, unittest.hasLength(2));
checkZone(o[0]);
checkZone(o[1]);
@@ -9973,7 +10041,7 @@
buildCounterZoneList++;
if (buildCounterZoneList < 3) {
o.id = "foo";
- o.items = buildUnnamed2427();
+ o.items = buildUnnamed2448();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -9986,7 +10054,7 @@
buildCounterZoneList++;
if (buildCounterZoneList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2427(o.items);
+ checkUnnamed2448(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -9994,14 +10062,14 @@
buildCounterZoneList--;
}
-buildUnnamed2428() {
+buildUnnamed2449() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2428(core.Map<core.String, core.String> o) {
+checkUnnamed2449(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -10013,7 +10081,7 @@
buildCounterZoneSetLabelsRequest++;
if (buildCounterZoneSetLabelsRequest < 3) {
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2428();
+ o.labels = buildUnnamed2449();
}
buildCounterZoneSetLabelsRequest--;
return o;
@@ -10023,7 +10091,7 @@
buildCounterZoneSetLabelsRequest++;
if (buildCounterZoneSetLabelsRequest < 3) {
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2428(o.labels);
+ checkUnnamed2449(o.labels);
}
buildCounterZoneSetLabelsRequest--;
}
@@ -10633,6 +10701,15 @@
});
+ unittest.group("obj-schema-FirewallDenied", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFirewallDenied();
+ var od = new api.FirewallDenied.fromJson(o.toJson());
+ checkFirewallDenied(od);
+ });
+ });
+
+
unittest.group("obj-schema-Firewall", () {
unittest.test("to-json--from-json", () {
var o = buildFirewall();
@@ -12766,6 +12843,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_address = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -12790,6 +12868,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -12798,7 +12877,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_region, arg_address).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_region, arg_address, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -12854,6 +12933,7 @@
var arg_request = buildAddress();
var arg_project = "foo";
var arg_region = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Address.fromJson(json);
checkAddress(obj);
@@ -12881,6 +12961,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -12889,7 +12970,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project, arg_region).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, arg_region, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -13006,6 +13087,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_autoscaler = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -13030,6 +13112,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -13038,7 +13121,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_zone, arg_autoscaler).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_zone, arg_autoscaler, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -13094,6 +13177,7 @@
var arg_request = buildAutoscaler();
var arg_project = "foo";
var arg_zone = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Autoscaler.fromJson(json);
checkAutoscaler(obj);
@@ -13121,6 +13205,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -13129,7 +13214,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project, arg_zone).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, arg_zone, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -13193,6 +13278,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_autoscaler = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Autoscaler.fromJson(json);
checkAutoscaler(obj);
@@ -13221,6 +13307,7 @@
}
}
unittest.expect(queryMap["autoscaler"].first, unittest.equals(arg_autoscaler));
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -13229,7 +13316,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_project, arg_zone, autoscaler: arg_autoscaler).then(unittest.expectAsync1(((api.Operation response) {
+ res.patch(arg_request, arg_project, arg_zone, autoscaler: arg_autoscaler, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -13242,6 +13329,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_autoscaler = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Autoscaler.fromJson(json);
checkAutoscaler(obj);
@@ -13270,6 +13358,7 @@
}
}
unittest.expect(queryMap["autoscaler"].first, unittest.equals(arg_autoscaler));
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -13278,7 +13367,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.update(arg_request, arg_project, arg_zone, autoscaler: arg_autoscaler).then(unittest.expectAsync1(((api.Operation response) {
+ res.update(arg_request, arg_project, arg_zone, autoscaler: arg_autoscaler, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -13293,6 +13382,7 @@
api.BackendBucketsResourceApi res = new api.ComputeApi(mock).backendBuckets;
var arg_project = "foo";
var arg_backendBucket = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -13317,6 +13407,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -13325,7 +13416,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_backendBucket).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_backendBucket, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -13379,6 +13470,7 @@
api.BackendBucketsResourceApi res = new api.ComputeApi(mock).backendBuckets;
var arg_request = buildBackendBucket();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.BackendBucket.fromJson(json);
checkBackendBucket(obj);
@@ -13406,6 +13498,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -13414,7 +13507,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -13476,6 +13569,7 @@
var arg_request = buildBackendBucket();
var arg_project = "foo";
var arg_backendBucket = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.BackendBucket.fromJson(json);
checkBackendBucket(obj);
@@ -13503,6 +13597,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -13511,7 +13606,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_project, arg_backendBucket).then(unittest.expectAsync1(((api.Operation response) {
+ res.patch(arg_request, arg_project, arg_backendBucket, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -13523,6 +13618,7 @@
var arg_request = buildBackendBucket();
var arg_project = "foo";
var arg_backendBucket = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.BackendBucket.fromJson(json);
checkBackendBucket(obj);
@@ -13550,6 +13646,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -13558,7 +13655,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.update(arg_request, arg_project, arg_backendBucket).then(unittest.expectAsync1(((api.Operation response) {
+ res.update(arg_request, arg_project, arg_backendBucket, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -13623,6 +13720,7 @@
api.BackendServicesResourceApi res = new api.ComputeApi(mock).backendServices;
var arg_project = "foo";
var arg_backendService = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -13647,6 +13745,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -13655,7 +13754,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_backendService).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_backendService, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -13756,6 +13855,7 @@
api.BackendServicesResourceApi res = new api.ComputeApi(mock).backendServices;
var arg_request = buildBackendService();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.BackendService.fromJson(json);
checkBackendService(obj);
@@ -13783,6 +13883,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -13791,7 +13892,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -13853,6 +13954,7 @@
var arg_request = buildBackendService();
var arg_project = "foo";
var arg_backendService = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.BackendService.fromJson(json);
checkBackendService(obj);
@@ -13880,6 +13982,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -13888,7 +13991,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_project, arg_backendService).then(unittest.expectAsync1(((api.Operation response) {
+ res.patch(arg_request, arg_project, arg_backendService, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -13900,6 +14003,7 @@
var arg_request = buildBackendService();
var arg_project = "foo";
var arg_backendService = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.BackendService.fromJson(json);
checkBackendService(obj);
@@ -13927,6 +14031,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -13935,7 +14040,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.update(arg_request, arg_project, arg_backendService).then(unittest.expectAsync1(((api.Operation response) {
+ res.update(arg_request, arg_project, arg_backendService, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -14152,6 +14257,7 @@
var arg_zone = "foo";
var arg_disk = "foo";
var arg_guestFlush = true;
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Snapshot.fromJson(json);
checkSnapshot(obj);
@@ -14180,6 +14286,7 @@
}
}
unittest.expect(queryMap["guestFlush"].first, unittest.equals("$arg_guestFlush"));
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -14188,7 +14295,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.createSnapshot(arg_request, arg_project, arg_zone, arg_disk, guestFlush: arg_guestFlush).then(unittest.expectAsync1(((api.Operation response) {
+ res.createSnapshot(arg_request, arg_project, arg_zone, arg_disk, guestFlush: arg_guestFlush, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -14200,6 +14307,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_disk = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -14224,6 +14332,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -14232,7 +14341,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_zone, arg_disk).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_zone, arg_disk, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -14288,6 +14397,7 @@
var arg_request = buildDisk();
var arg_project = "foo";
var arg_zone = "foo";
+ var arg_requestId = "foo";
var arg_sourceImage = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Disk.fromJson(json);
@@ -14316,6 +14426,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
unittest.expect(queryMap["sourceImage"].first, unittest.equals(arg_sourceImage));
@@ -14325,7 +14436,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project, arg_zone, sourceImage: arg_sourceImage).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, arg_zone, requestId: arg_requestId, sourceImage: arg_sourceImage).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -14389,6 +14500,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_disk = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.DisksResizeRequest.fromJson(json);
checkDisksResizeRequest(obj);
@@ -14416,6 +14528,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -14424,7 +14537,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.resize(arg_request, arg_project, arg_zone, arg_disk).then(unittest.expectAsync1(((api.Operation response) {
+ res.resize(arg_request, arg_project, arg_zone, arg_disk, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -14437,6 +14550,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_resource = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.ZoneSetLabelsRequest.fromJson(json);
checkZoneSetLabelsRequest(obj);
@@ -14464,6 +14578,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -14472,7 +14587,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setLabels(arg_request, arg_project, arg_zone, arg_resource).then(unittest.expectAsync1(((api.Operation response) {
+ res.setLabels(arg_request, arg_project, arg_zone, arg_resource, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -14487,6 +14602,7 @@
api.FirewallsResourceApi res = new api.ComputeApi(mock).firewalls;
var arg_project = "foo";
var arg_firewall = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -14511,6 +14627,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -14519,7 +14636,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_firewall).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_firewall, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -14573,6 +14690,7 @@
api.FirewallsResourceApi res = new api.ComputeApi(mock).firewalls;
var arg_request = buildFirewall();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Firewall.fromJson(json);
checkFirewall(obj);
@@ -14600,6 +14718,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -14608,7 +14727,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -14670,6 +14789,7 @@
var arg_request = buildFirewall();
var arg_project = "foo";
var arg_firewall = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Firewall.fromJson(json);
checkFirewall(obj);
@@ -14697,6 +14817,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -14705,7 +14826,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_project, arg_firewall).then(unittest.expectAsync1(((api.Operation response) {
+ res.patch(arg_request, arg_project, arg_firewall, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -14717,6 +14838,7 @@
var arg_request = buildFirewall();
var arg_project = "foo";
var arg_firewall = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Firewall.fromJson(json);
checkFirewall(obj);
@@ -14744,6 +14866,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -14752,7 +14875,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.update(arg_request, arg_project, arg_firewall).then(unittest.expectAsync1(((api.Operation response) {
+ res.update(arg_request, arg_project, arg_firewall, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -14818,6 +14941,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_forwardingRule = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -14842,6 +14966,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -14850,7 +14975,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_region, arg_forwardingRule).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_region, arg_forwardingRule, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -14906,6 +15031,7 @@
var arg_request = buildForwardingRule();
var arg_project = "foo";
var arg_region = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.ForwardingRule.fromJson(json);
checkForwardingRule(obj);
@@ -14933,6 +15059,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -14941,7 +15068,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project, arg_region).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, arg_region, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -15005,6 +15132,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_forwardingRule = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetReference.fromJson(json);
checkTargetReference(obj);
@@ -15032,6 +15160,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -15040,7 +15169,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setTarget(arg_request, arg_project, arg_region, arg_forwardingRule).then(unittest.expectAsync1(((api.Operation response) {
+ res.setTarget(arg_request, arg_project, arg_region, arg_forwardingRule, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -15055,6 +15184,7 @@
api.GlobalAddressesResourceApi res = new api.ComputeApi(mock).globalAddresses;
var arg_project = "foo";
var arg_address = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -15079,6 +15209,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -15087,7 +15218,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_address).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_address, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -15141,6 +15272,7 @@
api.GlobalAddressesResourceApi res = new api.ComputeApi(mock).globalAddresses;
var arg_request = buildAddress();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Address.fromJson(json);
checkAddress(obj);
@@ -15168,6 +15300,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -15176,7 +15309,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -15241,6 +15374,7 @@
api.GlobalForwardingRulesResourceApi res = new api.ComputeApi(mock).globalForwardingRules;
var arg_project = "foo";
var arg_forwardingRule = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -15265,6 +15399,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -15273,7 +15408,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_forwardingRule).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_forwardingRule, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -15327,6 +15462,7 @@
api.GlobalForwardingRulesResourceApi res = new api.ComputeApi(mock).globalForwardingRules;
var arg_request = buildForwardingRule();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.ForwardingRule.fromJson(json);
checkForwardingRule(obj);
@@ -15354,6 +15490,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -15362,7 +15499,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -15424,6 +15561,7 @@
var arg_request = buildTargetReference();
var arg_project = "foo";
var arg_forwardingRule = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetReference.fromJson(json);
checkTargetReference(obj);
@@ -15451,6 +15589,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -15459,7 +15598,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setTarget(arg_request, arg_project, arg_forwardingRule).then(unittest.expectAsync1(((api.Operation response) {
+ res.setTarget(arg_request, arg_project, arg_forwardingRule, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -15662,6 +15801,7 @@
api.HealthChecksResourceApi res = new api.ComputeApi(mock).healthChecks;
var arg_project = "foo";
var arg_healthCheck = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -15686,6 +15826,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -15694,7 +15835,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_healthCheck).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_healthCheck, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -15748,6 +15889,7 @@
api.HealthChecksResourceApi res = new api.ComputeApi(mock).healthChecks;
var arg_request = buildHealthCheck();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.HealthCheck.fromJson(json);
checkHealthCheck(obj);
@@ -15775,6 +15917,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -15783,7 +15926,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -15845,6 +15988,7 @@
var arg_request = buildHealthCheck();
var arg_project = "foo";
var arg_healthCheck = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.HealthCheck.fromJson(json);
checkHealthCheck(obj);
@@ -15872,6 +16016,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -15880,7 +16025,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_project, arg_healthCheck).then(unittest.expectAsync1(((api.Operation response) {
+ res.patch(arg_request, arg_project, arg_healthCheck, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -15892,6 +16037,7 @@
var arg_request = buildHealthCheck();
var arg_project = "foo";
var arg_healthCheck = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.HealthCheck.fromJson(json);
checkHealthCheck(obj);
@@ -15919,6 +16065,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -15927,7 +16074,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.update(arg_request, arg_project, arg_healthCheck).then(unittest.expectAsync1(((api.Operation response) {
+ res.update(arg_request, arg_project, arg_healthCheck, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -15942,6 +16089,7 @@
api.HttpHealthChecksResourceApi res = new api.ComputeApi(mock).httpHealthChecks;
var arg_project = "foo";
var arg_httpHealthCheck = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -15966,6 +16114,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -15974,7 +16123,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_httpHealthCheck).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_httpHealthCheck, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -16028,6 +16177,7 @@
api.HttpHealthChecksResourceApi res = new api.ComputeApi(mock).httpHealthChecks;
var arg_request = buildHttpHealthCheck();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.HttpHealthCheck.fromJson(json);
checkHttpHealthCheck(obj);
@@ -16055,6 +16205,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -16063,7 +16214,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -16125,6 +16276,7 @@
var arg_request = buildHttpHealthCheck();
var arg_project = "foo";
var arg_httpHealthCheck = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.HttpHealthCheck.fromJson(json);
checkHttpHealthCheck(obj);
@@ -16152,6 +16304,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -16160,7 +16313,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_project, arg_httpHealthCheck).then(unittest.expectAsync1(((api.Operation response) {
+ res.patch(arg_request, arg_project, arg_httpHealthCheck, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -16172,6 +16325,7 @@
var arg_request = buildHttpHealthCheck();
var arg_project = "foo";
var arg_httpHealthCheck = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.HttpHealthCheck.fromJson(json);
checkHttpHealthCheck(obj);
@@ -16199,6 +16353,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -16207,7 +16362,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.update(arg_request, arg_project, arg_httpHealthCheck).then(unittest.expectAsync1(((api.Operation response) {
+ res.update(arg_request, arg_project, arg_httpHealthCheck, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -16222,6 +16377,7 @@
api.HttpsHealthChecksResourceApi res = new api.ComputeApi(mock).httpsHealthChecks;
var arg_project = "foo";
var arg_httpsHealthCheck = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -16246,6 +16402,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -16254,7 +16411,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_httpsHealthCheck).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_httpsHealthCheck, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -16308,6 +16465,7 @@
api.HttpsHealthChecksResourceApi res = new api.ComputeApi(mock).httpsHealthChecks;
var arg_request = buildHttpsHealthCheck();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.HttpsHealthCheck.fromJson(json);
checkHttpsHealthCheck(obj);
@@ -16335,6 +16493,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -16343,7 +16502,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -16405,6 +16564,7 @@
var arg_request = buildHttpsHealthCheck();
var arg_project = "foo";
var arg_httpsHealthCheck = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.HttpsHealthCheck.fromJson(json);
checkHttpsHealthCheck(obj);
@@ -16432,6 +16592,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -16440,7 +16601,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_project, arg_httpsHealthCheck).then(unittest.expectAsync1(((api.Operation response) {
+ res.patch(arg_request, arg_project, arg_httpsHealthCheck, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -16452,6 +16613,7 @@
var arg_request = buildHttpsHealthCheck();
var arg_project = "foo";
var arg_httpsHealthCheck = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.HttpsHealthCheck.fromJson(json);
checkHttpsHealthCheck(obj);
@@ -16479,6 +16641,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -16487,7 +16650,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.update(arg_request, arg_project, arg_httpsHealthCheck).then(unittest.expectAsync1(((api.Operation response) {
+ res.update(arg_request, arg_project, arg_httpsHealthCheck, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -16502,6 +16665,7 @@
api.ImagesResourceApi res = new api.ComputeApi(mock).images;
var arg_project = "foo";
var arg_image = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -16526,6 +16690,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -16534,7 +16699,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_image).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_image, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -16546,6 +16711,7 @@
var arg_request = buildDeprecationStatus();
var arg_project = "foo";
var arg_image = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.DeprecationStatus.fromJson(json);
checkDeprecationStatus(obj);
@@ -16573,6 +16739,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -16581,7 +16748,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.deprecate(arg_request, arg_project, arg_image).then(unittest.expectAsync1(((api.Operation response) {
+ res.deprecate(arg_request, arg_project, arg_image, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -16679,6 +16846,7 @@
var arg_request = buildImage();
var arg_project = "foo";
var arg_forceCreate = true;
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Image.fromJson(json);
checkImage(obj);
@@ -16707,6 +16875,7 @@
}
}
unittest.expect(queryMap["forceCreate"].first, unittest.equals("$arg_forceCreate"));
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -16715,7 +16884,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project, forceCreate: arg_forceCreate).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, forceCreate: arg_forceCreate, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -16829,6 +16998,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instanceGroupManager = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.InstanceGroupManagersAbandonInstancesRequest.fromJson(json);
checkInstanceGroupManagersAbandonInstancesRequest(obj);
@@ -16856,6 +17026,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -16864,7 +17035,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.abandonInstances(arg_request, arg_project, arg_zone, arg_instanceGroupManager).then(unittest.expectAsync1(((api.Operation response) {
+ res.abandonInstances(arg_request, arg_project, arg_zone, arg_instanceGroupManager, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -16926,6 +17097,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instanceGroupManager = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -16950,6 +17122,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -16958,7 +17131,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_zone, arg_instanceGroupManager).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_zone, arg_instanceGroupManager, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -16971,6 +17144,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instanceGroupManager = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.InstanceGroupManagersDeleteInstancesRequest.fromJson(json);
checkInstanceGroupManagersDeleteInstancesRequest(obj);
@@ -16998,6 +17172,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -17006,7 +17181,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.deleteInstances(arg_request, arg_project, arg_zone, arg_instanceGroupManager).then(unittest.expectAsync1(((api.Operation response) {
+ res.deleteInstances(arg_request, arg_project, arg_zone, arg_instanceGroupManager, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -17062,6 +17237,7 @@
var arg_request = buildInstanceGroupManager();
var arg_project = "foo";
var arg_zone = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.InstanceGroupManager.fromJson(json);
checkInstanceGroupManager(obj);
@@ -17089,6 +17265,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -17097,7 +17274,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project, arg_zone).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, arg_zone, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -17213,6 +17390,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instanceGroupManager = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.InstanceGroupManagersRecreateInstancesRequest.fromJson(json);
checkInstanceGroupManagersRecreateInstancesRequest(obj);
@@ -17240,6 +17418,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -17248,7 +17427,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.recreateInstances(arg_request, arg_project, arg_zone, arg_instanceGroupManager).then(unittest.expectAsync1(((api.Operation response) {
+ res.recreateInstances(arg_request, arg_project, arg_zone, arg_instanceGroupManager, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -17261,6 +17440,7 @@
var arg_zone = "foo";
var arg_instanceGroupManager = "foo";
var arg_size = 42;
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -17286,6 +17466,7 @@
}
}
unittest.expect(core.int.parse(queryMap["size"].first), unittest.equals(arg_size));
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -17294,7 +17475,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.resize(arg_project, arg_zone, arg_instanceGroupManager, arg_size).then(unittest.expectAsync1(((api.Operation response) {
+ res.resize(arg_project, arg_zone, arg_instanceGroupManager, arg_size, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -17307,6 +17488,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instanceGroupManager = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.InstanceGroupManagersSetInstanceTemplateRequest.fromJson(json);
checkInstanceGroupManagersSetInstanceTemplateRequest(obj);
@@ -17334,6 +17516,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -17342,7 +17525,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setInstanceTemplate(arg_request, arg_project, arg_zone, arg_instanceGroupManager).then(unittest.expectAsync1(((api.Operation response) {
+ res.setInstanceTemplate(arg_request, arg_project, arg_zone, arg_instanceGroupManager, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -17355,6 +17538,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instanceGroupManager = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.InstanceGroupManagersSetTargetPoolsRequest.fromJson(json);
checkInstanceGroupManagersSetTargetPoolsRequest(obj);
@@ -17382,6 +17566,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -17390,7 +17575,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setTargetPools(arg_request, arg_project, arg_zone, arg_instanceGroupManager).then(unittest.expectAsync1(((api.Operation response) {
+ res.setTargetPools(arg_request, arg_project, arg_zone, arg_instanceGroupManager, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -17407,6 +17592,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instanceGroup = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.InstanceGroupsAddInstancesRequest.fromJson(json);
checkInstanceGroupsAddInstancesRequest(obj);
@@ -17434,6 +17620,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -17442,7 +17629,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.addInstances(arg_request, arg_project, arg_zone, arg_instanceGroup).then(unittest.expectAsync1(((api.Operation response) {
+ res.addInstances(arg_request, arg_project, arg_zone, arg_instanceGroup, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -17504,6 +17691,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instanceGroup = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -17528,6 +17716,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -17536,7 +17725,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_zone, arg_instanceGroup).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_zone, arg_instanceGroup, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -17592,6 +17781,7 @@
var arg_request = buildInstanceGroup();
var arg_project = "foo";
var arg_zone = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.InstanceGroup.fromJson(json);
checkInstanceGroup(obj);
@@ -17619,6 +17809,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -17627,7 +17818,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project, arg_zone).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, arg_zone, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -17747,6 +17938,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instanceGroup = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.InstanceGroupsRemoveInstancesRequest.fromJson(json);
checkInstanceGroupsRemoveInstancesRequest(obj);
@@ -17774,6 +17966,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -17782,7 +17975,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.removeInstances(arg_request, arg_project, arg_zone, arg_instanceGroup).then(unittest.expectAsync1(((api.Operation response) {
+ res.removeInstances(arg_request, arg_project, arg_zone, arg_instanceGroup, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -17795,6 +17988,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instanceGroup = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.InstanceGroupsSetNamedPortsRequest.fromJson(json);
checkInstanceGroupsSetNamedPortsRequest(obj);
@@ -17822,6 +18016,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -17830,7 +18025,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setNamedPorts(arg_request, arg_project, arg_zone, arg_instanceGroup).then(unittest.expectAsync1(((api.Operation response) {
+ res.setNamedPorts(arg_request, arg_project, arg_zone, arg_instanceGroup, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -17845,6 +18040,7 @@
api.InstanceTemplatesResourceApi res = new api.ComputeApi(mock).instanceTemplates;
var arg_project = "foo";
var arg_instanceTemplate = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -17869,6 +18065,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -17877,7 +18074,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_instanceTemplate).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_instanceTemplate, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -17931,6 +18128,7 @@
api.InstanceTemplatesResourceApi res = new api.ComputeApi(mock).instanceTemplates;
var arg_request = buildInstanceTemplate();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.InstanceTemplate.fromJson(json);
checkInstanceTemplate(obj);
@@ -17958,6 +18156,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -17966,7 +18165,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -18034,6 +18233,7 @@
var arg_zone = "foo";
var arg_instance = "foo";
var arg_networkInterface = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.AccessConfig.fromJson(json);
checkAccessConfig(obj);
@@ -18062,6 +18262,7 @@
}
}
unittest.expect(queryMap["networkInterface"].first, unittest.equals(arg_networkInterface));
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -18070,7 +18271,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.addAccessConfig(arg_request, arg_project, arg_zone, arg_instance, arg_networkInterface).then(unittest.expectAsync1(((api.Operation response) {
+ res.addAccessConfig(arg_request, arg_project, arg_zone, arg_instance, arg_networkInterface, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -18133,6 +18334,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instance = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.AttachedDisk.fromJson(json);
checkAttachedDisk(obj);
@@ -18160,6 +18362,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -18168,7 +18371,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.attachDisk(arg_request, arg_project, arg_zone, arg_instance).then(unittest.expectAsync1(((api.Operation response) {
+ res.attachDisk(arg_request, arg_project, arg_zone, arg_instance, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -18180,6 +18383,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instance = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -18204,6 +18408,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -18212,7 +18417,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_zone, arg_instance).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_zone, arg_instance, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -18226,6 +18431,7 @@
var arg_instance = "foo";
var arg_accessConfig = "foo";
var arg_networkInterface = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -18252,6 +18458,7 @@
}
unittest.expect(queryMap["accessConfig"].first, unittest.equals(arg_accessConfig));
unittest.expect(queryMap["networkInterface"].first, unittest.equals(arg_networkInterface));
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -18260,7 +18467,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.deleteAccessConfig(arg_project, arg_zone, arg_instance, arg_accessConfig, arg_networkInterface).then(unittest.expectAsync1(((api.Operation response) {
+ res.deleteAccessConfig(arg_project, arg_zone, arg_instance, arg_accessConfig, arg_networkInterface, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -18273,6 +18480,7 @@
var arg_zone = "foo";
var arg_instance = "foo";
var arg_deviceName = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -18298,6 +18506,7 @@
}
}
unittest.expect(queryMap["deviceName"].first, unittest.equals(arg_deviceName));
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -18306,7 +18515,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.detachDisk(arg_project, arg_zone, arg_instance, arg_deviceName).then(unittest.expectAsync1(((api.Operation response) {
+ res.detachDisk(arg_project, arg_zone, arg_instance, arg_deviceName, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -18410,6 +18619,7 @@
var arg_request = buildInstance();
var arg_project = "foo";
var arg_zone = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Instance.fromJson(json);
checkInstance(obj);
@@ -18437,6 +18647,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -18445,7 +18656,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project, arg_zone).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, arg_zone, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -18508,6 +18719,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instance = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -18532,6 +18744,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -18540,7 +18753,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.reset(arg_project, arg_zone, arg_instance).then(unittest.expectAsync1(((api.Operation response) {
+ res.reset(arg_project, arg_zone, arg_instance, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -18554,6 +18767,7 @@
var arg_instance = "foo";
var arg_autoDelete = true;
var arg_deviceName = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -18580,6 +18794,7 @@
}
unittest.expect(queryMap["autoDelete"].first, unittest.equals("$arg_autoDelete"));
unittest.expect(queryMap["deviceName"].first, unittest.equals(arg_deviceName));
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -18588,7 +18803,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setDiskAutoDelete(arg_project, arg_zone, arg_instance, arg_autoDelete, arg_deviceName).then(unittest.expectAsync1(((api.Operation response) {
+ res.setDiskAutoDelete(arg_project, arg_zone, arg_instance, arg_autoDelete, arg_deviceName, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -18601,6 +18816,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instance = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.InstancesSetLabelsRequest.fromJson(json);
checkInstancesSetLabelsRequest(obj);
@@ -18628,6 +18844,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -18636,7 +18853,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setLabels(arg_request, arg_project, arg_zone, arg_instance).then(unittest.expectAsync1(((api.Operation response) {
+ res.setLabels(arg_request, arg_project, arg_zone, arg_instance, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -18649,6 +18866,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instance = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.InstancesSetMachineResourcesRequest.fromJson(json);
checkInstancesSetMachineResourcesRequest(obj);
@@ -18676,6 +18894,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -18684,7 +18903,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setMachineResources(arg_request, arg_project, arg_zone, arg_instance).then(unittest.expectAsync1(((api.Operation response) {
+ res.setMachineResources(arg_request, arg_project, arg_zone, arg_instance, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -18697,6 +18916,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instance = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.InstancesSetMachineTypeRequest.fromJson(json);
checkInstancesSetMachineTypeRequest(obj);
@@ -18724,6 +18944,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -18732,7 +18953,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setMachineType(arg_request, arg_project, arg_zone, arg_instance).then(unittest.expectAsync1(((api.Operation response) {
+ res.setMachineType(arg_request, arg_project, arg_zone, arg_instance, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -18745,6 +18966,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instance = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Metadata.fromJson(json);
checkMetadata(obj);
@@ -18772,6 +18994,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -18780,7 +19003,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setMetadata(arg_request, arg_project, arg_zone, arg_instance).then(unittest.expectAsync1(((api.Operation response) {
+ res.setMetadata(arg_request, arg_project, arg_zone, arg_instance, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -18793,6 +19016,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instance = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Scheduling.fromJson(json);
checkScheduling(obj);
@@ -18820,6 +19044,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -18828,7 +19053,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setScheduling(arg_request, arg_project, arg_zone, arg_instance).then(unittest.expectAsync1(((api.Operation response) {
+ res.setScheduling(arg_request, arg_project, arg_zone, arg_instance, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -18841,6 +19066,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instance = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.InstancesSetServiceAccountRequest.fromJson(json);
checkInstancesSetServiceAccountRequest(obj);
@@ -18868,6 +19094,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -18876,7 +19103,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setServiceAccount(arg_request, arg_project, arg_zone, arg_instance).then(unittest.expectAsync1(((api.Operation response) {
+ res.setServiceAccount(arg_request, arg_project, arg_zone, arg_instance, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -18889,6 +19116,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instance = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Tags.fromJson(json);
checkTags(obj);
@@ -18916,6 +19144,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -18924,7 +19153,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setTags(arg_request, arg_project, arg_zone, arg_instance).then(unittest.expectAsync1(((api.Operation response) {
+ res.setTags(arg_request, arg_project, arg_zone, arg_instance, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -18936,6 +19165,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instance = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -18960,6 +19190,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -18968,7 +19199,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.start(arg_project, arg_zone, arg_instance).then(unittest.expectAsync1(((api.Operation response) {
+ res.start(arg_project, arg_zone, arg_instance, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -18981,6 +19212,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instance = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.InstancesStartWithEncryptionKeyRequest.fromJson(json);
checkInstancesStartWithEncryptionKeyRequest(obj);
@@ -19008,6 +19240,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -19016,7 +19249,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.startWithEncryptionKey(arg_request, arg_project, arg_zone, arg_instance).then(unittest.expectAsync1(((api.Operation response) {
+ res.startWithEncryptionKey(arg_request, arg_project, arg_zone, arg_instance, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -19028,6 +19261,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_instance = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -19052,6 +19286,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -19060,7 +19295,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.stop(arg_project, arg_zone, arg_instance).then(unittest.expectAsync1(((api.Operation response) {
+ res.stop(arg_project, arg_zone, arg_instance, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -19272,6 +19507,7 @@
var arg_request = buildNetworksAddPeeringRequest();
var arg_project = "foo";
var arg_network = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.NetworksAddPeeringRequest.fromJson(json);
checkNetworksAddPeeringRequest(obj);
@@ -19299,6 +19535,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -19307,7 +19544,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.addPeering(arg_request, arg_project, arg_network).then(unittest.expectAsync1(((api.Operation response) {
+ res.addPeering(arg_request, arg_project, arg_network, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -19318,6 +19555,7 @@
api.NetworksResourceApi res = new api.ComputeApi(mock).networks;
var arg_project = "foo";
var arg_network = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -19342,6 +19580,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -19350,7 +19589,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_network).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_network, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -19404,6 +19643,7 @@
api.NetworksResourceApi res = new api.ComputeApi(mock).networks;
var arg_request = buildNetwork();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Network.fromJson(json);
checkNetwork(obj);
@@ -19431,6 +19671,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -19439,7 +19680,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -19501,6 +19742,7 @@
var arg_request = buildNetworksRemovePeeringRequest();
var arg_project = "foo";
var arg_network = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.NetworksRemovePeeringRequest.fromJson(json);
checkNetworksRemovePeeringRequest(obj);
@@ -19528,6 +19770,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -19536,7 +19779,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.removePeering(arg_request, arg_project, arg_network).then(unittest.expectAsync1(((api.Operation response) {
+ res.removePeering(arg_request, arg_project, arg_network, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -19547,6 +19790,7 @@
api.NetworksResourceApi res = new api.ComputeApi(mock).networks;
var arg_project = "foo";
var arg_network = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -19571,6 +19815,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -19579,7 +19824,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.switchToCustomMode(arg_project, arg_network).then(unittest.expectAsync1(((api.Operation response) {
+ res.switchToCustomMode(arg_project, arg_network, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -19593,6 +19838,7 @@
var mock = new HttpServerMock();
api.ProjectsResourceApi res = new api.ComputeApi(mock).projects;
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -19617,6 +19863,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -19625,7 +19872,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.disableXpnHost(arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.disableXpnHost(arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -19636,6 +19883,7 @@
api.ProjectsResourceApi res = new api.ComputeApi(mock).projects;
var arg_request = buildProjectsDisableXpnResourceRequest();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.ProjectsDisableXpnResourceRequest.fromJson(json);
checkProjectsDisableXpnResourceRequest(obj);
@@ -19663,6 +19911,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -19671,7 +19920,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.disableXpnResource(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.disableXpnResource(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -19681,6 +19930,7 @@
var mock = new HttpServerMock();
api.ProjectsResourceApi res = new api.ComputeApi(mock).projects;
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -19705,6 +19955,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -19713,7 +19964,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.enableXpnHost(arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.enableXpnHost(arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -19724,6 +19975,7 @@
api.ProjectsResourceApi res = new api.ComputeApi(mock).projects;
var arg_request = buildProjectsEnableXpnResourceRequest();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.ProjectsEnableXpnResourceRequest.fromJson(json);
checkProjectsEnableXpnResourceRequest(obj);
@@ -19751,6 +20003,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -19759,7 +20012,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.enableXpnResource(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.enableXpnResource(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -19958,6 +20211,7 @@
api.ProjectsResourceApi res = new api.ComputeApi(mock).projects;
var arg_request = buildDiskMoveRequest();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.DiskMoveRequest.fromJson(json);
checkDiskMoveRequest(obj);
@@ -19985,6 +20239,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -19993,7 +20248,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.moveDisk(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.moveDisk(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -20004,6 +20259,7 @@
api.ProjectsResourceApi res = new api.ComputeApi(mock).projects;
var arg_request = buildInstanceMoveRequest();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.InstanceMoveRequest.fromJson(json);
checkInstanceMoveRequest(obj);
@@ -20031,6 +20287,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -20039,7 +20296,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.moveInstance(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.moveInstance(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -20050,6 +20307,7 @@
api.ProjectsResourceApi res = new api.ComputeApi(mock).projects;
var arg_request = buildMetadata();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Metadata.fromJson(json);
checkMetadata(obj);
@@ -20077,6 +20335,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -20085,7 +20344,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setCommonInstanceMetadata(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.setCommonInstanceMetadata(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -20096,6 +20355,7 @@
api.ProjectsResourceApi res = new api.ComputeApi(mock).projects;
var arg_request = buildUsageExportLocation();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.UsageExportLocation.fromJson(json);
checkUsageExportLocation(obj);
@@ -20123,6 +20383,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -20131,7 +20392,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setUsageExportBucket(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.setUsageExportBucket(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -20147,6 +20408,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_autoscaler = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -20171,6 +20433,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -20179,7 +20442,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_region, arg_autoscaler).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_region, arg_autoscaler, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -20235,6 +20498,7 @@
var arg_request = buildAutoscaler();
var arg_project = "foo";
var arg_region = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Autoscaler.fromJson(json);
checkAutoscaler(obj);
@@ -20262,6 +20526,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -20270,7 +20535,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project, arg_region).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, arg_region, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -20334,6 +20599,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_autoscaler = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Autoscaler.fromJson(json);
checkAutoscaler(obj);
@@ -20362,6 +20628,7 @@
}
}
unittest.expect(queryMap["autoscaler"].first, unittest.equals(arg_autoscaler));
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -20370,7 +20637,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_project, arg_region, autoscaler: arg_autoscaler).then(unittest.expectAsync1(((api.Operation response) {
+ res.patch(arg_request, arg_project, arg_region, autoscaler: arg_autoscaler, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -20383,6 +20650,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_autoscaler = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Autoscaler.fromJson(json);
checkAutoscaler(obj);
@@ -20411,6 +20679,7 @@
}
}
unittest.expect(queryMap["autoscaler"].first, unittest.equals(arg_autoscaler));
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -20419,7 +20688,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.update(arg_request, arg_project, arg_region, autoscaler: arg_autoscaler).then(unittest.expectAsync1(((api.Operation response) {
+ res.update(arg_request, arg_project, arg_region, autoscaler: arg_autoscaler, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -20435,6 +20704,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_backendService = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -20459,6 +20729,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -20467,7 +20738,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_region, arg_backendService).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_region, arg_backendService, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -20571,6 +20842,7 @@
var arg_request = buildBackendService();
var arg_project = "foo";
var arg_region = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.BackendService.fromJson(json);
checkBackendService(obj);
@@ -20598,6 +20870,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -20606,7 +20879,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project, arg_region).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, arg_region, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -20670,6 +20943,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_backendService = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.BackendService.fromJson(json);
checkBackendService(obj);
@@ -20697,6 +20971,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -20705,7 +20980,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_project, arg_region, arg_backendService).then(unittest.expectAsync1(((api.Operation response) {
+ res.patch(arg_request, arg_project, arg_region, arg_backendService, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -20718,6 +20993,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_backendService = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.BackendService.fromJson(json);
checkBackendService(obj);
@@ -20745,6 +21021,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -20753,7 +21030,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.update(arg_request, arg_project, arg_region, arg_backendService).then(unittest.expectAsync1(((api.Operation response) {
+ res.update(arg_request, arg_project, arg_region, arg_backendService, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -20863,6 +21140,7 @@
var arg_request = buildCommitment();
var arg_project = "foo";
var arg_region = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Commitment.fromJson(json);
checkCommitment(obj);
@@ -20890,6 +21168,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -20898,7 +21177,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project, arg_region).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, arg_region, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -20966,6 +21245,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_instanceGroupManager = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.RegionInstanceGroupManagersAbandonInstancesRequest.fromJson(json);
checkRegionInstanceGroupManagersAbandonInstancesRequest(obj);
@@ -20993,6 +21273,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -21001,7 +21282,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.abandonInstances(arg_request, arg_project, arg_region, arg_instanceGroupManager).then(unittest.expectAsync1(((api.Operation response) {
+ res.abandonInstances(arg_request, arg_project, arg_region, arg_instanceGroupManager, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -21013,6 +21294,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_instanceGroupManager = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -21037,6 +21319,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -21045,7 +21328,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_region, arg_instanceGroupManager).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_region, arg_instanceGroupManager, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -21058,6 +21341,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_instanceGroupManager = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.RegionInstanceGroupManagersDeleteInstancesRequest.fromJson(json);
checkRegionInstanceGroupManagersDeleteInstancesRequest(obj);
@@ -21085,6 +21369,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -21093,7 +21378,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.deleteInstances(arg_request, arg_project, arg_region, arg_instanceGroupManager).then(unittest.expectAsync1(((api.Operation response) {
+ res.deleteInstances(arg_request, arg_project, arg_region, arg_instanceGroupManager, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -21149,6 +21434,7 @@
var arg_request = buildInstanceGroupManager();
var arg_project = "foo";
var arg_region = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.InstanceGroupManager.fromJson(json);
checkInstanceGroupManager(obj);
@@ -21176,6 +21462,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -21184,7 +21471,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project, arg_region).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, arg_region, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -21300,6 +21587,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_instanceGroupManager = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.RegionInstanceGroupManagersRecreateRequest.fromJson(json);
checkRegionInstanceGroupManagersRecreateRequest(obj);
@@ -21327,6 +21615,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -21335,7 +21624,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.recreateInstances(arg_request, arg_project, arg_region, arg_instanceGroupManager).then(unittest.expectAsync1(((api.Operation response) {
+ res.recreateInstances(arg_request, arg_project, arg_region, arg_instanceGroupManager, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -21348,6 +21637,7 @@
var arg_region = "foo";
var arg_instanceGroupManager = "foo";
var arg_size = 42;
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -21373,6 +21663,7 @@
}
}
unittest.expect(core.int.parse(queryMap["size"].first), unittest.equals(arg_size));
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -21381,7 +21672,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.resize(arg_project, arg_region, arg_instanceGroupManager, arg_size).then(unittest.expectAsync1(((api.Operation response) {
+ res.resize(arg_project, arg_region, arg_instanceGroupManager, arg_size, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -21394,6 +21685,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_instanceGroupManager = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.RegionInstanceGroupManagersSetTemplateRequest.fromJson(json);
checkRegionInstanceGroupManagersSetTemplateRequest(obj);
@@ -21421,6 +21713,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -21429,7 +21722,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setInstanceTemplate(arg_request, arg_project, arg_region, arg_instanceGroupManager).then(unittest.expectAsync1(((api.Operation response) {
+ res.setInstanceTemplate(arg_request, arg_project, arg_region, arg_instanceGroupManager, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -21442,6 +21735,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_instanceGroupManager = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.RegionInstanceGroupManagersSetTargetPoolsRequest.fromJson(json);
checkRegionInstanceGroupManagersSetTargetPoolsRequest(obj);
@@ -21469,6 +21763,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -21477,7 +21772,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setTargetPools(arg_request, arg_project, arg_region, arg_instanceGroupManager).then(unittest.expectAsync1(((api.Operation response) {
+ res.setTargetPools(arg_request, arg_project, arg_region, arg_instanceGroupManager, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -21645,6 +21940,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_instanceGroup = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.RegionInstanceGroupsSetNamedPortsRequest.fromJson(json);
checkRegionInstanceGroupsSetNamedPortsRequest(obj);
@@ -21672,6 +21968,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -21680,7 +21977,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setNamedPorts(arg_request, arg_project, arg_region, arg_instanceGroup).then(unittest.expectAsync1(((api.Operation response) {
+ res.setNamedPorts(arg_request, arg_project, arg_region, arg_instanceGroup, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -21984,6 +22281,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_router = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -22008,6 +22306,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -22016,7 +22315,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_region, arg_router).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_region, arg_router, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -22116,6 +22415,7 @@
var arg_request = buildRouter();
var arg_project = "foo";
var arg_region = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Router.fromJson(json);
checkRouter(obj);
@@ -22143,6 +22443,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -22151,7 +22452,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project, arg_region).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, arg_region, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -22215,6 +22516,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_router = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Router.fromJson(json);
checkRouter(obj);
@@ -22242,6 +22544,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -22250,7 +22553,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_project, arg_region, arg_router).then(unittest.expectAsync1(((api.Operation response) {
+ res.patch(arg_request, arg_project, arg_region, arg_router, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -22311,6 +22614,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_router = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Router.fromJson(json);
checkRouter(obj);
@@ -22338,6 +22642,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -22346,7 +22651,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.update(arg_request, arg_project, arg_region, arg_router).then(unittest.expectAsync1(((api.Operation response) {
+ res.update(arg_request, arg_project, arg_region, arg_router, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -22361,6 +22666,7 @@
api.RoutesResourceApi res = new api.ComputeApi(mock).routes;
var arg_project = "foo";
var arg_route = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -22385,6 +22691,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -22393,7 +22700,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_route).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_route, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -22447,6 +22754,7 @@
api.RoutesResourceApi res = new api.ComputeApi(mock).routes;
var arg_request = buildRoute();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Route.fromJson(json);
checkRoute(obj);
@@ -22474,6 +22782,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -22482,7 +22791,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -22547,6 +22856,7 @@
api.SnapshotsResourceApi res = new api.ComputeApi(mock).snapshots;
var arg_project = "foo";
var arg_snapshot = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -22571,6 +22881,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -22579,7 +22890,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_snapshot).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_snapshot, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -22734,6 +23045,7 @@
api.SslCertificatesResourceApi res = new api.ComputeApi(mock).sslCertificates;
var arg_project = "foo";
var arg_sslCertificate = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -22758,6 +23070,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -22766,7 +23079,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_sslCertificate).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_sslCertificate, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -22820,6 +23133,7 @@
api.SslCertificatesResourceApi res = new api.ComputeApi(mock).sslCertificates;
var arg_request = buildSslCertificate();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.SslCertificate.fromJson(json);
checkSslCertificate(obj);
@@ -22847,6 +23161,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -22855,7 +23170,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -22971,6 +23286,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_subnetwork = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -22995,6 +23311,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -23003,7 +23320,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_region, arg_subnetwork).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_region, arg_subnetwork, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -23016,6 +23333,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_subnetwork = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.SubnetworksExpandIpCidrRangeRequest.fromJson(json);
checkSubnetworksExpandIpCidrRangeRequest(obj);
@@ -23043,6 +23361,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -23051,7 +23370,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.expandIpCidrRange(arg_request, arg_project, arg_region, arg_subnetwork).then(unittest.expectAsync1(((api.Operation response) {
+ res.expandIpCidrRange(arg_request, arg_project, arg_region, arg_subnetwork, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -23107,6 +23426,7 @@
var arg_request = buildSubnetwork();
var arg_project = "foo";
var arg_region = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Subnetwork.fromJson(json);
checkSubnetwork(obj);
@@ -23134,6 +23454,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -23142,7 +23463,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project, arg_region).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, arg_region, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -23206,6 +23527,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_subnetwork = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.SubnetworksSetPrivateIpGoogleAccessRequest.fromJson(json);
checkSubnetworksSetPrivateIpGoogleAccessRequest(obj);
@@ -23233,6 +23555,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -23241,7 +23564,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setPrivateIpGoogleAccess(arg_request, arg_project, arg_region, arg_subnetwork).then(unittest.expectAsync1(((api.Operation response) {
+ res.setPrivateIpGoogleAccess(arg_request, arg_project, arg_region, arg_subnetwork, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -23256,6 +23579,7 @@
api.TargetHttpProxiesResourceApi res = new api.ComputeApi(mock).targetHttpProxies;
var arg_project = "foo";
var arg_targetHttpProxy = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -23280,6 +23604,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -23288,7 +23613,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_targetHttpProxy).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_targetHttpProxy, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -23342,6 +23667,7 @@
api.TargetHttpProxiesResourceApi res = new api.ComputeApi(mock).targetHttpProxies;
var arg_request = buildTargetHttpProxy();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetHttpProxy.fromJson(json);
checkTargetHttpProxy(obj);
@@ -23369,6 +23695,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -23377,7 +23704,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -23439,6 +23766,7 @@
var arg_request = buildUrlMapReference();
var arg_project = "foo";
var arg_targetHttpProxy = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.UrlMapReference.fromJson(json);
checkUrlMapReference(obj);
@@ -23466,6 +23794,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -23474,7 +23803,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setUrlMap(arg_request, arg_project, arg_targetHttpProxy).then(unittest.expectAsync1(((api.Operation response) {
+ res.setUrlMap(arg_request, arg_project, arg_targetHttpProxy, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -23489,6 +23818,7 @@
api.TargetHttpsProxiesResourceApi res = new api.ComputeApi(mock).targetHttpsProxies;
var arg_project = "foo";
var arg_targetHttpsProxy = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -23513,6 +23843,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -23521,7 +23852,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_targetHttpsProxy).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_targetHttpsProxy, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -23575,6 +23906,7 @@
api.TargetHttpsProxiesResourceApi res = new api.ComputeApi(mock).targetHttpsProxies;
var arg_request = buildTargetHttpsProxy();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetHttpsProxy.fromJson(json);
checkTargetHttpsProxy(obj);
@@ -23602,6 +23934,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -23610,7 +23943,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -23672,6 +24005,7 @@
var arg_request = buildTargetHttpsProxiesSetSslCertificatesRequest();
var arg_project = "foo";
var arg_targetHttpsProxy = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetHttpsProxiesSetSslCertificatesRequest.fromJson(json);
checkTargetHttpsProxiesSetSslCertificatesRequest(obj);
@@ -23699,6 +24033,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -23707,7 +24042,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setSslCertificates(arg_request, arg_project, arg_targetHttpsProxy).then(unittest.expectAsync1(((api.Operation response) {
+ res.setSslCertificates(arg_request, arg_project, arg_targetHttpsProxy, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -23719,6 +24054,7 @@
var arg_request = buildUrlMapReference();
var arg_project = "foo";
var arg_targetHttpsProxy = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.UrlMapReference.fromJson(json);
checkUrlMapReference(obj);
@@ -23746,6 +24082,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -23754,7 +24091,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setUrlMap(arg_request, arg_project, arg_targetHttpsProxy).then(unittest.expectAsync1(((api.Operation response) {
+ res.setUrlMap(arg_request, arg_project, arg_targetHttpsProxy, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -23820,6 +24157,7 @@
var arg_project = "foo";
var arg_zone = "foo";
var arg_targetInstance = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -23844,6 +24182,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -23852,7 +24191,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_zone, arg_targetInstance).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_zone, arg_targetInstance, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -23908,6 +24247,7 @@
var arg_request = buildTargetInstance();
var arg_project = "foo";
var arg_zone = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetInstance.fromJson(json);
checkTargetInstance(obj);
@@ -23935,6 +24275,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -23943,7 +24284,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project, arg_zone).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, arg_zone, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -24011,6 +24352,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_targetPool = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetPoolsAddHealthCheckRequest.fromJson(json);
checkTargetPoolsAddHealthCheckRequest(obj);
@@ -24038,6 +24380,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -24046,7 +24389,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.addHealthCheck(arg_request, arg_project, arg_region, arg_targetPool).then(unittest.expectAsync1(((api.Operation response) {
+ res.addHealthCheck(arg_request, arg_project, arg_region, arg_targetPool, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -24059,6 +24402,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_targetPool = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetPoolsAddInstanceRequest.fromJson(json);
checkTargetPoolsAddInstanceRequest(obj);
@@ -24086,6 +24430,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -24094,7 +24439,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.addInstance(arg_request, arg_project, arg_region, arg_targetPool).then(unittest.expectAsync1(((api.Operation response) {
+ res.addInstance(arg_request, arg_project, arg_region, arg_targetPool, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -24156,6 +24501,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_targetPool = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -24180,6 +24526,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -24188,7 +24535,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_region, arg_targetPool).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_region, arg_targetPool, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -24292,6 +24639,7 @@
var arg_request = buildTargetPool();
var arg_project = "foo";
var arg_region = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetPool.fromJson(json);
checkTargetPool(obj);
@@ -24319,6 +24667,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -24327,7 +24676,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project, arg_region).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, arg_region, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -24391,6 +24740,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_targetPool = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetPoolsRemoveHealthCheckRequest.fromJson(json);
checkTargetPoolsRemoveHealthCheckRequest(obj);
@@ -24418,6 +24768,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -24426,7 +24777,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.removeHealthCheck(arg_request, arg_project, arg_region, arg_targetPool).then(unittest.expectAsync1(((api.Operation response) {
+ res.removeHealthCheck(arg_request, arg_project, arg_region, arg_targetPool, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -24439,6 +24790,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_targetPool = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetPoolsRemoveInstanceRequest.fromJson(json);
checkTargetPoolsRemoveInstanceRequest(obj);
@@ -24466,6 +24818,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -24474,7 +24827,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.removeInstance(arg_request, arg_project, arg_region, arg_targetPool).then(unittest.expectAsync1(((api.Operation response) {
+ res.removeInstance(arg_request, arg_project, arg_region, arg_targetPool, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -24488,6 +24841,7 @@
var arg_region = "foo";
var arg_targetPool = "foo";
var arg_failoverRatio = 42.0;
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetReference.fromJson(json);
checkTargetReference(obj);
@@ -24516,6 +24870,7 @@
}
}
unittest.expect(core.num.parse(queryMap["failoverRatio"].first), unittest.equals(arg_failoverRatio));
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -24524,7 +24879,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setBackup(arg_request, arg_project, arg_region, arg_targetPool, failoverRatio: arg_failoverRatio).then(unittest.expectAsync1(((api.Operation response) {
+ res.setBackup(arg_request, arg_project, arg_region, arg_targetPool, failoverRatio: arg_failoverRatio, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -24539,6 +24894,7 @@
api.TargetSslProxiesResourceApi res = new api.ComputeApi(mock).targetSslProxies;
var arg_project = "foo";
var arg_targetSslProxy = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -24563,6 +24919,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -24571,7 +24928,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_targetSslProxy).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_targetSslProxy, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -24625,6 +24982,7 @@
api.TargetSslProxiesResourceApi res = new api.ComputeApi(mock).targetSslProxies;
var arg_request = buildTargetSslProxy();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetSslProxy.fromJson(json);
checkTargetSslProxy(obj);
@@ -24652,6 +25010,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -24660,7 +25019,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -24722,6 +25081,7 @@
var arg_request = buildTargetSslProxiesSetBackendServiceRequest();
var arg_project = "foo";
var arg_targetSslProxy = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetSslProxiesSetBackendServiceRequest.fromJson(json);
checkTargetSslProxiesSetBackendServiceRequest(obj);
@@ -24749,6 +25109,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -24757,7 +25118,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setBackendService(arg_request, arg_project, arg_targetSslProxy).then(unittest.expectAsync1(((api.Operation response) {
+ res.setBackendService(arg_request, arg_project, arg_targetSslProxy, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -24769,6 +25130,7 @@
var arg_request = buildTargetSslProxiesSetProxyHeaderRequest();
var arg_project = "foo";
var arg_targetSslProxy = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetSslProxiesSetProxyHeaderRequest.fromJson(json);
checkTargetSslProxiesSetProxyHeaderRequest(obj);
@@ -24796,6 +25158,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -24804,7 +25167,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setProxyHeader(arg_request, arg_project, arg_targetSslProxy).then(unittest.expectAsync1(((api.Operation response) {
+ res.setProxyHeader(arg_request, arg_project, arg_targetSslProxy, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -24816,6 +25179,7 @@
var arg_request = buildTargetSslProxiesSetSslCertificatesRequest();
var arg_project = "foo";
var arg_targetSslProxy = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetSslProxiesSetSslCertificatesRequest.fromJson(json);
checkTargetSslProxiesSetSslCertificatesRequest(obj);
@@ -24843,6 +25207,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -24851,7 +25216,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setSslCertificates(arg_request, arg_project, arg_targetSslProxy).then(unittest.expectAsync1(((api.Operation response) {
+ res.setSslCertificates(arg_request, arg_project, arg_targetSslProxy, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -24866,6 +25231,7 @@
api.TargetTcpProxiesResourceApi res = new api.ComputeApi(mock).targetTcpProxies;
var arg_project = "foo";
var arg_targetTcpProxy = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -24890,6 +25256,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -24898,7 +25265,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_targetTcpProxy).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_targetTcpProxy, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -24952,6 +25319,7 @@
api.TargetTcpProxiesResourceApi res = new api.ComputeApi(mock).targetTcpProxies;
var arg_request = buildTargetTcpProxy();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetTcpProxy.fromJson(json);
checkTargetTcpProxy(obj);
@@ -24979,6 +25347,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -24987,7 +25356,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -25049,6 +25418,7 @@
var arg_request = buildTargetTcpProxiesSetBackendServiceRequest();
var arg_project = "foo";
var arg_targetTcpProxy = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetTcpProxiesSetBackendServiceRequest.fromJson(json);
checkTargetTcpProxiesSetBackendServiceRequest(obj);
@@ -25076,6 +25446,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -25084,7 +25455,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setBackendService(arg_request, arg_project, arg_targetTcpProxy).then(unittest.expectAsync1(((api.Operation response) {
+ res.setBackendService(arg_request, arg_project, arg_targetTcpProxy, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -25096,6 +25467,7 @@
var arg_request = buildTargetTcpProxiesSetProxyHeaderRequest();
var arg_project = "foo";
var arg_targetTcpProxy = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetTcpProxiesSetProxyHeaderRequest.fromJson(json);
checkTargetTcpProxiesSetProxyHeaderRequest(obj);
@@ -25123,6 +25495,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -25131,7 +25504,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setProxyHeader(arg_request, arg_project, arg_targetTcpProxy).then(unittest.expectAsync1(((api.Operation response) {
+ res.setProxyHeader(arg_request, arg_project, arg_targetTcpProxy, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -25197,6 +25570,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_targetVpnGateway = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -25221,6 +25595,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -25229,7 +25604,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_region, arg_targetVpnGateway).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_region, arg_targetVpnGateway, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -25285,6 +25660,7 @@
var arg_request = buildTargetVpnGateway();
var arg_project = "foo";
var arg_region = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TargetVpnGateway.fromJson(json);
checkTargetVpnGateway(obj);
@@ -25312,6 +25688,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -25320,7 +25697,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project, arg_region).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, arg_region, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -25386,6 +25763,7 @@
api.UrlMapsResourceApi res = new api.ComputeApi(mock).urlMaps;
var arg_project = "foo";
var arg_urlMap = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -25410,6 +25788,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -25418,7 +25797,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_urlMap).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_urlMap, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -25472,6 +25851,7 @@
api.UrlMapsResourceApi res = new api.ComputeApi(mock).urlMaps;
var arg_request = buildUrlMap();
var arg_project = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.UrlMap.fromJson(json);
checkUrlMap(obj);
@@ -25499,6 +25879,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -25507,7 +25888,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -25519,6 +25900,7 @@
var arg_request = buildCacheInvalidationRule();
var arg_project = "foo";
var arg_urlMap = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.CacheInvalidationRule.fromJson(json);
checkCacheInvalidationRule(obj);
@@ -25546,6 +25928,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -25554,7 +25937,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.invalidateCache(arg_request, arg_project, arg_urlMap).then(unittest.expectAsync1(((api.Operation response) {
+ res.invalidateCache(arg_request, arg_project, arg_urlMap, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -25616,6 +25999,7 @@
var arg_request = buildUrlMap();
var arg_project = "foo";
var arg_urlMap = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.UrlMap.fromJson(json);
checkUrlMap(obj);
@@ -25643,6 +26027,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -25651,7 +26036,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_project, arg_urlMap).then(unittest.expectAsync1(((api.Operation response) {
+ res.patch(arg_request, arg_project, arg_urlMap, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -25663,6 +26048,7 @@
var arg_request = buildUrlMap();
var arg_project = "foo";
var arg_urlMap = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.UrlMap.fromJson(json);
checkUrlMap(obj);
@@ -25690,6 +26076,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -25698,7 +26085,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.update(arg_request, arg_project, arg_urlMap).then(unittest.expectAsync1(((api.Operation response) {
+ res.update(arg_request, arg_project, arg_urlMap, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -25811,6 +26198,7 @@
var arg_project = "foo";
var arg_region = "foo";
var arg_vpnTunnel = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -25835,6 +26223,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -25843,7 +26232,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_project, arg_region, arg_vpnTunnel).then(unittest.expectAsync1(((api.Operation response) {
+ res.delete(arg_project, arg_region, arg_vpnTunnel, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -25899,6 +26288,7 @@
var arg_request = buildVpnTunnel();
var arg_project = "foo";
var arg_region = "foo";
+ var arg_requestId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.VpnTunnel.fromJson(json);
checkVpnTunnel(obj);
@@ -25926,6 +26316,7 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestId"].first, unittest.equals(arg_requestId));
var h = {
@@ -25934,7 +26325,7 @@
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.insert(arg_request, arg_project, arg_region).then(unittest.expectAsync1(((api.Operation response) {
+ res.insert(arg_request, arg_project, arg_region, requestId: arg_requestId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
diff --git a/generated/googleapis/test/consumersurveys/v2_test.dart b/generated/googleapis/test/consumersurveys/v2_test.dart
index 69034bc..e4d838f 100644
--- a/generated/googleapis/test/consumersurveys/v2_test.dart
+++ b/generated/googleapis/test/consumersurveys/v2_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed70() {
+buildUnnamed75() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed70(core.List<api.FieldMask> o) {
+checkUnnamed75(core.List<api.FieldMask> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldMask(o[0]);
checkFieldMask(o[1]);
@@ -69,7 +69,7 @@
var o = new api.FieldMask();
buildCounterFieldMask++;
if (buildCounterFieldMask < 3) {
- o.fields = buildUnnamed70();
+ o.fields = buildUnnamed75();
o.id = 42;
}
buildCounterFieldMask--;
@@ -79,20 +79,20 @@
checkFieldMask(api.FieldMask o) {
buildCounterFieldMask++;
if (buildCounterFieldMask < 3) {
- checkUnnamed70(o.fields);
+ checkUnnamed75(o.fields);
unittest.expect(o.id, unittest.equals(42));
}
buildCounterFieldMask--;
}
-buildUnnamed71() {
+buildUnnamed76() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed71(core.List<core.String> o) {
+checkUnnamed76(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -108,7 +108,7 @@
o.language = "foo";
o.mobileAppPanelId = "foo";
o.name = "foo";
- o.owners = buildUnnamed71();
+ o.owners = buildUnnamed76();
}
buildCounterMobileAppPanel--;
return o;
@@ -122,19 +122,19 @@
unittest.expect(o.language, unittest.equals('foo'));
unittest.expect(o.mobileAppPanelId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed71(o.owners);
+ checkUnnamed76(o.owners);
}
buildCounterMobileAppPanel--;
}
-buildUnnamed72() {
+buildUnnamed77() {
var o = new core.List<api.MobileAppPanel>();
o.add(buildMobileAppPanel());
o.add(buildMobileAppPanel());
return o;
}
-checkUnnamed72(core.List<api.MobileAppPanel> o) {
+checkUnnamed77(core.List<api.MobileAppPanel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileAppPanel(o[0]);
checkMobileAppPanel(o[1]);
@@ -147,7 +147,7 @@
if (buildCounterMobileAppPanelsListResponse < 3) {
o.pageInfo = buildPageInfo();
o.requestId = "foo";
- o.resources = buildUnnamed72();
+ o.resources = buildUnnamed77();
o.tokenPagination = buildTokenPagination();
}
buildCounterMobileAppPanelsListResponse--;
@@ -159,7 +159,7 @@
if (buildCounterMobileAppPanelsListResponse < 3) {
checkPageInfo(o.pageInfo);
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed72(o.resources);
+ checkUnnamed77(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterMobileAppPanelsListResponse--;
@@ -207,14 +207,14 @@
buildCounterResultsGetRequest--;
}
-buildUnnamed73() {
+buildUnnamed78() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed73(core.List<api.FieldMask> o) {
+checkUnnamed78(core.List<api.FieldMask> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldMask(o[0]);
checkFieldMask(o[1]);
@@ -225,7 +225,7 @@
var o = new api.ResultsMask();
buildCounterResultsMask++;
if (buildCounterResultsMask < 3) {
- o.fields = buildUnnamed73();
+ o.fields = buildUnnamed78();
o.projection = "foo";
}
buildCounterResultsMask--;
@@ -235,33 +235,33 @@
checkResultsMask(api.ResultsMask o) {
buildCounterResultsMask++;
if (buildCounterResultsMask < 3) {
- checkUnnamed73(o.fields);
+ checkUnnamed78(o.fields);
unittest.expect(o.projection, unittest.equals('foo'));
}
buildCounterResultsMask--;
}
-buildUnnamed74() {
+buildUnnamed79() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed74(core.List<core.String> o) {
+checkUnnamed79(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed75() {
+buildUnnamed80() {
var o = new core.List<api.SurveyQuestion>();
o.add(buildSurveyQuestion());
o.add(buildSurveyQuestion());
return o;
}
-checkUnnamed75(core.List<api.SurveyQuestion> o) {
+checkUnnamed80(core.List<api.SurveyQuestion> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurveyQuestion(o[0]);
checkSurveyQuestion(o[1]);
@@ -276,8 +276,8 @@
o.cost = buildSurveyCost();
o.customerData = "foo";
o.description = "foo";
- o.owners = buildUnnamed74();
- o.questions = buildUnnamed75();
+ o.owners = buildUnnamed79();
+ o.questions = buildUnnamed80();
o.rejectionReason = buildSurveyRejection();
o.state = "foo";
o.surveyUrlId = "foo";
@@ -295,8 +295,8 @@
checkSurveyCost(o.cost);
unittest.expect(o.customerData, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed74(o.owners);
- checkUnnamed75(o.questions);
+ checkUnnamed79(o.owners);
+ checkUnnamed80(o.questions);
checkSurveyRejection(o.rejectionReason);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.surveyUrlId, unittest.equals('foo'));
@@ -306,27 +306,27 @@
buildCounterSurvey--;
}
-buildUnnamed76() {
+buildUnnamed81() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed76(core.List<core.String> o) {
+checkUnnamed81(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed77() {
+buildUnnamed82() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed77(core.List<core.String> o) {
+checkUnnamed82(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -337,11 +337,11 @@
var o = new api.SurveyAudience();
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- o.ages = buildUnnamed76();
+ o.ages = buildUnnamed81();
o.country = "foo";
o.countrySubdivision = "foo";
o.gender = "foo";
- o.languages = buildUnnamed77();
+ o.languages = buildUnnamed82();
o.mobileAppPanelId = "foo";
o.populationSource = "foo";
}
@@ -352,11 +352,11 @@
checkSurveyAudience(api.SurveyAudience o) {
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- checkUnnamed76(o.ages);
+ checkUnnamed81(o.ages);
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.countrySubdivision, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
- checkUnnamed77(o.languages);
+ checkUnnamed82(o.languages);
unittest.expect(o.mobileAppPanelId, unittest.equals('foo'));
unittest.expect(o.populationSource, unittest.equals('foo'));
}
@@ -388,53 +388,53 @@
buildCounterSurveyCost--;
}
-buildUnnamed78() {
+buildUnnamed83() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed78(core.List<core.String> o) {
+checkUnnamed83(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed79() {
+buildUnnamed84() {
var o = new core.List<api.SurveyQuestionImage>();
o.add(buildSurveyQuestionImage());
o.add(buildSurveyQuestionImage());
return o;
}
-checkUnnamed79(core.List<api.SurveyQuestionImage> o) {
+checkUnnamed84(core.List<api.SurveyQuestionImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurveyQuestionImage(o[0]);
checkSurveyQuestionImage(o[1]);
}
-buildUnnamed80() {
+buildUnnamed85() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed80(core.List<core.String> o) {
+checkUnnamed85(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed81() {
+buildUnnamed86() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed81(core.List<core.String> o) {
+checkUnnamed86(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -446,20 +446,20 @@
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
o.answerOrder = "foo";
- o.answers = buildUnnamed78();
+ o.answers = buildUnnamed83();
o.hasOther = true;
o.highValueLabel = "foo";
- o.images = buildUnnamed79();
+ o.images = buildUnnamed84();
o.lastAnswerPositionPinned = true;
o.lowValueLabel = "foo";
o.mustPickSuggestion = true;
o.numStars = "foo";
o.openTextPlaceholder = "foo";
- o.openTextSuggestions = buildUnnamed80();
+ o.openTextSuggestions = buildUnnamed85();
o.question = "foo";
o.sentimentText = "foo";
o.singleLineResponse = true;
- o.thresholdAnswers = buildUnnamed81();
+ o.thresholdAnswers = buildUnnamed86();
o.type = "foo";
o.unitOfMeasurementLabel = "foo";
o.videoId = "foo";
@@ -472,20 +472,20 @@
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
unittest.expect(o.answerOrder, unittest.equals('foo'));
- checkUnnamed78(o.answers);
+ checkUnnamed83(o.answers);
unittest.expect(o.hasOther, unittest.isTrue);
unittest.expect(o.highValueLabel, unittest.equals('foo'));
- checkUnnamed79(o.images);
+ checkUnnamed84(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'));
- checkUnnamed80(o.openTextSuggestions);
+ checkUnnamed85(o.openTextSuggestions);
unittest.expect(o.question, unittest.equals('foo'));
unittest.expect(o.sentimentText, unittest.equals('foo'));
unittest.expect(o.singleLineResponse, unittest.isTrue);
- checkUnnamed81(o.thresholdAnswers);
+ checkUnnamed86(o.thresholdAnswers);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.unitOfMeasurementLabel, unittest.equals('foo'));
unittest.expect(o.videoId, unittest.equals('foo'));
@@ -577,14 +577,14 @@
buildCounterSurveysDeleteResponse--;
}
-buildUnnamed82() {
+buildUnnamed87() {
var o = new core.List<api.Survey>();
o.add(buildSurvey());
o.add(buildSurvey());
return o;
}
-checkUnnamed82(core.List<api.Survey> o) {
+checkUnnamed87(core.List<api.Survey> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurvey(o[0]);
checkSurvey(o[1]);
@@ -597,7 +597,7 @@
if (buildCounterSurveysListResponse < 3) {
o.pageInfo = buildPageInfo();
o.requestId = "foo";
- o.resources = buildUnnamed82();
+ o.resources = buildUnnamed87();
o.tokenPagination = buildTokenPagination();
}
buildCounterSurveysListResponse--;
@@ -609,7 +609,7 @@
if (buildCounterSurveysListResponse < 3) {
checkPageInfo(o.pageInfo);
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed82(o.resources);
+ checkUnnamed87(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterSurveysListResponse--;
diff --git a/generated/googleapis/test/container/v1_test.dart b/generated/googleapis/test/container/v1_test.dart
index 61d645d..d9b06b5 100644
--- a/generated/googleapis/test/container/v1_test.dart
+++ b/generated/googleapis/test/container/v1_test.dart
@@ -173,53 +173,53 @@
buildCounterClientCertificateConfig--;
}
-buildUnnamed1846() {
+buildUnnamed1864() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1846(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'));
}
-buildUnnamed1847() {
+buildUnnamed1865() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1847(core.List<core.String> o) {
+checkUnnamed1865(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1848() {
+buildUnnamed1866() {
var o = new core.List<api.NodePool>();
o.add(buildNodePool());
o.add(buildNodePool());
return o;
}
-checkUnnamed1848(core.List<api.NodePool> o) {
+checkUnnamed1866(core.List<api.NodePool> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodePool(o[0]);
checkNodePool(o[1]);
}
-buildUnnamed1849() {
+buildUnnamed1867() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1849(core.Map<core.String, core.String> o) {
+checkUnnamed1867(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -242,11 +242,11 @@
o.expireTime = "foo";
o.initialClusterVersion = "foo";
o.initialNodeCount = 42;
- o.instanceGroupUrls = buildUnnamed1846();
+ o.instanceGroupUrls = buildUnnamed1864();
o.ipAllocationPolicy = buildIPAllocationPolicy();
o.labelFingerprint = "foo";
o.legacyAbac = buildLegacyAbac();
- o.locations = buildUnnamed1847();
+ o.locations = buildUnnamed1865();
o.loggingService = "foo";
o.masterAuth = buildMasterAuth();
o.masterAuthorizedNetworksConfig = buildMasterAuthorizedNetworksConfig();
@@ -256,8 +256,8 @@
o.networkPolicy = buildNetworkPolicy();
o.nodeConfig = buildNodeConfig();
o.nodeIpv4CidrSize = 42;
- o.nodePools = buildUnnamed1848();
- o.resourceLabels = buildUnnamed1849();
+ o.nodePools = buildUnnamed1866();
+ o.resourceLabels = buildUnnamed1867();
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));
- checkUnnamed1846(o.instanceGroupUrls);
+ checkUnnamed1864(o.instanceGroupUrls);
checkIPAllocationPolicy(o.ipAllocationPolicy);
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
checkLegacyAbac(o.legacyAbac);
- checkUnnamed1847(o.locations);
+ checkUnnamed1865(o.locations);
unittest.expect(o.loggingService, unittest.equals('foo'));
checkMasterAuth(o.masterAuth);
checkMasterAuthorizedNetworksConfig(o.masterAuthorizedNetworksConfig);
@@ -298,8 +298,8 @@
checkNetworkPolicy(o.networkPolicy);
checkNodeConfig(o.nodeConfig);
unittest.expect(o.nodeIpv4CidrSize, unittest.equals(42));
- checkUnnamed1848(o.nodePools);
- checkUnnamed1849(o.resourceLabels);
+ checkUnnamed1866(o.nodePools);
+ checkUnnamed1867(o.resourceLabels);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.servicesIpv4Cidr, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
@@ -310,14 +310,14 @@
buildCounterCluster--;
}
-buildUnnamed1850() {
+buildUnnamed1868() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1850(core.List<core.String> o) {
+checkUnnamed1868(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -330,7 +330,7 @@
if (buildCounterClusterUpdate < 3) {
o.desiredAddonsConfig = buildAddonsConfig();
o.desiredImageType = "foo";
- o.desiredLocations = buildUnnamed1850();
+ o.desiredLocations = buildUnnamed1868();
o.desiredMasterAuthorizedNetworksConfig = buildMasterAuthorizedNetworksConfig();
o.desiredMasterVersion = "foo";
o.desiredMonitoringService = "foo";
@@ -347,7 +347,7 @@
if (buildCounterClusterUpdate < 3) {
checkAddonsConfig(o.desiredAddonsConfig);
unittest.expect(o.desiredImageType, unittest.equals('foo'));
- checkUnnamed1850(o.desiredLocations);
+ checkUnnamed1868(o.desiredLocations);
checkMasterAuthorizedNetworksConfig(o.desiredMasterAuthorizedNetworksConfig);
unittest.expect(o.desiredMasterVersion, unittest.equals('foo'));
unittest.expect(o.desiredMonitoringService, unittest.equals('foo'));
@@ -535,27 +535,27 @@
buildCounterLegacyAbac--;
}
-buildUnnamed1851() {
+buildUnnamed1869() {
var o = new core.List<api.Cluster>();
o.add(buildCluster());
o.add(buildCluster());
return o;
}
-checkUnnamed1851(core.List<api.Cluster> o) {
+checkUnnamed1869(core.List<api.Cluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkCluster(o[0]);
checkCluster(o[1]);
}
-buildUnnamed1852() {
+buildUnnamed1870() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1852(core.List<core.String> o) {
+checkUnnamed1870(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -566,8 +566,8 @@
var o = new api.ListClustersResponse();
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- o.clusters = buildUnnamed1851();
- o.missingZones = buildUnnamed1852();
+ o.clusters = buildUnnamed1869();
+ o.missingZones = buildUnnamed1870();
}
buildCounterListClustersResponse--;
return o;
@@ -576,20 +576,20 @@
checkListClustersResponse(api.ListClustersResponse o) {
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- checkUnnamed1851(o.clusters);
- checkUnnamed1852(o.missingZones);
+ checkUnnamed1869(o.clusters);
+ checkUnnamed1870(o.missingZones);
}
buildCounterListClustersResponse--;
}
-buildUnnamed1853() {
+buildUnnamed1871() {
var o = new core.List<api.NodePool>();
o.add(buildNodePool());
o.add(buildNodePool());
return o;
}
-checkUnnamed1853(core.List<api.NodePool> o) {
+checkUnnamed1871(core.List<api.NodePool> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodePool(o[0]);
checkNodePool(o[1]);
@@ -600,7 +600,7 @@
var o = new api.ListNodePoolsResponse();
buildCounterListNodePoolsResponse++;
if (buildCounterListNodePoolsResponse < 3) {
- o.nodePools = buildUnnamed1853();
+ o.nodePools = buildUnnamed1871();
}
buildCounterListNodePoolsResponse--;
return o;
@@ -609,32 +609,32 @@
checkListNodePoolsResponse(api.ListNodePoolsResponse o) {
buildCounterListNodePoolsResponse++;
if (buildCounterListNodePoolsResponse < 3) {
- checkUnnamed1853(o.nodePools);
+ checkUnnamed1871(o.nodePools);
}
buildCounterListNodePoolsResponse--;
}
-buildUnnamed1854() {
+buildUnnamed1872() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1854(core.List<core.String> o) {
+checkUnnamed1872(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1855() {
+buildUnnamed1873() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1855(core.List<api.Operation> o) {
+checkUnnamed1873(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -645,8 +645,8 @@
var o = new api.ListOperationsResponse();
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
- o.missingZones = buildUnnamed1854();
- o.operations = buildUnnamed1855();
+ o.missingZones = buildUnnamed1872();
+ o.operations = buildUnnamed1873();
}
buildCounterListOperationsResponse--;
return o;
@@ -655,8 +655,8 @@
checkListOperationsResponse(api.ListOperationsResponse o) {
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
- checkUnnamed1854(o.missingZones);
- checkUnnamed1855(o.operations);
+ checkUnnamed1872(o.missingZones);
+ checkUnnamed1873(o.operations);
}
buildCounterListOperationsResponse--;
}
@@ -690,14 +690,14 @@
buildCounterMasterAuth--;
}
-buildUnnamed1856() {
+buildUnnamed1874() {
var o = new core.List<api.CidrBlock>();
o.add(buildCidrBlock());
o.add(buildCidrBlock());
return o;
}
-checkUnnamed1856(core.List<api.CidrBlock> o) {
+checkUnnamed1874(core.List<api.CidrBlock> o) {
unittest.expect(o, unittest.hasLength(2));
checkCidrBlock(o[0]);
checkCidrBlock(o[1]);
@@ -708,7 +708,7 @@
var o = new api.MasterAuthorizedNetworksConfig();
buildCounterMasterAuthorizedNetworksConfig++;
if (buildCounterMasterAuthorizedNetworksConfig < 3) {
- o.cidrBlocks = buildUnnamed1856();
+ o.cidrBlocks = buildUnnamed1874();
o.enabled = true;
}
buildCounterMasterAuthorizedNetworksConfig--;
@@ -718,7 +718,7 @@
checkMasterAuthorizedNetworksConfig(api.MasterAuthorizedNetworksConfig o) {
buildCounterMasterAuthorizedNetworksConfig++;
if (buildCounterMasterAuthorizedNetworksConfig < 3) {
- checkUnnamed1856(o.cidrBlocks);
+ checkUnnamed1874(o.cidrBlocks);
unittest.expect(o.enabled, unittest.isTrue);
}
buildCounterMasterAuthorizedNetworksConfig--;
@@ -745,66 +745,66 @@
buildCounterNetworkPolicy--;
}
-buildUnnamed1857() {
+buildUnnamed1875() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed1857(core.List<api.AcceleratorConfig> o) {
+checkUnnamed1875(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
}
-buildUnnamed1858() {
+buildUnnamed1876() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1858(core.Map<core.String, core.String> o) {
+checkUnnamed1876(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1859() {
+buildUnnamed1877() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1859(core.Map<core.String, core.String> o) {
+checkUnnamed1877(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1860() {
+buildUnnamed1878() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1860(core.List<core.String> o) {
+checkUnnamed1878(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1861() {
+buildUnnamed1879() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1861(core.List<core.String> o) {
+checkUnnamed1879(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -815,17 +815,17 @@
var o = new api.NodeConfig();
buildCounterNodeConfig++;
if (buildCounterNodeConfig < 3) {
- o.accelerators = buildUnnamed1857();
+ o.accelerators = buildUnnamed1875();
o.diskSizeGb = 42;
o.imageType = "foo";
- o.labels = buildUnnamed1858();
+ o.labels = buildUnnamed1876();
o.localSsdCount = 42;
o.machineType = "foo";
- o.metadata = buildUnnamed1859();
- o.oauthScopes = buildUnnamed1860();
+ o.metadata = buildUnnamed1877();
+ o.oauthScopes = buildUnnamed1878();
o.preemptible = true;
o.serviceAccount = "foo";
- o.tags = buildUnnamed1861();
+ o.tags = buildUnnamed1879();
}
buildCounterNodeConfig--;
return o;
@@ -834,17 +834,17 @@
checkNodeConfig(api.NodeConfig o) {
buildCounterNodeConfig++;
if (buildCounterNodeConfig < 3) {
- checkUnnamed1857(o.accelerators);
+ checkUnnamed1875(o.accelerators);
unittest.expect(o.diskSizeGb, unittest.equals(42));
unittest.expect(o.imageType, unittest.equals('foo'));
- checkUnnamed1858(o.labels);
+ checkUnnamed1876(o.labels);
unittest.expect(o.localSsdCount, unittest.equals(42));
unittest.expect(o.machineType, unittest.equals('foo'));
- checkUnnamed1859(o.metadata);
- checkUnnamed1860(o.oauthScopes);
+ checkUnnamed1877(o.metadata);
+ checkUnnamed1878(o.oauthScopes);
unittest.expect(o.preemptible, unittest.isTrue);
unittest.expect(o.serviceAccount, unittest.equals('foo'));
- checkUnnamed1861(o.tags);
+ checkUnnamed1879(o.tags);
}
buildCounterNodeConfig--;
}
@@ -872,14 +872,14 @@
buildCounterNodeManagement--;
}
-buildUnnamed1862() {
+buildUnnamed1880() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1862(core.List<core.String> o) {
+checkUnnamed1880(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -893,7 +893,7 @@
o.autoscaling = buildNodePoolAutoscaling();
o.config = buildNodeConfig();
o.initialNodeCount = 42;
- o.instanceGroupUrls = buildUnnamed1862();
+ o.instanceGroupUrls = buildUnnamed1880();
o.management = buildNodeManagement();
o.name = "foo";
o.selfLink = "foo";
@@ -911,7 +911,7 @@
checkNodePoolAutoscaling(o.autoscaling);
checkNodeConfig(o.config);
unittest.expect(o.initialNodeCount, unittest.equals(42));
- checkUnnamed1862(o.instanceGroupUrls);
+ checkUnnamed1880(o.instanceGroupUrls);
checkNodeManagement(o.management);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -995,40 +995,40 @@
buildCounterRollbackNodePoolUpgradeRequest--;
}
-buildUnnamed1863() {
+buildUnnamed1881() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1863(core.List<core.String> o) {
+checkUnnamed1881(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1864() {
+buildUnnamed1882() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1864(core.List<core.String> o) {
+checkUnnamed1882(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1865() {
+buildUnnamed1883() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1865(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'));
@@ -1041,9 +1041,9 @@
if (buildCounterServerConfig < 3) {
o.defaultClusterVersion = "foo";
o.defaultImageType = "foo";
- o.validImageTypes = buildUnnamed1863();
- o.validMasterVersions = buildUnnamed1864();
- o.validNodeVersions = buildUnnamed1865();
+ o.validImageTypes = buildUnnamed1881();
+ o.validMasterVersions = buildUnnamed1882();
+ o.validNodeVersions = buildUnnamed1883();
}
buildCounterServerConfig--;
return o;
@@ -1054,9 +1054,9 @@
if (buildCounterServerConfig < 3) {
unittest.expect(o.defaultClusterVersion, unittest.equals('foo'));
unittest.expect(o.defaultImageType, unittest.equals('foo'));
- checkUnnamed1863(o.validImageTypes);
- checkUnnamed1864(o.validMasterVersions);
- checkUnnamed1865(o.validNodeVersions);
+ checkUnnamed1881(o.validImageTypes);
+ checkUnnamed1882(o.validMasterVersions);
+ checkUnnamed1883(o.validNodeVersions);
}
buildCounterServerConfig--;
}
@@ -1080,14 +1080,14 @@
buildCounterSetAddonsConfigRequest--;
}
-buildUnnamed1866() {
+buildUnnamed1884() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1866(core.Map<core.String, core.String> o) {
+checkUnnamed1884(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1099,7 +1099,7 @@
buildCounterSetLabelsRequest++;
if (buildCounterSetLabelsRequest < 3) {
o.labelFingerprint = "foo";
- o.resourceLabels = buildUnnamed1866();
+ o.resourceLabels = buildUnnamed1884();
}
buildCounterSetLabelsRequest--;
return o;
@@ -1109,7 +1109,7 @@
buildCounterSetLabelsRequest++;
if (buildCounterSetLabelsRequest < 3) {
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed1866(o.resourceLabels);
+ checkUnnamed1884(o.resourceLabels);
}
buildCounterSetLabelsRequest--;
}
@@ -1133,14 +1133,14 @@
buildCounterSetLegacyAbacRequest--;
}
-buildUnnamed1867() {
+buildUnnamed1885() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1867(core.List<core.String> o) {
+checkUnnamed1885(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1151,7 +1151,7 @@
var o = new api.SetLocationsRequest();
buildCounterSetLocationsRequest++;
if (buildCounterSetLocationsRequest < 3) {
- o.locations = buildUnnamed1867();
+ o.locations = buildUnnamed1885();
}
buildCounterSetLocationsRequest--;
return o;
@@ -1160,7 +1160,7 @@
checkSetLocationsRequest(api.SetLocationsRequest o) {
buildCounterSetLocationsRequest++;
if (buildCounterSetLocationsRequest < 3) {
- checkUnnamed1867(o.locations);
+ checkUnnamed1885(o.locations);
}
buildCounterSetLocationsRequest--;
}
diff --git a/generated/googleapis/test/customsearch/v1_test.dart b/generated/googleapis/test/customsearch/v1_test.dart
index 403d769..82e0765 100644
--- a/generated/googleapis/test/customsearch/v1_test.dart
+++ b/generated/googleapis/test/customsearch/v1_test.dart
@@ -74,30 +74,30 @@
buildCounterContextFacets--;
}
-buildUnnamed294() {
+buildUnnamed299() {
var o = new core.List<api.ContextFacets>();
o.add(buildContextFacets());
o.add(buildContextFacets());
return o;
}
-checkUnnamed294(core.List<api.ContextFacets> o) {
+checkUnnamed299(core.List<api.ContextFacets> o) {
unittest.expect(o, unittest.hasLength(2));
checkContextFacets(o[0]);
checkContextFacets(o[1]);
}
-buildUnnamed295() {
+buildUnnamed300() {
var o = new core.List<core.List<api.ContextFacets>>();
- o.add(buildUnnamed294());
- o.add(buildUnnamed294());
+ o.add(buildUnnamed299());
+ o.add(buildUnnamed299());
return o;
}
-checkUnnamed295(core.List<core.List<api.ContextFacets>> o) {
+checkUnnamed300(core.List<core.List<api.ContextFacets>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed294(o[0]);
- checkUnnamed294(o[1]);
+ checkUnnamed299(o[0]);
+ checkUnnamed299(o[1]);
}
core.int buildCounterContext = 0;
@@ -105,7 +105,7 @@
var o = new api.Context();
buildCounterContext++;
if (buildCounterContext < 3) {
- o.facets = buildUnnamed295();
+ o.facets = buildUnnamed300();
o.title = "foo";
}
buildCounterContext--;
@@ -115,7 +115,7 @@
checkContext(api.Context o) {
buildCounterContext++;
if (buildCounterContext < 3) {
- checkUnnamed295(o.facets);
+ checkUnnamed300(o.facets);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterContext--;
@@ -146,14 +146,14 @@
buildCounterPromotionBodyLines--;
}
-buildUnnamed296() {
+buildUnnamed301() {
var o = new core.List<api.PromotionBodyLines>();
o.add(buildPromotionBodyLines());
o.add(buildPromotionBodyLines());
return o;
}
-checkUnnamed296(core.List<api.PromotionBodyLines> o) {
+checkUnnamed301(core.List<api.PromotionBodyLines> o) {
unittest.expect(o, unittest.hasLength(2));
checkPromotionBodyLines(o[0]);
checkPromotionBodyLines(o[1]);
@@ -187,7 +187,7 @@
var o = new api.Promotion();
buildCounterPromotion++;
if (buildCounterPromotion < 3) {
- o.bodyLines = buildUnnamed296();
+ o.bodyLines = buildUnnamed301();
o.displayLink = "foo";
o.htmlTitle = "foo";
o.image = buildPromotionImage();
@@ -201,7 +201,7 @@
checkPromotion(api.Promotion o) {
buildCounterPromotion++;
if (buildCounterPromotion < 3) {
- checkUnnamed296(o.bodyLines);
+ checkUnnamed301(o.bodyLines);
unittest.expect(o.displayLink, unittest.equals('foo'));
unittest.expect(o.htmlTitle, unittest.equals('foo'));
checkPromotionImage(o.image);
@@ -354,56 +354,56 @@
buildCounterResultLabels--;
}
-buildUnnamed297() {
+buildUnnamed302() {
var o = new core.List<api.ResultLabels>();
o.add(buildResultLabels());
o.add(buildResultLabels());
return o;
}
-checkUnnamed297(core.List<api.ResultLabels> o) {
+checkUnnamed302(core.List<api.ResultLabels> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultLabels(o[0]);
checkResultLabels(o[1]);
}
-buildUnnamed298() {
+buildUnnamed303() {
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;
}
-checkUnnamed298(core.Map<core.String, core.Object> o) {
+checkUnnamed303(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'));
}
-buildUnnamed299() {
+buildUnnamed304() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed298());
- o.add(buildUnnamed298());
+ o.add(buildUnnamed303());
+ o.add(buildUnnamed303());
return o;
}
-checkUnnamed299(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed304(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed298(o[0]);
- checkUnnamed298(o[1]);
+ checkUnnamed303(o[0]);
+ checkUnnamed303(o[1]);
}
-buildUnnamed300() {
+buildUnnamed305() {
var o = new core.Map<core.String, core.List<core.Map<core.String, core.Object>>>();
- o["x"] = buildUnnamed299();
- o["y"] = buildUnnamed299();
+ o["x"] = buildUnnamed304();
+ o["y"] = buildUnnamed304();
return o;
}
-checkUnnamed300(core.Map<core.String, core.List<core.Map<core.String, core.Object>>> o) {
+checkUnnamed305(core.Map<core.String, core.List<core.Map<core.String, core.Object>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed299(o["x"]);
- checkUnnamed299(o["y"]);
+ checkUnnamed304(o["x"]);
+ checkUnnamed304(o["y"]);
}
core.int buildCounterResult = 0;
@@ -420,10 +420,10 @@
o.htmlTitle = "foo";
o.image = buildResultImage();
o.kind = "foo";
- o.labels = buildUnnamed297();
+ o.labels = buildUnnamed302();
o.link = "foo";
o.mime = "foo";
- o.pagemap = buildUnnamed300();
+ o.pagemap = buildUnnamed305();
o.snippet = "foo";
o.title = "foo";
}
@@ -443,66 +443,66 @@
unittest.expect(o.htmlTitle, unittest.equals('foo'));
checkResultImage(o.image);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed297(o.labels);
+ checkUnnamed302(o.labels);
unittest.expect(o.link, unittest.equals('foo'));
unittest.expect(o.mime, unittest.equals('foo'));
- checkUnnamed300(o.pagemap);
+ checkUnnamed305(o.pagemap);
unittest.expect(o.snippet, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterResult--;
}
-buildUnnamed301() {
+buildUnnamed306() {
var o = new core.List<api.Result>();
o.add(buildResult());
o.add(buildResult());
return o;
}
-checkUnnamed301(core.List<api.Result> o) {
+checkUnnamed306(core.List<api.Result> o) {
unittest.expect(o, unittest.hasLength(2));
checkResult(o[0]);
checkResult(o[1]);
}
-buildUnnamed302() {
+buildUnnamed307() {
var o = new core.List<api.Promotion>();
o.add(buildPromotion());
o.add(buildPromotion());
return o;
}
-checkUnnamed302(core.List<api.Promotion> o) {
+checkUnnamed307(core.List<api.Promotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkPromotion(o[0]);
checkPromotion(o[1]);
}
-buildUnnamed303() {
+buildUnnamed308() {
var o = new core.List<api.Query>();
o.add(buildQuery());
o.add(buildQuery());
return o;
}
-checkUnnamed303(core.List<api.Query> o) {
+checkUnnamed308(core.List<api.Query> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuery(o[0]);
checkQuery(o[1]);
}
-buildUnnamed304() {
+buildUnnamed309() {
var o = new core.Map<core.String, core.List<api.Query>>();
- o["x"] = buildUnnamed303();
- o["y"] = buildUnnamed303();
+ o["x"] = buildUnnamed308();
+ o["y"] = buildUnnamed308();
return o;
}
-checkUnnamed304(core.Map<core.String, core.List<api.Query>> o) {
+checkUnnamed309(core.Map<core.String, core.List<api.Query>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed303(o["x"]);
- checkUnnamed303(o["y"]);
+ checkUnnamed308(o["x"]);
+ checkUnnamed308(o["y"]);
}
core.int buildCounterSearchSearchInformation = 0;
@@ -578,10 +578,10 @@
buildCounterSearch++;
if (buildCounterSearch < 3) {
o.context = buildContext();
- o.items = buildUnnamed301();
+ o.items = buildUnnamed306();
o.kind = "foo";
- o.promotions = buildUnnamed302();
- o.queries = buildUnnamed304();
+ o.promotions = buildUnnamed307();
+ o.queries = buildUnnamed309();
o.searchInformation = buildSearchSearchInformation();
o.spelling = buildSearchSpelling();
o.url = buildSearchUrl();
@@ -594,10 +594,10 @@
buildCounterSearch++;
if (buildCounterSearch < 3) {
checkContext(o.context);
- checkUnnamed301(o.items);
+ checkUnnamed306(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed302(o.promotions);
- checkUnnamed304(o.queries);
+ checkUnnamed307(o.promotions);
+ checkUnnamed309(o.queries);
checkSearchSearchInformation(o.searchInformation);
checkSearchSpelling(o.spelling);
checkSearchUrl(o.url);
diff --git a/generated/googleapis/test/dataproc/v1_test.dart b/generated/googleapis/test/dataproc/v1_test.dart
index 4afa318..2d78fe5 100644
--- a/generated/googleapis/test/dataproc/v1_test.dart
+++ b/generated/googleapis/test/dataproc/v1_test.dart
@@ -89,27 +89,27 @@
buildCounterCancelJobRequest--;
}
-buildUnnamed506() {
+buildUnnamed512() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed506(core.Map<core.String, core.String> o) {
+checkUnnamed512(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed507() {
+buildUnnamed513() {
var o = new core.List<api.ClusterStatus>();
o.add(buildClusterStatus());
o.add(buildClusterStatus());
return o;
}
-checkUnnamed507(core.List<api.ClusterStatus> o) {
+checkUnnamed513(core.List<api.ClusterStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkClusterStatus(o[0]);
checkClusterStatus(o[1]);
@@ -123,11 +123,11 @@
o.clusterName = "foo";
o.clusterUuid = "foo";
o.config = buildClusterConfig();
- o.labels = buildUnnamed506();
+ o.labels = buildUnnamed512();
o.metrics = buildClusterMetrics();
o.projectId = "foo";
o.status = buildClusterStatus();
- o.statusHistory = buildUnnamed507();
+ o.statusHistory = buildUnnamed513();
}
buildCounterCluster--;
return o;
@@ -139,23 +139,23 @@
unittest.expect(o.clusterName, unittest.equals('foo'));
unittest.expect(o.clusterUuid, unittest.equals('foo'));
checkClusterConfig(o.config);
- checkUnnamed506(o.labels);
+ checkUnnamed512(o.labels);
checkClusterMetrics(o.metrics);
unittest.expect(o.projectId, unittest.equals('foo'));
checkClusterStatus(o.status);
- checkUnnamed507(o.statusHistory);
+ checkUnnamed513(o.statusHistory);
}
buildCounterCluster--;
}
-buildUnnamed508() {
+buildUnnamed514() {
var o = new core.List<api.NodeInitializationAction>();
o.add(buildNodeInitializationAction());
o.add(buildNodeInitializationAction());
return o;
}
-checkUnnamed508(core.List<api.NodeInitializationAction> o) {
+checkUnnamed514(core.List<api.NodeInitializationAction> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeInitializationAction(o[0]);
checkNodeInitializationAction(o[1]);
@@ -168,7 +168,7 @@
if (buildCounterClusterConfig < 3) {
o.configBucket = "foo";
o.gceClusterConfig = buildGceClusterConfig();
- o.initializationActions = buildUnnamed508();
+ o.initializationActions = buildUnnamed514();
o.masterConfig = buildInstanceGroupConfig();
o.secondaryWorkerConfig = buildInstanceGroupConfig();
o.softwareConfig = buildSoftwareConfig();
@@ -183,7 +183,7 @@
if (buildCounterClusterConfig < 3) {
unittest.expect(o.configBucket, unittest.equals('foo'));
checkGceClusterConfig(o.gceClusterConfig);
- checkUnnamed508(o.initializationActions);
+ checkUnnamed514(o.initializationActions);
checkInstanceGroupConfig(o.masterConfig);
checkInstanceGroupConfig(o.secondaryWorkerConfig);
checkSoftwareConfig(o.softwareConfig);
@@ -192,27 +192,27 @@
buildCounterClusterConfig--;
}
-buildUnnamed509() {
+buildUnnamed515() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed509(core.Map<core.String, core.String> o) {
+checkUnnamed515(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed510() {
+buildUnnamed516() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed510(core.Map<core.String, core.String> o) {
+checkUnnamed516(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -223,8 +223,8 @@
var o = new api.ClusterMetrics();
buildCounterClusterMetrics++;
if (buildCounterClusterMetrics < 3) {
- o.hdfsMetrics = buildUnnamed509();
- o.yarnMetrics = buildUnnamed510();
+ o.hdfsMetrics = buildUnnamed515();
+ o.yarnMetrics = buildUnnamed516();
}
buildCounterClusterMetrics--;
return o;
@@ -233,46 +233,46 @@
checkClusterMetrics(api.ClusterMetrics o) {
buildCounterClusterMetrics++;
if (buildCounterClusterMetrics < 3) {
- checkUnnamed509(o.hdfsMetrics);
- checkUnnamed510(o.yarnMetrics);
+ checkUnnamed515(o.hdfsMetrics);
+ checkUnnamed516(o.yarnMetrics);
}
buildCounterClusterMetrics--;
}
-buildUnnamed511() {
+buildUnnamed517() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed511(core.Map<core.String, core.String> o) {
+checkUnnamed517(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed512() {
+buildUnnamed518() {
var o = new core.List<api.ClusterOperationStatus>();
o.add(buildClusterOperationStatus());
o.add(buildClusterOperationStatus());
return o;
}
-checkUnnamed512(core.List<api.ClusterOperationStatus> o) {
+checkUnnamed518(core.List<api.ClusterOperationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkClusterOperationStatus(o[0]);
checkClusterOperationStatus(o[1]);
}
-buildUnnamed513() {
+buildUnnamed519() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed513(core.List<core.String> o) {
+checkUnnamed519(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -286,11 +286,11 @@
o.clusterName = "foo";
o.clusterUuid = "foo";
o.description = "foo";
- o.labels = buildUnnamed511();
+ o.labels = buildUnnamed517();
o.operationType = "foo";
o.status = buildClusterOperationStatus();
- o.statusHistory = buildUnnamed512();
- o.warnings = buildUnnamed513();
+ o.statusHistory = buildUnnamed518();
+ o.warnings = buildUnnamed519();
}
buildCounterClusterOperationMetadata--;
return o;
@@ -302,11 +302,11 @@
unittest.expect(o.clusterName, unittest.equals('foo'));
unittest.expect(o.clusterUuid, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed511(o.labels);
+ checkUnnamed517(o.labels);
unittest.expect(o.operationType, unittest.equals('foo'));
checkClusterOperationStatus(o.status);
- checkUnnamed512(o.statusHistory);
- checkUnnamed513(o.warnings);
+ checkUnnamed518(o.statusHistory);
+ checkUnnamed519(o.warnings);
}
buildCounterClusterOperationMetadata--;
}
@@ -435,174 +435,30 @@
buildCounterEmpty--;
}
-buildUnnamed514() {
+buildUnnamed520() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed514(core.Map<core.String, core.String> o) {
+checkUnnamed520(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed515() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed515(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed516() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed516(core.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 = buildUnnamed514();
- o.networkUri = "foo";
- o.serviceAccount = "foo";
- o.serviceAccountScopes = buildUnnamed515();
- o.subnetworkUri = "foo";
- o.tags = buildUnnamed516();
- o.zoneUri = "foo";
- }
- buildCounterGceClusterConfig--;
- return o;
-}
-
-checkGceClusterConfig(api.GceClusterConfig o) {
- buildCounterGceClusterConfig++;
- if (buildCounterGceClusterConfig < 3) {
- unittest.expect(o.internalIpOnly, unittest.isTrue);
- checkUnnamed514(o.metadata);
- unittest.expect(o.networkUri, unittest.equals('foo'));
- unittest.expect(o.serviceAccount, unittest.equals('foo'));
- checkUnnamed515(o.serviceAccountScopes);
- unittest.expect(o.subnetworkUri, unittest.equals('foo'));
- checkUnnamed516(o.tags);
- unittest.expect(o.zoneUri, unittest.equals('foo'));
- }
- buildCounterGceClusterConfig--;
-}
-
-buildUnnamed517() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed517(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed518() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed518(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed519() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed519(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed520() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed520(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed521() {
- 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;
}
-checkUnnamed521(core.Map<core.String, core.String> o) {
+checkUnnamed521(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 buildCounterHadoopJob = 0;
-buildHadoopJob() {
- var o = new api.HadoopJob();
- buildCounterHadoopJob++;
- if (buildCounterHadoopJob < 3) {
- o.archiveUris = buildUnnamed517();
- o.args = buildUnnamed518();
- o.fileUris = buildUnnamed519();
- o.jarFileUris = buildUnnamed520();
- o.loggingConfig = buildLoggingConfig();
- o.mainClass = "foo";
- o.mainJarFileUri = "foo";
- o.properties = buildUnnamed521();
- }
- buildCounterHadoopJob--;
- return o;
-}
-
-checkHadoopJob(api.HadoopJob o) {
- buildCounterHadoopJob++;
- if (buildCounterHadoopJob < 3) {
- checkUnnamed517(o.archiveUris);
- checkUnnamed518(o.args);
- checkUnnamed519(o.fileUris);
- checkUnnamed520(o.jarFileUris);
- checkLoggingConfig(o.loggingConfig);
- unittest.expect(o.mainClass, unittest.equals('foo'));
- unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
- checkUnnamed521(o.properties);
- }
- buildCounterHadoopJob--;
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed522() {
@@ -618,72 +474,76 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed523() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
+core.int buildCounterGceClusterConfig = 0;
+buildGceClusterConfig() {
+ var o = new api.GceClusterConfig();
+ buildCounterGceClusterConfig++;
+ if (buildCounterGceClusterConfig < 3) {
+ o.internalIpOnly = true;
+ o.metadata = buildUnnamed520();
+ o.networkUri = "foo";
+ o.serviceAccount = "foo";
+ o.serviceAccountScopes = buildUnnamed521();
+ o.subnetworkUri = "foo";
+ o.tags = buildUnnamed522();
+ o.zoneUri = "foo";
+ }
+ buildCounterGceClusterConfig--;
return o;
}
-checkUnnamed523(core.Map<core.String, core.String> o) {
+checkGceClusterConfig(api.GceClusterConfig o) {
+ buildCounterGceClusterConfig++;
+ if (buildCounterGceClusterConfig < 3) {
+ unittest.expect(o.internalIpOnly, unittest.isTrue);
+ checkUnnamed520(o.metadata);
+ unittest.expect(o.networkUri, unittest.equals('foo'));
+ unittest.expect(o.serviceAccount, unittest.equals('foo'));
+ checkUnnamed521(o.serviceAccountScopes);
+ unittest.expect(o.subnetworkUri, unittest.equals('foo'));
+ checkUnnamed522(o.tags);
+ unittest.expect(o.zoneUri, unittest.equals('foo'));
+ }
+ buildCounterGceClusterConfig--;
+}
+
+buildUnnamed523() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed523(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'));
}
buildUnnamed524() {
- 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;
}
-checkUnnamed524(core.Map<core.String, core.String> o) {
+checkUnnamed524(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 buildCounterHiveJob = 0;
-buildHiveJob() {
- var o = new api.HiveJob();
- buildCounterHiveJob++;
- if (buildCounterHiveJob < 3) {
- o.continueOnFailure = true;
- o.jarFileUris = buildUnnamed522();
- o.properties = buildUnnamed523();
- o.queryFileUri = "foo";
- o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed524();
- }
- buildCounterHiveJob--;
- return o;
-}
-
-checkHiveJob(api.HiveJob o) {
- buildCounterHiveJob++;
- if (buildCounterHiveJob < 3) {
- unittest.expect(o.continueOnFailure, unittest.isTrue);
- checkUnnamed522(o.jarFileUris);
- checkUnnamed523(o.properties);
- unittest.expect(o.queryFileUri, unittest.equals('foo'));
- checkQueryList(o.queryList);
- checkUnnamed524(o.scriptVariables);
- }
- buildCounterHiveJob--;
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed525() {
- var o = new core.List<api.AcceleratorConfig>();
- o.add(buildAcceleratorConfig());
- o.add(buildAcceleratorConfig());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed525(core.List<api.AcceleratorConfig> o) {
+checkUnnamed525(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkAcceleratorConfig(o[0]);
- checkAcceleratorConfig(o[1]);
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed526() {
@@ -699,39 +559,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterInstanceGroupConfig = 0;
-buildInstanceGroupConfig() {
- var o = new api.InstanceGroupConfig();
- buildCounterInstanceGroupConfig++;
- if (buildCounterInstanceGroupConfig < 3) {
- o.accelerators = buildUnnamed525();
- o.diskConfig = buildDiskConfig();
- o.imageUri = "foo";
- o.instanceNames = buildUnnamed526();
- o.isPreemptible = true;
- o.machineTypeUri = "foo";
- o.managedGroupConfig = buildManagedGroupConfig();
- o.numInstances = 42;
- }
- buildCounterInstanceGroupConfig--;
- return o;
-}
-
-checkInstanceGroupConfig(api.InstanceGroupConfig o) {
- buildCounterInstanceGroupConfig++;
- if (buildCounterInstanceGroupConfig < 3) {
- checkUnnamed525(o.accelerators);
- checkDiskConfig(o.diskConfig);
- unittest.expect(o.imageUri, unittest.equals('foo'));
- checkUnnamed526(o.instanceNames);
- unittest.expect(o.isPreemptible, unittest.isTrue);
- unittest.expect(o.machineTypeUri, unittest.equals('foo'));
- checkManagedGroupConfig(o.managedGroupConfig);
- unittest.expect(o.numInstances, unittest.equals(42));
- }
- buildCounterInstanceGroupConfig--;
-}
-
buildUnnamed527() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
@@ -745,27 +572,200 @@
unittest.expect(o["y"], unittest.equals('foo'));
}
+core.int buildCounterHadoopJob = 0;
+buildHadoopJob() {
+ var o = new api.HadoopJob();
+ buildCounterHadoopJob++;
+ if (buildCounterHadoopJob < 3) {
+ o.archiveUris = buildUnnamed523();
+ o.args = buildUnnamed524();
+ o.fileUris = buildUnnamed525();
+ o.jarFileUris = buildUnnamed526();
+ o.loggingConfig = buildLoggingConfig();
+ o.mainClass = "foo";
+ o.mainJarFileUri = "foo";
+ o.properties = buildUnnamed527();
+ }
+ buildCounterHadoopJob--;
+ return o;
+}
+
+checkHadoopJob(api.HadoopJob o) {
+ buildCounterHadoopJob++;
+ if (buildCounterHadoopJob < 3) {
+ checkUnnamed523(o.archiveUris);
+ checkUnnamed524(o.args);
+ checkUnnamed525(o.fileUris);
+ checkUnnamed526(o.jarFileUris);
+ checkLoggingConfig(o.loggingConfig);
+ unittest.expect(o.mainClass, unittest.equals('foo'));
+ unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
+ checkUnnamed527(o.properties);
+ }
+ buildCounterHadoopJob--;
+}
+
buildUnnamed528() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed528(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed529() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed529(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+buildUnnamed530() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed530(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+core.int buildCounterHiveJob = 0;
+buildHiveJob() {
+ var o = new api.HiveJob();
+ buildCounterHiveJob++;
+ if (buildCounterHiveJob < 3) {
+ o.continueOnFailure = true;
+ o.jarFileUris = buildUnnamed528();
+ o.properties = buildUnnamed529();
+ o.queryFileUri = "foo";
+ o.queryList = buildQueryList();
+ o.scriptVariables = buildUnnamed530();
+ }
+ buildCounterHiveJob--;
+ return o;
+}
+
+checkHiveJob(api.HiveJob o) {
+ buildCounterHiveJob++;
+ if (buildCounterHiveJob < 3) {
+ unittest.expect(o.continueOnFailure, unittest.isTrue);
+ checkUnnamed528(o.jarFileUris);
+ checkUnnamed529(o.properties);
+ unittest.expect(o.queryFileUri, unittest.equals('foo'));
+ checkQueryList(o.queryList);
+ checkUnnamed530(o.scriptVariables);
+ }
+ buildCounterHiveJob--;
+}
+
+buildUnnamed531() {
+ var o = new core.List<api.AcceleratorConfig>();
+ o.add(buildAcceleratorConfig());
+ o.add(buildAcceleratorConfig());
+ return o;
+}
+
+checkUnnamed531(core.List<api.AcceleratorConfig> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAcceleratorConfig(o[0]);
+ checkAcceleratorConfig(o[1]);
+}
+
+buildUnnamed532() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed532(core.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 buildCounterInstanceGroupConfig = 0;
+buildInstanceGroupConfig() {
+ var o = new api.InstanceGroupConfig();
+ buildCounterInstanceGroupConfig++;
+ if (buildCounterInstanceGroupConfig < 3) {
+ o.accelerators = buildUnnamed531();
+ o.diskConfig = buildDiskConfig();
+ o.imageUri = "foo";
+ o.instanceNames = buildUnnamed532();
+ o.isPreemptible = true;
+ o.machineTypeUri = "foo";
+ o.managedGroupConfig = buildManagedGroupConfig();
+ o.numInstances = 42;
+ }
+ buildCounterInstanceGroupConfig--;
+ return o;
+}
+
+checkInstanceGroupConfig(api.InstanceGroupConfig o) {
+ buildCounterInstanceGroupConfig++;
+ if (buildCounterInstanceGroupConfig < 3) {
+ checkUnnamed531(o.accelerators);
+ checkDiskConfig(o.diskConfig);
+ unittest.expect(o.imageUri, unittest.equals('foo'));
+ checkUnnamed532(o.instanceNames);
+ unittest.expect(o.isPreemptible, unittest.isTrue);
+ unittest.expect(o.machineTypeUri, unittest.equals('foo'));
+ checkManagedGroupConfig(o.managedGroupConfig);
+ unittest.expect(o.numInstances, unittest.equals(42));
+ }
+ buildCounterInstanceGroupConfig--;
+}
+
+buildUnnamed533() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed533(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+buildUnnamed534() {
var o = new core.List<api.JobStatus>();
o.add(buildJobStatus());
o.add(buildJobStatus());
return o;
}
-checkUnnamed528(core.List<api.JobStatus> o) {
+checkUnnamed534(core.List<api.JobStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobStatus(o[0]);
checkJobStatus(o[1]);
}
-buildUnnamed529() {
+buildUnnamed535() {
var o = new core.List<api.YarnApplication>();
o.add(buildYarnApplication());
o.add(buildYarnApplication());
return o;
}
-checkUnnamed529(core.List<api.YarnApplication> o) {
+checkUnnamed535(core.List<api.YarnApplication> o) {
unittest.expect(o, unittest.hasLength(2));
checkYarnApplication(o[0]);
checkYarnApplication(o[1]);
@@ -780,7 +780,7 @@
o.driverOutputResourceUri = "foo";
o.hadoopJob = buildHadoopJob();
o.hiveJob = buildHiveJob();
- o.labels = buildUnnamed527();
+ o.labels = buildUnnamed533();
o.pigJob = buildPigJob();
o.placement = buildJobPlacement();
o.pysparkJob = buildPySparkJob();
@@ -789,8 +789,8 @@
o.sparkJob = buildSparkJob();
o.sparkSqlJob = buildSparkSqlJob();
o.status = buildJobStatus();
- o.statusHistory = buildUnnamed528();
- o.yarnApplications = buildUnnamed529();
+ o.statusHistory = buildUnnamed534();
+ o.yarnApplications = buildUnnamed535();
}
buildCounterJob--;
return o;
@@ -803,7 +803,7 @@
unittest.expect(o.driverOutputResourceUri, unittest.equals('foo'));
checkHadoopJob(o.hadoopJob);
checkHiveJob(o.hiveJob);
- checkUnnamed527(o.labels);
+ checkUnnamed533(o.labels);
checkPigJob(o.pigJob);
checkJobPlacement(o.placement);
checkPySparkJob(o.pysparkJob);
@@ -812,8 +812,8 @@
checkSparkJob(o.sparkJob);
checkSparkSqlJob(o.sparkSqlJob);
checkJobStatus(o.status);
- checkUnnamed528(o.statusHistory);
- checkUnnamed529(o.yarnApplications);
+ checkUnnamed534(o.statusHistory);
+ checkUnnamed535(o.yarnApplications);
}
buildCounterJob--;
}
@@ -904,14 +904,14 @@
buildCounterJobStatus--;
}
-buildUnnamed530() {
+buildUnnamed536() {
var o = new core.List<api.Cluster>();
o.add(buildCluster());
o.add(buildCluster());
return o;
}
-checkUnnamed530(core.List<api.Cluster> o) {
+checkUnnamed536(core.List<api.Cluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkCluster(o[0]);
checkCluster(o[1]);
@@ -922,7 +922,7 @@
var o = new api.ListClustersResponse();
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- o.clusters = buildUnnamed530();
+ o.clusters = buildUnnamed536();
o.nextPageToken = "foo";
}
buildCounterListClustersResponse--;
@@ -932,20 +932,20 @@
checkListClustersResponse(api.ListClustersResponse o) {
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- checkUnnamed530(o.clusters);
+ checkUnnamed536(o.clusters);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListClustersResponse--;
}
-buildUnnamed531() {
+buildUnnamed537() {
var o = new core.List<api.Job>();
o.add(buildJob());
o.add(buildJob());
return o;
}
-checkUnnamed531(core.List<api.Job> o) {
+checkUnnamed537(core.List<api.Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkJob(o[0]);
checkJob(o[1]);
@@ -956,7 +956,7 @@
var o = new api.ListJobsResponse();
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- o.jobs = buildUnnamed531();
+ o.jobs = buildUnnamed537();
o.nextPageToken = "foo";
}
buildCounterListJobsResponse--;
@@ -966,20 +966,20 @@
checkListJobsResponse(api.ListJobsResponse o) {
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- checkUnnamed531(o.jobs);
+ checkUnnamed537(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListJobsResponse--;
}
-buildUnnamed532() {
+buildUnnamed538() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed532(core.List<api.Operation> o) {
+checkUnnamed538(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -991,7 +991,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed532();
+ o.operations = buildUnnamed538();
}
buildCounterListOperationsResponse--;
return o;
@@ -1001,19 +1001,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed532(o.operations);
+ checkUnnamed538(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed533() {
+buildUnnamed539() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed533(core.Map<core.String, core.String> o) {
+checkUnnamed539(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1024,7 +1024,7 @@
var o = new api.LoggingConfig();
buildCounterLoggingConfig++;
if (buildCounterLoggingConfig < 3) {
- o.driverLogLevels = buildUnnamed533();
+ o.driverLogLevels = buildUnnamed539();
}
buildCounterLoggingConfig--;
return o;
@@ -1033,7 +1033,7 @@
checkLoggingConfig(api.LoggingConfig o) {
buildCounterLoggingConfig++;
if (buildCounterLoggingConfig < 3) {
- checkUnnamed533(o.driverLogLevels);
+ checkUnnamed539(o.driverLogLevels);
}
buildCounterLoggingConfig--;
}
@@ -1080,27 +1080,27 @@
buildCounterNodeInitializationAction--;
}
-buildUnnamed534() {
+buildUnnamed540() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed534(core.Map<core.String, core.Object> o) {
+checkUnnamed540(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'));
}
-buildUnnamed535() {
+buildUnnamed541() {
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;
}
-checkUnnamed535(core.Map<core.String, core.Object> o) {
+checkUnnamed541(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'));
@@ -1113,9 +1113,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed534();
+ o.metadata = buildUnnamed540();
o.name = "foo";
- o.response = buildUnnamed535();
+ o.response = buildUnnamed541();
}
buildCounterOperation--;
return o;
@@ -1126,122 +1126,13 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed534(o.metadata);
+ checkUnnamed540(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed535(o.response);
+ checkUnnamed541(o.response);
}
buildCounterOperation--;
}
-buildUnnamed536() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-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.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed538(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
-core.int buildCounterPigJob = 0;
-buildPigJob() {
- var o = new api.PigJob();
- buildCounterPigJob++;
- if (buildCounterPigJob < 3) {
- o.continueOnFailure = true;
- o.jarFileUris = buildUnnamed536();
- o.loggingConfig = buildLoggingConfig();
- o.properties = buildUnnamed537();
- o.queryFileUri = "foo";
- o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed538();
- }
- buildCounterPigJob--;
- return o;
-}
-
-checkPigJob(api.PigJob o) {
- buildCounterPigJob++;
- if (buildCounterPigJob < 3) {
- unittest.expect(o.continueOnFailure, unittest.isTrue);
- checkUnnamed536(o.jarFileUris);
- checkLoggingConfig(o.loggingConfig);
- checkUnnamed537(o.properties);
- unittest.expect(o.queryFileUri, unittest.equals('foo'));
- checkQueryList(o.queryList);
- checkUnnamed538(o.scriptVariables);
- }
- buildCounterPigJob--;
-}
-
-buildUnnamed539() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed539(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed540() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed540(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed541() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
buildUnnamed542() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1269,49 +1160,47 @@
}
buildUnnamed544() {
- 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;
}
-checkUnnamed544(core.List<core.String> o) {
+checkUnnamed544(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'));
}
-core.int buildCounterPySparkJob = 0;
-buildPySparkJob() {
- var o = new api.PySparkJob();
- buildCounterPySparkJob++;
- if (buildCounterPySparkJob < 3) {
- o.archiveUris = buildUnnamed539();
- o.args = buildUnnamed540();
- o.fileUris = buildUnnamed541();
+core.int buildCounterPigJob = 0;
+buildPigJob() {
+ var o = new api.PigJob();
+ buildCounterPigJob++;
+ if (buildCounterPigJob < 3) {
+ o.continueOnFailure = true;
o.jarFileUris = buildUnnamed542();
o.loggingConfig = buildLoggingConfig();
- o.mainPythonFileUri = "foo";
o.properties = buildUnnamed543();
- o.pythonFileUris = buildUnnamed544();
+ o.queryFileUri = "foo";
+ o.queryList = buildQueryList();
+ o.scriptVariables = buildUnnamed544();
}
- buildCounterPySparkJob--;
+ buildCounterPigJob--;
return o;
}
-checkPySparkJob(api.PySparkJob o) {
- buildCounterPySparkJob++;
- if (buildCounterPySparkJob < 3) {
- checkUnnamed539(o.archiveUris);
- checkUnnamed540(o.args);
- checkUnnamed541(o.fileUris);
+checkPigJob(api.PigJob o) {
+ buildCounterPigJob++;
+ if (buildCounterPigJob < 3) {
+ unittest.expect(o.continueOnFailure, unittest.isTrue);
checkUnnamed542(o.jarFileUris);
checkLoggingConfig(o.loggingConfig);
- unittest.expect(o.mainPythonFileUri, unittest.equals('foo'));
checkUnnamed543(o.properties);
- checkUnnamed544(o.pythonFileUris);
+ unittest.expect(o.queryFileUri, unittest.equals('foo'));
+ checkQueryList(o.queryList);
+ checkUnnamed544(o.scriptVariables);
}
- buildCounterPySparkJob--;
+ buildCounterPigJob--;
}
buildUnnamed545() {
@@ -1327,57 +1216,17 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterQueryList = 0;
-buildQueryList() {
- var o = new api.QueryList();
- buildCounterQueryList++;
- if (buildCounterQueryList < 3) {
- o.queries = buildUnnamed545();
- }
- buildCounterQueryList--;
- return o;
-}
-
-checkQueryList(api.QueryList o) {
- buildCounterQueryList++;
- if (buildCounterQueryList < 3) {
- checkUnnamed545(o.queries);
- }
- buildCounterQueryList--;
-}
-
buildUnnamed546() {
- 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;
}
-checkUnnamed546(core.Map<core.String, core.String> o) {
+checkUnnamed546(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 = buildUnnamed546();
- }
- buildCounterSoftwareConfig--;
- return o;
-}
-
-checkSoftwareConfig(api.SoftwareConfig o) {
- buildCounterSoftwareConfig++;
- if (buildCounterSoftwareConfig < 3) {
- unittest.expect(o.imageVersion, unittest.equals('foo'));
- checkUnnamed546(o.properties);
- }
- buildCounterSoftwareConfig--;
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed547() {
@@ -1407,16 +1256,16 @@
}
buildUnnamed549() {
- 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;
}
-checkUnnamed549(core.List<core.String> o) {
+checkUnnamed549(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'));
}
buildUnnamed550() {
@@ -1432,14 +1281,165 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterPySparkJob = 0;
+buildPySparkJob() {
+ var o = new api.PySparkJob();
+ buildCounterPySparkJob++;
+ if (buildCounterPySparkJob < 3) {
+ o.archiveUris = buildUnnamed545();
+ o.args = buildUnnamed546();
+ o.fileUris = buildUnnamed547();
+ o.jarFileUris = buildUnnamed548();
+ o.loggingConfig = buildLoggingConfig();
+ o.mainPythonFileUri = "foo";
+ o.properties = buildUnnamed549();
+ o.pythonFileUris = buildUnnamed550();
+ }
+ buildCounterPySparkJob--;
+ return o;
+}
+
+checkPySparkJob(api.PySparkJob o) {
+ buildCounterPySparkJob++;
+ if (buildCounterPySparkJob < 3) {
+ checkUnnamed545(o.archiveUris);
+ checkUnnamed546(o.args);
+ checkUnnamed547(o.fileUris);
+ checkUnnamed548(o.jarFileUris);
+ checkLoggingConfig(o.loggingConfig);
+ unittest.expect(o.mainPythonFileUri, unittest.equals('foo'));
+ checkUnnamed549(o.properties);
+ checkUnnamed550(o.pythonFileUris);
+ }
+ buildCounterPySparkJob--;
+}
+
buildUnnamed551() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed551(core.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 buildCounterQueryList = 0;
+buildQueryList() {
+ var o = new api.QueryList();
+ buildCounterQueryList++;
+ if (buildCounterQueryList < 3) {
+ o.queries = buildUnnamed551();
+ }
+ buildCounterQueryList--;
+ return o;
+}
+
+checkQueryList(api.QueryList o) {
+ buildCounterQueryList++;
+ if (buildCounterQueryList < 3) {
+ checkUnnamed551(o.queries);
+ }
+ buildCounterQueryList--;
+}
+
+buildUnnamed552() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed551(core.Map<core.String, core.String> o) {
+checkUnnamed552(core.Map<core.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 buildCounterSoftwareConfig = 0;
+buildSoftwareConfig() {
+ var o = new api.SoftwareConfig();
+ buildCounterSoftwareConfig++;
+ if (buildCounterSoftwareConfig < 3) {
+ o.imageVersion = "foo";
+ o.properties = buildUnnamed552();
+ }
+ buildCounterSoftwareConfig--;
+ return o;
+}
+
+checkSoftwareConfig(api.SoftwareConfig o) {
+ buildCounterSoftwareConfig++;
+ if (buildCounterSoftwareConfig < 3) {
+ unittest.expect(o.imageVersion, unittest.equals('foo'));
+ checkUnnamed552(o.properties);
+ }
+ buildCounterSoftwareConfig--;
+}
+
+buildUnnamed553() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed553(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+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;
+}
+
+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'));
@@ -1450,14 +1450,14 @@
var o = new api.SparkJob();
buildCounterSparkJob++;
if (buildCounterSparkJob < 3) {
- o.archiveUris = buildUnnamed547();
- o.args = buildUnnamed548();
- o.fileUris = buildUnnamed549();
- o.jarFileUris = buildUnnamed550();
+ o.archiveUris = buildUnnamed553();
+ o.args = buildUnnamed554();
+ o.fileUris = buildUnnamed555();
+ o.jarFileUris = buildUnnamed556();
o.loggingConfig = buildLoggingConfig();
o.mainClass = "foo";
o.mainJarFileUri = "foo";
- o.properties = buildUnnamed551();
+ o.properties = buildUnnamed557();
}
buildCounterSparkJob--;
return o;
@@ -1466,52 +1466,52 @@
checkSparkJob(api.SparkJob o) {
buildCounterSparkJob++;
if (buildCounterSparkJob < 3) {
- checkUnnamed547(o.archiveUris);
- checkUnnamed548(o.args);
- checkUnnamed549(o.fileUris);
- checkUnnamed550(o.jarFileUris);
+ 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'));
- checkUnnamed551(o.properties);
+ checkUnnamed557(o.properties);
}
buildCounterSparkJob--;
}
-buildUnnamed552() {
+buildUnnamed558() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed552(core.List<core.String> 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'));
}
-buildUnnamed553() {
+buildUnnamed559() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed553(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'));
}
-buildUnnamed554() {
+buildUnnamed560() {
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) {
+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'));
@@ -1522,12 +1522,12 @@
var o = new api.SparkSqlJob();
buildCounterSparkSqlJob++;
if (buildCounterSparkSqlJob < 3) {
- o.jarFileUris = buildUnnamed552();
+ o.jarFileUris = buildUnnamed558();
o.loggingConfig = buildLoggingConfig();
- o.properties = buildUnnamed553();
+ o.properties = buildUnnamed559();
o.queryFileUri = "foo";
o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed554();
+ o.scriptVariables = buildUnnamed560();
}
buildCounterSparkSqlJob--;
return o;
@@ -1536,40 +1536,40 @@
checkSparkSqlJob(api.SparkSqlJob o) {
buildCounterSparkSqlJob++;
if (buildCounterSparkSqlJob < 3) {
- checkUnnamed552(o.jarFileUris);
+ checkUnnamed558(o.jarFileUris);
checkLoggingConfig(o.loggingConfig);
- checkUnnamed553(o.properties);
+ checkUnnamed559(o.properties);
unittest.expect(o.queryFileUri, unittest.equals('foo'));
checkQueryList(o.queryList);
- checkUnnamed554(o.scriptVariables);
+ checkUnnamed560(o.scriptVariables);
}
buildCounterSparkSqlJob--;
}
-buildUnnamed555() {
+buildUnnamed561() {
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;
}
-checkUnnamed555(core.Map<core.String, core.Object> o) {
+checkUnnamed561(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'));
}
-buildUnnamed556() {
+buildUnnamed562() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed555());
- o.add(buildUnnamed555());
+ o.add(buildUnnamed561());
+ o.add(buildUnnamed561());
return o;
}
-checkUnnamed556(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed562(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed555(o[0]);
- checkUnnamed555(o[1]);
+ checkUnnamed561(o[0]);
+ checkUnnamed561(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1578,7 +1578,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed556();
+ o.details = buildUnnamed562();
o.message = "foo";
}
buildCounterStatus--;
@@ -1589,7 +1589,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed556(o.details);
+ checkUnnamed562(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2241,9 +2241,9 @@
api.ProjectsRegionsClustersResourceApi res = new api.DataprocApi(mock).projects.regions.clusters;
var arg_projectId = "foo";
var arg_region = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_filter = "foo";
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2284,9 +2284,9 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -2295,7 +2295,7 @@
var resp = convert.JSON.encode(buildListClustersResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, arg_region, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListClustersResponse response) {
+ res.list(arg_projectId, arg_region, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListClustersResponse response) {
checkListClustersResponse(response);
})));
});
@@ -2576,11 +2576,11 @@
api.ProjectsRegionsJobsResourceApi res = new api.DataprocApi(mock).projects.regions.jobs;
var arg_projectId = "foo";
var arg_region = "foo";
- var arg_pageSize = 42;
- var arg_clusterName = "foo";
var arg_filter = "foo";
var arg_jobStateMatcher = "foo";
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_clusterName = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2621,11 +2621,11 @@
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["clusterName"].first, unittest.equals(arg_clusterName));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["jobStateMatcher"].first, unittest.equals(arg_jobStateMatcher));
unittest.expect(queryMap["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));
var h = {
@@ -2634,7 +2634,7 @@
var resp = convert.JSON.encode(buildListJobsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, arg_region, pageSize: arg_pageSize, clusterName: arg_clusterName, filter: arg_filter, jobStateMatcher: arg_jobStateMatcher, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListJobsResponse response) {
+ res.list(arg_projectId, arg_region, filter: arg_filter, jobStateMatcher: arg_jobStateMatcher, pageToken: arg_pageToken, pageSize: arg_pageSize, clusterName: arg_clusterName).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 2f50ec5..8755ef8 100644
--- a/generated/googleapis/test/datastore/v1_test.dart
+++ b/generated/googleapis/test/datastore/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed625() {
+buildUnnamed631() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed625(core.List<api.Key> o) {
+checkUnnamed631(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -69,7 +69,7 @@
var o = new api.AllocateIdsRequest();
buildCounterAllocateIdsRequest++;
if (buildCounterAllocateIdsRequest < 3) {
- o.keys = buildUnnamed625();
+ o.keys = buildUnnamed631();
}
buildCounterAllocateIdsRequest--;
return o;
@@ -78,19 +78,19 @@
checkAllocateIdsRequest(api.AllocateIdsRequest o) {
buildCounterAllocateIdsRequest++;
if (buildCounterAllocateIdsRequest < 3) {
- checkUnnamed625(o.keys);
+ checkUnnamed631(o.keys);
}
buildCounterAllocateIdsRequest--;
}
-buildUnnamed626() {
+buildUnnamed632() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed626(core.List<api.Key> o) {
+checkUnnamed632(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -101,7 +101,7 @@
var o = new api.AllocateIdsResponse();
buildCounterAllocateIdsResponse++;
if (buildCounterAllocateIdsResponse < 3) {
- o.keys = buildUnnamed626();
+ o.keys = buildUnnamed632();
}
buildCounterAllocateIdsResponse--;
return o;
@@ -110,19 +110,19 @@
checkAllocateIdsResponse(api.AllocateIdsResponse o) {
buildCounterAllocateIdsResponse++;
if (buildCounterAllocateIdsResponse < 3) {
- checkUnnamed626(o.keys);
+ checkUnnamed632(o.keys);
}
buildCounterAllocateIdsResponse--;
}
-buildUnnamed627() {
+buildUnnamed633() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed627(core.List<api.Value> o) {
+checkUnnamed633(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -133,7 +133,7 @@
var o = new api.ArrayValue();
buildCounterArrayValue++;
if (buildCounterArrayValue < 3) {
- o.values = buildUnnamed627();
+ o.values = buildUnnamed633();
}
buildCounterArrayValue--;
return o;
@@ -142,7 +142,7 @@
checkArrayValue(api.ArrayValue o) {
buildCounterArrayValue++;
if (buildCounterArrayValue < 3) {
- checkUnnamed627(o.values);
+ checkUnnamed633(o.values);
}
buildCounterArrayValue--;
}
@@ -152,6 +152,7 @@
var o = new api.BeginTransactionRequest();
buildCounterBeginTransactionRequest++;
if (buildCounterBeginTransactionRequest < 3) {
+ o.transactionOptions = buildTransactionOptions();
}
buildCounterBeginTransactionRequest--;
return o;
@@ -160,6 +161,7 @@
checkBeginTransactionRequest(api.BeginTransactionRequest o) {
buildCounterBeginTransactionRequest++;
if (buildCounterBeginTransactionRequest < 3) {
+ checkTransactionOptions(o.transactionOptions);
}
buildCounterBeginTransactionRequest--;
}
@@ -183,14 +185,14 @@
buildCounterBeginTransactionResponse--;
}
-buildUnnamed628() {
+buildUnnamed634() {
var o = new core.List<api.Mutation>();
o.add(buildMutation());
o.add(buildMutation());
return o;
}
-checkUnnamed628(core.List<api.Mutation> o) {
+checkUnnamed634(core.List<api.Mutation> o) {
unittest.expect(o, unittest.hasLength(2));
checkMutation(o[0]);
checkMutation(o[1]);
@@ -202,7 +204,7 @@
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
o.mode = "foo";
- o.mutations = buildUnnamed628();
+ o.mutations = buildUnnamed634();
o.transaction = "foo";
}
buildCounterCommitRequest--;
@@ -213,20 +215,20 @@
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
unittest.expect(o.mode, unittest.equals('foo'));
- checkUnnamed628(o.mutations);
+ checkUnnamed634(o.mutations);
unittest.expect(o.transaction, unittest.equals('foo'));
}
buildCounterCommitRequest--;
}
-buildUnnamed629() {
+buildUnnamed635() {
var o = new core.List<api.MutationResult>();
o.add(buildMutationResult());
o.add(buildMutationResult());
return o;
}
-checkUnnamed629(core.List<api.MutationResult> o) {
+checkUnnamed635(core.List<api.MutationResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkMutationResult(o[0]);
checkMutationResult(o[1]);
@@ -238,7 +240,7 @@
buildCounterCommitResponse++;
if (buildCounterCommitResponse < 3) {
o.indexUpdates = 42;
- o.mutationResults = buildUnnamed629();
+ o.mutationResults = buildUnnamed635();
}
buildCounterCommitResponse--;
return o;
@@ -248,19 +250,19 @@
buildCounterCommitResponse++;
if (buildCounterCommitResponse < 3) {
unittest.expect(o.indexUpdates, unittest.equals(42));
- checkUnnamed629(o.mutationResults);
+ checkUnnamed635(o.mutationResults);
}
buildCounterCommitResponse--;
}
-buildUnnamed630() {
+buildUnnamed636() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed630(core.List<api.Filter> o) {
+checkUnnamed636(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -271,7 +273,7 @@
var o = new api.CompositeFilter();
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- o.filters = buildUnnamed630();
+ o.filters = buildUnnamed636();
o.op = "foo";
}
buildCounterCompositeFilter--;
@@ -281,20 +283,37 @@
checkCompositeFilter(api.CompositeFilter o) {
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- checkUnnamed630(o.filters);
+ checkUnnamed636(o.filters);
unittest.expect(o.op, unittest.equals('foo'));
}
buildCounterCompositeFilter--;
}
-buildUnnamed631() {
+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--;
+}
+
+buildUnnamed637() {
var o = new core.Map<core.String, api.Value>();
o["x"] = buildValue();
o["y"] = buildValue();
return o;
}
-checkUnnamed631(core.Map<core.String, api.Value> o) {
+checkUnnamed637(core.Map<core.String, api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o["x"]);
checkValue(o["y"]);
@@ -306,7 +325,7 @@
buildCounterEntity++;
if (buildCounterEntity < 3) {
o.key = buildKey();
- o.properties = buildUnnamed631();
+ o.properties = buildUnnamed637();
}
buildCounterEntity--;
return o;
@@ -316,7 +335,7 @@
buildCounterEntity++;
if (buildCounterEntity < 3) {
checkKey(o.key);
- checkUnnamed631(o.properties);
+ checkUnnamed637(o.properties);
}
buildCounterEntity--;
}
@@ -365,27 +384,295 @@
buildCounterFilter--;
}
-buildUnnamed632() {
+buildUnnamed638() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed638(core.Map<core.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 buildCounterGoogleDatastoreAdminV1beta1CommonMetadata = 0;
+buildGoogleDatastoreAdminV1beta1CommonMetadata() {
+ var o = new api.GoogleDatastoreAdminV1beta1CommonMetadata();
+ buildCounterGoogleDatastoreAdminV1beta1CommonMetadata++;
+ if (buildCounterGoogleDatastoreAdminV1beta1CommonMetadata < 3) {
+ o.endTime = "foo";
+ o.labels = buildUnnamed638();
+ o.operationType = "foo";
+ o.startTime = "foo";
+ o.state = "foo";
+ }
+ buildCounterGoogleDatastoreAdminV1beta1CommonMetadata--;
+ return o;
+}
+
+checkGoogleDatastoreAdminV1beta1CommonMetadata(api.GoogleDatastoreAdminV1beta1CommonMetadata o) {
+ buildCounterGoogleDatastoreAdminV1beta1CommonMetadata++;
+ if (buildCounterGoogleDatastoreAdminV1beta1CommonMetadata < 3) {
+ unittest.expect(o.endTime, unittest.equals('foo'));
+ checkUnnamed638(o.labels);
+ unittest.expect(o.operationType, unittest.equals('foo'));
+ unittest.expect(o.startTime, unittest.equals('foo'));
+ unittest.expect(o.state, unittest.equals('foo'));
+ }
+ buildCounterGoogleDatastoreAdminV1beta1CommonMetadata--;
+}
+
+buildUnnamed639() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed639(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed640() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed640(core.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 buildCounterGoogleDatastoreAdminV1beta1EntityFilter = 0;
+buildGoogleDatastoreAdminV1beta1EntityFilter() {
+ var o = new api.GoogleDatastoreAdminV1beta1EntityFilter();
+ buildCounterGoogleDatastoreAdminV1beta1EntityFilter++;
+ if (buildCounterGoogleDatastoreAdminV1beta1EntityFilter < 3) {
+ o.kinds = buildUnnamed639();
+ o.namespaceIds = buildUnnamed640();
+ }
+ buildCounterGoogleDatastoreAdminV1beta1EntityFilter--;
+ return o;
+}
+
+checkGoogleDatastoreAdminV1beta1EntityFilter(api.GoogleDatastoreAdminV1beta1EntityFilter o) {
+ buildCounterGoogleDatastoreAdminV1beta1EntityFilter++;
+ if (buildCounterGoogleDatastoreAdminV1beta1EntityFilter < 3) {
+ checkUnnamed639(o.kinds);
+ checkUnnamed640(o.namespaceIds);
+ }
+ buildCounterGoogleDatastoreAdminV1beta1EntityFilter--;
+}
+
+core.int buildCounterGoogleDatastoreAdminV1beta1ExportEntitiesMetadata = 0;
+buildGoogleDatastoreAdminV1beta1ExportEntitiesMetadata() {
+ var o = new api.GoogleDatastoreAdminV1beta1ExportEntitiesMetadata();
+ buildCounterGoogleDatastoreAdminV1beta1ExportEntitiesMetadata++;
+ if (buildCounterGoogleDatastoreAdminV1beta1ExportEntitiesMetadata < 3) {
+ o.common = buildGoogleDatastoreAdminV1beta1CommonMetadata();
+ o.entityFilter = buildGoogleDatastoreAdminV1beta1EntityFilter();
+ o.outputUrlPrefix = "foo";
+ o.progressBytes = buildGoogleDatastoreAdminV1beta1Progress();
+ o.progressEntities = buildGoogleDatastoreAdminV1beta1Progress();
+ }
+ buildCounterGoogleDatastoreAdminV1beta1ExportEntitiesMetadata--;
+ return o;
+}
+
+checkGoogleDatastoreAdminV1beta1ExportEntitiesMetadata(api.GoogleDatastoreAdminV1beta1ExportEntitiesMetadata o) {
+ buildCounterGoogleDatastoreAdminV1beta1ExportEntitiesMetadata++;
+ if (buildCounterGoogleDatastoreAdminV1beta1ExportEntitiesMetadata < 3) {
+ checkGoogleDatastoreAdminV1beta1CommonMetadata(o.common);
+ checkGoogleDatastoreAdminV1beta1EntityFilter(o.entityFilter);
+ unittest.expect(o.outputUrlPrefix, unittest.equals('foo'));
+ checkGoogleDatastoreAdminV1beta1Progress(o.progressBytes);
+ checkGoogleDatastoreAdminV1beta1Progress(o.progressEntities);
+ }
+ buildCounterGoogleDatastoreAdminV1beta1ExportEntitiesMetadata--;
+}
+
+core.int buildCounterGoogleDatastoreAdminV1beta1ExportEntitiesResponse = 0;
+buildGoogleDatastoreAdminV1beta1ExportEntitiesResponse() {
+ var o = new api.GoogleDatastoreAdminV1beta1ExportEntitiesResponse();
+ buildCounterGoogleDatastoreAdminV1beta1ExportEntitiesResponse++;
+ if (buildCounterGoogleDatastoreAdminV1beta1ExportEntitiesResponse < 3) {
+ o.outputUrl = "foo";
+ }
+ buildCounterGoogleDatastoreAdminV1beta1ExportEntitiesResponse--;
+ return o;
+}
+
+checkGoogleDatastoreAdminV1beta1ExportEntitiesResponse(api.GoogleDatastoreAdminV1beta1ExportEntitiesResponse o) {
+ buildCounterGoogleDatastoreAdminV1beta1ExportEntitiesResponse++;
+ if (buildCounterGoogleDatastoreAdminV1beta1ExportEntitiesResponse < 3) {
+ unittest.expect(o.outputUrl, unittest.equals('foo'));
+ }
+ buildCounterGoogleDatastoreAdminV1beta1ExportEntitiesResponse--;
+}
+
+core.int buildCounterGoogleDatastoreAdminV1beta1ImportEntitiesMetadata = 0;
+buildGoogleDatastoreAdminV1beta1ImportEntitiesMetadata() {
+ var o = new api.GoogleDatastoreAdminV1beta1ImportEntitiesMetadata();
+ buildCounterGoogleDatastoreAdminV1beta1ImportEntitiesMetadata++;
+ if (buildCounterGoogleDatastoreAdminV1beta1ImportEntitiesMetadata < 3) {
+ o.common = buildGoogleDatastoreAdminV1beta1CommonMetadata();
+ o.entityFilter = buildGoogleDatastoreAdminV1beta1EntityFilter();
+ o.inputUrl = "foo";
+ o.progressBytes = buildGoogleDatastoreAdminV1beta1Progress();
+ o.progressEntities = buildGoogleDatastoreAdminV1beta1Progress();
+ }
+ buildCounterGoogleDatastoreAdminV1beta1ImportEntitiesMetadata--;
+ return o;
+}
+
+checkGoogleDatastoreAdminV1beta1ImportEntitiesMetadata(api.GoogleDatastoreAdminV1beta1ImportEntitiesMetadata o) {
+ buildCounterGoogleDatastoreAdminV1beta1ImportEntitiesMetadata++;
+ if (buildCounterGoogleDatastoreAdminV1beta1ImportEntitiesMetadata < 3) {
+ checkGoogleDatastoreAdminV1beta1CommonMetadata(o.common);
+ checkGoogleDatastoreAdminV1beta1EntityFilter(o.entityFilter);
+ unittest.expect(o.inputUrl, unittest.equals('foo'));
+ checkGoogleDatastoreAdminV1beta1Progress(o.progressBytes);
+ checkGoogleDatastoreAdminV1beta1Progress(o.progressEntities);
+ }
+ buildCounterGoogleDatastoreAdminV1beta1ImportEntitiesMetadata--;
+}
+
+core.int buildCounterGoogleDatastoreAdminV1beta1Progress = 0;
+buildGoogleDatastoreAdminV1beta1Progress() {
+ var o = new api.GoogleDatastoreAdminV1beta1Progress();
+ buildCounterGoogleDatastoreAdminV1beta1Progress++;
+ if (buildCounterGoogleDatastoreAdminV1beta1Progress < 3) {
+ o.workCompleted = "foo";
+ o.workEstimated = "foo";
+ }
+ buildCounterGoogleDatastoreAdminV1beta1Progress--;
+ return o;
+}
+
+checkGoogleDatastoreAdminV1beta1Progress(api.GoogleDatastoreAdminV1beta1Progress o) {
+ buildCounterGoogleDatastoreAdminV1beta1Progress++;
+ if (buildCounterGoogleDatastoreAdminV1beta1Progress < 3) {
+ unittest.expect(o.workCompleted, unittest.equals('foo'));
+ unittest.expect(o.workEstimated, unittest.equals('foo'));
+ }
+ buildCounterGoogleDatastoreAdminV1beta1Progress--;
+}
+
+buildUnnamed641() {
+ var o = new core.List<api.GoogleLongrunningOperation>();
+ o.add(buildGoogleLongrunningOperation());
+ o.add(buildGoogleLongrunningOperation());
+ return o;
+}
+
+checkUnnamed641(core.List<api.GoogleLongrunningOperation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleLongrunningOperation(o[0]);
+ checkGoogleLongrunningOperation(o[1]);
+}
+
+core.int buildCounterGoogleLongrunningListOperationsResponse = 0;
+buildGoogleLongrunningListOperationsResponse() {
+ var o = new api.GoogleLongrunningListOperationsResponse();
+ buildCounterGoogleLongrunningListOperationsResponse++;
+ if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.operations = buildUnnamed641();
+ }
+ buildCounterGoogleLongrunningListOperationsResponse--;
+ return o;
+}
+
+checkGoogleLongrunningListOperationsResponse(api.GoogleLongrunningListOperationsResponse o) {
+ buildCounterGoogleLongrunningListOperationsResponse++;
+ if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed641(o.operations);
+ }
+ buildCounterGoogleLongrunningListOperationsResponse--;
+}
+
+buildUnnamed642() {
+ 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;
+}
+
+checkUnnamed642(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'));
+}
+
+buildUnnamed643() {
+ 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;
+}
+
+checkUnnamed643(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 buildCounterGoogleLongrunningOperation = 0;
+buildGoogleLongrunningOperation() {
+ var o = new api.GoogleLongrunningOperation();
+ buildCounterGoogleLongrunningOperation++;
+ if (buildCounterGoogleLongrunningOperation < 3) {
+ o.done = true;
+ o.error = buildStatus();
+ o.metadata = buildUnnamed642();
+ o.name = "foo";
+ o.response = buildUnnamed643();
+ }
+ buildCounterGoogleLongrunningOperation--;
+ return o;
+}
+
+checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) {
+ buildCounterGoogleLongrunningOperation++;
+ if (buildCounterGoogleLongrunningOperation < 3) {
+ unittest.expect(o.done, unittest.isTrue);
+ checkStatus(o.error);
+ checkUnnamed642(o.metadata);
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed643(o.response);
+ }
+ buildCounterGoogleLongrunningOperation--;
+}
+
+buildUnnamed644() {
var o = new core.Map<core.String, api.GqlQueryParameter>();
o["x"] = buildGqlQueryParameter();
o["y"] = buildGqlQueryParameter();
return o;
}
-checkUnnamed632(core.Map<core.String, api.GqlQueryParameter> o) {
+checkUnnamed644(core.Map<core.String, api.GqlQueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkGqlQueryParameter(o["x"]);
checkGqlQueryParameter(o["y"]);
}
-buildUnnamed633() {
+buildUnnamed645() {
var o = new core.List<api.GqlQueryParameter>();
o.add(buildGqlQueryParameter());
o.add(buildGqlQueryParameter());
return o;
}
-checkUnnamed633(core.List<api.GqlQueryParameter> o) {
+checkUnnamed645(core.List<api.GqlQueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkGqlQueryParameter(o[0]);
checkGqlQueryParameter(o[1]);
@@ -397,8 +684,8 @@
buildCounterGqlQuery++;
if (buildCounterGqlQuery < 3) {
o.allowLiterals = true;
- o.namedBindings = buildUnnamed632();
- o.positionalBindings = buildUnnamed633();
+ o.namedBindings = buildUnnamed644();
+ o.positionalBindings = buildUnnamed645();
o.queryString = "foo";
}
buildCounterGqlQuery--;
@@ -409,8 +696,8 @@
buildCounterGqlQuery++;
if (buildCounterGqlQuery < 3) {
unittest.expect(o.allowLiterals, unittest.isTrue);
- checkUnnamed632(o.namedBindings);
- checkUnnamed633(o.positionalBindings);
+ checkUnnamed644(o.namedBindings);
+ checkUnnamed645(o.positionalBindings);
unittest.expect(o.queryString, unittest.equals('foo'));
}
buildCounterGqlQuery--;
@@ -437,14 +724,14 @@
buildCounterGqlQueryParameter--;
}
-buildUnnamed634() {
+buildUnnamed646() {
var o = new core.List<api.PathElement>();
o.add(buildPathElement());
o.add(buildPathElement());
return o;
}
-checkUnnamed634(core.List<api.PathElement> o) {
+checkUnnamed646(core.List<api.PathElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathElement(o[0]);
checkPathElement(o[1]);
@@ -456,7 +743,7 @@
buildCounterKey++;
if (buildCounterKey < 3) {
o.partitionId = buildPartitionId();
- o.path = buildUnnamed634();
+ o.path = buildUnnamed646();
}
buildCounterKey--;
return o;
@@ -466,7 +753,7 @@
buildCounterKey++;
if (buildCounterKey < 3) {
checkPartitionId(o.partitionId);
- checkUnnamed634(o.path);
+ checkUnnamed646(o.path);
}
buildCounterKey--;
}
@@ -511,14 +798,14 @@
buildCounterLatLng--;
}
-buildUnnamed635() {
+buildUnnamed647() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed635(core.List<api.Key> o) {
+checkUnnamed647(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -529,7 +816,7 @@
var o = new api.LookupRequest();
buildCounterLookupRequest++;
if (buildCounterLookupRequest < 3) {
- o.keys = buildUnnamed635();
+ o.keys = buildUnnamed647();
o.readOptions = buildReadOptions();
}
buildCounterLookupRequest--;
@@ -539,46 +826,46 @@
checkLookupRequest(api.LookupRequest o) {
buildCounterLookupRequest++;
if (buildCounterLookupRequest < 3) {
- checkUnnamed635(o.keys);
+ checkUnnamed647(o.keys);
checkReadOptions(o.readOptions);
}
buildCounterLookupRequest--;
}
-buildUnnamed636() {
+buildUnnamed648() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed636(core.List<api.Key> o) {
+checkUnnamed648(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
}
-buildUnnamed637() {
+buildUnnamed649() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed637(core.List<api.EntityResult> o) {
+checkUnnamed649(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
}
-buildUnnamed638() {
+buildUnnamed650() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed638(core.List<api.EntityResult> o) {
+checkUnnamed650(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
@@ -589,9 +876,9 @@
var o = new api.LookupResponse();
buildCounterLookupResponse++;
if (buildCounterLookupResponse < 3) {
- o.deferred = buildUnnamed636();
- o.found = buildUnnamed637();
- o.missing = buildUnnamed638();
+ o.deferred = buildUnnamed648();
+ o.found = buildUnnamed649();
+ o.missing = buildUnnamed650();
}
buildCounterLookupResponse--;
return o;
@@ -600,9 +887,9 @@
checkLookupResponse(api.LookupResponse o) {
buildCounterLookupResponse++;
if (buildCounterLookupResponse < 3) {
- checkUnnamed636(o.deferred);
- checkUnnamed637(o.found);
- checkUnnamed638(o.missing);
+ checkUnnamed648(o.deferred);
+ checkUnnamed649(o.found);
+ checkUnnamed650(o.missing);
}
buildCounterLookupResponse--;
}
@@ -783,53 +1070,53 @@
buildCounterPropertyReference--;
}
-buildUnnamed639() {
+buildUnnamed651() {
var o = new core.List<api.PropertyReference>();
o.add(buildPropertyReference());
o.add(buildPropertyReference());
return o;
}
-checkUnnamed639(core.List<api.PropertyReference> o) {
+checkUnnamed651(core.List<api.PropertyReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyReference(o[0]);
checkPropertyReference(o[1]);
}
-buildUnnamed640() {
+buildUnnamed652() {
var o = new core.List<api.KindExpression>();
o.add(buildKindExpression());
o.add(buildKindExpression());
return o;
}
-checkUnnamed640(core.List<api.KindExpression> o) {
+checkUnnamed652(core.List<api.KindExpression> o) {
unittest.expect(o, unittest.hasLength(2));
checkKindExpression(o[0]);
checkKindExpression(o[1]);
}
-buildUnnamed641() {
+buildUnnamed653() {
var o = new core.List<api.PropertyOrder>();
o.add(buildPropertyOrder());
o.add(buildPropertyOrder());
return o;
}
-checkUnnamed641(core.List<api.PropertyOrder> o) {
+checkUnnamed653(core.List<api.PropertyOrder> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyOrder(o[0]);
checkPropertyOrder(o[1]);
}
-buildUnnamed642() {
+buildUnnamed654() {
var o = new core.List<api.Projection>();
o.add(buildProjection());
o.add(buildProjection());
return o;
}
-checkUnnamed642(core.List<api.Projection> o) {
+checkUnnamed654(core.List<api.Projection> o) {
unittest.expect(o, unittest.hasLength(2));
checkProjection(o[0]);
checkProjection(o[1]);
@@ -840,14 +1127,14 @@
var o = new api.Query();
buildCounterQuery++;
if (buildCounterQuery < 3) {
- o.distinctOn = buildUnnamed639();
+ o.distinctOn = buildUnnamed651();
o.endCursor = "foo";
o.filter = buildFilter();
- o.kind = buildUnnamed640();
+ o.kind = buildUnnamed652();
o.limit = 42;
o.offset = 42;
- o.order = buildUnnamed641();
- o.projection = buildUnnamed642();
+ o.order = buildUnnamed653();
+ o.projection = buildUnnamed654();
o.startCursor = "foo";
}
buildCounterQuery--;
@@ -857,27 +1144,27 @@
checkQuery(api.Query o) {
buildCounterQuery++;
if (buildCounterQuery < 3) {
- checkUnnamed639(o.distinctOn);
+ checkUnnamed651(o.distinctOn);
unittest.expect(o.endCursor, unittest.equals('foo'));
checkFilter(o.filter);
- checkUnnamed640(o.kind);
+ checkUnnamed652(o.kind);
unittest.expect(o.limit, unittest.equals(42));
unittest.expect(o.offset, unittest.equals(42));
- checkUnnamed641(o.order);
- checkUnnamed642(o.projection);
+ checkUnnamed653(o.order);
+ checkUnnamed654(o.projection);
unittest.expect(o.startCursor, unittest.equals('foo'));
}
buildCounterQuery--;
}
-buildUnnamed643() {
+buildUnnamed655() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed643(core.List<api.EntityResult> o) {
+checkUnnamed655(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
@@ -890,7 +1177,7 @@
if (buildCounterQueryResultBatch < 3) {
o.endCursor = "foo";
o.entityResultType = "foo";
- o.entityResults = buildUnnamed643();
+ o.entityResults = buildUnnamed655();
o.moreResults = "foo";
o.skippedCursor = "foo";
o.skippedResults = 42;
@@ -905,7 +1192,7 @@
if (buildCounterQueryResultBatch < 3) {
unittest.expect(o.endCursor, unittest.equals('foo'));
unittest.expect(o.entityResultType, unittest.equals('foo'));
- checkUnnamed643(o.entityResults);
+ checkUnnamed655(o.entityResults);
unittest.expect(o.moreResults, unittest.equals('foo'));
unittest.expect(o.skippedCursor, unittest.equals('foo'));
unittest.expect(o.skippedResults, unittest.equals(42));
@@ -914,6 +1201,23 @@
buildCounterQueryResultBatch--;
}
+core.int buildCounterReadOnly = 0;
+buildReadOnly() {
+ var o = new api.ReadOnly();
+ buildCounterReadOnly++;
+ if (buildCounterReadOnly < 3) {
+ }
+ buildCounterReadOnly--;
+ return o;
+}
+
+checkReadOnly(api.ReadOnly o) {
+ buildCounterReadOnly++;
+ if (buildCounterReadOnly < 3) {
+ }
+ buildCounterReadOnly--;
+}
+
core.int buildCounterReadOptions = 0;
buildReadOptions() {
var o = new api.ReadOptions();
@@ -935,6 +1239,25 @@
buildCounterReadOptions--;
}
+core.int buildCounterReadWrite = 0;
+buildReadWrite() {
+ var o = new api.ReadWrite();
+ buildCounterReadWrite++;
+ if (buildCounterReadWrite < 3) {
+ o.previousTransaction = "foo";
+ }
+ buildCounterReadWrite--;
+ return o;
+}
+
+checkReadWrite(api.ReadWrite o) {
+ buildCounterReadWrite++;
+ if (buildCounterReadWrite < 3) {
+ unittest.expect(o.previousTransaction, unittest.equals('foo'));
+ }
+ buildCounterReadWrite--;
+}
+
core.int buildCounterRollbackRequest = 0;
buildRollbackRequest() {
var o = new api.RollbackRequest();
@@ -1017,6 +1340,76 @@
buildCounterRunQueryResponse--;
}
+buildUnnamed656() {
+ 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;
+}
+
+checkUnnamed656(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'));
+}
+
+buildUnnamed657() {
+ var o = new core.List<core.Map<core.String, core.Object>>();
+ o.add(buildUnnamed656());
+ o.add(buildUnnamed656());
+ return o;
+}
+
+checkUnnamed657(core.List<core.Map<core.String, core.Object>> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUnnamed656(o[0]);
+ checkUnnamed656(o[1]);
+}
+
+core.int buildCounterStatus = 0;
+buildStatus() {
+ var o = new api.Status();
+ buildCounterStatus++;
+ if (buildCounterStatus < 3) {
+ o.code = 42;
+ o.details = buildUnnamed657();
+ o.message = "foo";
+ }
+ buildCounterStatus--;
+ return o;
+}
+
+checkStatus(api.Status o) {
+ buildCounterStatus++;
+ if (buildCounterStatus < 3) {
+ unittest.expect(o.code, unittest.equals(42));
+ checkUnnamed657(o.details);
+ unittest.expect(o.message, unittest.equals('foo'));
+ }
+ buildCounterStatus--;
+}
+
+core.int buildCounterTransactionOptions = 0;
+buildTransactionOptions() {
+ var o = new api.TransactionOptions();
+ buildCounterTransactionOptions++;
+ if (buildCounterTransactionOptions < 3) {
+ o.readOnly = buildReadOnly();
+ o.readWrite = buildReadWrite();
+ }
+ buildCounterTransactionOptions--;
+ return o;
+}
+
+checkTransactionOptions(api.TransactionOptions o) {
+ buildCounterTransactionOptions++;
+ if (buildCounterTransactionOptions < 3) {
+ checkReadOnly(o.readOnly);
+ checkReadWrite(o.readWrite);
+ }
+ buildCounterTransactionOptions--;
+}
+
core.int buildCounterValue = 0;
buildValue() {
var o = new api.Value();
@@ -1134,6 +1527,15 @@
});
+ 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-Entity", () {
unittest.test("to-json--from-json", () {
var o = buildEntity();
@@ -1161,6 +1563,78 @@
});
+ unittest.group("obj-schema-GoogleDatastoreAdminV1beta1CommonMetadata", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleDatastoreAdminV1beta1CommonMetadata();
+ var od = new api.GoogleDatastoreAdminV1beta1CommonMetadata.fromJson(o.toJson());
+ checkGoogleDatastoreAdminV1beta1CommonMetadata(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleDatastoreAdminV1beta1EntityFilter", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleDatastoreAdminV1beta1EntityFilter();
+ var od = new api.GoogleDatastoreAdminV1beta1EntityFilter.fromJson(o.toJson());
+ checkGoogleDatastoreAdminV1beta1EntityFilter(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleDatastoreAdminV1beta1ExportEntitiesMetadata", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleDatastoreAdminV1beta1ExportEntitiesMetadata();
+ var od = new api.GoogleDatastoreAdminV1beta1ExportEntitiesMetadata.fromJson(o.toJson());
+ checkGoogleDatastoreAdminV1beta1ExportEntitiesMetadata(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleDatastoreAdminV1beta1ExportEntitiesResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleDatastoreAdminV1beta1ExportEntitiesResponse();
+ var od = new api.GoogleDatastoreAdminV1beta1ExportEntitiesResponse.fromJson(o.toJson());
+ checkGoogleDatastoreAdminV1beta1ExportEntitiesResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleDatastoreAdminV1beta1ImportEntitiesMetadata", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleDatastoreAdminV1beta1ImportEntitiesMetadata();
+ var od = new api.GoogleDatastoreAdminV1beta1ImportEntitiesMetadata.fromJson(o.toJson());
+ checkGoogleDatastoreAdminV1beta1ImportEntitiesMetadata(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleDatastoreAdminV1beta1Progress", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleDatastoreAdminV1beta1Progress();
+ var od = new api.GoogleDatastoreAdminV1beta1Progress.fromJson(o.toJson());
+ checkGoogleDatastoreAdminV1beta1Progress(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleLongrunningListOperationsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleLongrunningListOperationsResponse();
+ var od = new api.GoogleLongrunningListOperationsResponse.fromJson(o.toJson());
+ checkGoogleLongrunningListOperationsResponse(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleLongrunningOperation", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleLongrunningOperation();
+ var od = new api.GoogleLongrunningOperation.fromJson(o.toJson());
+ checkGoogleLongrunningOperation(od);
+ });
+ });
+
+
unittest.group("obj-schema-GqlQuery", () {
unittest.test("to-json--from-json", () {
var o = buildGqlQuery();
@@ -1314,6 +1788,15 @@
});
+ unittest.group("obj-schema-ReadOnly", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReadOnly();
+ var od = new api.ReadOnly.fromJson(o.toJson());
+ checkReadOnly(od);
+ });
+ });
+
+
unittest.group("obj-schema-ReadOptions", () {
unittest.test("to-json--from-json", () {
var o = buildReadOptions();
@@ -1323,6 +1806,15 @@
});
+ unittest.group("obj-schema-ReadWrite", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReadWrite();
+ var od = new api.ReadWrite.fromJson(o.toJson());
+ checkReadWrite(od);
+ });
+ });
+
+
unittest.group("obj-schema-RollbackRequest", () {
unittest.test("to-json--from-json", () {
var o = buildRollbackRequest();
@@ -1359,6 +1851,24 @@
});
+ 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-TransactionOptions", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTransactionOptions();
+ var od = new api.TransactionOptions.fromJson(o.toJson());
+ checkTransactionOptions(od);
+ });
+ });
+
+
unittest.group("obj-schema-Value", () {
unittest.test("to-json--from-json", () {
var o = buildValue();
@@ -1702,5 +2212,195 @@
});
+ unittest.group("resource-ProjectsOperationsResourceApi", () {
+ unittest.test("method--cancel", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsOperationsResourceApi res = new api.DatastoreApi(mock).projects.operations;
+ var arg_name = "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]));
+ }
+ }
+
+
+ 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_name).then(unittest.expectAsync1(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
+ unittest.test("method--delete", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsOperationsResourceApi res = new api.DatastoreApi(mock).projects.operations;
+ var arg_name = "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]));
+ }
+ }
+
+
+ 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).then(unittest.expectAsync1(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
+ unittest.test("method--get", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsOperationsResourceApi res = new api.DatastoreApi(mock).projects.operations;
+ var arg_name = "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]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildGoogleLongrunningOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.get(arg_name).then(unittest.expectAsync1(((api.GoogleLongrunningOperation response) {
+ checkGoogleLongrunningOperation(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsOperationsResourceApi res = new api.DatastoreApi(mock).projects.operations;
+ var arg_name = "foo";
+ var arg_pageSize = 42;
+ var arg_filter = "foo";
+ var arg_pageToken = "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["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildGoogleLongrunningListOperationsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_name, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.GoogleLongrunningListOperationsResponse response) {
+ checkGoogleLongrunningListOperationsResponse(response);
+ })));
+ });
+
+ });
+
+
}
diff --git a/generated/googleapis/test/deploymentmanager/v2_test.dart b/generated/googleapis/test/deploymentmanager/v2_test.dart
index e4f1b34..6ce6605 100644
--- a/generated/googleapis/test/deploymentmanager/v2_test.dart
+++ b/generated/googleapis/test/deploymentmanager/v2_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2176() {
+buildUnnamed2194() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed2176(core.List<api.AuditLogConfig> o) {
+checkUnnamed2194(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed2177() {
+buildUnnamed2195() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2177(core.List<core.String> o) {
+checkUnnamed2195(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,8 +82,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed2176();
- o.exemptedMembers = buildUnnamed2177();
+ o.auditLogConfigs = buildUnnamed2194();
+ o.exemptedMembers = buildUnnamed2195();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -93,21 +93,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed2176(o.auditLogConfigs);
- checkUnnamed2177(o.exemptedMembers);
+ checkUnnamed2194(o.auditLogConfigs);
+ checkUnnamed2195(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed2178() {
+buildUnnamed2196() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2178(core.List<core.String> o) {
+checkUnnamed2196(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -118,7 +118,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed2178();
+ o.exemptedMembers = buildUnnamed2196();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -128,20 +128,39 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed2178(o.exemptedMembers);
+ checkUnnamed2196(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed2179() {
+core.int buildCounterAuthorizationLoggingOptions = 0;
+buildAuthorizationLoggingOptions() {
+ var o = new api.AuthorizationLoggingOptions();
+ buildCounterAuthorizationLoggingOptions++;
+ if (buildCounterAuthorizationLoggingOptions < 3) {
+ o.permissionType = "foo";
+ }
+ buildCounterAuthorizationLoggingOptions--;
+ return o;
+}
+
+checkAuthorizationLoggingOptions(api.AuthorizationLoggingOptions o) {
+ buildCounterAuthorizationLoggingOptions++;
+ if (buildCounterAuthorizationLoggingOptions < 3) {
+ unittest.expect(o.permissionType, unittest.equals('foo'));
+ }
+ buildCounterAuthorizationLoggingOptions--;
+}
+
+buildUnnamed2197() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2179(core.List<core.String> o) {
+checkUnnamed2197(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -153,7 +172,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed2179();
+ o.members = buildUnnamed2197();
o.role = "foo";
}
buildCounterBinding--;
@@ -164,20 +183,20 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed2179(o.members);
+ checkUnnamed2197(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed2180() {
+buildUnnamed2198() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2180(core.List<core.String> o) {
+checkUnnamed2198(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -193,7 +212,7 @@
o.svc = "foo";
o.sys = "foo";
o.value = "foo";
- o.values = buildUnnamed2180();
+ o.values = buildUnnamed2198();
}
buildCounterCondition--;
return o;
@@ -207,7 +226,7 @@
unittest.expect(o.svc, unittest.equals('foo'));
unittest.expect(o.sys, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
- checkUnnamed2180(o.values);
+ checkUnnamed2198(o.values);
}
buildCounterCondition--;
}
@@ -231,14 +250,14 @@
buildCounterConfigFile--;
}
-buildUnnamed2181() {
+buildUnnamed2199() {
var o = new core.List<api.DeploymentLabelEntry>();
o.add(buildDeploymentLabelEntry());
o.add(buildDeploymentLabelEntry());
return o;
}
-checkUnnamed2181(core.List<api.DeploymentLabelEntry> o) {
+checkUnnamed2199(core.List<api.DeploymentLabelEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeploymentLabelEntry(o[0]);
checkDeploymentLabelEntry(o[1]);
@@ -253,7 +272,7 @@
o.fingerprint = "foo";
o.id = "foo";
o.insertTime = "foo";
- o.labels = buildUnnamed2181();
+ o.labels = buildUnnamed2199();
o.manifest = "foo";
o.name = "foo";
o.operation = buildOperation();
@@ -272,7 +291,7 @@
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.insertTime, unittest.equals('foo'));
- checkUnnamed2181(o.labels);
+ checkUnnamed2199(o.labels);
unittest.expect(o.manifest, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkOperation(o.operation);
@@ -304,14 +323,14 @@
buildCounterDeploymentLabelEntry--;
}
-buildUnnamed2182() {
+buildUnnamed2200() {
var o = new core.List<api.DeploymentUpdateLabelEntry>();
o.add(buildDeploymentUpdateLabelEntry());
o.add(buildDeploymentUpdateLabelEntry());
return o;
}
-checkUnnamed2182(core.List<api.DeploymentUpdateLabelEntry> o) {
+checkUnnamed2200(core.List<api.DeploymentUpdateLabelEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeploymentUpdateLabelEntry(o[0]);
checkDeploymentUpdateLabelEntry(o[1]);
@@ -323,7 +342,7 @@
buildCounterDeploymentUpdate++;
if (buildCounterDeploymentUpdate < 3) {
o.description = "foo";
- o.labels = buildUnnamed2182();
+ o.labels = buildUnnamed2200();
o.manifest = "foo";
}
buildCounterDeploymentUpdate--;
@@ -334,7 +353,7 @@
buildCounterDeploymentUpdate++;
if (buildCounterDeploymentUpdate < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2182(o.labels);
+ checkUnnamed2200(o.labels);
unittest.expect(o.manifest, unittest.equals('foo'));
}
buildCounterDeploymentUpdate--;
@@ -380,14 +399,14 @@
buildCounterDeploymentsCancelPreviewRequest--;
}
-buildUnnamed2183() {
+buildUnnamed2201() {
var o = new core.List<api.Deployment>();
o.add(buildDeployment());
o.add(buildDeployment());
return o;
}
-checkUnnamed2183(core.List<api.Deployment> o) {
+checkUnnamed2201(core.List<api.Deployment> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeployment(o[0]);
checkDeployment(o[1]);
@@ -398,7 +417,7 @@
var o = new api.DeploymentsListResponse();
buildCounterDeploymentsListResponse++;
if (buildCounterDeploymentsListResponse < 3) {
- o.deployments = buildUnnamed2183();
+ o.deployments = buildUnnamed2201();
o.nextPageToken = "foo";
}
buildCounterDeploymentsListResponse--;
@@ -408,7 +427,7 @@
checkDeploymentsListResponse(api.DeploymentsListResponse o) {
buildCounterDeploymentsListResponse++;
if (buildCounterDeploymentsListResponse < 3) {
- checkUnnamed2183(o.deployments);
+ checkUnnamed2201(o.deployments);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterDeploymentsListResponse--;
@@ -486,6 +505,7 @@
if (buildCounterLogConfig < 3) {
o.cloudAudit = buildLogConfigCloudAuditOptions();
o.counter = buildLogConfigCounterOptions();
+ o.dataAccess = buildLogConfigDataAccessOptions();
}
buildCounterLogConfig--;
return o;
@@ -496,6 +516,7 @@
if (buildCounterLogConfig < 3) {
checkLogConfigCloudAuditOptions(o.cloudAudit);
checkLogConfigCounterOptions(o.counter);
+ checkLogConfigDataAccessOptions(o.dataAccess);
}
buildCounterLogConfig--;
}
@@ -505,6 +526,7 @@
var o = new api.LogConfigCloudAuditOptions();
buildCounterLogConfigCloudAuditOptions++;
if (buildCounterLogConfigCloudAuditOptions < 3) {
+ o.authorizationLoggingOptions = buildAuthorizationLoggingOptions();
o.logName = "foo";
}
buildCounterLogConfigCloudAuditOptions--;
@@ -514,6 +536,7 @@
checkLogConfigCloudAuditOptions(api.LogConfigCloudAuditOptions o) {
buildCounterLogConfigCloudAuditOptions++;
if (buildCounterLogConfigCloudAuditOptions < 3) {
+ checkAuthorizationLoggingOptions(o.authorizationLoggingOptions);
unittest.expect(o.logName, unittest.equals('foo'));
}
buildCounterLogConfigCloudAuditOptions--;
@@ -540,14 +563,33 @@
buildCounterLogConfigCounterOptions--;
}
-buildUnnamed2184() {
+core.int buildCounterLogConfigDataAccessOptions = 0;
+buildLogConfigDataAccessOptions() {
+ var o = new api.LogConfigDataAccessOptions();
+ buildCounterLogConfigDataAccessOptions++;
+ if (buildCounterLogConfigDataAccessOptions < 3) {
+ o.logMode = "foo";
+ }
+ buildCounterLogConfigDataAccessOptions--;
+ return o;
+}
+
+checkLogConfigDataAccessOptions(api.LogConfigDataAccessOptions o) {
+ buildCounterLogConfigDataAccessOptions++;
+ if (buildCounterLogConfigDataAccessOptions < 3) {
+ unittest.expect(o.logMode, unittest.equals('foo'));
+ }
+ buildCounterLogConfigDataAccessOptions--;
+}
+
+buildUnnamed2202() {
var o = new core.List<api.ImportFile>();
o.add(buildImportFile());
o.add(buildImportFile());
return o;
}
-checkUnnamed2184(core.List<api.ImportFile> o) {
+checkUnnamed2202(core.List<api.ImportFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkImportFile(o[0]);
checkImportFile(o[1]);
@@ -561,7 +603,7 @@
o.config = buildConfigFile();
o.expandedConfig = "foo";
o.id = "foo";
- o.imports = buildUnnamed2184();
+ o.imports = buildUnnamed2202();
o.insertTime = "foo";
o.layout = "foo";
o.name = "foo";
@@ -577,7 +619,7 @@
checkConfigFile(o.config);
unittest.expect(o.expandedConfig, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2184(o.imports);
+ checkUnnamed2202(o.imports);
unittest.expect(o.insertTime, unittest.equals('foo'));
unittest.expect(o.layout, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -586,14 +628,14 @@
buildCounterManifest--;
}
-buildUnnamed2185() {
+buildUnnamed2203() {
var o = new core.List<api.Manifest>();
o.add(buildManifest());
o.add(buildManifest());
return o;
}
-checkUnnamed2185(core.List<api.Manifest> o) {
+checkUnnamed2203(core.List<api.Manifest> o) {
unittest.expect(o, unittest.hasLength(2));
checkManifest(o[0]);
checkManifest(o[1]);
@@ -604,7 +646,7 @@
var o = new api.ManifestsListResponse();
buildCounterManifestsListResponse++;
if (buildCounterManifestsListResponse < 3) {
- o.manifests = buildUnnamed2185();
+ o.manifests = buildUnnamed2203();
o.nextPageToken = "foo";
}
buildCounterManifestsListResponse--;
@@ -614,7 +656,7 @@
checkManifestsListResponse(api.ManifestsListResponse o) {
buildCounterManifestsListResponse++;
if (buildCounterManifestsListResponse < 3) {
- checkUnnamed2185(o.manifests);
+ checkUnnamed2203(o.manifests);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterManifestsListResponse--;
@@ -643,14 +685,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed2186() {
+buildUnnamed2204() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed2186(core.List<api.OperationErrorErrors> o) {
+checkUnnamed2204(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -661,7 +703,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed2186();
+ o.errors = buildUnnamed2204();
}
buildCounterOperationError--;
return o;
@@ -670,7 +712,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed2186(o.errors);
+ checkUnnamed2204(o.errors);
}
buildCounterOperationError--;
}
@@ -696,14 +738,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed2187() {
+buildUnnamed2205() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed2187(core.List<api.OperationWarningsData> o) {
+checkUnnamed2205(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -715,7 +757,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2187();
+ o.data = buildUnnamed2205();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -726,20 +768,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2187(o.data);
+ checkUnnamed2205(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed2188() {
+buildUnnamed2206() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed2188(core.List<api.OperationWarnings> o) {
+checkUnnamed2206(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -771,7 +813,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed2188();
+ o.warnings = buildUnnamed2206();
o.zone = "foo";
}
buildCounterOperation--;
@@ -802,20 +844,20 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed2188(o.warnings);
+ checkUnnamed2206(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed2189() {
+buildUnnamed2207() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2189(core.List<api.Operation> o) {
+checkUnnamed2207(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -827,7 +869,7 @@
buildCounterOperationsListResponse++;
if (buildCounterOperationsListResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2189();
+ o.operations = buildUnnamed2207();
}
buildCounterOperationsListResponse--;
return o;
@@ -837,45 +879,45 @@
buildCounterOperationsListResponse++;
if (buildCounterOperationsListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2189(o.operations);
+ checkUnnamed2207(o.operations);
}
buildCounterOperationsListResponse--;
}
-buildUnnamed2190() {
+buildUnnamed2208() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed2190(core.List<api.AuditConfig> o) {
+checkUnnamed2208(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed2191() {
+buildUnnamed2209() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed2191(core.List<api.Binding> o) {
+checkUnnamed2209(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
}
-buildUnnamed2192() {
+buildUnnamed2210() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed2192(core.List<api.Rule> o) {
+checkUnnamed2210(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -886,11 +928,11 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed2190();
- o.bindings = buildUnnamed2191();
+ o.auditConfigs = buildUnnamed2208();
+ o.bindings = buildUnnamed2209();
o.etag = "foo";
o.iamOwned = true;
- o.rules = buildUnnamed2192();
+ o.rules = buildUnnamed2210();
o.version = 42;
}
buildCounterPolicy--;
@@ -900,11 +942,11 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed2190(o.auditConfigs);
- checkUnnamed2191(o.bindings);
+ checkUnnamed2208(o.auditConfigs);
+ checkUnnamed2209(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
- checkUnnamed2192(o.rules);
+ checkUnnamed2210(o.rules);
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
@@ -931,14 +973,14 @@
buildCounterResourceWarningsData--;
}
-buildUnnamed2193() {
+buildUnnamed2211() {
var o = new core.List<api.ResourceWarningsData>();
o.add(buildResourceWarningsData());
o.add(buildResourceWarningsData());
return o;
}
-checkUnnamed2193(core.List<api.ResourceWarningsData> o) {
+checkUnnamed2211(core.List<api.ResourceWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceWarningsData(o[0]);
checkResourceWarningsData(o[1]);
@@ -950,7 +992,7 @@
buildCounterResourceWarnings++;
if (buildCounterResourceWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2193();
+ o.data = buildUnnamed2211();
o.message = "foo";
}
buildCounterResourceWarnings--;
@@ -961,20 +1003,20 @@
buildCounterResourceWarnings++;
if (buildCounterResourceWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2193(o.data);
+ checkUnnamed2211(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterResourceWarnings--;
}
-buildUnnamed2194() {
+buildUnnamed2212() {
var o = new core.List<api.ResourceWarnings>();
o.add(buildResourceWarnings());
o.add(buildResourceWarnings());
return o;
}
-checkUnnamed2194(core.List<api.ResourceWarnings> o) {
+checkUnnamed2212(core.List<api.ResourceWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceWarnings(o[0]);
checkResourceWarnings(o[1]);
@@ -996,7 +1038,7 @@
o.update = buildResourceUpdate();
o.updateTime = "foo";
o.url = "foo";
- o.warnings = buildUnnamed2194();
+ o.warnings = buildUnnamed2212();
}
buildCounterResource--;
return o;
@@ -1016,7 +1058,7 @@
checkResourceUpdate(o.update);
unittest.expect(o.updateTime, unittest.equals('foo'));
unittest.expect(o.url, unittest.equals('foo'));
- checkUnnamed2194(o.warnings);
+ checkUnnamed2212(o.warnings);
}
buildCounterResource--;
}
@@ -1063,14 +1105,14 @@
buildCounterResourceUpdateErrorErrors--;
}
-buildUnnamed2195() {
+buildUnnamed2213() {
var o = new core.List<api.ResourceUpdateErrorErrors>();
o.add(buildResourceUpdateErrorErrors());
o.add(buildResourceUpdateErrorErrors());
return o;
}
-checkUnnamed2195(core.List<api.ResourceUpdateErrorErrors> o) {
+checkUnnamed2213(core.List<api.ResourceUpdateErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceUpdateErrorErrors(o[0]);
checkResourceUpdateErrorErrors(o[1]);
@@ -1081,7 +1123,7 @@
var o = new api.ResourceUpdateError();
buildCounterResourceUpdateError++;
if (buildCounterResourceUpdateError < 3) {
- o.errors = buildUnnamed2195();
+ o.errors = buildUnnamed2213();
}
buildCounterResourceUpdateError--;
return o;
@@ -1090,7 +1132,7 @@
checkResourceUpdateError(api.ResourceUpdateError o) {
buildCounterResourceUpdateError++;
if (buildCounterResourceUpdateError < 3) {
- checkUnnamed2195(o.errors);
+ checkUnnamed2213(o.errors);
}
buildCounterResourceUpdateError--;
}
@@ -1116,14 +1158,14 @@
buildCounterResourceUpdateWarningsData--;
}
-buildUnnamed2196() {
+buildUnnamed2214() {
var o = new core.List<api.ResourceUpdateWarningsData>();
o.add(buildResourceUpdateWarningsData());
o.add(buildResourceUpdateWarningsData());
return o;
}
-checkUnnamed2196(core.List<api.ResourceUpdateWarningsData> o) {
+checkUnnamed2214(core.List<api.ResourceUpdateWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceUpdateWarningsData(o[0]);
checkResourceUpdateWarningsData(o[1]);
@@ -1135,7 +1177,7 @@
buildCounterResourceUpdateWarnings++;
if (buildCounterResourceUpdateWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2196();
+ o.data = buildUnnamed2214();
o.message = "foo";
}
buildCounterResourceUpdateWarnings--;
@@ -1146,20 +1188,20 @@
buildCounterResourceUpdateWarnings++;
if (buildCounterResourceUpdateWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2196(o.data);
+ checkUnnamed2214(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterResourceUpdateWarnings--;
}
-buildUnnamed2197() {
+buildUnnamed2215() {
var o = new core.List<api.ResourceUpdateWarnings>();
o.add(buildResourceUpdateWarnings());
o.add(buildResourceUpdateWarnings());
return o;
}
-checkUnnamed2197(core.List<api.ResourceUpdateWarnings> o) {
+checkUnnamed2215(core.List<api.ResourceUpdateWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceUpdateWarnings(o[0]);
checkResourceUpdateWarnings(o[1]);
@@ -1177,7 +1219,7 @@
o.manifest = "foo";
o.properties = "foo";
o.state = "foo";
- o.warnings = buildUnnamed2197();
+ o.warnings = buildUnnamed2215();
}
buildCounterResourceUpdate--;
return o;
@@ -1193,19 +1235,19 @@
unittest.expect(o.manifest, unittest.equals('foo'));
unittest.expect(o.properties, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed2197(o.warnings);
+ checkUnnamed2215(o.warnings);
}
buildCounterResourceUpdate--;
}
-buildUnnamed2198() {
+buildUnnamed2216() {
var o = new core.List<api.Resource>();
o.add(buildResource());
o.add(buildResource());
return o;
}
-checkUnnamed2198(core.List<api.Resource> o) {
+checkUnnamed2216(core.List<api.Resource> o) {
unittest.expect(o, unittest.hasLength(2));
checkResource(o[0]);
checkResource(o[1]);
@@ -1217,7 +1259,7 @@
buildCounterResourcesListResponse++;
if (buildCounterResourcesListResponse < 3) {
o.nextPageToken = "foo";
- o.resources = buildUnnamed2198();
+ o.resources = buildUnnamed2216();
}
buildCounterResourcesListResponse--;
return o;
@@ -1227,71 +1269,71 @@
buildCounterResourcesListResponse++;
if (buildCounterResourcesListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2198(o.resources);
+ checkUnnamed2216(o.resources);
}
buildCounterResourcesListResponse--;
}
-buildUnnamed2199() {
+buildUnnamed2217() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed2199(core.List<api.Condition> o) {
+checkUnnamed2217(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed2200() {
+buildUnnamed2218() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2200(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'));
}
-buildUnnamed2201() {
+buildUnnamed2219() {
var o = new core.List<api.LogConfig>();
o.add(buildLogConfig());
o.add(buildLogConfig());
return o;
}
-checkUnnamed2201(core.List<api.LogConfig> o) {
+checkUnnamed2219(core.List<api.LogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogConfig(o[0]);
checkLogConfig(o[1]);
}
-buildUnnamed2202() {
+buildUnnamed2220() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2202(core.List<core.String> o) {
+checkUnnamed2220(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2203() {
+buildUnnamed2221() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2203(core.List<core.String> o) {
+checkUnnamed2221(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1303,12 +1345,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.action = "foo";
- o.conditions = buildUnnamed2199();
+ o.conditions = buildUnnamed2217();
o.description = "foo";
- o.ins = buildUnnamed2200();
- o.logConfigs = buildUnnamed2201();
- o.notIns = buildUnnamed2202();
- o.permissions = buildUnnamed2203();
+ o.ins = buildUnnamed2218();
+ o.logConfigs = buildUnnamed2219();
+ o.notIns = buildUnnamed2220();
+ o.permissions = buildUnnamed2221();
}
buildCounterRule--;
return o;
@@ -1318,24 +1360,24 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed2199(o.conditions);
+ checkUnnamed2217(o.conditions);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2200(o.ins);
- checkUnnamed2201(o.logConfigs);
- checkUnnamed2202(o.notIns);
- checkUnnamed2203(o.permissions);
+ checkUnnamed2218(o.ins);
+ checkUnnamed2219(o.logConfigs);
+ checkUnnamed2220(o.notIns);
+ checkUnnamed2221(o.permissions);
}
buildCounterRule--;
}
-buildUnnamed2204() {
+buildUnnamed2222() {
var o = new core.List<api.ImportFile>();
o.add(buildImportFile());
o.add(buildImportFile());
return o;
}
-checkUnnamed2204(core.List<api.ImportFile> o) {
+checkUnnamed2222(core.List<api.ImportFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkImportFile(o[0]);
checkImportFile(o[1]);
@@ -1347,7 +1389,7 @@
buildCounterTargetConfiguration++;
if (buildCounterTargetConfiguration < 3) {
o.config = buildConfigFile();
- o.imports = buildUnnamed2204();
+ o.imports = buildUnnamed2222();
}
buildCounterTargetConfiguration--;
return o;
@@ -1357,19 +1399,19 @@
buildCounterTargetConfiguration++;
if (buildCounterTargetConfiguration < 3) {
checkConfigFile(o.config);
- checkUnnamed2204(o.imports);
+ checkUnnamed2222(o.imports);
}
buildCounterTargetConfiguration--;
}
-buildUnnamed2205() {
+buildUnnamed2223() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2205(core.List<core.String> o) {
+checkUnnamed2223(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1380,7 +1422,7 @@
var o = new api.TestPermissionsRequest();
buildCounterTestPermissionsRequest++;
if (buildCounterTestPermissionsRequest < 3) {
- o.permissions = buildUnnamed2205();
+ o.permissions = buildUnnamed2223();
}
buildCounterTestPermissionsRequest--;
return o;
@@ -1389,19 +1431,19 @@
checkTestPermissionsRequest(api.TestPermissionsRequest o) {
buildCounterTestPermissionsRequest++;
if (buildCounterTestPermissionsRequest < 3) {
- checkUnnamed2205(o.permissions);
+ checkUnnamed2223(o.permissions);
}
buildCounterTestPermissionsRequest--;
}
-buildUnnamed2206() {
+buildUnnamed2224() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2206(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'));
@@ -1412,7 +1454,7 @@
var o = new api.TestPermissionsResponse();
buildCounterTestPermissionsResponse++;
if (buildCounterTestPermissionsResponse < 3) {
- o.permissions = buildUnnamed2206();
+ o.permissions = buildUnnamed2224();
}
buildCounterTestPermissionsResponse--;
return o;
@@ -1421,7 +1463,7 @@
checkTestPermissionsResponse(api.TestPermissionsResponse o) {
buildCounterTestPermissionsResponse++;
if (buildCounterTestPermissionsResponse < 3) {
- checkUnnamed2206(o.permissions);
+ checkUnnamed2224(o.permissions);
}
buildCounterTestPermissionsResponse--;
}
@@ -1453,14 +1495,14 @@
buildCounterType--;
}
-buildUnnamed2207() {
+buildUnnamed2225() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed2207(core.List<api.Type> o) {
+checkUnnamed2225(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
@@ -1472,7 +1514,7 @@
buildCounterTypesListResponse++;
if (buildCounterTypesListResponse < 3) {
o.nextPageToken = "foo";
- o.types = buildUnnamed2207();
+ o.types = buildUnnamed2225();
}
buildCounterTypesListResponse--;
return o;
@@ -1482,7 +1524,7 @@
buildCounterTypesListResponse++;
if (buildCounterTypesListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2207(o.types);
+ checkUnnamed2225(o.types);
}
buildCounterTypesListResponse--;
}
@@ -1507,6 +1549,15 @@
});
+ unittest.group("obj-schema-AuthorizationLoggingOptions", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAuthorizationLoggingOptions();
+ var od = new api.AuthorizationLoggingOptions.fromJson(o.toJson());
+ checkAuthorizationLoggingOptions(od);
+ });
+ });
+
+
unittest.group("obj-schema-Binding", () {
unittest.test("to-json--from-json", () {
var o = buildBinding();
@@ -1642,6 +1693,15 @@
});
+ unittest.group("obj-schema-LogConfigDataAccessOptions", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLogConfigDataAccessOptions();
+ var od = new api.LogConfigDataAccessOptions.fromJson(o.toJson());
+ checkLogConfigDataAccessOptions(od);
+ });
+ });
+
+
unittest.group("obj-schema-Manifest", () {
unittest.test("to-json--from-json", () {
var o = buildManifest();
diff --git a/generated/googleapis/test/discovery/v1_test.dart b/generated/googleapis/test/discovery/v1_test.dart
index 9740114..8927acd 100644
--- a/generated/googleapis/test/discovery/v1_test.dart
+++ b/generated/googleapis/test/discovery/v1_test.dart
@@ -72,14 +72,14 @@
buildCounterDirectoryListItemsIcons--;
}
-buildUnnamed305() {
+buildUnnamed310() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed305(core.List<core.String> o) {
+checkUnnamed310(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -97,7 +97,7 @@
o.icons = buildDirectoryListItemsIcons();
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed305();
+ o.labels = buildUnnamed310();
o.name = "foo";
o.preferred = true;
o.title = "foo";
@@ -117,7 +117,7 @@
checkDirectoryListItemsIcons(o.icons);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed305(o.labels);
+ checkUnnamed310(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.preferred, unittest.isTrue);
unittest.expect(o.title, unittest.equals('foo'));
@@ -126,14 +126,14 @@
buildCounterDirectoryListItems--;
}
-buildUnnamed306() {
+buildUnnamed311() {
var o = new core.List<api.DirectoryListItems>();
o.add(buildDirectoryListItems());
o.add(buildDirectoryListItems());
return o;
}
-checkUnnamed306(core.List<api.DirectoryListItems> o) {
+checkUnnamed311(core.List<api.DirectoryListItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectoryListItems(o[0]);
checkDirectoryListItems(o[1]);
@@ -145,7 +145,7 @@
buildCounterDirectoryList++;
if (buildCounterDirectoryList < 3) {
o.discoveryVersion = "foo";
- o.items = buildUnnamed306();
+ o.items = buildUnnamed311();
o.kind = "foo";
}
buildCounterDirectoryList--;
@@ -156,20 +156,20 @@
buildCounterDirectoryList++;
if (buildCounterDirectoryList < 3) {
unittest.expect(o.discoveryVersion, unittest.equals('foo'));
- checkUnnamed306(o.items);
+ checkUnnamed311(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDirectoryList--;
}
-buildUnnamed307() {
+buildUnnamed312() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed307(core.List<core.String> o) {
+checkUnnamed312(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -180,7 +180,7 @@
var o = new api.JsonSchemaAnnotations();
buildCounterJsonSchemaAnnotations++;
if (buildCounterJsonSchemaAnnotations < 3) {
- o.required = buildUnnamed307();
+ o.required = buildUnnamed312();
}
buildCounterJsonSchemaAnnotations--;
return o;
@@ -189,45 +189,45 @@
checkJsonSchemaAnnotations(api.JsonSchemaAnnotations o) {
buildCounterJsonSchemaAnnotations++;
if (buildCounterJsonSchemaAnnotations < 3) {
- checkUnnamed307(o.required);
+ checkUnnamed312(o.required);
}
buildCounterJsonSchemaAnnotations--;
}
-buildUnnamed308() {
+buildUnnamed313() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed308(core.List<core.String> o) {
+checkUnnamed313(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed309() {
+buildUnnamed314() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed309(core.List<core.String> o) {
+checkUnnamed314(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed310() {
+buildUnnamed315() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed310(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed315(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
@@ -254,14 +254,14 @@
buildCounterJsonSchemaVariantMap--;
}
-buildUnnamed311() {
+buildUnnamed316() {
var o = new core.List<api.JsonSchemaVariantMap>();
o.add(buildJsonSchemaVariantMap());
o.add(buildJsonSchemaVariantMap());
return o;
}
-checkUnnamed311(core.List<api.JsonSchemaVariantMap> o) {
+checkUnnamed316(core.List<api.JsonSchemaVariantMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchemaVariantMap(o[0]);
checkJsonSchemaVariantMap(o[1]);
@@ -273,7 +273,7 @@
buildCounterJsonSchemaVariant++;
if (buildCounterJsonSchemaVariant < 3) {
o.discriminant = "foo";
- o.map = buildUnnamed311();
+ o.map = buildUnnamed316();
}
buildCounterJsonSchemaVariant--;
return o;
@@ -283,7 +283,7 @@
buildCounterJsonSchemaVariant++;
if (buildCounterJsonSchemaVariant < 3) {
unittest.expect(o.discriminant, unittest.equals('foo'));
- checkUnnamed311(o.map);
+ checkUnnamed316(o.map);
}
buildCounterJsonSchemaVariant--;
}
@@ -298,8 +298,8 @@
o.annotations = buildJsonSchemaAnnotations();
o.default_ = "foo";
o.description = "foo";
- o.enum_ = buildUnnamed308();
- o.enumDescriptions = buildUnnamed309();
+ o.enum_ = buildUnnamed313();
+ o.enumDescriptions = buildUnnamed314();
o.format = "foo";
o.id = "foo";
o.items = buildJsonSchema();
@@ -307,7 +307,7 @@
o.maximum = "foo";
o.minimum = "foo";
o.pattern = "foo";
- o.properties = buildUnnamed310();
+ o.properties = buildUnnamed315();
o.readOnly = true;
o.repeated = true;
o.required = true;
@@ -326,8 +326,8 @@
checkJsonSchemaAnnotations(o.annotations);
unittest.expect(o.default_, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed308(o.enum_);
- checkUnnamed309(o.enumDescriptions);
+ checkUnnamed313(o.enum_);
+ checkUnnamed314(o.enumDescriptions);
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkJsonSchema(o.items);
@@ -335,7 +335,7 @@
unittest.expect(o.maximum, unittest.equals('foo'));
unittest.expect(o.minimum, unittest.equals('foo'));
unittest.expect(o.pattern, unittest.equals('foo'));
- checkUnnamed310(o.properties);
+ checkUnnamed315(o.properties);
unittest.expect(o.readOnly, unittest.isTrue);
unittest.expect(o.repeated, unittest.isTrue);
unittest.expect(o.required, unittest.isTrue);
@@ -364,14 +364,14 @@
buildCounterRestDescriptionAuthOauth2ScopesValue--;
}
-buildUnnamed312() {
+buildUnnamed317() {
var o = new core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue>();
o["x"] = buildRestDescriptionAuthOauth2ScopesValue();
o["y"] = buildRestDescriptionAuthOauth2ScopesValue();
return o;
}
-checkUnnamed312(core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue> o) {
+checkUnnamed317(core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestDescriptionAuthOauth2ScopesValue(o["x"]);
checkRestDescriptionAuthOauth2ScopesValue(o["y"]);
@@ -382,7 +382,7 @@
var o = new api.RestDescriptionAuthOauth2();
buildCounterRestDescriptionAuthOauth2++;
if (buildCounterRestDescriptionAuthOauth2 < 3) {
- o.scopes = buildUnnamed312();
+ o.scopes = buildUnnamed317();
}
buildCounterRestDescriptionAuthOauth2--;
return o;
@@ -391,7 +391,7 @@
checkRestDescriptionAuthOauth2(api.RestDescriptionAuthOauth2 o) {
buildCounterRestDescriptionAuthOauth2++;
if (buildCounterRestDescriptionAuthOauth2 < 3) {
- checkUnnamed312(o.scopes);
+ checkUnnamed317(o.scopes);
}
buildCounterRestDescriptionAuthOauth2--;
}
@@ -415,14 +415,14 @@
buildCounterRestDescriptionAuth--;
}
-buildUnnamed313() {
+buildUnnamed318() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed313(core.List<core.String> o) {
+checkUnnamed318(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -449,66 +449,66 @@
buildCounterRestDescriptionIcons--;
}
-buildUnnamed314() {
+buildUnnamed319() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed314(core.List<core.String> o) {
+checkUnnamed319(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed315() {
+buildUnnamed320() {
var o = new core.Map<core.String, api.RestMethod>();
o["x"] = buildRestMethod();
o["y"] = buildRestMethod();
return o;
}
-checkUnnamed315(core.Map<core.String, api.RestMethod> o) {
+checkUnnamed320(core.Map<core.String, api.RestMethod> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestMethod(o["x"]);
checkRestMethod(o["y"]);
}
-buildUnnamed316() {
+buildUnnamed321() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed316(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed321(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
}
-buildUnnamed317() {
+buildUnnamed322() {
var o = new core.Map<core.String, api.RestResource>();
o["x"] = buildRestResource();
o["y"] = buildRestResource();
return o;
}
-checkUnnamed317(core.Map<core.String, api.RestResource> o) {
+checkUnnamed322(core.Map<core.String, api.RestResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestResource(o["x"]);
checkRestResource(o["y"]);
}
-buildUnnamed318() {
+buildUnnamed323() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed318(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed323(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
@@ -529,22 +529,22 @@
o.documentationLink = "foo";
o.etag = "foo";
o.exponentialBackoffDefault = true;
- o.features = buildUnnamed313();
+ o.features = buildUnnamed318();
o.icons = buildRestDescriptionIcons();
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed314();
- o.methods = buildUnnamed315();
+ o.labels = buildUnnamed319();
+ o.methods = buildUnnamed320();
o.name = "foo";
o.ownerDomain = "foo";
o.ownerName = "foo";
o.packagePath = "foo";
- o.parameters = buildUnnamed316();
+ o.parameters = buildUnnamed321();
o.protocol = "foo";
- o.resources = buildUnnamed317();
+ o.resources = buildUnnamed322();
o.revision = "foo";
o.rootUrl = "foo";
- o.schemas = buildUnnamed318();
+ o.schemas = buildUnnamed323();
o.servicePath = "foo";
o.title = "foo";
o.version = "foo";
@@ -567,22 +567,22 @@
unittest.expect(o.documentationLink, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.exponentialBackoffDefault, unittest.isTrue);
- checkUnnamed313(o.features);
+ checkUnnamed318(o.features);
checkRestDescriptionIcons(o.icons);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed314(o.labels);
- checkUnnamed315(o.methods);
+ checkUnnamed319(o.labels);
+ checkUnnamed320(o.methods);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.ownerDomain, unittest.equals('foo'));
unittest.expect(o.ownerName, unittest.equals('foo'));
unittest.expect(o.packagePath, unittest.equals('foo'));
- checkUnnamed316(o.parameters);
+ checkUnnamed321(o.parameters);
unittest.expect(o.protocol, unittest.equals('foo'));
- checkUnnamed317(o.resources);
+ checkUnnamed322(o.resources);
unittest.expect(o.revision, unittest.equals('foo'));
unittest.expect(o.rootUrl, unittest.equals('foo'));
- checkUnnamed318(o.schemas);
+ checkUnnamed323(o.schemas);
unittest.expect(o.servicePath, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -591,14 +591,14 @@
buildCounterRestDescription--;
}
-buildUnnamed319() {
+buildUnnamed324() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed319(core.List<core.String> o) {
+checkUnnamed324(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -672,7 +672,7 @@
var o = new api.RestMethodMediaUpload();
buildCounterRestMethodMediaUpload++;
if (buildCounterRestMethodMediaUpload < 3) {
- o.accept = buildUnnamed319();
+ o.accept = buildUnnamed324();
o.maxSize = "foo";
o.protocols = buildRestMethodMediaUploadProtocols();
}
@@ -683,34 +683,34 @@
checkRestMethodMediaUpload(api.RestMethodMediaUpload o) {
buildCounterRestMethodMediaUpload++;
if (buildCounterRestMethodMediaUpload < 3) {
- checkUnnamed319(o.accept);
+ checkUnnamed324(o.accept);
unittest.expect(o.maxSize, unittest.equals('foo'));
checkRestMethodMediaUploadProtocols(o.protocols);
}
buildCounterRestMethodMediaUpload--;
}
-buildUnnamed320() {
+buildUnnamed325() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed320(core.List<core.String> o) {
+checkUnnamed325(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed321() {
+buildUnnamed326() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed321(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed326(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
@@ -756,14 +756,14 @@
buildCounterRestMethodResponse--;
}
-buildUnnamed322() {
+buildUnnamed327() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed322(core.List<core.String> o) {
+checkUnnamed327(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -779,12 +779,12 @@
o.httpMethod = "foo";
o.id = "foo";
o.mediaUpload = buildRestMethodMediaUpload();
- o.parameterOrder = buildUnnamed320();
- o.parameters = buildUnnamed321();
+ o.parameterOrder = buildUnnamed325();
+ o.parameters = buildUnnamed326();
o.path = "foo";
o.request = buildRestMethodRequest();
o.response = buildRestMethodResponse();
- o.scopes = buildUnnamed322();
+ o.scopes = buildUnnamed327();
o.supportsMediaDownload = true;
o.supportsMediaUpload = true;
o.supportsSubscription = true;
@@ -802,12 +802,12 @@
unittest.expect(o.httpMethod, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkRestMethodMediaUpload(o.mediaUpload);
- checkUnnamed320(o.parameterOrder);
- checkUnnamed321(o.parameters);
+ checkUnnamed325(o.parameterOrder);
+ checkUnnamed326(o.parameters);
unittest.expect(o.path, unittest.equals('foo'));
checkRestMethodRequest(o.request);
checkRestMethodResponse(o.response);
- checkUnnamed322(o.scopes);
+ checkUnnamed327(o.scopes);
unittest.expect(o.supportsMediaDownload, unittest.isTrue);
unittest.expect(o.supportsMediaUpload, unittest.isTrue);
unittest.expect(o.supportsSubscription, unittest.isTrue);
@@ -816,27 +816,27 @@
buildCounterRestMethod--;
}
-buildUnnamed323() {
+buildUnnamed328() {
var o = new core.Map<core.String, api.RestMethod>();
o["x"] = buildRestMethod();
o["y"] = buildRestMethod();
return o;
}
-checkUnnamed323(core.Map<core.String, api.RestMethod> o) {
+checkUnnamed328(core.Map<core.String, api.RestMethod> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestMethod(o["x"]);
checkRestMethod(o["y"]);
}
-buildUnnamed324() {
+buildUnnamed329() {
var o = new core.Map<core.String, api.RestResource>();
o["x"] = buildRestResource();
o["y"] = buildRestResource();
return o;
}
-checkUnnamed324(core.Map<core.String, api.RestResource> o) {
+checkUnnamed329(core.Map<core.String, api.RestResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestResource(o["x"]);
checkRestResource(o["y"]);
@@ -847,8 +847,8 @@
var o = new api.RestResource();
buildCounterRestResource++;
if (buildCounterRestResource < 3) {
- o.methods = buildUnnamed323();
- o.resources = buildUnnamed324();
+ o.methods = buildUnnamed328();
+ o.resources = buildUnnamed329();
}
buildCounterRestResource--;
return o;
@@ -857,8 +857,8 @@
checkRestResource(api.RestResource o) {
buildCounterRestResource++;
if (buildCounterRestResource < 3) {
- checkUnnamed323(o.methods);
- checkUnnamed324(o.resources);
+ checkUnnamed328(o.methods);
+ checkUnnamed329(o.resources);
}
buildCounterRestResource--;
}
diff --git a/generated/googleapis/test/dns/v1_test.dart b/generated/googleapis/test/dns/v1_test.dart
index c11c0f6..f755a1f 100644
--- a/generated/googleapis/test/dns/v1_test.dart
+++ b/generated/googleapis/test/dns/v1_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed774() {
+buildUnnamed792() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed774(core.List<api.ResourceRecordSet> o) {
+checkUnnamed792(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
}
-buildUnnamed775() {
+buildUnnamed793() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed775(core.List<api.ResourceRecordSet> o) {
+checkUnnamed793(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
@@ -82,8 +82,8 @@
var o = new api.Change();
buildCounterChange++;
if (buildCounterChange < 3) {
- o.additions = buildUnnamed774();
- o.deletions = buildUnnamed775();
+ o.additions = buildUnnamed792();
+ o.deletions = buildUnnamed793();
o.id = "foo";
o.kind = "foo";
o.startTime = "foo";
@@ -96,8 +96,8 @@
checkChange(api.Change o) {
buildCounterChange++;
if (buildCounterChange < 3) {
- checkUnnamed774(o.additions);
- checkUnnamed775(o.deletions);
+ checkUnnamed792(o.additions);
+ checkUnnamed793(o.deletions);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
@@ -106,14 +106,14 @@
buildCounterChange--;
}
-buildUnnamed776() {
+buildUnnamed794() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed776(core.List<api.Change> o) {
+checkUnnamed794(core.List<api.Change> o) {
unittest.expect(o, unittest.hasLength(2));
checkChange(o[0]);
checkChange(o[1]);
@@ -124,7 +124,7 @@
var o = new api.ChangesListResponse();
buildCounterChangesListResponse++;
if (buildCounterChangesListResponse < 3) {
- o.changes = buildUnnamed776();
+ o.changes = buildUnnamed794();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -135,21 +135,21 @@
checkChangesListResponse(api.ChangesListResponse o) {
buildCounterChangesListResponse++;
if (buildCounterChangesListResponse < 3) {
- checkUnnamed776(o.changes);
+ checkUnnamed794(o.changes);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterChangesListResponse--;
}
-buildUnnamed777() {
+buildUnnamed795() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed777(core.List<core.String> o) {
+checkUnnamed795(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -167,7 +167,7 @@
o.kind = "foo";
o.name = "foo";
o.nameServerSet = "foo";
- o.nameServers = buildUnnamed777();
+ o.nameServers = buildUnnamed795();
}
buildCounterManagedZone--;
return o;
@@ -183,19 +183,19 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nameServerSet, unittest.equals('foo'));
- checkUnnamed777(o.nameServers);
+ checkUnnamed795(o.nameServers);
}
buildCounterManagedZone--;
}
-buildUnnamed778() {
+buildUnnamed796() {
var o = new core.List<api.ManagedZone>();
o.add(buildManagedZone());
o.add(buildManagedZone());
return o;
}
-checkUnnamed778(core.List<api.ManagedZone> o) {
+checkUnnamed796(core.List<api.ManagedZone> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedZone(o[0]);
checkManagedZone(o[1]);
@@ -207,7 +207,7 @@
buildCounterManagedZonesListResponse++;
if (buildCounterManagedZonesListResponse < 3) {
o.kind = "foo";
- o.managedZones = buildUnnamed778();
+ o.managedZones = buildUnnamed796();
o.nextPageToken = "foo";
}
buildCounterManagedZonesListResponse--;
@@ -218,7 +218,7 @@
buildCounterManagedZonesListResponse++;
if (buildCounterManagedZonesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed778(o.managedZones);
+ checkUnnamed796(o.managedZones);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterManagedZonesListResponse--;
@@ -280,14 +280,14 @@
buildCounterQuota--;
}
-buildUnnamed779() {
+buildUnnamed797() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed779(core.List<core.String> o) {
+checkUnnamed797(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -300,7 +300,7 @@
if (buildCounterResourceRecordSet < 3) {
o.kind = "foo";
o.name = "foo";
- o.rrdatas = buildUnnamed779();
+ o.rrdatas = buildUnnamed797();
o.ttl = 42;
o.type = "foo";
}
@@ -313,21 +313,21 @@
if (buildCounterResourceRecordSet < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed779(o.rrdatas);
+ checkUnnamed797(o.rrdatas);
unittest.expect(o.ttl, unittest.equals(42));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterResourceRecordSet--;
}
-buildUnnamed780() {
+buildUnnamed798() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed780(core.List<api.ResourceRecordSet> o) {
+checkUnnamed798(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
@@ -340,7 +340,7 @@
if (buildCounterResourceRecordSetsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.rrsets = buildUnnamed780();
+ o.rrsets = buildUnnamed798();
}
buildCounterResourceRecordSetsListResponse--;
return o;
@@ -351,7 +351,7 @@
if (buildCounterResourceRecordSetsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed780(o.rrsets);
+ checkUnnamed798(o.rrsets);
}
buildCounterResourceRecordSetsListResponse--;
}
diff --git a/generated/googleapis/test/doubleclickbidmanager/v1_test.dart b/generated/googleapis/test/doubleclickbidmanager/v1_test.dart
index e340bf2..d0a8153 100644
--- a/generated/googleapis/test/doubleclickbidmanager/v1_test.dart
+++ b/generated/googleapis/test/doubleclickbidmanager/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1244() {
+buildUnnamed1261() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1244(core.List<core.String> o) {
+checkUnnamed1261(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -70,7 +70,7 @@
buildCounterDownloadLineItemsRequest++;
if (buildCounterDownloadLineItemsRequest < 3) {
o.fileSpec = "foo";
- o.filterIds = buildUnnamed1244();
+ o.filterIds = buildUnnamed1261();
o.filterType = "foo";
o.format = "foo";
}
@@ -82,7 +82,7 @@
buildCounterDownloadLineItemsRequest++;
if (buildCounterDownloadLineItemsRequest < 3) {
unittest.expect(o.fileSpec, unittest.equals('foo'));
- checkUnnamed1244(o.filterIds);
+ checkUnnamed1261(o.filterIds);
unittest.expect(o.filterType, unittest.equals('foo'));
unittest.expect(o.format, unittest.equals('foo'));
}
@@ -108,27 +108,27 @@
buildCounterDownloadLineItemsResponse--;
}
-buildUnnamed1245() {
+buildUnnamed1262() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1245(core.List<core.String> o) {
+checkUnnamed1262(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1246() {
+buildUnnamed1263() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1246(core.List<core.String> o) {
+checkUnnamed1263(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -139,8 +139,8 @@
var o = new api.DownloadRequest();
buildCounterDownloadRequest++;
if (buildCounterDownloadRequest < 3) {
- o.fileTypes = buildUnnamed1245();
- o.filterIds = buildUnnamed1246();
+ o.fileTypes = buildUnnamed1262();
+ o.filterIds = buildUnnamed1263();
o.filterType = "foo";
o.version = "foo";
}
@@ -151,8 +151,8 @@
checkDownloadRequest(api.DownloadRequest o) {
buildCounterDownloadRequest++;
if (buildCounterDownloadRequest < 3) {
- checkUnnamed1245(o.fileTypes);
- checkUnnamed1246(o.filterIds);
+ checkUnnamed1262(o.fileTypes);
+ checkUnnamed1263(o.filterIds);
unittest.expect(o.filterType, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
}
@@ -205,14 +205,14 @@
buildCounterFilterPair--;
}
-buildUnnamed1247() {
+buildUnnamed1264() {
var o = new core.List<api.Query>();
o.add(buildQuery());
o.add(buildQuery());
return o;
}
-checkUnnamed1247(core.List<api.Query> o) {
+checkUnnamed1264(core.List<api.Query> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuery(o[0]);
checkQuery(o[1]);
@@ -224,7 +224,7 @@
buildCounterListQueriesResponse++;
if (buildCounterListQueriesResponse < 3) {
o.kind = "foo";
- o.queries = buildUnnamed1247();
+ o.queries = buildUnnamed1264();
}
buildCounterListQueriesResponse--;
return o;
@@ -234,19 +234,19 @@
buildCounterListQueriesResponse++;
if (buildCounterListQueriesResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1247(o.queries);
+ checkUnnamed1264(o.queries);
}
buildCounterListQueriesResponse--;
}
-buildUnnamed1248() {
+buildUnnamed1265() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed1248(core.List<api.Report> o) {
+checkUnnamed1265(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -258,7 +258,7 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
o.kind = "foo";
- o.reports = buildUnnamed1248();
+ o.reports = buildUnnamed1265();
}
buildCounterListReportsResponse--;
return o;
@@ -268,45 +268,45 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1248(o.reports);
+ checkUnnamed1265(o.reports);
}
buildCounterListReportsResponse--;
}
-buildUnnamed1249() {
+buildUnnamed1266() {
var o = new core.List<api.FilterPair>();
o.add(buildFilterPair());
o.add(buildFilterPair());
return o;
}
-checkUnnamed1249(core.List<api.FilterPair> o) {
+checkUnnamed1266(core.List<api.FilterPair> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilterPair(o[0]);
checkFilterPair(o[1]);
}
-buildUnnamed1250() {
+buildUnnamed1267() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1250(core.List<core.String> o) {
+checkUnnamed1267(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1251() {
+buildUnnamed1268() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1251(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'));
@@ -317,10 +317,10 @@
var o = new api.Parameters();
buildCounterParameters++;
if (buildCounterParameters < 3) {
- o.filters = buildUnnamed1249();
- o.groupBys = buildUnnamed1250();
+ o.filters = buildUnnamed1266();
+ o.groupBys = buildUnnamed1267();
o.includeInviteData = true;
- o.metrics = buildUnnamed1251();
+ o.metrics = buildUnnamed1268();
o.type = "foo";
}
buildCounterParameters--;
@@ -330,10 +330,10 @@
checkParameters(api.Parameters o) {
buildCounterParameters++;
if (buildCounterParameters < 3) {
- checkUnnamed1249(o.filters);
- checkUnnamed1250(o.groupBys);
+ checkUnnamed1266(o.filters);
+ checkUnnamed1267(o.groupBys);
unittest.expect(o.includeInviteData, unittest.isTrue);
- checkUnnamed1251(o.metrics);
+ checkUnnamed1268(o.metrics);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterParameters--;
@@ -372,14 +372,14 @@
buildCounterQuery--;
}
-buildUnnamed1252() {
+buildUnnamed1269() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1252(core.List<core.String> o) {
+checkUnnamed1269(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -399,7 +399,7 @@
o.reportCount = 42;
o.running = true;
o.sendNotification = true;
- o.shareEmailAddress = buildUnnamed1252();
+ o.shareEmailAddress = buildUnnamed1269();
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);
- checkUnnamed1252(o.shareEmailAddress);
+ checkUnnamed1269(o.shareEmailAddress);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterQueryMetadata--;
@@ -562,14 +562,14 @@
buildCounterReportStatus--;
}
-buildUnnamed1253() {
+buildUnnamed1270() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1253(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'));
@@ -583,7 +583,7 @@
o.changed = true;
o.entityId = "foo";
o.entityName = "foo";
- o.errors = buildUnnamed1253();
+ o.errors = buildUnnamed1270();
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'));
- checkUnnamed1253(o.errors);
+ checkUnnamed1270(o.errors);
unittest.expect(o.persisted, unittest.isTrue);
unittest.expect(o.rowNumber, unittest.equals(42));
}
@@ -671,27 +671,27 @@
buildCounterUploadLineItemsResponse--;
}
-buildUnnamed1254() {
+buildUnnamed1271() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1254(core.List<core.String> o) {
+checkUnnamed1271(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1255() {
+buildUnnamed1272() {
var o = new core.List<api.RowStatus>();
o.add(buildRowStatus());
o.add(buildRowStatus());
return o;
}
-checkUnnamed1255(core.List<api.RowStatus> o) {
+checkUnnamed1272(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 = buildUnnamed1254();
- o.rowStatus = buildUnnamed1255();
+ o.errors = buildUnnamed1271();
+ o.rowStatus = buildUnnamed1272();
}
buildCounterUploadStatus--;
return o;
@@ -712,8 +712,8 @@
checkUploadStatus(api.UploadStatus o) {
buildCounterUploadStatus++;
if (buildCounterUploadStatus < 3) {
- checkUnnamed1254(o.errors);
- checkUnnamed1255(o.rowStatus);
+ checkUnnamed1271(o.errors);
+ checkUnnamed1272(o.rowStatus);
}
buildCounterUploadStatus--;
}
diff --git a/generated/googleapis/test/doubleclicksearch/v2_test.dart b/generated/googleapis/test/doubleclicksearch/v2_test.dart
index 3d5ade4..6a10df0 100644
--- a/generated/googleapis/test/doubleclicksearch/v2_test.dart
+++ b/generated/googleapis/test/doubleclicksearch/v2_test.dart
@@ -80,27 +80,27 @@
buildCounterAvailability--;
}
-buildUnnamed1426() {
+buildUnnamed1443() {
var o = new core.List<api.CustomDimension>();
o.add(buildCustomDimension());
o.add(buildCustomDimension());
return o;
}
-checkUnnamed1426(core.List<api.CustomDimension> o) {
+checkUnnamed1443(core.List<api.CustomDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDimension(o[0]);
checkCustomDimension(o[1]);
}
-buildUnnamed1427() {
+buildUnnamed1444() {
var o = new core.List<api.CustomMetric>();
o.add(buildCustomMetric());
o.add(buildCustomMetric());
return o;
}
-checkUnnamed1427(core.List<api.CustomMetric> o) {
+checkUnnamed1444(core.List<api.CustomMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomMetric(o[0]);
checkCustomMetric(o[1]);
@@ -125,8 +125,8 @@
o.countMillis = "foo";
o.criterionId = "foo";
o.currencyCode = "foo";
- o.customDimension = buildUnnamed1426();
- o.customMetric = buildUnnamed1427();
+ o.customDimension = buildUnnamed1443();
+ o.customMetric = buildUnnamed1444();
o.deviceType = "foo";
o.dsConversionId = "foo";
o.engineAccountId = "foo";
@@ -166,8 +166,8 @@
unittest.expect(o.countMillis, unittest.equals('foo'));
unittest.expect(o.criterionId, unittest.equals('foo'));
unittest.expect(o.currencyCode, unittest.equals('foo'));
- checkUnnamed1426(o.customDimension);
- checkUnnamed1427(o.customMetric);
+ checkUnnamed1443(o.customDimension);
+ checkUnnamed1444(o.customMetric);
unittest.expect(o.deviceType, unittest.equals('foo'));
unittest.expect(o.dsConversionId, unittest.equals('foo'));
unittest.expect(o.engineAccountId, unittest.equals('foo'));
@@ -189,14 +189,14 @@
buildCounterConversion--;
}
-buildUnnamed1428() {
+buildUnnamed1445() {
var o = new core.List<api.Conversion>();
o.add(buildConversion());
o.add(buildConversion());
return o;
}
-checkUnnamed1428(core.List<api.Conversion> o) {
+checkUnnamed1445(core.List<api.Conversion> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversion(o[0]);
checkConversion(o[1]);
@@ -207,7 +207,7 @@
var o = new api.ConversionList();
buildCounterConversionList++;
if (buildCounterConversionList < 3) {
- o.conversion = buildUnnamed1428();
+ o.conversion = buildUnnamed1445();
o.kind = "foo";
}
buildCounterConversionList--;
@@ -217,7 +217,7 @@
checkConversionList(api.ConversionList o) {
buildCounterConversionList++;
if (buildCounterConversionList < 3) {
- checkUnnamed1428(o.conversion);
+ checkUnnamed1445(o.conversion);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionList--;
@@ -286,27 +286,27 @@
buildCounterReportFiles--;
}
-buildUnnamed1429() {
+buildUnnamed1446() {
var o = new core.List<api.ReportFiles>();
o.add(buildReportFiles());
o.add(buildReportFiles());
return o;
}
-checkUnnamed1429(core.List<api.ReportFiles> o) {
+checkUnnamed1446(core.List<api.ReportFiles> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportFiles(o[0]);
checkReportFiles(o[1]);
}
-buildUnnamed1430() {
+buildUnnamed1447() {
var o = new core.List<api.ReportRow>();
o.add(buildReportRow());
o.add(buildReportRow());
return o;
}
-checkUnnamed1430(core.List<api.ReportRow> o) {
+checkUnnamed1447(core.List<api.ReportRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRow(o[0]);
checkReportRow(o[1]);
@@ -317,13 +317,13 @@
var o = new api.Report();
buildCounterReport++;
if (buildCounterReport < 3) {
- o.files = buildUnnamed1429();
+ o.files = buildUnnamed1446();
o.id = "foo";
o.isReportReady = true;
o.kind = "foo";
o.request = buildReportRequest();
o.rowCount = 42;
- o.rows = buildUnnamed1430();
+ o.rows = buildUnnamed1447();
o.statisticsCurrencyCode = "foo";
o.statisticsTimeZone = "foo";
}
@@ -334,13 +334,13 @@
checkReport(api.Report o) {
buildCounterReport++;
if (buildCounterReport < 3) {
- checkUnnamed1429(o.files);
+ checkUnnamed1446(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));
- checkUnnamed1430(o.rows);
+ checkUnnamed1447(o.rows);
unittest.expect(o.statisticsCurrencyCode, unittest.equals('foo'));
unittest.expect(o.statisticsTimeZone, unittest.equals('foo'));
}
@@ -384,27 +384,27 @@
buildCounterReportApiColumnSpec--;
}
-buildUnnamed1431() {
+buildUnnamed1448() {
var o = new core.List<api.ReportApiColumnSpec>();
o.add(buildReportApiColumnSpec());
o.add(buildReportApiColumnSpec());
return o;
}
-checkUnnamed1431(core.List<api.ReportApiColumnSpec> o) {
+checkUnnamed1448(core.List<api.ReportApiColumnSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportApiColumnSpec(o[0]);
checkReportApiColumnSpec(o[1]);
}
-buildUnnamed1432() {
+buildUnnamed1449() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1432(core.List<core.Object> o) {
+checkUnnamed1449(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
@@ -417,7 +417,7 @@
if (buildCounterReportRequestFilters < 3) {
o.column = buildReportApiColumnSpec();
o.operator = "foo";
- o.values = buildUnnamed1432();
+ o.values = buildUnnamed1449();
}
buildCounterReportRequestFilters--;
return o;
@@ -428,19 +428,19 @@
if (buildCounterReportRequestFilters < 3) {
checkReportApiColumnSpec(o.column);
unittest.expect(o.operator, unittest.equals('foo'));
- checkUnnamed1432(o.values);
+ checkUnnamed1449(o.values);
}
buildCounterReportRequestFilters--;
}
-buildUnnamed1433() {
+buildUnnamed1450() {
var o = new core.List<api.ReportRequestFilters>();
o.add(buildReportRequestFilters());
o.add(buildReportRequestFilters());
return o;
}
-checkUnnamed1433(core.List<api.ReportRequestFilters> o) {
+checkUnnamed1450(core.List<api.ReportRequestFilters> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRequestFilters(o[0]);
checkReportRequestFilters(o[1]);
@@ -467,14 +467,14 @@
buildCounterReportRequestOrderBy--;
}
-buildUnnamed1434() {
+buildUnnamed1451() {
var o = new core.List<api.ReportRequestOrderBy>();
o.add(buildReportRequestOrderBy());
o.add(buildReportRequestOrderBy());
return o;
}
-checkUnnamed1434(core.List<api.ReportRequestOrderBy> o) {
+checkUnnamed1451(core.List<api.ReportRequestOrderBy> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRequestOrderBy(o[0]);
checkReportRequestOrderBy(o[1]);
@@ -541,13 +541,13 @@
var o = new api.ReportRequest();
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- o.columns = buildUnnamed1431();
+ o.columns = buildUnnamed1448();
o.downloadFormat = "foo";
- o.filters = buildUnnamed1433();
+ o.filters = buildUnnamed1450();
o.includeDeletedEntities = true;
o.includeRemovedEntities = true;
o.maxRowsPerFile = 42;
- o.orderBy = buildUnnamed1434();
+ o.orderBy = buildUnnamed1451();
o.reportScope = buildReportRequestReportScope();
o.reportType = "foo";
o.rowCount = 42;
@@ -563,13 +563,13 @@
checkReportRequest(api.ReportRequest o) {
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- checkUnnamed1431(o.columns);
+ checkUnnamed1448(o.columns);
unittest.expect(o.downloadFormat, unittest.equals('foo'));
- checkUnnamed1433(o.filters);
+ checkUnnamed1450(o.filters);
unittest.expect(o.includeDeletedEntities, unittest.isTrue);
unittest.expect(o.includeRemovedEntities, unittest.isTrue);
unittest.expect(o.maxRowsPerFile, unittest.equals(42));
- checkUnnamed1434(o.orderBy);
+ checkUnnamed1451(o.orderBy);
checkReportRequestReportScope(o.reportScope);
unittest.expect(o.reportType, unittest.equals('foo'));
unittest.expect(o.rowCount, unittest.equals(42));
@@ -617,14 +617,14 @@
buildCounterSavedColumn--;
}
-buildUnnamed1435() {
+buildUnnamed1452() {
var o = new core.List<api.SavedColumn>();
o.add(buildSavedColumn());
o.add(buildSavedColumn());
return o;
}
-checkUnnamed1435(core.List<api.SavedColumn> o) {
+checkUnnamed1452(core.List<api.SavedColumn> o) {
unittest.expect(o, unittest.hasLength(2));
checkSavedColumn(o[0]);
checkSavedColumn(o[1]);
@@ -635,7 +635,7 @@
var o = new api.SavedColumnList();
buildCounterSavedColumnList++;
if (buildCounterSavedColumnList < 3) {
- o.items = buildUnnamed1435();
+ o.items = buildUnnamed1452();
o.kind = "foo";
}
buildCounterSavedColumnList--;
@@ -645,20 +645,20 @@
checkSavedColumnList(api.SavedColumnList o) {
buildCounterSavedColumnList++;
if (buildCounterSavedColumnList < 3) {
- checkUnnamed1435(o.items);
+ checkUnnamed1452(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSavedColumnList--;
}
-buildUnnamed1436() {
+buildUnnamed1453() {
var o = new core.List<api.Availability>();
o.add(buildAvailability());
o.add(buildAvailability());
return o;
}
-checkUnnamed1436(core.List<api.Availability> o) {
+checkUnnamed1453(core.List<api.Availability> o) {
unittest.expect(o, unittest.hasLength(2));
checkAvailability(o[0]);
checkAvailability(o[1]);
@@ -669,7 +669,7 @@
var o = new api.UpdateAvailabilityRequest();
buildCounterUpdateAvailabilityRequest++;
if (buildCounterUpdateAvailabilityRequest < 3) {
- o.availabilities = buildUnnamed1436();
+ o.availabilities = buildUnnamed1453();
}
buildCounterUpdateAvailabilityRequest--;
return o;
@@ -678,19 +678,19 @@
checkUpdateAvailabilityRequest(api.UpdateAvailabilityRequest o) {
buildCounterUpdateAvailabilityRequest++;
if (buildCounterUpdateAvailabilityRequest < 3) {
- checkUnnamed1436(o.availabilities);
+ checkUnnamed1453(o.availabilities);
}
buildCounterUpdateAvailabilityRequest--;
}
-buildUnnamed1437() {
+buildUnnamed1454() {
var o = new core.List<api.Availability>();
o.add(buildAvailability());
o.add(buildAvailability());
return o;
}
-checkUnnamed1437(core.List<api.Availability> o) {
+checkUnnamed1454(core.List<api.Availability> o) {
unittest.expect(o, unittest.hasLength(2));
checkAvailability(o[0]);
checkAvailability(o[1]);
@@ -701,7 +701,7 @@
var o = new api.UpdateAvailabilityResponse();
buildCounterUpdateAvailabilityResponse++;
if (buildCounterUpdateAvailabilityResponse < 3) {
- o.availabilities = buildUnnamed1437();
+ o.availabilities = buildUnnamed1454();
}
buildCounterUpdateAvailabilityResponse--;
return o;
@@ -710,7 +710,7 @@
checkUpdateAvailabilityResponse(api.UpdateAvailabilityResponse o) {
buildCounterUpdateAvailabilityResponse++;
if (buildCounterUpdateAvailabilityResponse < 3) {
- checkUnnamed1437(o.availabilities);
+ checkUnnamed1454(o.availabilities);
}
buildCounterUpdateAvailabilityResponse--;
}
diff --git a/generated/googleapis/test/drive/v2_test.dart b/generated/googleapis/test/drive/v2_test.dart
index 1bf801e..75b6278 100644
--- a/generated/googleapis/test/drive/v2_test.dart
+++ b/generated/googleapis/test/drive/v2_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed686() {
+buildUnnamed703() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed686(core.List<core.String> 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'));
@@ -69,7 +69,7 @@
var o = new api.AboutAdditionalRoleInfoRoleSets();
buildCounterAboutAdditionalRoleInfoRoleSets++;
if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) {
- o.additionalRoles = buildUnnamed686();
+ o.additionalRoles = buildUnnamed703();
o.primaryRole = "foo";
}
buildCounterAboutAdditionalRoleInfoRoleSets--;
@@ -79,20 +79,20 @@
checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) {
buildCounterAboutAdditionalRoleInfoRoleSets++;
if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) {
- checkUnnamed686(o.additionalRoles);
+ checkUnnamed703(o.additionalRoles);
unittest.expect(o.primaryRole, unittest.equals('foo'));
}
buildCounterAboutAdditionalRoleInfoRoleSets--;
}
-buildUnnamed687() {
+buildUnnamed704() {
var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>();
o.add(buildAboutAdditionalRoleInfoRoleSets());
o.add(buildAboutAdditionalRoleInfoRoleSets());
return o;
}
-checkUnnamed687(core.List<api.AboutAdditionalRoleInfoRoleSets> o) {
+checkUnnamed704(core.List<api.AboutAdditionalRoleInfoRoleSets> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutAdditionalRoleInfoRoleSets(o[0]);
checkAboutAdditionalRoleInfoRoleSets(o[1]);
@@ -103,7 +103,7 @@
var o = new api.AboutAdditionalRoleInfo();
buildCounterAboutAdditionalRoleInfo++;
if (buildCounterAboutAdditionalRoleInfo < 3) {
- o.roleSets = buildUnnamed687();
+ o.roleSets = buildUnnamed704();
o.type = "foo";
}
buildCounterAboutAdditionalRoleInfo--;
@@ -113,33 +113,33 @@
checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) {
buildCounterAboutAdditionalRoleInfo++;
if (buildCounterAboutAdditionalRoleInfo < 3) {
- checkUnnamed687(o.roleSets);
+ checkUnnamed704(o.roleSets);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterAboutAdditionalRoleInfo--;
}
-buildUnnamed688() {
+buildUnnamed705() {
var o = new core.List<api.AboutAdditionalRoleInfo>();
o.add(buildAboutAdditionalRoleInfo());
o.add(buildAboutAdditionalRoleInfo());
return o;
}
-checkUnnamed688(core.List<api.AboutAdditionalRoleInfo> o) {
+checkUnnamed705(core.List<api.AboutAdditionalRoleInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutAdditionalRoleInfo(o[0]);
checkAboutAdditionalRoleInfo(o[1]);
}
-buildUnnamed689() {
+buildUnnamed706() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed689(core.List<core.String> 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'));
@@ -151,7 +151,7 @@
buildCounterAboutExportFormats++;
if (buildCounterAboutExportFormats < 3) {
o.source = "foo";
- o.targets = buildUnnamed689();
+ o.targets = buildUnnamed706();
}
buildCounterAboutExportFormats--;
return o;
@@ -161,19 +161,19 @@
buildCounterAboutExportFormats++;
if (buildCounterAboutExportFormats < 3) {
unittest.expect(o.source, unittest.equals('foo'));
- checkUnnamed689(o.targets);
+ checkUnnamed706(o.targets);
}
buildCounterAboutExportFormats--;
}
-buildUnnamed690() {
+buildUnnamed707() {
var o = new core.List<api.AboutExportFormats>();
o.add(buildAboutExportFormats());
o.add(buildAboutExportFormats());
return o;
}
-checkUnnamed690(core.List<api.AboutExportFormats> o) {
+checkUnnamed707(core.List<api.AboutExportFormats> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutExportFormats(o[0]);
checkAboutExportFormats(o[1]);
@@ -200,40 +200,40 @@
buildCounterAboutFeatures--;
}
-buildUnnamed691() {
+buildUnnamed708() {
var o = new core.List<api.AboutFeatures>();
o.add(buildAboutFeatures());
o.add(buildAboutFeatures());
return o;
}
-checkUnnamed691(core.List<api.AboutFeatures> o) {
+checkUnnamed708(core.List<api.AboutFeatures> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutFeatures(o[0]);
checkAboutFeatures(o[1]);
}
-buildUnnamed692() {
+buildUnnamed709() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed692(core.List<core.String> 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'));
}
-buildUnnamed693() {
+buildUnnamed710() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed693(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'));
@@ -245,7 +245,7 @@
buildCounterAboutImportFormats++;
if (buildCounterAboutImportFormats < 3) {
o.source = "foo";
- o.targets = buildUnnamed693();
+ o.targets = buildUnnamed710();
}
buildCounterAboutImportFormats--;
return o;
@@ -255,19 +255,19 @@
buildCounterAboutImportFormats++;
if (buildCounterAboutImportFormats < 3) {
unittest.expect(o.source, unittest.equals('foo'));
- checkUnnamed693(o.targets);
+ checkUnnamed710(o.targets);
}
buildCounterAboutImportFormats--;
}
-buildUnnamed694() {
+buildUnnamed711() {
var o = new core.List<api.AboutImportFormats>();
o.add(buildAboutImportFormats());
o.add(buildAboutImportFormats());
return o;
}
-checkUnnamed694(core.List<api.AboutImportFormats> o) {
+checkUnnamed711(core.List<api.AboutImportFormats> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutImportFormats(o[0]);
checkAboutImportFormats(o[1]);
@@ -294,14 +294,14 @@
buildCounterAboutMaxUploadSizes--;
}
-buildUnnamed695() {
+buildUnnamed712() {
var o = new core.List<api.AboutMaxUploadSizes>();
o.add(buildAboutMaxUploadSizes());
o.add(buildAboutMaxUploadSizes());
return o;
}
-checkUnnamed695(core.List<api.AboutMaxUploadSizes> o) {
+checkUnnamed712(core.List<api.AboutMaxUploadSizes> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutMaxUploadSizes(o[0]);
checkAboutMaxUploadSizes(o[1]);
@@ -328,14 +328,14 @@
buildCounterAboutQuotaBytesByService--;
}
-buildUnnamed696() {
+buildUnnamed713() {
var o = new core.List<api.AboutQuotaBytesByService>();
o.add(buildAboutQuotaBytesByService());
o.add(buildAboutQuotaBytesByService());
return o;
}
-checkUnnamed696(core.List<api.AboutQuotaBytesByService> o) {
+checkUnnamed713(core.List<api.AboutQuotaBytesByService> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutQuotaBytesByService(o[0]);
checkAboutQuotaBytesByService(o[1]);
@@ -364,14 +364,14 @@
buildCounterAboutTeamDriveThemes--;
}
-buildUnnamed697() {
+buildUnnamed714() {
var o = new core.List<api.AboutTeamDriveThemes>();
o.add(buildAboutTeamDriveThemes());
o.add(buildAboutTeamDriveThemes());
return o;
}
-checkUnnamed697(core.List<api.AboutTeamDriveThemes> o) {
+checkUnnamed714(core.List<api.AboutTeamDriveThemes> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutTeamDriveThemes(o[0]);
checkAboutTeamDriveThemes(o[1]);
@@ -382,21 +382,21 @@
var o = new api.About();
buildCounterAbout++;
if (buildCounterAbout < 3) {
- o.additionalRoleInfo = buildUnnamed688();
+ o.additionalRoleInfo = buildUnnamed705();
o.domainSharingPolicy = "foo";
o.etag = "foo";
- o.exportFormats = buildUnnamed690();
- o.features = buildUnnamed691();
- o.folderColorPalette = buildUnnamed692();
- o.importFormats = buildUnnamed694();
+ o.exportFormats = buildUnnamed707();
+ o.features = buildUnnamed708();
+ o.folderColorPalette = buildUnnamed709();
+ o.importFormats = buildUnnamed711();
o.isCurrentAppInstalled = true;
o.kind = "foo";
o.languageCode = "foo";
o.largestChangeId = "foo";
- o.maxUploadSizes = buildUnnamed695();
+ o.maxUploadSizes = buildUnnamed712();
o.name = "foo";
o.permissionId = "foo";
- o.quotaBytesByService = buildUnnamed696();
+ o.quotaBytesByService = buildUnnamed713();
o.quotaBytesTotal = "foo";
o.quotaBytesUsed = "foo";
o.quotaBytesUsedAggregate = "foo";
@@ -405,7 +405,7 @@
o.remainingChangeIds = "foo";
o.rootFolderId = "foo";
o.selfLink = "foo";
- o.teamDriveThemes = buildUnnamed697();
+ o.teamDriveThemes = buildUnnamed714();
o.user = buildUser();
}
buildCounterAbout--;
@@ -415,21 +415,21 @@
checkAbout(api.About o) {
buildCounterAbout++;
if (buildCounterAbout < 3) {
- checkUnnamed688(o.additionalRoleInfo);
+ checkUnnamed705(o.additionalRoleInfo);
unittest.expect(o.domainSharingPolicy, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed690(o.exportFormats);
- checkUnnamed691(o.features);
- checkUnnamed692(o.folderColorPalette);
- checkUnnamed694(o.importFormats);
+ checkUnnamed707(o.exportFormats);
+ checkUnnamed708(o.features);
+ checkUnnamed709(o.folderColorPalette);
+ checkUnnamed711(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'));
- checkUnnamed695(o.maxUploadSizes);
+ checkUnnamed712(o.maxUploadSizes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.permissionId, unittest.equals('foo'));
- checkUnnamed696(o.quotaBytesByService);
+ checkUnnamed713(o.quotaBytesByService);
unittest.expect(o.quotaBytesTotal, unittest.equals('foo'));
unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
unittest.expect(o.quotaBytesUsedAggregate, unittest.equals('foo'));
@@ -438,7 +438,7 @@
unittest.expect(o.remainingChangeIds, unittest.equals('foo'));
unittest.expect(o.rootFolderId, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed697(o.teamDriveThemes);
+ checkUnnamed714(o.teamDriveThemes);
checkUser(o.user);
}
buildCounterAbout--;
@@ -467,66 +467,66 @@
buildCounterAppIcons--;
}
-buildUnnamed698() {
+buildUnnamed715() {
var o = new core.List<api.AppIcons>();
o.add(buildAppIcons());
o.add(buildAppIcons());
return o;
}
-checkUnnamed698(core.List<api.AppIcons> o) {
+checkUnnamed715(core.List<api.AppIcons> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppIcons(o[0]);
checkAppIcons(o[1]);
}
-buildUnnamed699() {
+buildUnnamed716() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed699(core.List<core.String> o) {
+checkUnnamed716(core.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() {
+buildUnnamed717() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed700(core.List<core.String> o) {
+checkUnnamed717(core.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() {
+buildUnnamed718() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed701(core.List<core.String> o) {
+checkUnnamed718(core.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() {
+buildUnnamed719() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed702(core.List<core.String> o) {
+checkUnnamed719(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -541,7 +541,7 @@
o.createInFolderTemplate = "foo";
o.createUrl = "foo";
o.hasDriveWideScope = true;
- o.icons = buildUnnamed698();
+ o.icons = buildUnnamed715();
o.id = "foo";
o.installed = true;
o.kind = "foo";
@@ -549,12 +549,12 @@
o.name = "foo";
o.objectType = "foo";
o.openUrlTemplate = "foo";
- o.primaryFileExtensions = buildUnnamed699();
- o.primaryMimeTypes = buildUnnamed700();
+ o.primaryFileExtensions = buildUnnamed716();
+ o.primaryMimeTypes = buildUnnamed717();
o.productId = "foo";
o.productUrl = "foo";
- o.secondaryFileExtensions = buildUnnamed701();
- o.secondaryMimeTypes = buildUnnamed702();
+ o.secondaryFileExtensions = buildUnnamed718();
+ o.secondaryMimeTypes = buildUnnamed719();
o.shortDescription = "foo";
o.supportsCreate = true;
o.supportsImport = true;
@@ -573,7 +573,7 @@
unittest.expect(o.createInFolderTemplate, unittest.equals('foo'));
unittest.expect(o.createUrl, unittest.equals('foo'));
unittest.expect(o.hasDriveWideScope, unittest.isTrue);
- checkUnnamed698(o.icons);
+ checkUnnamed715(o.icons);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.installed, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -581,12 +581,12 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
unittest.expect(o.openUrlTemplate, unittest.equals('foo'));
- checkUnnamed699(o.primaryFileExtensions);
- checkUnnamed700(o.primaryMimeTypes);
+ checkUnnamed716(o.primaryFileExtensions);
+ checkUnnamed717(o.primaryMimeTypes);
unittest.expect(o.productId, unittest.equals('foo'));
unittest.expect(o.productUrl, unittest.equals('foo'));
- checkUnnamed701(o.secondaryFileExtensions);
- checkUnnamed702(o.secondaryMimeTypes);
+ checkUnnamed718(o.secondaryFileExtensions);
+ checkUnnamed719(o.secondaryMimeTypes);
unittest.expect(o.shortDescription, unittest.equals('foo'));
unittest.expect(o.supportsCreate, unittest.isTrue);
unittest.expect(o.supportsImport, unittest.isTrue);
@@ -597,27 +597,27 @@
buildCounterApp--;
}
-buildUnnamed703() {
+buildUnnamed720() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed703(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'));
}
-buildUnnamed704() {
+buildUnnamed721() {
var o = new core.List<api.App>();
o.add(buildApp());
o.add(buildApp());
return o;
}
-checkUnnamed704(core.List<api.App> o) {
+checkUnnamed721(core.List<api.App> o) {
unittest.expect(o, unittest.hasLength(2));
checkApp(o[0]);
checkApp(o[1]);
@@ -628,9 +628,9 @@
var o = new api.AppList();
buildCounterAppList++;
if (buildCounterAppList < 3) {
- o.defaultAppIds = buildUnnamed703();
+ o.defaultAppIds = buildUnnamed720();
o.etag = "foo";
- o.items = buildUnnamed704();
+ o.items = buildUnnamed721();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -641,9 +641,9 @@
checkAppList(api.AppList o) {
buildCounterAppList++;
if (buildCounterAppList < 3) {
- checkUnnamed703(o.defaultAppIds);
+ checkUnnamed720(o.defaultAppIds);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed704(o.items);
+ checkUnnamed721(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
@@ -687,14 +687,14 @@
buildCounterChange--;
}
-buildUnnamed705() {
+buildUnnamed722() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed705(core.List<api.Change> o) {
+checkUnnamed722(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 = buildUnnamed705();
+ o.items = buildUnnamed722();
o.kind = "foo";
o.largestChangeId = "foo";
o.newStartPageToken = "foo";
@@ -722,7 +722,7 @@
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed705(o.items);
+ checkUnnamed722(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--;
}
-buildUnnamed706() {
+buildUnnamed723() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed706(core.Map<core.String, core.String> o) {
+checkUnnamed723(core.Map<core.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 = buildUnnamed706();
+ o.params = buildUnnamed723();
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'));
- checkUnnamed706(o.params);
+ checkUnnamed723(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--;
}
-buildUnnamed707() {
+buildUnnamed724() {
var o = new core.List<api.ChildReference>();
o.add(buildChildReference());
o.add(buildChildReference());
return o;
}
-checkUnnamed707(core.List<api.ChildReference> o) {
+checkUnnamed724(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 = buildUnnamed707();
+ o.items = buildUnnamed724();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -816,7 +816,7 @@
buildCounterChildList++;
if (buildCounterChildList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed707(o.items);
+ checkUnnamed724(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--;
}
-buildUnnamed708() {
+buildUnnamed725() {
var o = new core.List<api.CommentReply>();
o.add(buildCommentReply());
o.add(buildCommentReply());
return o;
}
-checkUnnamed708(core.List<api.CommentReply> o) {
+checkUnnamed725(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 = buildUnnamed708();
+ o.replies = buildUnnamed725();
o.selfLink = "foo";
o.status = "foo";
}
@@ -924,21 +924,21 @@
unittest.expect(o.htmlContent, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed708(o.replies);
+ checkUnnamed725(o.replies);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterComment--;
}
-buildUnnamed709() {
+buildUnnamed726() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed709(core.List<api.Comment> o) {
+checkUnnamed726(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -949,7 +949,7 @@
var o = new api.CommentList();
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- o.items = buildUnnamed709();
+ o.items = buildUnnamed726();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -962,7 +962,7 @@
checkCommentList(api.CommentList o) {
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- checkUnnamed709(o.items);
+ checkUnnamed726(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1006,14 +1006,14 @@
buildCounterCommentReply--;
}
-buildUnnamed710() {
+buildUnnamed727() {
var o = new core.List<api.CommentReply>();
o.add(buildCommentReply());
o.add(buildCommentReply());
return o;
}
-checkUnnamed710(core.List<api.CommentReply> o) {
+checkUnnamed727(core.List<api.CommentReply> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentReply(o[0]);
checkCommentReply(o[1]);
@@ -1024,7 +1024,7 @@
var o = new api.CommentReplyList();
buildCounterCommentReplyList++;
if (buildCounterCommentReplyList < 3) {
- o.items = buildUnnamed710();
+ o.items = buildUnnamed727();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1037,7 +1037,7 @@
checkCommentReplyList(api.CommentReplyList o) {
buildCounterCommentReplyList++;
if (buildCounterCommentReplyList < 3) {
- checkUnnamed710(o.items);
+ checkUnnamed727(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1097,14 +1097,14 @@
buildCounterFileCapabilities--;
}
-buildUnnamed711() {
+buildUnnamed728() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed711(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'));
@@ -1240,92 +1240,92 @@
buildCounterFileLabels--;
}
-buildUnnamed712() {
+buildUnnamed729() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed712(core.Map<core.String, core.String> o) {
+checkUnnamed729(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed713() {
+buildUnnamed730() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed713(core.List<core.String> o) {
+checkUnnamed730(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed714() {
+buildUnnamed731() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed714(core.List<api.User> o) {
+checkUnnamed731(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
}
-buildUnnamed715() {
+buildUnnamed732() {
var o = new core.List<api.ParentReference>();
o.add(buildParentReference());
o.add(buildParentReference());
return o;
}
-checkUnnamed715(core.List<api.ParentReference> o) {
+checkUnnamed732(core.List<api.ParentReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkParentReference(o[0]);
checkParentReference(o[1]);
}
-buildUnnamed716() {
+buildUnnamed733() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed716(core.List<api.Permission> o) {
+checkUnnamed733(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
}
-buildUnnamed717() {
+buildUnnamed734() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed717(core.List<api.Property> o) {
+checkUnnamed734(core.List<api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o[0]);
checkProperty(o[1]);
}
-buildUnnamed718() {
+buildUnnamed735() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed718(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'));
@@ -1394,7 +1394,7 @@
o.embedLink = "foo";
o.etag = "foo";
o.explicitlyTrashed = true;
- o.exportLinks = buildUnnamed711();
+ o.exportLinks = buildUnnamed728();
o.fileExtension = "foo";
o.fileSize = "foo";
o.folderColorRgb = "foo";
@@ -1417,21 +1417,21 @@
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 = buildUnnamed712();
+ o.openWithLinks = buildUnnamed729();
o.originalFilename = "foo";
o.ownedByMe = true;
- o.ownerNames = buildUnnamed713();
- o.owners = buildUnnamed714();
- o.parents = buildUnnamed715();
- o.permissions = buildUnnamed716();
- o.properties = buildUnnamed717();
+ o.ownerNames = buildUnnamed730();
+ o.owners = buildUnnamed731();
+ o.parents = buildUnnamed732();
+ o.permissions = buildUnnamed733();
+ o.properties = buildUnnamed734();
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 = buildUnnamed718();
+ o.spaces = buildUnnamed735();
o.teamDriveId = "foo";
o.thumbnail = buildFileThumbnail();
o.thumbnailLink = "foo";
@@ -1467,7 +1467,7 @@
unittest.expect(o.embedLink, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.explicitlyTrashed, unittest.isTrue);
- checkUnnamed711(o.exportLinks);
+ checkUnnamed728(o.exportLinks);
unittest.expect(o.fileExtension, unittest.equals('foo'));
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.folderColorRgb, unittest.equals('foo'));
@@ -1490,21 +1490,21 @@
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.modifiedByMeDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed712(o.openWithLinks);
+ checkUnnamed729(o.openWithLinks);
unittest.expect(o.originalFilename, unittest.equals('foo'));
unittest.expect(o.ownedByMe, unittest.isTrue);
- checkUnnamed713(o.ownerNames);
- checkUnnamed714(o.owners);
- checkUnnamed715(o.parents);
- checkUnnamed716(o.permissions);
- checkUnnamed717(o.properties);
+ checkUnnamed730(o.ownerNames);
+ checkUnnamed731(o.owners);
+ checkUnnamed732(o.parents);
+ checkUnnamed733(o.permissions);
+ checkUnnamed734(o.properties);
unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.shareable, unittest.isTrue);
unittest.expect(o.shared, unittest.isTrue);
unittest.expect(o.sharedWithMeDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkUser(o.sharingUser);
- checkUnnamed718(o.spaces);
+ checkUnnamed735(o.spaces);
unittest.expect(o.teamDriveId, unittest.equals('foo'));
checkFileThumbnail(o.thumbnail);
unittest.expect(o.thumbnailLink, unittest.equals('foo'));
@@ -1522,14 +1522,14 @@
buildCounterFile--;
}
-buildUnnamed719() {
+buildUnnamed736() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed719(core.List<api.File> o) {
+checkUnnamed736(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -1542,7 +1542,7 @@
if (buildCounterFileList < 3) {
o.etag = "foo";
o.incompleteSearch = true;
- o.items = buildUnnamed719();
+ o.items = buildUnnamed736();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1557,7 +1557,7 @@
if (buildCounterFileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.incompleteSearch, unittest.isTrue);
- checkUnnamed719(o.items);
+ checkUnnamed736(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1566,14 +1566,14 @@
buildCounterFileList--;
}
-buildUnnamed720() {
+buildUnnamed737() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed720(core.List<core.String> o) {
+checkUnnamed737(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1584,7 +1584,7 @@
var o = new api.GeneratedIds();
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- o.ids = buildUnnamed720();
+ o.ids = buildUnnamed737();
o.kind = "foo";
o.space = "foo";
}
@@ -1595,21 +1595,21 @@
checkGeneratedIds(api.GeneratedIds o) {
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- checkUnnamed720(o.ids);
+ checkUnnamed737(o.ids);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.space, unittest.equals('foo'));
}
buildCounterGeneratedIds--;
}
-buildUnnamed721() {
+buildUnnamed738() {
var o = new core.List<api.ParentReference>();
o.add(buildParentReference());
o.add(buildParentReference());
return o;
}
-checkUnnamed721(core.List<api.ParentReference> o) {
+checkUnnamed738(core.List<api.ParentReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkParentReference(o[0]);
checkParentReference(o[1]);
@@ -1621,7 +1621,7 @@
buildCounterParentList++;
if (buildCounterParentList < 3) {
o.etag = "foo";
- o.items = buildUnnamed721();
+ o.items = buildUnnamed738();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -1633,7 +1633,7 @@
buildCounterParentList++;
if (buildCounterParentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed721(o.items);
+ checkUnnamed738(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
@@ -1667,27 +1667,27 @@
buildCounterParentReference--;
}
-buildUnnamed722() {
+buildUnnamed739() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed722(core.List<core.String> o) {
+checkUnnamed739(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed723() {
+buildUnnamed740() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed723(core.List<core.String> o) {
+checkUnnamed740(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1698,7 +1698,7 @@
var o = new api.PermissionTeamDrivePermissionDetails();
buildCounterPermissionTeamDrivePermissionDetails++;
if (buildCounterPermissionTeamDrivePermissionDetails < 3) {
- o.additionalRoles = buildUnnamed723();
+ o.additionalRoles = buildUnnamed740();
o.inherited = true;
o.inheritedFrom = "foo";
o.role = "foo";
@@ -1711,7 +1711,7 @@
checkPermissionTeamDrivePermissionDetails(api.PermissionTeamDrivePermissionDetails o) {
buildCounterPermissionTeamDrivePermissionDetails++;
if (buildCounterPermissionTeamDrivePermissionDetails < 3) {
- checkUnnamed723(o.additionalRoles);
+ checkUnnamed740(o.additionalRoles);
unittest.expect(o.inherited, unittest.isTrue);
unittest.expect(o.inheritedFrom, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
@@ -1720,14 +1720,14 @@
buildCounterPermissionTeamDrivePermissionDetails--;
}
-buildUnnamed724() {
+buildUnnamed741() {
var o = new core.List<api.PermissionTeamDrivePermissionDetails>();
o.add(buildPermissionTeamDrivePermissionDetails());
o.add(buildPermissionTeamDrivePermissionDetails());
return o;
}
-checkUnnamed724(core.List<api.PermissionTeamDrivePermissionDetails> o) {
+checkUnnamed741(core.List<api.PermissionTeamDrivePermissionDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionTeamDrivePermissionDetails(o[0]);
checkPermissionTeamDrivePermissionDetails(o[1]);
@@ -1738,7 +1738,7 @@
var o = new api.Permission();
buildCounterPermission++;
if (buildCounterPermission < 3) {
- o.additionalRoles = buildUnnamed722();
+ o.additionalRoles = buildUnnamed739();
o.authKey = "foo";
o.deleted = true;
o.domain = "foo";
@@ -1751,7 +1751,7 @@
o.photoLink = "foo";
o.role = "foo";
o.selfLink = "foo";
- o.teamDrivePermissionDetails = buildUnnamed724();
+ o.teamDrivePermissionDetails = buildUnnamed741();
o.type = "foo";
o.value = "foo";
o.withLink = true;
@@ -1763,7 +1763,7 @@
checkPermission(api.Permission o) {
buildCounterPermission++;
if (buildCounterPermission < 3) {
- checkUnnamed722(o.additionalRoles);
+ checkUnnamed739(o.additionalRoles);
unittest.expect(o.authKey, unittest.equals('foo'));
unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.domain, unittest.equals('foo'));
@@ -1776,7 +1776,7 @@
unittest.expect(o.photoLink, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed724(o.teamDrivePermissionDetails);
+ checkUnnamed741(o.teamDrivePermissionDetails);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
unittest.expect(o.withLink, unittest.isTrue);
@@ -1805,14 +1805,14 @@
buildCounterPermissionId--;
}
-buildUnnamed725() {
+buildUnnamed742() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed725(core.List<api.Permission> o) {
+checkUnnamed742(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -1824,7 +1824,7 @@
buildCounterPermissionList++;
if (buildCounterPermissionList < 3) {
o.etag = "foo";
- o.items = buildUnnamed725();
+ o.items = buildUnnamed742();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1837,7 +1837,7 @@
buildCounterPermissionList++;
if (buildCounterPermissionList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed725(o.items);
+ checkUnnamed742(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1874,14 +1874,14 @@
buildCounterProperty--;
}
-buildUnnamed726() {
+buildUnnamed743() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed726(core.List<api.Property> o) {
+checkUnnamed743(core.List<api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o[0]);
checkProperty(o[1]);
@@ -1893,7 +1893,7 @@
buildCounterPropertyList++;
if (buildCounterPropertyList < 3) {
o.etag = "foo";
- o.items = buildUnnamed726();
+ o.items = buildUnnamed743();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -1905,21 +1905,21 @@
buildCounterPropertyList++;
if (buildCounterPropertyList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed726(o.items);
+ checkUnnamed743(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterPropertyList--;
}
-buildUnnamed727() {
+buildUnnamed744() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed727(core.Map<core.String, core.String> o) {
+checkUnnamed744(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1932,7 +1932,7 @@
if (buildCounterRevision < 3) {
o.downloadUrl = "foo";
o.etag = "foo";
- o.exportLinks = buildUnnamed727();
+ o.exportLinks = buildUnnamed744();
o.fileSize = "foo";
o.id = "foo";
o.kind = "foo";
@@ -1958,7 +1958,7 @@
if (buildCounterRevision < 3) {
unittest.expect(o.downloadUrl, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed727(o.exportLinks);
+ checkUnnamed744(o.exportLinks);
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1978,14 +1978,14 @@
buildCounterRevision--;
}
-buildUnnamed728() {
+buildUnnamed745() {
var o = new core.List<api.Revision>();
o.add(buildRevision());
o.add(buildRevision());
return o;
}
-checkUnnamed728(core.List<api.Revision> o) {
+checkUnnamed745(core.List<api.Revision> o) {
unittest.expect(o, unittest.hasLength(2));
checkRevision(o[0]);
checkRevision(o[1]);
@@ -1997,7 +1997,7 @@
buildCounterRevisionList++;
if (buildCounterRevisionList < 3) {
o.etag = "foo";
- o.items = buildUnnamed728();
+ o.items = buildUnnamed745();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2010,7 +2010,7 @@
buildCounterRevisionList++;
if (buildCounterRevisionList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed728(o.items);
+ checkUnnamed745(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2142,14 +2142,14 @@
buildCounterTeamDrive--;
}
-buildUnnamed729() {
+buildUnnamed746() {
var o = new core.List<api.TeamDrive>();
o.add(buildTeamDrive());
o.add(buildTeamDrive());
return o;
}
-checkUnnamed729(core.List<api.TeamDrive> o) {
+checkUnnamed746(core.List<api.TeamDrive> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeamDrive(o[0]);
checkTeamDrive(o[1]);
@@ -2160,7 +2160,7 @@
var o = new api.TeamDriveList();
buildCounterTeamDriveList++;
if (buildCounterTeamDriveList < 3) {
- o.items = buildUnnamed729();
+ o.items = buildUnnamed746();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2171,7 +2171,7 @@
checkTeamDriveList(api.TeamDriveList o) {
buildCounterTeamDriveList++;
if (buildCounterTeamDriveList < 3) {
- checkUnnamed729(o.items);
+ checkUnnamed746(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 ada254a..566c793 100644
--- a/generated/googleapis/test/drive/v3_test.dart
+++ b/generated/googleapis/test/drive/v3_test.dart
@@ -51,79 +51,79 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1596() {
+buildUnnamed1613() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1596(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'));
}
-buildUnnamed1597() {
+buildUnnamed1614() {
var o = new core.Map<core.String, core.List<core.String>>();
- o["x"] = buildUnnamed1596();
- o["y"] = buildUnnamed1596();
+ o["x"] = buildUnnamed1613();
+ o["y"] = buildUnnamed1613();
return o;
}
-checkUnnamed1597(core.Map<core.String, core.List<core.String>> o) {
+checkUnnamed1614(core.Map<core.String, core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1596(o["x"]);
- checkUnnamed1596(o["y"]);
+ checkUnnamed1613(o["x"]);
+ checkUnnamed1613(o["y"]);
}
-buildUnnamed1598() {
+buildUnnamed1615() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1598(core.List<core.String> o) {
+checkUnnamed1615(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1599() {
+buildUnnamed1616() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1599(core.List<core.String> o) {
+checkUnnamed1616(core.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() {
+buildUnnamed1617() {
var o = new core.Map<core.String, core.List<core.String>>();
- o["x"] = buildUnnamed1599();
- o["y"] = buildUnnamed1599();
+ o["x"] = buildUnnamed1616();
+ o["y"] = buildUnnamed1616();
return o;
}
-checkUnnamed1600(core.Map<core.String, core.List<core.String>> o) {
+checkUnnamed1617(core.Map<core.String, core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1599(o["x"]);
- checkUnnamed1599(o["y"]);
+ checkUnnamed1616(o["x"]);
+ checkUnnamed1616(o["y"]);
}
-buildUnnamed1601() {
+buildUnnamed1618() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1601(core.Map<core.String, core.String> o) {
+checkUnnamed1618(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -177,14 +177,14 @@
buildCounterAboutTeamDriveThemes--;
}
-buildUnnamed1602() {
+buildUnnamed1619() {
var o = new core.List<api.AboutTeamDriveThemes>();
o.add(buildAboutTeamDriveThemes());
o.add(buildAboutTeamDriveThemes());
return o;
}
-checkUnnamed1602(core.List<api.AboutTeamDriveThemes> o) {
+checkUnnamed1619(core.List<api.AboutTeamDriveThemes> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutTeamDriveThemes(o[0]);
checkAboutTeamDriveThemes(o[1]);
@@ -196,14 +196,14 @@
buildCounterAbout++;
if (buildCounterAbout < 3) {
o.appInstalled = true;
- o.exportFormats = buildUnnamed1597();
- o.folderColorPalette = buildUnnamed1598();
- o.importFormats = buildUnnamed1600();
+ o.exportFormats = buildUnnamed1614();
+ o.folderColorPalette = buildUnnamed1615();
+ o.importFormats = buildUnnamed1617();
o.kind = "foo";
- o.maxImportSizes = buildUnnamed1601();
+ o.maxImportSizes = buildUnnamed1618();
o.maxUploadSize = "foo";
o.storageQuota = buildAboutStorageQuota();
- o.teamDriveThemes = buildUnnamed1602();
+ o.teamDriveThemes = buildUnnamed1619();
o.user = buildUser();
}
buildCounterAbout--;
@@ -214,14 +214,14 @@
buildCounterAbout++;
if (buildCounterAbout < 3) {
unittest.expect(o.appInstalled, unittest.isTrue);
- checkUnnamed1597(o.exportFormats);
- checkUnnamed1598(o.folderColorPalette);
- checkUnnamed1600(o.importFormats);
+ checkUnnamed1614(o.exportFormats);
+ checkUnnamed1615(o.folderColorPalette);
+ checkUnnamed1617(o.importFormats);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1601(o.maxImportSizes);
+ checkUnnamed1618(o.maxImportSizes);
unittest.expect(o.maxUploadSize, unittest.equals('foo'));
checkAboutStorageQuota(o.storageQuota);
- checkUnnamed1602(o.teamDriveThemes);
+ checkUnnamed1619(o.teamDriveThemes);
checkUser(o.user);
}
buildCounterAbout--;
@@ -260,14 +260,14 @@
buildCounterChange--;
}
-buildUnnamed1603() {
+buildUnnamed1620() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed1603(core.List<api.Change> o) {
+checkUnnamed1620(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 = buildUnnamed1603();
+ o.changes = buildUnnamed1620();
o.kind = "foo";
o.newStartPageToken = "foo";
o.nextPageToken = "foo";
@@ -290,7 +290,7 @@
checkChangeList(api.ChangeList o) {
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
- checkUnnamed1603(o.changes);
+ checkUnnamed1620(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--;
}
-buildUnnamed1604() {
+buildUnnamed1621() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1604(core.Map<core.String, core.String> o) {
+checkUnnamed1621(core.Map<core.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 = buildUnnamed1604();
+ o.params = buildUnnamed1621();
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'));
- checkUnnamed1604(o.params);
+ checkUnnamed1621(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--;
}
-buildUnnamed1605() {
+buildUnnamed1622() {
var o = new core.List<api.Reply>();
o.add(buildReply());
o.add(buildReply());
return o;
}
-checkUnnamed1605(core.List<api.Reply> o) {
+checkUnnamed1622(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 = buildUnnamed1605();
+ o.replies = buildUnnamed1622();
o.resolved = true;
}
buildCounterComment--;
@@ -417,20 +417,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkCommentQuotedFileContent(o.quotedFileContent);
- checkUnnamed1605(o.replies);
+ checkUnnamed1622(o.replies);
unittest.expect(o.resolved, unittest.isTrue);
}
buildCounterComment--;
}
-buildUnnamed1606() {
+buildUnnamed1623() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed1606(core.List<api.Comment> o) {
+checkUnnamed1623(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -441,7 +441,7 @@
var o = new api.CommentList();
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- o.comments = buildUnnamed1606();
+ o.comments = buildUnnamed1623();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -452,21 +452,21 @@
checkCommentList(api.CommentList o) {
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- checkUnnamed1606(o.comments);
+ checkUnnamed1623(o.comments);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCommentList--;
}
-buildUnnamed1607() {
+buildUnnamed1624() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1607(core.Map<core.String, core.String> o) {
+checkUnnamed1624(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -647,66 +647,66 @@
buildCounterFileImageMediaMetadata--;
}
-buildUnnamed1608() {
+buildUnnamed1625() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed1608(core.List<api.User> o) {
+checkUnnamed1625(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
}
-buildUnnamed1609() {
+buildUnnamed1626() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1609(core.List<core.String> o) {
+checkUnnamed1626(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1610() {
+buildUnnamed1627() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1610(core.List<api.Permission> o) {
+checkUnnamed1627(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
}
-buildUnnamed1611() {
+buildUnnamed1628() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1611(core.Map<core.String, core.String> o) {
+checkUnnamed1628(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1612() {
+buildUnnamed1629() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1612(core.List<core.String> o) {
+checkUnnamed1629(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -740,7 +740,7 @@
var o = new api.File();
buildCounterFile++;
if (buildCounterFile < 3) {
- o.appProperties = buildUnnamed1607();
+ o.appProperties = buildUnnamed1624();
o.capabilities = buildFileCapabilities();
o.contentHints = buildFileContentHints();
o.createdTime = core.DateTime.parse("2002-02-27T14:01:02");
@@ -766,16 +766,16 @@
o.name = "foo";
o.originalFilename = "foo";
o.ownedByMe = true;
- o.owners = buildUnnamed1608();
- o.parents = buildUnnamed1609();
- o.permissions = buildUnnamed1610();
- o.properties = buildUnnamed1611();
+ o.owners = buildUnnamed1625();
+ o.parents = buildUnnamed1626();
+ o.permissions = buildUnnamed1627();
+ o.properties = buildUnnamed1628();
o.quotaBytesUsed = "foo";
o.shared = true;
o.sharedWithMeTime = core.DateTime.parse("2002-02-27T14:01:02");
o.sharingUser = buildUser();
o.size = "foo";
- o.spaces = buildUnnamed1612();
+ o.spaces = buildUnnamed1629();
o.starred = true;
o.teamDriveId = "foo";
o.thumbnailLink = "foo";
@@ -799,7 +799,7 @@
checkFile(api.File o) {
buildCounterFile++;
if (buildCounterFile < 3) {
- checkUnnamed1607(o.appProperties);
+ checkUnnamed1624(o.appProperties);
checkFileCapabilities(o.capabilities);
checkFileContentHints(o.contentHints);
unittest.expect(o.createdTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -825,16 +825,16 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.originalFilename, unittest.equals('foo'));
unittest.expect(o.ownedByMe, unittest.isTrue);
- checkUnnamed1608(o.owners);
- checkUnnamed1609(o.parents);
- checkUnnamed1610(o.permissions);
- checkUnnamed1611(o.properties);
+ checkUnnamed1625(o.owners);
+ checkUnnamed1626(o.parents);
+ checkUnnamed1627(o.permissions);
+ checkUnnamed1628(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'));
- checkUnnamed1612(o.spaces);
+ checkUnnamed1629(o.spaces);
unittest.expect(o.starred, unittest.isTrue);
unittest.expect(o.teamDriveId, unittest.equals('foo'));
unittest.expect(o.thumbnailLink, unittest.equals('foo'));
@@ -854,14 +854,14 @@
buildCounterFile--;
}
-buildUnnamed1613() {
+buildUnnamed1630() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed1613(core.List<api.File> o) {
+checkUnnamed1630(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -872,7 +872,7 @@
var o = new api.FileList();
buildCounterFileList++;
if (buildCounterFileList < 3) {
- o.files = buildUnnamed1613();
+ o.files = buildUnnamed1630();
o.incompleteSearch = true;
o.kind = "foo";
o.nextPageToken = "foo";
@@ -884,7 +884,7 @@
checkFileList(api.FileList o) {
buildCounterFileList++;
if (buildCounterFileList < 3) {
- checkUnnamed1613(o.files);
+ checkUnnamed1630(o.files);
unittest.expect(o.incompleteSearch, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -892,14 +892,14 @@
buildCounterFileList--;
}
-buildUnnamed1614() {
+buildUnnamed1631() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1614(core.List<core.String> o) {
+checkUnnamed1631(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -910,7 +910,7 @@
var o = new api.GeneratedIds();
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- o.ids = buildUnnamed1614();
+ o.ids = buildUnnamed1631();
o.kind = "foo";
o.space = "foo";
}
@@ -921,7 +921,7 @@
checkGeneratedIds(api.GeneratedIds o) {
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- checkUnnamed1614(o.ids);
+ checkUnnamed1631(o.ids);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.space, unittest.equals('foo'));
}
@@ -953,14 +953,14 @@
buildCounterPermissionTeamDrivePermissionDetails--;
}
-buildUnnamed1615() {
+buildUnnamed1632() {
var o = new core.List<api.PermissionTeamDrivePermissionDetails>();
o.add(buildPermissionTeamDrivePermissionDetails());
o.add(buildPermissionTeamDrivePermissionDetails());
return o;
}
-checkUnnamed1615(core.List<api.PermissionTeamDrivePermissionDetails> o) {
+checkUnnamed1632(core.List<api.PermissionTeamDrivePermissionDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionTeamDrivePermissionDetails(o[0]);
checkPermissionTeamDrivePermissionDetails(o[1]);
@@ -981,7 +981,7 @@
o.kind = "foo";
o.photoLink = "foo";
o.role = "foo";
- o.teamDrivePermissionDetails = buildUnnamed1615();
+ o.teamDrivePermissionDetails = buildUnnamed1632();
o.type = "foo";
}
buildCounterPermission--;
@@ -1001,20 +1001,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.photoLink, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
- checkUnnamed1615(o.teamDrivePermissionDetails);
+ checkUnnamed1632(o.teamDrivePermissionDetails);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPermission--;
}
-buildUnnamed1616() {
+buildUnnamed1633() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1616(core.List<api.Permission> o) {
+checkUnnamed1633(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -1027,7 +1027,7 @@
if (buildCounterPermissionList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.permissions = buildUnnamed1616();
+ o.permissions = buildUnnamed1633();
}
buildCounterPermissionList--;
return o;
@@ -1038,7 +1038,7 @@
if (buildCounterPermissionList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1616(o.permissions);
+ checkUnnamed1633(o.permissions);
}
buildCounterPermissionList--;
}
@@ -1078,14 +1078,14 @@
buildCounterReply--;
}
-buildUnnamed1617() {
+buildUnnamed1634() {
var o = new core.List<api.Reply>();
o.add(buildReply());
o.add(buildReply());
return o;
}
-checkUnnamed1617(core.List<api.Reply> o) {
+checkUnnamed1634(core.List<api.Reply> o) {
unittest.expect(o, unittest.hasLength(2));
checkReply(o[0]);
checkReply(o[1]);
@@ -1098,7 +1098,7 @@
if (buildCounterReplyList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.replies = buildUnnamed1617();
+ o.replies = buildUnnamed1634();
}
buildCounterReplyList--;
return o;
@@ -1109,7 +1109,7 @@
if (buildCounterReplyList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1617(o.replies);
+ checkUnnamed1634(o.replies);
}
buildCounterReplyList--;
}
@@ -1155,14 +1155,14 @@
buildCounterRevision--;
}
-buildUnnamed1618() {
+buildUnnamed1635() {
var o = new core.List<api.Revision>();
o.add(buildRevision());
o.add(buildRevision());
return o;
}
-checkUnnamed1618(core.List<api.Revision> o) {
+checkUnnamed1635(core.List<api.Revision> o) {
unittest.expect(o, unittest.hasLength(2));
checkRevision(o[0]);
checkRevision(o[1]);
@@ -1175,7 +1175,7 @@
if (buildCounterRevisionList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.revisions = buildUnnamed1618();
+ o.revisions = buildUnnamed1635();
}
buildCounterRevisionList--;
return o;
@@ -1186,7 +1186,7 @@
if (buildCounterRevisionList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1618(o.revisions);
+ checkUnnamed1635(o.revisions);
}
buildCounterRevisionList--;
}
@@ -1315,14 +1315,14 @@
buildCounterTeamDrive--;
}
-buildUnnamed1619() {
+buildUnnamed1636() {
var o = new core.List<api.TeamDrive>();
o.add(buildTeamDrive());
o.add(buildTeamDrive());
return o;
}
-checkUnnamed1619(core.List<api.TeamDrive> o) {
+checkUnnamed1636(core.List<api.TeamDrive> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeamDrive(o[0]);
checkTeamDrive(o[1]);
@@ -1335,7 +1335,7 @@
if (buildCounterTeamDriveList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.teamDrives = buildUnnamed1619();
+ o.teamDrives = buildUnnamed1636();
}
buildCounterTeamDriveList--;
return o;
@@ -1346,7 +1346,7 @@
if (buildCounterTeamDriveList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1619(o.teamDrives);
+ checkUnnamed1636(o.teamDrives);
}
buildCounterTeamDriveList--;
}
diff --git a/generated/googleapis/test/firebasedynamiclinks/v1_test.dart b/generated/googleapis/test/firebasedynamiclinks/v1_test.dart
index 70b9158..94c8131 100644
--- a/generated/googleapis/test/firebasedynamiclinks/v1_test.dart
+++ b/generated/googleapis/test/firebasedynamiclinks/v1_test.dart
@@ -120,14 +120,14 @@
buildCounterCreateShortDynamicLinkRequest--;
}
-buildUnnamed2174() {
+buildUnnamed2192() {
var o = new core.List<api.DynamicLinkWarning>();
o.add(buildDynamicLinkWarning());
o.add(buildDynamicLinkWarning());
return o;
}
-checkUnnamed2174(core.List<api.DynamicLinkWarning> o) {
+checkUnnamed2192(core.List<api.DynamicLinkWarning> o) {
unittest.expect(o, unittest.hasLength(2));
checkDynamicLinkWarning(o[0]);
checkDynamicLinkWarning(o[1]);
@@ -140,7 +140,7 @@
if (buildCounterCreateShortDynamicLinkResponse < 3) {
o.previewLink = "foo";
o.shortLink = "foo";
- o.warning = buildUnnamed2174();
+ o.warning = buildUnnamed2192();
}
buildCounterCreateShortDynamicLinkResponse--;
return o;
@@ -151,7 +151,7 @@
if (buildCounterCreateShortDynamicLinkResponse < 3) {
unittest.expect(o.previewLink, unittest.equals('foo'));
unittest.expect(o.shortLink, unittest.equals('foo'));
- checkUnnamed2174(o.warning);
+ checkUnnamed2192(o.warning);
}
buildCounterCreateShortDynamicLinkResponse--;
}
@@ -210,14 +210,14 @@
buildCounterDynamicLinkInfo--;
}
-buildUnnamed2175() {
+buildUnnamed2193() {
var o = new core.List<api.DynamicLinkEventStat>();
o.add(buildDynamicLinkEventStat());
o.add(buildDynamicLinkEventStat());
return o;
}
-checkUnnamed2175(core.List<api.DynamicLinkEventStat> o) {
+checkUnnamed2193(core.List<api.DynamicLinkEventStat> o) {
unittest.expect(o, unittest.hasLength(2));
checkDynamicLinkEventStat(o[0]);
checkDynamicLinkEventStat(o[1]);
@@ -228,7 +228,7 @@
var o = new api.DynamicLinkStats();
buildCounterDynamicLinkStats++;
if (buildCounterDynamicLinkStats < 3) {
- o.linkEventStats = buildUnnamed2175();
+ o.linkEventStats = buildUnnamed2193();
}
buildCounterDynamicLinkStats--;
return o;
@@ -237,7 +237,7 @@
checkDynamicLinkStats(api.DynamicLinkStats o) {
buildCounterDynamicLinkStats++;
if (buildCounterDynamicLinkStats < 3) {
- checkUnnamed2175(o.linkEventStats);
+ checkUnnamed2193(o.linkEventStats);
}
buildCounterDynamicLinkStats--;
}
@@ -248,6 +248,7 @@
buildCounterDynamicLinkWarning++;
if (buildCounterDynamicLinkWarning < 3) {
o.warningCode = "foo";
+ o.warningDocumentLink = "foo";
o.warningMessage = "foo";
}
buildCounterDynamicLinkWarning--;
@@ -258,6 +259,7 @@
buildCounterDynamicLinkWarning++;
if (buildCounterDynamicLinkWarning < 3) {
unittest.expect(o.warningCode, unittest.equals('foo'));
+ unittest.expect(o.warningDocumentLink, unittest.equals('foo'));
unittest.expect(o.warningMessage, unittest.equals('foo'));
}
buildCounterDynamicLinkWarning--;
diff --git a/generated/googleapis/test/firebaserules/v1_test.dart b/generated/googleapis/test/firebaserules/v1_test.dart
index bce014f..a77366d 100644
--- a/generated/googleapis/test/firebaserules/v1_test.dart
+++ b/generated/googleapis/test/firebaserules/v1_test.dart
@@ -112,14 +112,14 @@
buildCounterFile--;
}
-buildUnnamed3058() {
+buildUnnamed3079() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed3058(core.List<core.Object> o) {
+checkUnnamed3079(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted2 = (o[0]) 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'));
var casted3 = (o[1]) 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'));
@@ -130,7 +130,7 @@
var o = new api.FunctionCall();
buildCounterFunctionCall++;
if (buildCounterFunctionCall < 3) {
- o.args = buildUnnamed3058();
+ o.args = buildUnnamed3079();
o.function = "foo";
}
buildCounterFunctionCall--;
@@ -140,20 +140,20 @@
checkFunctionCall(api.FunctionCall o) {
buildCounterFunctionCall++;
if (buildCounterFunctionCall < 3) {
- checkUnnamed3058(o.args);
+ checkUnnamed3079(o.args);
unittest.expect(o.function, unittest.equals('foo'));
}
buildCounterFunctionCall--;
}
-buildUnnamed3059() {
+buildUnnamed3080() {
var o = new core.List<api.Arg>();
o.add(buildArg());
o.add(buildArg());
return o;
}
-checkUnnamed3059(core.List<api.Arg> o) {
+checkUnnamed3080(core.List<api.Arg> o) {
unittest.expect(o, unittest.hasLength(2));
checkArg(o[0]);
checkArg(o[1]);
@@ -164,7 +164,7 @@
var o = new api.FunctionMock();
buildCounterFunctionMock++;
if (buildCounterFunctionMock < 3) {
- o.args = buildUnnamed3059();
+ o.args = buildUnnamed3080();
o.function = "foo";
o.result = buildResult();
}
@@ -175,7 +175,7 @@
checkFunctionMock(api.FunctionMock o) {
buildCounterFunctionMock++;
if (buildCounterFunctionMock < 3) {
- checkUnnamed3059(o.args);
+ checkUnnamed3080(o.args);
unittest.expect(o.function, unittest.equals('foo'));
checkResult(o.result);
}
@@ -205,14 +205,14 @@
buildCounterIssue--;
}
-buildUnnamed3060() {
+buildUnnamed3081() {
var o = new core.List<api.Release>();
o.add(buildRelease());
o.add(buildRelease());
return o;
}
-checkUnnamed3060(core.List<api.Release> o) {
+checkUnnamed3081(core.List<api.Release> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelease(o[0]);
checkRelease(o[1]);
@@ -224,7 +224,7 @@
buildCounterListReleasesResponse++;
if (buildCounterListReleasesResponse < 3) {
o.nextPageToken = "foo";
- o.releases = buildUnnamed3060();
+ o.releases = buildUnnamed3081();
}
buildCounterListReleasesResponse--;
return o;
@@ -234,19 +234,19 @@
buildCounterListReleasesResponse++;
if (buildCounterListReleasesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3060(o.releases);
+ checkUnnamed3081(o.releases);
}
buildCounterListReleasesResponse--;
}
-buildUnnamed3061() {
+buildUnnamed3082() {
var o = new core.List<api.Ruleset>();
o.add(buildRuleset());
o.add(buildRuleset());
return o;
}
-checkUnnamed3061(core.List<api.Ruleset> o) {
+checkUnnamed3082(core.List<api.Ruleset> o) {
unittest.expect(o, unittest.hasLength(2));
checkRuleset(o[0]);
checkRuleset(o[1]);
@@ -258,7 +258,7 @@
buildCounterListRulesetsResponse++;
if (buildCounterListRulesetsResponse < 3) {
o.nextPageToken = "foo";
- o.rulesets = buildUnnamed3061();
+ o.rulesets = buildUnnamed3082();
}
buildCounterListRulesetsResponse--;
return o;
@@ -268,7 +268,7 @@
buildCounterListRulesetsResponse++;
if (buildCounterListRulesetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3061(o.rulesets);
+ checkUnnamed3082(o.rulesets);
}
buildCounterListRulesetsResponse--;
}
@@ -342,14 +342,14 @@
buildCounterRuleset--;
}
-buildUnnamed3062() {
+buildUnnamed3083() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed3062(core.List<api.File> o) {
+checkUnnamed3083(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -360,7 +360,7 @@
var o = new api.Source();
buildCounterSource++;
if (buildCounterSource < 3) {
- o.files = buildUnnamed3062();
+ o.files = buildUnnamed3083();
}
buildCounterSource--;
return o;
@@ -369,7 +369,7 @@
checkSource(api.Source o) {
buildCounterSource++;
if (buildCounterSource < 3) {
- checkUnnamed3062(o.files);
+ checkUnnamed3083(o.files);
}
buildCounterSource--;
}
@@ -397,14 +397,14 @@
buildCounterSourcePosition--;
}
-buildUnnamed3063() {
+buildUnnamed3084() {
var o = new core.List<api.FunctionMock>();
o.add(buildFunctionMock());
o.add(buildFunctionMock());
return o;
}
-checkUnnamed3063(core.List<api.FunctionMock> o) {
+checkUnnamed3084(core.List<api.FunctionMock> o) {
unittest.expect(o, unittest.hasLength(2));
checkFunctionMock(o[0]);
checkFunctionMock(o[1]);
@@ -416,7 +416,7 @@
buildCounterTestCase++;
if (buildCounterTestCase < 3) {
o.expectation = "foo";
- o.functionMocks = buildUnnamed3063();
+ o.functionMocks = buildUnnamed3084();
o.request = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.resource = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
}
@@ -428,34 +428,34 @@
buildCounterTestCase++;
if (buildCounterTestCase < 3) {
unittest.expect(o.expectation, unittest.equals('foo'));
- checkUnnamed3063(o.functionMocks);
+ checkUnnamed3084(o.functionMocks);
var casted5 = (o.request) 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.resource) 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'));
}
buildCounterTestCase--;
}
-buildUnnamed3064() {
+buildUnnamed3085() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3064(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'));
}
-buildUnnamed3065() {
+buildUnnamed3086() {
var o = new core.List<api.FunctionCall>();
o.add(buildFunctionCall());
o.add(buildFunctionCall());
return o;
}
-checkUnnamed3065(core.List<api.FunctionCall> o) {
+checkUnnamed3086(core.List<api.FunctionCall> o) {
unittest.expect(o, unittest.hasLength(2));
checkFunctionCall(o[0]);
checkFunctionCall(o[1]);
@@ -466,9 +466,9 @@
var o = new api.TestResult();
buildCounterTestResult++;
if (buildCounterTestResult < 3) {
- o.debugMessages = buildUnnamed3064();
+ o.debugMessages = buildUnnamed3085();
o.errorPosition = buildSourcePosition();
- o.functionCalls = buildUnnamed3065();
+ o.functionCalls = buildUnnamed3086();
o.state = "foo";
}
buildCounterTestResult--;
@@ -478,9 +478,9 @@
checkTestResult(api.TestResult o) {
buildCounterTestResult++;
if (buildCounterTestResult < 3) {
- checkUnnamed3064(o.debugMessages);
+ checkUnnamed3085(o.debugMessages);
checkSourcePosition(o.errorPosition);
- checkUnnamed3065(o.functionCalls);
+ checkUnnamed3086(o.functionCalls);
unittest.expect(o.state, unittest.equals('foo'));
}
buildCounterTestResult--;
@@ -507,27 +507,27 @@
buildCounterTestRulesetRequest--;
}
-buildUnnamed3066() {
+buildUnnamed3087() {
var o = new core.List<api.Issue>();
o.add(buildIssue());
o.add(buildIssue());
return o;
}
-checkUnnamed3066(core.List<api.Issue> o) {
+checkUnnamed3087(core.List<api.Issue> o) {
unittest.expect(o, unittest.hasLength(2));
checkIssue(o[0]);
checkIssue(o[1]);
}
-buildUnnamed3067() {
+buildUnnamed3088() {
var o = new core.List<api.TestResult>();
o.add(buildTestResult());
o.add(buildTestResult());
return o;
}
-checkUnnamed3067(core.List<api.TestResult> o) {
+checkUnnamed3088(core.List<api.TestResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestResult(o[0]);
checkTestResult(o[1]);
@@ -538,8 +538,8 @@
var o = new api.TestRulesetResponse();
buildCounterTestRulesetResponse++;
if (buildCounterTestRulesetResponse < 3) {
- o.issues = buildUnnamed3066();
- o.testResults = buildUnnamed3067();
+ o.issues = buildUnnamed3087();
+ o.testResults = buildUnnamed3088();
}
buildCounterTestRulesetResponse--;
return o;
@@ -548,20 +548,20 @@
checkTestRulesetResponse(api.TestRulesetResponse o) {
buildCounterTestRulesetResponse++;
if (buildCounterTestRulesetResponse < 3) {
- checkUnnamed3066(o.issues);
- checkUnnamed3067(o.testResults);
+ checkUnnamed3087(o.issues);
+ checkUnnamed3088(o.testResults);
}
buildCounterTestRulesetResponse--;
}
-buildUnnamed3068() {
+buildUnnamed3089() {
var o = new core.List<api.TestCase>();
o.add(buildTestCase());
o.add(buildTestCase());
return o;
}
-checkUnnamed3068(core.List<api.TestCase> o) {
+checkUnnamed3089(core.List<api.TestCase> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestCase(o[0]);
checkTestCase(o[1]);
@@ -572,7 +572,7 @@
var o = new api.TestSuite();
buildCounterTestSuite++;
if (buildCounterTestSuite < 3) {
- o.testCases = buildUnnamed3068();
+ o.testCases = buildUnnamed3089();
}
buildCounterTestSuite--;
return o;
@@ -581,7 +581,7 @@
checkTestSuite(api.TestSuite o) {
buildCounterTestSuite++;
if (buildCounterTestSuite < 3) {
- checkUnnamed3068(o.testCases);
+ checkUnnamed3089(o.testCases);
}
buildCounterTestSuite--;
}
@@ -948,9 +948,9 @@
var mock = new HttpServerMock();
api.ProjectsReleasesResourceApi res = new api.FirebaserulesApi(mock).projects.releases;
var arg_name = "foo";
+ var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_filter = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -978,9 +978,9 @@
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["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -989,7 +989,7 @@
var resp = convert.JSON.encode(buildListReleasesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListReleasesResponse response) {
+ res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListReleasesResponse response) {
checkListReleasesResponse(response);
})));
});
@@ -1191,9 +1191,9 @@
var mock = new HttpServerMock();
api.ProjectsRulesetsResourceApi res = new api.FirebaserulesApi(mock).projects.rulesets;
var arg_name = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1221,9 +1221,9 @@
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["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -1232,7 +1232,7 @@
var resp = convert.JSON.encode(buildListRulesetsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListRulesetsResponse response) {
+ res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListRulesetsResponse response) {
checkListRulesetsResponse(response);
})));
});
diff --git a/generated/googleapis/test/fusiontables/v1_test.dart b/generated/googleapis/test/fusiontables/v1_test.dart
index 3e8785a..82c9ac8 100644
--- a/generated/googleapis/test/fusiontables/v1_test.dart
+++ b/generated/googleapis/test/fusiontables/v1_test.dart
@@ -132,14 +132,14 @@
buildCounterColumn--;
}
-buildUnnamed2640() {
+buildUnnamed2661() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed2640(core.List<api.Column> o) {
+checkUnnamed2661(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -150,7 +150,7 @@
var o = new api.ColumnList();
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- o.items = buildUnnamed2640();
+ o.items = buildUnnamed2661();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -162,7 +162,7 @@
checkColumnList(api.ColumnList o) {
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- checkUnnamed2640(o.items);
+ checkUnnamed2661(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -170,14 +170,14 @@
buildCounterColumnList--;
}
-buildUnnamed2641() {
+buildUnnamed2662() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2641(core.List<core.Object> o) {
+checkUnnamed2662(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
@@ -188,7 +188,7 @@
var o = new api.Geometry();
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- o.geometries = buildUnnamed2641();
+ o.geometries = buildUnnamed2662();
o.geometry = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.type = "foo";
}
@@ -199,7 +199,7 @@
checkGeometry(api.Geometry o) {
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- checkUnnamed2641(o.geometries);
+ checkUnnamed2662(o.geometries);
var casted3 = (o.geometry) 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'));
unittest.expect(o.type, unittest.equals('foo'));
}
@@ -227,30 +227,30 @@
buildCounterImport--;
}
-buildUnnamed2642() {
+buildUnnamed2663() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2642(core.List<core.double> o) {
+checkUnnamed2663(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));
}
-buildUnnamed2643() {
+buildUnnamed2664() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed2642());
- o.add(buildUnnamed2642());
+ o.add(buildUnnamed2663());
+ o.add(buildUnnamed2663());
return o;
}
-checkUnnamed2643(core.List<core.List<core.double>> o) {
+checkUnnamed2664(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2642(o[0]);
- checkUnnamed2642(o[1]);
+ checkUnnamed2663(o[0]);
+ checkUnnamed2663(o[1]);
}
core.int buildCounterLine = 0;
@@ -258,7 +258,7 @@
var o = new api.Line();
buildCounterLine++;
if (buildCounterLine < 3) {
- o.coordinates = buildUnnamed2643();
+ o.coordinates = buildUnnamed2664();
o.type = "foo";
}
buildCounterLine--;
@@ -268,7 +268,7 @@
checkLine(api.Line o) {
buildCounterLine++;
if (buildCounterLine < 3) {
- checkUnnamed2643(o.coordinates);
+ checkUnnamed2664(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterLine--;
@@ -301,14 +301,14 @@
buildCounterLineStyle--;
}
-buildUnnamed2644() {
+buildUnnamed2665() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2644(core.List<core.double> o) {
+checkUnnamed2665(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));
@@ -319,7 +319,7 @@
var o = new api.Point();
buildCounterPoint++;
if (buildCounterPoint < 3) {
- o.coordinates = buildUnnamed2644();
+ o.coordinates = buildUnnamed2665();
o.type = "foo";
}
buildCounterPoint--;
@@ -329,7 +329,7 @@
checkPoint(api.Point o) {
buildCounterPoint++;
if (buildCounterPoint < 3) {
- checkUnnamed2644(o.coordinates);
+ checkUnnamed2665(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPoint--;
@@ -356,43 +356,43 @@
buildCounterPointStyle--;
}
-buildUnnamed2645() {
+buildUnnamed2666() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2645(core.List<core.double> o) {
+checkUnnamed2666(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));
}
-buildUnnamed2646() {
+buildUnnamed2667() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed2645());
- o.add(buildUnnamed2645());
+ o.add(buildUnnamed2666());
+ o.add(buildUnnamed2666());
return o;
}
-checkUnnamed2646(core.List<core.List<core.double>> o) {
+checkUnnamed2667(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2645(o[0]);
- checkUnnamed2645(o[1]);
+ checkUnnamed2666(o[0]);
+ checkUnnamed2666(o[1]);
}
-buildUnnamed2647() {
+buildUnnamed2668() {
var o = new core.List<core.List<core.List<core.double>>>();
- o.add(buildUnnamed2646());
- o.add(buildUnnamed2646());
+ o.add(buildUnnamed2667());
+ o.add(buildUnnamed2667());
return o;
}
-checkUnnamed2647(core.List<core.List<core.List<core.double>>> o) {
+checkUnnamed2668(core.List<core.List<core.List<core.double>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2646(o[0]);
- checkUnnamed2646(o[1]);
+ checkUnnamed2667(o[0]);
+ checkUnnamed2667(o[1]);
}
core.int buildCounterPolygon = 0;
@@ -400,7 +400,7 @@
var o = new api.Polygon();
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- o.coordinates = buildUnnamed2647();
+ o.coordinates = buildUnnamed2668();
o.type = "foo";
}
buildCounterPolygon--;
@@ -410,7 +410,7 @@
checkPolygon(api.Polygon o) {
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- checkUnnamed2647(o.coordinates);
+ checkUnnamed2668(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPolygon--;
@@ -449,43 +449,43 @@
buildCounterPolygonStyle--;
}
-buildUnnamed2648() {
+buildUnnamed2669() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2648(core.List<core.String> o) {
+checkUnnamed2669(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2649() {
+buildUnnamed2670() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2649(core.List<core.Object> o) {
+checkUnnamed2670(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted4 = (o[0]) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
var casted5 = (o[1]) 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'));
}
-buildUnnamed2650() {
+buildUnnamed2671() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed2649());
- o.add(buildUnnamed2649());
+ o.add(buildUnnamed2670());
+ o.add(buildUnnamed2670());
return o;
}
-checkUnnamed2650(core.List<core.List<core.Object>> o) {
+checkUnnamed2671(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2649(o[0]);
- checkUnnamed2649(o[1]);
+ checkUnnamed2670(o[0]);
+ checkUnnamed2670(o[1]);
}
core.int buildCounterSqlresponse = 0;
@@ -493,9 +493,9 @@
var o = new api.Sqlresponse();
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- o.columns = buildUnnamed2648();
+ o.columns = buildUnnamed2669();
o.kind = "foo";
- o.rows = buildUnnamed2650();
+ o.rows = buildUnnamed2671();
}
buildCounterSqlresponse--;
return o;
@@ -504,21 +504,21 @@
checkSqlresponse(api.Sqlresponse o) {
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- checkUnnamed2648(o.columns);
+ checkUnnamed2669(o.columns);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2650(o.rows);
+ checkUnnamed2671(o.rows);
}
buildCounterSqlresponse--;
}
-buildUnnamed2651() {
+buildUnnamed2672() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed2651(core.List<api.Bucket> o) {
+checkUnnamed2672(core.List<api.Bucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucket(o[0]);
checkBucket(o[1]);
@@ -545,14 +545,14 @@
buildCounterStyleFunctionGradientColors--;
}
-buildUnnamed2652() {
+buildUnnamed2673() {
var o = new core.List<api.StyleFunctionGradientColors>();
o.add(buildStyleFunctionGradientColors());
o.add(buildStyleFunctionGradientColors());
return o;
}
-checkUnnamed2652(core.List<api.StyleFunctionGradientColors> o) {
+checkUnnamed2673(core.List<api.StyleFunctionGradientColors> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleFunctionGradientColors(o[0]);
checkStyleFunctionGradientColors(o[1]);
@@ -563,7 +563,7 @@
var o = new api.StyleFunctionGradient();
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- o.colors = buildUnnamed2652();
+ o.colors = buildUnnamed2673();
o.max = 42.0;
o.min = 42.0;
}
@@ -574,7 +574,7 @@
checkStyleFunctionGradient(api.StyleFunctionGradient o) {
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- checkUnnamed2652(o.colors);
+ checkUnnamed2673(o.colors);
unittest.expect(o.max, unittest.equals(42.0));
unittest.expect(o.min, unittest.equals(42.0));
}
@@ -586,7 +586,7 @@
var o = new api.StyleFunction();
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- o.buckets = buildUnnamed2651();
+ o.buckets = buildUnnamed2672();
o.columnName = "foo";
o.gradient = buildStyleFunctionGradient();
o.kind = "foo";
@@ -598,7 +598,7 @@
checkStyleFunction(api.StyleFunction o) {
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- checkUnnamed2651(o.buckets);
+ checkUnnamed2672(o.buckets);
unittest.expect(o.columnName, unittest.equals('foo'));
checkStyleFunctionGradient(o.gradient);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -637,14 +637,14 @@
buildCounterStyleSetting--;
}
-buildUnnamed2653() {
+buildUnnamed2674() {
var o = new core.List<api.StyleSetting>();
o.add(buildStyleSetting());
o.add(buildStyleSetting());
return o;
}
-checkUnnamed2653(core.List<api.StyleSetting> o) {
+checkUnnamed2674(core.List<api.StyleSetting> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleSetting(o[0]);
checkStyleSetting(o[1]);
@@ -655,7 +655,7 @@
var o = new api.StyleSettingList();
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- o.items = buildUnnamed2653();
+ o.items = buildUnnamed2674();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -667,7 +667,7 @@
checkStyleSettingList(api.StyleSettingList o) {
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- checkUnnamed2653(o.items);
+ checkUnnamed2674(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -675,27 +675,27 @@
buildCounterStyleSettingList--;
}
-buildUnnamed2654() {
+buildUnnamed2675() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2654(core.List<core.String> o) {
+checkUnnamed2675(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2655() {
+buildUnnamed2676() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed2655(core.List<api.Column> o) {
+checkUnnamed2676(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -708,8 +708,8 @@
if (buildCounterTable < 3) {
o.attribution = "foo";
o.attributionLink = "foo";
- o.baseTableIds = buildUnnamed2654();
- o.columns = buildUnnamed2655();
+ o.baseTableIds = buildUnnamed2675();
+ o.columns = buildUnnamed2676();
o.description = "foo";
o.isExportable = true;
o.kind = "foo";
@@ -726,8 +726,8 @@
if (buildCounterTable < 3) {
unittest.expect(o.attribution, unittest.equals('foo'));
unittest.expect(o.attributionLink, unittest.equals('foo'));
- checkUnnamed2654(o.baseTableIds);
- checkUnnamed2655(o.columns);
+ checkUnnamed2675(o.baseTableIds);
+ checkUnnamed2676(o.columns);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.isExportable, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -738,14 +738,14 @@
buildCounterTable--;
}
-buildUnnamed2656() {
+buildUnnamed2677() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed2656(core.List<api.Table> o) {
+checkUnnamed2677(core.List<api.Table> o) {
unittest.expect(o, unittest.hasLength(2));
checkTable(o[0]);
checkTable(o[1]);
@@ -756,7 +756,7 @@
var o = new api.TableList();
buildCounterTableList++;
if (buildCounterTableList < 3) {
- o.items = buildUnnamed2656();
+ o.items = buildUnnamed2677();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -767,7 +767,7 @@
checkTableList(api.TableList o) {
buildCounterTableList++;
if (buildCounterTableList < 3) {
- checkUnnamed2656(o.items);
+ checkUnnamed2677(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -801,14 +801,14 @@
buildCounterTask--;
}
-buildUnnamed2657() {
+buildUnnamed2678() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed2657(core.List<api.Task> o) {
+checkUnnamed2678(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -819,7 +819,7 @@
var o = new api.TaskList();
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- o.items = buildUnnamed2657();
+ o.items = buildUnnamed2678();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -831,7 +831,7 @@
checkTaskList(api.TaskList o) {
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- checkUnnamed2657(o.items);
+ checkUnnamed2678(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -839,14 +839,14 @@
buildCounterTaskList--;
}
-buildUnnamed2658() {
+buildUnnamed2679() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2658(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'));
@@ -857,7 +857,7 @@
var o = new api.Template();
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- o.automaticColumnNames = buildUnnamed2658();
+ o.automaticColumnNames = buildUnnamed2679();
o.body = "foo";
o.kind = "foo";
o.name = "foo";
@@ -871,7 +871,7 @@
checkTemplate(api.Template o) {
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- checkUnnamed2658(o.automaticColumnNames);
+ checkUnnamed2679(o.automaticColumnNames);
unittest.expect(o.body, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -881,14 +881,14 @@
buildCounterTemplate--;
}
-buildUnnamed2659() {
+buildUnnamed2680() {
var o = new core.List<api.Template>();
o.add(buildTemplate());
o.add(buildTemplate());
return o;
}
-checkUnnamed2659(core.List<api.Template> o) {
+checkUnnamed2680(core.List<api.Template> o) {
unittest.expect(o, unittest.hasLength(2));
checkTemplate(o[0]);
checkTemplate(o[1]);
@@ -899,7 +899,7 @@
var o = new api.TemplateList();
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- o.items = buildUnnamed2659();
+ o.items = buildUnnamed2680();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -911,7 +911,7 @@
checkTemplateList(api.TemplateList o) {
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- checkUnnamed2659(o.items);
+ checkUnnamed2680(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 7c1c59d..42f6bb5 100644
--- a/generated/googleapis/test/fusiontables/v2_test.dart
+++ b/generated/googleapis/test/fusiontables/v2_test.dart
@@ -101,14 +101,14 @@
buildCounterColumnBaseColumn--;
}
-buildUnnamed469() {
+buildUnnamed475() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed469(core.List<core.String> o) {
+checkUnnamed475(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -129,7 +129,7 @@
o.kind = "foo";
o.name = "foo";
o.type = "foo";
- o.validValues = buildUnnamed469();
+ o.validValues = buildUnnamed475();
o.validateData = true;
}
buildCounterColumn--;
@@ -149,20 +149,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
- checkUnnamed469(o.validValues);
+ checkUnnamed475(o.validValues);
unittest.expect(o.validateData, unittest.isTrue);
}
buildCounterColumn--;
}
-buildUnnamed470() {
+buildUnnamed476() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed470(core.List<api.Column> o) {
+checkUnnamed476(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -173,7 +173,7 @@
var o = new api.ColumnList();
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- o.items = buildUnnamed470();
+ o.items = buildUnnamed476();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -185,7 +185,7 @@
checkColumnList(api.ColumnList o) {
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- checkUnnamed470(o.items);
+ checkUnnamed476(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -193,14 +193,14 @@
buildCounterColumnList--;
}
-buildUnnamed471() {
+buildUnnamed477() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed471(core.List<core.Object> o) {
+checkUnnamed477(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
@@ -211,7 +211,7 @@
var o = new api.Geometry();
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- o.geometries = buildUnnamed471();
+ o.geometries = buildUnnamed477();
o.geometry = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o.type = "foo";
}
@@ -222,7 +222,7 @@
checkGeometry(api.Geometry o) {
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- checkUnnamed471(o.geometries);
+ checkUnnamed477(o.geometries);
var casted3 = (o.geometry) 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'));
unittest.expect(o.type, unittest.equals('foo'));
}
@@ -250,30 +250,30 @@
buildCounterImport--;
}
-buildUnnamed472() {
+buildUnnamed478() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed472(core.List<core.double> o) {
+checkUnnamed478(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));
}
-buildUnnamed473() {
+buildUnnamed479() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed472());
- o.add(buildUnnamed472());
+ o.add(buildUnnamed478());
+ o.add(buildUnnamed478());
return o;
}
-checkUnnamed473(core.List<core.List<core.double>> o) {
+checkUnnamed479(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed472(o[0]);
- checkUnnamed472(o[1]);
+ checkUnnamed478(o[0]);
+ checkUnnamed478(o[1]);
}
core.int buildCounterLine = 0;
@@ -281,7 +281,7 @@
var o = new api.Line();
buildCounterLine++;
if (buildCounterLine < 3) {
- o.coordinates = buildUnnamed473();
+ o.coordinates = buildUnnamed479();
o.type = "foo";
}
buildCounterLine--;
@@ -291,7 +291,7 @@
checkLine(api.Line o) {
buildCounterLine++;
if (buildCounterLine < 3) {
- checkUnnamed473(o.coordinates);
+ checkUnnamed479(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterLine--;
@@ -324,14 +324,14 @@
buildCounterLineStyle--;
}
-buildUnnamed474() {
+buildUnnamed480() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed474(core.List<core.double> o) {
+checkUnnamed480(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 = buildUnnamed474();
+ o.coordinates = buildUnnamed480();
o.type = "foo";
}
buildCounterPoint--;
@@ -352,7 +352,7 @@
checkPoint(api.Point o) {
buildCounterPoint++;
if (buildCounterPoint < 3) {
- checkUnnamed474(o.coordinates);
+ checkUnnamed480(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPoint--;
@@ -379,43 +379,43 @@
buildCounterPointStyle--;
}
-buildUnnamed475() {
+buildUnnamed481() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed475(core.List<core.double> o) {
+checkUnnamed481(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));
}
-buildUnnamed476() {
+buildUnnamed482() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed475());
- o.add(buildUnnamed475());
+ o.add(buildUnnamed481());
+ o.add(buildUnnamed481());
return o;
}
-checkUnnamed476(core.List<core.List<core.double>> o) {
+checkUnnamed482(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed475(o[0]);
- checkUnnamed475(o[1]);
+ checkUnnamed481(o[0]);
+ checkUnnamed481(o[1]);
}
-buildUnnamed477() {
+buildUnnamed483() {
var o = new core.List<core.List<core.List<core.double>>>();
- o.add(buildUnnamed476());
- o.add(buildUnnamed476());
+ o.add(buildUnnamed482());
+ o.add(buildUnnamed482());
return o;
}
-checkUnnamed477(core.List<core.List<core.List<core.double>>> o) {
+checkUnnamed483(core.List<core.List<core.List<core.double>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed476(o[0]);
- checkUnnamed476(o[1]);
+ checkUnnamed482(o[0]);
+ checkUnnamed482(o[1]);
}
core.int buildCounterPolygon = 0;
@@ -423,7 +423,7 @@
var o = new api.Polygon();
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- o.coordinates = buildUnnamed477();
+ o.coordinates = buildUnnamed483();
o.type = "foo";
}
buildCounterPolygon--;
@@ -433,7 +433,7 @@
checkPolygon(api.Polygon o) {
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- checkUnnamed477(o.coordinates);
+ checkUnnamed483(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPolygon--;
@@ -472,43 +472,43 @@
buildCounterPolygonStyle--;
}
-buildUnnamed478() {
+buildUnnamed484() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed478(core.List<core.String> o) {
+checkUnnamed484(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed479() {
+buildUnnamed485() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed479(core.List<core.Object> o) {
+checkUnnamed485(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted4 = (o[0]) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
var casted5 = (o[1]) 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'));
}
-buildUnnamed480() {
+buildUnnamed486() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed479());
- o.add(buildUnnamed479());
+ o.add(buildUnnamed485());
+ o.add(buildUnnamed485());
return o;
}
-checkUnnamed480(core.List<core.List<core.Object>> o) {
+checkUnnamed486(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed479(o[0]);
- checkUnnamed479(o[1]);
+ checkUnnamed485(o[0]);
+ checkUnnamed485(o[1]);
}
core.int buildCounterSqlresponse = 0;
@@ -516,9 +516,9 @@
var o = new api.Sqlresponse();
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- o.columns = buildUnnamed478();
+ o.columns = buildUnnamed484();
o.kind = "foo";
- o.rows = buildUnnamed480();
+ o.rows = buildUnnamed486();
}
buildCounterSqlresponse--;
return o;
@@ -527,21 +527,21 @@
checkSqlresponse(api.Sqlresponse o) {
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- checkUnnamed478(o.columns);
+ checkUnnamed484(o.columns);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed480(o.rows);
+ checkUnnamed486(o.rows);
}
buildCounterSqlresponse--;
}
-buildUnnamed481() {
+buildUnnamed487() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed481(core.List<api.Bucket> o) {
+checkUnnamed487(core.List<api.Bucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucket(o[0]);
checkBucket(o[1]);
@@ -568,14 +568,14 @@
buildCounterStyleFunctionGradientColors--;
}
-buildUnnamed482() {
+buildUnnamed488() {
var o = new core.List<api.StyleFunctionGradientColors>();
o.add(buildStyleFunctionGradientColors());
o.add(buildStyleFunctionGradientColors());
return o;
}
-checkUnnamed482(core.List<api.StyleFunctionGradientColors> o) {
+checkUnnamed488(core.List<api.StyleFunctionGradientColors> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleFunctionGradientColors(o[0]);
checkStyleFunctionGradientColors(o[1]);
@@ -586,7 +586,7 @@
var o = new api.StyleFunctionGradient();
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- o.colors = buildUnnamed482();
+ o.colors = buildUnnamed488();
o.max = 42.0;
o.min = 42.0;
}
@@ -597,7 +597,7 @@
checkStyleFunctionGradient(api.StyleFunctionGradient o) {
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- checkUnnamed482(o.colors);
+ checkUnnamed488(o.colors);
unittest.expect(o.max, unittest.equals(42.0));
unittest.expect(o.min, unittest.equals(42.0));
}
@@ -609,7 +609,7 @@
var o = new api.StyleFunction();
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- o.buckets = buildUnnamed481();
+ o.buckets = buildUnnamed487();
o.columnName = "foo";
o.gradient = buildStyleFunctionGradient();
o.kind = "foo";
@@ -621,7 +621,7 @@
checkStyleFunction(api.StyleFunction o) {
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- checkUnnamed481(o.buckets);
+ checkUnnamed487(o.buckets);
unittest.expect(o.columnName, unittest.equals('foo'));
checkStyleFunctionGradient(o.gradient);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -660,14 +660,14 @@
buildCounterStyleSetting--;
}
-buildUnnamed483() {
+buildUnnamed489() {
var o = new core.List<api.StyleSetting>();
o.add(buildStyleSetting());
o.add(buildStyleSetting());
return o;
}
-checkUnnamed483(core.List<api.StyleSetting> o) {
+checkUnnamed489(core.List<api.StyleSetting> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleSetting(o[0]);
checkStyleSetting(o[1]);
@@ -678,7 +678,7 @@
var o = new api.StyleSettingList();
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- o.items = buildUnnamed483();
+ o.items = buildUnnamed489();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -690,7 +690,7 @@
checkStyleSettingList(api.StyleSettingList o) {
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- checkUnnamed483(o.items);
+ checkUnnamed489(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -698,27 +698,27 @@
buildCounterStyleSettingList--;
}
-buildUnnamed484() {
+buildUnnamed490() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed484(core.List<core.String> o) {
+checkUnnamed490(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed485() {
+buildUnnamed491() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed485(core.List<api.Column> o) {
+checkUnnamed491(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -731,9 +731,9 @@
if (buildCounterTable < 3) {
o.attribution = "foo";
o.attributionLink = "foo";
- o.baseTableIds = buildUnnamed484();
+ o.baseTableIds = buildUnnamed490();
o.columnPropertiesJsonSchema = "foo";
- o.columns = buildUnnamed485();
+ o.columns = buildUnnamed491();
o.description = "foo";
o.isExportable = true;
o.kind = "foo";
@@ -752,9 +752,9 @@
if (buildCounterTable < 3) {
unittest.expect(o.attribution, unittest.equals('foo'));
unittest.expect(o.attributionLink, unittest.equals('foo'));
- checkUnnamed484(o.baseTableIds);
+ checkUnnamed490(o.baseTableIds);
unittest.expect(o.columnPropertiesJsonSchema, unittest.equals('foo'));
- checkUnnamed485(o.columns);
+ checkUnnamed491(o.columns);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.isExportable, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -767,14 +767,14 @@
buildCounterTable--;
}
-buildUnnamed486() {
+buildUnnamed492() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed486(core.List<api.Table> o) {
+checkUnnamed492(core.List<api.Table> o) {
unittest.expect(o, unittest.hasLength(2));
checkTable(o[0]);
checkTable(o[1]);
@@ -785,7 +785,7 @@
var o = new api.TableList();
buildCounterTableList++;
if (buildCounterTableList < 3) {
- o.items = buildUnnamed486();
+ o.items = buildUnnamed492();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -796,7 +796,7 @@
checkTableList(api.TableList o) {
buildCounterTableList++;
if (buildCounterTableList < 3) {
- checkUnnamed486(o.items);
+ checkUnnamed492(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -830,14 +830,14 @@
buildCounterTask--;
}
-buildUnnamed487() {
+buildUnnamed493() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed487(core.List<api.Task> o) {
+checkUnnamed493(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -848,7 +848,7 @@
var o = new api.TaskList();
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- o.items = buildUnnamed487();
+ o.items = buildUnnamed493();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -860,7 +860,7 @@
checkTaskList(api.TaskList o) {
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- checkUnnamed487(o.items);
+ checkUnnamed493(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -868,14 +868,14 @@
buildCounterTaskList--;
}
-buildUnnamed488() {
+buildUnnamed494() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed488(core.List<core.String> o) {
+checkUnnamed494(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -886,7 +886,7 @@
var o = new api.Template();
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- o.automaticColumnNames = buildUnnamed488();
+ o.automaticColumnNames = buildUnnamed494();
o.body = "foo";
o.kind = "foo";
o.name = "foo";
@@ -900,7 +900,7 @@
checkTemplate(api.Template o) {
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- checkUnnamed488(o.automaticColumnNames);
+ checkUnnamed494(o.automaticColumnNames);
unittest.expect(o.body, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -910,14 +910,14 @@
buildCounterTemplate--;
}
-buildUnnamed489() {
+buildUnnamed495() {
var o = new core.List<api.Template>();
o.add(buildTemplate());
o.add(buildTemplate());
return o;
}
-checkUnnamed489(core.List<api.Template> o) {
+checkUnnamed495(core.List<api.Template> o) {
unittest.expect(o, unittest.hasLength(2));
checkTemplate(o[0]);
checkTemplate(o[1]);
@@ -928,7 +928,7 @@
var o = new api.TemplateList();
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- o.items = buildUnnamed489();
+ o.items = buildUnnamed495();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -940,7 +940,7 @@
checkTemplateList(api.TemplateList o) {
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- checkUnnamed489(o.items);
+ checkUnnamed495(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/games/v1_test.dart b/generated/googleapis/test/games/v1_test.dart
index ee17ced..32aefa1 100644
--- a/generated/googleapis/test/games/v1_test.dart
+++ b/generated/googleapis/test/games/v1_test.dart
@@ -94,14 +94,14 @@
buildCounterAchievementDefinition--;
}
-buildUnnamed96() {
+buildUnnamed101() {
var o = new core.List<api.AchievementDefinition>();
o.add(buildAchievementDefinition());
o.add(buildAchievementDefinition());
return o;
}
-checkUnnamed96(core.List<api.AchievementDefinition> o) {
+checkUnnamed101(core.List<api.AchievementDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementDefinition(o[0]);
checkAchievementDefinition(o[1]);
@@ -112,7 +112,7 @@
var o = new api.AchievementDefinitionsListResponse();
buildCounterAchievementDefinitionsListResponse++;
if (buildCounterAchievementDefinitionsListResponse < 3) {
- o.items = buildUnnamed96();
+ o.items = buildUnnamed101();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -123,7 +123,7 @@
checkAchievementDefinitionsListResponse(api.AchievementDefinitionsListResponse o) {
buildCounterAchievementDefinitionsListResponse++;
if (buildCounterAchievementDefinitionsListResponse < 3) {
- checkUnnamed96(o.items);
+ checkUnnamed101(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -218,14 +218,14 @@
buildCounterAchievementUnlockResponse--;
}
-buildUnnamed97() {
+buildUnnamed102() {
var o = new core.List<api.AchievementUpdateRequest>();
o.add(buildAchievementUpdateRequest());
o.add(buildAchievementUpdateRequest());
return o;
}
-checkUnnamed97(core.List<api.AchievementUpdateRequest> o) {
+checkUnnamed102(core.List<api.AchievementUpdateRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementUpdateRequest(o[0]);
checkAchievementUpdateRequest(o[1]);
@@ -237,7 +237,7 @@
buildCounterAchievementUpdateMultipleRequest++;
if (buildCounterAchievementUpdateMultipleRequest < 3) {
o.kind = "foo";
- o.updates = buildUnnamed97();
+ o.updates = buildUnnamed102();
}
buildCounterAchievementUpdateMultipleRequest--;
return o;
@@ -247,19 +247,19 @@
buildCounterAchievementUpdateMultipleRequest++;
if (buildCounterAchievementUpdateMultipleRequest < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed97(o.updates);
+ checkUnnamed102(o.updates);
}
buildCounterAchievementUpdateMultipleRequest--;
}
-buildUnnamed98() {
+buildUnnamed103() {
var o = new core.List<api.AchievementUpdateResponse>();
o.add(buildAchievementUpdateResponse());
o.add(buildAchievementUpdateResponse());
return o;
}
-checkUnnamed98(core.List<api.AchievementUpdateResponse> o) {
+checkUnnamed103(core.List<api.AchievementUpdateResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementUpdateResponse(o[0]);
checkAchievementUpdateResponse(o[1]);
@@ -271,7 +271,7 @@
buildCounterAchievementUpdateMultipleResponse++;
if (buildCounterAchievementUpdateMultipleResponse < 3) {
o.kind = "foo";
- o.updatedAchievements = buildUnnamed98();
+ o.updatedAchievements = buildUnnamed103();
}
buildCounterAchievementUpdateMultipleResponse--;
return o;
@@ -281,7 +281,7 @@
buildCounterAchievementUpdateMultipleResponse++;
if (buildCounterAchievementUpdateMultipleResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed98(o.updatedAchievements);
+ checkUnnamed103(o.updatedAchievements);
}
buildCounterAchievementUpdateMultipleResponse--;
}
@@ -392,40 +392,40 @@
buildCounterAnonymousPlayer--;
}
-buildUnnamed99() {
+buildUnnamed104() {
var o = new core.List<api.ImageAsset>();
o.add(buildImageAsset());
o.add(buildImageAsset());
return o;
}
-checkUnnamed99(core.List<api.ImageAsset> o) {
+checkUnnamed104(core.List<api.ImageAsset> o) {
unittest.expect(o, unittest.hasLength(2));
checkImageAsset(o[0]);
checkImageAsset(o[1]);
}
-buildUnnamed100() {
+buildUnnamed105() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed100(core.List<core.String> o) {
+checkUnnamed105(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed101() {
+buildUnnamed106() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed101(core.List<api.Instance> o) {
+checkUnnamed106(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -437,13 +437,13 @@
buildCounterApplication++;
if (buildCounterApplication < 3) {
o.achievementCount = 42;
- o.assets = buildUnnamed99();
+ o.assets = buildUnnamed104();
o.author = "foo";
o.category = buildApplicationCategory();
o.description = "foo";
- o.enabledFeatures = buildUnnamed100();
+ o.enabledFeatures = buildUnnamed105();
o.id = "foo";
- o.instances = buildUnnamed101();
+ o.instances = buildUnnamed106();
o.kind = "foo";
o.lastUpdatedTimestamp = "foo";
o.leaderboardCount = 42;
@@ -458,13 +458,13 @@
buildCounterApplication++;
if (buildCounterApplication < 3) {
unittest.expect(o.achievementCount, unittest.equals(42));
- checkUnnamed99(o.assets);
+ checkUnnamed104(o.assets);
unittest.expect(o.author, unittest.equals('foo'));
checkApplicationCategory(o.category);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed100(o.enabledFeatures);
+ checkUnnamed105(o.enabledFeatures);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed101(o.instances);
+ checkUnnamed106(o.instances);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastUpdatedTimestamp, unittest.equals('foo'));
unittest.expect(o.leaderboardCount, unittest.equals(42));
@@ -543,14 +543,14 @@
buildCounterCategory--;
}
-buildUnnamed102() {
+buildUnnamed107() {
var o = new core.List<api.Category>();
o.add(buildCategory());
o.add(buildCategory());
return o;
}
-checkUnnamed102(core.List<api.Category> o) {
+checkUnnamed107(core.List<api.Category> o) {
unittest.expect(o, unittest.hasLength(2));
checkCategory(o[0]);
checkCategory(o[1]);
@@ -561,7 +561,7 @@
var o = new api.CategoryListResponse();
buildCounterCategoryListResponse++;
if (buildCounterCategoryListResponse < 3) {
- o.items = buildUnnamed102();
+ o.items = buildUnnamed107();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -572,7 +572,7 @@
checkCategoryListResponse(api.CategoryListResponse o) {
buildCounterCategoryListResponse++;
if (buildCounterCategoryListResponse < 3) {
- checkUnnamed102(o.items);
+ checkUnnamed107(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -623,14 +623,14 @@
buildCounterEventChild--;
}
-buildUnnamed103() {
+buildUnnamed108() {
var o = new core.List<api.EventChild>();
o.add(buildEventChild());
o.add(buildEventChild());
return o;
}
-checkUnnamed103(core.List<api.EventChild> o) {
+checkUnnamed108(core.List<api.EventChild> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventChild(o[0]);
checkEventChild(o[1]);
@@ -641,7 +641,7 @@
var o = new api.EventDefinition();
buildCounterEventDefinition++;
if (buildCounterEventDefinition < 3) {
- o.childEvents = buildUnnamed103();
+ o.childEvents = buildUnnamed108();
o.description = "foo";
o.displayName = "foo";
o.id = "foo";
@@ -657,7 +657,7 @@
checkEventDefinition(api.EventDefinition o) {
buildCounterEventDefinition++;
if (buildCounterEventDefinition < 3) {
- checkUnnamed103(o.childEvents);
+ checkUnnamed108(o.childEvents);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -669,14 +669,14 @@
buildCounterEventDefinition--;
}
-buildUnnamed104() {
+buildUnnamed109() {
var o = new core.List<api.EventDefinition>();
o.add(buildEventDefinition());
o.add(buildEventDefinition());
return o;
}
-checkUnnamed104(core.List<api.EventDefinition> o) {
+checkUnnamed109(core.List<api.EventDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventDefinition(o[0]);
checkEventDefinition(o[1]);
@@ -687,7 +687,7 @@
var o = new api.EventDefinitionListResponse();
buildCounterEventDefinitionListResponse++;
if (buildCounterEventDefinitionListResponse < 3) {
- o.items = buildUnnamed104();
+ o.items = buildUnnamed109();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -698,7 +698,7 @@
checkEventDefinitionListResponse(api.EventDefinitionListResponse o) {
buildCounterEventDefinitionListResponse++;
if (buildCounterEventDefinitionListResponse < 3) {
- checkUnnamed104(o.items);
+ checkUnnamed109(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -728,14 +728,14 @@
buildCounterEventPeriodRange--;
}
-buildUnnamed105() {
+buildUnnamed110() {
var o = new core.List<api.EventUpdateRequest>();
o.add(buildEventUpdateRequest());
o.add(buildEventUpdateRequest());
return o;
}
-checkUnnamed105(core.List<api.EventUpdateRequest> o) {
+checkUnnamed110(core.List<api.EventUpdateRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventUpdateRequest(o[0]);
checkEventUpdateRequest(o[1]);
@@ -748,7 +748,7 @@
if (buildCounterEventPeriodUpdate < 3) {
o.kind = "foo";
o.timePeriod = buildEventPeriodRange();
- o.updates = buildUnnamed105();
+ o.updates = buildUnnamed110();
}
buildCounterEventPeriodUpdate--;
return o;
@@ -759,7 +759,7 @@
if (buildCounterEventPeriodUpdate < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
checkEventPeriodRange(o.timePeriod);
- checkUnnamed105(o.updates);
+ checkUnnamed110(o.updates);
}
buildCounterEventPeriodUpdate--;
}
@@ -787,14 +787,14 @@
buildCounterEventRecordFailure--;
}
-buildUnnamed106() {
+buildUnnamed111() {
var o = new core.List<api.EventPeriodUpdate>();
o.add(buildEventPeriodUpdate());
o.add(buildEventPeriodUpdate());
return o;
}
-checkUnnamed106(core.List<api.EventPeriodUpdate> o) {
+checkUnnamed111(core.List<api.EventPeriodUpdate> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventPeriodUpdate(o[0]);
checkEventPeriodUpdate(o[1]);
@@ -808,7 +808,7 @@
o.currentTimeMillis = "foo";
o.kind = "foo";
o.requestId = "foo";
- o.timePeriods = buildUnnamed106();
+ o.timePeriods = buildUnnamed111();
}
buildCounterEventRecordRequest--;
return o;
@@ -820,7 +820,7 @@
unittest.expect(o.currentTimeMillis, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed106(o.timePeriods);
+ checkUnnamed111(o.timePeriods);
}
buildCounterEventRecordRequest--;
}
@@ -848,40 +848,40 @@
buildCounterEventUpdateRequest--;
}
-buildUnnamed107() {
+buildUnnamed112() {
var o = new core.List<api.EventBatchRecordFailure>();
o.add(buildEventBatchRecordFailure());
o.add(buildEventBatchRecordFailure());
return o;
}
-checkUnnamed107(core.List<api.EventBatchRecordFailure> o) {
+checkUnnamed112(core.List<api.EventBatchRecordFailure> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventBatchRecordFailure(o[0]);
checkEventBatchRecordFailure(o[1]);
}
-buildUnnamed108() {
+buildUnnamed113() {
var o = new core.List<api.EventRecordFailure>();
o.add(buildEventRecordFailure());
o.add(buildEventRecordFailure());
return o;
}
-checkUnnamed108(core.List<api.EventRecordFailure> o) {
+checkUnnamed113(core.List<api.EventRecordFailure> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventRecordFailure(o[0]);
checkEventRecordFailure(o[1]);
}
-buildUnnamed109() {
+buildUnnamed114() {
var o = new core.List<api.PlayerEvent>();
o.add(buildPlayerEvent());
o.add(buildPlayerEvent());
return o;
}
-checkUnnamed109(core.List<api.PlayerEvent> o) {
+checkUnnamed114(core.List<api.PlayerEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerEvent(o[0]);
checkPlayerEvent(o[1]);
@@ -892,10 +892,10 @@
var o = new api.EventUpdateResponse();
buildCounterEventUpdateResponse++;
if (buildCounterEventUpdateResponse < 3) {
- o.batchFailures = buildUnnamed107();
- o.eventFailures = buildUnnamed108();
+ o.batchFailures = buildUnnamed112();
+ o.eventFailures = buildUnnamed113();
o.kind = "foo";
- o.playerEvents = buildUnnamed109();
+ o.playerEvents = buildUnnamed114();
}
buildCounterEventUpdateResponse--;
return o;
@@ -904,10 +904,10 @@
checkEventUpdateResponse(api.EventUpdateResponse o) {
buildCounterEventUpdateResponse++;
if (buildCounterEventUpdateResponse < 3) {
- checkUnnamed107(o.batchFailures);
- checkUnnamed108(o.eventFailures);
+ checkUnnamed112(o.batchFailures);
+ checkUnnamed113(o.eventFailures);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed109(o.playerEvents);
+ checkUnnamed114(o.playerEvents);
}
buildCounterEventUpdateResponse--;
}
@@ -1161,14 +1161,14 @@
buildCounterLeaderboardEntry--;
}
-buildUnnamed110() {
+buildUnnamed115() {
var o = new core.List<api.Leaderboard>();
o.add(buildLeaderboard());
o.add(buildLeaderboard());
return o;
}
-checkUnnamed110(core.List<api.Leaderboard> o) {
+checkUnnamed115(core.List<api.Leaderboard> o) {
unittest.expect(o, unittest.hasLength(2));
checkLeaderboard(o[0]);
checkLeaderboard(o[1]);
@@ -1179,7 +1179,7 @@
var o = new api.LeaderboardListResponse();
buildCounterLeaderboardListResponse++;
if (buildCounterLeaderboardListResponse < 3) {
- o.items = buildUnnamed110();
+ o.items = buildUnnamed115();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1190,7 +1190,7 @@
checkLeaderboardListResponse(api.LeaderboardListResponse o) {
buildCounterLeaderboardListResponse++;
if (buildCounterLeaderboardListResponse < 3) {
- checkUnnamed110(o.items);
+ checkUnnamed115(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1224,14 +1224,14 @@
buildCounterLeaderboardScoreRank--;
}
-buildUnnamed111() {
+buildUnnamed116() {
var o = new core.List<api.LeaderboardEntry>();
o.add(buildLeaderboardEntry());
o.add(buildLeaderboardEntry());
return o;
}
-checkUnnamed111(core.List<api.LeaderboardEntry> o) {
+checkUnnamed116(core.List<api.LeaderboardEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLeaderboardEntry(o[0]);
checkLeaderboardEntry(o[1]);
@@ -1242,7 +1242,7 @@
var o = new api.LeaderboardScores();
buildCounterLeaderboardScores++;
if (buildCounterLeaderboardScores < 3) {
- o.items = buildUnnamed111();
+ o.items = buildUnnamed116();
o.kind = "foo";
o.nextPageToken = "foo";
o.numScores = "foo";
@@ -1256,7 +1256,7 @@
checkLeaderboardScores(api.LeaderboardScores o) {
buildCounterLeaderboardScores++;
if (buildCounterLeaderboardScores < 3) {
- checkUnnamed111(o.items);
+ checkUnnamed116(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.numScores, unittest.equals('foo'));
@@ -1266,14 +1266,14 @@
buildCounterLeaderboardScores--;
}
-buildUnnamed112() {
+buildUnnamed117() {
var o = new core.List<api.PlayerLevel>();
o.add(buildPlayerLevel());
o.add(buildPlayerLevel());
return o;
}
-checkUnnamed112(core.List<api.PlayerLevel> o) {
+checkUnnamed117(core.List<api.PlayerLevel> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerLevel(o[0]);
checkPlayerLevel(o[1]);
@@ -1286,7 +1286,7 @@
if (buildCounterMetagameConfig < 3) {
o.currentVersion = 42;
o.kind = "foo";
- o.playerLevels = buildUnnamed112();
+ o.playerLevels = buildUnnamed117();
}
buildCounterMetagameConfig--;
return o;
@@ -1297,7 +1297,7 @@
if (buildCounterMetagameConfig < 3) {
unittest.expect(o.currentVersion, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed112(o.playerLevels);
+ checkUnnamed117(o.playerLevels);
}
buildCounterMetagameConfig--;
}
@@ -1534,14 +1534,14 @@
buildCounterPlayerAchievement--;
}
-buildUnnamed113() {
+buildUnnamed118() {
var o = new core.List<api.PlayerAchievement>();
o.add(buildPlayerAchievement());
o.add(buildPlayerAchievement());
return o;
}
-checkUnnamed113(core.List<api.PlayerAchievement> o) {
+checkUnnamed118(core.List<api.PlayerAchievement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerAchievement(o[0]);
checkPlayerAchievement(o[1]);
@@ -1552,7 +1552,7 @@
var o = new api.PlayerAchievementListResponse();
buildCounterPlayerAchievementListResponse++;
if (buildCounterPlayerAchievementListResponse < 3) {
- o.items = buildUnnamed113();
+ o.items = buildUnnamed118();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1563,7 +1563,7 @@
checkPlayerAchievementListResponse(api.PlayerAchievementListResponse o) {
buildCounterPlayerAchievementListResponse++;
if (buildCounterPlayerAchievementListResponse < 3) {
- checkUnnamed113(o.items);
+ checkUnnamed118(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1597,14 +1597,14 @@
buildCounterPlayerEvent--;
}
-buildUnnamed114() {
+buildUnnamed119() {
var o = new core.List<api.PlayerEvent>();
o.add(buildPlayerEvent());
o.add(buildPlayerEvent());
return o;
}
-checkUnnamed114(core.List<api.PlayerEvent> o) {
+checkUnnamed119(core.List<api.PlayerEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerEvent(o[0]);
checkPlayerEvent(o[1]);
@@ -1615,7 +1615,7 @@
var o = new api.PlayerEventListResponse();
buildCounterPlayerEventListResponse++;
if (buildCounterPlayerEventListResponse < 3) {
- o.items = buildUnnamed114();
+ o.items = buildUnnamed119();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1626,7 +1626,7 @@
checkPlayerEventListResponse(api.PlayerEventListResponse o) {
buildCounterPlayerEventListResponse++;
if (buildCounterPlayerEventListResponse < 3) {
- checkUnnamed114(o.items);
+ checkUnnamed119(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1695,14 +1695,14 @@
buildCounterPlayerLeaderboardScore--;
}
-buildUnnamed115() {
+buildUnnamed120() {
var o = new core.List<api.PlayerLeaderboardScore>();
o.add(buildPlayerLeaderboardScore());
o.add(buildPlayerLeaderboardScore());
return o;
}
-checkUnnamed115(core.List<api.PlayerLeaderboardScore> o) {
+checkUnnamed120(core.List<api.PlayerLeaderboardScore> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerLeaderboardScore(o[0]);
checkPlayerLeaderboardScore(o[1]);
@@ -1713,7 +1713,7 @@
var o = new api.PlayerLeaderboardScoreListResponse();
buildCounterPlayerLeaderboardScoreListResponse++;
if (buildCounterPlayerLeaderboardScoreListResponse < 3) {
- o.items = buildUnnamed115();
+ o.items = buildUnnamed120();
o.kind = "foo";
o.nextPageToken = "foo";
o.player = buildPlayer();
@@ -1725,7 +1725,7 @@
checkPlayerLeaderboardScoreListResponse(api.PlayerLeaderboardScoreListResponse o) {
buildCounterPlayerLeaderboardScoreListResponse++;
if (buildCounterPlayerLeaderboardScoreListResponse < 3) {
- checkUnnamed115(o.items);
+ checkUnnamed120(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPlayer(o.player);
@@ -1758,14 +1758,14 @@
buildCounterPlayerLevel--;
}
-buildUnnamed116() {
+buildUnnamed121() {
var o = new core.List<api.Player>();
o.add(buildPlayer());
o.add(buildPlayer());
return o;
}
-checkUnnamed116(core.List<api.Player> o) {
+checkUnnamed121(core.List<api.Player> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayer(o[0]);
checkPlayer(o[1]);
@@ -1776,7 +1776,7 @@
var o = new api.PlayerListResponse();
buildCounterPlayerListResponse++;
if (buildCounterPlayerListResponse < 3) {
- o.items = buildUnnamed116();
+ o.items = buildUnnamed121();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1787,7 +1787,7 @@
checkPlayerListResponse(api.PlayerListResponse o) {
buildCounterPlayerListResponse++;
if (buildCounterPlayerListResponse < 3) {
- checkUnnamed116(o.items);
+ checkUnnamed121(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1821,14 +1821,14 @@
buildCounterPlayerScore--;
}
-buildUnnamed117() {
+buildUnnamed122() {
var o = new core.List<api.PlayerScoreResponse>();
o.add(buildPlayerScoreResponse());
o.add(buildPlayerScoreResponse());
return o;
}
-checkUnnamed117(core.List<api.PlayerScoreResponse> o) {
+checkUnnamed122(core.List<api.PlayerScoreResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerScoreResponse(o[0]);
checkPlayerScoreResponse(o[1]);
@@ -1840,7 +1840,7 @@
buildCounterPlayerScoreListResponse++;
if (buildCounterPlayerScoreListResponse < 3) {
o.kind = "foo";
- o.submittedScores = buildUnnamed117();
+ o.submittedScores = buildUnnamed122();
}
buildCounterPlayerScoreListResponse--;
return o;
@@ -1850,32 +1850,32 @@
buildCounterPlayerScoreListResponse++;
if (buildCounterPlayerScoreListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed117(o.submittedScores);
+ checkUnnamed122(o.submittedScores);
}
buildCounterPlayerScoreListResponse--;
}
-buildUnnamed118() {
+buildUnnamed123() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed118(core.List<core.String> o) {
+checkUnnamed123(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed119() {
+buildUnnamed124() {
var o = new core.List<api.PlayerScore>();
o.add(buildPlayerScore());
o.add(buildPlayerScore());
return o;
}
-checkUnnamed119(core.List<api.PlayerScore> o) {
+checkUnnamed124(core.List<api.PlayerScore> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerScore(o[0]);
checkPlayerScore(o[1]);
@@ -1886,12 +1886,12 @@
var o = new api.PlayerScoreResponse();
buildCounterPlayerScoreResponse++;
if (buildCounterPlayerScoreResponse < 3) {
- o.beatenScoreTimeSpans = buildUnnamed118();
+ o.beatenScoreTimeSpans = buildUnnamed123();
o.formattedScore = "foo";
o.kind = "foo";
o.leaderboardId = "foo";
o.scoreTag = "foo";
- o.unbeatenScores = buildUnnamed119();
+ o.unbeatenScores = buildUnnamed124();
}
buildCounterPlayerScoreResponse--;
return o;
@@ -1900,24 +1900,24 @@
checkPlayerScoreResponse(api.PlayerScoreResponse o) {
buildCounterPlayerScoreResponse++;
if (buildCounterPlayerScoreResponse < 3) {
- checkUnnamed118(o.beatenScoreTimeSpans);
+ checkUnnamed123(o.beatenScoreTimeSpans);
unittest.expect(o.formattedScore, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.leaderboardId, unittest.equals('foo'));
unittest.expect(o.scoreTag, unittest.equals('foo'));
- checkUnnamed119(o.unbeatenScores);
+ checkUnnamed124(o.unbeatenScores);
}
buildCounterPlayerScoreResponse--;
}
-buildUnnamed120() {
+buildUnnamed125() {
var o = new core.List<api.ScoreSubmission>();
o.add(buildScoreSubmission());
o.add(buildScoreSubmission());
return o;
}
-checkUnnamed120(core.List<api.ScoreSubmission> o) {
+checkUnnamed125(core.List<api.ScoreSubmission> o) {
unittest.expect(o, unittest.hasLength(2));
checkScoreSubmission(o[0]);
checkScoreSubmission(o[1]);
@@ -1929,7 +1929,7 @@
buildCounterPlayerScoreSubmissionList++;
if (buildCounterPlayerScoreSubmissionList < 3) {
o.kind = "foo";
- o.scores = buildUnnamed120();
+ o.scores = buildUnnamed125();
}
buildCounterPlayerScoreSubmissionList--;
return o;
@@ -1939,7 +1939,7 @@
buildCounterPlayerScoreSubmissionList++;
if (buildCounterPlayerScoreSubmissionList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed120(o.scores);
+ checkUnnamed125(o.scores);
}
buildCounterPlayerScoreSubmissionList--;
}
@@ -2032,14 +2032,14 @@
buildCounterPushTokenId--;
}
-buildUnnamed121() {
+buildUnnamed126() {
var o = new core.List<api.QuestMilestone>();
o.add(buildQuestMilestone());
o.add(buildQuestMilestone());
return o;
}
-checkUnnamed121(core.List<api.QuestMilestone> o) {
+checkUnnamed126(core.List<api.QuestMilestone> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuestMilestone(o[0]);
checkQuestMilestone(o[1]);
@@ -2061,7 +2061,7 @@
o.isDefaultIconUrl = true;
o.kind = "foo";
o.lastUpdatedTimestampMillis = "foo";
- o.milestones = buildUnnamed121();
+ o.milestones = buildUnnamed126();
o.name = "foo";
o.notifyTimestampMillis = "foo";
o.startTimestampMillis = "foo";
@@ -2085,7 +2085,7 @@
unittest.expect(o.isDefaultIconUrl, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastUpdatedTimestampMillis, unittest.equals('foo'));
- checkUnnamed121(o.milestones);
+ checkUnnamed126(o.milestones);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notifyTimestampMillis, unittest.equals('foo'));
unittest.expect(o.startTimestampMillis, unittest.equals('foo'));
@@ -2144,14 +2144,14 @@
buildCounterQuestCriterion--;
}
-buildUnnamed122() {
+buildUnnamed127() {
var o = new core.List<api.Quest>();
o.add(buildQuest());
o.add(buildQuest());
return o;
}
-checkUnnamed122(core.List<api.Quest> o) {
+checkUnnamed127(core.List<api.Quest> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuest(o[0]);
checkQuest(o[1]);
@@ -2162,7 +2162,7 @@
var o = new api.QuestListResponse();
buildCounterQuestListResponse++;
if (buildCounterQuestListResponse < 3) {
- o.items = buildUnnamed122();
+ o.items = buildUnnamed127();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2173,21 +2173,21 @@
checkQuestListResponse(api.QuestListResponse o) {
buildCounterQuestListResponse++;
if (buildCounterQuestListResponse < 3) {
- checkUnnamed122(o.items);
+ checkUnnamed127(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterQuestListResponse--;
}
-buildUnnamed123() {
+buildUnnamed128() {
var o = new core.List<api.QuestCriterion>();
o.add(buildQuestCriterion());
o.add(buildQuestCriterion());
return o;
}
-checkUnnamed123(core.List<api.QuestCriterion> o) {
+checkUnnamed128(core.List<api.QuestCriterion> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuestCriterion(o[0]);
checkQuestCriterion(o[1]);
@@ -2199,7 +2199,7 @@
buildCounterQuestMilestone++;
if (buildCounterQuestMilestone < 3) {
o.completionRewardData = "foo";
- o.criteria = buildUnnamed123();
+ o.criteria = buildUnnamed128();
o.id = "foo";
o.kind = "foo";
o.state = "foo";
@@ -2212,7 +2212,7 @@
buildCounterQuestMilestone++;
if (buildCounterQuestMilestone < 3) {
unittest.expect(o.completionRewardData, unittest.equals('foo'));
- checkUnnamed123(o.criteria);
+ checkUnnamed128(o.criteria);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
@@ -2243,14 +2243,14 @@
buildCounterRevisionCheckResponse--;
}
-buildUnnamed124() {
+buildUnnamed129() {
var o = new core.List<api.RoomParticipant>();
o.add(buildRoomParticipant());
o.add(buildRoomParticipant());
return o;
}
-checkUnnamed124(core.List<api.RoomParticipant> o) {
+checkUnnamed129(core.List<api.RoomParticipant> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoomParticipant(o[0]);
checkRoomParticipant(o[1]);
@@ -2269,7 +2269,7 @@
o.inviterId = "foo";
o.kind = "foo";
o.lastUpdateDetails = buildRoomModification();
- o.participants = buildUnnamed124();
+ o.participants = buildUnnamed129();
o.roomId = "foo";
o.roomStatusVersion = 42;
o.status = "foo";
@@ -2290,7 +2290,7 @@
unittest.expect(o.inviterId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkRoomModification(o.lastUpdateDetails);
- checkUnnamed124(o.participants);
+ checkUnnamed129(o.participants);
unittest.expect(o.roomId, unittest.equals('foo'));
unittest.expect(o.roomStatusVersion, unittest.equals(42));
unittest.expect(o.status, unittest.equals('foo'));
@@ -2366,27 +2366,27 @@
buildCounterRoomClientAddress--;
}
-buildUnnamed125() {
+buildUnnamed130() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed125(core.List<core.String> o) {
+checkUnnamed130(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed126() {
+buildUnnamed131() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed126(core.List<core.String> o) {
+checkUnnamed131(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2398,9 +2398,9 @@
buildCounterRoomCreateRequest++;
if (buildCounterRoomCreateRequest < 3) {
o.autoMatchingCriteria = buildRoomAutoMatchingCriteria();
- o.capabilities = buildUnnamed125();
+ o.capabilities = buildUnnamed130();
o.clientAddress = buildRoomClientAddress();
- o.invitedPlayerIds = buildUnnamed126();
+ o.invitedPlayerIds = buildUnnamed131();
o.kind = "foo";
o.networkDiagnostics = buildNetworkDiagnostics();
o.requestId = "foo";
@@ -2414,9 +2414,9 @@
buildCounterRoomCreateRequest++;
if (buildCounterRoomCreateRequest < 3) {
checkRoomAutoMatchingCriteria(o.autoMatchingCriteria);
- checkUnnamed125(o.capabilities);
+ checkUnnamed130(o.capabilities);
checkRoomClientAddress(o.clientAddress);
- checkUnnamed126(o.invitedPlayerIds);
+ checkUnnamed131(o.invitedPlayerIds);
unittest.expect(o.kind, unittest.equals('foo'));
checkNetworkDiagnostics(o.networkDiagnostics);
unittest.expect(o.requestId, unittest.equals('foo'));
@@ -2425,14 +2425,14 @@
buildCounterRoomCreateRequest--;
}
-buildUnnamed127() {
+buildUnnamed132() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed127(core.List<core.String> o) {
+checkUnnamed132(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2443,7 +2443,7 @@
var o = new api.RoomJoinRequest();
buildCounterRoomJoinRequest++;
if (buildCounterRoomJoinRequest < 3) {
- o.capabilities = buildUnnamed127();
+ o.capabilities = buildUnnamed132();
o.clientAddress = buildRoomClientAddress();
o.kind = "foo";
o.networkDiagnostics = buildNetworkDiagnostics();
@@ -2455,7 +2455,7 @@
checkRoomJoinRequest(api.RoomJoinRequest o) {
buildCounterRoomJoinRequest++;
if (buildCounterRoomJoinRequest < 3) {
- checkUnnamed127(o.capabilities);
+ checkUnnamed132(o.capabilities);
checkRoomClientAddress(o.clientAddress);
unittest.expect(o.kind, unittest.equals('foo'));
checkNetworkDiagnostics(o.networkDiagnostics);
@@ -2463,14 +2463,14 @@
buildCounterRoomJoinRequest--;
}
-buildUnnamed128() {
+buildUnnamed133() {
var o = new core.List<api.PeerSessionDiagnostics>();
o.add(buildPeerSessionDiagnostics());
o.add(buildPeerSessionDiagnostics());
return o;
}
-checkUnnamed128(core.List<api.PeerSessionDiagnostics> o) {
+checkUnnamed133(core.List<api.PeerSessionDiagnostics> o) {
unittest.expect(o, unittest.hasLength(2));
checkPeerSessionDiagnostics(o[0]);
checkPeerSessionDiagnostics(o[1]);
@@ -2487,7 +2487,7 @@
o.kind = "foo";
o.networkOperatorCode = "foo";
o.networkOperatorName = "foo";
- o.peerSession = buildUnnamed128();
+ o.peerSession = buildUnnamed133();
o.socketsUsed = true;
}
buildCounterRoomLeaveDiagnostics--;
@@ -2503,7 +2503,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.networkOperatorCode, unittest.equals('foo'));
unittest.expect(o.networkOperatorName, unittest.equals('foo'));
- checkUnnamed128(o.peerSession);
+ checkUnnamed133(o.peerSession);
unittest.expect(o.socketsUsed, unittest.isTrue);
}
buildCounterRoomLeaveDiagnostics--;
@@ -2532,14 +2532,14 @@
buildCounterRoomLeaveRequest--;
}
-buildUnnamed129() {
+buildUnnamed134() {
var o = new core.List<api.Room>();
o.add(buildRoom());
o.add(buildRoom());
return o;
}
-checkUnnamed129(core.List<api.Room> o) {
+checkUnnamed134(core.List<api.Room> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoom(o[0]);
checkRoom(o[1]);
@@ -2550,7 +2550,7 @@
var o = new api.RoomList();
buildCounterRoomList++;
if (buildCounterRoomList < 3) {
- o.items = buildUnnamed129();
+ o.items = buildUnnamed134();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2561,7 +2561,7 @@
checkRoomList(api.RoomList o) {
buildCounterRoomList++;
if (buildCounterRoomList < 3) {
- checkUnnamed129(o.items);
+ checkUnnamed134(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2622,14 +2622,14 @@
buildCounterRoomP2PStatus--;
}
-buildUnnamed130() {
+buildUnnamed135() {
var o = new core.List<api.RoomP2PStatus>();
o.add(buildRoomP2PStatus());
o.add(buildRoomP2PStatus());
return o;
}
-checkUnnamed130(core.List<api.RoomP2PStatus> o) {
+checkUnnamed135(core.List<api.RoomP2PStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoomP2PStatus(o[0]);
checkRoomP2PStatus(o[1]);
@@ -2641,7 +2641,7 @@
buildCounterRoomP2PStatuses++;
if (buildCounterRoomP2PStatuses < 3) {
o.kind = "foo";
- o.updates = buildUnnamed130();
+ o.updates = buildUnnamed135();
}
buildCounterRoomP2PStatuses--;
return o;
@@ -2651,19 +2651,19 @@
buildCounterRoomP2PStatuses++;
if (buildCounterRoomP2PStatuses < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed130(o.updates);
+ checkUnnamed135(o.updates);
}
buildCounterRoomP2PStatuses--;
}
-buildUnnamed131() {
+buildUnnamed136() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed131(core.List<core.String> o) {
+checkUnnamed136(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2676,7 +2676,7 @@
if (buildCounterRoomParticipant < 3) {
o.autoMatched = true;
o.autoMatchedPlayer = buildAnonymousPlayer();
- o.capabilities = buildUnnamed131();
+ o.capabilities = buildUnnamed136();
o.clientAddress = buildRoomClientAddress();
o.connected = true;
o.id = "foo";
@@ -2694,7 +2694,7 @@
if (buildCounterRoomParticipant < 3) {
unittest.expect(o.autoMatched, unittest.isTrue);
checkAnonymousPlayer(o.autoMatchedPlayer);
- checkUnnamed131(o.capabilities);
+ checkUnnamed136(o.capabilities);
checkRoomClientAddress(o.clientAddress);
unittest.expect(o.connected, unittest.isTrue);
unittest.expect(o.id, unittest.equals('foo'));
@@ -2706,14 +2706,14 @@
buildCounterRoomParticipant--;
}
-buildUnnamed132() {
+buildUnnamed137() {
var o = new core.List<api.RoomParticipant>();
o.add(buildRoomParticipant());
o.add(buildRoomParticipant());
return o;
}
-checkUnnamed132(core.List<api.RoomParticipant> o) {
+checkUnnamed137(core.List<api.RoomParticipant> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoomParticipant(o[0]);
checkRoomParticipant(o[1]);
@@ -2726,7 +2726,7 @@
if (buildCounterRoomStatus < 3) {
o.autoMatchingStatus = buildRoomAutoMatchStatus();
o.kind = "foo";
- o.participants = buildUnnamed132();
+ o.participants = buildUnnamed137();
o.roomId = "foo";
o.status = "foo";
o.statusVersion = 42;
@@ -2740,7 +2740,7 @@
if (buildCounterRoomStatus < 3) {
checkRoomAutoMatchStatus(o.autoMatchingStatus);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed132(o.participants);
+ checkUnnamed137(o.participants);
unittest.expect(o.roomId, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.statusVersion, unittest.equals(42));
@@ -2841,14 +2841,14 @@
buildCounterSnapshotImage--;
}
-buildUnnamed133() {
+buildUnnamed138() {
var o = new core.List<api.Snapshot>();
o.add(buildSnapshot());
o.add(buildSnapshot());
return o;
}
-checkUnnamed133(core.List<api.Snapshot> o) {
+checkUnnamed138(core.List<api.Snapshot> o) {
unittest.expect(o, unittest.hasLength(2));
checkSnapshot(o[0]);
checkSnapshot(o[1]);
@@ -2859,7 +2859,7 @@
var o = new api.SnapshotListResponse();
buildCounterSnapshotListResponse++;
if (buildCounterSnapshotListResponse < 3) {
- o.items = buildUnnamed133();
+ o.items = buildUnnamed138();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2870,7 +2870,7 @@
checkSnapshotListResponse(api.SnapshotListResponse o) {
buildCounterSnapshotListResponse++;
if (buildCounterSnapshotListResponse < 3) {
- checkUnnamed133(o.items);
+ checkUnnamed138(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2902,27 +2902,27 @@
buildCounterTurnBasedAutoMatchingCriteria--;
}
-buildUnnamed134() {
+buildUnnamed139() {
var o = new core.List<api.TurnBasedMatchParticipant>();
o.add(buildTurnBasedMatchParticipant());
o.add(buildTurnBasedMatchParticipant());
return o;
}
-checkUnnamed134(core.List<api.TurnBasedMatchParticipant> o) {
+checkUnnamed139(core.List<api.TurnBasedMatchParticipant> o) {
unittest.expect(o, unittest.hasLength(2));
checkTurnBasedMatchParticipant(o[0]);
checkTurnBasedMatchParticipant(o[1]);
}
-buildUnnamed135() {
+buildUnnamed140() {
var o = new core.List<api.ParticipantResult>();
o.add(buildParticipantResult());
o.add(buildParticipantResult());
return o;
}
-checkUnnamed135(core.List<api.ParticipantResult> o) {
+checkUnnamed140(core.List<api.ParticipantResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkParticipantResult(o[0]);
checkParticipantResult(o[1]);
@@ -2944,11 +2944,11 @@
o.matchId = "foo";
o.matchNumber = 42;
o.matchVersion = 42;
- o.participants = buildUnnamed134();
+ o.participants = buildUnnamed139();
o.pendingParticipantId = "foo";
o.previousMatchData = buildTurnBasedMatchData();
o.rematchId = "foo";
- o.results = buildUnnamed135();
+ o.results = buildUnnamed140();
o.status = "foo";
o.userMatchStatus = "foo";
o.variant = 42;
@@ -2972,11 +2972,11 @@
unittest.expect(o.matchId, unittest.equals('foo'));
unittest.expect(o.matchNumber, unittest.equals(42));
unittest.expect(o.matchVersion, unittest.equals(42));
- checkUnnamed134(o.participants);
+ checkUnnamed139(o.participants);
unittest.expect(o.pendingParticipantId, unittest.equals('foo'));
checkTurnBasedMatchData(o.previousMatchData);
unittest.expect(o.rematchId, unittest.equals('foo'));
- checkUnnamed135(o.results);
+ checkUnnamed140(o.results);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.userMatchStatus, unittest.equals('foo'));
unittest.expect(o.variant, unittest.equals(42));
@@ -2985,14 +2985,14 @@
buildCounterTurnBasedMatch--;
}
-buildUnnamed136() {
+buildUnnamed141() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed136(core.List<core.String> o) {
+checkUnnamed141(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3004,7 +3004,7 @@
buildCounterTurnBasedMatchCreateRequest++;
if (buildCounterTurnBasedMatchCreateRequest < 3) {
o.autoMatchingCriteria = buildTurnBasedAutoMatchingCriteria();
- o.invitedPlayerIds = buildUnnamed136();
+ o.invitedPlayerIds = buildUnnamed141();
o.kind = "foo";
o.requestId = "foo";
o.variant = 42;
@@ -3017,7 +3017,7 @@
buildCounterTurnBasedMatchCreateRequest++;
if (buildCounterTurnBasedMatchCreateRequest < 3) {
checkTurnBasedAutoMatchingCriteria(o.autoMatchingCriteria);
- checkUnnamed136(o.invitedPlayerIds);
+ checkUnnamed141(o.invitedPlayerIds);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.requestId, unittest.equals('foo'));
unittest.expect(o.variant, unittest.equals(42));
@@ -3069,14 +3069,14 @@
buildCounterTurnBasedMatchDataRequest--;
}
-buildUnnamed137() {
+buildUnnamed142() {
var o = new core.List<api.TurnBasedMatch>();
o.add(buildTurnBasedMatch());
o.add(buildTurnBasedMatch());
return o;
}
-checkUnnamed137(core.List<api.TurnBasedMatch> o) {
+checkUnnamed142(core.List<api.TurnBasedMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkTurnBasedMatch(o[0]);
checkTurnBasedMatch(o[1]);
@@ -3087,7 +3087,7 @@
var o = new api.TurnBasedMatchList();
buildCounterTurnBasedMatchList++;
if (buildCounterTurnBasedMatchList < 3) {
- o.items = buildUnnamed137();
+ o.items = buildUnnamed142();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3098,7 +3098,7 @@
checkTurnBasedMatchList(api.TurnBasedMatchList o) {
buildCounterTurnBasedMatchList++;
if (buildCounterTurnBasedMatchList < 3) {
- checkUnnamed137(o.items);
+ checkUnnamed142(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3180,14 +3180,14 @@
buildCounterTurnBasedMatchRematch--;
}
-buildUnnamed138() {
+buildUnnamed143() {
var o = new core.List<api.ParticipantResult>();
o.add(buildParticipantResult());
o.add(buildParticipantResult());
return o;
}
-checkUnnamed138(core.List<api.ParticipantResult> o) {
+checkUnnamed143(core.List<api.ParticipantResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkParticipantResult(o[0]);
checkParticipantResult(o[1]);
@@ -3201,7 +3201,7 @@
o.data = buildTurnBasedMatchDataRequest();
o.kind = "foo";
o.matchVersion = 42;
- o.results = buildUnnamed138();
+ o.results = buildUnnamed143();
}
buildCounterTurnBasedMatchResults--;
return o;
@@ -3213,19 +3213,19 @@
checkTurnBasedMatchDataRequest(o.data);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.matchVersion, unittest.equals(42));
- checkUnnamed138(o.results);
+ checkUnnamed143(o.results);
}
buildCounterTurnBasedMatchResults--;
}
-buildUnnamed139() {
+buildUnnamed144() {
var o = new core.List<api.TurnBasedMatch>();
o.add(buildTurnBasedMatch());
o.add(buildTurnBasedMatch());
return o;
}
-checkUnnamed139(core.List<api.TurnBasedMatch> o) {
+checkUnnamed144(core.List<api.TurnBasedMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkTurnBasedMatch(o[0]);
checkTurnBasedMatch(o[1]);
@@ -3236,7 +3236,7 @@
var o = new api.TurnBasedMatchSync();
buildCounterTurnBasedMatchSync++;
if (buildCounterTurnBasedMatchSync < 3) {
- o.items = buildUnnamed139();
+ o.items = buildUnnamed144();
o.kind = "foo";
o.moreAvailable = true;
o.nextPageToken = "foo";
@@ -3248,7 +3248,7 @@
checkTurnBasedMatchSync(api.TurnBasedMatchSync o) {
buildCounterTurnBasedMatchSync++;
if (buildCounterTurnBasedMatchSync < 3) {
- checkUnnamed139(o.items);
+ checkUnnamed144(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.moreAvailable, unittest.isTrue);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -3256,14 +3256,14 @@
buildCounterTurnBasedMatchSync--;
}
-buildUnnamed140() {
+buildUnnamed145() {
var o = new core.List<api.ParticipantResult>();
o.add(buildParticipantResult());
o.add(buildParticipantResult());
return o;
}
-checkUnnamed140(core.List<api.ParticipantResult> o) {
+checkUnnamed145(core.List<api.ParticipantResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkParticipantResult(o[0]);
checkParticipantResult(o[1]);
@@ -3278,7 +3278,7 @@
o.kind = "foo";
o.matchVersion = 42;
o.pendingParticipantId = "foo";
- o.results = buildUnnamed140();
+ o.results = buildUnnamed145();
}
buildCounterTurnBasedMatchTurn--;
return o;
@@ -3291,7 +3291,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.matchVersion, unittest.equals(42));
unittest.expect(o.pendingParticipantId, unittest.equals('foo'));
- checkUnnamed140(o.results);
+ checkUnnamed145(o.results);
}
buildCounterTurnBasedMatchTurn--;
}
diff --git a/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart b/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
index 0218ae6..37fbdfb 100644
--- a/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
+++ b/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
@@ -113,14 +113,14 @@
buildCounterAchievementConfigurationDetail--;
}
-buildUnnamed738() {
+buildUnnamed755() {
var o = new core.List<api.AchievementConfiguration>();
o.add(buildAchievementConfiguration());
o.add(buildAchievementConfiguration());
return o;
}
-checkUnnamed738(core.List<api.AchievementConfiguration> o) {
+checkUnnamed755(core.List<api.AchievementConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementConfiguration(o[0]);
checkAchievementConfiguration(o[1]);
@@ -131,7 +131,7 @@
var o = new api.AchievementConfigurationListResponse();
buildCounterAchievementConfigurationListResponse++;
if (buildCounterAchievementConfigurationListResponse < 3) {
- o.items = buildUnnamed738();
+ o.items = buildUnnamed755();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -142,7 +142,7 @@
checkAchievementConfigurationListResponse(api.AchievementConfigurationListResponse o) {
buildCounterAchievementConfigurationListResponse++;
if (buildCounterAchievementConfigurationListResponse < 3) {
- checkUnnamed738(o.items);
+ checkUnnamed755(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -288,14 +288,14 @@
buildCounterLeaderboardConfigurationDetail--;
}
-buildUnnamed739() {
+buildUnnamed756() {
var o = new core.List<api.LeaderboardConfiguration>();
o.add(buildLeaderboardConfiguration());
o.add(buildLeaderboardConfiguration());
return o;
}
-checkUnnamed739(core.List<api.LeaderboardConfiguration> o) {
+checkUnnamed756(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 = buildUnnamed739();
+ o.items = buildUnnamed756();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -317,7 +317,7 @@
checkLeaderboardConfigurationListResponse(api.LeaderboardConfigurationListResponse o) {
buildCounterLeaderboardConfigurationListResponse++;
if (buildCounterLeaderboardConfigurationListResponse < 3) {
- checkUnnamed739(o.items);
+ checkUnnamed756(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -347,14 +347,14 @@
buildCounterLocalizedString--;
}
-buildUnnamed740() {
+buildUnnamed757() {
var o = new core.List<api.LocalizedString>();
o.add(buildLocalizedString());
o.add(buildLocalizedString());
return o;
}
-checkUnnamed740(core.List<api.LocalizedString> o) {
+checkUnnamed757(core.List<api.LocalizedString> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedString(o[0]);
checkLocalizedString(o[1]);
@@ -366,7 +366,7 @@
buildCounterLocalizedStringBundle++;
if (buildCounterLocalizedStringBundle < 3) {
o.kind = "foo";
- o.translations = buildUnnamed740();
+ o.translations = buildUnnamed757();
}
buildCounterLocalizedStringBundle--;
return o;
@@ -376,7 +376,7 @@
buildCounterLocalizedStringBundle++;
if (buildCounterLocalizedStringBundle < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed740(o.translations);
+ checkUnnamed757(o.translations);
}
buildCounterLocalizedStringBundle--;
}
diff --git a/generated/googleapis/test/gamesmanagement/v1management_test.dart b/generated/googleapis/test/gamesmanagement/v1management_test.dart
index 85a79d3..70a1f7e 100644
--- a/generated/googleapis/test/gamesmanagement/v1management_test.dart
+++ b/generated/googleapis/test/gamesmanagement/v1management_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed730() {
+buildUnnamed747() {
var o = new core.List<api.AchievementResetResponse>();
o.add(buildAchievementResetResponse());
o.add(buildAchievementResetResponse());
return o;
}
-checkUnnamed730(core.List<api.AchievementResetResponse> o) {
+checkUnnamed747(core.List<api.AchievementResetResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementResetResponse(o[0]);
checkAchievementResetResponse(o[1]);
@@ -70,7 +70,7 @@
buildCounterAchievementResetAllResponse++;
if (buildCounterAchievementResetAllResponse < 3) {
o.kind = "foo";
- o.results = buildUnnamed730();
+ o.results = buildUnnamed747();
}
buildCounterAchievementResetAllResponse--;
return o;
@@ -80,19 +80,19 @@
buildCounterAchievementResetAllResponse++;
if (buildCounterAchievementResetAllResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed730(o.results);
+ checkUnnamed747(o.results);
}
buildCounterAchievementResetAllResponse--;
}
-buildUnnamed731() {
+buildUnnamed748() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed731(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'));
@@ -103,7 +103,7 @@
var o = new api.AchievementResetMultipleForAllRequest();
buildCounterAchievementResetMultipleForAllRequest++;
if (buildCounterAchievementResetMultipleForAllRequest < 3) {
- o.achievementIds = buildUnnamed731();
+ o.achievementIds = buildUnnamed748();
o.kind = "foo";
}
buildCounterAchievementResetMultipleForAllRequest--;
@@ -113,7 +113,7 @@
checkAchievementResetMultipleForAllRequest(api.AchievementResetMultipleForAllRequest o) {
buildCounterAchievementResetMultipleForAllRequest++;
if (buildCounterAchievementResetMultipleForAllRequest < 3) {
- checkUnnamed731(o.achievementIds);
+ checkUnnamed748(o.achievementIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAchievementResetMultipleForAllRequest--;
@@ -144,14 +144,14 @@
buildCounterAchievementResetResponse--;
}
-buildUnnamed732() {
+buildUnnamed749() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed732(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'));
@@ -162,7 +162,7 @@
var o = new api.EventsResetMultipleForAllRequest();
buildCounterEventsResetMultipleForAllRequest++;
if (buildCounterEventsResetMultipleForAllRequest < 3) {
- o.eventIds = buildUnnamed732();
+ o.eventIds = buildUnnamed749();
o.kind = "foo";
}
buildCounterEventsResetMultipleForAllRequest--;
@@ -172,7 +172,7 @@
checkEventsResetMultipleForAllRequest(api.EventsResetMultipleForAllRequest o) {
buildCounterEventsResetMultipleForAllRequest++;
if (buildCounterEventsResetMultipleForAllRequest < 3) {
- checkUnnamed732(o.eventIds);
+ checkUnnamed749(o.eventIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEventsResetMultipleForAllRequest--;
@@ -270,14 +270,14 @@
buildCounterHiddenPlayer--;
}
-buildUnnamed733() {
+buildUnnamed750() {
var o = new core.List<api.HiddenPlayer>();
o.add(buildHiddenPlayer());
o.add(buildHiddenPlayer());
return o;
}
-checkUnnamed733(core.List<api.HiddenPlayer> o) {
+checkUnnamed750(core.List<api.HiddenPlayer> o) {
unittest.expect(o, unittest.hasLength(2));
checkHiddenPlayer(o[0]);
checkHiddenPlayer(o[1]);
@@ -288,7 +288,7 @@
var o = new api.HiddenPlayerList();
buildCounterHiddenPlayerList++;
if (buildCounterHiddenPlayerList < 3) {
- o.items = buildUnnamed733();
+ o.items = buildUnnamed750();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -299,7 +299,7 @@
checkHiddenPlayerList(api.HiddenPlayerList o) {
buildCounterHiddenPlayerList++;
if (buildCounterHiddenPlayerList < 3) {
- checkUnnamed733(o.items);
+ checkUnnamed750(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -368,14 +368,14 @@
buildCounterPlayer--;
}
-buildUnnamed734() {
+buildUnnamed751() {
var o = new core.List<api.PlayerScoreResetResponse>();
o.add(buildPlayerScoreResetResponse());
o.add(buildPlayerScoreResetResponse());
return o;
}
-checkUnnamed734(core.List<api.PlayerScoreResetResponse> o) {
+checkUnnamed751(core.List<api.PlayerScoreResetResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerScoreResetResponse(o[0]);
checkPlayerScoreResetResponse(o[1]);
@@ -387,7 +387,7 @@
buildCounterPlayerScoreResetAllResponse++;
if (buildCounterPlayerScoreResetAllResponse < 3) {
o.kind = "foo";
- o.results = buildUnnamed734();
+ o.results = buildUnnamed751();
}
buildCounterPlayerScoreResetAllResponse--;
return o;
@@ -397,19 +397,19 @@
buildCounterPlayerScoreResetAllResponse++;
if (buildCounterPlayerScoreResetAllResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed734(o.results);
+ checkUnnamed751(o.results);
}
buildCounterPlayerScoreResetAllResponse--;
}
-buildUnnamed735() {
+buildUnnamed752() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed735(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'));
@@ -422,7 +422,7 @@
if (buildCounterPlayerScoreResetResponse < 3) {
o.definitionId = "foo";
o.kind = "foo";
- o.resetScoreTimeSpans = buildUnnamed735();
+ o.resetScoreTimeSpans = buildUnnamed752();
}
buildCounterPlayerScoreResetResponse--;
return o;
@@ -433,7 +433,7 @@
if (buildCounterPlayerScoreResetResponse < 3) {
unittest.expect(o.definitionId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed735(o.resetScoreTimeSpans);
+ checkUnnamed752(o.resetScoreTimeSpans);
}
buildCounterPlayerScoreResetResponse--;
}
@@ -459,14 +459,14 @@
buildCounterProfileSettings--;
}
-buildUnnamed736() {
+buildUnnamed753() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed736(core.List<core.String> o) {
+checkUnnamed753(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -478,7 +478,7 @@
buildCounterQuestsResetMultipleForAllRequest++;
if (buildCounterQuestsResetMultipleForAllRequest < 3) {
o.kind = "foo";
- o.questIds = buildUnnamed736();
+ o.questIds = buildUnnamed753();
}
buildCounterQuestsResetMultipleForAllRequest--;
return o;
@@ -488,19 +488,19 @@
buildCounterQuestsResetMultipleForAllRequest++;
if (buildCounterQuestsResetMultipleForAllRequest < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed736(o.questIds);
+ checkUnnamed753(o.questIds);
}
buildCounterQuestsResetMultipleForAllRequest--;
}
-buildUnnamed737() {
+buildUnnamed754() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed737(core.List<core.String> o) {
+checkUnnamed754(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -512,7 +512,7 @@
buildCounterScoresResetMultipleForAllRequest++;
if (buildCounterScoresResetMultipleForAllRequest < 3) {
o.kind = "foo";
- o.leaderboardIds = buildUnnamed737();
+ o.leaderboardIds = buildUnnamed754();
}
buildCounterScoresResetMultipleForAllRequest--;
return o;
@@ -522,7 +522,7 @@
buildCounterScoresResetMultipleForAllRequest++;
if (buildCounterScoresResetMultipleForAllRequest < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed737(o.leaderboardIds);
+ checkUnnamed754(o.leaderboardIds);
}
buildCounterScoresResetMultipleForAllRequest--;
}
diff --git a/generated/googleapis/test/genomics/v1_test.dart b/generated/googleapis/test/genomics/v1_test.dart
index 450c2c1..e87f427 100644
--- a/generated/googleapis/test/genomics/v1_test.dart
+++ b/generated/googleapis/test/genomics/v1_test.dart
@@ -51,30 +51,30 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2528() {
+buildUnnamed2549() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2528(core.List<core.Object> o) {
+checkUnnamed2549(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed2529() {
+buildUnnamed2550() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2528();
- o["y"] = buildUnnamed2528();
+ o["x"] = buildUnnamed2549();
+ o["y"] = buildUnnamed2549();
return o;
}
-checkUnnamed2529(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2550(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2528(o["x"]);
- checkUnnamed2528(o["y"]);
+ checkUnnamed2549(o["x"]);
+ checkUnnamed2549(o["y"]);
}
core.int buildCounterAnnotation = 0;
@@ -85,7 +85,7 @@
o.annotationSetId = "foo";
o.end = "foo";
o.id = "foo";
- o.info = buildUnnamed2529();
+ o.info = buildUnnamed2550();
o.name = "foo";
o.referenceId = "foo";
o.referenceName = "foo";
@@ -105,7 +105,7 @@
unittest.expect(o.annotationSetId, unittest.equals('foo'));
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2529(o.info);
+ checkUnnamed2550(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.referenceId, unittest.equals('foo'));
unittest.expect(o.referenceName, unittest.equals('foo'));
@@ -118,30 +118,30 @@
buildCounterAnnotation--;
}
-buildUnnamed2530() {
+buildUnnamed2551() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2530(core.List<core.Object> o) {
+checkUnnamed2551(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo'));
var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed2531() {
+buildUnnamed2552() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2530();
- o["y"] = buildUnnamed2530();
+ o["x"] = buildUnnamed2551();
+ o["y"] = buildUnnamed2551();
return o;
}
-checkUnnamed2531(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2552(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2530(o["x"]);
- checkUnnamed2530(o["y"]);
+ checkUnnamed2551(o["x"]);
+ checkUnnamed2551(o["y"]);
}
core.int buildCounterAnnotationSet = 0;
@@ -151,7 +151,7 @@
if (buildCounterAnnotationSet < 3) {
o.datasetId = "foo";
o.id = "foo";
- o.info = buildUnnamed2531();
+ o.info = buildUnnamed2552();
o.name = "foo";
o.referenceSetId = "foo";
o.sourceUri = "foo";
@@ -166,7 +166,7 @@
if (buildCounterAnnotationSet < 3) {
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2531(o.info);
+ checkUnnamed2552(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
unittest.expect(o.sourceUri, unittest.equals('foo'));
@@ -175,14 +175,14 @@
buildCounterAnnotationSet--;
}
-buildUnnamed2532() {
+buildUnnamed2553() {
var o = new core.List<api.Annotation>();
o.add(buildAnnotation());
o.add(buildAnnotation());
return o;
}
-checkUnnamed2532(core.List<api.Annotation> o) {
+checkUnnamed2553(core.List<api.Annotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotation(o[0]);
checkAnnotation(o[1]);
@@ -193,7 +193,7 @@
var o = new api.BatchCreateAnnotationsRequest();
buildCounterBatchCreateAnnotationsRequest++;
if (buildCounterBatchCreateAnnotationsRequest < 3) {
- o.annotations = buildUnnamed2532();
+ o.annotations = buildUnnamed2553();
o.requestId = "foo";
}
buildCounterBatchCreateAnnotationsRequest--;
@@ -203,20 +203,20 @@
checkBatchCreateAnnotationsRequest(api.BatchCreateAnnotationsRequest o) {
buildCounterBatchCreateAnnotationsRequest++;
if (buildCounterBatchCreateAnnotationsRequest < 3) {
- checkUnnamed2532(o.annotations);
+ checkUnnamed2553(o.annotations);
unittest.expect(o.requestId, unittest.equals('foo'));
}
buildCounterBatchCreateAnnotationsRequest--;
}
-buildUnnamed2533() {
+buildUnnamed2554() {
var o = new core.List<api.Entry>();
o.add(buildEntry());
o.add(buildEntry());
return o;
}
-checkUnnamed2533(core.List<api.Entry> o) {
+checkUnnamed2554(core.List<api.Entry> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntry(o[0]);
checkEntry(o[1]);
@@ -227,7 +227,7 @@
var o = new api.BatchCreateAnnotationsResponse();
buildCounterBatchCreateAnnotationsResponse++;
if (buildCounterBatchCreateAnnotationsResponse < 3) {
- o.entries = buildUnnamed2533();
+ o.entries = buildUnnamed2554();
}
buildCounterBatchCreateAnnotationsResponse--;
return o;
@@ -236,19 +236,19 @@
checkBatchCreateAnnotationsResponse(api.BatchCreateAnnotationsResponse o) {
buildCounterBatchCreateAnnotationsResponse++;
if (buildCounterBatchCreateAnnotationsResponse < 3) {
- checkUnnamed2533(o.entries);
+ checkUnnamed2554(o.entries);
}
buildCounterBatchCreateAnnotationsResponse--;
}
-buildUnnamed2534() {
+buildUnnamed2555() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2534(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'));
@@ -259,7 +259,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed2534();
+ o.members = buildUnnamed2555();
o.role = "foo";
}
buildCounterBinding--;
@@ -269,46 +269,46 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed2534(o.members);
+ checkUnnamed2555(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed2535() {
+buildUnnamed2556() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2535(core.List<core.Object> o) {
+checkUnnamed2556(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo'));
var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed2536() {
+buildUnnamed2557() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2535();
- o["y"] = buildUnnamed2535();
+ o["x"] = buildUnnamed2556();
+ o["y"] = buildUnnamed2556();
return o;
}
-checkUnnamed2536(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2557(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2535(o["x"]);
- checkUnnamed2535(o["y"]);
+ checkUnnamed2556(o["x"]);
+ checkUnnamed2556(o["y"]);
}
-buildUnnamed2537() {
+buildUnnamed2558() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2537(core.List<core.String> o) {
+checkUnnamed2558(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -321,10 +321,10 @@
if (buildCounterCallSet < 3) {
o.created = "foo";
o.id = "foo";
- o.info = buildUnnamed2536();
+ o.info = buildUnnamed2557();
o.name = "foo";
o.sampleId = "foo";
- o.variantSetIds = buildUnnamed2537();
+ o.variantSetIds = buildUnnamed2558();
}
buildCounterCallSet--;
return o;
@@ -335,10 +335,10 @@
if (buildCounterCallSet < 3) {
unittest.expect(o.created, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2536(o.info);
+ checkUnnamed2557(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.sampleId, unittest.equals('foo'));
- checkUnnamed2537(o.variantSetIds);
+ checkUnnamed2558(o.variantSetIds);
}
buildCounterCallSet--;
}
@@ -383,27 +383,27 @@
buildCounterCigarUnit--;
}
-buildUnnamed2538() {
+buildUnnamed2559() {
var o = new core.List<api.ExternalId>();
o.add(buildExternalId());
o.add(buildExternalId());
return o;
}
-checkUnnamed2538(core.List<api.ExternalId> o) {
+checkUnnamed2559(core.List<api.ExternalId> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternalId(o[0]);
checkExternalId(o[1]);
}
-buildUnnamed2539() {
+buildUnnamed2560() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2539(core.List<core.String> o) {
+checkUnnamed2560(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -415,8 +415,8 @@
buildCounterClinicalCondition++;
if (buildCounterClinicalCondition < 3) {
o.conceptId = "foo";
- o.externalIds = buildUnnamed2538();
- o.names = buildUnnamed2539();
+ o.externalIds = buildUnnamed2559();
+ o.names = buildUnnamed2560();
o.omimId = "foo";
}
buildCounterClinicalCondition--;
@@ -427,8 +427,8 @@
buildCounterClinicalCondition++;
if (buildCounterClinicalCondition < 3) {
unittest.expect(o.conceptId, unittest.equals('foo'));
- checkUnnamed2538(o.externalIds);
- checkUnnamed2539(o.names);
+ checkUnnamed2559(o.externalIds);
+ checkUnnamed2560(o.names);
unittest.expect(o.omimId, unittest.equals('foo'));
}
buildCounterClinicalCondition--;
@@ -455,14 +455,14 @@
buildCounterCodingSequence--;
}
-buildUnnamed2540() {
+buildUnnamed2561() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2540(core.List<core.String> o) {
+checkUnnamed2561(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -473,7 +473,7 @@
var o = new api.ComputeEngine();
buildCounterComputeEngine++;
if (buildCounterComputeEngine < 3) {
- o.diskNames = buildUnnamed2540();
+ o.diskNames = buildUnnamed2561();
o.instanceName = "foo";
o.machineType = "foo";
o.zone = "foo";
@@ -485,7 +485,7 @@
checkComputeEngine(api.ComputeEngine o) {
buildCounterComputeEngine++;
if (buildCounterComputeEngine < 3) {
- checkUnnamed2540(o.diskNames);
+ checkUnnamed2561(o.diskNames);
unittest.expect(o.instanceName, unittest.equals('foo'));
unittest.expect(o.machineType, unittest.equals('foo'));
unittest.expect(o.zone, unittest.equals('foo'));
@@ -625,14 +625,14 @@
buildCounterExperiment--;
}
-buildUnnamed2541() {
+buildUnnamed2562() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2541(core.List<core.String> o) {
+checkUnnamed2562(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -645,7 +645,7 @@
if (buildCounterExportReadGroupSetRequest < 3) {
o.exportUri = "foo";
o.projectId = "foo";
- o.referenceNames = buildUnnamed2541();
+ o.referenceNames = buildUnnamed2562();
}
buildCounterExportReadGroupSetRequest--;
return o;
@@ -656,19 +656,19 @@
if (buildCounterExportReadGroupSetRequest < 3) {
unittest.expect(o.exportUri, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed2541(o.referenceNames);
+ checkUnnamed2562(o.referenceNames);
}
buildCounterExportReadGroupSetRequest--;
}
-buildUnnamed2542() {
+buildUnnamed2563() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2542(core.List<core.String> o) {
+checkUnnamed2563(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -681,7 +681,7 @@
if (buildCounterExportVariantSetRequest < 3) {
o.bigqueryDataset = "foo";
o.bigqueryTable = "foo";
- o.callSetIds = buildUnnamed2542();
+ o.callSetIds = buildUnnamed2563();
o.format = "foo";
o.projectId = "foo";
}
@@ -694,7 +694,7 @@
if (buildCounterExportVariantSetRequest < 3) {
unittest.expect(o.bigqueryDataset, unittest.equals('foo'));
unittest.expect(o.bigqueryTable, unittest.equals('foo'));
- checkUnnamed2542(o.callSetIds);
+ checkUnnamed2563(o.callSetIds);
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
}
@@ -739,14 +739,14 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed2543() {
+buildUnnamed2564() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2543(core.List<core.String> o) {
+checkUnnamed2564(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -760,7 +760,7 @@
o.datasetId = "foo";
o.partitionStrategy = "foo";
o.referenceSetId = "foo";
- o.sourceUris = buildUnnamed2543();
+ o.sourceUris = buildUnnamed2564();
}
buildCounterImportReadGroupSetsRequest--;
return o;
@@ -772,19 +772,19 @@
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.partitionStrategy, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
- checkUnnamed2543(o.sourceUris);
+ checkUnnamed2564(o.sourceUris);
}
buildCounterImportReadGroupSetsRequest--;
}
-buildUnnamed2544() {
+buildUnnamed2565() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2544(core.List<core.String> o) {
+checkUnnamed2565(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -795,7 +795,7 @@
var o = new api.ImportReadGroupSetsResponse();
buildCounterImportReadGroupSetsResponse++;
if (buildCounterImportReadGroupSetsResponse < 3) {
- o.readGroupSetIds = buildUnnamed2544();
+ o.readGroupSetIds = buildUnnamed2565();
}
buildCounterImportReadGroupSetsResponse--;
return o;
@@ -804,32 +804,32 @@
checkImportReadGroupSetsResponse(api.ImportReadGroupSetsResponse o) {
buildCounterImportReadGroupSetsResponse++;
if (buildCounterImportReadGroupSetsResponse < 3) {
- checkUnnamed2544(o.readGroupSetIds);
+ checkUnnamed2565(o.readGroupSetIds);
}
buildCounterImportReadGroupSetsResponse--;
}
-buildUnnamed2545() {
+buildUnnamed2566() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2545(core.Map<core.String, core.String> o) {
+checkUnnamed2566(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2546() {
+buildUnnamed2567() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2546(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'));
@@ -841,9 +841,9 @@
buildCounterImportVariantsRequest++;
if (buildCounterImportVariantsRequest < 3) {
o.format = "foo";
- o.infoMergeConfig = buildUnnamed2545();
+ o.infoMergeConfig = buildUnnamed2566();
o.normalizeReferenceNames = true;
- o.sourceUris = buildUnnamed2546();
+ o.sourceUris = buildUnnamed2567();
o.variantSetId = "foo";
}
buildCounterImportVariantsRequest--;
@@ -854,22 +854,22 @@
buildCounterImportVariantsRequest++;
if (buildCounterImportVariantsRequest < 3) {
unittest.expect(o.format, unittest.equals('foo'));
- checkUnnamed2545(o.infoMergeConfig);
+ checkUnnamed2566(o.infoMergeConfig);
unittest.expect(o.normalizeReferenceNames, unittest.isTrue);
- checkUnnamed2546(o.sourceUris);
+ checkUnnamed2567(o.sourceUris);
unittest.expect(o.variantSetId, unittest.equals('foo'));
}
buildCounterImportVariantsRequest--;
}
-buildUnnamed2547() {
+buildUnnamed2568() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2547(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'));
@@ -880,7 +880,7 @@
var o = new api.ImportVariantsResponse();
buildCounterImportVariantsResponse++;
if (buildCounterImportVariantsResponse < 3) {
- o.callSetIds = buildUnnamed2547();
+ o.callSetIds = buildUnnamed2568();
}
buildCounterImportVariantsResponse--;
return o;
@@ -889,19 +889,19 @@
checkImportVariantsResponse(api.ImportVariantsResponse o) {
buildCounterImportVariantsResponse++;
if (buildCounterImportVariantsResponse < 3) {
- checkUnnamed2547(o.callSetIds);
+ checkUnnamed2568(o.callSetIds);
}
buildCounterImportVariantsResponse--;
}
-buildUnnamed2548() {
+buildUnnamed2569() {
var o = new core.List<api.CigarUnit>();
o.add(buildCigarUnit());
o.add(buildCigarUnit());
return o;
}
-checkUnnamed2548(core.List<api.CigarUnit> o) {
+checkUnnamed2569(core.List<api.CigarUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkCigarUnit(o[0]);
checkCigarUnit(o[1]);
@@ -912,7 +912,7 @@
var o = new api.LinearAlignment();
buildCounterLinearAlignment++;
if (buildCounterLinearAlignment < 3) {
- o.cigar = buildUnnamed2548();
+ o.cigar = buildUnnamed2569();
o.mappingQuality = 42;
o.position = buildPosition();
}
@@ -923,7 +923,7 @@
checkLinearAlignment(api.LinearAlignment o) {
buildCounterLinearAlignment++;
if (buildCounterLinearAlignment < 3) {
- checkUnnamed2548(o.cigar);
+ checkUnnamed2569(o.cigar);
unittest.expect(o.mappingQuality, unittest.equals(42));
checkPosition(o.position);
}
@@ -953,14 +953,14 @@
buildCounterListBasesResponse--;
}
-buildUnnamed2549() {
+buildUnnamed2570() {
var o = new core.List<api.CoverageBucket>();
o.add(buildCoverageBucket());
o.add(buildCoverageBucket());
return o;
}
-checkUnnamed2549(core.List<api.CoverageBucket> o) {
+checkUnnamed2570(core.List<api.CoverageBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkCoverageBucket(o[0]);
checkCoverageBucket(o[1]);
@@ -972,7 +972,7 @@
buildCounterListCoverageBucketsResponse++;
if (buildCounterListCoverageBucketsResponse < 3) {
o.bucketWidth = "foo";
- o.coverageBuckets = buildUnnamed2549();
+ o.coverageBuckets = buildUnnamed2570();
o.nextPageToken = "foo";
}
buildCounterListCoverageBucketsResponse--;
@@ -983,20 +983,20 @@
buildCounterListCoverageBucketsResponse++;
if (buildCounterListCoverageBucketsResponse < 3) {
unittest.expect(o.bucketWidth, unittest.equals('foo'));
- checkUnnamed2549(o.coverageBuckets);
+ checkUnnamed2570(o.coverageBuckets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCoverageBucketsResponse--;
}
-buildUnnamed2550() {
+buildUnnamed2571() {
var o = new core.List<api.Dataset>();
o.add(buildDataset());
o.add(buildDataset());
return o;
}
-checkUnnamed2550(core.List<api.Dataset> o) {
+checkUnnamed2571(core.List<api.Dataset> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataset(o[0]);
checkDataset(o[1]);
@@ -1007,7 +1007,7 @@
var o = new api.ListDatasetsResponse();
buildCounterListDatasetsResponse++;
if (buildCounterListDatasetsResponse < 3) {
- o.datasets = buildUnnamed2550();
+ o.datasets = buildUnnamed2571();
o.nextPageToken = "foo";
}
buildCounterListDatasetsResponse--;
@@ -1017,20 +1017,20 @@
checkListDatasetsResponse(api.ListDatasetsResponse o) {
buildCounterListDatasetsResponse++;
if (buildCounterListDatasetsResponse < 3) {
- checkUnnamed2550(o.datasets);
+ checkUnnamed2571(o.datasets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDatasetsResponse--;
}
-buildUnnamed2551() {
+buildUnnamed2572() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2551(core.List<api.Operation> o) {
+checkUnnamed2572(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1042,7 +1042,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2551();
+ o.operations = buildUnnamed2572();
}
buildCounterListOperationsResponse--;
return o;
@@ -1052,32 +1052,32 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2551(o.operations);
+ checkUnnamed2572(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed2552() {
+buildUnnamed2573() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2552(core.Map<core.String, core.String> o) {
+checkUnnamed2573(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2553() {
+buildUnnamed2574() {
var o = new core.List<api.Variant>();
o.add(buildVariant());
o.add(buildVariant());
return o;
}
-checkUnnamed2553(core.List<api.Variant> o) {
+checkUnnamed2574(core.List<api.Variant> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariant(o[0]);
checkVariant(o[1]);
@@ -1088,9 +1088,9 @@
var o = new api.MergeVariantsRequest();
buildCounterMergeVariantsRequest++;
if (buildCounterMergeVariantsRequest < 3) {
- o.infoMergeConfig = buildUnnamed2552();
+ o.infoMergeConfig = buildUnnamed2573();
o.variantSetId = "foo";
- o.variants = buildUnnamed2553();
+ o.variants = buildUnnamed2574();
}
buildCounterMergeVariantsRequest--;
return o;
@@ -1099,34 +1099,34 @@
checkMergeVariantsRequest(api.MergeVariantsRequest o) {
buildCounterMergeVariantsRequest++;
if (buildCounterMergeVariantsRequest < 3) {
- checkUnnamed2552(o.infoMergeConfig);
+ checkUnnamed2573(o.infoMergeConfig);
unittest.expect(o.variantSetId, unittest.equals('foo'));
- checkUnnamed2553(o.variants);
+ checkUnnamed2574(o.variants);
}
buildCounterMergeVariantsRequest--;
}
-buildUnnamed2554() {
+buildUnnamed2575() {
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;
}
-checkUnnamed2554(core.Map<core.String, core.Object> o) {
+checkUnnamed2575(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'));
}
-buildUnnamed2555() {
+buildUnnamed2576() {
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;
}
-checkUnnamed2555(core.Map<core.String, core.Object> o) {
+checkUnnamed2576(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'));
@@ -1139,9 +1139,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2554();
+ o.metadata = buildUnnamed2575();
o.name = "foo";
- o.response = buildUnnamed2555();
+ o.response = buildUnnamed2576();
}
buildCounterOperation--;
return o;
@@ -1152,9 +1152,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2554(o.metadata);
+ checkUnnamed2575(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2555(o.response);
+ checkUnnamed2576(o.response);
}
buildCounterOperation--;
}
@@ -1182,53 +1182,53 @@
buildCounterOperationEvent--;
}
-buildUnnamed2556() {
+buildUnnamed2577() {
var o = new core.List<api.OperationEvent>();
o.add(buildOperationEvent());
o.add(buildOperationEvent());
return o;
}
-checkUnnamed2556(core.List<api.OperationEvent> o) {
+checkUnnamed2577(core.List<api.OperationEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationEvent(o[0]);
checkOperationEvent(o[1]);
}
-buildUnnamed2557() {
+buildUnnamed2578() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2557(core.Map<core.String, core.String> o) {
+checkUnnamed2578(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2558() {
+buildUnnamed2579() {
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;
}
-checkUnnamed2558(core.Map<core.String, core.Object> o) {
+checkUnnamed2579(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed2559() {
+buildUnnamed2580() {
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;
}
-checkUnnamed2559(core.Map<core.String, core.Object> o) {
+checkUnnamed2580(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["string"], unittest.equals('foo'));
var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["string"], unittest.equals('foo'));
@@ -1242,11 +1242,11 @@
o.clientId = "foo";
o.createTime = "foo";
o.endTime = "foo";
- o.events = buildUnnamed2556();
- o.labels = buildUnnamed2557();
+ o.events = buildUnnamed2577();
+ o.labels = buildUnnamed2578();
o.projectId = "foo";
- o.request = buildUnnamed2558();
- o.runtimeMetadata = buildUnnamed2559();
+ o.request = buildUnnamed2579();
+ o.runtimeMetadata = buildUnnamed2580();
o.startTime = "foo";
}
buildCounterOperationMetadata--;
@@ -1259,24 +1259,24 @@
unittest.expect(o.clientId, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed2556(o.events);
- checkUnnamed2557(o.labels);
+ checkUnnamed2577(o.events);
+ checkUnnamed2578(o.labels);
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed2558(o.request);
- checkUnnamed2559(o.runtimeMetadata);
+ checkUnnamed2579(o.request);
+ checkUnnamed2580(o.runtimeMetadata);
unittest.expect(o.startTime, unittest.equals('foo'));
}
buildCounterOperationMetadata--;
}
-buildUnnamed2560() {
+buildUnnamed2581() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed2560(core.List<api.Binding> o) {
+checkUnnamed2581(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -1287,7 +1287,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed2560();
+ o.bindings = buildUnnamed2581();
o.etag = "foo";
o.version = 42;
}
@@ -1298,7 +1298,7 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed2560(o.bindings);
+ checkUnnamed2581(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -1378,43 +1378,43 @@
buildCounterRange--;
}
-buildUnnamed2561() {
+buildUnnamed2582() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2561(core.List<core.int> o) {
+checkUnnamed2582(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));
}
-buildUnnamed2562() {
+buildUnnamed2583() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2562(core.List<core.Object> o) {
+checkUnnamed2583(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted15 = (o[0]) as core.Map; unittest.expect(casted15, unittest.hasLength(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest.expect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["string"], unittest.equals('foo'));
var casted16 = (o[1]) as core.Map; unittest.expect(casted16, unittest.hasLength(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest.expect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["string"], unittest.equals('foo'));
}
-buildUnnamed2563() {
+buildUnnamed2584() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2562();
- o["y"] = buildUnnamed2562();
+ o["x"] = buildUnnamed2583();
+ o["y"] = buildUnnamed2583();
return o;
}
-checkUnnamed2563(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2584(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2562(o["x"]);
- checkUnnamed2562(o["y"]);
+ checkUnnamed2583(o["x"]);
+ checkUnnamed2583(o["y"]);
}
core.int buildCounterRead = 0;
@@ -1422,7 +1422,7 @@
var o = new api.Read();
buildCounterRead++;
if (buildCounterRead < 3) {
- o.alignedQuality = buildUnnamed2561();
+ o.alignedQuality = buildUnnamed2582();
o.alignedSequence = "foo";
o.alignment = buildLinearAlignment();
o.duplicateFragment = true;
@@ -1430,7 +1430,7 @@
o.fragmentLength = 42;
o.fragmentName = "foo";
o.id = "foo";
- o.info = buildUnnamed2563();
+ o.info = buildUnnamed2584();
o.nextMatePosition = buildPosition();
o.numberReads = 42;
o.properPlacement = true;
@@ -1447,7 +1447,7 @@
checkRead(api.Read o) {
buildCounterRead++;
if (buildCounterRead < 3) {
- checkUnnamed2561(o.alignedQuality);
+ checkUnnamed2582(o.alignedQuality);
unittest.expect(o.alignedSequence, unittest.equals('foo'));
checkLinearAlignment(o.alignment);
unittest.expect(o.duplicateFragment, unittest.isTrue);
@@ -1455,7 +1455,7 @@
unittest.expect(o.fragmentLength, unittest.equals(42));
unittest.expect(o.fragmentName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2563(o.info);
+ checkUnnamed2584(o.info);
checkPosition(o.nextMatePosition);
unittest.expect(o.numberReads, unittest.equals(42));
unittest.expect(o.properPlacement, unittest.isTrue);
@@ -1468,40 +1468,40 @@
buildCounterRead--;
}
-buildUnnamed2564() {
+buildUnnamed2585() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2564(core.List<core.Object> o) {
+checkUnnamed2585(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted17 = (o[0]) as core.Map; unittest.expect(casted17, unittest.hasLength(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.expect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string"], unittest.equals('foo'));
var casted18 = (o[1]) as core.Map; unittest.expect(casted18, unittest.hasLength(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest.expect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["string"], unittest.equals('foo'));
}
-buildUnnamed2565() {
+buildUnnamed2586() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2564();
- o["y"] = buildUnnamed2564();
+ o["x"] = buildUnnamed2585();
+ o["y"] = buildUnnamed2585();
return o;
}
-checkUnnamed2565(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2586(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2564(o["x"]);
- checkUnnamed2564(o["y"]);
+ checkUnnamed2585(o["x"]);
+ checkUnnamed2585(o["y"]);
}
-buildUnnamed2566() {
+buildUnnamed2587() {
var o = new core.List<api.Program>();
o.add(buildProgram());
o.add(buildProgram());
return o;
}
-checkUnnamed2566(core.List<api.Program> o) {
+checkUnnamed2587(core.List<api.Program> o) {
unittest.expect(o, unittest.hasLength(2));
checkProgram(o[0]);
checkProgram(o[1]);
@@ -1516,10 +1516,10 @@
o.description = "foo";
o.experiment = buildExperiment();
o.id = "foo";
- o.info = buildUnnamed2565();
+ o.info = buildUnnamed2586();
o.name = "foo";
o.predictedInsertSize = 42;
- o.programs = buildUnnamed2566();
+ o.programs = buildUnnamed2587();
o.referenceSetId = "foo";
o.sampleId = "foo";
}
@@ -1534,50 +1534,50 @@
unittest.expect(o.description, unittest.equals('foo'));
checkExperiment(o.experiment);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2565(o.info);
+ checkUnnamed2586(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.predictedInsertSize, unittest.equals(42));
- checkUnnamed2566(o.programs);
+ checkUnnamed2587(o.programs);
unittest.expect(o.referenceSetId, unittest.equals('foo'));
unittest.expect(o.sampleId, unittest.equals('foo'));
}
buildCounterReadGroup--;
}
-buildUnnamed2567() {
+buildUnnamed2588() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2567(core.List<core.Object> o) {
+checkUnnamed2588(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted19 = (o[0]) as core.Map; unittest.expect(casted19, unittest.hasLength(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest.expect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["string"], unittest.equals('foo'));
var casted20 = (o[1]) as core.Map; unittest.expect(casted20, unittest.hasLength(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest.expect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["string"], unittest.equals('foo'));
}
-buildUnnamed2568() {
+buildUnnamed2589() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2567();
- o["y"] = buildUnnamed2567();
+ o["x"] = buildUnnamed2588();
+ o["y"] = buildUnnamed2588();
return o;
}
-checkUnnamed2568(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2589(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2567(o["x"]);
- checkUnnamed2567(o["y"]);
+ checkUnnamed2588(o["x"]);
+ checkUnnamed2588(o["y"]);
}
-buildUnnamed2569() {
+buildUnnamed2590() {
var o = new core.List<api.ReadGroup>();
o.add(buildReadGroup());
o.add(buildReadGroup());
return o;
}
-checkUnnamed2569(core.List<api.ReadGroup> o) {
+checkUnnamed2590(core.List<api.ReadGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkReadGroup(o[0]);
checkReadGroup(o[1]);
@@ -1591,9 +1591,9 @@
o.datasetId = "foo";
o.filename = "foo";
o.id = "foo";
- o.info = buildUnnamed2568();
+ o.info = buildUnnamed2589();
o.name = "foo";
- o.readGroups = buildUnnamed2569();
+ o.readGroups = buildUnnamed2590();
o.referenceSetId = "foo";
}
buildCounterReadGroupSet--;
@@ -1606,22 +1606,22 @@
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.filename, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2568(o.info);
+ checkUnnamed2589(o.info);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2569(o.readGroups);
+ checkUnnamed2590(o.readGroups);
unittest.expect(o.referenceSetId, unittest.equals('foo'));
}
buildCounterReadGroupSet--;
}
-buildUnnamed2570() {
+buildUnnamed2591() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2570(core.List<core.String> o) {
+checkUnnamed2591(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1637,7 +1637,7 @@
o.md5checksum = "foo";
o.name = "foo";
o.ncbiTaxonId = 42;
- o.sourceAccessions = buildUnnamed2570();
+ o.sourceAccessions = buildUnnamed2591();
o.sourceUri = "foo";
}
buildCounterReference--;
@@ -1652,7 +1652,7 @@
unittest.expect(o.md5checksum, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.ncbiTaxonId, unittest.equals(42));
- checkUnnamed2570(o.sourceAccessions);
+ checkUnnamed2591(o.sourceAccessions);
unittest.expect(o.sourceUri, unittest.equals('foo'));
}
buildCounterReference--;
@@ -1679,27 +1679,27 @@
buildCounterReferenceBound--;
}
-buildUnnamed2571() {
+buildUnnamed2592() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2571(core.List<core.String> o) {
+checkUnnamed2592(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2572() {
+buildUnnamed2593() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2572(core.List<core.String> o) {
+checkUnnamed2593(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1715,8 +1715,8 @@
o.id = "foo";
o.md5checksum = "foo";
o.ncbiTaxonId = 42;
- o.referenceIds = buildUnnamed2571();
- o.sourceAccessions = buildUnnamed2572();
+ o.referenceIds = buildUnnamed2592();
+ o.sourceAccessions = buildUnnamed2593();
o.sourceUri = "foo";
}
buildCounterReferenceSet--;
@@ -1731,8 +1731,8 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.md5checksum, unittest.equals('foo'));
unittest.expect(o.ncbiTaxonId, unittest.equals(42));
- checkUnnamed2571(o.referenceIds);
- checkUnnamed2572(o.sourceAccessions);
+ checkUnnamed2592(o.referenceIds);
+ checkUnnamed2593(o.sourceAccessions);
unittest.expect(o.sourceUri, unittest.equals('foo'));
}
buildCounterReferenceSet--;
@@ -1757,27 +1757,27 @@
buildCounterRuntimeMetadata--;
}
-buildUnnamed2573() {
+buildUnnamed2594() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2573(core.List<core.String> o) {
+checkUnnamed2594(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2574() {
+buildUnnamed2595() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2574(core.List<core.String> o) {
+checkUnnamed2595(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1788,12 +1788,12 @@
var o = new api.SearchAnnotationSetsRequest();
buildCounterSearchAnnotationSetsRequest++;
if (buildCounterSearchAnnotationSetsRequest < 3) {
- o.datasetIds = buildUnnamed2573();
+ o.datasetIds = buildUnnamed2594();
o.name = "foo";
o.pageSize = 42;
o.pageToken = "foo";
o.referenceSetId = "foo";
- o.types = buildUnnamed2574();
+ o.types = buildUnnamed2595();
}
buildCounterSearchAnnotationSetsRequest--;
return o;
@@ -1802,24 +1802,24 @@
checkSearchAnnotationSetsRequest(api.SearchAnnotationSetsRequest o) {
buildCounterSearchAnnotationSetsRequest++;
if (buildCounterSearchAnnotationSetsRequest < 3) {
- checkUnnamed2573(o.datasetIds);
+ checkUnnamed2594(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'));
- checkUnnamed2574(o.types);
+ checkUnnamed2595(o.types);
}
buildCounterSearchAnnotationSetsRequest--;
}
-buildUnnamed2575() {
+buildUnnamed2596() {
var o = new core.List<api.AnnotationSet>();
o.add(buildAnnotationSet());
o.add(buildAnnotationSet());
return o;
}
-checkUnnamed2575(core.List<api.AnnotationSet> o) {
+checkUnnamed2596(core.List<api.AnnotationSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotationSet(o[0]);
checkAnnotationSet(o[1]);
@@ -1830,7 +1830,7 @@
var o = new api.SearchAnnotationSetsResponse();
buildCounterSearchAnnotationSetsResponse++;
if (buildCounterSearchAnnotationSetsResponse < 3) {
- o.annotationSets = buildUnnamed2575();
+ o.annotationSets = buildUnnamed2596();
o.nextPageToken = "foo";
}
buildCounterSearchAnnotationSetsResponse--;
@@ -1840,20 +1840,20 @@
checkSearchAnnotationSetsResponse(api.SearchAnnotationSetsResponse o) {
buildCounterSearchAnnotationSetsResponse++;
if (buildCounterSearchAnnotationSetsResponse < 3) {
- checkUnnamed2575(o.annotationSets);
+ checkUnnamed2596(o.annotationSets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchAnnotationSetsResponse--;
}
-buildUnnamed2576() {
+buildUnnamed2597() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2576(core.List<core.String> o) {
+checkUnnamed2597(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1864,7 +1864,7 @@
var o = new api.SearchAnnotationsRequest();
buildCounterSearchAnnotationsRequest++;
if (buildCounterSearchAnnotationsRequest < 3) {
- o.annotationSetIds = buildUnnamed2576();
+ o.annotationSetIds = buildUnnamed2597();
o.end = "foo";
o.pageSize = 42;
o.pageToken = "foo";
@@ -1879,7 +1879,7 @@
checkSearchAnnotationsRequest(api.SearchAnnotationsRequest o) {
buildCounterSearchAnnotationsRequest++;
if (buildCounterSearchAnnotationsRequest < 3) {
- checkUnnamed2576(o.annotationSetIds);
+ checkUnnamed2597(o.annotationSetIds);
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
@@ -1890,14 +1890,14 @@
buildCounterSearchAnnotationsRequest--;
}
-buildUnnamed2577() {
+buildUnnamed2598() {
var o = new core.List<api.Annotation>();
o.add(buildAnnotation());
o.add(buildAnnotation());
return o;
}
-checkUnnamed2577(core.List<api.Annotation> o) {
+checkUnnamed2598(core.List<api.Annotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotation(o[0]);
checkAnnotation(o[1]);
@@ -1908,7 +1908,7 @@
var o = new api.SearchAnnotationsResponse();
buildCounterSearchAnnotationsResponse++;
if (buildCounterSearchAnnotationsResponse < 3) {
- o.annotations = buildUnnamed2577();
+ o.annotations = buildUnnamed2598();
o.nextPageToken = "foo";
}
buildCounterSearchAnnotationsResponse--;
@@ -1918,20 +1918,20 @@
checkSearchAnnotationsResponse(api.SearchAnnotationsResponse o) {
buildCounterSearchAnnotationsResponse++;
if (buildCounterSearchAnnotationsResponse < 3) {
- checkUnnamed2577(o.annotations);
+ checkUnnamed2598(o.annotations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchAnnotationsResponse--;
}
-buildUnnamed2578() {
+buildUnnamed2599() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2578(core.List<core.String> o) {
+checkUnnamed2599(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1945,7 +1945,7 @@
o.name = "foo";
o.pageSize = 42;
o.pageToken = "foo";
- o.variantSetIds = buildUnnamed2578();
+ o.variantSetIds = buildUnnamed2599();
}
buildCounterSearchCallSetsRequest--;
return o;
@@ -1957,19 +1957,19 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed2578(o.variantSetIds);
+ checkUnnamed2599(o.variantSetIds);
}
buildCounterSearchCallSetsRequest--;
}
-buildUnnamed2579() {
+buildUnnamed2600() {
var o = new core.List<api.CallSet>();
o.add(buildCallSet());
o.add(buildCallSet());
return o;
}
-checkUnnamed2579(core.List<api.CallSet> o) {
+checkUnnamed2600(core.List<api.CallSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkCallSet(o[0]);
checkCallSet(o[1]);
@@ -1980,7 +1980,7 @@
var o = new api.SearchCallSetsResponse();
buildCounterSearchCallSetsResponse++;
if (buildCounterSearchCallSetsResponse < 3) {
- o.callSets = buildUnnamed2579();
+ o.callSets = buildUnnamed2600();
o.nextPageToken = "foo";
}
buildCounterSearchCallSetsResponse--;
@@ -1990,20 +1990,20 @@
checkSearchCallSetsResponse(api.SearchCallSetsResponse o) {
buildCounterSearchCallSetsResponse++;
if (buildCounterSearchCallSetsResponse < 3) {
- checkUnnamed2579(o.callSets);
+ checkUnnamed2600(o.callSets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchCallSetsResponse--;
}
-buildUnnamed2580() {
+buildUnnamed2601() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2580(core.List<core.String> o) {
+checkUnnamed2601(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2014,7 +2014,7 @@
var o = new api.SearchReadGroupSetsRequest();
buildCounterSearchReadGroupSetsRequest++;
if (buildCounterSearchReadGroupSetsRequest < 3) {
- o.datasetIds = buildUnnamed2580();
+ o.datasetIds = buildUnnamed2601();
o.name = "foo";
o.pageSize = 42;
o.pageToken = "foo";
@@ -2026,7 +2026,7 @@
checkSearchReadGroupSetsRequest(api.SearchReadGroupSetsRequest o) {
buildCounterSearchReadGroupSetsRequest++;
if (buildCounterSearchReadGroupSetsRequest < 3) {
- checkUnnamed2580(o.datasetIds);
+ checkUnnamed2601(o.datasetIds);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
@@ -2034,14 +2034,14 @@
buildCounterSearchReadGroupSetsRequest--;
}
-buildUnnamed2581() {
+buildUnnamed2602() {
var o = new core.List<api.ReadGroupSet>();
o.add(buildReadGroupSet());
o.add(buildReadGroupSet());
return o;
}
-checkUnnamed2581(core.List<api.ReadGroupSet> o) {
+checkUnnamed2602(core.List<api.ReadGroupSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkReadGroupSet(o[0]);
checkReadGroupSet(o[1]);
@@ -2053,7 +2053,7 @@
buildCounterSearchReadGroupSetsResponse++;
if (buildCounterSearchReadGroupSetsResponse < 3) {
o.nextPageToken = "foo";
- o.readGroupSets = buildUnnamed2581();
+ o.readGroupSets = buildUnnamed2602();
}
buildCounterSearchReadGroupSetsResponse--;
return o;
@@ -2063,32 +2063,32 @@
buildCounterSearchReadGroupSetsResponse++;
if (buildCounterSearchReadGroupSetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2581(o.readGroupSets);
+ checkUnnamed2602(o.readGroupSets);
}
buildCounterSearchReadGroupSetsResponse--;
}
-buildUnnamed2582() {
+buildUnnamed2603() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2582(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'));
}
-buildUnnamed2583() {
+buildUnnamed2604() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2583(core.List<core.String> o) {
+checkUnnamed2604(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2102,8 +2102,8 @@
o.end = "foo";
o.pageSize = 42;
o.pageToken = "foo";
- o.readGroupIds = buildUnnamed2582();
- o.readGroupSetIds = buildUnnamed2583();
+ o.readGroupIds = buildUnnamed2603();
+ o.readGroupSetIds = buildUnnamed2604();
o.referenceName = "foo";
o.start = "foo";
}
@@ -2117,22 +2117,22 @@
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed2582(o.readGroupIds);
- checkUnnamed2583(o.readGroupSetIds);
+ checkUnnamed2603(o.readGroupIds);
+ checkUnnamed2604(o.readGroupSetIds);
unittest.expect(o.referenceName, unittest.equals('foo'));
unittest.expect(o.start, unittest.equals('foo'));
}
buildCounterSearchReadsRequest--;
}
-buildUnnamed2584() {
+buildUnnamed2605() {
var o = new core.List<api.Read>();
o.add(buildRead());
o.add(buildRead());
return o;
}
-checkUnnamed2584(core.List<api.Read> o) {
+checkUnnamed2605(core.List<api.Read> o) {
unittest.expect(o, unittest.hasLength(2));
checkRead(o[0]);
checkRead(o[1]);
@@ -2143,7 +2143,7 @@
var o = new api.SearchReadsResponse();
buildCounterSearchReadsResponse++;
if (buildCounterSearchReadsResponse < 3) {
- o.alignments = buildUnnamed2584();
+ o.alignments = buildUnnamed2605();
o.nextPageToken = "foo";
}
buildCounterSearchReadsResponse--;
@@ -2153,33 +2153,33 @@
checkSearchReadsResponse(api.SearchReadsResponse o) {
buildCounterSearchReadsResponse++;
if (buildCounterSearchReadsResponse < 3) {
- checkUnnamed2584(o.alignments);
+ checkUnnamed2605(o.alignments);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchReadsResponse--;
}
-buildUnnamed2585() {
+buildUnnamed2606() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2585(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'));
}
-buildUnnamed2586() {
+buildUnnamed2607() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2586(core.List<core.String> o) {
+checkUnnamed2607(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2190,9 +2190,9 @@
var o = new api.SearchReferenceSetsRequest();
buildCounterSearchReferenceSetsRequest++;
if (buildCounterSearchReferenceSetsRequest < 3) {
- o.accessions = buildUnnamed2585();
+ o.accessions = buildUnnamed2606();
o.assemblyId = "foo";
- o.md5checksums = buildUnnamed2586();
+ o.md5checksums = buildUnnamed2607();
o.pageSize = 42;
o.pageToken = "foo";
}
@@ -2203,23 +2203,23 @@
checkSearchReferenceSetsRequest(api.SearchReferenceSetsRequest o) {
buildCounterSearchReferenceSetsRequest++;
if (buildCounterSearchReferenceSetsRequest < 3) {
- checkUnnamed2585(o.accessions);
+ checkUnnamed2606(o.accessions);
unittest.expect(o.assemblyId, unittest.equals('foo'));
- checkUnnamed2586(o.md5checksums);
+ checkUnnamed2607(o.md5checksums);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
}
buildCounterSearchReferenceSetsRequest--;
}
-buildUnnamed2587() {
+buildUnnamed2608() {
var o = new core.List<api.ReferenceSet>();
o.add(buildReferenceSet());
o.add(buildReferenceSet());
return o;
}
-checkUnnamed2587(core.List<api.ReferenceSet> o) {
+checkUnnamed2608(core.List<api.ReferenceSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkReferenceSet(o[0]);
checkReferenceSet(o[1]);
@@ -2231,7 +2231,7 @@
buildCounterSearchReferenceSetsResponse++;
if (buildCounterSearchReferenceSetsResponse < 3) {
o.nextPageToken = "foo";
- o.referenceSets = buildUnnamed2587();
+ o.referenceSets = buildUnnamed2608();
}
buildCounterSearchReferenceSetsResponse--;
return o;
@@ -2241,32 +2241,32 @@
buildCounterSearchReferenceSetsResponse++;
if (buildCounterSearchReferenceSetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2587(o.referenceSets);
+ checkUnnamed2608(o.referenceSets);
}
buildCounterSearchReferenceSetsResponse--;
}
-buildUnnamed2588() {
+buildUnnamed2609() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2588(core.List<core.String> o) {
+checkUnnamed2609(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2589() {
+buildUnnamed2610() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2589(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'));
@@ -2277,8 +2277,8 @@
var o = new api.SearchReferencesRequest();
buildCounterSearchReferencesRequest++;
if (buildCounterSearchReferencesRequest < 3) {
- o.accessions = buildUnnamed2588();
- o.md5checksums = buildUnnamed2589();
+ o.accessions = buildUnnamed2609();
+ o.md5checksums = buildUnnamed2610();
o.pageSize = 42;
o.pageToken = "foo";
o.referenceSetId = "foo";
@@ -2290,8 +2290,8 @@
checkSearchReferencesRequest(api.SearchReferencesRequest o) {
buildCounterSearchReferencesRequest++;
if (buildCounterSearchReferencesRequest < 3) {
- checkUnnamed2588(o.accessions);
- checkUnnamed2589(o.md5checksums);
+ checkUnnamed2609(o.accessions);
+ checkUnnamed2610(o.md5checksums);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
@@ -2299,14 +2299,14 @@
buildCounterSearchReferencesRequest--;
}
-buildUnnamed2590() {
+buildUnnamed2611() {
var o = new core.List<api.Reference>();
o.add(buildReference());
o.add(buildReference());
return o;
}
-checkUnnamed2590(core.List<api.Reference> o) {
+checkUnnamed2611(core.List<api.Reference> o) {
unittest.expect(o, unittest.hasLength(2));
checkReference(o[0]);
checkReference(o[1]);
@@ -2318,7 +2318,7 @@
buildCounterSearchReferencesResponse++;
if (buildCounterSearchReferencesResponse < 3) {
o.nextPageToken = "foo";
- o.references = buildUnnamed2590();
+ o.references = buildUnnamed2611();
}
buildCounterSearchReferencesResponse--;
return o;
@@ -2328,19 +2328,19 @@
buildCounterSearchReferencesResponse++;
if (buildCounterSearchReferencesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2590(o.references);
+ checkUnnamed2611(o.references);
}
buildCounterSearchReferencesResponse--;
}
-buildUnnamed2591() {
+buildUnnamed2612() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2591(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'));
@@ -2351,7 +2351,7 @@
var o = new api.SearchVariantSetsRequest();
buildCounterSearchVariantSetsRequest++;
if (buildCounterSearchVariantSetsRequest < 3) {
- o.datasetIds = buildUnnamed2591();
+ o.datasetIds = buildUnnamed2612();
o.pageSize = 42;
o.pageToken = "foo";
}
@@ -2362,21 +2362,21 @@
checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) {
buildCounterSearchVariantSetsRequest++;
if (buildCounterSearchVariantSetsRequest < 3) {
- checkUnnamed2591(o.datasetIds);
+ checkUnnamed2612(o.datasetIds);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
}
buildCounterSearchVariantSetsRequest--;
}
-buildUnnamed2592() {
+buildUnnamed2613() {
var o = new core.List<api.VariantSet>();
o.add(buildVariantSet());
o.add(buildVariantSet());
return o;
}
-checkUnnamed2592(core.List<api.VariantSet> o) {
+checkUnnamed2613(core.List<api.VariantSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariantSet(o[0]);
checkVariantSet(o[1]);
@@ -2388,7 +2388,7 @@
buildCounterSearchVariantSetsResponse++;
if (buildCounterSearchVariantSetsResponse < 3) {
o.nextPageToken = "foo";
- o.variantSets = buildUnnamed2592();
+ o.variantSets = buildUnnamed2613();
}
buildCounterSearchVariantSetsResponse--;
return o;
@@ -2398,32 +2398,32 @@
buildCounterSearchVariantSetsResponse++;
if (buildCounterSearchVariantSetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2592(o.variantSets);
+ checkUnnamed2613(o.variantSets);
}
buildCounterSearchVariantSetsResponse--;
}
-buildUnnamed2593() {
+buildUnnamed2614() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2593(core.List<core.String> o) {
+checkUnnamed2614(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2594() {
+buildUnnamed2615() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2594(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'));
@@ -2434,7 +2434,7 @@
var o = new api.SearchVariantsRequest();
buildCounterSearchVariantsRequest++;
if (buildCounterSearchVariantsRequest < 3) {
- o.callSetIds = buildUnnamed2593();
+ o.callSetIds = buildUnnamed2614();
o.end = "foo";
o.maxCalls = 42;
o.pageSize = 42;
@@ -2442,7 +2442,7 @@
o.referenceName = "foo";
o.start = "foo";
o.variantName = "foo";
- o.variantSetIds = buildUnnamed2594();
+ o.variantSetIds = buildUnnamed2615();
}
buildCounterSearchVariantsRequest--;
return o;
@@ -2451,7 +2451,7 @@
checkSearchVariantsRequest(api.SearchVariantsRequest o) {
buildCounterSearchVariantsRequest++;
if (buildCounterSearchVariantsRequest < 3) {
- checkUnnamed2593(o.callSetIds);
+ checkUnnamed2614(o.callSetIds);
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.maxCalls, unittest.equals(42));
unittest.expect(o.pageSize, unittest.equals(42));
@@ -2459,19 +2459,19 @@
unittest.expect(o.referenceName, unittest.equals('foo'));
unittest.expect(o.start, unittest.equals('foo'));
unittest.expect(o.variantName, unittest.equals('foo'));
- checkUnnamed2594(o.variantSetIds);
+ checkUnnamed2615(o.variantSetIds);
}
buildCounterSearchVariantsRequest--;
}
-buildUnnamed2595() {
+buildUnnamed2616() {
var o = new core.List<api.Variant>();
o.add(buildVariant());
o.add(buildVariant());
return o;
}
-checkUnnamed2595(core.List<api.Variant> o) {
+checkUnnamed2616(core.List<api.Variant> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariant(o[0]);
checkVariant(o[1]);
@@ -2483,7 +2483,7 @@
buildCounterSearchVariantsResponse++;
if (buildCounterSearchVariantsResponse < 3) {
o.nextPageToken = "foo";
- o.variants = buildUnnamed2595();
+ o.variants = buildUnnamed2616();
}
buildCounterSearchVariantsResponse--;
return o;
@@ -2493,7 +2493,7 @@
buildCounterSearchVariantsResponse++;
if (buildCounterSearchVariantsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2595(o.variants);
+ checkUnnamed2616(o.variants);
}
buildCounterSearchVariantsResponse--;
}
@@ -2517,30 +2517,30 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed2596() {
+buildUnnamed2617() {
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;
}
-checkUnnamed2596(core.Map<core.String, core.Object> o) {
+checkUnnamed2617(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)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest.expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["string"], unittest.equals('foo'));
var casted22 = (o["y"]) as core.Map; unittest.expect(casted22, unittest.hasLength(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest.expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["string"], unittest.equals('foo'));
}
-buildUnnamed2597() {
+buildUnnamed2618() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2596());
- o.add(buildUnnamed2596());
+ o.add(buildUnnamed2617());
+ o.add(buildUnnamed2617());
return o;
}
-checkUnnamed2597(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2618(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2596(o[0]);
- checkUnnamed2596(o[1]);
+ checkUnnamed2617(o[0]);
+ checkUnnamed2617(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2549,7 +2549,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2597();
+ o.details = buildUnnamed2618();
o.message = "foo";
}
buildCounterStatus--;
@@ -2560,20 +2560,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2597(o.details);
+ checkUnnamed2618(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed2598() {
+buildUnnamed2619() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2598(core.List<core.String> o) {
+checkUnnamed2619(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2584,7 +2584,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed2598();
+ o.permissions = buildUnnamed2619();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -2593,19 +2593,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed2598(o.permissions);
+ checkUnnamed2619(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed2599() {
+buildUnnamed2620() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2599(core.List<core.String> o) {
+checkUnnamed2620(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2616,7 +2616,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed2599();
+ o.permissions = buildUnnamed2620();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -2625,19 +2625,19 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed2599(o.permissions);
+ checkUnnamed2620(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed2600() {
+buildUnnamed2621() {
var o = new core.List<api.Exon>();
o.add(buildExon());
o.add(buildExon());
return o;
}
-checkUnnamed2600(core.List<api.Exon> o) {
+checkUnnamed2621(core.List<api.Exon> o) {
unittest.expect(o, unittest.hasLength(2));
checkExon(o[0]);
checkExon(o[1]);
@@ -2649,7 +2649,7 @@
buildCounterTranscript++;
if (buildCounterTranscript < 3) {
o.codingSequence = buildCodingSequence();
- o.exons = buildUnnamed2600();
+ o.exons = buildUnnamed2621();
o.geneId = "foo";
}
buildCounterTranscript--;
@@ -2660,7 +2660,7 @@
buildCounterTranscript++;
if (buildCounterTranscript < 3) {
checkCodingSequence(o.codingSequence);
- checkUnnamed2600(o.exons);
+ checkUnnamed2621(o.exons);
unittest.expect(o.geneId, unittest.equals('foo'));
}
buildCounterTranscript--;
@@ -2683,79 +2683,79 @@
buildCounterUndeleteDatasetRequest--;
}
-buildUnnamed2601() {
+buildUnnamed2622() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2601(core.List<core.String> o) {
+checkUnnamed2622(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2602() {
+buildUnnamed2623() {
var o = new core.List<api.VariantCall>();
o.add(buildVariantCall());
o.add(buildVariantCall());
return o;
}
-checkUnnamed2602(core.List<api.VariantCall> o) {
+checkUnnamed2623(core.List<api.VariantCall> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariantCall(o[0]);
checkVariantCall(o[1]);
}
-buildUnnamed2603() {
+buildUnnamed2624() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2603(core.List<core.String> o) {
+checkUnnamed2624(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2604() {
+buildUnnamed2625() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2604(core.List<core.Object> o) {
+checkUnnamed2625(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted23 = (o[0]) as core.Map; unittest.expect(casted23, unittest.hasLength(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest.expect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["string"], unittest.equals('foo'));
var casted24 = (o[1]) as core.Map; unittest.expect(casted24, unittest.hasLength(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest.expect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["string"], unittest.equals('foo'));
}
-buildUnnamed2605() {
+buildUnnamed2626() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2604();
- o["y"] = buildUnnamed2604();
+ o["x"] = buildUnnamed2625();
+ o["y"] = buildUnnamed2625();
return o;
}
-checkUnnamed2605(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2626(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2604(o["x"]);
- checkUnnamed2604(o["y"]);
+ checkUnnamed2625(o["x"]);
+ checkUnnamed2625(o["y"]);
}
-buildUnnamed2606() {
+buildUnnamed2627() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2606(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'));
@@ -2766,14 +2766,14 @@
var o = new api.Variant();
buildCounterVariant++;
if (buildCounterVariant < 3) {
- o.alternateBases = buildUnnamed2601();
- o.calls = buildUnnamed2602();
+ o.alternateBases = buildUnnamed2622();
+ o.calls = buildUnnamed2623();
o.created = "foo";
o.end = "foo";
- o.filter = buildUnnamed2603();
+ o.filter = buildUnnamed2624();
o.id = "foo";
- o.info = buildUnnamed2605();
- o.names = buildUnnamed2606();
+ o.info = buildUnnamed2626();
+ o.names = buildUnnamed2627();
o.quality = 42.0;
o.referenceBases = "foo";
o.referenceName = "foo";
@@ -2787,14 +2787,14 @@
checkVariant(api.Variant o) {
buildCounterVariant++;
if (buildCounterVariant < 3) {
- checkUnnamed2601(o.alternateBases);
- checkUnnamed2602(o.calls);
+ checkUnnamed2622(o.alternateBases);
+ checkUnnamed2623(o.calls);
unittest.expect(o.created, unittest.equals('foo'));
unittest.expect(o.end, unittest.equals('foo'));
- checkUnnamed2603(o.filter);
+ checkUnnamed2624(o.filter);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2605(o.info);
- checkUnnamed2606(o.names);
+ checkUnnamed2626(o.info);
+ checkUnnamed2627(o.names);
unittest.expect(o.quality, unittest.equals(42.0));
unittest.expect(o.referenceBases, unittest.equals('foo'));
unittest.expect(o.referenceName, unittest.equals('foo'));
@@ -2804,27 +2804,27 @@
buildCounterVariant--;
}
-buildUnnamed2607() {
+buildUnnamed2628() {
var o = new core.List<api.ClinicalCondition>();
o.add(buildClinicalCondition());
o.add(buildClinicalCondition());
return o;
}
-checkUnnamed2607(core.List<api.ClinicalCondition> o) {
+checkUnnamed2628(core.List<api.ClinicalCondition> o) {
unittest.expect(o, unittest.hasLength(2));
checkClinicalCondition(o[0]);
checkClinicalCondition(o[1]);
}
-buildUnnamed2608() {
+buildUnnamed2629() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2608(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'));
@@ -2837,10 +2837,10 @@
if (buildCounterVariantAnnotation < 3) {
o.alternateBases = "foo";
o.clinicalSignificance = "foo";
- o.conditions = buildUnnamed2607();
+ o.conditions = buildUnnamed2628();
o.effect = "foo";
o.geneId = "foo";
- o.transcriptIds = buildUnnamed2608();
+ o.transcriptIds = buildUnnamed2629();
o.type = "foo";
}
buildCounterVariantAnnotation--;
@@ -2852,65 +2852,65 @@
if (buildCounterVariantAnnotation < 3) {
unittest.expect(o.alternateBases, unittest.equals('foo'));
unittest.expect(o.clinicalSignificance, unittest.equals('foo'));
- checkUnnamed2607(o.conditions);
+ checkUnnamed2628(o.conditions);
unittest.expect(o.effect, unittest.equals('foo'));
unittest.expect(o.geneId, unittest.equals('foo'));
- checkUnnamed2608(o.transcriptIds);
+ checkUnnamed2629(o.transcriptIds);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterVariantAnnotation--;
}
-buildUnnamed2609() {
+buildUnnamed2630() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2609(core.List<core.int> o) {
+checkUnnamed2630(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));
}
-buildUnnamed2610() {
+buildUnnamed2631() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2610(core.List<core.double> o) {
+checkUnnamed2631(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));
}
-buildUnnamed2611() {
+buildUnnamed2632() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2611(core.List<core.Object> o) {
+checkUnnamed2632(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted25 = (o[0]) as core.Map; unittest.expect(casted25, unittest.hasLength(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest.expect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["string"], unittest.equals('foo'));
var casted26 = (o[1]) as core.Map; unittest.expect(casted26, unittest.hasLength(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest.expect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["string"], unittest.equals('foo'));
}
-buildUnnamed2612() {
+buildUnnamed2633() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2611();
- o["y"] = buildUnnamed2611();
+ o["x"] = buildUnnamed2632();
+ o["y"] = buildUnnamed2632();
return o;
}
-checkUnnamed2612(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2633(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2611(o["x"]);
- checkUnnamed2611(o["y"]);
+ checkUnnamed2632(o["x"]);
+ checkUnnamed2632(o["y"]);
}
core.int buildCounterVariantCall = 0;
@@ -2920,9 +2920,9 @@
if (buildCounterVariantCall < 3) {
o.callSetId = "foo";
o.callSetName = "foo";
- o.genotype = buildUnnamed2609();
- o.genotypeLikelihood = buildUnnamed2610();
- o.info = buildUnnamed2612();
+ o.genotype = buildUnnamed2630();
+ o.genotypeLikelihood = buildUnnamed2631();
+ o.info = buildUnnamed2633();
o.phaseset = "foo";
}
buildCounterVariantCall--;
@@ -2934,35 +2934,35 @@
if (buildCounterVariantCall < 3) {
unittest.expect(o.callSetId, unittest.equals('foo'));
unittest.expect(o.callSetName, unittest.equals('foo'));
- checkUnnamed2609(o.genotype);
- checkUnnamed2610(o.genotypeLikelihood);
- checkUnnamed2612(o.info);
+ checkUnnamed2630(o.genotype);
+ checkUnnamed2631(o.genotypeLikelihood);
+ checkUnnamed2633(o.info);
unittest.expect(o.phaseset, unittest.equals('foo'));
}
buildCounterVariantCall--;
}
-buildUnnamed2613() {
+buildUnnamed2634() {
var o = new core.List<api.VariantSetMetadata>();
o.add(buildVariantSetMetadata());
o.add(buildVariantSetMetadata());
return o;
}
-checkUnnamed2613(core.List<api.VariantSetMetadata> o) {
+checkUnnamed2634(core.List<api.VariantSetMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariantSetMetadata(o[0]);
checkVariantSetMetadata(o[1]);
}
-buildUnnamed2614() {
+buildUnnamed2635() {
var o = new core.List<api.ReferenceBound>();
o.add(buildReferenceBound());
o.add(buildReferenceBound());
return o;
}
-checkUnnamed2614(core.List<api.ReferenceBound> o) {
+checkUnnamed2635(core.List<api.ReferenceBound> o) {
unittest.expect(o, unittest.hasLength(2));
checkReferenceBound(o[0]);
checkReferenceBound(o[1]);
@@ -2976,9 +2976,9 @@
o.datasetId = "foo";
o.description = "foo";
o.id = "foo";
- o.metadata = buildUnnamed2613();
+ o.metadata = buildUnnamed2634();
o.name = "foo";
- o.referenceBounds = buildUnnamed2614();
+ o.referenceBounds = buildUnnamed2635();
o.referenceSetId = "foo";
}
buildCounterVariantSet--;
@@ -2991,38 +2991,38 @@
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2613(o.metadata);
+ checkUnnamed2634(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2614(o.referenceBounds);
+ checkUnnamed2635(o.referenceBounds);
unittest.expect(o.referenceSetId, unittest.equals('foo'));
}
buildCounterVariantSet--;
}
-buildUnnamed2615() {
+buildUnnamed2636() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2615(core.List<core.Object> o) {
+checkUnnamed2636(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted27 = (o[0]) as core.Map; unittest.expect(casted27, unittest.hasLength(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest.expect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["string"], unittest.equals('foo'));
var casted28 = (o[1]) as core.Map; unittest.expect(casted28, unittest.hasLength(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest.expect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["string"], unittest.equals('foo'));
}
-buildUnnamed2616() {
+buildUnnamed2637() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2615();
- o["y"] = buildUnnamed2615();
+ o["x"] = buildUnnamed2636();
+ o["y"] = buildUnnamed2636();
return o;
}
-checkUnnamed2616(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2637(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2615(o["x"]);
- checkUnnamed2615(o["y"]);
+ checkUnnamed2636(o["x"]);
+ checkUnnamed2636(o["y"]);
}
core.int buildCounterVariantSetMetadata = 0;
@@ -3032,7 +3032,7 @@
if (buildCounterVariantSetMetadata < 3) {
o.description = "foo";
o.id = "foo";
- o.info = buildUnnamed2616();
+ o.info = buildUnnamed2637();
o.key = "foo";
o.number = "foo";
o.type = "foo";
@@ -3047,7 +3047,7 @@
if (buildCounterVariantSetMetadata < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2616(o.info);
+ checkUnnamed2637(o.info);
unittest.expect(o.key, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -4701,9 +4701,9 @@
var mock = new HttpServerMock();
api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
+ var arg_projectId = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_projectId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4730,9 +4730,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["projectId"].first, unittest.equals(arg_projectId));
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));
var h = {
@@ -4741,7 +4741,7 @@
var resp = convert.JSON.encode(buildListDatasetsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(pageToken: arg_pageToken, pageSize: arg_pageSize, projectId: arg_projectId).then(unittest.expectAsync1(((api.ListDatasetsResponse response) {
+ res.list(projectId: arg_projectId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListDatasetsResponse response) {
checkListDatasetsResponse(response);
})));
});
@@ -5055,9 +5055,9 @@
var mock = new HttpServerMock();
api.OperationsResourceApi res = new api.GenomicsApi(mock).operations;
var arg_name = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5085,9 +5085,9 @@
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["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -5096,7 +5096,7 @@
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).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
+ res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
@@ -5410,12 +5410,12 @@
var mock = new HttpServerMock();
api.ReadgroupsetsCoveragebucketsResourceApi res = new api.GenomicsApi(mock).readgroupsets.coveragebuckets;
var arg_readGroupSetId = "foo";
- var arg_targetBucketWidth = "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";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5449,12 +5449,12 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["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["targetBucketWidth"].first, unittest.equals(arg_targetBucketWidth));
+ unittest.expect(queryMap["referenceName"].first, unittest.equals(arg_referenceName));
var h = {
@@ -5463,7 +5463,7 @@
var resp = convert.JSON.encode(buildListCoverageBucketsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_readGroupSetId, targetBucketWidth: arg_targetBucketWidth, referenceName: arg_referenceName, end: arg_end, pageToken: arg_pageToken, pageSize: arg_pageSize, start: arg_start).then(unittest.expectAsync1(((api.ListCoverageBucketsResponse response) {
+ res.list(arg_readGroupSetId, end: arg_end, pageToken: arg_pageToken, pageSize: arg_pageSize, start: arg_start, targetBucketWidth: arg_targetBucketWidth, referenceName: arg_referenceName).then(unittest.expectAsync1(((api.ListCoverageBucketsResponse response) {
checkListCoverageBucketsResponse(response);
})));
});
@@ -5626,10 +5626,10 @@
var mock = new HttpServerMock();
api.ReferencesBasesResourceApi res = new api.GenomicsApi(mock).references.bases;
var arg_referenceId = "foo";
- var arg_end = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_start = "foo";
+ var arg_end = "foo";
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5663,10 +5663,10 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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), 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));
var h = {
@@ -5675,7 +5675,7 @@
var resp = convert.JSON.encode(buildListBasesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_referenceId, end: arg_end, pageToken: arg_pageToken, pageSize: arg_pageSize, start: arg_start).then(unittest.expectAsync1(((api.ListBasesResponse response) {
+ res.list(arg_referenceId, pageSize: arg_pageSize, start: arg_start, end: arg_end, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListBasesResponse response) {
checkListBasesResponse(response);
})));
});
diff --git a/generated/googleapis/test/identitytoolkit/v3_test.dart b/generated/googleapis/test/identitytoolkit/v3_test.dart
index 5bb435c..dbafb0d 100644
--- a/generated/googleapis/test/identitytoolkit/v3_test.dart
+++ b/generated/googleapis/test/identitytoolkit/v3_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2432() {
+buildUnnamed2453() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2432(core.List<core.String> o) {
+checkUnnamed2453(core.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 @@
var o = new api.CreateAuthUriResponse();
buildCounterCreateAuthUriResponse++;
if (buildCounterCreateAuthUriResponse < 3) {
- o.allProviders = buildUnnamed2432();
+ o.allProviders = buildUnnamed2453();
o.authUri = "foo";
o.captchaRequired = true;
o.forExistingProvider = true;
@@ -85,7 +85,7 @@
checkCreateAuthUriResponse(api.CreateAuthUriResponse o) {
buildCounterCreateAuthUriResponse++;
if (buildCounterCreateAuthUriResponse < 3) {
- checkUnnamed2432(o.allProviders);
+ checkUnnamed2453(o.allProviders);
unittest.expect(o.authUri, unittest.equals('foo'));
unittest.expect(o.captchaRequired, unittest.isTrue);
unittest.expect(o.forExistingProvider, unittest.isTrue);
@@ -116,14 +116,14 @@
buildCounterDeleteAccountResponse--;
}
-buildUnnamed2433() {
+buildUnnamed2454() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed2433(core.List<api.UserInfo> o) {
+checkUnnamed2454(core.List<api.UserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfo(o[0]);
checkUserInfo(o[1]);
@@ -136,7 +136,7 @@
if (buildCounterDownloadAccountResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.users = buildUnnamed2433();
+ o.users = buildUnnamed2454();
}
buildCounterDownloadAccountResponse--;
return o;
@@ -147,7 +147,7 @@
if (buildCounterDownloadAccountResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2433(o.users);
+ checkUnnamed2454(o.users);
}
buildCounterDownloadAccountResponse--;
}
@@ -181,14 +181,14 @@
buildCounterEmailTemplate--;
}
-buildUnnamed2434() {
+buildUnnamed2455() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed2434(core.List<api.UserInfo> o) {
+checkUnnamed2455(core.List<api.UserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfo(o[0]);
checkUserInfo(o[1]);
@@ -200,7 +200,7 @@
buildCounterGetAccountInfoResponse++;
if (buildCounterGetAccountInfoResponse < 3) {
o.kind = "foo";
- o.users = buildUnnamed2434();
+ o.users = buildUnnamed2455();
}
buildCounterGetAccountInfoResponse--;
return o;
@@ -210,7 +210,7 @@
buildCounterGetAccountInfoResponse++;
if (buildCounterGetAccountInfoResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2434(o.users);
+ checkUnnamed2455(o.users);
}
buildCounterGetAccountInfoResponse--;
}
@@ -261,14 +261,14 @@
buildCounterGetRecaptchaParamResponse--;
}
-buildUnnamed2435() {
+buildUnnamed2456() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2435(core.Map<core.String, core.String> o) {
+checkUnnamed2456(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -284,7 +284,7 @@
o.clientId = "foo";
o.context = "foo";
o.continueUri = "foo";
- o.customParameter = buildUnnamed2435();
+ o.customParameter = buildUnnamed2456();
o.hostedDomain = "foo";
o.identifier = "foo";
o.oauthConsumerKey = "foo";
@@ -306,7 +306,7 @@
unittest.expect(o.clientId, unittest.equals('foo'));
unittest.expect(o.context, unittest.equals('foo'));
unittest.expect(o.continueUri, unittest.equals('foo'));
- checkUnnamed2435(o.customParameter);
+ checkUnnamed2456(o.customParameter);
unittest.expect(o.hostedDomain, unittest.equals('foo'));
unittest.expect(o.identifier, unittest.equals('foo'));
unittest.expect(o.oauthConsumerKey, unittest.equals('foo'));
@@ -367,40 +367,40 @@
buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--;
}
-buildUnnamed2436() {
+buildUnnamed2457() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2436(core.List<core.String> o) {
+checkUnnamed2457(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2437() {
+buildUnnamed2458() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2437(core.List<core.String> o) {
+checkUnnamed2458(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2438() {
+buildUnnamed2459() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2438(core.List<core.String> o) {
+checkUnnamed2459(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -412,10 +412,10 @@
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++;
if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) {
o.delegatedProjectNumber = "foo";
- o.email = buildUnnamed2436();
+ o.email = buildUnnamed2457();
o.idToken = "foo";
- o.localId = buildUnnamed2437();
- o.phoneNumber = buildUnnamed2438();
+ o.localId = buildUnnamed2458();
+ o.phoneNumber = buildUnnamed2459();
}
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--;
return o;
@@ -425,35 +425,35 @@
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++;
if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) {
unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
- checkUnnamed2436(o.email);
+ checkUnnamed2457(o.email);
unittest.expect(o.idToken, unittest.equals('foo'));
- checkUnnamed2437(o.localId);
- checkUnnamed2438(o.phoneNumber);
+ checkUnnamed2458(o.localId);
+ checkUnnamed2459(o.phoneNumber);
}
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--;
}
-buildUnnamed2439() {
+buildUnnamed2460() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2439(core.List<core.String> o) {
+checkUnnamed2460(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2440() {
+buildUnnamed2461() {
var o = new core.List<api.IdpConfig>();
o.add(buildIdpConfig());
o.add(buildIdpConfig());
return o;
}
-checkUnnamed2440(core.List<api.IdpConfig> o) {
+checkUnnamed2461(core.List<api.IdpConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkIdpConfig(o[0]);
checkIdpConfig(o[1]);
@@ -466,11 +466,11 @@
if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) {
o.allowPasswordUser = true;
o.apiKey = "foo";
- o.authorizedDomains = buildUnnamed2439();
+ o.authorizedDomains = buildUnnamed2460();
o.changeEmailTemplate = buildEmailTemplate();
o.dynamicLinksDomain = "foo";
o.enableAnonymousUser = true;
- o.idpConfig = buildUnnamed2440();
+ o.idpConfig = buildUnnamed2461();
o.legacyResetPasswordTemplate = buildEmailTemplate();
o.projectId = "foo";
o.resetPasswordTemplate = buildEmailTemplate();
@@ -486,11 +486,11 @@
if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) {
unittest.expect(o.allowPasswordUser, unittest.isTrue);
unittest.expect(o.apiKey, unittest.equals('foo'));
- checkUnnamed2439(o.authorizedDomains);
+ checkUnnamed2460(o.authorizedDomains);
checkEmailTemplate(o.changeEmailTemplate);
unittest.expect(o.dynamicLinksDomain, unittest.equals('foo'));
unittest.expect(o.enableAnonymousUser, unittest.isTrue);
- checkUnnamed2440(o.idpConfig);
+ checkUnnamed2461(o.idpConfig);
checkEmailTemplate(o.legacyResetPasswordTemplate);
unittest.expect(o.projectId, unittest.equals('foo'));
checkEmailTemplate(o.resetPasswordTemplate);
@@ -538,40 +538,40 @@
buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--;
}
-buildUnnamed2441() {
+buildUnnamed2462() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2441(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'));
}
-buildUnnamed2442() {
+buildUnnamed2463() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2442(core.List<core.String> o) {
+checkUnnamed2463(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2443() {
+buildUnnamed2464() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2443(core.List<core.String> o) {
+checkUnnamed2464(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -586,8 +586,8 @@
o.captchaResponse = "foo";
o.createdAt = "foo";
o.delegatedProjectNumber = "foo";
- o.deleteAttribute = buildUnnamed2441();
- o.deleteProvider = buildUnnamed2442();
+ o.deleteAttribute = buildUnnamed2462();
+ o.deleteProvider = buildUnnamed2463();
o.disableUser = true;
o.displayName = "foo";
o.email = "foo";
@@ -600,7 +600,7 @@
o.password = "foo";
o.phoneNumber = "foo";
o.photoUrl = "foo";
- o.provider = buildUnnamed2443();
+ o.provider = buildUnnamed2464();
o.returnSecureToken = true;
o.upgradeToFederatedLogin = true;
o.validSince = "foo";
@@ -616,8 +616,8 @@
unittest.expect(o.captchaResponse, unittest.equals('foo'));
unittest.expect(o.createdAt, unittest.equals('foo'));
unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
- checkUnnamed2441(o.deleteAttribute);
- checkUnnamed2442(o.deleteProvider);
+ checkUnnamed2462(o.deleteAttribute);
+ checkUnnamed2463(o.deleteProvider);
unittest.expect(o.disableUser, unittest.isTrue);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.email, unittest.equals('foo'));
@@ -630,7 +630,7 @@
unittest.expect(o.password, unittest.equals('foo'));
unittest.expect(o.phoneNumber, unittest.equals('foo'));
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2443(o.provider);
+ checkUnnamed2464(o.provider);
unittest.expect(o.returnSecureToken, unittest.isTrue);
unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue);
unittest.expect(o.validSince, unittest.equals('foo'));
@@ -638,27 +638,27 @@
buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--;
}
-buildUnnamed2444() {
+buildUnnamed2465() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2444(core.List<core.String> o) {
+checkUnnamed2465(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2445() {
+buildUnnamed2466() {
var o = new core.List<api.IdpConfig>();
o.add(buildIdpConfig());
o.add(buildIdpConfig());
return o;
}
-checkUnnamed2445(core.List<api.IdpConfig> o) {
+checkUnnamed2466(core.List<api.IdpConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkIdpConfig(o[0]);
checkIdpConfig(o[1]);
@@ -671,11 +671,11 @@
if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) {
o.allowPasswordUser = true;
o.apiKey = "foo";
- o.authorizedDomains = buildUnnamed2444();
+ o.authorizedDomains = buildUnnamed2465();
o.changeEmailTemplate = buildEmailTemplate();
o.delegatedProjectNumber = "foo";
o.enableAnonymousUser = true;
- o.idpConfig = buildUnnamed2445();
+ o.idpConfig = buildUnnamed2466();
o.legacyResetPasswordTemplate = buildEmailTemplate();
o.resetPasswordTemplate = buildEmailTemplate();
o.useEmailSending = true;
@@ -690,11 +690,11 @@
if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) {
unittest.expect(o.allowPasswordUser, unittest.isTrue);
unittest.expect(o.apiKey, unittest.equals('foo'));
- checkUnnamed2444(o.authorizedDomains);
+ checkUnnamed2465(o.authorizedDomains);
checkEmailTemplate(o.changeEmailTemplate);
unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
unittest.expect(o.enableAnonymousUser, unittest.isTrue);
- checkUnnamed2445(o.idpConfig);
+ checkUnnamed2466(o.idpConfig);
checkEmailTemplate(o.legacyResetPasswordTemplate);
checkEmailTemplate(o.resetPasswordTemplate);
unittest.expect(o.useEmailSending, unittest.isTrue);
@@ -803,14 +803,14 @@
buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--;
}
-buildUnnamed2446() {
+buildUnnamed2467() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed2446(core.List<api.UserInfo> o) {
+checkUnnamed2467(core.List<api.UserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfo(o[0]);
checkUserInfo(o[1]);
@@ -830,7 +830,7 @@
o.sanityCheck = true;
o.signerKey = "foo";
o.targetProjectId = "foo";
- o.users = buildUnnamed2446();
+ o.users = buildUnnamed2467();
}
buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--;
return o;
@@ -848,7 +848,7 @@
unittest.expect(o.sanityCheck, unittest.isTrue);
unittest.expect(o.signerKey, unittest.equals('foo'));
unittest.expect(o.targetProjectId, unittest.equals('foo'));
- checkUnnamed2446(o.users);
+ checkUnnamed2467(o.users);
}
buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--;
}
@@ -952,14 +952,14 @@
buildCounterIdentitytoolkitRelyingpartyVerifyPasswordRequest--;
}
-buildUnnamed2447() {
+buildUnnamed2468() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2447(core.List<core.String> o) {
+checkUnnamed2468(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -975,7 +975,7 @@
o.experimentPercent = 42;
o.provider = "foo";
o.secret = "foo";
- o.whitelistedAudiences = buildUnnamed2447();
+ o.whitelistedAudiences = buildUnnamed2468();
}
buildCounterIdpConfig--;
return o;
@@ -989,7 +989,7 @@
unittest.expect(o.experimentPercent, unittest.equals(42));
unittest.expect(o.provider, unittest.equals('foo'));
unittest.expect(o.secret, unittest.equals('foo'));
- checkUnnamed2447(o.whitelistedAudiences);
+ checkUnnamed2468(o.whitelistedAudiences);
}
buildCounterIdpConfig--;
}
@@ -1091,14 +1091,14 @@
buildCounterSetAccountInfoResponseProviderUserInfo--;
}
-buildUnnamed2448() {
+buildUnnamed2469() {
var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>();
o.add(buildSetAccountInfoResponseProviderUserInfo());
o.add(buildSetAccountInfoResponseProviderUserInfo());
return o;
}
-checkUnnamed2448(core.List<api.SetAccountInfoResponseProviderUserInfo> o) {
+checkUnnamed2469(core.List<api.SetAccountInfoResponseProviderUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSetAccountInfoResponseProviderUserInfo(o[0]);
checkSetAccountInfoResponseProviderUserInfo(o[1]);
@@ -1119,7 +1119,7 @@
o.newEmail = "foo";
o.passwordHash = "foo";
o.photoUrl = "foo";
- o.providerUserInfo = buildUnnamed2448();
+ o.providerUserInfo = buildUnnamed2469();
o.refreshToken = "foo";
}
buildCounterSetAccountInfoResponse--;
@@ -1139,7 +1139,7 @@
unittest.expect(o.newEmail, unittest.equals('foo'));
unittest.expect(o.passwordHash, unittest.equals('foo'));
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2448(o.providerUserInfo);
+ checkUnnamed2469(o.providerUserInfo);
unittest.expect(o.refreshToken, unittest.equals('foo'));
}
buildCounterSetAccountInfoResponse--;
@@ -1197,14 +1197,14 @@
buildCounterUploadAccountResponseError--;
}
-buildUnnamed2449() {
+buildUnnamed2470() {
var o = new core.List<api.UploadAccountResponseError>();
o.add(buildUploadAccountResponseError());
o.add(buildUploadAccountResponseError());
return o;
}
-checkUnnamed2449(core.List<api.UploadAccountResponseError> o) {
+checkUnnamed2470(core.List<api.UploadAccountResponseError> o) {
unittest.expect(o, unittest.hasLength(2));
checkUploadAccountResponseError(o[0]);
checkUploadAccountResponseError(o[1]);
@@ -1215,7 +1215,7 @@
var o = new api.UploadAccountResponse();
buildCounterUploadAccountResponse++;
if (buildCounterUploadAccountResponse < 3) {
- o.error = buildUnnamed2449();
+ o.error = buildUnnamed2470();
o.kind = "foo";
}
buildCounterUploadAccountResponse--;
@@ -1225,7 +1225,7 @@
checkUploadAccountResponse(api.UploadAccountResponse o) {
buildCounterUploadAccountResponse++;
if (buildCounterUploadAccountResponse < 3) {
- checkUnnamed2449(o.error);
+ checkUnnamed2470(o.error);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterUploadAccountResponse--;
@@ -1264,14 +1264,14 @@
buildCounterUserInfoProviderUserInfo--;
}
-buildUnnamed2450() {
+buildUnnamed2471() {
var o = new core.List<api.UserInfoProviderUserInfo>();
o.add(buildUserInfoProviderUserInfo());
o.add(buildUserInfoProviderUserInfo());
return o;
}
-checkUnnamed2450(core.List<api.UserInfoProviderUserInfo> o) {
+checkUnnamed2471(core.List<api.UserInfoProviderUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfoProviderUserInfo(o[0]);
checkUserInfoProviderUserInfo(o[1]);
@@ -1294,7 +1294,7 @@
o.passwordUpdatedAt = 42.0;
o.phoneNumber = "foo";
o.photoUrl = "foo";
- o.providerUserInfo = buildUnnamed2450();
+ o.providerUserInfo = buildUnnamed2471();
o.rawPassword = "foo";
o.salt = "foo";
o.screenName = "foo";
@@ -1320,7 +1320,7 @@
unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0));
unittest.expect(o.phoneNumber, unittest.equals('foo'));
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2450(o.providerUserInfo);
+ checkUnnamed2471(o.providerUserInfo);
unittest.expect(o.rawPassword, unittest.equals('foo'));
unittest.expect(o.salt, unittest.equals('foo'));
unittest.expect(o.screenName, unittest.equals('foo'));
@@ -1330,14 +1330,14 @@
buildCounterUserInfo--;
}
-buildUnnamed2451() {
+buildUnnamed2472() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2451(core.List<core.String> o) {
+checkUnnamed2472(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1386,7 +1386,7 @@
o.refreshToken = "foo";
o.screenName = "foo";
o.timeZone = "foo";
- o.verifiedProvider = buildUnnamed2451();
+ o.verifiedProvider = buildUnnamed2472();
}
buildCounterVerifyAssertionResponse--;
return o;
@@ -1433,7 +1433,7 @@
unittest.expect(o.refreshToken, unittest.equals('foo'));
unittest.expect(o.screenName, unittest.equals('foo'));
unittest.expect(o.timeZone, unittest.equals('foo'));
- checkUnnamed2451(o.verifiedProvider);
+ checkUnnamed2472(o.verifiedProvider);
}
buildCounterVerifyAssertionResponse--;
}
diff --git a/generated/googleapis/test/language/v1_test.dart b/generated/googleapis/test/language/v1_test.dart
index f9cb2df..7e226bb 100644
--- a/generated/googleapis/test/language/v1_test.dart
+++ b/generated/googleapis/test/language/v1_test.dart
@@ -72,14 +72,14 @@
buildCounterAnalyzeEntitiesRequest--;
}
-buildUnnamed856() {
+buildUnnamed872() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed856(core.List<api.Entity> o) {
+checkUnnamed872(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
@@ -90,7 +90,7 @@
var o = new api.AnalyzeEntitiesResponse();
buildCounterAnalyzeEntitiesResponse++;
if (buildCounterAnalyzeEntitiesResponse < 3) {
- o.entities = buildUnnamed856();
+ o.entities = buildUnnamed872();
o.language = "foo";
}
buildCounterAnalyzeEntitiesResponse--;
@@ -100,7 +100,7 @@
checkAnalyzeEntitiesResponse(api.AnalyzeEntitiesResponse o) {
buildCounterAnalyzeEntitiesResponse++;
if (buildCounterAnalyzeEntitiesResponse < 3) {
- checkUnnamed856(o.entities);
+ checkUnnamed872(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
}
buildCounterAnalyzeEntitiesResponse--;
@@ -127,14 +127,14 @@
buildCounterAnalyzeSentimentRequest--;
}
-buildUnnamed857() {
+buildUnnamed873() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed857(core.List<api.Sentence> o) {
+checkUnnamed873(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
@@ -147,7 +147,7 @@
if (buildCounterAnalyzeSentimentResponse < 3) {
o.documentSentiment = buildSentiment();
o.language = "foo";
- o.sentences = buildUnnamed857();
+ o.sentences = buildUnnamed873();
}
buildCounterAnalyzeSentimentResponse--;
return o;
@@ -158,7 +158,7 @@
if (buildCounterAnalyzeSentimentResponse < 3) {
checkSentiment(o.documentSentiment);
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed857(o.sentences);
+ checkUnnamed873(o.sentences);
}
buildCounterAnalyzeSentimentResponse--;
}
@@ -184,27 +184,27 @@
buildCounterAnalyzeSyntaxRequest--;
}
-buildUnnamed858() {
+buildUnnamed874() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed858(core.List<api.Sentence> o) {
+checkUnnamed874(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
}
-buildUnnamed859() {
+buildUnnamed875() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed859(core.List<api.Token> o) {
+checkUnnamed875(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -216,8 +216,8 @@
buildCounterAnalyzeSyntaxResponse++;
if (buildCounterAnalyzeSyntaxResponse < 3) {
o.language = "foo";
- o.sentences = buildUnnamed858();
- o.tokens = buildUnnamed859();
+ o.sentences = buildUnnamed874();
+ o.tokens = buildUnnamed875();
}
buildCounterAnalyzeSyntaxResponse--;
return o;
@@ -227,8 +227,8 @@
buildCounterAnalyzeSyntaxResponse++;
if (buildCounterAnalyzeSyntaxResponse < 3) {
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed858(o.sentences);
- checkUnnamed859(o.tokens);
+ checkUnnamed874(o.sentences);
+ checkUnnamed875(o.tokens);
}
buildCounterAnalyzeSyntaxResponse--;
}
@@ -256,40 +256,40 @@
buildCounterAnnotateTextRequest--;
}
-buildUnnamed860() {
+buildUnnamed876() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed860(core.List<api.Entity> o) {
+checkUnnamed876(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
}
-buildUnnamed861() {
+buildUnnamed877() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed861(core.List<api.Sentence> o) {
+checkUnnamed877(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
}
-buildUnnamed862() {
+buildUnnamed878() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed862(core.List<api.Token> o) {
+checkUnnamed878(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -301,10 +301,10 @@
buildCounterAnnotateTextResponse++;
if (buildCounterAnnotateTextResponse < 3) {
o.documentSentiment = buildSentiment();
- o.entities = buildUnnamed860();
+ o.entities = buildUnnamed876();
o.language = "foo";
- o.sentences = buildUnnamed861();
- o.tokens = buildUnnamed862();
+ o.sentences = buildUnnamed877();
+ o.tokens = buildUnnamed878();
}
buildCounterAnnotateTextResponse--;
return o;
@@ -314,10 +314,10 @@
buildCounterAnnotateTextResponse++;
if (buildCounterAnnotateTextResponse < 3) {
checkSentiment(o.documentSentiment);
- checkUnnamed860(o.entities);
+ checkUnnamed876(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed861(o.sentences);
- checkUnnamed862(o.tokens);
+ checkUnnamed877(o.sentences);
+ checkUnnamed878(o.tokens);
}
buildCounterAnnotateTextResponse--;
}
@@ -368,27 +368,27 @@
buildCounterDocument--;
}
-buildUnnamed863() {
+buildUnnamed879() {
var o = new core.List<api.EntityMention>();
o.add(buildEntityMention());
o.add(buildEntityMention());
return o;
}
-checkUnnamed863(core.List<api.EntityMention> o) {
+checkUnnamed879(core.List<api.EntityMention> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityMention(o[0]);
checkEntityMention(o[1]);
}
-buildUnnamed864() {
+buildUnnamed880() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed864(core.Map<core.String, core.String> o) {
+checkUnnamed880(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -399,8 +399,8 @@
var o = new api.Entity();
buildCounterEntity++;
if (buildCounterEntity < 3) {
- o.mentions = buildUnnamed863();
- o.metadata = buildUnnamed864();
+ o.mentions = buildUnnamed879();
+ o.metadata = buildUnnamed880();
o.name = "foo";
o.salience = 42.0;
o.type = "foo";
@@ -412,8 +412,8 @@
checkEntity(api.Entity o) {
buildCounterEntity++;
if (buildCounterEntity < 3) {
- checkUnnamed863(o.mentions);
- checkUnnamed864(o.metadata);
+ checkUnnamed879(o.mentions);
+ checkUnnamed880(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.salience, unittest.equals(42.0));
unittest.expect(o.type, unittest.equals('foo'));
@@ -548,30 +548,30 @@
buildCounterSentiment--;
}
-buildUnnamed865() {
+buildUnnamed881() {
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;
}
-checkUnnamed865(core.Map<core.String, core.Object> o) {
+checkUnnamed881(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'));
}
-buildUnnamed866() {
+buildUnnamed882() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed865());
- o.add(buildUnnamed865());
+ o.add(buildUnnamed881());
+ o.add(buildUnnamed881());
return o;
}
-checkUnnamed866(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed882(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed865(o[0]);
- checkUnnamed865(o[1]);
+ checkUnnamed881(o[0]);
+ checkUnnamed881(o[1]);
}
core.int buildCounterStatus = 0;
@@ -580,7 +580,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed866();
+ o.details = buildUnnamed882();
o.message = "foo";
}
buildCounterStatus--;
@@ -591,7 +591,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed866(o.details);
+ checkUnnamed882(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 b0812b8..07155ae 100644
--- a/generated/googleapis/test/licensing/v1_test.dart
+++ b/generated/googleapis/test/licensing/v1_test.dart
@@ -103,14 +103,14 @@
buildCounterLicenseAssignmentInsert--;
}
-buildUnnamed2086() {
+buildUnnamed2104() {
var o = new core.List<api.LicenseAssignment>();
o.add(buildLicenseAssignment());
o.add(buildLicenseAssignment());
return o;
}
-checkUnnamed2086(core.List<api.LicenseAssignment> o) {
+checkUnnamed2104(core.List<api.LicenseAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkLicenseAssignment(o[0]);
checkLicenseAssignment(o[1]);
@@ -122,7 +122,7 @@
buildCounterLicenseAssignmentList++;
if (buildCounterLicenseAssignmentList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2086();
+ o.items = buildUnnamed2104();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -134,7 +134,7 @@
buildCounterLicenseAssignmentList++;
if (buildCounterLicenseAssignmentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2086(o.items);
+ checkUnnamed2104(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 0b58868..603c27c 100644
--- a/generated/googleapis/test/logging/v2_test.dart
+++ b/generated/googleapis/test/logging/v2_test.dart
@@ -78,6 +78,7 @@
o.cacheLookup = true;
o.cacheValidatedWithOriginServer = true;
o.latency = "foo";
+ o.protocol = "foo";
o.referer = "foo";
o.remoteIp = "foo";
o.requestMethod = "foo";
@@ -100,6 +101,7 @@
unittest.expect(o.cacheLookup, unittest.isTrue);
unittest.expect(o.cacheValidatedWithOriginServer, unittest.isTrue);
unittest.expect(o.latency, unittest.equals('foo'));
+ unittest.expect(o.protocol, unittest.equals('foo'));
unittest.expect(o.referer, unittest.equals('foo'));
unittest.expect(o.remoteIp, unittest.equals('foo'));
unittest.expect(o.requestMethod, unittest.equals('foo'));
@@ -136,27 +138,27 @@
buildCounterLabelDescriptor--;
}
-buildUnnamed250() {
+buildUnnamed255() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed250(core.List<core.String> o) {
+checkUnnamed255(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed251() {
+buildUnnamed256() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed251(core.List<core.String> o) {
+checkUnnamed256(core.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,8 +173,8 @@
o.orderBy = "foo";
o.pageSize = 42;
o.pageToken = "foo";
- o.projectIds = buildUnnamed250();
- o.resourceNames = buildUnnamed251();
+ o.projectIds = buildUnnamed255();
+ o.resourceNames = buildUnnamed256();
}
buildCounterListLogEntriesRequest--;
return o;
@@ -185,20 +187,20 @@
unittest.expect(o.orderBy, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed250(o.projectIds);
- checkUnnamed251(o.resourceNames);
+ checkUnnamed255(o.projectIds);
+ checkUnnamed256(o.resourceNames);
}
buildCounterListLogEntriesRequest--;
}
-buildUnnamed252() {
+buildUnnamed257() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed252(core.List<api.LogEntry> o) {
+checkUnnamed257(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
@@ -209,7 +211,7 @@
var o = new api.ListLogEntriesResponse();
buildCounterListLogEntriesResponse++;
if (buildCounterListLogEntriesResponse < 3) {
- o.entries = buildUnnamed252();
+ o.entries = buildUnnamed257();
o.nextPageToken = "foo";
}
buildCounterListLogEntriesResponse--;
@@ -219,20 +221,20 @@
checkListLogEntriesResponse(api.ListLogEntriesResponse o) {
buildCounterListLogEntriesResponse++;
if (buildCounterListLogEntriesResponse < 3) {
- checkUnnamed252(o.entries);
+ checkUnnamed257(o.entries);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogEntriesResponse--;
}
-buildUnnamed253() {
+buildUnnamed258() {
var o = new core.List<api.LogMetric>();
o.add(buildLogMetric());
o.add(buildLogMetric());
return o;
}
-checkUnnamed253(core.List<api.LogMetric> o) {
+checkUnnamed258(core.List<api.LogMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogMetric(o[0]);
checkLogMetric(o[1]);
@@ -243,7 +245,7 @@
var o = new api.ListLogMetricsResponse();
buildCounterListLogMetricsResponse++;
if (buildCounterListLogMetricsResponse < 3) {
- o.metrics = buildUnnamed253();
+ o.metrics = buildUnnamed258();
o.nextPageToken = "foo";
}
buildCounterListLogMetricsResponse--;
@@ -253,20 +255,20 @@
checkListLogMetricsResponse(api.ListLogMetricsResponse o) {
buildCounterListLogMetricsResponse++;
if (buildCounterListLogMetricsResponse < 3) {
- checkUnnamed253(o.metrics);
+ checkUnnamed258(o.metrics);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogMetricsResponse--;
}
-buildUnnamed254() {
+buildUnnamed259() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed254(core.List<core.String> o) {
+checkUnnamed259(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -277,7 +279,7 @@
var o = new api.ListLogsResponse();
buildCounterListLogsResponse++;
if (buildCounterListLogsResponse < 3) {
- o.logNames = buildUnnamed254();
+ o.logNames = buildUnnamed259();
o.nextPageToken = "foo";
}
buildCounterListLogsResponse--;
@@ -287,20 +289,20 @@
checkListLogsResponse(api.ListLogsResponse o) {
buildCounterListLogsResponse++;
if (buildCounterListLogsResponse < 3) {
- checkUnnamed254(o.logNames);
+ checkUnnamed259(o.logNames);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogsResponse--;
}
-buildUnnamed255() {
+buildUnnamed260() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed255(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed260(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
@@ -312,7 +314,7 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
o.nextPageToken = "foo";
- o.resourceDescriptors = buildUnnamed255();
+ o.resourceDescriptors = buildUnnamed260();
}
buildCounterListMonitoredResourceDescriptorsResponse--;
return o;
@@ -322,19 +324,19 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed255(o.resourceDescriptors);
+ checkUnnamed260(o.resourceDescriptors);
}
buildCounterListMonitoredResourceDescriptorsResponse--;
}
-buildUnnamed256() {
+buildUnnamed261() {
var o = new core.List<api.LogSink>();
o.add(buildLogSink());
o.add(buildLogSink());
return o;
}
-checkUnnamed256(core.List<api.LogSink> o) {
+checkUnnamed261(core.List<api.LogSink> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogSink(o[0]);
checkLogSink(o[1]);
@@ -346,7 +348,7 @@
buildCounterListSinksResponse++;
if (buildCounterListSinksResponse < 3) {
o.nextPageToken = "foo";
- o.sinks = buildUnnamed256();
+ o.sinks = buildUnnamed261();
}
buildCounterListSinksResponse--;
return o;
@@ -356,45 +358,45 @@
buildCounterListSinksResponse++;
if (buildCounterListSinksResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed256(o.sinks);
+ checkUnnamed261(o.sinks);
}
buildCounterListSinksResponse--;
}
-buildUnnamed257() {
+buildUnnamed262() {
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;
}
-checkUnnamed257(core.Map<core.String, core.Object> o) {
+checkUnnamed262(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'));
}
-buildUnnamed258() {
+buildUnnamed263() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed258(core.Map<core.String, core.String> o) {
+checkUnnamed263(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed259() {
+buildUnnamed264() {
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;
}
-checkUnnamed259(core.Map<core.String, core.Object> o) {
+checkUnnamed264(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'));
@@ -407,11 +409,11 @@
if (buildCounterLogEntry < 3) {
o.httpRequest = buildHttpRequest();
o.insertId = "foo";
- o.jsonPayload = buildUnnamed257();
- o.labels = buildUnnamed258();
+ o.jsonPayload = buildUnnamed262();
+ o.labels = buildUnnamed263();
o.logName = "foo";
o.operation = buildLogEntryOperation();
- o.protoPayload = buildUnnamed259();
+ o.protoPayload = buildUnnamed264();
o.receiveTimestamp = "foo";
o.resource = buildMonitoredResource();
o.severity = "foo";
@@ -429,11 +431,11 @@
if (buildCounterLogEntry < 3) {
checkHttpRequest(o.httpRequest);
unittest.expect(o.insertId, unittest.equals('foo'));
- checkUnnamed257(o.jsonPayload);
- checkUnnamed258(o.labels);
+ checkUnnamed262(o.jsonPayload);
+ checkUnnamed263(o.labels);
unittest.expect(o.logName, unittest.equals('foo'));
checkLogEntryOperation(o.operation);
- checkUnnamed259(o.protoPayload);
+ checkUnnamed264(o.protoPayload);
unittest.expect(o.receiveTimestamp, unittest.equals('foo'));
checkMonitoredResource(o.resource);
unittest.expect(o.severity, unittest.equals('foo'));
@@ -576,14 +578,14 @@
buildCounterLogSink--;
}
-buildUnnamed260() {
+buildUnnamed265() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed260(core.Map<core.String, core.String> o) {
+checkUnnamed265(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -594,7 +596,7 @@
var o = new api.MonitoredResource();
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- o.labels = buildUnnamed260();
+ o.labels = buildUnnamed265();
o.type = "foo";
}
buildCounterMonitoredResource--;
@@ -604,20 +606,20 @@
checkMonitoredResource(api.MonitoredResource o) {
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- checkUnnamed260(o.labels);
+ checkUnnamed265(o.labels);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResource--;
}
-buildUnnamed261() {
+buildUnnamed266() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed261(core.List<api.LabelDescriptor> o) {
+checkUnnamed266(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -630,7 +632,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed261();
+ o.labels = buildUnnamed266();
o.name = "foo";
o.type = "foo";
}
@@ -643,34 +645,34 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed261(o.labels);
+ checkUnnamed266(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed262() {
+buildUnnamed267() {
var o = new core.List<api.LogLine>();
o.add(buildLogLine());
o.add(buildLogLine());
return o;
}
-checkUnnamed262(core.List<api.LogLine> o) {
+checkUnnamed267(core.List<api.LogLine> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogLine(o[0]);
checkLogLine(o[1]);
}
-buildUnnamed263() {
+buildUnnamed268() {
var o = new core.List<api.SourceReference>();
o.add(buildSourceReference());
o.add(buildSourceReference());
return o;
}
-checkUnnamed263(core.List<api.SourceReference> o) {
+checkUnnamed268(core.List<api.SourceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceReference(o[0]);
checkSourceReference(o[1]);
@@ -693,7 +695,7 @@
o.instanceIndex = 42;
o.ip = "foo";
o.latency = "foo";
- o.line = buildUnnamed262();
+ o.line = buildUnnamed267();
o.megaCycles = "foo";
o.method = "foo";
o.moduleId = "foo";
@@ -703,7 +705,7 @@
o.requestId = "foo";
o.resource = "foo";
o.responseSize = "foo";
- o.sourceReference = buildUnnamed263();
+ o.sourceReference = buildUnnamed268();
o.startTime = "foo";
o.status = 42;
o.taskName = "foo";
@@ -733,7 +735,7 @@
unittest.expect(o.instanceIndex, unittest.equals(42));
unittest.expect(o.ip, unittest.equals('foo'));
unittest.expect(o.latency, unittest.equals('foo'));
- checkUnnamed262(o.line);
+ checkUnnamed267(o.line);
unittest.expect(o.megaCycles, unittest.equals('foo'));
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.moduleId, unittest.equals('foo'));
@@ -743,7 +745,7 @@
unittest.expect(o.requestId, unittest.equals('foo'));
unittest.expect(o.resource, unittest.equals('foo'));
unittest.expect(o.responseSize, unittest.equals('foo'));
- checkUnnamed263(o.sourceReference);
+ checkUnnamed268(o.sourceReference);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals(42));
unittest.expect(o.taskName, unittest.equals('foo'));
@@ -801,27 +803,27 @@
buildCounterSourceReference--;
}
-buildUnnamed264() {
+buildUnnamed269() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed264(core.List<api.LogEntry> o) {
+checkUnnamed269(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
}
-buildUnnamed265() {
+buildUnnamed270() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed265(core.Map<core.String, core.String> o) {
+checkUnnamed270(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -832,8 +834,8 @@
var o = new api.WriteLogEntriesRequest();
buildCounterWriteLogEntriesRequest++;
if (buildCounterWriteLogEntriesRequest < 3) {
- o.entries = buildUnnamed264();
- o.labels = buildUnnamed265();
+ o.entries = buildUnnamed269();
+ o.labels = buildUnnamed270();
o.logName = "foo";
o.partialSuccess = true;
o.resource = buildMonitoredResource();
@@ -845,8 +847,8 @@
checkWriteLogEntriesRequest(api.WriteLogEntriesRequest o) {
buildCounterWriteLogEntriesRequest++;
if (buildCounterWriteLogEntriesRequest < 3) {
- checkUnnamed264(o.entries);
- checkUnnamed265(o.labels);
+ checkUnnamed269(o.entries);
+ checkUnnamed270(o.labels);
unittest.expect(o.logName, unittest.equals('foo'));
unittest.expect(o.partialSuccess, unittest.isTrue);
checkMonitoredResource(o.resource);
@@ -1122,8 +1124,8 @@
var mock = new HttpServerMock();
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;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1151,8 +1153,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1161,7 +1163,7 @@
var resp = convert.JSON.encode(buildListLogsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListLogsResponse response) {
+ res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListLogsResponse response) {
checkListLogsResponse(response);
})));
});
@@ -1316,8 +1318,8 @@
var mock = new HttpServerMock();
api.BillingAccountsSinksResourceApi res = new api.LoggingApi(mock).billingAccounts.sinks;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1345,8 +1347,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1355,11 +1357,62 @@
var resp = convert.JSON.encode(buildListSinksResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListSinksResponse response) {
+ res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListSinksResponse response) {
checkListSinksResponse(response);
})));
});
+ unittest.test("method--patch", () {
+
+ var mock = new HttpServerMock();
+ api.BillingAccountsSinksResourceApi res = new api.LoggingApi(mock).billingAccounts.sinks;
+ var arg_request = buildLogSink();
+ var arg_sinkName = "foo";
+ var arg_uniqueWriterIdentity = true;
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.LogSink.fromJson(json);
+ checkLogSink(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("v2/"));
+ 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["uniqueWriterIdentity"].first, unittest.equals("$arg_uniqueWriterIdentity"));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildLogSink());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.patch(arg_request, arg_sinkName, uniqueWriterIdentity: arg_uniqueWriterIdentity).then(unittest.expectAsync1(((api.LogSink response) {
+ checkLogSink(response);
+ })));
+ });
+
unittest.test("method--update", () {
var mock = new HttpServerMock();
@@ -1757,8 +1810,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;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1786,8 +1839,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1796,11 +1849,62 @@
var resp = convert.JSON.encode(buildListSinksResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListSinksResponse response) {
+ res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListSinksResponse response) {
checkListSinksResponse(response);
})));
});
+ unittest.test("method--patch", () {
+
+ var mock = new HttpServerMock();
+ api.FoldersSinksResourceApi res = new api.LoggingApi(mock).folders.sinks;
+ var arg_request = buildLogSink();
+ var arg_sinkName = "foo";
+ var arg_uniqueWriterIdentity = true;
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.LogSink.fromJson(json);
+ checkLogSink(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("v2/"));
+ 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["uniqueWriterIdentity"].first, unittest.equals("$arg_uniqueWriterIdentity"));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildLogSink());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.patch(arg_request, arg_sinkName, uniqueWriterIdentity: arg_uniqueWriterIdentity).then(unittest.expectAsync1(((api.LogSink response) {
+ checkLogSink(response);
+ })));
+ });
+
unittest.test("method--update", () {
var mock = new HttpServerMock();
@@ -1860,8 +1964,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;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1888,8 +1992,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1898,7 +2002,7 @@
var resp = convert.JSON.encode(buildListMonitoredResourceDescriptorsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListMonitoredResourceDescriptorsResponse response) {
+ res.list(pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListMonitoredResourceDescriptorsResponse response) {
checkListMonitoredResourceDescriptorsResponse(response);
})));
});
@@ -2195,6 +2299,57 @@
})));
});
+ unittest.test("method--patch", () {
+
+ var mock = new HttpServerMock();
+ api.OrganizationsSinksResourceApi res = new api.LoggingApi(mock).organizations.sinks;
+ var arg_request = buildLogSink();
+ var arg_sinkName = "foo";
+ var arg_uniqueWriterIdentity = true;
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.LogSink.fromJson(json);
+ checkLogSink(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("v2/"));
+ 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["uniqueWriterIdentity"].first, unittest.equals("$arg_uniqueWriterIdentity"));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildLogSink());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.patch(arg_request, arg_sinkName, uniqueWriterIdentity: arg_uniqueWriterIdentity).then(unittest.expectAsync1(((api.LogSink response) {
+ checkLogSink(response);
+ })));
+ });
+
unittest.test("method--update", () {
var mock = new HttpServerMock();
@@ -2492,8 +2647,8 @@
var mock = new HttpServerMock();
api.ProjectsMetricsResourceApi res = new api.LoggingApi(mock).projects.metrics;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2521,8 +2676,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -2531,7 +2686,7 @@
var resp = convert.JSON.encode(buildListLogMetricsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListLogMetricsResponse response) {
+ res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListLogMetricsResponse response) {
checkListLogMetricsResponse(response);
})));
});
@@ -2779,6 +2934,57 @@
})));
});
+ unittest.test("method--patch", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsSinksResourceApi res = new api.LoggingApi(mock).projects.sinks;
+ var arg_request = buildLogSink();
+ var arg_sinkName = "foo";
+ var arg_uniqueWriterIdentity = true;
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.LogSink.fromJson(json);
+ checkLogSink(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("v2/"));
+ 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["uniqueWriterIdentity"].first, unittest.equals("$arg_uniqueWriterIdentity"));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildLogSink());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.patch(arg_request, arg_sinkName, uniqueWriterIdentity: arg_uniqueWriterIdentity).then(unittest.expectAsync1(((api.LogSink response) {
+ checkLogSink(response);
+ })));
+ });
+
unittest.test("method--update", () {
var mock = new HttpServerMock();
diff --git a/generated/googleapis/test/manufacturers/v1_test.dart b/generated/googleapis/test/manufacturers/v1_test.dart
index b61de5b..f73a210 100644
--- a/generated/googleapis/test/manufacturers/v1_test.dart
+++ b/generated/googleapis/test/manufacturers/v1_test.dart
@@ -51,79 +51,79 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1587() {
+buildUnnamed1604() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed1587(core.List<api.Image> o) {
+checkUnnamed1604(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
}
-buildUnnamed1588() {
+buildUnnamed1605() {
var o = new core.List<api.FeatureDescription>();
o.add(buildFeatureDescription());
o.add(buildFeatureDescription());
return o;
}
-checkUnnamed1588(core.List<api.FeatureDescription> o) {
+checkUnnamed1605(core.List<api.FeatureDescription> o) {
unittest.expect(o, unittest.hasLength(2));
checkFeatureDescription(o[0]);
checkFeatureDescription(o[1]);
}
-buildUnnamed1589() {
+buildUnnamed1606() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1589(core.List<core.String> o) {
+checkUnnamed1606(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1590() {
+buildUnnamed1607() {
var o = new core.List<api.ProductDetail>();
o.add(buildProductDetail());
o.add(buildProductDetail());
return o;
}
-checkUnnamed1590(core.List<api.ProductDetail> o) {
+checkUnnamed1607(core.List<api.ProductDetail> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductDetail(o[0]);
checkProductDetail(o[1]);
}
-buildUnnamed1591() {
+buildUnnamed1608() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1591(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'));
}
-buildUnnamed1592() {
+buildUnnamed1609() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1592(core.List<core.String> o) {
+checkUnnamed1609(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -134,7 +134,7 @@
var o = new api.Attributes();
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- o.additionalImageLink = buildUnnamed1587();
+ o.additionalImageLink = buildUnnamed1604();
o.ageGroup = "foo";
o.brand = "foo";
o.capacity = buildCapacity();
@@ -142,30 +142,31 @@
o.count = buildCount();
o.description = "foo";
o.disclosureDate = "foo";
- o.featureDescription = buildUnnamed1588();
+ o.featureDescription = buildUnnamed1605();
o.flavor = "foo";
o.format = "foo";
o.gender = "foo";
- o.gtin = buildUnnamed1589();
+ o.gtin = buildUnnamed1606();
o.imageLink = buildImage();
o.itemGroupId = "foo";
o.material = "foo";
o.mpn = "foo";
o.pattern = "foo";
- o.productDetail = buildUnnamed1590();
+ o.productDetail = buildUnnamed1607();
o.productLine = "foo";
o.productName = "foo";
o.productPageUrl = "foo";
- o.productType = buildUnnamed1591();
+ o.productType = buildUnnamed1608();
o.releaseDate = "foo";
o.scent = "foo";
o.size = "foo";
o.sizeSystem = "foo";
o.sizeType = "foo";
o.suggestedRetailPrice = buildPrice();
+ o.targetAccountId = "foo";
o.theme = "foo";
o.title = "foo";
- o.videoLink = buildUnnamed1592();
+ o.videoLink = buildUnnamed1609();
}
buildCounterAttributes--;
return o;
@@ -174,7 +175,7 @@
checkAttributes(api.Attributes o) {
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- checkUnnamed1587(o.additionalImageLink);
+ checkUnnamed1604(o.additionalImageLink);
unittest.expect(o.ageGroup, unittest.equals('foo'));
unittest.expect(o.brand, unittest.equals('foo'));
checkCapacity(o.capacity);
@@ -182,30 +183,31 @@
checkCount(o.count);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.disclosureDate, unittest.equals('foo'));
- checkUnnamed1588(o.featureDescription);
+ checkUnnamed1605(o.featureDescription);
unittest.expect(o.flavor, unittest.equals('foo'));
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
- checkUnnamed1589(o.gtin);
+ checkUnnamed1606(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'));
- checkUnnamed1590(o.productDetail);
+ checkUnnamed1607(o.productDetail);
unittest.expect(o.productLine, unittest.equals('foo'));
unittest.expect(o.productName, unittest.equals('foo'));
unittest.expect(o.productPageUrl, unittest.equals('foo'));
- checkUnnamed1591(o.productType);
+ checkUnnamed1608(o.productType);
unittest.expect(o.releaseDate, unittest.equals('foo'));
unittest.expect(o.scent, unittest.equals('foo'));
unittest.expect(o.size, unittest.equals('foo'));
unittest.expect(o.sizeSystem, unittest.equals('foo'));
unittest.expect(o.sizeType, unittest.equals('foo'));
checkPrice(o.suggestedRetailPrice);
+ unittest.expect(o.targetAccountId, unittest.equals('foo'));
unittest.expect(o.theme, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1592(o.videoLink);
+ checkUnnamed1609(o.videoLink);
}
buildCounterAttributes--;
}
@@ -342,14 +344,14 @@
buildCounterIssue--;
}
-buildUnnamed1593() {
+buildUnnamed1610() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed1593(core.List<api.Product> o) {
+checkUnnamed1610(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -361,7 +363,7 @@
buildCounterListProductsResponse++;
if (buildCounterListProductsResponse < 3) {
o.nextPageToken = "foo";
- o.products = buildUnnamed1593();
+ o.products = buildUnnamed1610();
}
buildCounterListProductsResponse--;
return o;
@@ -371,7 +373,7 @@
buildCounterListProductsResponse++;
if (buildCounterListProductsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1593(o.products);
+ checkUnnamed1610(o.products);
}
buildCounterListProductsResponse--;
}
@@ -397,27 +399,27 @@
buildCounterPrice--;
}
-buildUnnamed1594() {
+buildUnnamed1611() {
var o = new core.List<api.Issue>();
o.add(buildIssue());
o.add(buildIssue());
return o;
}
-checkUnnamed1594(core.List<api.Issue> o) {
+checkUnnamed1611(core.List<api.Issue> o) {
unittest.expect(o, unittest.hasLength(2));
checkIssue(o[0]);
checkIssue(o[1]);
}
-buildUnnamed1595() {
+buildUnnamed1612() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1595(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'));
@@ -430,8 +432,8 @@
if (buildCounterProduct < 3) {
o.contentLanguage = "foo";
o.finalAttributes = buildAttributes();
- o.issues = buildUnnamed1594();
- o.manuallyDeletedAttributes = buildUnnamed1595();
+ o.issues = buildUnnamed1611();
+ o.manuallyDeletedAttributes = buildUnnamed1612();
o.manuallyProvidedAttributes = buildAttributes();
o.name = "foo";
o.parent = "foo";
@@ -448,8 +450,8 @@
if (buildCounterProduct < 3) {
unittest.expect(o.contentLanguage, unittest.equals('foo'));
checkAttributes(o.finalAttributes);
- checkUnnamed1594(o.issues);
- checkUnnamed1595(o.manuallyDeletedAttributes);
+ checkUnnamed1611(o.issues);
+ checkUnnamed1612(o.manuallyDeletedAttributes);
checkAttributes(o.manuallyProvidedAttributes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
@@ -682,8 +684,8 @@
var mock = new HttpServerMock();
api.AccountsProductsResourceApi res = new api.ManufacturersApi(mock).accounts.products;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -711,8 +713,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -721,7 +723,7 @@
var resp = convert.JSON.encode(buildListProductsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListProductsResponse response) {
+ res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListProductsResponse response) {
checkListProductsResponse(response);
})));
});
diff --git a/generated/googleapis/test/mirror/v1_test.dart b/generated/googleapis/test/mirror/v1_test.dart
index 36ed374..8490d9f 100644
--- a/generated/googleapis/test/mirror/v1_test.dart
+++ b/generated/googleapis/test/mirror/v1_test.dart
@@ -51,40 +51,40 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1480() {
+buildUnnamed1497() {
var o = new core.List<api.AuthToken>();
o.add(buildAuthToken());
o.add(buildAuthToken());
return o;
}
-checkUnnamed1480(core.List<api.AuthToken> o) {
+checkUnnamed1497(core.List<api.AuthToken> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthToken(o[0]);
checkAuthToken(o[1]);
}
-buildUnnamed1481() {
+buildUnnamed1498() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1481(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'));
}
-buildUnnamed1482() {
+buildUnnamed1499() {
var o = new core.List<api.UserData>();
o.add(buildUserData());
o.add(buildUserData());
return o;
}
-checkUnnamed1482(core.List<api.UserData> o) {
+checkUnnamed1499(core.List<api.UserData> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserData(o[0]);
checkUserData(o[1]);
@@ -95,10 +95,10 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.authTokens = buildUnnamed1480();
- o.features = buildUnnamed1481();
+ o.authTokens = buildUnnamed1497();
+ o.features = buildUnnamed1498();
o.password = "foo";
- o.userData = buildUnnamed1482();
+ o.userData = buildUnnamed1499();
}
buildCounterAccount--;
return o;
@@ -107,10 +107,10 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed1480(o.authTokens);
- checkUnnamed1481(o.features);
+ checkUnnamed1497(o.authTokens);
+ checkUnnamed1498(o.features);
unittest.expect(o.password, unittest.equals('foo'));
- checkUnnamed1482(o.userData);
+ checkUnnamed1499(o.userData);
}
buildCounterAccount--;
}
@@ -140,14 +140,14 @@
buildCounterAttachment--;
}
-buildUnnamed1483() {
+buildUnnamed1500() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed1483(core.List<api.Attachment> o) {
+checkUnnamed1500(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
@@ -158,7 +158,7 @@
var o = new api.AttachmentsListResponse();
buildCounterAttachmentsListResponse++;
if (buildCounterAttachmentsListResponse < 3) {
- o.items = buildUnnamed1483();
+ o.items = buildUnnamed1500();
o.kind = "foo";
}
buildCounterAttachmentsListResponse--;
@@ -168,7 +168,7 @@
checkAttachmentsListResponse(api.AttachmentsListResponse o) {
buildCounterAttachmentsListResponse++;
if (buildCounterAttachmentsListResponse < 3) {
- checkUnnamed1483(o.items);
+ checkUnnamed1500(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAttachmentsListResponse--;
@@ -214,53 +214,53 @@
buildCounterCommand--;
}
-buildUnnamed1484() {
+buildUnnamed1501() {
var o = new core.List<api.Command>();
o.add(buildCommand());
o.add(buildCommand());
return o;
}
-checkUnnamed1484(core.List<api.Command> o) {
+checkUnnamed1501(core.List<api.Command> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommand(o[0]);
checkCommand(o[1]);
}
-buildUnnamed1485() {
+buildUnnamed1502() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1485(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'));
}
-buildUnnamed1486() {
+buildUnnamed1503() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1486(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'));
}
-buildUnnamed1487() {
+buildUnnamed1504() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1487(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'));
@@ -271,15 +271,15 @@
var o = new api.Contact();
buildCounterContact++;
if (buildCounterContact < 3) {
- o.acceptCommands = buildUnnamed1484();
- o.acceptTypes = buildUnnamed1485();
+ o.acceptCommands = buildUnnamed1501();
+ o.acceptTypes = buildUnnamed1502();
o.displayName = "foo";
o.id = "foo";
- o.imageUrls = buildUnnamed1486();
+ o.imageUrls = buildUnnamed1503();
o.kind = "foo";
o.phoneNumber = "foo";
o.priority = 42;
- o.sharingFeatures = buildUnnamed1487();
+ o.sharingFeatures = buildUnnamed1504();
o.source = "foo";
o.speakableName = "foo";
o.type = "foo";
@@ -291,15 +291,15 @@
checkContact(api.Contact o) {
buildCounterContact++;
if (buildCounterContact < 3) {
- checkUnnamed1484(o.acceptCommands);
- checkUnnamed1485(o.acceptTypes);
+ checkUnnamed1501(o.acceptCommands);
+ checkUnnamed1502(o.acceptTypes);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1486(o.imageUrls);
+ checkUnnamed1503(o.imageUrls);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.phoneNumber, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
- checkUnnamed1487(o.sharingFeatures);
+ checkUnnamed1504(o.sharingFeatures);
unittest.expect(o.source, unittest.equals('foo'));
unittest.expect(o.speakableName, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -307,14 +307,14 @@
buildCounterContact--;
}
-buildUnnamed1488() {
+buildUnnamed1505() {
var o = new core.List<api.Contact>();
o.add(buildContact());
o.add(buildContact());
return o;
}
-checkUnnamed1488(core.List<api.Contact> o) {
+checkUnnamed1505(core.List<api.Contact> o) {
unittest.expect(o, unittest.hasLength(2));
checkContact(o[0]);
checkContact(o[1]);
@@ -325,7 +325,7 @@
var o = new api.ContactsListResponse();
buildCounterContactsListResponse++;
if (buildCounterContactsListResponse < 3) {
- o.items = buildUnnamed1488();
+ o.items = buildUnnamed1505();
o.kind = "foo";
}
buildCounterContactsListResponse--;
@@ -335,7 +335,7 @@
checkContactsListResponse(api.ContactsListResponse o) {
buildCounterContactsListResponse++;
if (buildCounterContactsListResponse < 3) {
- checkUnnamed1488(o.items);
+ checkUnnamed1505(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterContactsListResponse--;
@@ -374,14 +374,14 @@
buildCounterLocation--;
}
-buildUnnamed1489() {
+buildUnnamed1506() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed1489(core.List<api.Location> o) {
+checkUnnamed1506(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 = buildUnnamed1489();
+ o.items = buildUnnamed1506();
o.kind = "foo";
}
buildCounterLocationsListResponse--;
@@ -402,20 +402,20 @@
checkLocationsListResponse(api.LocationsListResponse o) {
buildCounterLocationsListResponse++;
if (buildCounterLocationsListResponse < 3) {
- checkUnnamed1489(o.items);
+ checkUnnamed1506(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterLocationsListResponse--;
}
-buildUnnamed1490() {
+buildUnnamed1507() {
var o = new core.List<api.MenuValue>();
o.add(buildMenuValue());
o.add(buildMenuValue());
return o;
}
-checkUnnamed1490(core.List<api.MenuValue> o) {
+checkUnnamed1507(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 = buildUnnamed1490();
+ o.values = buildUnnamed1507();
}
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);
- checkUnnamed1490(o.values);
+ checkUnnamed1507(o.values);
}
buildCounterMenuItem--;
}
@@ -473,14 +473,14 @@
buildCounterMenuValue--;
}
-buildUnnamed1491() {
+buildUnnamed1508() {
var o = new core.List<api.UserAction>();
o.add(buildUserAction());
o.add(buildUserAction());
return o;
}
-checkUnnamed1491(core.List<api.UserAction> o) {
+checkUnnamed1508(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 = buildUnnamed1491();
+ o.userActions = buildUnnamed1508();
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'));
- checkUnnamed1491(o.userActions);
+ checkUnnamed1508(o.userActions);
unittest.expect(o.userToken, unittest.equals('foo'));
unittest.expect(o.verifyToken, unittest.equals('foo'));
}
@@ -559,14 +559,14 @@
buildCounterSetting--;
}
-buildUnnamed1492() {
+buildUnnamed1509() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1492(core.List<core.String> o) {
+checkUnnamed1509(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -582,7 +582,7 @@
o.id = "foo";
o.kind = "foo";
o.notification = buildNotification();
- o.operation = buildUnnamed1492();
+ o.operation = buildUnnamed1509();
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
o.userToken = "foo";
o.verifyToken = "foo";
@@ -599,7 +599,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkNotification(o.notification);
- checkUnnamed1492(o.operation);
+ checkUnnamed1509(o.operation);
unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.userToken, unittest.equals('foo'));
unittest.expect(o.verifyToken, unittest.equals('foo'));
@@ -607,14 +607,14 @@
buildCounterSubscription--;
}
-buildUnnamed1493() {
+buildUnnamed1510() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed1493(core.List<api.Subscription> o) {
+checkUnnamed1510(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -625,7 +625,7 @@
var o = new api.SubscriptionsListResponse();
buildCounterSubscriptionsListResponse++;
if (buildCounterSubscriptionsListResponse < 3) {
- o.items = buildUnnamed1493();
+ o.items = buildUnnamed1510();
o.kind = "foo";
}
buildCounterSubscriptionsListResponse--;
@@ -635,46 +635,46 @@
checkSubscriptionsListResponse(api.SubscriptionsListResponse o) {
buildCounterSubscriptionsListResponse++;
if (buildCounterSubscriptionsListResponse < 3) {
- checkUnnamed1493(o.items);
+ checkUnnamed1510(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSubscriptionsListResponse--;
}
-buildUnnamed1494() {
+buildUnnamed1511() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed1494(core.List<api.Attachment> o) {
+checkUnnamed1511(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
}
-buildUnnamed1495() {
+buildUnnamed1512() {
var o = new core.List<api.MenuItem>();
o.add(buildMenuItem());
o.add(buildMenuItem());
return o;
}
-checkUnnamed1495(core.List<api.MenuItem> o) {
+checkUnnamed1512(core.List<api.MenuItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkMenuItem(o[0]);
checkMenuItem(o[1]);
}
-buildUnnamed1496() {
+buildUnnamed1513() {
var o = new core.List<api.Contact>();
o.add(buildContact());
o.add(buildContact());
return o;
}
-checkUnnamed1496(core.List<api.Contact> o) {
+checkUnnamed1513(core.List<api.Contact> o) {
unittest.expect(o, unittest.hasLength(2));
checkContact(o[0]);
checkContact(o[1]);
@@ -685,7 +685,7 @@
var o = new api.TimelineItem();
buildCounterTimelineItem++;
if (buildCounterTimelineItem < 3) {
- o.attachments = buildUnnamed1494();
+ o.attachments = buildUnnamed1511();
o.bundleId = "foo";
o.canonicalUrl = "foo";
o.created = core.DateTime.parse("2002-02-27T14:01:02");
@@ -700,10 +700,10 @@
o.isPinned = true;
o.kind = "foo";
o.location = buildLocation();
- o.menuItems = buildUnnamed1495();
+ o.menuItems = buildUnnamed1512();
o.notification = buildNotificationConfig();
o.pinScore = 42;
- o.recipients = buildUnnamed1496();
+ o.recipients = buildUnnamed1513();
o.selfLink = "foo";
o.sourceItemId = "foo";
o.speakableText = "foo";
@@ -719,7 +719,7 @@
checkTimelineItem(api.TimelineItem o) {
buildCounterTimelineItem++;
if (buildCounterTimelineItem < 3) {
- checkUnnamed1494(o.attachments);
+ checkUnnamed1511(o.attachments);
unittest.expect(o.bundleId, unittest.equals('foo'));
unittest.expect(o.canonicalUrl, unittest.equals('foo'));
unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -734,10 +734,10 @@
unittest.expect(o.isPinned, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
checkLocation(o.location);
- checkUnnamed1495(o.menuItems);
+ checkUnnamed1512(o.menuItems);
checkNotificationConfig(o.notification);
unittest.expect(o.pinScore, unittest.equals(42));
- checkUnnamed1496(o.recipients);
+ checkUnnamed1513(o.recipients);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.sourceItemId, unittest.equals('foo'));
unittest.expect(o.speakableText, unittest.equals('foo'));
@@ -749,14 +749,14 @@
buildCounterTimelineItem--;
}
-buildUnnamed1497() {
+buildUnnamed1514() {
var o = new core.List<api.TimelineItem>();
o.add(buildTimelineItem());
o.add(buildTimelineItem());
return o;
}
-checkUnnamed1497(core.List<api.TimelineItem> o) {
+checkUnnamed1514(core.List<api.TimelineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimelineItem(o[0]);
checkTimelineItem(o[1]);
@@ -767,7 +767,7 @@
var o = new api.TimelineListResponse();
buildCounterTimelineListResponse++;
if (buildCounterTimelineListResponse < 3) {
- o.items = buildUnnamed1497();
+ o.items = buildUnnamed1514();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -778,7 +778,7 @@
checkTimelineListResponse(api.TimelineListResponse o) {
buildCounterTimelineListResponse++;
if (buildCounterTimelineListResponse < 3) {
- checkUnnamed1497(o.items);
+ checkUnnamed1514(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 5b3aa22..af03412 100644
--- a/generated/googleapis/test/ml/v1_test.dart
+++ b/generated/googleapis/test/ml/v1_test.dart
@@ -592,6 +592,7 @@
var o = new api.GoogleCloudMlV1PredictionInput();
buildCounterGoogleCloudMlV1PredictionInput++;
if (buildCounterGoogleCloudMlV1PredictionInput < 3) {
+ o.batchSize = "foo";
o.dataFormat = "foo";
o.inputPaths = buildUnnamed11();
o.maxWorkerCount = "foo";
@@ -609,6 +610,7 @@
checkGoogleCloudMlV1PredictionInput(api.GoogleCloudMlV1PredictionInput o) {
buildCounterGoogleCloudMlV1PredictionInput++;
if (buildCounterGoogleCloudMlV1PredictionInput < 3) {
+ unittest.expect(o.batchSize, unittest.equals('foo'));
unittest.expect(o.dataFormat, unittest.equals('foo'));
checkUnnamed11(o.inputPaths);
unittest.expect(o.maxWorkerCount, unittest.equals('foo'));
@@ -963,6 +965,7 @@
var o = new api.GoogleIamV1LogConfigDataAccessOptions();
buildCounterGoogleIamV1LogConfigDataAccessOptions++;
if (buildCounterGoogleIamV1LogConfigDataAccessOptions < 3) {
+ o.logMode = "foo";
}
buildCounterGoogleIamV1LogConfigDataAccessOptions--;
return o;
@@ -971,6 +974,7 @@
checkGoogleIamV1LogConfigDataAccessOptions(api.GoogleIamV1LogConfigDataAccessOptions o) {
buildCounterGoogleIamV1LogConfigDataAccessOptions++;
if (buildCounterGoogleIamV1LogConfigDataAccessOptions < 3) {
+ unittest.expect(o.logMode, unittest.equals('foo'));
}
buildCounterGoogleIamV1LogConfigDataAccessOptions--;
}
@@ -2226,6 +2230,51 @@
})));
});
+ unittest.test("method--getIamPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsJobsResourceApi res = new api.MlApi(mock).projects.jobs;
+ var arg_resource = "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]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildGoogleIamV1Policy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.getIamPolicy(arg_resource).then(unittest.expectAsync1(((api.GoogleIamV1Policy response) {
+ checkGoogleIamV1Policy(response);
+ })));
+ });
+
unittest.test("method--list", () {
var mock = new HttpServerMock();
@@ -2277,6 +2326,104 @@
})));
});
+ unittest.test("method--setIamPolicy", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsJobsResourceApi res = new api.MlApi(mock).projects.jobs;
+ var arg_request = buildGoogleIamV1SetIamPolicyRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.GoogleIamV1SetIamPolicyRequest.fromJson(json);
+ checkGoogleIamV1SetIamPolicyRequest(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]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildGoogleIamV1Policy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.setIamPolicy(arg_request, arg_resource).then(unittest.expectAsync1(((api.GoogleIamV1Policy response) {
+ checkGoogleIamV1Policy(response);
+ })));
+ });
+
+ unittest.test("method--testIamPermissions", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsJobsResourceApi res = new api.MlApi(mock).projects.jobs;
+ var arg_request = buildGoogleIamV1TestIamPermissionsRequest();
+ var arg_resource = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.GoogleIamV1TestIamPermissionsRequest.fromJson(json);
+ checkGoogleIamV1TestIamPermissionsRequest(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]));
+ }
+ }
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildGoogleIamV1TestIamPermissionsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.testIamPermissions(arg_request, arg_resource).then(unittest.expectAsync1(((api.GoogleIamV1TestIamPermissionsResponse response) {
+ checkGoogleIamV1TestIamPermissionsResponse(response);
+ })));
+ });
+
});
@@ -2997,9 +3144,9 @@
var mock = new HttpServerMock();
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";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3027,9 +3174,9 @@
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["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -3038,7 +3185,7 @@
var resp = convert.JSON.encode(buildGoogleLongrunningListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.GoogleLongrunningListOperationsResponse response) {
+ res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.GoogleLongrunningListOperationsResponse response) {
checkGoogleLongrunningListOperationsResponse(response);
})));
});
diff --git a/generated/googleapis/test/oauth2/v2_test.dart b/generated/googleapis/test/oauth2/v2_test.dart
index def8db1..b742b10 100644
--- a/generated/googleapis/test/oauth2/v2_test.dart
+++ b/generated/googleapis/test/oauth2/v2_test.dart
@@ -80,14 +80,14 @@
buildCounterJwkKeys--;
}
-buildUnnamed2495() {
+buildUnnamed2516() {
var o = new core.List<api.JwkKeys>();
o.add(buildJwkKeys());
o.add(buildJwkKeys());
return o;
}
-checkUnnamed2495(core.List<api.JwkKeys> o) {
+checkUnnamed2516(core.List<api.JwkKeys> o) {
unittest.expect(o, unittest.hasLength(2));
checkJwkKeys(o[0]);
checkJwkKeys(o[1]);
@@ -98,7 +98,7 @@
var o = new api.Jwk();
buildCounterJwk++;
if (buildCounterJwk < 3) {
- o.keys = buildUnnamed2495();
+ o.keys = buildUnnamed2516();
}
buildCounterJwk--;
return o;
@@ -107,7 +107,7 @@
checkJwk(api.Jwk o) {
buildCounterJwk++;
if (buildCounterJwk < 3) {
- checkUnnamed2495(o.keys);
+ checkUnnamed2516(o.keys);
}
buildCounterJwk--;
}
diff --git a/generated/googleapis/test/plus/v1_test.dart b/generated/googleapis/test/plus/v1_test.dart
index 8cad141..464a2ee 100644
--- a/generated/googleapis/test/plus/v1_test.dart
+++ b/generated/googleapis/test/plus/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed150() {
+buildUnnamed155() {
var o = new core.List<api.PlusAclentryResource>();
o.add(buildPlusAclentryResource());
o.add(buildPlusAclentryResource());
return o;
}
-checkUnnamed150(core.List<api.PlusAclentryResource> o) {
+checkUnnamed155(core.List<api.PlusAclentryResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlusAclentryResource(o[0]);
checkPlusAclentryResource(o[1]);
@@ -70,7 +70,7 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
o.description = "foo";
- o.items = buildUnnamed150();
+ o.items = buildUnnamed155();
o.kind = "foo";
}
buildCounterAcl--;
@@ -81,7 +81,7 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed150(o.items);
+ checkUnnamed155(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAcl--;
@@ -439,14 +439,14 @@
buildCounterActivityObjectAttachmentsThumbnails--;
}
-buildUnnamed151() {
+buildUnnamed156() {
var o = new core.List<api.ActivityObjectAttachmentsThumbnails>();
o.add(buildActivityObjectAttachmentsThumbnails());
o.add(buildActivityObjectAttachmentsThumbnails());
return o;
}
-checkUnnamed151(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
+checkUnnamed156(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachmentsThumbnails(o[0]);
checkActivityObjectAttachmentsThumbnails(o[1]);
@@ -464,7 +464,7 @@
o.id = "foo";
o.image = buildActivityObjectAttachmentsImage();
o.objectType = "foo";
- o.thumbnails = buildUnnamed151();
+ o.thumbnails = buildUnnamed156();
o.url = "foo";
}
buildCounterActivityObjectAttachments--;
@@ -481,20 +481,20 @@
unittest.expect(o.id, unittest.equals('foo'));
checkActivityObjectAttachmentsImage(o.image);
unittest.expect(o.objectType, unittest.equals('foo'));
- checkUnnamed151(o.thumbnails);
+ checkUnnamed156(o.thumbnails);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterActivityObjectAttachments--;
}
-buildUnnamed152() {
+buildUnnamed157() {
var o = new core.List<api.ActivityObjectAttachments>();
o.add(buildActivityObjectAttachments());
o.add(buildActivityObjectAttachments());
return o;
}
-checkUnnamed152(core.List<api.ActivityObjectAttachments> o) {
+checkUnnamed157(core.List<api.ActivityObjectAttachments> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachments(o[0]);
checkActivityObjectAttachments(o[1]);
@@ -569,7 +569,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
o.actor = buildActivityObjectActor();
- o.attachments = buildUnnamed152();
+ o.attachments = buildUnnamed157();
o.content = "foo";
o.id = "foo";
o.objectType = "foo";
@@ -587,7 +587,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
checkActivityObjectActor(o.actor);
- checkUnnamed152(o.attachments);
+ checkUnnamed157(o.attachments);
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
@@ -676,14 +676,14 @@
buildCounterActivity--;
}
-buildUnnamed153() {
+buildUnnamed158() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed153(core.List<api.Activity> o) {
+checkUnnamed158(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -696,7 +696,7 @@
if (buildCounterActivityFeed < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed153();
+ o.items = buildUnnamed158();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -713,7 +713,7 @@
if (buildCounterActivityFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed153(o.items);
+ checkUnnamed158(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -850,14 +850,14 @@
buildCounterCommentInReplyTo--;
}
-buildUnnamed154() {
+buildUnnamed159() {
var o = new core.List<api.CommentInReplyTo>();
o.add(buildCommentInReplyTo());
o.add(buildCommentInReplyTo());
return o;
}
-checkUnnamed154(core.List<api.CommentInReplyTo> o) {
+checkUnnamed159(core.List<api.CommentInReplyTo> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentInReplyTo(o[0]);
checkCommentInReplyTo(o[1]);
@@ -913,7 +913,7 @@
o.actor = buildCommentActor();
o.etag = "foo";
o.id = "foo";
- o.inReplyTo = buildUnnamed154();
+ o.inReplyTo = buildUnnamed159();
o.kind = "foo";
o.object = buildCommentObject();
o.plusoners = buildCommentPlusoners();
@@ -932,7 +932,7 @@
checkCommentActor(o.actor);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed154(o.inReplyTo);
+ checkUnnamed159(o.inReplyTo);
unittest.expect(o.kind, unittest.equals('foo'));
checkCommentObject(o.object);
checkCommentPlusoners(o.plusoners);
@@ -944,14 +944,14 @@
buildCounterComment--;
}
-buildUnnamed155() {
+buildUnnamed160() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed155(core.List<api.Comment> o) {
+checkUnnamed160(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -964,7 +964,7 @@
if (buildCounterCommentFeed < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed155();
+ o.items = buildUnnamed160();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -980,7 +980,7 @@
if (buildCounterCommentFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed155(o.items);
+ checkUnnamed160(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -990,14 +990,14 @@
buildCounterCommentFeed--;
}
-buildUnnamed156() {
+buildUnnamed161() {
var o = new core.List<api.Person>();
o.add(buildPerson());
o.add(buildPerson());
return o;
}
-checkUnnamed156(core.List<api.Person> o) {
+checkUnnamed161(core.List<api.Person> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerson(o[0]);
checkPerson(o[1]);
@@ -1009,7 +1009,7 @@
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
o.etag = "foo";
- o.items = buildUnnamed156();
+ o.items = buildUnnamed161();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1024,7 +1024,7 @@
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed156(o.items);
+ checkUnnamed161(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1143,14 +1143,14 @@
buildCounterPersonEmails--;
}
-buildUnnamed157() {
+buildUnnamed162() {
var o = new core.List<api.PersonEmails>();
o.add(buildPersonEmails());
o.add(buildPersonEmails());
return o;
}
-checkUnnamed157(core.List<api.PersonEmails> o) {
+checkUnnamed162(core.List<api.PersonEmails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonEmails(o[0]);
checkPersonEmails(o[1]);
@@ -1241,14 +1241,14 @@
buildCounterPersonOrganizations--;
}
-buildUnnamed158() {
+buildUnnamed163() {
var o = new core.List<api.PersonOrganizations>();
o.add(buildPersonOrganizations());
o.add(buildPersonOrganizations());
return o;
}
-checkUnnamed158(core.List<api.PersonOrganizations> o) {
+checkUnnamed163(core.List<api.PersonOrganizations> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonOrganizations(o[0]);
checkPersonOrganizations(o[1]);
@@ -1275,14 +1275,14 @@
buildCounterPersonPlacesLived--;
}
-buildUnnamed159() {
+buildUnnamed164() {
var o = new core.List<api.PersonPlacesLived>();
o.add(buildPersonPlacesLived());
o.add(buildPersonPlacesLived());
return o;
}
-checkUnnamed159(core.List<api.PersonPlacesLived> o) {
+checkUnnamed164(core.List<api.PersonPlacesLived> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonPlacesLived(o[0]);
checkPersonPlacesLived(o[1]);
@@ -1311,14 +1311,14 @@
buildCounterPersonUrls--;
}
-buildUnnamed160() {
+buildUnnamed165() {
var o = new core.List<api.PersonUrls>();
o.add(buildPersonUrls());
o.add(buildPersonUrls());
return o;
}
-checkUnnamed160(core.List<api.PersonUrls> o) {
+checkUnnamed165(core.List<api.PersonUrls> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonUrls(o[0]);
checkPersonUrls(o[1]);
@@ -1338,7 +1338,7 @@
o.currentLocation = "foo";
o.displayName = "foo";
o.domain = "foo";
- o.emails = buildUnnamed157();
+ o.emails = buildUnnamed162();
o.etag = "foo";
o.gender = "foo";
o.id = "foo";
@@ -1350,14 +1350,14 @@
o.nickname = "foo";
o.objectType = "foo";
o.occupation = "foo";
- o.organizations = buildUnnamed158();
- o.placesLived = buildUnnamed159();
+ o.organizations = buildUnnamed163();
+ o.placesLived = buildUnnamed164();
o.plusOneCount = 42;
o.relationshipStatus = "foo";
o.skills = "foo";
o.tagline = "foo";
o.url = "foo";
- o.urls = buildUnnamed160();
+ o.urls = buildUnnamed165();
o.verified = true;
}
buildCounterPerson--;
@@ -1376,7 +1376,7 @@
unittest.expect(o.currentLocation, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.domain, unittest.equals('foo'));
- checkUnnamed157(o.emails);
+ checkUnnamed162(o.emails);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -1388,14 +1388,14 @@
unittest.expect(o.nickname, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
unittest.expect(o.occupation, unittest.equals('foo'));
- checkUnnamed158(o.organizations);
- checkUnnamed159(o.placesLived);
+ checkUnnamed163(o.organizations);
+ checkUnnamed164(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'));
- checkUnnamed160(o.urls);
+ checkUnnamed165(o.urls);
unittest.expect(o.verified, unittest.isTrue);
}
buildCounterPerson--;
diff --git a/generated/googleapis/test/prediction/v1_6_test.dart b/generated/googleapis/test/prediction/v1_6_test.dart
index 7772f2b..19e869d 100644
--- a/generated/googleapis/test/prediction/v1_6_test.dart
+++ b/generated/googleapis/test/prediction/v1_6_test.dart
@@ -72,14 +72,14 @@
buildCounterAnalyzeDataDescriptionFeaturesCategoricalValues--;
}
-buildUnnamed1868() {
+buildUnnamed1886() {
var o = new core.List<api.AnalyzeDataDescriptionFeaturesCategoricalValues>();
o.add(buildAnalyzeDataDescriptionFeaturesCategoricalValues());
o.add(buildAnalyzeDataDescriptionFeaturesCategoricalValues());
return o;
}
-checkUnnamed1868(core.List<api.AnalyzeDataDescriptionFeaturesCategoricalValues> o) {
+checkUnnamed1886(core.List<api.AnalyzeDataDescriptionFeaturesCategoricalValues> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnalyzeDataDescriptionFeaturesCategoricalValues(o[0]);
checkAnalyzeDataDescriptionFeaturesCategoricalValues(o[1]);
@@ -91,7 +91,7 @@
buildCounterAnalyzeDataDescriptionFeaturesCategorical++;
if (buildCounterAnalyzeDataDescriptionFeaturesCategorical < 3) {
o.count = "foo";
- o.values = buildUnnamed1868();
+ o.values = buildUnnamed1886();
}
buildCounterAnalyzeDataDescriptionFeaturesCategorical--;
return o;
@@ -101,7 +101,7 @@
buildCounterAnalyzeDataDescriptionFeaturesCategorical++;
if (buildCounterAnalyzeDataDescriptionFeaturesCategorical < 3) {
unittest.expect(o.count, unittest.equals('foo'));
- checkUnnamed1868(o.values);
+ checkUnnamed1886(o.values);
}
buildCounterAnalyzeDataDescriptionFeaturesCategorical--;
}
@@ -173,14 +173,14 @@
buildCounterAnalyzeDataDescriptionFeatures--;
}
-buildUnnamed1869() {
+buildUnnamed1887() {
var o = new core.List<api.AnalyzeDataDescriptionFeatures>();
o.add(buildAnalyzeDataDescriptionFeatures());
o.add(buildAnalyzeDataDescriptionFeatures());
return o;
}
-checkUnnamed1869(core.List<api.AnalyzeDataDescriptionFeatures> o) {
+checkUnnamed1887(core.List<api.AnalyzeDataDescriptionFeatures> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnalyzeDataDescriptionFeatures(o[0]);
checkAnalyzeDataDescriptionFeatures(o[1]);
@@ -230,14 +230,14 @@
buildCounterAnalyzeDataDescriptionOutputFeatureText--;
}
-buildUnnamed1870() {
+buildUnnamed1888() {
var o = new core.List<api.AnalyzeDataDescriptionOutputFeatureText>();
o.add(buildAnalyzeDataDescriptionOutputFeatureText());
o.add(buildAnalyzeDataDescriptionOutputFeatureText());
return o;
}
-checkUnnamed1870(core.List<api.AnalyzeDataDescriptionOutputFeatureText> o) {
+checkUnnamed1888(core.List<api.AnalyzeDataDescriptionOutputFeatureText> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnalyzeDataDescriptionOutputFeatureText(o[0]);
checkAnalyzeDataDescriptionOutputFeatureText(o[1]);
@@ -249,7 +249,7 @@
buildCounterAnalyzeDataDescriptionOutputFeature++;
if (buildCounterAnalyzeDataDescriptionOutputFeature < 3) {
o.numeric = buildAnalyzeDataDescriptionOutputFeatureNumeric();
- o.text = buildUnnamed1870();
+ o.text = buildUnnamed1888();
}
buildCounterAnalyzeDataDescriptionOutputFeature--;
return o;
@@ -259,7 +259,7 @@
buildCounterAnalyzeDataDescriptionOutputFeature++;
if (buildCounterAnalyzeDataDescriptionOutputFeature < 3) {
checkAnalyzeDataDescriptionOutputFeatureNumeric(o.numeric);
- checkUnnamed1870(o.text);
+ checkUnnamed1888(o.text);
}
buildCounterAnalyzeDataDescriptionOutputFeature--;
}
@@ -269,7 +269,7 @@
var o = new api.AnalyzeDataDescription();
buildCounterAnalyzeDataDescription++;
if (buildCounterAnalyzeDataDescription < 3) {
- o.features = buildUnnamed1869();
+ o.features = buildUnnamed1887();
o.outputFeature = buildAnalyzeDataDescriptionOutputFeature();
}
buildCounterAnalyzeDataDescription--;
@@ -279,72 +279,72 @@
checkAnalyzeDataDescription(api.AnalyzeDataDescription o) {
buildCounterAnalyzeDataDescription++;
if (buildCounterAnalyzeDataDescription < 3) {
- checkUnnamed1869(o.features);
+ checkUnnamed1887(o.features);
checkAnalyzeDataDescriptionOutputFeature(o.outputFeature);
}
buildCounterAnalyzeDataDescription--;
}
-buildUnnamed1871() {
+buildUnnamed1889() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1871(core.Map<core.String, core.String> o) {
+checkUnnamed1889(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1872() {
+buildUnnamed1890() {
var o = new core.List<core.Map<core.String, core.String>>();
- o.add(buildUnnamed1871());
- o.add(buildUnnamed1871());
+ o.add(buildUnnamed1889());
+ o.add(buildUnnamed1889());
return o;
}
-checkUnnamed1872(core.List<core.Map<core.String, core.String>> o) {
+checkUnnamed1890(core.List<core.Map<core.String, core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1871(o[0]);
- checkUnnamed1871(o[1]);
+ checkUnnamed1889(o[0]);
+ checkUnnamed1889(o[1]);
}
-buildUnnamed1873() {
+buildUnnamed1891() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1873(core.Map<core.String, core.String> o) {
+checkUnnamed1891(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1874() {
+buildUnnamed1892() {
var o = new core.Map<core.String, core.Map<core.String, core.String>>();
- o["x"] = buildUnnamed1873();
- o["y"] = buildUnnamed1873();
+ o["x"] = buildUnnamed1891();
+ o["y"] = buildUnnamed1891();
return o;
}
-checkUnnamed1874(core.Map<core.String, core.Map<core.String, core.String>> o) {
+checkUnnamed1892(core.Map<core.String, core.Map<core.String, core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1873(o["x"]);
- checkUnnamed1873(o["y"]);
+ checkUnnamed1891(o["x"]);
+ checkUnnamed1891(o["y"]);
}
-buildUnnamed1875() {
+buildUnnamed1893() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1875(core.Map<core.String, core.String> o) {
+checkUnnamed1893(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -355,8 +355,8 @@
var o = new api.AnalyzeModelDescription();
buildCounterAnalyzeModelDescription++;
if (buildCounterAnalyzeModelDescription < 3) {
- o.confusionMatrix = buildUnnamed1874();
- o.confusionMatrixRowTotals = buildUnnamed1875();
+ o.confusionMatrix = buildUnnamed1892();
+ o.confusionMatrixRowTotals = buildUnnamed1893();
o.modelinfo = buildInsert2();
}
buildCounterAnalyzeModelDescription--;
@@ -366,8 +366,8 @@
checkAnalyzeModelDescription(api.AnalyzeModelDescription o) {
buildCounterAnalyzeModelDescription++;
if (buildCounterAnalyzeModelDescription < 3) {
- checkUnnamed1874(o.confusionMatrix);
- checkUnnamed1875(o.confusionMatrixRowTotals);
+ checkUnnamed1892(o.confusionMatrix);
+ checkUnnamed1893(o.confusionMatrixRowTotals);
checkInsert2(o.modelinfo);
}
buildCounterAnalyzeModelDescription--;
@@ -379,7 +379,7 @@
buildCounterAnalyze++;
if (buildCounterAnalyze < 3) {
o.dataDescription = buildAnalyzeDataDescription();
- o.errors = buildUnnamed1872();
+ o.errors = buildUnnamed1890();
o.id = "foo";
o.kind = "foo";
o.modelDescription = buildAnalyzeModelDescription();
@@ -393,7 +393,7 @@
buildCounterAnalyze++;
if (buildCounterAnalyze < 3) {
checkAnalyzeDataDescription(o.dataDescription);
- checkUnnamed1872(o.errors);
+ checkUnnamed1890(o.errors);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkAnalyzeModelDescription(o.modelDescription);
@@ -402,14 +402,14 @@
buildCounterAnalyze--;
}
-buildUnnamed1876() {
+buildUnnamed1894() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1876(core.List<core.Object> o) {
+checkUnnamed1894(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
@@ -420,7 +420,7 @@
var o = new api.InputInput();
buildCounterInputInput++;
if (buildCounterInputInput < 3) {
- o.csvInstance = buildUnnamed1876();
+ o.csvInstance = buildUnnamed1894();
}
buildCounterInputInput--;
return o;
@@ -429,7 +429,7 @@
checkInputInput(api.InputInput o) {
buildCounterInputInput++;
if (buildCounterInputInput < 3) {
- checkUnnamed1876(o.csvInstance);
+ checkUnnamed1894(o.csvInstance);
}
buildCounterInputInput--;
}
@@ -453,14 +453,14 @@
buildCounterInput--;
}
-buildUnnamed1877() {
+buildUnnamed1895() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1877(core.List<core.Object> o) {
+checkUnnamed1895(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo'));
var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
@@ -471,7 +471,7 @@
var o = new api.InsertTrainingInstances();
buildCounterInsertTrainingInstances++;
if (buildCounterInsertTrainingInstances < 3) {
- o.csvInstance = buildUnnamed1877();
+ o.csvInstance = buildUnnamed1895();
o.output = "foo";
}
buildCounterInsertTrainingInstances--;
@@ -481,49 +481,49 @@
checkInsertTrainingInstances(api.InsertTrainingInstances o) {
buildCounterInsertTrainingInstances++;
if (buildCounterInsertTrainingInstances < 3) {
- checkUnnamed1877(o.csvInstance);
+ checkUnnamed1895(o.csvInstance);
unittest.expect(o.output, unittest.equals('foo'));
}
buildCounterInsertTrainingInstances--;
}
-buildUnnamed1878() {
+buildUnnamed1896() {
var o = new core.List<api.InsertTrainingInstances>();
o.add(buildInsertTrainingInstances());
o.add(buildInsertTrainingInstances());
return o;
}
-checkUnnamed1878(core.List<api.InsertTrainingInstances> o) {
+checkUnnamed1896(core.List<api.InsertTrainingInstances> o) {
unittest.expect(o, unittest.hasLength(2));
checkInsertTrainingInstances(o[0]);
checkInsertTrainingInstances(o[1]);
}
-buildUnnamed1879() {
+buildUnnamed1897() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed1879(core.Map<core.String, core.double> o) {
+checkUnnamed1897(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));
}
-buildUnnamed1880() {
+buildUnnamed1898() {
var o = new core.List<core.Map<core.String, core.double>>();
- o.add(buildUnnamed1879());
- o.add(buildUnnamed1879());
+ o.add(buildUnnamed1897());
+ o.add(buildUnnamed1897());
return o;
}
-checkUnnamed1880(core.List<core.Map<core.String, core.double>> o) {
+checkUnnamed1898(core.List<core.Map<core.String, core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1879(o[0]);
- checkUnnamed1879(o[1]);
+ checkUnnamed1897(o[0]);
+ checkUnnamed1897(o[1]);
}
core.int buildCounterInsert = 0;
@@ -537,8 +537,8 @@
o.storageDataLocation = "foo";
o.storagePMMLLocation = "foo";
o.storagePMMLModelLocation = "foo";
- o.trainingInstances = buildUnnamed1878();
- o.utility = buildUnnamed1880();
+ o.trainingInstances = buildUnnamed1896();
+ o.utility = buildUnnamed1898();
}
buildCounterInsert--;
return o;
@@ -553,8 +553,8 @@
unittest.expect(o.storageDataLocation, unittest.equals('foo'));
unittest.expect(o.storagePMMLLocation, unittest.equals('foo'));
unittest.expect(o.storagePMMLModelLocation, unittest.equals('foo'));
- checkUnnamed1878(o.trainingInstances);
- checkUnnamed1880(o.utility);
+ checkUnnamed1896(o.trainingInstances);
+ checkUnnamed1898(o.utility);
}
buildCounterInsert--;
}
@@ -627,14 +627,14 @@
buildCounterInsert2--;
}
-buildUnnamed1881() {
+buildUnnamed1899() {
var o = new core.List<api.Insert2>();
o.add(buildInsert2());
o.add(buildInsert2());
return o;
}
-checkUnnamed1881(core.List<api.Insert2> o) {
+checkUnnamed1899(core.List<api.Insert2> o) {
unittest.expect(o, unittest.hasLength(2));
checkInsert2(o[0]);
checkInsert2(o[1]);
@@ -645,7 +645,7 @@
var o = new api.List();
buildCounterList++;
if (buildCounterList < 3) {
- o.items = buildUnnamed1881();
+ o.items = buildUnnamed1899();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -657,7 +657,7 @@
checkList(api.List o) {
buildCounterList++;
if (buildCounterList < 3) {
- checkUnnamed1881(o.items);
+ checkUnnamed1899(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -686,14 +686,14 @@
buildCounterOutputOutputMulti--;
}
-buildUnnamed1882() {
+buildUnnamed1900() {
var o = new core.List<api.OutputOutputMulti>();
o.add(buildOutputOutputMulti());
o.add(buildOutputOutputMulti());
return o;
}
-checkUnnamed1882(core.List<api.OutputOutputMulti> o) {
+checkUnnamed1900(core.List<api.OutputOutputMulti> o) {
unittest.expect(o, unittest.hasLength(2));
checkOutputOutputMulti(o[0]);
checkOutputOutputMulti(o[1]);
@@ -707,7 +707,7 @@
o.id = "foo";
o.kind = "foo";
o.outputLabel = "foo";
- o.outputMulti = buildUnnamed1882();
+ o.outputMulti = buildUnnamed1900();
o.outputValue = "foo";
o.selfLink = "foo";
}
@@ -721,21 +721,21 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.outputLabel, unittest.equals('foo'));
- checkUnnamed1882(o.outputMulti);
+ checkUnnamed1900(o.outputMulti);
unittest.expect(o.outputValue, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterOutput--;
}
-buildUnnamed1883() {
+buildUnnamed1901() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed1883(core.List<core.Object> o) {
+checkUnnamed1901(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo'));
var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo'));
@@ -746,7 +746,7 @@
var o = new api.Update();
buildCounterUpdate++;
if (buildCounterUpdate < 3) {
- o.csvInstance = buildUnnamed1883();
+ o.csvInstance = buildUnnamed1901();
o.output = "foo";
}
buildCounterUpdate--;
@@ -756,7 +756,7 @@
checkUpdate(api.Update o) {
buildCounterUpdate++;
if (buildCounterUpdate < 3) {
- checkUnnamed1883(o.csvInstance);
+ checkUnnamed1901(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 441a71a..f49da32 100644
--- a/generated/googleapis/test/pubsub/v1_test.dart
+++ b/generated/googleapis/test/pubsub/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1256() {
+buildUnnamed1273() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1256(core.List<core.String> o) {
+checkUnnamed1273(core.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 @@
var o = new api.AcknowledgeRequest();
buildCounterAcknowledgeRequest++;
if (buildCounterAcknowledgeRequest < 3) {
- o.ackIds = buildUnnamed1256();
+ o.ackIds = buildUnnamed1273();
}
buildCounterAcknowledgeRequest--;
return o;
@@ -78,19 +78,19 @@
checkAcknowledgeRequest(api.AcknowledgeRequest o) {
buildCounterAcknowledgeRequest++;
if (buildCounterAcknowledgeRequest < 3) {
- checkUnnamed1256(o.ackIds);
+ checkUnnamed1273(o.ackIds);
}
buildCounterAcknowledgeRequest--;
}
-buildUnnamed1257() {
+buildUnnamed1274() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1257(core.List<core.String> o) {
+checkUnnamed1274(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -101,7 +101,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1257();
+ o.members = buildUnnamed1274();
o.role = "foo";
}
buildCounterBinding--;
@@ -111,7 +111,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1257(o.members);
+ checkUnnamed1274(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -134,14 +134,14 @@
buildCounterEmpty--;
}
-buildUnnamed1258() {
+buildUnnamed1275() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed1258(core.List<api.Subscription> o) {
+checkUnnamed1275(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -153,7 +153,7 @@
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed1258();
+ o.subscriptions = buildUnnamed1275();
}
buildCounterListSubscriptionsResponse--;
return o;
@@ -163,19 +163,19 @@
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1258(o.subscriptions);
+ checkUnnamed1275(o.subscriptions);
}
buildCounterListSubscriptionsResponse--;
}
-buildUnnamed1259() {
+buildUnnamed1276() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1259(core.List<core.String> o) {
+checkUnnamed1276(core.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,7 +187,7 @@
buildCounterListTopicSubscriptionsResponse++;
if (buildCounterListTopicSubscriptionsResponse < 3) {
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed1259();
+ o.subscriptions = buildUnnamed1276();
}
buildCounterListTopicSubscriptionsResponse--;
return o;
@@ -197,19 +197,19 @@
buildCounterListTopicSubscriptionsResponse++;
if (buildCounterListTopicSubscriptionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1259(o.subscriptions);
+ checkUnnamed1276(o.subscriptions);
}
buildCounterListTopicSubscriptionsResponse--;
}
-buildUnnamed1260() {
+buildUnnamed1277() {
var o = new core.List<api.Topic>();
o.add(buildTopic());
o.add(buildTopic());
return o;
}
-checkUnnamed1260(core.List<api.Topic> o) {
+checkUnnamed1277(core.List<api.Topic> o) {
unittest.expect(o, unittest.hasLength(2));
checkTopic(o[0]);
checkTopic(o[1]);
@@ -221,7 +221,7 @@
buildCounterListTopicsResponse++;
if (buildCounterListTopicsResponse < 3) {
o.nextPageToken = "foo";
- o.topics = buildUnnamed1260();
+ o.topics = buildUnnamed1277();
}
buildCounterListTopicsResponse--;
return o;
@@ -231,19 +231,19 @@
buildCounterListTopicsResponse++;
if (buildCounterListTopicsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1260(o.topics);
+ checkUnnamed1277(o.topics);
}
buildCounterListTopicsResponse--;
}
-buildUnnamed1261() {
+buildUnnamed1278() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1261(core.List<core.String> o) {
+checkUnnamed1278(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -255,7 +255,7 @@
buildCounterModifyAckDeadlineRequest++;
if (buildCounterModifyAckDeadlineRequest < 3) {
o.ackDeadlineSeconds = 42;
- o.ackIds = buildUnnamed1261();
+ o.ackIds = buildUnnamed1278();
}
buildCounterModifyAckDeadlineRequest--;
return o;
@@ -265,7 +265,7 @@
buildCounterModifyAckDeadlineRequest++;
if (buildCounterModifyAckDeadlineRequest < 3) {
unittest.expect(o.ackDeadlineSeconds, unittest.equals(42));
- checkUnnamed1261(o.ackIds);
+ checkUnnamed1278(o.ackIds);
}
buildCounterModifyAckDeadlineRequest--;
}
@@ -289,14 +289,14 @@
buildCounterModifyPushConfigRequest--;
}
-buildUnnamed1262() {
+buildUnnamed1279() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1262(core.List<api.Binding> o) {
+checkUnnamed1279(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -307,7 +307,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed1262();
+ o.bindings = buildUnnamed1279();
o.etag = "foo";
o.version = 42;
}
@@ -318,21 +318,21 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1262(o.bindings);
+ checkUnnamed1279(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed1263() {
+buildUnnamed1280() {
var o = new core.List<api.PubsubMessage>();
o.add(buildPubsubMessage());
o.add(buildPubsubMessage());
return o;
}
-checkUnnamed1263(core.List<api.PubsubMessage> o) {
+checkUnnamed1280(core.List<api.PubsubMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkPubsubMessage(o[0]);
checkPubsubMessage(o[1]);
@@ -343,7 +343,7 @@
var o = new api.PublishRequest();
buildCounterPublishRequest++;
if (buildCounterPublishRequest < 3) {
- o.messages = buildUnnamed1263();
+ o.messages = buildUnnamed1280();
}
buildCounterPublishRequest--;
return o;
@@ -352,19 +352,19 @@
checkPublishRequest(api.PublishRequest o) {
buildCounterPublishRequest++;
if (buildCounterPublishRequest < 3) {
- checkUnnamed1263(o.messages);
+ checkUnnamed1280(o.messages);
}
buildCounterPublishRequest--;
}
-buildUnnamed1264() {
+buildUnnamed1281() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1264(core.List<core.String> o) {
+checkUnnamed1281(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -375,7 +375,7 @@
var o = new api.PublishResponse();
buildCounterPublishResponse++;
if (buildCounterPublishResponse < 3) {
- o.messageIds = buildUnnamed1264();
+ o.messageIds = buildUnnamed1281();
}
buildCounterPublishResponse--;
return o;
@@ -384,19 +384,19 @@
checkPublishResponse(api.PublishResponse o) {
buildCounterPublishResponse++;
if (buildCounterPublishResponse < 3) {
- checkUnnamed1264(o.messageIds);
+ checkUnnamed1281(o.messageIds);
}
buildCounterPublishResponse--;
}
-buildUnnamed1265() {
+buildUnnamed1282() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1265(core.Map<core.String, core.String> o) {
+checkUnnamed1282(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -407,7 +407,7 @@
var o = new api.PubsubMessage();
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
- o.attributes = buildUnnamed1265();
+ o.attributes = buildUnnamed1282();
o.data = "foo";
o.messageId = "foo";
o.publishTime = "foo";
@@ -419,7 +419,7 @@
checkPubsubMessage(api.PubsubMessage o) {
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
- checkUnnamed1265(o.attributes);
+ checkUnnamed1282(o.attributes);
unittest.expect(o.data, unittest.equals('foo'));
unittest.expect(o.messageId, unittest.equals('foo'));
unittest.expect(o.publishTime, unittest.equals('foo'));
@@ -448,14 +448,14 @@
buildCounterPullRequest--;
}
-buildUnnamed1266() {
+buildUnnamed1283() {
var o = new core.List<api.ReceivedMessage>();
o.add(buildReceivedMessage());
o.add(buildReceivedMessage());
return o;
}
-checkUnnamed1266(core.List<api.ReceivedMessage> o) {
+checkUnnamed1283(core.List<api.ReceivedMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkReceivedMessage(o[0]);
checkReceivedMessage(o[1]);
@@ -466,7 +466,7 @@
var o = new api.PullResponse();
buildCounterPullResponse++;
if (buildCounterPullResponse < 3) {
- o.receivedMessages = buildUnnamed1266();
+ o.receivedMessages = buildUnnamed1283();
}
buildCounterPullResponse--;
return o;
@@ -475,19 +475,19 @@
checkPullResponse(api.PullResponse o) {
buildCounterPullResponse++;
if (buildCounterPullResponse < 3) {
- checkUnnamed1266(o.receivedMessages);
+ checkUnnamed1283(o.receivedMessages);
}
buildCounterPullResponse--;
}
-buildUnnamed1267() {
+buildUnnamed1284() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1267(core.Map<core.String, core.String> o) {
+checkUnnamed1284(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -498,7 +498,7 @@
var o = new api.PushConfig();
buildCounterPushConfig++;
if (buildCounterPushConfig < 3) {
- o.attributes = buildUnnamed1267();
+ o.attributes = buildUnnamed1284();
o.pushEndpoint = "foo";
}
buildCounterPushConfig--;
@@ -508,7 +508,7 @@
checkPushConfig(api.PushConfig o) {
buildCounterPushConfig++;
if (buildCounterPushConfig < 3) {
- checkUnnamed1267(o.attributes);
+ checkUnnamed1284(o.attributes);
unittest.expect(o.pushEndpoint, unittest.equals('foo'));
}
buildCounterPushConfig--;
@@ -579,14 +579,14 @@
buildCounterSubscription--;
}
-buildUnnamed1268() {
+buildUnnamed1285() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1268(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'));
@@ -597,7 +597,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1268();
+ o.permissions = buildUnnamed1285();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -606,19 +606,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1268(o.permissions);
+ checkUnnamed1285(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1269() {
+buildUnnamed1286() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1269(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'));
@@ -629,7 +629,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1269();
+ o.permissions = buildUnnamed1286();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -638,7 +638,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1269(o.permissions);
+ checkUnnamed1286(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1239,8 +1239,8 @@
var mock = new HttpServerMock();
api.ProjectsSubscriptionsResourceApi res = new api.PubsubApi(mock).projects.subscriptions;
var arg_project = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1268,8 +1268,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1278,7 +1278,7 @@
var resp = convert.JSON.encode(buildListSubscriptionsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_project, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListSubscriptionsResponse response) {
+ res.list(arg_project, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListSubscriptionsResponse response) {
checkListSubscriptionsResponse(response);
})));
});
@@ -1721,8 +1721,8 @@
var mock = new HttpServerMock();
api.ProjectsTopicsResourceApi res = new api.PubsubApi(mock).projects.topics;
var arg_project = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1750,8 +1750,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1760,7 +1760,7 @@
var resp = convert.JSON.encode(buildListTopicsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_project, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListTopicsResponse response) {
+ res.list(arg_project, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListTopicsResponse response) {
checkListTopicsResponse(response);
})));
});
@@ -1921,8 +1921,8 @@
var mock = new HttpServerMock();
api.ProjectsTopicsSubscriptionsResourceApi res = new api.PubsubApi(mock).projects.topics.subscriptions;
var arg_topic = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1950,8 +1950,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1960,7 +1960,7 @@
var resp = convert.JSON.encode(buildListTopicSubscriptionsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_topic, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListTopicSubscriptionsResponse response) {
+ res.list(arg_topic, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListTopicSubscriptionsResponse response) {
checkListTopicSubscriptionsResponse(response);
})));
});
diff --git a/generated/googleapis/test/reseller/v1_test.dart b/generated/googleapis/test/reseller/v1_test.dart
index 5fdf87d..77bbca9 100644
--- a/generated/googleapis/test/reseller/v1_test.dart
+++ b/generated/googleapis/test/reseller/v1_test.dart
@@ -169,14 +169,14 @@
buildCounterRenewalSettings--;
}
-buildUnnamed2429() {
+buildUnnamed2450() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2429(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'));
@@ -187,7 +187,7 @@
var o = new api.ResellernotifyGetwatchdetailsResponse();
buildCounterResellernotifyGetwatchdetailsResponse++;
if (buildCounterResellernotifyGetwatchdetailsResponse < 3) {
- o.serviceAccountEmailAddresses = buildUnnamed2429();
+ o.serviceAccountEmailAddresses = buildUnnamed2450();
o.topicName = "foo";
}
buildCounterResellernotifyGetwatchdetailsResponse--;
@@ -197,7 +197,7 @@
checkResellernotifyGetwatchdetailsResponse(api.ResellernotifyGetwatchdetailsResponse o) {
buildCounterResellernotifyGetwatchdetailsResponse++;
if (buildCounterResellernotifyGetwatchdetailsResponse < 3) {
- checkUnnamed2429(o.serviceAccountEmailAddresses);
+ checkUnnamed2450(o.serviceAccountEmailAddresses);
unittest.expect(o.topicName, unittest.equals('foo'));
}
buildCounterResellernotifyGetwatchdetailsResponse--;
@@ -291,14 +291,14 @@
buildCounterSubscriptionPlan--;
}
-buildUnnamed2430() {
+buildUnnamed2451() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2430(core.List<core.String> o) {
+checkUnnamed2451(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -366,7 +366,7 @@
o.skuName = "foo";
o.status = "foo";
o.subscriptionId = "foo";
- o.suspensionReasons = buildUnnamed2430();
+ o.suspensionReasons = buildUnnamed2451();
o.transferInfo = buildSubscriptionTransferInfo();
o.trialSettings = buildSubscriptionTrialSettings();
}
@@ -392,21 +392,21 @@
unittest.expect(o.skuName, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subscriptionId, unittest.equals('foo'));
- checkUnnamed2430(o.suspensionReasons);
+ checkUnnamed2451(o.suspensionReasons);
checkSubscriptionTransferInfo(o.transferInfo);
checkSubscriptionTrialSettings(o.trialSettings);
}
buildCounterSubscription--;
}
-buildUnnamed2431() {
+buildUnnamed2452() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed2431(core.List<api.Subscription> o) {
+checkUnnamed2452(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -419,7 +419,7 @@
if (buildCounterSubscriptions < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed2431();
+ o.subscriptions = buildUnnamed2452();
}
buildCounterSubscriptions--;
return o;
@@ -430,7 +430,7 @@
if (buildCounterSubscriptions < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2431(o.subscriptions);
+ checkUnnamed2452(o.subscriptions);
}
buildCounterSubscriptions--;
}
diff --git a/generated/googleapis/test/runtimeconfig/v1_test.dart b/generated/googleapis/test/runtimeconfig/v1_test.dart
index 4afbf50..fd0d25b 100644
--- a/generated/googleapis/test/runtimeconfig/v1_test.dart
+++ b/generated/googleapis/test/runtimeconfig/v1_test.dart
@@ -85,14 +85,14 @@
buildCounterEmpty--;
}
-buildUnnamed1928() {
+buildUnnamed1946() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1928(core.List<api.Operation> o) {
+checkUnnamed1946(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -104,7 +104,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1928();
+ o.operations = buildUnnamed1946();
}
buildCounterListOperationsResponse--;
return o;
@@ -114,32 +114,32 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1928(o.operations);
+ checkUnnamed1946(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1929() {
+buildUnnamed1947() {
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;
}
-checkUnnamed1929(core.Map<core.String, core.Object> o) {
+checkUnnamed1947(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'));
}
-buildUnnamed1930() {
+buildUnnamed1948() {
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;
}
-checkUnnamed1930(core.Map<core.String, core.Object> o) {
+checkUnnamed1948(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'));
@@ -152,9 +152,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1929();
+ o.metadata = buildUnnamed1947();
o.name = "foo";
- o.response = buildUnnamed1930();
+ o.response = buildUnnamed1948();
}
buildCounterOperation--;
return o;
@@ -165,37 +165,37 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1929(o.metadata);
+ checkUnnamed1947(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1930(o.response);
+ checkUnnamed1948(o.response);
}
buildCounterOperation--;
}
-buildUnnamed1931() {
+buildUnnamed1949() {
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;
}
-checkUnnamed1931(core.Map<core.String, core.Object> o) {
+checkUnnamed1949(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'));
}
-buildUnnamed1932() {
+buildUnnamed1950() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1931());
- o.add(buildUnnamed1931());
+ o.add(buildUnnamed1949());
+ o.add(buildUnnamed1949());
return o;
}
-checkUnnamed1932(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1950(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1931(o[0]);
- checkUnnamed1931(o[1]);
+ checkUnnamed1949(o[0]);
+ checkUnnamed1949(o[1]);
}
core.int buildCounterStatus = 0;
@@ -204,7 +204,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1932();
+ o.details = buildUnnamed1950();
o.message = "foo";
}
buildCounterStatus--;
@@ -215,7 +215,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1932(o.details);
+ checkUnnamed1950(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -368,9 +368,9 @@
var mock = new HttpServerMock();
api.OperationsResourceApi res = new api.RuntimeconfigApi(mock).operations;
var arg_name = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -398,9 +398,9 @@
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["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -409,7 +409,7 @@
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).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
+ res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).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 edc5fcb..ddd5b8b 100644
--- a/generated/googleapis/test/safebrowsing/v4_test.dart
+++ b/generated/googleapis/test/safebrowsing/v4_test.dart
@@ -91,14 +91,14 @@
buildCounterClientInfo--;
}
-buildUnnamed1064() {
+buildUnnamed1081() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1064(core.List<core.String> o) {
+checkUnnamed1081(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -112,7 +112,7 @@
o.maxDatabaseEntries = 42;
o.maxUpdateEntries = 42;
o.region = "foo";
- o.supportedCompressions = buildUnnamed1064();
+ o.supportedCompressions = buildUnnamed1081();
}
buildCounterConstraints--;
return o;
@@ -124,19 +124,19 @@
unittest.expect(o.maxDatabaseEntries, unittest.equals(42));
unittest.expect(o.maxUpdateEntries, unittest.equals(42));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed1064(o.supportedCompressions);
+ checkUnnamed1081(o.supportedCompressions);
}
buildCounterConstraints--;
}
-buildUnnamed1065() {
+buildUnnamed1082() {
var o = new core.List<api.ListUpdateRequest>();
o.add(buildListUpdateRequest());
o.add(buildListUpdateRequest());
return o;
}
-checkUnnamed1065(core.List<api.ListUpdateRequest> o) {
+checkUnnamed1082(core.List<api.ListUpdateRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkListUpdateRequest(o[0]);
checkListUpdateRequest(o[1]);
@@ -148,7 +148,7 @@
buildCounterFetchThreatListUpdatesRequest++;
if (buildCounterFetchThreatListUpdatesRequest < 3) {
o.client = buildClientInfo();
- o.listUpdateRequests = buildUnnamed1065();
+ o.listUpdateRequests = buildUnnamed1082();
}
buildCounterFetchThreatListUpdatesRequest--;
return o;
@@ -158,19 +158,19 @@
buildCounterFetchThreatListUpdatesRequest++;
if (buildCounterFetchThreatListUpdatesRequest < 3) {
checkClientInfo(o.client);
- checkUnnamed1065(o.listUpdateRequests);
+ checkUnnamed1082(o.listUpdateRequests);
}
buildCounterFetchThreatListUpdatesRequest--;
}
-buildUnnamed1066() {
+buildUnnamed1083() {
var o = new core.List<api.ListUpdateResponse>();
o.add(buildListUpdateResponse());
o.add(buildListUpdateResponse());
return o;
}
-checkUnnamed1066(core.List<api.ListUpdateResponse> o) {
+checkUnnamed1083(core.List<api.ListUpdateResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkListUpdateResponse(o[0]);
checkListUpdateResponse(o[1]);
@@ -181,7 +181,7 @@
var o = new api.FetchThreatListUpdatesResponse();
buildCounterFetchThreatListUpdatesResponse++;
if (buildCounterFetchThreatListUpdatesResponse < 3) {
- o.listUpdateResponses = buildUnnamed1066();
+ o.listUpdateResponses = buildUnnamed1083();
o.minimumWaitDuration = "foo";
}
buildCounterFetchThreatListUpdatesResponse--;
@@ -191,20 +191,20 @@
checkFetchThreatListUpdatesResponse(api.FetchThreatListUpdatesResponse o) {
buildCounterFetchThreatListUpdatesResponse++;
if (buildCounterFetchThreatListUpdatesResponse < 3) {
- checkUnnamed1066(o.listUpdateResponses);
+ checkUnnamed1083(o.listUpdateResponses);
unittest.expect(o.minimumWaitDuration, unittest.equals('foo'));
}
buildCounterFetchThreatListUpdatesResponse--;
}
-buildUnnamed1067() {
+buildUnnamed1084() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1067(core.List<core.String> o) {
+checkUnnamed1084(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -217,7 +217,7 @@
if (buildCounterFindFullHashesRequest < 3) {
o.apiClient = buildClientInfo();
o.client = buildClientInfo();
- o.clientStates = buildUnnamed1067();
+ o.clientStates = buildUnnamed1084();
o.threatInfo = buildThreatInfo();
}
buildCounterFindFullHashesRequest--;
@@ -229,20 +229,20 @@
if (buildCounterFindFullHashesRequest < 3) {
checkClientInfo(o.apiClient);
checkClientInfo(o.client);
- checkUnnamed1067(o.clientStates);
+ checkUnnamed1084(o.clientStates);
checkThreatInfo(o.threatInfo);
}
buildCounterFindFullHashesRequest--;
}
-buildUnnamed1068() {
+buildUnnamed1085() {
var o = new core.List<api.ThreatMatch>();
o.add(buildThreatMatch());
o.add(buildThreatMatch());
return o;
}
-checkUnnamed1068(core.List<api.ThreatMatch> o) {
+checkUnnamed1085(core.List<api.ThreatMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatMatch(o[0]);
checkThreatMatch(o[1]);
@@ -253,7 +253,7 @@
var o = new api.FindFullHashesResponse();
buildCounterFindFullHashesResponse++;
if (buildCounterFindFullHashesResponse < 3) {
- o.matches = buildUnnamed1068();
+ o.matches = buildUnnamed1085();
o.minimumWaitDuration = "foo";
o.negativeCacheDuration = "foo";
}
@@ -264,7 +264,7 @@
checkFindFullHashesResponse(api.FindFullHashesResponse o) {
buildCounterFindFullHashesResponse++;
if (buildCounterFindFullHashesResponse < 3) {
- checkUnnamed1068(o.matches);
+ checkUnnamed1085(o.matches);
unittest.expect(o.minimumWaitDuration, unittest.equals('foo'));
unittest.expect(o.negativeCacheDuration, unittest.equals('foo'));
}
@@ -292,14 +292,14 @@
buildCounterFindThreatMatchesRequest--;
}
-buildUnnamed1069() {
+buildUnnamed1086() {
var o = new core.List<api.ThreatMatch>();
o.add(buildThreatMatch());
o.add(buildThreatMatch());
return o;
}
-checkUnnamed1069(core.List<api.ThreatMatch> o) {
+checkUnnamed1086(core.List<api.ThreatMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatMatch(o[0]);
checkThreatMatch(o[1]);
@@ -310,7 +310,7 @@
var o = new api.FindThreatMatchesResponse();
buildCounterFindThreatMatchesResponse++;
if (buildCounterFindThreatMatchesResponse < 3) {
- o.matches = buildUnnamed1069();
+ o.matches = buildUnnamed1086();
}
buildCounterFindThreatMatchesResponse--;
return o;
@@ -319,19 +319,19 @@
checkFindThreatMatchesResponse(api.FindThreatMatchesResponse o) {
buildCounterFindThreatMatchesResponse++;
if (buildCounterFindThreatMatchesResponse < 3) {
- checkUnnamed1069(o.matches);
+ checkUnnamed1086(o.matches);
}
buildCounterFindThreatMatchesResponse--;
}
-buildUnnamed1070() {
+buildUnnamed1087() {
var o = new core.List<api.ThreatListDescriptor>();
o.add(buildThreatListDescriptor());
o.add(buildThreatListDescriptor());
return o;
}
-checkUnnamed1070(core.List<api.ThreatListDescriptor> o) {
+checkUnnamed1087(core.List<api.ThreatListDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatListDescriptor(o[0]);
checkThreatListDescriptor(o[1]);
@@ -342,7 +342,7 @@
var o = new api.ListThreatListsResponse();
buildCounterListThreatListsResponse++;
if (buildCounterListThreatListsResponse < 3) {
- o.threatLists = buildUnnamed1070();
+ o.threatLists = buildUnnamed1087();
}
buildCounterListThreatListsResponse--;
return o;
@@ -351,7 +351,7 @@
checkListThreatListsResponse(api.ListThreatListsResponse o) {
buildCounterListThreatListsResponse++;
if (buildCounterListThreatListsResponse < 3) {
- checkUnnamed1070(o.threatLists);
+ checkUnnamed1087(o.threatLists);
}
buildCounterListThreatListsResponse--;
}
@@ -383,27 +383,27 @@
buildCounterListUpdateRequest--;
}
-buildUnnamed1071() {
+buildUnnamed1088() {
var o = new core.List<api.ThreatEntrySet>();
o.add(buildThreatEntrySet());
o.add(buildThreatEntrySet());
return o;
}
-checkUnnamed1071(core.List<api.ThreatEntrySet> o) {
+checkUnnamed1088(core.List<api.ThreatEntrySet> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntrySet(o[0]);
checkThreatEntrySet(o[1]);
}
-buildUnnamed1072() {
+buildUnnamed1089() {
var o = new core.List<api.ThreatEntrySet>();
o.add(buildThreatEntrySet());
o.add(buildThreatEntrySet());
return o;
}
-checkUnnamed1072(core.List<api.ThreatEntrySet> o) {
+checkUnnamed1089(core.List<api.ThreatEntrySet> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntrySet(o[0]);
checkThreatEntrySet(o[1]);
@@ -414,11 +414,11 @@
var o = new api.ListUpdateResponse();
buildCounterListUpdateResponse++;
if (buildCounterListUpdateResponse < 3) {
- o.additions = buildUnnamed1071();
+ o.additions = buildUnnamed1088();
o.checksum = buildChecksum();
o.newClientState = "foo";
o.platformType = "foo";
- o.removals = buildUnnamed1072();
+ o.removals = buildUnnamed1089();
o.responseType = "foo";
o.threatEntryType = "foo";
o.threatType = "foo";
@@ -430,11 +430,11 @@
checkListUpdateResponse(api.ListUpdateResponse o) {
buildCounterListUpdateResponse++;
if (buildCounterListUpdateResponse < 3) {
- checkUnnamed1071(o.additions);
+ checkUnnamed1088(o.additions);
checkChecksum(o.checksum);
unittest.expect(o.newClientState, unittest.equals('foo'));
unittest.expect(o.platformType, unittest.equals('foo'));
- checkUnnamed1072(o.removals);
+ checkUnnamed1089(o.removals);
unittest.expect(o.responseType, unittest.equals('foo'));
unittest.expect(o.threatEntryType, unittest.equals('foo'));
unittest.expect(o.threatType, unittest.equals('foo'));
@@ -484,14 +484,14 @@
buildCounterRawHashes--;
}
-buildUnnamed1073() {
+buildUnnamed1090() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1073(core.List<core.int> o) {
+checkUnnamed1090(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));
@@ -502,7 +502,7 @@
var o = new api.RawIndices();
buildCounterRawIndices++;
if (buildCounterRawIndices < 3) {
- o.indices = buildUnnamed1073();
+ o.indices = buildUnnamed1090();
}
buildCounterRawIndices--;
return o;
@@ -511,7 +511,7 @@
checkRawIndices(api.RawIndices o) {
buildCounterRawIndices++;
if (buildCounterRawIndices < 3) {
- checkUnnamed1073(o.indices);
+ checkUnnamed1090(o.indices);
}
buildCounterRawIndices--;
}
@@ -564,14 +564,14 @@
buildCounterThreatEntry--;
}
-buildUnnamed1074() {
+buildUnnamed1091() {
var o = new core.List<api.MetadataEntry>();
o.add(buildMetadataEntry());
o.add(buildMetadataEntry());
return o;
}
-checkUnnamed1074(core.List<api.MetadataEntry> o) {
+checkUnnamed1091(core.List<api.MetadataEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataEntry(o[0]);
checkMetadataEntry(o[1]);
@@ -582,7 +582,7 @@
var o = new api.ThreatEntryMetadata();
buildCounterThreatEntryMetadata++;
if (buildCounterThreatEntryMetadata < 3) {
- o.entries = buildUnnamed1074();
+ o.entries = buildUnnamed1091();
}
buildCounterThreatEntryMetadata--;
return o;
@@ -591,7 +591,7 @@
checkThreatEntryMetadata(api.ThreatEntryMetadata o) {
buildCounterThreatEntryMetadata++;
if (buildCounterThreatEntryMetadata < 3) {
- checkUnnamed1074(o.entries);
+ checkUnnamed1091(o.entries);
}
buildCounterThreatEntryMetadata--;
}
@@ -623,53 +623,53 @@
buildCounterThreatEntrySet--;
}
-buildUnnamed1075() {
+buildUnnamed1092() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1075(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'));
}
-buildUnnamed1076() {
+buildUnnamed1093() {
var o = new core.List<api.ThreatEntry>();
o.add(buildThreatEntry());
o.add(buildThreatEntry());
return o;
}
-checkUnnamed1076(core.List<api.ThreatEntry> o) {
+checkUnnamed1093(core.List<api.ThreatEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntry(o[0]);
checkThreatEntry(o[1]);
}
-buildUnnamed1077() {
+buildUnnamed1094() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1077(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'));
}
-buildUnnamed1078() {
+buildUnnamed1095() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1078(core.List<core.String> o) {
+checkUnnamed1095(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -680,10 +680,10 @@
var o = new api.ThreatInfo();
buildCounterThreatInfo++;
if (buildCounterThreatInfo < 3) {
- o.platformTypes = buildUnnamed1075();
- o.threatEntries = buildUnnamed1076();
- o.threatEntryTypes = buildUnnamed1077();
- o.threatTypes = buildUnnamed1078();
+ o.platformTypes = buildUnnamed1092();
+ o.threatEntries = buildUnnamed1093();
+ o.threatEntryTypes = buildUnnamed1094();
+ o.threatTypes = buildUnnamed1095();
}
buildCounterThreatInfo--;
return o;
@@ -692,10 +692,10 @@
checkThreatInfo(api.ThreatInfo o) {
buildCounterThreatInfo++;
if (buildCounterThreatInfo < 3) {
- checkUnnamed1075(o.platformTypes);
- checkUnnamed1076(o.threatEntries);
- checkUnnamed1077(o.threatEntryTypes);
- checkUnnamed1078(o.threatTypes);
+ checkUnnamed1092(o.platformTypes);
+ checkUnnamed1093(o.threatEntries);
+ checkUnnamed1094(o.threatEntryTypes);
+ checkUnnamed1095(o.threatTypes);
}
buildCounterThreatInfo--;
}
@@ -958,8 +958,8 @@
var mock = new HttpServerMock();
api.EncodedFullHashesResourceApi res = new api.SafebrowsingApi(mock).encodedFullHashes;
var arg_encodedRequest = "foo";
- var arg_clientVersion = "foo";
var arg_clientId = "foo";
+ var arg_clientVersion = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -989,8 +989,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["clientVersion"].first, unittest.equals(arg_clientVersion));
unittest.expect(queryMap["clientId"].first, unittest.equals(arg_clientId));
+ unittest.expect(queryMap["clientVersion"].first, unittest.equals(arg_clientVersion));
var h = {
@@ -999,7 +999,7 @@
var resp = convert.JSON.encode(buildFindFullHashesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_encodedRequest, clientVersion: arg_clientVersion, clientId: arg_clientId).then(unittest.expectAsync1(((api.FindFullHashesResponse response) {
+ res.get(arg_encodedRequest, clientId: arg_clientId, clientVersion: arg_clientVersion).then(unittest.expectAsync1(((api.FindFullHashesResponse response) {
checkFindFullHashesResponse(response);
})));
});
@@ -1013,8 +1013,8 @@
var mock = new HttpServerMock();
api.EncodedUpdatesResourceApi res = new api.SafebrowsingApi(mock).encodedUpdates;
var arg_encodedRequest = "foo";
- var arg_clientVersion = "foo";
var arg_clientId = "foo";
+ var arg_clientVersion = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1044,8 +1044,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["clientVersion"].first, unittest.equals(arg_clientVersion));
unittest.expect(queryMap["clientId"].first, unittest.equals(arg_clientId));
+ unittest.expect(queryMap["clientVersion"].first, unittest.equals(arg_clientVersion));
var h = {
@@ -1054,7 +1054,7 @@
var resp = convert.JSON.encode(buildFetchThreatListUpdatesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_encodedRequest, clientVersion: arg_clientVersion, clientId: arg_clientId).then(unittest.expectAsync1(((api.FetchThreatListUpdatesResponse response) {
+ res.get(arg_encodedRequest, clientId: arg_clientId, clientVersion: arg_clientVersion).then(unittest.expectAsync1(((api.FetchThreatListUpdatesResponse response) {
checkFetchThreatListUpdatesResponse(response);
})));
});
diff --git a/generated/googleapis/test/script/v1_test.dart b/generated/googleapis/test/script/v1_test.dart
index 22fee62..31aa646 100644
--- a/generated/googleapis/test/script/v1_test.dart
+++ b/generated/googleapis/test/script/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed781() {
+buildUnnamed799() {
var o = new core.List<api.ScriptStackTraceElement>();
o.add(buildScriptStackTraceElement());
o.add(buildScriptStackTraceElement());
return o;
}
-checkUnnamed781(core.List<api.ScriptStackTraceElement> o) {
+checkUnnamed799(core.List<api.ScriptStackTraceElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkScriptStackTraceElement(o[0]);
checkScriptStackTraceElement(o[1]);
@@ -71,7 +71,7 @@
if (buildCounterExecutionError < 3) {
o.errorMessage = "foo";
o.errorType = "foo";
- o.scriptStackTraceElements = buildUnnamed781();
+ o.scriptStackTraceElements = buildUnnamed799();
}
buildCounterExecutionError--;
return o;
@@ -82,19 +82,19 @@
if (buildCounterExecutionError < 3) {
unittest.expect(o.errorMessage, unittest.equals('foo'));
unittest.expect(o.errorType, unittest.equals('foo'));
- checkUnnamed781(o.scriptStackTraceElements);
+ checkUnnamed799(o.scriptStackTraceElements);
}
buildCounterExecutionError--;
}
-buildUnnamed782() {
+buildUnnamed800() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed782(core.List<core.Object> o) {
+checkUnnamed800(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
@@ -107,7 +107,7 @@
if (buildCounterExecutionRequest < 3) {
o.devMode = true;
o.function = "foo";
- o.parameters = buildUnnamed782();
+ o.parameters = buildUnnamed800();
o.sessionState = "foo";
}
buildCounterExecutionRequest--;
@@ -119,7 +119,7 @@
if (buildCounterExecutionRequest < 3) {
unittest.expect(o.devMode, unittest.isTrue);
unittest.expect(o.function, unittest.equals('foo'));
- checkUnnamed782(o.parameters);
+ checkUnnamed800(o.parameters);
unittest.expect(o.sessionState, unittest.equals('foo'));
}
buildCounterExecutionRequest--;
@@ -144,95 +144,27 @@
buildCounterExecutionResponse--;
}
-buildUnnamed783() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed783(core.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 buildCounterJoinAsyncRequest = 0;
-buildJoinAsyncRequest() {
- var o = new api.JoinAsyncRequest();
- buildCounterJoinAsyncRequest++;
- if (buildCounterJoinAsyncRequest < 3) {
- o.names = buildUnnamed783();
- o.scriptId = "foo";
- o.timeout = "foo";
- }
- buildCounterJoinAsyncRequest--;
- return o;
-}
-
-checkJoinAsyncRequest(api.JoinAsyncRequest o) {
- buildCounterJoinAsyncRequest++;
- if (buildCounterJoinAsyncRequest < 3) {
- checkUnnamed783(o.names);
- unittest.expect(o.scriptId, unittest.equals('foo'));
- unittest.expect(o.timeout, unittest.equals('foo'));
- }
- buildCounterJoinAsyncRequest--;
-}
-
-buildUnnamed784() {
- var o = new core.Map<core.String, api.Operation>();
- o["x"] = buildOperation();
- o["y"] = buildOperation();
- return o;
-}
-
-checkUnnamed784(core.Map<core.String, api.Operation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkOperation(o["x"]);
- checkOperation(o["y"]);
-}
-
-core.int buildCounterJoinAsyncResponse = 0;
-buildJoinAsyncResponse() {
- var o = new api.JoinAsyncResponse();
- buildCounterJoinAsyncResponse++;
- if (buildCounterJoinAsyncResponse < 3) {
- o.results = buildUnnamed784();
- }
- buildCounterJoinAsyncResponse--;
- return o;
-}
-
-checkJoinAsyncResponse(api.JoinAsyncResponse o) {
- buildCounterJoinAsyncResponse++;
- if (buildCounterJoinAsyncResponse < 3) {
- checkUnnamed784(o.results);
- }
- buildCounterJoinAsyncResponse--;
-}
-
-buildUnnamed785() {
+buildUnnamed801() {
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;
}
-checkUnnamed785(core.Map<core.String, core.Object> o) {
+checkUnnamed801(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)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
var casted5 = (o["y"]) 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'));
}
-buildUnnamed786() {
+buildUnnamed802() {
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;
}
-checkUnnamed786(core.Map<core.String, core.Object> o) {
+checkUnnamed802(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)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo'));
var casted7 = (o["y"]) 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'));
@@ -245,9 +177,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed785();
+ o.metadata = buildUnnamed801();
o.name = "foo";
- o.response = buildUnnamed786();
+ o.response = buildUnnamed802();
}
buildCounterOperation--;
return o;
@@ -258,9 +190,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed785(o.metadata);
+ checkUnnamed801(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed786(o.response);
+ checkUnnamed802(o.response);
}
buildCounterOperation--;
}
@@ -286,30 +218,30 @@
buildCounterScriptStackTraceElement--;
}
-buildUnnamed787() {
+buildUnnamed803() {
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;
}
-checkUnnamed787(core.Map<core.String, core.Object> o) {
+checkUnnamed803(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted8 = (o["x"]) as core.Map; unittest.expect(casted8, unittest.hasLength(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo'));
var casted9 = (o["y"]) 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'));
}
-buildUnnamed788() {
+buildUnnamed804() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed787());
- o.add(buildUnnamed787());
+ o.add(buildUnnamed803());
+ o.add(buildUnnamed803());
return o;
}
-checkUnnamed788(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed804(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed787(o[0]);
- checkUnnamed787(o[1]);
+ checkUnnamed803(o[0]);
+ checkUnnamed803(o[1]);
}
core.int buildCounterStatus = 0;
@@ -318,7 +250,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed788();
+ o.details = buildUnnamed804();
o.message = "foo";
}
buildCounterStatus--;
@@ -329,7 +261,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed788(o.details);
+ checkUnnamed804(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -364,24 +296,6 @@
});
- unittest.group("obj-schema-JoinAsyncRequest", () {
- unittest.test("to-json--from-json", () {
- var o = buildJoinAsyncRequest();
- var od = new api.JoinAsyncRequest.fromJson(o.toJson());
- checkJoinAsyncRequest(od);
- });
- });
-
-
- unittest.group("obj-schema-JoinAsyncResponse", () {
- unittest.test("to-json--from-json", () {
- var o = buildJoinAsyncResponse();
- var od = new api.JoinAsyncResponse.fromJson(o.toJson());
- checkJoinAsyncResponse(od);
- });
- });
-
-
unittest.group("obj-schema-Operation", () {
unittest.test("to-json--from-json", () {
var o = buildOperation();
diff --git a/generated/googleapis/test/searchconsole/v1_test.dart b/generated/googleapis/test/searchconsole/v1_test.dart
index e15be02..e11da37 100644
--- a/generated/googleapis/test/searchconsole/v1_test.dart
+++ b/generated/googleapis/test/searchconsole/v1_test.dart
@@ -150,27 +150,27 @@
buildCounterRunMobileFriendlyTestRequest--;
}
-buildUnnamed1216() {
+buildUnnamed1233() {
var o = new core.List<api.MobileFriendlyIssue>();
o.add(buildMobileFriendlyIssue());
o.add(buildMobileFriendlyIssue());
return o;
}
-checkUnnamed1216(core.List<api.MobileFriendlyIssue> o) {
+checkUnnamed1233(core.List<api.MobileFriendlyIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileFriendlyIssue(o[0]);
checkMobileFriendlyIssue(o[1]);
}
-buildUnnamed1217() {
+buildUnnamed1234() {
var o = new core.List<api.ResourceIssue>();
o.add(buildResourceIssue());
o.add(buildResourceIssue());
return o;
}
-checkUnnamed1217(core.List<api.ResourceIssue> o) {
+checkUnnamed1234(core.List<api.ResourceIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceIssue(o[0]);
checkResourceIssue(o[1]);
@@ -182,8 +182,8 @@
buildCounterRunMobileFriendlyTestResponse++;
if (buildCounterRunMobileFriendlyTestResponse < 3) {
o.mobileFriendliness = "foo";
- o.mobileFriendlyIssues = buildUnnamed1216();
- o.resourceIssues = buildUnnamed1217();
+ o.mobileFriendlyIssues = buildUnnamed1233();
+ o.resourceIssues = buildUnnamed1234();
o.screenshot = buildImage();
o.testStatus = buildTestStatus();
}
@@ -195,8 +195,8 @@
buildCounterRunMobileFriendlyTestResponse++;
if (buildCounterRunMobileFriendlyTestResponse < 3) {
unittest.expect(o.mobileFriendliness, unittest.equals('foo'));
- checkUnnamed1216(o.mobileFriendlyIssues);
- checkUnnamed1217(o.resourceIssues);
+ checkUnnamed1233(o.mobileFriendlyIssues);
+ checkUnnamed1234(o.resourceIssues);
checkImage(o.screenshot);
checkTestStatus(o.testStatus);
}
diff --git a/generated/googleapis/test/servicecontrol/v1_test.dart b/generated/googleapis/test/servicecontrol/v1_test.dart
index e6bad66..6f02350 100644
--- a/generated/googleapis/test/servicecontrol/v1_test.dart
+++ b/generated/googleapis/test/servicecontrol/v1_test.dart
@@ -74,27 +74,27 @@
buildCounterAllocateQuotaRequest--;
}
-buildUnnamed1677() {
+buildUnnamed1694() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1677(core.List<api.QuotaError> o) {
+checkUnnamed1694(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
}
-buildUnnamed1678() {
+buildUnnamed1695() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1678(core.List<api.MetricValueSet> o) {
+checkUnnamed1695(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
@@ -105,9 +105,9 @@
var o = new api.AllocateQuotaResponse();
buildCounterAllocateQuotaResponse++;
if (buildCounterAllocateQuotaResponse < 3) {
- o.allocateErrors = buildUnnamed1677();
+ o.allocateErrors = buildUnnamed1694();
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1678();
+ o.quotaMetrics = buildUnnamed1695();
o.serviceConfigId = "foo";
}
buildCounterAllocateQuotaResponse--;
@@ -117,61 +117,61 @@
checkAllocateQuotaResponse(api.AllocateQuotaResponse o) {
buildCounterAllocateQuotaResponse++;
if (buildCounterAllocateQuotaResponse < 3) {
- checkUnnamed1677(o.allocateErrors);
+ checkUnnamed1694(o.allocateErrors);
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1678(o.quotaMetrics);
+ checkUnnamed1695(o.quotaMetrics);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterAllocateQuotaResponse--;
}
-buildUnnamed1679() {
+buildUnnamed1696() {
var o = new core.List<api.AuthorizationInfo>();
o.add(buildAuthorizationInfo());
o.add(buildAuthorizationInfo());
return o;
}
-checkUnnamed1679(core.List<api.AuthorizationInfo> o) {
+checkUnnamed1696(core.List<api.AuthorizationInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthorizationInfo(o[0]);
checkAuthorizationInfo(o[1]);
}
-buildUnnamed1680() {
+buildUnnamed1697() {
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;
}
-checkUnnamed1680(core.Map<core.String, core.Object> o) {
+checkUnnamed1697(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'));
}
-buildUnnamed1681() {
+buildUnnamed1698() {
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;
}
-checkUnnamed1681(core.Map<core.String, core.Object> o) {
+checkUnnamed1698(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'));
}
-buildUnnamed1682() {
+buildUnnamed1699() {
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;
}
-checkUnnamed1682(core.Map<core.String, core.Object> o) {
+checkUnnamed1699(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'));
@@ -183,14 +183,14 @@
buildCounterAuditLog++;
if (buildCounterAuditLog < 3) {
o.authenticationInfo = buildAuthenticationInfo();
- o.authorizationInfo = buildUnnamed1679();
+ o.authorizationInfo = buildUnnamed1696();
o.methodName = "foo";
o.numResponseItems = "foo";
- o.request = buildUnnamed1680();
+ o.request = buildUnnamed1697();
o.requestMetadata = buildRequestMetadata();
o.resourceName = "foo";
- o.response = buildUnnamed1681();
- o.serviceData = buildUnnamed1682();
+ o.response = buildUnnamed1698();
+ o.serviceData = buildUnnamed1699();
o.serviceName = "foo";
o.status = buildStatus();
}
@@ -202,14 +202,14 @@
buildCounterAuditLog++;
if (buildCounterAuditLog < 3) {
checkAuthenticationInfo(o.authenticationInfo);
- checkUnnamed1679(o.authorizationInfo);
+ checkUnnamed1696(o.authorizationInfo);
unittest.expect(o.methodName, unittest.equals('foo'));
unittest.expect(o.numResponseItems, unittest.equals('foo'));
- checkUnnamed1680(o.request);
+ checkUnnamed1697(o.request);
checkRequestMetadata(o.requestMetadata);
unittest.expect(o.resourceName, unittest.equals('foo'));
- checkUnnamed1681(o.response);
- checkUnnamed1682(o.serviceData);
+ checkUnnamed1698(o.response);
+ checkUnnamed1699(o.serviceData);
unittest.expect(o.serviceName, unittest.equals('foo'));
checkStatus(o.status);
}
@@ -281,14 +281,14 @@
buildCounterCheckError--;
}
-buildUnnamed1683() {
+buildUnnamed1700() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1683(core.List<core.String> o) {
+checkUnnamed1700(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -300,7 +300,7 @@
buildCounterCheckInfo++;
if (buildCounterCheckInfo < 3) {
o.consumerInfo = buildConsumerInfo();
- o.unusedArguments = buildUnnamed1683();
+ o.unusedArguments = buildUnnamed1700();
}
buildCounterCheckInfo--;
return o;
@@ -310,7 +310,7 @@
buildCounterCheckInfo++;
if (buildCounterCheckInfo < 3) {
checkConsumerInfo(o.consumerInfo);
- checkUnnamed1683(o.unusedArguments);
+ checkUnnamed1700(o.unusedArguments);
}
buildCounterCheckInfo--;
}
@@ -340,14 +340,14 @@
buildCounterCheckRequest--;
}
-buildUnnamed1684() {
+buildUnnamed1701() {
var o = new core.List<api.CheckError>();
o.add(buildCheckError());
o.add(buildCheckError());
return o;
}
-checkUnnamed1684(core.List<api.CheckError> o) {
+checkUnnamed1701(core.List<api.CheckError> o) {
unittest.expect(o, unittest.hasLength(2));
checkCheckError(o[0]);
checkCheckError(o[1]);
@@ -358,7 +358,7 @@
var o = new api.CheckResponse();
buildCounterCheckResponse++;
if (buildCounterCheckResponse < 3) {
- o.checkErrors = buildUnnamed1684();
+ o.checkErrors = buildUnnamed1701();
o.checkInfo = buildCheckInfo();
o.operationId = "foo";
o.quotaInfo = buildQuotaInfo();
@@ -371,7 +371,7 @@
checkCheckResponse(api.CheckResponse o) {
buildCounterCheckResponse++;
if (buildCounterCheckResponse < 3) {
- checkUnnamed1684(o.checkErrors);
+ checkUnnamed1701(o.checkErrors);
checkCheckInfo(o.checkInfo);
unittest.expect(o.operationId, unittest.equals('foo'));
checkQuotaInfo(o.quotaInfo);
@@ -399,14 +399,14 @@
buildCounterConsumerInfo--;
}
-buildUnnamed1685() {
+buildUnnamed1702() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1685(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'));
@@ -417,7 +417,7 @@
var o = new api.Distribution();
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- o.bucketCounts = buildUnnamed1685();
+ o.bucketCounts = buildUnnamed1702();
o.count = "foo";
o.explicitBuckets = buildExplicitBuckets();
o.exponentialBuckets = buildExponentialBuckets();
@@ -434,7 +434,7 @@
checkDistribution(api.Distribution o) {
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- checkUnnamed1685(o.bucketCounts);
+ checkUnnamed1702(o.bucketCounts);
unittest.expect(o.count, unittest.equals('foo'));
checkExplicitBuckets(o.explicitBuckets);
checkExponentialBuckets(o.exponentialBuckets);
@@ -468,27 +468,27 @@
buildCounterEndReconciliationRequest--;
}
-buildUnnamed1686() {
+buildUnnamed1703() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1686(core.List<api.MetricValueSet> o) {
+checkUnnamed1703(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed1687() {
+buildUnnamed1704() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1687(core.List<api.QuotaError> o) {
+checkUnnamed1704(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
@@ -500,8 +500,8 @@
buildCounterEndReconciliationResponse++;
if (buildCounterEndReconciliationResponse < 3) {
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1686();
- o.reconciliationErrors = buildUnnamed1687();
+ o.quotaMetrics = buildUnnamed1703();
+ o.reconciliationErrors = buildUnnamed1704();
o.serviceConfigId = "foo";
}
buildCounterEndReconciliationResponse--;
@@ -512,21 +512,21 @@
buildCounterEndReconciliationResponse++;
if (buildCounterEndReconciliationResponse < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1686(o.quotaMetrics);
- checkUnnamed1687(o.reconciliationErrors);
+ checkUnnamed1703(o.quotaMetrics);
+ checkUnnamed1704(o.reconciliationErrors);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterEndReconciliationResponse--;
}
-buildUnnamed1688() {
+buildUnnamed1705() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1688(core.List<core.double> o) {
+checkUnnamed1705(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));
@@ -537,7 +537,7 @@
var o = new api.ExplicitBuckets();
buildCounterExplicitBuckets++;
if (buildCounterExplicitBuckets < 3) {
- o.bounds = buildUnnamed1688();
+ o.bounds = buildUnnamed1705();
}
buildCounterExplicitBuckets--;
return o;
@@ -546,7 +546,7 @@
checkExplicitBuckets(api.ExplicitBuckets o) {
buildCounterExplicitBuckets++;
if (buildCounterExplicitBuckets < 3) {
- checkUnnamed1688(o.bounds);
+ checkUnnamed1705(o.bounds);
}
buildCounterExplicitBuckets--;
}
@@ -597,40 +597,40 @@
buildCounterLinearBuckets--;
}
-buildUnnamed1689() {
+buildUnnamed1706() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1689(core.Map<core.String, core.String> o) {
+checkUnnamed1706(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1690() {
+buildUnnamed1707() {
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;
}
-checkUnnamed1690(core.Map<core.String, core.Object> o) {
+checkUnnamed1707(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'));
}
-buildUnnamed1691() {
+buildUnnamed1708() {
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;
}
-checkUnnamed1691(core.Map<core.String, core.Object> o) {
+checkUnnamed1708(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'));
@@ -642,11 +642,11 @@
buildCounterLogEntry++;
if (buildCounterLogEntry < 3) {
o.insertId = "foo";
- o.labels = buildUnnamed1689();
+ o.labels = buildUnnamed1706();
o.name = "foo";
- o.protoPayload = buildUnnamed1690();
+ o.protoPayload = buildUnnamed1707();
o.severity = "foo";
- o.structPayload = buildUnnamed1691();
+ o.structPayload = buildUnnamed1708();
o.textPayload = "foo";
o.timestamp = "foo";
}
@@ -658,25 +658,25 @@
buildCounterLogEntry++;
if (buildCounterLogEntry < 3) {
unittest.expect(o.insertId, unittest.equals('foo'));
- checkUnnamed1689(o.labels);
+ checkUnnamed1706(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1690(o.protoPayload);
+ checkUnnamed1707(o.protoPayload);
unittest.expect(o.severity, unittest.equals('foo'));
- checkUnnamed1691(o.structPayload);
+ checkUnnamed1708(o.structPayload);
unittest.expect(o.textPayload, unittest.equals('foo'));
unittest.expect(o.timestamp, unittest.equals('foo'));
}
buildCounterLogEntry--;
}
-buildUnnamed1692() {
+buildUnnamed1709() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1692(core.Map<core.String, core.String> o) {
+checkUnnamed1709(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -692,7 +692,7 @@
o.doubleValue = 42.0;
o.endTime = "foo";
o.int64Value = "foo";
- o.labels = buildUnnamed1692();
+ o.labels = buildUnnamed1709();
o.moneyValue = buildMoney();
o.startTime = "foo";
o.stringValue = "foo";
@@ -709,7 +709,7 @@
unittest.expect(o.doubleValue, unittest.equals(42.0));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.int64Value, unittest.equals('foo'));
- checkUnnamed1692(o.labels);
+ checkUnnamed1709(o.labels);
checkMoney(o.moneyValue);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.stringValue, unittest.equals('foo'));
@@ -717,14 +717,14 @@
buildCounterMetricValue--;
}
-buildUnnamed1693() {
+buildUnnamed1710() {
var o = new core.List<api.MetricValue>();
o.add(buildMetricValue());
o.add(buildMetricValue());
return o;
}
-checkUnnamed1693(core.List<api.MetricValue> o) {
+checkUnnamed1710(core.List<api.MetricValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValue(o[0]);
checkMetricValue(o[1]);
@@ -736,7 +736,7 @@
buildCounterMetricValueSet++;
if (buildCounterMetricValueSet < 3) {
o.metricName = "foo";
- o.metricValues = buildUnnamed1693();
+ o.metricValues = buildUnnamed1710();
}
buildCounterMetricValueSet--;
return o;
@@ -746,7 +746,7 @@
buildCounterMetricValueSet++;
if (buildCounterMetricValueSet < 3) {
unittest.expect(o.metricName, unittest.equals('foo'));
- checkUnnamed1693(o.metricValues);
+ checkUnnamed1710(o.metricValues);
}
buildCounterMetricValueSet--;
}
@@ -774,53 +774,53 @@
buildCounterMoney--;
}
-buildUnnamed1694() {
+buildUnnamed1711() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1694(core.Map<core.String, core.String> o) {
+checkUnnamed1711(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1695() {
+buildUnnamed1712() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed1695(core.List<api.LogEntry> o) {
+checkUnnamed1712(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
}
-buildUnnamed1696() {
+buildUnnamed1713() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1696(core.List<api.MetricValueSet> o) {
+checkUnnamed1713(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed1697() {
+buildUnnamed1714() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1697(core.Map<core.String, core.String> o) {
+checkUnnamed1714(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -834,15 +834,15 @@
o.consumerId = "foo";
o.endTime = "foo";
o.importance = "foo";
- o.labels = buildUnnamed1694();
- o.logEntries = buildUnnamed1695();
- o.metricValueSets = buildUnnamed1696();
+ o.labels = buildUnnamed1711();
+ o.logEntries = buildUnnamed1712();
+ o.metricValueSets = buildUnnamed1713();
o.operationId = "foo";
o.operationName = "foo";
o.quotaProperties = buildQuotaProperties();
o.resourceContainer = "foo";
o.startTime = "foo";
- o.userLabels = buildUnnamed1697();
+ o.userLabels = buildUnnamed1714();
}
buildCounterOperation--;
return o;
@@ -854,15 +854,15 @@
unittest.expect(o.consumerId, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.importance, unittest.equals('foo'));
- checkUnnamed1694(o.labels);
- checkUnnamed1695(o.logEntries);
- checkUnnamed1696(o.metricValueSets);
+ checkUnnamed1711(o.labels);
+ checkUnnamed1712(o.logEntries);
+ checkUnnamed1713(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'));
unittest.expect(o.startTime, unittest.equals('foo'));
- checkUnnamed1697(o.userLabels);
+ checkUnnamed1714(o.userLabels);
}
buildCounterOperation--;
}
@@ -890,40 +890,40 @@
buildCounterQuotaError--;
}
-buildUnnamed1698() {
+buildUnnamed1715() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1698(core.List<core.String> o) {
+checkUnnamed1715(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1699() {
+buildUnnamed1716() {
var o = new core.Map<core.String, core.int>();
o["x"] = 42;
o["y"] = 42;
return o;
}
-checkUnnamed1699(core.Map<core.String, core.int> o) {
+checkUnnamed1716(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));
}
-buildUnnamed1700() {
+buildUnnamed1717() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1700(core.List<api.MetricValueSet> o) {
+checkUnnamed1717(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
@@ -934,9 +934,9 @@
var o = new api.QuotaInfo();
buildCounterQuotaInfo++;
if (buildCounterQuotaInfo < 3) {
- o.limitExceeded = buildUnnamed1698();
- o.quotaConsumed = buildUnnamed1699();
- o.quotaMetrics = buildUnnamed1700();
+ o.limitExceeded = buildUnnamed1715();
+ o.quotaConsumed = buildUnnamed1716();
+ o.quotaMetrics = buildUnnamed1717();
}
buildCounterQuotaInfo--;
return o;
@@ -945,34 +945,34 @@
checkQuotaInfo(api.QuotaInfo o) {
buildCounterQuotaInfo++;
if (buildCounterQuotaInfo < 3) {
- checkUnnamed1698(o.limitExceeded);
- checkUnnamed1699(o.quotaConsumed);
- checkUnnamed1700(o.quotaMetrics);
+ checkUnnamed1715(o.limitExceeded);
+ checkUnnamed1716(o.quotaConsumed);
+ checkUnnamed1717(o.quotaMetrics);
}
buildCounterQuotaInfo--;
}
-buildUnnamed1701() {
+buildUnnamed1718() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1701(core.Map<core.String, core.String> o) {
+checkUnnamed1718(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1702() {
+buildUnnamed1719() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1702(core.List<api.MetricValueSet> o) {
+checkUnnamed1719(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
@@ -984,10 +984,10 @@
buildCounterQuotaOperation++;
if (buildCounterQuotaOperation < 3) {
o.consumerId = "foo";
- o.labels = buildUnnamed1701();
+ o.labels = buildUnnamed1718();
o.methodName = "foo";
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1702();
+ o.quotaMetrics = buildUnnamed1719();
o.quotaMode = "foo";
}
buildCounterQuotaOperation--;
@@ -998,23 +998,23 @@
buildCounterQuotaOperation++;
if (buildCounterQuotaOperation < 3) {
unittest.expect(o.consumerId, unittest.equals('foo'));
- checkUnnamed1701(o.labels);
+ checkUnnamed1718(o.labels);
unittest.expect(o.methodName, unittest.equals('foo'));
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1702(o.quotaMetrics);
+ checkUnnamed1719(o.quotaMetrics);
unittest.expect(o.quotaMode, unittest.equals('foo'));
}
buildCounterQuotaOperation--;
}
-buildUnnamed1703() {
+buildUnnamed1720() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1703(core.Map<core.String, core.String> o) {
+checkUnnamed1720(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1025,7 +1025,7 @@
var o = new api.QuotaProperties();
buildCounterQuotaProperties++;
if (buildCounterQuotaProperties < 3) {
- o.limitByIds = buildUnnamed1703();
+ o.limitByIds = buildUnnamed1720();
o.quotaMode = "foo";
}
buildCounterQuotaProperties--;
@@ -1035,7 +1035,7 @@
checkQuotaProperties(api.QuotaProperties o) {
buildCounterQuotaProperties++;
if (buildCounterQuotaProperties < 3) {
- checkUnnamed1703(o.limitByIds);
+ checkUnnamed1720(o.limitByIds);
unittest.expect(o.quotaMode, unittest.equals('foo'));
}
buildCounterQuotaProperties--;
@@ -1062,27 +1062,27 @@
buildCounterReleaseQuotaRequest--;
}
-buildUnnamed1704() {
+buildUnnamed1721() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1704(core.List<api.MetricValueSet> o) {
+checkUnnamed1721(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed1705() {
+buildUnnamed1722() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1705(core.List<api.QuotaError> o) {
+checkUnnamed1722(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
@@ -1094,8 +1094,8 @@
buildCounterReleaseQuotaResponse++;
if (buildCounterReleaseQuotaResponse < 3) {
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1704();
- o.releaseErrors = buildUnnamed1705();
+ o.quotaMetrics = buildUnnamed1721();
+ o.releaseErrors = buildUnnamed1722();
o.serviceConfigId = "foo";
}
buildCounterReleaseQuotaResponse--;
@@ -1106,8 +1106,8 @@
buildCounterReleaseQuotaResponse++;
if (buildCounterReleaseQuotaResponse < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1704(o.quotaMetrics);
- checkUnnamed1705(o.releaseErrors);
+ checkUnnamed1721(o.quotaMetrics);
+ checkUnnamed1722(o.releaseErrors);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterReleaseQuotaResponse--;
@@ -1155,14 +1155,14 @@
buildCounterReportInfo--;
}
-buildUnnamed1706() {
+buildUnnamed1723() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1706(core.List<api.Operation> o) {
+checkUnnamed1723(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1173,7 +1173,7 @@
var o = new api.ReportRequest();
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- o.operations = buildUnnamed1706();
+ o.operations = buildUnnamed1723();
o.serviceConfigId = "foo";
}
buildCounterReportRequest--;
@@ -1183,33 +1183,33 @@
checkReportRequest(api.ReportRequest o) {
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- checkUnnamed1706(o.operations);
+ checkUnnamed1723(o.operations);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterReportRequest--;
}
-buildUnnamed1707() {
+buildUnnamed1724() {
var o = new core.List<api.ReportError>();
o.add(buildReportError());
o.add(buildReportError());
return o;
}
-checkUnnamed1707(core.List<api.ReportError> o) {
+checkUnnamed1724(core.List<api.ReportError> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportError(o[0]);
checkReportError(o[1]);
}
-buildUnnamed1708() {
+buildUnnamed1725() {
var o = new core.List<api.ReportInfo>();
o.add(buildReportInfo());
o.add(buildReportInfo());
return o;
}
-checkUnnamed1708(core.List<api.ReportInfo> o) {
+checkUnnamed1725(core.List<api.ReportInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportInfo(o[0]);
checkReportInfo(o[1]);
@@ -1220,8 +1220,8 @@
var o = new api.ReportResponse();
buildCounterReportResponse++;
if (buildCounterReportResponse < 3) {
- o.reportErrors = buildUnnamed1707();
- o.reportInfos = buildUnnamed1708();
+ o.reportErrors = buildUnnamed1724();
+ o.reportInfos = buildUnnamed1725();
o.serviceConfigId = "foo";
}
buildCounterReportResponse--;
@@ -1231,8 +1231,8 @@
checkReportResponse(api.ReportResponse o) {
buildCounterReportResponse++;
if (buildCounterReportResponse < 3) {
- checkUnnamed1707(o.reportErrors);
- checkUnnamed1708(o.reportInfos);
+ checkUnnamed1724(o.reportErrors);
+ checkUnnamed1725(o.reportInfos);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterReportResponse--;
@@ -1280,27 +1280,27 @@
buildCounterStartReconciliationRequest--;
}
-buildUnnamed1709() {
+buildUnnamed1726() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1709(core.List<api.MetricValueSet> o) {
+checkUnnamed1726(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed1710() {
+buildUnnamed1727() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1710(core.List<api.QuotaError> o) {
+checkUnnamed1727(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
@@ -1312,8 +1312,8 @@
buildCounterStartReconciliationResponse++;
if (buildCounterStartReconciliationResponse < 3) {
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1709();
- o.reconciliationErrors = buildUnnamed1710();
+ o.quotaMetrics = buildUnnamed1726();
+ o.reconciliationErrors = buildUnnamed1727();
o.serviceConfigId = "foo";
}
buildCounterStartReconciliationResponse--;
@@ -1324,37 +1324,37 @@
buildCounterStartReconciliationResponse++;
if (buildCounterStartReconciliationResponse < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1709(o.quotaMetrics);
- checkUnnamed1710(o.reconciliationErrors);
+ checkUnnamed1726(o.quotaMetrics);
+ checkUnnamed1727(o.reconciliationErrors);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterStartReconciliationResponse--;
}
-buildUnnamed1711() {
+buildUnnamed1728() {
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;
}
-checkUnnamed1711(core.Map<core.String, core.Object> o) {
+checkUnnamed1728(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed1712() {
+buildUnnamed1729() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1711());
- o.add(buildUnnamed1711());
+ o.add(buildUnnamed1728());
+ o.add(buildUnnamed1728());
return o;
}
-checkUnnamed1712(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1729(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1711(o[0]);
- checkUnnamed1711(o[1]);
+ checkUnnamed1728(o[0]);
+ checkUnnamed1728(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1363,7 +1363,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1712();
+ o.details = buildUnnamed1729();
o.message = "foo";
}
buildCounterStatus--;
@@ -1374,7 +1374,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1712(o.details);
+ checkUnnamed1729(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 6723bdc..22667e3 100644
--- a/generated/googleapis/test/servicemanagement/v1_test.dart
+++ b/generated/googleapis/test/servicemanagement/v1_test.dart
@@ -70,40 +70,40 @@
buildCounterAdvice--;
}
-buildUnnamed1124() {
+buildUnnamed1141() {
var o = new core.List<api.Method>();
o.add(buildMethod());
o.add(buildMethod());
return o;
}
-checkUnnamed1124(core.List<api.Method> o) {
+checkUnnamed1141(core.List<api.Method> o) {
unittest.expect(o, unittest.hasLength(2));
checkMethod(o[0]);
checkMethod(o[1]);
}
-buildUnnamed1125() {
+buildUnnamed1142() {
var o = new core.List<api.Mixin>();
o.add(buildMixin());
o.add(buildMixin());
return o;
}
-checkUnnamed1125(core.List<api.Mixin> o) {
+checkUnnamed1142(core.List<api.Mixin> o) {
unittest.expect(o, unittest.hasLength(2));
checkMixin(o[0]);
checkMixin(o[1]);
}
-buildUnnamed1126() {
+buildUnnamed1143() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1126(core.List<api.Option> o) {
+checkUnnamed1143(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -114,10 +114,10 @@
var o = new api.Api();
buildCounterApi++;
if (buildCounterApi < 3) {
- o.methods = buildUnnamed1124();
- o.mixins = buildUnnamed1125();
+ o.methods = buildUnnamed1141();
+ o.mixins = buildUnnamed1142();
o.name = "foo";
- o.options = buildUnnamed1126();
+ o.options = buildUnnamed1143();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
o.version = "foo";
@@ -129,10 +129,10 @@
checkApi(api.Api o) {
buildCounterApi++;
if (buildCounterApi < 3) {
- checkUnnamed1124(o.methods);
- checkUnnamed1125(o.mixins);
+ checkUnnamed1141(o.methods);
+ checkUnnamed1142(o.mixins);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1126(o.options);
+ checkUnnamed1143(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -140,27 +140,27 @@
buildCounterApi--;
}
-buildUnnamed1127() {
+buildUnnamed1144() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1127(core.List<api.AuditLogConfig> o) {
+checkUnnamed1144(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed1128() {
+buildUnnamed1145() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1128(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'));
@@ -171,8 +171,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed1127();
- o.exemptedMembers = buildUnnamed1128();
+ o.auditLogConfigs = buildUnnamed1144();
+ o.exemptedMembers = buildUnnamed1145();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -182,21 +182,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1127(o.auditLogConfigs);
- checkUnnamed1128(o.exemptedMembers);
+ checkUnnamed1144(o.auditLogConfigs);
+ checkUnnamed1145(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1129() {
+buildUnnamed1146() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1129(core.List<core.String> o) {
+checkUnnamed1146(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -207,7 +207,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed1129();
+ o.exemptedMembers = buildUnnamed1146();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -217,7 +217,7 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1129(o.exemptedMembers);
+ checkUnnamed1146(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
@@ -229,6 +229,7 @@
buildCounterAuthProvider++;
if (buildCounterAuthProvider < 3) {
o.audiences = "foo";
+ o.authorizationUrl = "foo";
o.id = "foo";
o.issuer = "foo";
o.jwksUri = "foo";
@@ -241,6 +242,7 @@
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'));
@@ -269,27 +271,27 @@
buildCounterAuthRequirement--;
}
-buildUnnamed1130() {
+buildUnnamed1147() {
var o = new core.List<api.AuthProvider>();
o.add(buildAuthProvider());
o.add(buildAuthProvider());
return o;
}
-checkUnnamed1130(core.List<api.AuthProvider> o) {
+checkUnnamed1147(core.List<api.AuthProvider> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthProvider(o[0]);
checkAuthProvider(o[1]);
}
-buildUnnamed1131() {
+buildUnnamed1148() {
var o = new core.List<api.AuthenticationRule>();
o.add(buildAuthenticationRule());
o.add(buildAuthenticationRule());
return o;
}
-checkUnnamed1131(core.List<api.AuthenticationRule> o) {
+checkUnnamed1148(core.List<api.AuthenticationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthenticationRule(o[0]);
checkAuthenticationRule(o[1]);
@@ -300,8 +302,8 @@
var o = new api.Authentication();
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- o.providers = buildUnnamed1130();
- o.rules = buildUnnamed1131();
+ o.providers = buildUnnamed1147();
+ o.rules = buildUnnamed1148();
}
buildCounterAuthentication--;
return o;
@@ -310,20 +312,20 @@
checkAuthentication(api.Authentication o) {
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- checkUnnamed1130(o.providers);
- checkUnnamed1131(o.rules);
+ checkUnnamed1147(o.providers);
+ checkUnnamed1148(o.rules);
}
buildCounterAuthentication--;
}
-buildUnnamed1132() {
+buildUnnamed1149() {
var o = new core.List<api.AuthRequirement>();
o.add(buildAuthRequirement());
o.add(buildAuthRequirement());
return o;
}
-checkUnnamed1132(core.List<api.AuthRequirement> o) {
+checkUnnamed1149(core.List<api.AuthRequirement> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthRequirement(o[0]);
checkAuthRequirement(o[1]);
@@ -337,7 +339,7 @@
o.allowWithoutCredential = true;
o.customAuth = buildCustomAuthRequirements();
o.oauth = buildOAuthRequirements();
- o.requirements = buildUnnamed1132();
+ o.requirements = buildUnnamed1149();
o.selector = "foo";
}
buildCounterAuthenticationRule--;
@@ -350,7 +352,7 @@
unittest.expect(o.allowWithoutCredential, unittest.isTrue);
checkCustomAuthRequirements(o.customAuth);
checkOAuthRequirements(o.oauth);
- checkUnnamed1132(o.requirements);
+ checkUnnamed1149(o.requirements);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterAuthenticationRule--;
@@ -375,14 +377,14 @@
buildCounterAuthorizationConfig--;
}
-buildUnnamed1133() {
+buildUnnamed1150() {
var o = new core.List<api.BackendRule>();
o.add(buildBackendRule());
o.add(buildBackendRule());
return o;
}
-checkUnnamed1133(core.List<api.BackendRule> o) {
+checkUnnamed1150(core.List<api.BackendRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendRule(o[0]);
checkBackendRule(o[1]);
@@ -393,7 +395,7 @@
var o = new api.Backend();
buildCounterBackend++;
if (buildCounterBackend < 3) {
- o.rules = buildUnnamed1133();
+ o.rules = buildUnnamed1150();
}
buildCounterBackend--;
return o;
@@ -402,7 +404,7 @@
checkBackend(api.Backend o) {
buildCounterBackend++;
if (buildCounterBackend < 3) {
- checkUnnamed1133(o.rules);
+ checkUnnamed1150(o.rules);
}
buildCounterBackend--;
}
@@ -432,14 +434,14 @@
buildCounterBackendRule--;
}
-buildUnnamed1134() {
+buildUnnamed1151() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1134(core.List<core.String> o) {
+checkUnnamed1151(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -451,7 +453,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed1134();
+ o.members = buildUnnamed1151();
o.role = "foo";
}
buildCounterBinding--;
@@ -462,20 +464,20 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed1134(o.members);
+ checkUnnamed1151(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed1135() {
+buildUnnamed1152() {
var o = new core.List<api.ConfigChange>();
o.add(buildConfigChange());
o.add(buildConfigChange());
return o;
}
-checkUnnamed1135(core.List<api.ConfigChange> o) {
+checkUnnamed1152(core.List<api.ConfigChange> o) {
unittest.expect(o, unittest.hasLength(2));
checkConfigChange(o[0]);
checkConfigChange(o[1]);
@@ -486,7 +488,7 @@
var o = new api.ChangeReport();
buildCounterChangeReport++;
if (buildCounterChangeReport < 3) {
- o.configChanges = buildUnnamed1135();
+ o.configChanges = buildUnnamed1152();
}
buildCounterChangeReport--;
return o;
@@ -495,7 +497,7 @@
checkChangeReport(api.ChangeReport o) {
buildCounterChangeReport++;
if (buildCounterChangeReport < 3) {
- checkUnnamed1135(o.configChanges);
+ checkUnnamed1152(o.configChanges);
}
buildCounterChangeReport--;
}
@@ -505,7 +507,6 @@
var o = new api.CloudAuditOptions();
buildCounterCloudAuditOptions++;
if (buildCounterCloudAuditOptions < 3) {
- o.isReadPermissionType = true;
o.logName = "foo";
}
buildCounterCloudAuditOptions--;
@@ -515,20 +516,19 @@
checkCloudAuditOptions(api.CloudAuditOptions o) {
buildCounterCloudAuditOptions++;
if (buildCounterCloudAuditOptions < 3) {
- unittest.expect(o.isReadPermissionType, unittest.isTrue);
unittest.expect(o.logName, unittest.equals('foo'));
}
buildCounterCloudAuditOptions--;
}
-buildUnnamed1136() {
+buildUnnamed1153() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1136(core.List<core.String> o) {
+checkUnnamed1153(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -544,7 +544,7 @@
o.svc = "foo";
o.sys = "foo";
o.value = "foo";
- o.values = buildUnnamed1136();
+ o.values = buildUnnamed1153();
}
buildCounterCondition--;
return o;
@@ -558,19 +558,19 @@
unittest.expect(o.svc, unittest.equals('foo'));
unittest.expect(o.sys, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
- checkUnnamed1136(o.values);
+ checkUnnamed1153(o.values);
}
buildCounterCondition--;
}
-buildUnnamed1137() {
+buildUnnamed1154() {
var o = new core.List<api.Advice>();
o.add(buildAdvice());
o.add(buildAdvice());
return o;
}
-checkUnnamed1137(core.List<api.Advice> o) {
+checkUnnamed1154(core.List<api.Advice> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvice(o[0]);
checkAdvice(o[1]);
@@ -581,7 +581,7 @@
var o = new api.ConfigChange();
buildCounterConfigChange++;
if (buildCounterConfigChange < 3) {
- o.advices = buildUnnamed1137();
+ o.advices = buildUnnamed1154();
o.changeType = "foo";
o.element = "foo";
o.newValue = "foo";
@@ -594,7 +594,7 @@
checkConfigChange(api.ConfigChange o) {
buildCounterConfigChange++;
if (buildCounterConfigChange < 3) {
- checkUnnamed1137(o.advices);
+ checkUnnamed1154(o.advices);
unittest.expect(o.changeType, unittest.equals('foo'));
unittest.expect(o.element, unittest.equals('foo'));
unittest.expect(o.newValue, unittest.equals('foo'));
@@ -645,14 +645,14 @@
buildCounterConfigRef--;
}
-buildUnnamed1138() {
+buildUnnamed1155() {
var o = new core.List<api.ConfigFile>();
o.add(buildConfigFile());
o.add(buildConfigFile());
return o;
}
-checkUnnamed1138(core.List<api.ConfigFile> o) {
+checkUnnamed1155(core.List<api.ConfigFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkConfigFile(o[0]);
checkConfigFile(o[1]);
@@ -663,7 +663,7 @@
var o = new api.ConfigSource();
buildCounterConfigSource++;
if (buildCounterConfigSource < 3) {
- o.files = buildUnnamed1138();
+ o.files = buildUnnamed1155();
o.id = "foo";
}
buildCounterConfigSource--;
@@ -673,20 +673,20 @@
checkConfigSource(api.ConfigSource o) {
buildCounterConfigSource++;
if (buildCounterConfigSource < 3) {
- checkUnnamed1138(o.files);
+ checkUnnamed1155(o.files);
unittest.expect(o.id, unittest.equals('foo'));
}
buildCounterConfigSource--;
}
-buildUnnamed1139() {
+buildUnnamed1156() {
var o = new core.List<api.ContextRule>();
o.add(buildContextRule());
o.add(buildContextRule());
return o;
}
-checkUnnamed1139(core.List<api.ContextRule> o) {
+checkUnnamed1156(core.List<api.ContextRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkContextRule(o[0]);
checkContextRule(o[1]);
@@ -697,7 +697,7 @@
var o = new api.Context();
buildCounterContext++;
if (buildCounterContext < 3) {
- o.rules = buildUnnamed1139();
+ o.rules = buildUnnamed1156();
}
buildCounterContext--;
return o;
@@ -706,32 +706,32 @@
checkContext(api.Context o) {
buildCounterContext++;
if (buildCounterContext < 3) {
- checkUnnamed1139(o.rules);
+ checkUnnamed1156(o.rules);
}
buildCounterContext--;
}
-buildUnnamed1140() {
+buildUnnamed1157() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1140(core.List<core.String> o) {
+checkUnnamed1157(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1141() {
+buildUnnamed1158() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1141(core.List<core.String> o) {
+checkUnnamed1158(core.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,8 +742,8 @@
var o = new api.ContextRule();
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- o.provided = buildUnnamed1140();
- o.requested = buildUnnamed1141();
+ o.provided = buildUnnamed1157();
+ o.requested = buildUnnamed1158();
o.selector = "foo";
}
buildCounterContextRule--;
@@ -753,8 +753,8 @@
checkContextRule(api.ContextRule o) {
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- checkUnnamed1140(o.provided);
- checkUnnamed1141(o.requested);
+ checkUnnamed1157(o.provided);
+ checkUnnamed1158(o.requested);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterContextRule--;
@@ -819,27 +819,27 @@
buildCounterCustomAuthRequirements--;
}
-buildUnnamed1142() {
+buildUnnamed1159() {
var o = new core.List<api.CustomErrorRule>();
o.add(buildCustomErrorRule());
o.add(buildCustomErrorRule());
return o;
}
-checkUnnamed1142(core.List<api.CustomErrorRule> o) {
+checkUnnamed1159(core.List<api.CustomErrorRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomErrorRule(o[0]);
checkCustomErrorRule(o[1]);
}
-buildUnnamed1143() {
+buildUnnamed1160() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1143(core.List<core.String> o) {
+checkUnnamed1160(core.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,8 +850,8 @@
var o = new api.CustomError();
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- o.rules = buildUnnamed1142();
- o.types = buildUnnamed1143();
+ o.rules = buildUnnamed1159();
+ o.types = buildUnnamed1160();
}
buildCounterCustomError--;
return o;
@@ -860,8 +860,8 @@
checkCustomError(api.CustomError o) {
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- checkUnnamed1142(o.rules);
- checkUnnamed1143(o.types);
+ checkUnnamed1159(o.rules);
+ checkUnnamed1160(o.types);
}
buildCounterCustomError--;
}
@@ -913,6 +913,7 @@
var o = new api.DataAccessOptions();
buildCounterDataAccessOptions++;
if (buildCounterDataAccessOptions < 3) {
+ o.logMode = "foo";
}
buildCounterDataAccessOptions--;
return o;
@@ -921,6 +922,7 @@
checkDataAccessOptions(api.DataAccessOptions o) {
buildCounterDataAccessOptions++;
if (buildCounterDataAccessOptions < 3) {
+ unittest.expect(o.logMode, unittest.equals('foo'));
}
buildCounterDataAccessOptions--;
}
@@ -984,27 +986,27 @@
buildCounterDisableServiceRequest--;
}
-buildUnnamed1144() {
+buildUnnamed1161() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1144(core.List<api.Page> o) {
+checkUnnamed1161(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1145() {
+buildUnnamed1162() {
var o = new core.List<api.DocumentationRule>();
o.add(buildDocumentationRule());
o.add(buildDocumentationRule());
return o;
}
-checkUnnamed1145(core.List<api.DocumentationRule> o) {
+checkUnnamed1162(core.List<api.DocumentationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkDocumentationRule(o[0]);
checkDocumentationRule(o[1]);
@@ -1017,8 +1019,8 @@
if (buildCounterDocumentation < 3) {
o.documentationRootUrl = "foo";
o.overview = "foo";
- o.pages = buildUnnamed1144();
- o.rules = buildUnnamed1145();
+ o.pages = buildUnnamed1161();
+ o.rules = buildUnnamed1162();
o.summary = "foo";
}
buildCounterDocumentation--;
@@ -1030,8 +1032,8 @@
if (buildCounterDocumentation < 3) {
unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
unittest.expect(o.overview, unittest.equals('foo'));
- checkUnnamed1144(o.pages);
- checkUnnamed1145(o.rules);
+ checkUnnamed1161(o.pages);
+ checkUnnamed1162(o.rules);
unittest.expect(o.summary, unittest.equals('foo'));
}
buildCounterDocumentation--;
@@ -1079,40 +1081,40 @@
buildCounterEnableServiceRequest--;
}
-buildUnnamed1146() {
+buildUnnamed1163() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1146(core.List<core.String> o) {
+checkUnnamed1163(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1147() {
+buildUnnamed1164() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1147(core.List<core.String> o) {
+checkUnnamed1164(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1148() {
+buildUnnamed1165() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1148(core.List<core.String> o) {
+checkUnnamed1165(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1123,10 +1125,10 @@
var o = new api.Endpoint();
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- o.aliases = buildUnnamed1146();
+ o.aliases = buildUnnamed1163();
o.allowCors = true;
- o.apis = buildUnnamed1147();
- o.features = buildUnnamed1148();
+ o.apis = buildUnnamed1164();
+ o.features = buildUnnamed1165();
o.name = "foo";
o.target = "foo";
}
@@ -1137,37 +1139,37 @@
checkEndpoint(api.Endpoint o) {
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- checkUnnamed1146(o.aliases);
+ checkUnnamed1163(o.aliases);
unittest.expect(o.allowCors, unittest.isTrue);
- checkUnnamed1147(o.apis);
- checkUnnamed1148(o.features);
+ checkUnnamed1164(o.apis);
+ checkUnnamed1165(o.features);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
}
buildCounterEndpoint--;
}
-buildUnnamed1149() {
+buildUnnamed1166() {
var o = new core.List<api.EnumValue>();
o.add(buildEnumValue());
o.add(buildEnumValue());
return o;
}
-checkUnnamed1149(core.List<api.EnumValue> o) {
+checkUnnamed1166(core.List<api.EnumValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnumValue(o[0]);
checkEnumValue(o[1]);
}
-buildUnnamed1150() {
+buildUnnamed1167() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1150(core.List<api.Option> o) {
+checkUnnamed1167(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1178,9 +1180,9 @@
var o = new api.Enum();
buildCounterEnum++;
if (buildCounterEnum < 3) {
- o.enumvalue = buildUnnamed1149();
+ o.enumvalue = buildUnnamed1166();
o.name = "foo";
- o.options = buildUnnamed1150();
+ o.options = buildUnnamed1167();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -1191,23 +1193,23 @@
checkEnum(api.Enum o) {
buildCounterEnum++;
if (buildCounterEnum < 3) {
- checkUnnamed1149(o.enumvalue);
+ checkUnnamed1166(o.enumvalue);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1150(o.options);
+ checkUnnamed1167(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
buildCounterEnum--;
}
-buildUnnamed1151() {
+buildUnnamed1168() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1151(core.List<api.Option> o) {
+checkUnnamed1168(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1220,7 +1222,7 @@
if (buildCounterEnumValue < 3) {
o.name = "foo";
o.number = 42;
- o.options = buildUnnamed1151();
+ o.options = buildUnnamed1168();
}
buildCounterEnumValue--;
return o;
@@ -1231,7 +1233,7 @@
if (buildCounterEnumValue < 3) {
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
- checkUnnamed1151(o.options);
+ checkUnnamed1168(o.options);
}
buildCounterEnumValue--;
}
@@ -1280,14 +1282,14 @@
buildCounterExpr--;
}
-buildUnnamed1152() {
+buildUnnamed1169() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1152(core.List<api.Option> o) {
+checkUnnamed1169(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1305,7 +1307,7 @@
o.name = "foo";
o.number = 42;
o.oneofIndex = 42;
- o.options = buildUnnamed1152();
+ o.options = buildUnnamed1169();
o.packed = true;
o.typeUrl = "foo";
}
@@ -1323,21 +1325,21 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
unittest.expect(o.oneofIndex, unittest.equals(42));
- checkUnnamed1152(o.options);
+ checkUnnamed1169(o.options);
unittest.expect(o.packed, unittest.isTrue);
unittest.expect(o.typeUrl, unittest.equals('foo'));
}
buildCounterField--;
}
-buildUnnamed1153() {
+buildUnnamed1170() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1153(core.List<core.String> o) {
+checkUnnamed1170(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1351,7 +1353,7 @@
o.cancelState = "foo";
o.deadline = "foo";
o.flowName = "foo";
- o.resourceNames = buildUnnamed1153();
+ o.resourceNames = buildUnnamed1170();
o.startTime = "foo";
}
buildCounterFlowOperationMetadata--;
@@ -1364,33 +1366,33 @@
unittest.expect(o.cancelState, unittest.equals('foo'));
unittest.expect(o.deadline, unittest.equals('foo'));
unittest.expect(o.flowName, unittest.equals('foo'));
- checkUnnamed1153(o.resourceNames);
+ checkUnnamed1170(o.resourceNames);
unittest.expect(o.startTime, unittest.equals('foo'));
}
buildCounterFlowOperationMetadata--;
}
-buildUnnamed1154() {
+buildUnnamed1171() {
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;
}
-checkUnnamed1154(core.Map<core.String, core.Object> o) {
+checkUnnamed1171(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'));
}
-buildUnnamed1155() {
+buildUnnamed1172() {
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;
}
-checkUnnamed1155(core.Map<core.String, core.Object> o) {
+checkUnnamed1172(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'));
@@ -1401,8 +1403,8 @@
var o = new api.GenerateConfigReportRequest();
buildCounterGenerateConfigReportRequest++;
if (buildCounterGenerateConfigReportRequest < 3) {
- o.newConfig = buildUnnamed1154();
- o.oldConfig = buildUnnamed1155();
+ o.newConfig = buildUnnamed1171();
+ o.oldConfig = buildUnnamed1172();
}
buildCounterGenerateConfigReportRequest--;
return o;
@@ -1411,33 +1413,33 @@
checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) {
buildCounterGenerateConfigReportRequest++;
if (buildCounterGenerateConfigReportRequest < 3) {
- checkUnnamed1154(o.newConfig);
- checkUnnamed1155(o.oldConfig);
+ checkUnnamed1171(o.newConfig);
+ checkUnnamed1172(o.oldConfig);
}
buildCounterGenerateConfigReportRequest--;
}
-buildUnnamed1156() {
+buildUnnamed1173() {
var o = new core.List<api.ChangeReport>();
o.add(buildChangeReport());
o.add(buildChangeReport());
return o;
}
-checkUnnamed1156(core.List<api.ChangeReport> o) {
+checkUnnamed1173(core.List<api.ChangeReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkChangeReport(o[0]);
checkChangeReport(o[1]);
}
-buildUnnamed1157() {
+buildUnnamed1174() {
var o = new core.List<api.Diagnostic>();
o.add(buildDiagnostic());
o.add(buildDiagnostic());
return o;
}
-checkUnnamed1157(core.List<api.Diagnostic> o) {
+checkUnnamed1174(core.List<api.Diagnostic> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiagnostic(o[0]);
checkDiagnostic(o[1]);
@@ -1448,8 +1450,8 @@
var o = new api.GenerateConfigReportResponse();
buildCounterGenerateConfigReportResponse++;
if (buildCounterGenerateConfigReportResponse < 3) {
- o.changeReports = buildUnnamed1156();
- o.diagnostics = buildUnnamed1157();
+ o.changeReports = buildUnnamed1173();
+ o.diagnostics = buildUnnamed1174();
o.id = "foo";
o.serviceName = "foo";
}
@@ -1460,8 +1462,8 @@
checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) {
buildCounterGenerateConfigReportResponse++;
if (buildCounterGenerateConfigReportResponse < 3) {
- checkUnnamed1156(o.changeReports);
- checkUnnamed1157(o.diagnostics);
+ checkUnnamed1173(o.changeReports);
+ checkUnnamed1174(o.diagnostics);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.serviceName, unittest.equals('foo'));
}
@@ -1485,14 +1487,14 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed1158() {
+buildUnnamed1175() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1158(core.List<api.HttpRule> o) {
+checkUnnamed1175(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -1504,7 +1506,7 @@
buildCounterHttp++;
if (buildCounterHttp < 3) {
o.fullyDecodeReservedExpansion = true;
- o.rules = buildUnnamed1158();
+ o.rules = buildUnnamed1175();
}
buildCounterHttp--;
return o;
@@ -1514,19 +1516,19 @@
buildCounterHttp++;
if (buildCounterHttp < 3) {
unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
- checkUnnamed1158(o.rules);
+ checkUnnamed1175(o.rules);
}
buildCounterHttp--;
}
-buildUnnamed1159() {
+buildUnnamed1176() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1159(core.List<api.HttpRule> o) {
+checkUnnamed1176(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -1537,7 +1539,7 @@
var o = new api.HttpRule();
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- o.additionalBindings = buildUnnamed1159();
+ o.additionalBindings = buildUnnamed1176();
o.body = "foo";
o.custom = buildCustomHttpPattern();
o.delete = "foo";
@@ -1548,8 +1550,6 @@
o.post = "foo";
o.put = "foo";
o.responseBody = "foo";
- o.restCollection = "foo";
- o.restMethodName = "foo";
o.selector = "foo";
}
buildCounterHttpRule--;
@@ -1559,7 +1559,7 @@
checkHttpRule(api.HttpRule o) {
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- checkUnnamed1159(o.additionalBindings);
+ checkUnnamed1176(o.additionalBindings);
unittest.expect(o.body, unittest.equals('foo'));
checkCustomHttpPattern(o.custom);
unittest.expect(o.delete, unittest.equals('foo'));
@@ -1570,8 +1570,6 @@
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--;
@@ -1600,14 +1598,14 @@
buildCounterLabelDescriptor--;
}
-buildUnnamed1160() {
+buildUnnamed1177() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1160(core.List<api.Operation> o) {
+checkUnnamed1177(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1619,7 +1617,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1160();
+ o.operations = buildUnnamed1177();
}
buildCounterListOperationsResponse--;
return o;
@@ -1629,19 +1627,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1160(o.operations);
+ checkUnnamed1177(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1161() {
+buildUnnamed1178() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed1161(core.List<api.Service> o) {
+checkUnnamed1178(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -1653,7 +1651,7 @@
buildCounterListServiceConfigsResponse++;
if (buildCounterListServiceConfigsResponse < 3) {
o.nextPageToken = "foo";
- o.serviceConfigs = buildUnnamed1161();
+ o.serviceConfigs = buildUnnamed1178();
}
buildCounterListServiceConfigsResponse--;
return o;
@@ -1663,19 +1661,19 @@
buildCounterListServiceConfigsResponse++;
if (buildCounterListServiceConfigsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1161(o.serviceConfigs);
+ checkUnnamed1178(o.serviceConfigs);
}
buildCounterListServiceConfigsResponse--;
}
-buildUnnamed1162() {
+buildUnnamed1179() {
var o = new core.List<api.Rollout>();
o.add(buildRollout());
o.add(buildRollout());
return o;
}
-checkUnnamed1162(core.List<api.Rollout> o) {
+checkUnnamed1179(core.List<api.Rollout> o) {
unittest.expect(o, unittest.hasLength(2));
checkRollout(o[0]);
checkRollout(o[1]);
@@ -1687,7 +1685,7 @@
buildCounterListServiceRolloutsResponse++;
if (buildCounterListServiceRolloutsResponse < 3) {
o.nextPageToken = "foo";
- o.rollouts = buildUnnamed1162();
+ o.rollouts = buildUnnamed1179();
}
buildCounterListServiceRolloutsResponse--;
return o;
@@ -1697,19 +1695,19 @@
buildCounterListServiceRolloutsResponse++;
if (buildCounterListServiceRolloutsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1162(o.rollouts);
+ checkUnnamed1179(o.rollouts);
}
buildCounterListServiceRolloutsResponse--;
}
-buildUnnamed1163() {
+buildUnnamed1180() {
var o = new core.List<api.ManagedService>();
o.add(buildManagedService());
o.add(buildManagedService());
return o;
}
-checkUnnamed1163(core.List<api.ManagedService> o) {
+checkUnnamed1180(core.List<api.ManagedService> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedService(o[0]);
checkManagedService(o[1]);
@@ -1721,7 +1719,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed1163();
+ o.services = buildUnnamed1180();
}
buildCounterListServicesResponse--;
return o;
@@ -1731,7 +1729,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1163(o.services);
+ checkUnnamed1180(o.services);
}
buildCounterListServicesResponse--;
}
@@ -1759,14 +1757,14 @@
buildCounterLogConfig--;
}
-buildUnnamed1164() {
+buildUnnamed1181() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1164(core.List<api.LabelDescriptor> o) {
+checkUnnamed1181(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1779,7 +1777,7 @@
if (buildCounterLogDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1164();
+ o.labels = buildUnnamed1181();
o.name = "foo";
}
buildCounterLogDescriptor--;
@@ -1791,33 +1789,33 @@
if (buildCounterLogDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1164(o.labels);
+ checkUnnamed1181(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLogDescriptor--;
}
-buildUnnamed1165() {
+buildUnnamed1182() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1165(core.List<api.LoggingDestination> o) {
+checkUnnamed1182(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
}
-buildUnnamed1166() {
+buildUnnamed1183() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1166(core.List<api.LoggingDestination> o) {
+checkUnnamed1183(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
@@ -1828,8 +1826,8 @@
var o = new api.Logging();
buildCounterLogging++;
if (buildCounterLogging < 3) {
- o.consumerDestinations = buildUnnamed1165();
- o.producerDestinations = buildUnnamed1166();
+ o.consumerDestinations = buildUnnamed1182();
+ o.producerDestinations = buildUnnamed1183();
}
buildCounterLogging--;
return o;
@@ -1838,20 +1836,20 @@
checkLogging(api.Logging o) {
buildCounterLogging++;
if (buildCounterLogging < 3) {
- checkUnnamed1165(o.consumerDestinations);
- checkUnnamed1166(o.producerDestinations);
+ checkUnnamed1182(o.consumerDestinations);
+ checkUnnamed1183(o.producerDestinations);
}
buildCounterLogging--;
}
-buildUnnamed1167() {
+buildUnnamed1184() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1167(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'));
@@ -1862,7 +1860,7 @@
var o = new api.LoggingDestination();
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- o.logs = buildUnnamed1167();
+ o.logs = buildUnnamed1184();
o.monitoredResource = "foo";
}
buildCounterLoggingDestination--;
@@ -1872,7 +1870,7 @@
checkLoggingDestination(api.LoggingDestination o) {
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- checkUnnamed1167(o.logs);
+ checkUnnamed1184(o.logs);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterLoggingDestination--;
@@ -1928,14 +1926,14 @@
buildCounterMediaDownload--;
}
-buildUnnamed1168() {
+buildUnnamed1185() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1168(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'));
@@ -1950,7 +1948,7 @@
o.dropzone = "foo";
o.enabled = true;
o.maxSize = "foo";
- o.mimeTypes = buildUnnamed1168();
+ o.mimeTypes = buildUnnamed1185();
o.progressNotification = true;
o.startNotification = true;
o.uploadService = "foo";
@@ -1966,7 +1964,7 @@
unittest.expect(o.dropzone, unittest.equals('foo'));
unittest.expect(o.enabled, unittest.isTrue);
unittest.expect(o.maxSize, unittest.equals('foo'));
- checkUnnamed1168(o.mimeTypes);
+ checkUnnamed1185(o.mimeTypes);
unittest.expect(o.progressNotification, unittest.isTrue);
unittest.expect(o.startNotification, unittest.isTrue);
unittest.expect(o.uploadService, unittest.equals('foo'));
@@ -1974,14 +1972,14 @@
buildCounterMediaUpload--;
}
-buildUnnamed1169() {
+buildUnnamed1186() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1169(core.List<api.Option> o) {
+checkUnnamed1186(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1993,7 +1991,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
o.name = "foo";
- o.options = buildUnnamed1169();
+ o.options = buildUnnamed1186();
o.requestStreaming = true;
o.requestTypeUrl = "foo";
o.responseStreaming = true;
@@ -2008,7 +2006,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1169(o.options);
+ checkUnnamed1186(o.options);
unittest.expect(o.requestStreaming, unittest.isTrue);
unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
unittest.expect(o.responseStreaming, unittest.isTrue);
@@ -2018,14 +2016,14 @@
buildCounterMethod--;
}
-buildUnnamed1170() {
+buildUnnamed1187() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1170(core.List<api.LabelDescriptor> o) {
+checkUnnamed1187(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -2038,7 +2036,7 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1170();
+ o.labels = buildUnnamed1187();
o.metricKind = "foo";
o.name = "foo";
o.type = "foo";
@@ -2054,7 +2052,7 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1170(o.labels);
+ checkUnnamed1187(o.labels);
unittest.expect(o.metricKind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -2064,14 +2062,14 @@
buildCounterMetricDescriptor--;
}
-buildUnnamed1171() {
+buildUnnamed1188() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1171(core.Map<core.String, core.String> o) {
+checkUnnamed1188(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2082,7 +2080,7 @@
var o = new api.MetricRule();
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- o.metricCosts = buildUnnamed1171();
+ o.metricCosts = buildUnnamed1188();
o.selector = "foo";
}
buildCounterMetricRule--;
@@ -2092,7 +2090,7 @@
checkMetricRule(api.MetricRule o) {
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- checkUnnamed1171(o.metricCosts);
+ checkUnnamed1188(o.metricCosts);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterMetricRule--;
@@ -2119,14 +2117,14 @@
buildCounterMixin--;
}
-buildUnnamed1172() {
+buildUnnamed1189() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1172(core.List<api.LabelDescriptor> o) {
+checkUnnamed1189(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -2139,7 +2137,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1172();
+ o.labels = buildUnnamed1189();
o.name = "foo";
o.type = "foo";
}
@@ -2152,34 +2150,34 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1172(o.labels);
+ checkUnnamed1189(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed1173() {
+buildUnnamed1190() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1173(core.List<api.MonitoringDestination> o) {
+checkUnnamed1190(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
}
-buildUnnamed1174() {
+buildUnnamed1191() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1174(core.List<api.MonitoringDestination> o) {
+checkUnnamed1191(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
@@ -2190,8 +2188,8 @@
var o = new api.Monitoring();
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- o.consumerDestinations = buildUnnamed1173();
- o.producerDestinations = buildUnnamed1174();
+ o.consumerDestinations = buildUnnamed1190();
+ o.producerDestinations = buildUnnamed1191();
}
buildCounterMonitoring--;
return o;
@@ -2200,20 +2198,20 @@
checkMonitoring(api.Monitoring o) {
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- checkUnnamed1173(o.consumerDestinations);
- checkUnnamed1174(o.producerDestinations);
+ checkUnnamed1190(o.consumerDestinations);
+ checkUnnamed1191(o.producerDestinations);
}
buildCounterMonitoring--;
}
-buildUnnamed1175() {
+buildUnnamed1192() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1175(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'));
@@ -2224,7 +2222,7 @@
var o = new api.MonitoringDestination();
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- o.metrics = buildUnnamed1175();
+ o.metrics = buildUnnamed1192();
o.monitoredResource = "foo";
}
buildCounterMonitoringDestination--;
@@ -2234,7 +2232,7 @@
checkMonitoringDestination(api.MonitoringDestination o) {
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- checkUnnamed1175(o.metrics);
+ checkUnnamed1192(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterMonitoringDestination--;
@@ -2259,27 +2257,27 @@
buildCounterOAuthRequirements--;
}
-buildUnnamed1176() {
+buildUnnamed1193() {
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;
}
-checkUnnamed1176(core.Map<core.String, core.Object> o) {
+checkUnnamed1193(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'));
}
-buildUnnamed1177() {
+buildUnnamed1194() {
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;
}
-checkUnnamed1177(core.Map<core.String, core.Object> o) {
+checkUnnamed1194(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'));
@@ -2292,9 +2290,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1176();
+ o.metadata = buildUnnamed1193();
o.name = "foo";
- o.response = buildUnnamed1177();
+ o.response = buildUnnamed1194();
}
buildCounterOperation--;
return o;
@@ -2305,34 +2303,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1176(o.metadata);
+ checkUnnamed1193(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1177(o.response);
+ checkUnnamed1194(o.response);
}
buildCounterOperation--;
}
-buildUnnamed1178() {
+buildUnnamed1195() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1178(core.List<core.String> o) {
+checkUnnamed1195(core.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() {
+buildUnnamed1196() {
var o = new core.List<api.Step>();
o.add(buildStep());
o.add(buildStep());
return o;
}
-checkUnnamed1179(core.List<api.Step> o) {
+checkUnnamed1196(core.List<api.Step> o) {
unittest.expect(o, unittest.hasLength(2));
checkStep(o[0]);
checkStep(o[1]);
@@ -2344,9 +2342,9 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
o.progressPercentage = 42;
- o.resourceNames = buildUnnamed1178();
+ o.resourceNames = buildUnnamed1195();
o.startTime = "foo";
- o.steps = buildUnnamed1179();
+ o.steps = buildUnnamed1196();
}
buildCounterOperationMetadata--;
return o;
@@ -2356,21 +2354,21 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
unittest.expect(o.progressPercentage, unittest.equals(42));
- checkUnnamed1178(o.resourceNames);
+ checkUnnamed1195(o.resourceNames);
unittest.expect(o.startTime, unittest.equals('foo'));
- checkUnnamed1179(o.steps);
+ checkUnnamed1196(o.steps);
}
buildCounterOperationMetadata--;
}
-buildUnnamed1180() {
+buildUnnamed1197() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed1180(core.Map<core.String, core.Object> o) {
+checkUnnamed1197(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'));
@@ -2382,7 +2380,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
o.name = "foo";
- o.value = buildUnnamed1180();
+ o.value = buildUnnamed1197();
}
buildCounterOption--;
return o;
@@ -2392,19 +2390,19 @@
buildCounterOption++;
if (buildCounterOption < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1180(o.value);
+ checkUnnamed1197(o.value);
}
buildCounterOption--;
}
-buildUnnamed1181() {
+buildUnnamed1198() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1181(core.List<api.Page> o) {
+checkUnnamed1198(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -2417,7 +2415,7 @@
if (buildCounterPage < 3) {
o.content = "foo";
o.name = "foo";
- o.subpages = buildUnnamed1181();
+ o.subpages = buildUnnamed1198();
}
buildCounterPage--;
return o;
@@ -2428,45 +2426,45 @@
if (buildCounterPage < 3) {
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1181(o.subpages);
+ checkUnnamed1198(o.subpages);
}
buildCounterPage--;
}
-buildUnnamed1182() {
+buildUnnamed1199() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1182(core.List<api.AuditConfig> o) {
+checkUnnamed1199(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1183() {
+buildUnnamed1200() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1183(core.List<api.Binding> o) {
+checkUnnamed1200(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
}
-buildUnnamed1184() {
+buildUnnamed1201() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed1184(core.List<api.Rule> o) {
+checkUnnamed1201(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -2477,11 +2475,11 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed1182();
- o.bindings = buildUnnamed1183();
+ o.auditConfigs = buildUnnamed1199();
+ o.bindings = buildUnnamed1200();
o.etag = "foo";
o.iamOwned = true;
- o.rules = buildUnnamed1184();
+ o.rules = buildUnnamed1201();
o.version = 42;
}
buildCounterPolicy--;
@@ -2491,37 +2489,37 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1182(o.auditConfigs);
- checkUnnamed1183(o.bindings);
+ checkUnnamed1199(o.auditConfigs);
+ checkUnnamed1200(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
- checkUnnamed1184(o.rules);
+ checkUnnamed1201(o.rules);
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed1185() {
+buildUnnamed1202() {
var o = new core.List<api.QuotaLimit>();
o.add(buildQuotaLimit());
o.add(buildQuotaLimit());
return o;
}
-checkUnnamed1185(core.List<api.QuotaLimit> o) {
+checkUnnamed1202(core.List<api.QuotaLimit> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaLimit(o[0]);
checkQuotaLimit(o[1]);
}
-buildUnnamed1186() {
+buildUnnamed1203() {
var o = new core.List<api.MetricRule>();
o.add(buildMetricRule());
o.add(buildMetricRule());
return o;
}
-checkUnnamed1186(core.List<api.MetricRule> o) {
+checkUnnamed1203(core.List<api.MetricRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricRule(o[0]);
checkMetricRule(o[1]);
@@ -2532,8 +2530,8 @@
var o = new api.Quota();
buildCounterQuota++;
if (buildCounterQuota < 3) {
- o.limits = buildUnnamed1185();
- o.metricRules = buildUnnamed1186();
+ o.limits = buildUnnamed1202();
+ o.metricRules = buildUnnamed1203();
}
buildCounterQuota--;
return o;
@@ -2542,20 +2540,20 @@
checkQuota(api.Quota o) {
buildCounterQuota++;
if (buildCounterQuota < 3) {
- checkUnnamed1185(o.limits);
- checkUnnamed1186(o.metricRules);
+ checkUnnamed1202(o.limits);
+ checkUnnamed1203(o.metricRules);
}
buildCounterQuota--;
}
-buildUnnamed1187() {
+buildUnnamed1204() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1187(core.Map<core.String, core.String> o) {
+checkUnnamed1204(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2575,7 +2573,7 @@
o.metric = "foo";
o.name = "foo";
o.unit = "foo";
- o.values = buildUnnamed1187();
+ o.values = buildUnnamed1204();
}
buildCounterQuotaLimit--;
return o;
@@ -2593,7 +2591,7 @@
unittest.expect(o.metric, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.unit, unittest.equals('foo'));
- checkUnnamed1187(o.values);
+ checkUnnamed1204(o.values);
}
buildCounterQuotaLimit--;
}
@@ -2629,66 +2627,66 @@
buildCounterRollout--;
}
-buildUnnamed1188() {
+buildUnnamed1205() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1188(core.List<api.Condition> o) {
+checkUnnamed1205(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1189() {
+buildUnnamed1206() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1189(core.List<core.String> o) {
+checkUnnamed1206(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1190() {
+buildUnnamed1207() {
var o = new core.List<api.LogConfig>();
o.add(buildLogConfig());
o.add(buildLogConfig());
return o;
}
-checkUnnamed1190(core.List<api.LogConfig> o) {
+checkUnnamed1207(core.List<api.LogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogConfig(o[0]);
checkLogConfig(o[1]);
}
-buildUnnamed1191() {
+buildUnnamed1208() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1191(core.List<core.String> o) {
+checkUnnamed1208(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1192() {
+buildUnnamed1209() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1192(core.List<core.String> o) {
+checkUnnamed1209(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2700,12 +2698,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.action = "foo";
- o.conditions = buildUnnamed1188();
+ o.conditions = buildUnnamed1205();
o.description = "foo";
- o.in_ = buildUnnamed1189();
- o.logConfig = buildUnnamed1190();
- o.notIn = buildUnnamed1191();
- o.permissions = buildUnnamed1192();
+ o.in_ = buildUnnamed1206();
+ o.logConfig = buildUnnamed1207();
+ o.notIn = buildUnnamed1208();
+ o.permissions = buildUnnamed1209();
}
buildCounterRule--;
return o;
@@ -2715,115 +2713,115 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed1188(o.conditions);
+ checkUnnamed1205(o.conditions);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1189(o.in_);
- checkUnnamed1190(o.logConfig);
- checkUnnamed1191(o.notIn);
- checkUnnamed1192(o.permissions);
+ checkUnnamed1206(o.in_);
+ checkUnnamed1207(o.logConfig);
+ checkUnnamed1208(o.notIn);
+ checkUnnamed1209(o.permissions);
}
buildCounterRule--;
}
-buildUnnamed1193() {
+buildUnnamed1210() {
var o = new core.List<api.Api>();
o.add(buildApi());
o.add(buildApi());
return o;
}
-checkUnnamed1193(core.List<api.Api> o) {
+checkUnnamed1210(core.List<api.Api> o) {
unittest.expect(o, unittest.hasLength(2));
checkApi(o[0]);
checkApi(o[1]);
}
-buildUnnamed1194() {
+buildUnnamed1211() {
var o = new core.List<api.Endpoint>();
o.add(buildEndpoint());
o.add(buildEndpoint());
return o;
}
-checkUnnamed1194(core.List<api.Endpoint> o) {
+checkUnnamed1211(core.List<api.Endpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkEndpoint(o[0]);
checkEndpoint(o[1]);
}
-buildUnnamed1195() {
+buildUnnamed1212() {
var o = new core.List<api.Enum>();
o.add(buildEnum());
o.add(buildEnum());
return o;
}
-checkUnnamed1195(core.List<api.Enum> o) {
+checkUnnamed1212(core.List<api.Enum> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnum(o[0]);
checkEnum(o[1]);
}
-buildUnnamed1196() {
+buildUnnamed1213() {
var o = new core.List<api.LogDescriptor>();
o.add(buildLogDescriptor());
o.add(buildLogDescriptor());
return o;
}
-checkUnnamed1196(core.List<api.LogDescriptor> o) {
+checkUnnamed1213(core.List<api.LogDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogDescriptor(o[0]);
checkLogDescriptor(o[1]);
}
-buildUnnamed1197() {
+buildUnnamed1214() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed1197(core.List<api.MetricDescriptor> o) {
+checkUnnamed1214(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
}
-buildUnnamed1198() {
+buildUnnamed1215() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed1198(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed1215(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
}
-buildUnnamed1199() {
+buildUnnamed1216() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1199(core.List<api.Type> o) {
+checkUnnamed1216(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
}
-buildUnnamed1200() {
+buildUnnamed1217() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1200(core.List<api.Type> o) {
+checkUnnamed1217(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
@@ -2834,7 +2832,7 @@
var o = new api.Service();
buildCounterService++;
if (buildCounterService < 3) {
- o.apis = buildUnnamed1193();
+ o.apis = buildUnnamed1210();
o.authentication = buildAuthentication();
o.backend = buildBackend();
o.configVersion = 42;
@@ -2842,24 +2840,24 @@
o.control = buildControl();
o.customError = buildCustomError();
o.documentation = buildDocumentation();
- o.endpoints = buildUnnamed1194();
- o.enums = buildUnnamed1195();
+ o.endpoints = buildUnnamed1211();
+ o.enums = buildUnnamed1212();
o.experimental = buildExperimental();
o.http = buildHttp();
o.id = "foo";
o.logging = buildLogging();
- o.logs = buildUnnamed1196();
- o.metrics = buildUnnamed1197();
- o.monitoredResources = buildUnnamed1198();
+ o.logs = buildUnnamed1213();
+ o.metrics = buildUnnamed1214();
+ o.monitoredResources = buildUnnamed1215();
o.monitoring = buildMonitoring();
o.name = "foo";
o.producerProjectId = "foo";
o.quota = buildQuota();
o.sourceInfo = buildSourceInfo();
o.systemParameters = buildSystemParameters();
- o.systemTypes = buildUnnamed1199();
+ o.systemTypes = buildUnnamed1216();
o.title = "foo";
- o.types = buildUnnamed1200();
+ o.types = buildUnnamed1217();
o.usage = buildUsage();
o.visibility = buildVisibility();
}
@@ -2870,7 +2868,7 @@
checkService(api.Service o) {
buildCounterService++;
if (buildCounterService < 3) {
- checkUnnamed1193(o.apis);
+ checkUnnamed1210(o.apis);
checkAuthentication(o.authentication);
checkBackend(o.backend);
unittest.expect(o.configVersion, unittest.equals(42));
@@ -2878,24 +2876,24 @@
checkControl(o.control);
checkCustomError(o.customError);
checkDocumentation(o.documentation);
- checkUnnamed1194(o.endpoints);
- checkUnnamed1195(o.enums);
+ checkUnnamed1211(o.endpoints);
+ checkUnnamed1212(o.enums);
checkExperimental(o.experimental);
checkHttp(o.http);
unittest.expect(o.id, unittest.equals('foo'));
checkLogging(o.logging);
- checkUnnamed1196(o.logs);
- checkUnnamed1197(o.metrics);
- checkUnnamed1198(o.monitoredResources);
+ checkUnnamed1213(o.logs);
+ checkUnnamed1214(o.metrics);
+ checkUnnamed1215(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);
- checkUnnamed1199(o.systemTypes);
+ checkUnnamed1216(o.systemTypes);
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1200(o.types);
+ checkUnnamed1217(o.types);
checkUsage(o.usage);
checkVisibility(o.visibility);
}
@@ -2942,30 +2940,30 @@
buildCounterSourceContext--;
}
-buildUnnamed1201() {
+buildUnnamed1218() {
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;
}
-checkUnnamed1201(core.Map<core.String, core.Object> o) {
+checkUnnamed1218(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed1202() {
+buildUnnamed1219() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1201());
- o.add(buildUnnamed1201());
+ o.add(buildUnnamed1218());
+ o.add(buildUnnamed1218());
return o;
}
-checkUnnamed1202(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1219(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1201(o[0]);
- checkUnnamed1201(o[1]);
+ checkUnnamed1218(o[0]);
+ checkUnnamed1218(o[1]);
}
core.int buildCounterSourceInfo = 0;
@@ -2973,7 +2971,7 @@
var o = new api.SourceInfo();
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- o.sourceFiles = buildUnnamed1202();
+ o.sourceFiles = buildUnnamed1219();
}
buildCounterSourceInfo--;
return o;
@@ -2982,35 +2980,35 @@
checkSourceInfo(api.SourceInfo o) {
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- checkUnnamed1202(o.sourceFiles);
+ checkUnnamed1219(o.sourceFiles);
}
buildCounterSourceInfo--;
}
-buildUnnamed1203() {
+buildUnnamed1220() {
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;
}
-checkUnnamed1203(core.Map<core.String, core.Object> o) {
+checkUnnamed1220(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["string"], unittest.equals('foo'));
var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["string"], unittest.equals('foo'));
}
-buildUnnamed1204() {
+buildUnnamed1221() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1203());
- o.add(buildUnnamed1203());
+ o.add(buildUnnamed1220());
+ o.add(buildUnnamed1220());
return o;
}
-checkUnnamed1204(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1221(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1203(o[0]);
- checkUnnamed1203(o[1]);
+ checkUnnamed1220(o[0]);
+ checkUnnamed1220(o[1]);
}
core.int buildCounterStatus = 0;
@@ -3019,7 +3017,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1204();
+ o.details = buildUnnamed1221();
o.message = "foo";
}
buildCounterStatus--;
@@ -3030,7 +3028,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1204(o.details);
+ checkUnnamed1221(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -3120,14 +3118,14 @@
buildCounterSystemParameter--;
}
-buildUnnamed1205() {
+buildUnnamed1222() {
var o = new core.List<api.SystemParameter>();
o.add(buildSystemParameter());
o.add(buildSystemParameter());
return o;
}
-checkUnnamed1205(core.List<api.SystemParameter> o) {
+checkUnnamed1222(core.List<api.SystemParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameter(o[0]);
checkSystemParameter(o[1]);
@@ -3138,7 +3136,7 @@
var o = new api.SystemParameterRule();
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- o.parameters = buildUnnamed1205();
+ o.parameters = buildUnnamed1222();
o.selector = "foo";
}
buildCounterSystemParameterRule--;
@@ -3148,20 +3146,20 @@
checkSystemParameterRule(api.SystemParameterRule o) {
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- checkUnnamed1205(o.parameters);
+ checkUnnamed1222(o.parameters);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterSystemParameterRule--;
}
-buildUnnamed1206() {
+buildUnnamed1223() {
var o = new core.List<api.SystemParameterRule>();
o.add(buildSystemParameterRule());
o.add(buildSystemParameterRule());
return o;
}
-checkUnnamed1206(core.List<api.SystemParameterRule> o) {
+checkUnnamed1223(core.List<api.SystemParameterRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameterRule(o[0]);
checkSystemParameterRule(o[1]);
@@ -3172,7 +3170,7 @@
var o = new api.SystemParameters();
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- o.rules = buildUnnamed1206();
+ o.rules = buildUnnamed1223();
}
buildCounterSystemParameters--;
return o;
@@ -3181,19 +3179,19 @@
checkSystemParameters(api.SystemParameters o) {
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- checkUnnamed1206(o.rules);
+ checkUnnamed1223(o.rules);
}
buildCounterSystemParameters--;
}
-buildUnnamed1207() {
+buildUnnamed1224() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1207(core.List<core.String> o) {
+checkUnnamed1224(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3204,7 +3202,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1207();
+ o.permissions = buildUnnamed1224();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -3213,19 +3211,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1207(o.permissions);
+ checkUnnamed1224(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1208() {
+buildUnnamed1225() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1208(core.List<core.String> o) {
+checkUnnamed1225(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3236,7 +3234,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1208();
+ o.permissions = buildUnnamed1225();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -3245,19 +3243,19 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1208(o.permissions);
+ checkUnnamed1225(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed1209() {
+buildUnnamed1226() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed1209(core.Map<core.String, core.double> o) {
+checkUnnamed1226(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));
@@ -3268,7 +3266,7 @@
var o = new api.TrafficPercentStrategy();
buildCounterTrafficPercentStrategy++;
if (buildCounterTrafficPercentStrategy < 3) {
- o.percentages = buildUnnamed1209();
+ o.percentages = buildUnnamed1226();
}
buildCounterTrafficPercentStrategy--;
return o;
@@ -3277,45 +3275,45 @@
checkTrafficPercentStrategy(api.TrafficPercentStrategy o) {
buildCounterTrafficPercentStrategy++;
if (buildCounterTrafficPercentStrategy < 3) {
- checkUnnamed1209(o.percentages);
+ checkUnnamed1226(o.percentages);
}
buildCounterTrafficPercentStrategy--;
}
-buildUnnamed1210() {
+buildUnnamed1227() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed1210(core.List<api.Field> o) {
+checkUnnamed1227(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
}
-buildUnnamed1211() {
+buildUnnamed1228() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1211(core.List<core.String> o) {
+checkUnnamed1228(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1212() {
+buildUnnamed1229() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1212(core.List<api.Option> o) {
+checkUnnamed1229(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -3326,10 +3324,10 @@
var o = new api.Type();
buildCounterType++;
if (buildCounterType < 3) {
- o.fields = buildUnnamed1210();
+ o.fields = buildUnnamed1227();
o.name = "foo";
- o.oneofs = buildUnnamed1211();
- o.options = buildUnnamed1212();
+ o.oneofs = buildUnnamed1228();
+ o.options = buildUnnamed1229();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -3340,10 +3338,10 @@
checkType(api.Type o) {
buildCounterType++;
if (buildCounterType < 3) {
- checkUnnamed1210(o.fields);
+ checkUnnamed1227(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1211(o.oneofs);
- checkUnnamed1212(o.options);
+ checkUnnamed1228(o.oneofs);
+ checkUnnamed1229(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
@@ -3369,27 +3367,27 @@
buildCounterUndeleteServiceResponse--;
}
-buildUnnamed1213() {
+buildUnnamed1230() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1213(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'));
}
-buildUnnamed1214() {
+buildUnnamed1231() {
var o = new core.List<api.UsageRule>();
o.add(buildUsageRule());
o.add(buildUsageRule());
return o;
}
-checkUnnamed1214(core.List<api.UsageRule> o) {
+checkUnnamed1231(core.List<api.UsageRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageRule(o[0]);
checkUsageRule(o[1]);
@@ -3401,8 +3399,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
o.producerNotificationChannel = "foo";
- o.requirements = buildUnnamed1213();
- o.rules = buildUnnamed1214();
+ o.requirements = buildUnnamed1230();
+ o.rules = buildUnnamed1231();
}
buildCounterUsage--;
return o;
@@ -3412,8 +3410,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
- checkUnnamed1213(o.requirements);
- checkUnnamed1214(o.rules);
+ checkUnnamed1230(o.requirements);
+ checkUnnamed1231(o.rules);
}
buildCounterUsage--;
}
@@ -3441,14 +3439,14 @@
buildCounterUsageRule--;
}
-buildUnnamed1215() {
+buildUnnamed1232() {
var o = new core.List<api.VisibilityRule>();
o.add(buildVisibilityRule());
o.add(buildVisibilityRule());
return o;
}
-checkUnnamed1215(core.List<api.VisibilityRule> o) {
+checkUnnamed1232(core.List<api.VisibilityRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkVisibilityRule(o[0]);
checkVisibilityRule(o[1]);
@@ -3459,7 +3457,7 @@
var o = new api.Visibility();
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- o.rules = buildUnnamed1215();
+ o.rules = buildUnnamed1232();
}
buildCounterVisibility--;
return o;
@@ -3468,7 +3466,7 @@
checkVisibility(api.Visibility o) {
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- checkUnnamed1215(o.rules);
+ checkUnnamed1232(o.rules);
}
buildCounterVisibility--;
}
@@ -4401,10 +4399,10 @@
var mock = new HttpServerMock();
api.OperationsResourceApi res = new api.ServicemanagementApi(mock).operations;
+ var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_name = "foo";
- var arg_pageSize = 42;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4431,10 +4429,10 @@
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["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -4443,7 +4441,7 @@
var resp = convert.JSON.encode(buildListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(filter: arg_filter, pageToken: arg_pageToken, name: arg_name, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
+ res.list(pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken, name: arg_name).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
@@ -4858,10 +4856,10 @@
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";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4888,10 +4886,10 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), 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));
var h = {
@@ -4900,7 +4898,7 @@
var resp = convert.JSON.encode(buildListServicesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(consumerId: arg_consumerId, pageToken: arg_pageToken, pageSize: arg_pageSize, producerProjectId: arg_producerProjectId).then(unittest.expectAsync1(((api.ListServicesResponse response) {
+ res.list(pageSize: arg_pageSize, producerProjectId: arg_producerProjectId, consumerId: arg_consumerId, pageToken: arg_pageToken).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 de9fb28..e7c13a3 100644
--- a/generated/googleapis/test/serviceuser/v1_test.dart
+++ b/generated/googleapis/test/serviceuser/v1_test.dart
@@ -51,40 +51,40 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1759() {
+buildUnnamed1776() {
var o = new core.List<api.Method>();
o.add(buildMethod());
o.add(buildMethod());
return o;
}
-checkUnnamed1759(core.List<api.Method> o) {
+checkUnnamed1776(core.List<api.Method> o) {
unittest.expect(o, unittest.hasLength(2));
checkMethod(o[0]);
checkMethod(o[1]);
}
-buildUnnamed1760() {
+buildUnnamed1777() {
var o = new core.List<api.Mixin>();
o.add(buildMixin());
o.add(buildMixin());
return o;
}
-checkUnnamed1760(core.List<api.Mixin> o) {
+checkUnnamed1777(core.List<api.Mixin> o) {
unittest.expect(o, unittest.hasLength(2));
checkMixin(o[0]);
checkMixin(o[1]);
}
-buildUnnamed1761() {
+buildUnnamed1778() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1761(core.List<api.Option> o) {
+checkUnnamed1778(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -95,10 +95,10 @@
var o = new api.Api();
buildCounterApi++;
if (buildCounterApi < 3) {
- o.methods = buildUnnamed1759();
- o.mixins = buildUnnamed1760();
+ o.methods = buildUnnamed1776();
+ o.mixins = buildUnnamed1777();
o.name = "foo";
- o.options = buildUnnamed1761();
+ o.options = buildUnnamed1778();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
o.version = "foo";
@@ -110,10 +110,10 @@
checkApi(api.Api o) {
buildCounterApi++;
if (buildCounterApi < 3) {
- checkUnnamed1759(o.methods);
- checkUnnamed1760(o.mixins);
+ checkUnnamed1776(o.methods);
+ checkUnnamed1777(o.mixins);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1761(o.options);
+ checkUnnamed1778(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -127,6 +127,7 @@
buildCounterAuthProvider++;
if (buildCounterAuthProvider < 3) {
o.audiences = "foo";
+ o.authorizationUrl = "foo";
o.id = "foo";
o.issuer = "foo";
o.jwksUri = "foo";
@@ -139,6 +140,7 @@
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'));
@@ -167,27 +169,27 @@
buildCounterAuthRequirement--;
}
-buildUnnamed1762() {
+buildUnnamed1779() {
var o = new core.List<api.AuthProvider>();
o.add(buildAuthProvider());
o.add(buildAuthProvider());
return o;
}
-checkUnnamed1762(core.List<api.AuthProvider> o) {
+checkUnnamed1779(core.List<api.AuthProvider> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthProvider(o[0]);
checkAuthProvider(o[1]);
}
-buildUnnamed1763() {
+buildUnnamed1780() {
var o = new core.List<api.AuthenticationRule>();
o.add(buildAuthenticationRule());
o.add(buildAuthenticationRule());
return o;
}
-checkUnnamed1763(core.List<api.AuthenticationRule> o) {
+checkUnnamed1780(core.List<api.AuthenticationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthenticationRule(o[0]);
checkAuthenticationRule(o[1]);
@@ -198,8 +200,8 @@
var o = new api.Authentication();
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- o.providers = buildUnnamed1762();
- o.rules = buildUnnamed1763();
+ o.providers = buildUnnamed1779();
+ o.rules = buildUnnamed1780();
}
buildCounterAuthentication--;
return o;
@@ -208,20 +210,20 @@
checkAuthentication(api.Authentication o) {
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- checkUnnamed1762(o.providers);
- checkUnnamed1763(o.rules);
+ checkUnnamed1779(o.providers);
+ checkUnnamed1780(o.rules);
}
buildCounterAuthentication--;
}
-buildUnnamed1764() {
+buildUnnamed1781() {
var o = new core.List<api.AuthRequirement>();
o.add(buildAuthRequirement());
o.add(buildAuthRequirement());
return o;
}
-checkUnnamed1764(core.List<api.AuthRequirement> o) {
+checkUnnamed1781(core.List<api.AuthRequirement> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthRequirement(o[0]);
checkAuthRequirement(o[1]);
@@ -235,7 +237,7 @@
o.allowWithoutCredential = true;
o.customAuth = buildCustomAuthRequirements();
o.oauth = buildOAuthRequirements();
- o.requirements = buildUnnamed1764();
+ o.requirements = buildUnnamed1781();
o.selector = "foo";
}
buildCounterAuthenticationRule--;
@@ -248,7 +250,7 @@
unittest.expect(o.allowWithoutCredential, unittest.isTrue);
checkCustomAuthRequirements(o.customAuth);
checkOAuthRequirements(o.oauth);
- checkUnnamed1764(o.requirements);
+ checkUnnamed1781(o.requirements);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterAuthenticationRule--;
@@ -273,14 +275,35 @@
buildCounterAuthorizationConfig--;
}
-buildUnnamed1765() {
+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--;
+}
+
+buildUnnamed1782() {
var o = new core.List<api.BackendRule>();
o.add(buildBackendRule());
o.add(buildBackendRule());
return o;
}
-checkUnnamed1765(core.List<api.BackendRule> o) {
+checkUnnamed1782(core.List<api.BackendRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendRule(o[0]);
checkBackendRule(o[1]);
@@ -291,7 +314,7 @@
var o = new api.Backend();
buildCounterBackend++;
if (buildCounterBackend < 3) {
- o.rules = buildUnnamed1765();
+ o.rules = buildUnnamed1782();
}
buildCounterBackend--;
return o;
@@ -300,7 +323,7 @@
checkBackend(api.Backend o) {
buildCounterBackend++;
if (buildCounterBackend < 3) {
- checkUnnamed1765(o.rules);
+ checkUnnamed1782(o.rules);
}
buildCounterBackend--;
}
@@ -330,14 +353,14 @@
buildCounterBackendRule--;
}
-buildUnnamed1766() {
+buildUnnamed1783() {
var o = new core.List<api.ContextRule>();
o.add(buildContextRule());
o.add(buildContextRule());
return o;
}
-checkUnnamed1766(core.List<api.ContextRule> o) {
+checkUnnamed1783(core.List<api.ContextRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkContextRule(o[0]);
checkContextRule(o[1]);
@@ -348,7 +371,7 @@
var o = new api.Context();
buildCounterContext++;
if (buildCounterContext < 3) {
- o.rules = buildUnnamed1766();
+ o.rules = buildUnnamed1783();
}
buildCounterContext--;
return o;
@@ -357,32 +380,32 @@
checkContext(api.Context o) {
buildCounterContext++;
if (buildCounterContext < 3) {
- checkUnnamed1766(o.rules);
+ checkUnnamed1783(o.rules);
}
buildCounterContext--;
}
-buildUnnamed1767() {
+buildUnnamed1784() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1767(core.List<core.String> o) {
+checkUnnamed1784(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1768() {
+buildUnnamed1785() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1768(core.List<core.String> o) {
+checkUnnamed1785(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -393,8 +416,8 @@
var o = new api.ContextRule();
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- o.provided = buildUnnamed1767();
- o.requested = buildUnnamed1768();
+ o.provided = buildUnnamed1784();
+ o.requested = buildUnnamed1785();
o.selector = "foo";
}
buildCounterContextRule--;
@@ -404,8 +427,8 @@
checkContextRule(api.ContextRule o) {
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- checkUnnamed1767(o.provided);
- checkUnnamed1768(o.requested);
+ checkUnnamed1784(o.provided);
+ checkUnnamed1785(o.requested);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterContextRule--;
@@ -449,27 +472,27 @@
buildCounterCustomAuthRequirements--;
}
-buildUnnamed1769() {
+buildUnnamed1786() {
var o = new core.List<api.CustomErrorRule>();
o.add(buildCustomErrorRule());
o.add(buildCustomErrorRule());
return o;
}
-checkUnnamed1769(core.List<api.CustomErrorRule> o) {
+checkUnnamed1786(core.List<api.CustomErrorRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomErrorRule(o[0]);
checkCustomErrorRule(o[1]);
}
-buildUnnamed1770() {
+buildUnnamed1787() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1770(core.List<core.String> o) {
+checkUnnamed1787(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -480,8 +503,8 @@
var o = new api.CustomError();
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- o.rules = buildUnnamed1769();
- o.types = buildUnnamed1770();
+ o.rules = buildUnnamed1786();
+ o.types = buildUnnamed1787();
}
buildCounterCustomError--;
return o;
@@ -490,8 +513,8 @@
checkCustomError(api.CustomError o) {
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- checkUnnamed1769(o.rules);
- checkUnnamed1770(o.types);
+ checkUnnamed1786(o.rules);
+ checkUnnamed1787(o.types);
}
buildCounterCustomError--;
}
@@ -555,27 +578,27 @@
buildCounterDisableServiceRequest--;
}
-buildUnnamed1771() {
+buildUnnamed1788() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1771(core.List<api.Page> o) {
+checkUnnamed1788(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1772() {
+buildUnnamed1789() {
var o = new core.List<api.DocumentationRule>();
o.add(buildDocumentationRule());
o.add(buildDocumentationRule());
return o;
}
-checkUnnamed1772(core.List<api.DocumentationRule> o) {
+checkUnnamed1789(core.List<api.DocumentationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkDocumentationRule(o[0]);
checkDocumentationRule(o[1]);
@@ -588,8 +611,8 @@
if (buildCounterDocumentation < 3) {
o.documentationRootUrl = "foo";
o.overview = "foo";
- o.pages = buildUnnamed1771();
- o.rules = buildUnnamed1772();
+ o.pages = buildUnnamed1788();
+ o.rules = buildUnnamed1789();
o.summary = "foo";
}
buildCounterDocumentation--;
@@ -601,8 +624,8 @@
if (buildCounterDocumentation < 3) {
unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
unittest.expect(o.overview, unittest.equals('foo'));
- checkUnnamed1771(o.pages);
- checkUnnamed1772(o.rules);
+ checkUnnamed1788(o.pages);
+ checkUnnamed1789(o.rules);
unittest.expect(o.summary, unittest.equals('foo'));
}
buildCounterDocumentation--;
@@ -648,40 +671,40 @@
buildCounterEnableServiceRequest--;
}
-buildUnnamed1773() {
+buildUnnamed1790() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1773(core.List<core.String> o) {
+checkUnnamed1790(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1774() {
+buildUnnamed1791() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1774(core.List<core.String> o) {
+checkUnnamed1791(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1775() {
+buildUnnamed1792() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1775(core.List<core.String> o) {
+checkUnnamed1792(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -692,10 +715,10 @@
var o = new api.Endpoint();
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- o.aliases = buildUnnamed1773();
+ o.aliases = buildUnnamed1790();
o.allowCors = true;
- o.apis = buildUnnamed1774();
- o.features = buildUnnamed1775();
+ o.apis = buildUnnamed1791();
+ o.features = buildUnnamed1792();
o.name = "foo";
o.target = "foo";
}
@@ -706,37 +729,37 @@
checkEndpoint(api.Endpoint o) {
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- checkUnnamed1773(o.aliases);
+ checkUnnamed1790(o.aliases);
unittest.expect(o.allowCors, unittest.isTrue);
- checkUnnamed1774(o.apis);
- checkUnnamed1775(o.features);
+ checkUnnamed1791(o.apis);
+ checkUnnamed1792(o.features);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
}
buildCounterEndpoint--;
}
-buildUnnamed1776() {
+buildUnnamed1793() {
var o = new core.List<api.EnumValue>();
o.add(buildEnumValue());
o.add(buildEnumValue());
return o;
}
-checkUnnamed1776(core.List<api.EnumValue> o) {
+checkUnnamed1793(core.List<api.EnumValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnumValue(o[0]);
checkEnumValue(o[1]);
}
-buildUnnamed1777() {
+buildUnnamed1794() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1777(core.List<api.Option> o) {
+checkUnnamed1794(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -747,9 +770,9 @@
var o = new api.Enum();
buildCounterEnum++;
if (buildCounterEnum < 3) {
- o.enumvalue = buildUnnamed1776();
+ o.enumvalue = buildUnnamed1793();
o.name = "foo";
- o.options = buildUnnamed1777();
+ o.options = buildUnnamed1794();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -760,23 +783,23 @@
checkEnum(api.Enum o) {
buildCounterEnum++;
if (buildCounterEnum < 3) {
- checkUnnamed1776(o.enumvalue);
+ checkUnnamed1793(o.enumvalue);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1777(o.options);
+ checkUnnamed1794(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
buildCounterEnum--;
}
-buildUnnamed1778() {
+buildUnnamed1795() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1778(core.List<api.Option> o) {
+checkUnnamed1795(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -789,7 +812,7 @@
if (buildCounterEnumValue < 3) {
o.name = "foo";
o.number = 42;
- o.options = buildUnnamed1778();
+ o.options = buildUnnamed1795();
}
buildCounterEnumValue--;
return o;
@@ -800,7 +823,7 @@
if (buildCounterEnumValue < 3) {
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
- checkUnnamed1778(o.options);
+ checkUnnamed1795(o.options);
}
buildCounterEnumValue--;
}
@@ -824,14 +847,14 @@
buildCounterExperimental--;
}
-buildUnnamed1779() {
+buildUnnamed1796() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1779(core.List<api.Option> o) {
+checkUnnamed1796(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -849,7 +872,7 @@
o.name = "foo";
o.number = 42;
o.oneofIndex = 42;
- o.options = buildUnnamed1779();
+ o.options = buildUnnamed1796();
o.packed = true;
o.typeUrl = "foo";
}
@@ -867,21 +890,21 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
unittest.expect(o.oneofIndex, unittest.equals(42));
- checkUnnamed1779(o.options);
+ checkUnnamed1796(o.options);
unittest.expect(o.packed, unittest.isTrue);
unittest.expect(o.typeUrl, unittest.equals('foo'));
}
buildCounterField--;
}
-buildUnnamed1780() {
+buildUnnamed1797() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1780(core.List<api.HttpRule> o) {
+checkUnnamed1797(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -893,7 +916,7 @@
buildCounterHttp++;
if (buildCounterHttp < 3) {
o.fullyDecodeReservedExpansion = true;
- o.rules = buildUnnamed1780();
+ o.rules = buildUnnamed1797();
}
buildCounterHttp--;
return o;
@@ -903,30 +926,44 @@
buildCounterHttp++;
if (buildCounterHttp < 3) {
unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
- checkUnnamed1780(o.rules);
+ checkUnnamed1797(o.rules);
}
buildCounterHttp--;
}
-buildUnnamed1781() {
+buildUnnamed1798() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1781(core.List<api.HttpRule> o) {
+checkUnnamed1798(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
}
+buildUnnamed1799() {
+ var o = new core.List<api.AuthorizationRule>();
+ o.add(buildAuthorizationRule());
+ o.add(buildAuthorizationRule());
+ return o;
+}
+
+checkUnnamed1799(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 = buildUnnamed1781();
+ o.additionalBindings = buildUnnamed1798();
+ o.authorizations = buildUnnamed1799();
o.body = "foo";
o.custom = buildCustomHttpPattern();
o.delete = "foo";
@@ -948,7 +985,8 @@
checkHttpRule(api.HttpRule o) {
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- checkUnnamed1781(o.additionalBindings);
+ checkUnnamed1798(o.additionalBindings);
+ checkUnnamed1799(o.authorizations);
unittest.expect(o.body, unittest.equals('foo'));
checkCustomHttpPattern(o.custom);
unittest.expect(o.delete, unittest.equals('foo'));
@@ -989,14 +1027,14 @@
buildCounterLabelDescriptor--;
}
-buildUnnamed1782() {
+buildUnnamed1800() {
var o = new core.List<api.PublishedService>();
o.add(buildPublishedService());
o.add(buildPublishedService());
return o;
}
-checkUnnamed1782(core.List<api.PublishedService> o) {
+checkUnnamed1800(core.List<api.PublishedService> o) {
unittest.expect(o, unittest.hasLength(2));
checkPublishedService(o[0]);
checkPublishedService(o[1]);
@@ -1008,7 +1046,7 @@
buildCounterListEnabledServicesResponse++;
if (buildCounterListEnabledServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed1782();
+ o.services = buildUnnamed1800();
}
buildCounterListEnabledServicesResponse--;
return o;
@@ -1018,19 +1056,19 @@
buildCounterListEnabledServicesResponse++;
if (buildCounterListEnabledServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1782(o.services);
+ checkUnnamed1800(o.services);
}
buildCounterListEnabledServicesResponse--;
}
-buildUnnamed1783() {
+buildUnnamed1801() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1783(core.List<api.LabelDescriptor> o) {
+checkUnnamed1801(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1043,7 +1081,7 @@
if (buildCounterLogDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1783();
+ o.labels = buildUnnamed1801();
o.name = "foo";
}
buildCounterLogDescriptor--;
@@ -1055,33 +1093,33 @@
if (buildCounterLogDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1783(o.labels);
+ checkUnnamed1801(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLogDescriptor--;
}
-buildUnnamed1784() {
+buildUnnamed1802() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1784(core.List<api.LoggingDestination> o) {
+checkUnnamed1802(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
}
-buildUnnamed1785() {
+buildUnnamed1803() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1785(core.List<api.LoggingDestination> o) {
+checkUnnamed1803(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
@@ -1092,8 +1130,8 @@
var o = new api.Logging();
buildCounterLogging++;
if (buildCounterLogging < 3) {
- o.consumerDestinations = buildUnnamed1784();
- o.producerDestinations = buildUnnamed1785();
+ o.consumerDestinations = buildUnnamed1802();
+ o.producerDestinations = buildUnnamed1803();
}
buildCounterLogging--;
return o;
@@ -1102,20 +1140,20 @@
checkLogging(api.Logging o) {
buildCounterLogging++;
if (buildCounterLogging < 3) {
- checkUnnamed1784(o.consumerDestinations);
- checkUnnamed1785(o.producerDestinations);
+ checkUnnamed1802(o.consumerDestinations);
+ checkUnnamed1803(o.producerDestinations);
}
buildCounterLogging--;
}
-buildUnnamed1786() {
+buildUnnamed1804() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1786(core.List<core.String> o) {
+checkUnnamed1804(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1126,7 +1164,7 @@
var o = new api.LoggingDestination();
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- o.logs = buildUnnamed1786();
+ o.logs = buildUnnamed1804();
o.monitoredResource = "foo";
}
buildCounterLoggingDestination--;
@@ -1136,7 +1174,7 @@
checkLoggingDestination(api.LoggingDestination o) {
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- checkUnnamed1786(o.logs);
+ checkUnnamed1804(o.logs);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterLoggingDestination--;
@@ -1171,14 +1209,14 @@
buildCounterMediaDownload--;
}
-buildUnnamed1787() {
+buildUnnamed1805() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1787(core.List<core.String> o) {
+checkUnnamed1805(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1193,7 +1231,7 @@
o.dropzone = "foo";
o.enabled = true;
o.maxSize = "foo";
- o.mimeTypes = buildUnnamed1787();
+ o.mimeTypes = buildUnnamed1805();
o.progressNotification = true;
o.startNotification = true;
o.uploadService = "foo";
@@ -1209,7 +1247,7 @@
unittest.expect(o.dropzone, unittest.equals('foo'));
unittest.expect(o.enabled, unittest.isTrue);
unittest.expect(o.maxSize, unittest.equals('foo'));
- checkUnnamed1787(o.mimeTypes);
+ checkUnnamed1805(o.mimeTypes);
unittest.expect(o.progressNotification, unittest.isTrue);
unittest.expect(o.startNotification, unittest.isTrue);
unittest.expect(o.uploadService, unittest.equals('foo'));
@@ -1217,14 +1255,14 @@
buildCounterMediaUpload--;
}
-buildUnnamed1788() {
+buildUnnamed1806() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1788(core.List<api.Option> o) {
+checkUnnamed1806(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1236,7 +1274,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
o.name = "foo";
- o.options = buildUnnamed1788();
+ o.options = buildUnnamed1806();
o.requestStreaming = true;
o.requestTypeUrl = "foo";
o.responseStreaming = true;
@@ -1251,7 +1289,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1788(o.options);
+ checkUnnamed1806(o.options);
unittest.expect(o.requestStreaming, unittest.isTrue);
unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
unittest.expect(o.responseStreaming, unittest.isTrue);
@@ -1261,14 +1299,14 @@
buildCounterMethod--;
}
-buildUnnamed1789() {
+buildUnnamed1807() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1789(core.List<api.LabelDescriptor> o) {
+checkUnnamed1807(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1281,7 +1319,7 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1789();
+ o.labels = buildUnnamed1807();
o.metricKind = "foo";
o.name = "foo";
o.type = "foo";
@@ -1297,7 +1335,7 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1789(o.labels);
+ checkUnnamed1807(o.labels);
unittest.expect(o.metricKind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -1307,14 +1345,14 @@
buildCounterMetricDescriptor--;
}
-buildUnnamed1790() {
+buildUnnamed1808() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1790(core.Map<core.String, core.String> o) {
+checkUnnamed1808(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1325,7 +1363,7 @@
var o = new api.MetricRule();
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- o.metricCosts = buildUnnamed1790();
+ o.metricCosts = buildUnnamed1808();
o.selector = "foo";
}
buildCounterMetricRule--;
@@ -1335,7 +1373,7 @@
checkMetricRule(api.MetricRule o) {
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- checkUnnamed1790(o.metricCosts);
+ checkUnnamed1808(o.metricCosts);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterMetricRule--;
@@ -1362,14 +1400,14 @@
buildCounterMixin--;
}
-buildUnnamed1791() {
+buildUnnamed1809() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1791(core.List<api.LabelDescriptor> o) {
+checkUnnamed1809(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1382,7 +1420,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1791();
+ o.labels = buildUnnamed1809();
o.name = "foo";
o.type = "foo";
}
@@ -1395,34 +1433,34 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1791(o.labels);
+ checkUnnamed1809(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed1792() {
+buildUnnamed1810() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1792(core.List<api.MonitoringDestination> o) {
+checkUnnamed1810(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
}
-buildUnnamed1793() {
+buildUnnamed1811() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1793(core.List<api.MonitoringDestination> o) {
+checkUnnamed1811(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
@@ -1433,8 +1471,8 @@
var o = new api.Monitoring();
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- o.consumerDestinations = buildUnnamed1792();
- o.producerDestinations = buildUnnamed1793();
+ o.consumerDestinations = buildUnnamed1810();
+ o.producerDestinations = buildUnnamed1811();
}
buildCounterMonitoring--;
return o;
@@ -1443,20 +1481,20 @@
checkMonitoring(api.Monitoring o) {
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- checkUnnamed1792(o.consumerDestinations);
- checkUnnamed1793(o.producerDestinations);
+ checkUnnamed1810(o.consumerDestinations);
+ checkUnnamed1811(o.producerDestinations);
}
buildCounterMonitoring--;
}
-buildUnnamed1794() {
+buildUnnamed1812() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1794(core.List<core.String> o) {
+checkUnnamed1812(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1467,7 +1505,7 @@
var o = new api.MonitoringDestination();
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- o.metrics = buildUnnamed1794();
+ o.metrics = buildUnnamed1812();
o.monitoredResource = "foo";
}
buildCounterMonitoringDestination--;
@@ -1477,7 +1515,7 @@
checkMonitoringDestination(api.MonitoringDestination o) {
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- checkUnnamed1794(o.metrics);
+ checkUnnamed1812(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterMonitoringDestination--;
@@ -1502,27 +1540,27 @@
buildCounterOAuthRequirements--;
}
-buildUnnamed1795() {
+buildUnnamed1813() {
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;
}
-checkUnnamed1795(core.Map<core.String, core.Object> o) {
+checkUnnamed1813(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'));
}
-buildUnnamed1796() {
+buildUnnamed1814() {
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;
}
-checkUnnamed1796(core.Map<core.String, core.Object> o) {
+checkUnnamed1814(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'));
@@ -1535,9 +1573,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1795();
+ o.metadata = buildUnnamed1813();
o.name = "foo";
- o.response = buildUnnamed1796();
+ o.response = buildUnnamed1814();
}
buildCounterOperation--;
return o;
@@ -1548,34 +1586,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1795(o.metadata);
+ checkUnnamed1813(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1796(o.response);
+ checkUnnamed1814(o.response);
}
buildCounterOperation--;
}
-buildUnnamed1797() {
+buildUnnamed1815() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1797(core.List<core.String> o) {
+checkUnnamed1815(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1798() {
+buildUnnamed1816() {
var o = new core.List<api.Step>();
o.add(buildStep());
o.add(buildStep());
return o;
}
-checkUnnamed1798(core.List<api.Step> o) {
+checkUnnamed1816(core.List<api.Step> o) {
unittest.expect(o, unittest.hasLength(2));
checkStep(o[0]);
checkStep(o[1]);
@@ -1587,9 +1625,9 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
o.progressPercentage = 42;
- o.resourceNames = buildUnnamed1797();
+ o.resourceNames = buildUnnamed1815();
o.startTime = "foo";
- o.steps = buildUnnamed1798();
+ o.steps = buildUnnamed1816();
}
buildCounterOperationMetadata--;
return o;
@@ -1599,21 +1637,21 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
unittest.expect(o.progressPercentage, unittest.equals(42));
- checkUnnamed1797(o.resourceNames);
+ checkUnnamed1815(o.resourceNames);
unittest.expect(o.startTime, unittest.equals('foo'));
- checkUnnamed1798(o.steps);
+ checkUnnamed1816(o.steps);
}
buildCounterOperationMetadata--;
}
-buildUnnamed1799() {
+buildUnnamed1817() {
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;
}
-checkUnnamed1799(core.Map<core.String, core.Object> o) {
+checkUnnamed1817(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'));
@@ -1625,7 +1663,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
o.name = "foo";
- o.value = buildUnnamed1799();
+ o.value = buildUnnamed1817();
}
buildCounterOption--;
return o;
@@ -1635,19 +1673,19 @@
buildCounterOption++;
if (buildCounterOption < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1799(o.value);
+ checkUnnamed1817(o.value);
}
buildCounterOption--;
}
-buildUnnamed1800() {
+buildUnnamed1818() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1800(core.List<api.Page> o) {
+checkUnnamed1818(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -1660,7 +1698,7 @@
if (buildCounterPage < 3) {
o.content = "foo";
o.name = "foo";
- o.subpages = buildUnnamed1800();
+ o.subpages = buildUnnamed1818();
}
buildCounterPage--;
return o;
@@ -1671,7 +1709,7 @@
if (buildCounterPage < 3) {
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1800(o.subpages);
+ checkUnnamed1818(o.subpages);
}
buildCounterPage--;
}
@@ -1697,27 +1735,27 @@
buildCounterPublishedService--;
}
-buildUnnamed1801() {
+buildUnnamed1819() {
var o = new core.List<api.QuotaLimit>();
o.add(buildQuotaLimit());
o.add(buildQuotaLimit());
return o;
}
-checkUnnamed1801(core.List<api.QuotaLimit> o) {
+checkUnnamed1819(core.List<api.QuotaLimit> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaLimit(o[0]);
checkQuotaLimit(o[1]);
}
-buildUnnamed1802() {
+buildUnnamed1820() {
var o = new core.List<api.MetricRule>();
o.add(buildMetricRule());
o.add(buildMetricRule());
return o;
}
-checkUnnamed1802(core.List<api.MetricRule> o) {
+checkUnnamed1820(core.List<api.MetricRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricRule(o[0]);
checkMetricRule(o[1]);
@@ -1728,8 +1766,8 @@
var o = new api.Quota();
buildCounterQuota++;
if (buildCounterQuota < 3) {
- o.limits = buildUnnamed1801();
- o.metricRules = buildUnnamed1802();
+ o.limits = buildUnnamed1819();
+ o.metricRules = buildUnnamed1820();
}
buildCounterQuota--;
return o;
@@ -1738,20 +1776,20 @@
checkQuota(api.Quota o) {
buildCounterQuota++;
if (buildCounterQuota < 3) {
- checkUnnamed1801(o.limits);
- checkUnnamed1802(o.metricRules);
+ checkUnnamed1819(o.limits);
+ checkUnnamed1820(o.metricRules);
}
buildCounterQuota--;
}
-buildUnnamed1803() {
+buildUnnamed1821() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1803(core.Map<core.String, core.String> o) {
+checkUnnamed1821(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1771,7 +1809,7 @@
o.metric = "foo";
o.name = "foo";
o.unit = "foo";
- o.values = buildUnnamed1803();
+ o.values = buildUnnamed1821();
}
buildCounterQuotaLimit--;
return o;
@@ -1789,19 +1827,19 @@
unittest.expect(o.metric, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.unit, unittest.equals('foo'));
- checkUnnamed1803(o.values);
+ checkUnnamed1821(o.values);
}
buildCounterQuotaLimit--;
}
-buildUnnamed1804() {
+buildUnnamed1822() {
var o = new core.List<api.PublishedService>();
o.add(buildPublishedService());
o.add(buildPublishedService());
return o;
}
-checkUnnamed1804(core.List<api.PublishedService> o) {
+checkUnnamed1822(core.List<api.PublishedService> o) {
unittest.expect(o, unittest.hasLength(2));
checkPublishedService(o[0]);
checkPublishedService(o[1]);
@@ -1813,7 +1851,7 @@
buildCounterSearchServicesResponse++;
if (buildCounterSearchServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed1804();
+ o.services = buildUnnamed1822();
}
buildCounterSearchServicesResponse--;
return o;
@@ -1823,110 +1861,110 @@
buildCounterSearchServicesResponse++;
if (buildCounterSearchServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1804(o.services);
+ checkUnnamed1822(o.services);
}
buildCounterSearchServicesResponse--;
}
-buildUnnamed1805() {
+buildUnnamed1823() {
var o = new core.List<api.Api>();
o.add(buildApi());
o.add(buildApi());
return o;
}
-checkUnnamed1805(core.List<api.Api> o) {
+checkUnnamed1823(core.List<api.Api> o) {
unittest.expect(o, unittest.hasLength(2));
checkApi(o[0]);
checkApi(o[1]);
}
-buildUnnamed1806() {
+buildUnnamed1824() {
var o = new core.List<api.Endpoint>();
o.add(buildEndpoint());
o.add(buildEndpoint());
return o;
}
-checkUnnamed1806(core.List<api.Endpoint> o) {
+checkUnnamed1824(core.List<api.Endpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkEndpoint(o[0]);
checkEndpoint(o[1]);
}
-buildUnnamed1807() {
+buildUnnamed1825() {
var o = new core.List<api.Enum>();
o.add(buildEnum());
o.add(buildEnum());
return o;
}
-checkUnnamed1807(core.List<api.Enum> o) {
+checkUnnamed1825(core.List<api.Enum> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnum(o[0]);
checkEnum(o[1]);
}
-buildUnnamed1808() {
+buildUnnamed1826() {
var o = new core.List<api.LogDescriptor>();
o.add(buildLogDescriptor());
o.add(buildLogDescriptor());
return o;
}
-checkUnnamed1808(core.List<api.LogDescriptor> o) {
+checkUnnamed1826(core.List<api.LogDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogDescriptor(o[0]);
checkLogDescriptor(o[1]);
}
-buildUnnamed1809() {
+buildUnnamed1827() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed1809(core.List<api.MetricDescriptor> o) {
+checkUnnamed1827(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
}
-buildUnnamed1810() {
+buildUnnamed1828() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed1810(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed1828(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
}
-buildUnnamed1811() {
+buildUnnamed1829() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1811(core.List<api.Type> o) {
+checkUnnamed1829(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
}
-buildUnnamed1812() {
+buildUnnamed1830() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1812(core.List<api.Type> o) {
+checkUnnamed1830(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
@@ -1937,7 +1975,7 @@
var o = new api.Service();
buildCounterService++;
if (buildCounterService < 3) {
- o.apis = buildUnnamed1805();
+ o.apis = buildUnnamed1823();
o.authentication = buildAuthentication();
o.backend = buildBackend();
o.configVersion = 42;
@@ -1945,24 +1983,24 @@
o.control = buildControl();
o.customError = buildCustomError();
o.documentation = buildDocumentation();
- o.endpoints = buildUnnamed1806();
- o.enums = buildUnnamed1807();
+ o.endpoints = buildUnnamed1824();
+ o.enums = buildUnnamed1825();
o.experimental = buildExperimental();
o.http = buildHttp();
o.id = "foo";
o.logging = buildLogging();
- o.logs = buildUnnamed1808();
- o.metrics = buildUnnamed1809();
- o.monitoredResources = buildUnnamed1810();
+ o.logs = buildUnnamed1826();
+ o.metrics = buildUnnamed1827();
+ o.monitoredResources = buildUnnamed1828();
o.monitoring = buildMonitoring();
o.name = "foo";
o.producerProjectId = "foo";
o.quota = buildQuota();
o.sourceInfo = buildSourceInfo();
o.systemParameters = buildSystemParameters();
- o.systemTypes = buildUnnamed1811();
+ o.systemTypes = buildUnnamed1829();
o.title = "foo";
- o.types = buildUnnamed1812();
+ o.types = buildUnnamed1830();
o.usage = buildUsage();
o.visibility = buildVisibility();
}
@@ -1973,7 +2011,7 @@
checkService(api.Service o) {
buildCounterService++;
if (buildCounterService < 3) {
- checkUnnamed1805(o.apis);
+ checkUnnamed1823(o.apis);
checkAuthentication(o.authentication);
checkBackend(o.backend);
unittest.expect(o.configVersion, unittest.equals(42));
@@ -1981,24 +2019,24 @@
checkControl(o.control);
checkCustomError(o.customError);
checkDocumentation(o.documentation);
- checkUnnamed1806(o.endpoints);
- checkUnnamed1807(o.enums);
+ checkUnnamed1824(o.endpoints);
+ checkUnnamed1825(o.enums);
checkExperimental(o.experimental);
checkHttp(o.http);
unittest.expect(o.id, unittest.equals('foo'));
checkLogging(o.logging);
- checkUnnamed1808(o.logs);
- checkUnnamed1809(o.metrics);
- checkUnnamed1810(o.monitoredResources);
+ checkUnnamed1826(o.logs);
+ checkUnnamed1827(o.metrics);
+ checkUnnamed1828(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);
- checkUnnamed1811(o.systemTypes);
+ checkUnnamed1829(o.systemTypes);
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1812(o.types);
+ checkUnnamed1830(o.types);
checkUsage(o.usage);
checkVisibility(o.visibility);
}
@@ -2024,30 +2062,30 @@
buildCounterSourceContext--;
}
-buildUnnamed1813() {
+buildUnnamed1831() {
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;
}
-checkUnnamed1813(core.Map<core.String, core.Object> o) {
+checkUnnamed1831(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'));
}
-buildUnnamed1814() {
+buildUnnamed1832() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1813());
- o.add(buildUnnamed1813());
+ o.add(buildUnnamed1831());
+ o.add(buildUnnamed1831());
return o;
}
-checkUnnamed1814(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1832(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1813(o[0]);
- checkUnnamed1813(o[1]);
+ checkUnnamed1831(o[0]);
+ checkUnnamed1831(o[1]);
}
core.int buildCounterSourceInfo = 0;
@@ -2055,7 +2093,7 @@
var o = new api.SourceInfo();
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- o.sourceFiles = buildUnnamed1814();
+ o.sourceFiles = buildUnnamed1832();
}
buildCounterSourceInfo--;
return o;
@@ -2064,35 +2102,35 @@
checkSourceInfo(api.SourceInfo o) {
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- checkUnnamed1814(o.sourceFiles);
+ checkUnnamed1832(o.sourceFiles);
}
buildCounterSourceInfo--;
}
-buildUnnamed1815() {
+buildUnnamed1833() {
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;
}
-checkUnnamed1815(core.Map<core.String, core.Object> o) {
+checkUnnamed1833(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'));
}
-buildUnnamed1816() {
+buildUnnamed1834() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1815());
- o.add(buildUnnamed1815());
+ o.add(buildUnnamed1833());
+ o.add(buildUnnamed1833());
return o;
}
-checkUnnamed1816(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1834(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1815(o[0]);
- checkUnnamed1815(o[1]);
+ checkUnnamed1833(o[0]);
+ checkUnnamed1833(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2101,7 +2139,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1816();
+ o.details = buildUnnamed1834();
o.message = "foo";
}
buildCounterStatus--;
@@ -2112,7 +2150,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1816(o.details);
+ checkUnnamed1834(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2162,14 +2200,14 @@
buildCounterSystemParameter--;
}
-buildUnnamed1817() {
+buildUnnamed1835() {
var o = new core.List<api.SystemParameter>();
o.add(buildSystemParameter());
o.add(buildSystemParameter());
return o;
}
-checkUnnamed1817(core.List<api.SystemParameter> o) {
+checkUnnamed1835(core.List<api.SystemParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameter(o[0]);
checkSystemParameter(o[1]);
@@ -2180,7 +2218,7 @@
var o = new api.SystemParameterRule();
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- o.parameters = buildUnnamed1817();
+ o.parameters = buildUnnamed1835();
o.selector = "foo";
}
buildCounterSystemParameterRule--;
@@ -2190,20 +2228,20 @@
checkSystemParameterRule(api.SystemParameterRule o) {
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- checkUnnamed1817(o.parameters);
+ checkUnnamed1835(o.parameters);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterSystemParameterRule--;
}
-buildUnnamed1818() {
+buildUnnamed1836() {
var o = new core.List<api.SystemParameterRule>();
o.add(buildSystemParameterRule());
o.add(buildSystemParameterRule());
return o;
}
-checkUnnamed1818(core.List<api.SystemParameterRule> o) {
+checkUnnamed1836(core.List<api.SystemParameterRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameterRule(o[0]);
checkSystemParameterRule(o[1]);
@@ -2214,7 +2252,7 @@
var o = new api.SystemParameters();
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- o.rules = buildUnnamed1818();
+ o.rules = buildUnnamed1836();
}
buildCounterSystemParameters--;
return o;
@@ -2223,45 +2261,45 @@
checkSystemParameters(api.SystemParameters o) {
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- checkUnnamed1818(o.rules);
+ checkUnnamed1836(o.rules);
}
buildCounterSystemParameters--;
}
-buildUnnamed1819() {
+buildUnnamed1837() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed1819(core.List<api.Field> o) {
+checkUnnamed1837(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
}
-buildUnnamed1820() {
+buildUnnamed1838() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1820(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'));
}
-buildUnnamed1821() {
+buildUnnamed1839() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1821(core.List<api.Option> o) {
+checkUnnamed1839(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -2272,10 +2310,10 @@
var o = new api.Type();
buildCounterType++;
if (buildCounterType < 3) {
- o.fields = buildUnnamed1819();
+ o.fields = buildUnnamed1837();
o.name = "foo";
- o.oneofs = buildUnnamed1820();
- o.options = buildUnnamed1821();
+ o.oneofs = buildUnnamed1838();
+ o.options = buildUnnamed1839();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -2286,37 +2324,37 @@
checkType(api.Type o) {
buildCounterType++;
if (buildCounterType < 3) {
- checkUnnamed1819(o.fields);
+ checkUnnamed1837(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1820(o.oneofs);
- checkUnnamed1821(o.options);
+ checkUnnamed1838(o.oneofs);
+ checkUnnamed1839(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
buildCounterType--;
}
-buildUnnamed1822() {
+buildUnnamed1840() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1822(core.List<core.String> o) {
+checkUnnamed1840(core.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() {
+buildUnnamed1841() {
var o = new core.List<api.UsageRule>();
o.add(buildUsageRule());
o.add(buildUsageRule());
return o;
}
-checkUnnamed1823(core.List<api.UsageRule> o) {
+checkUnnamed1841(core.List<api.UsageRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageRule(o[0]);
checkUsageRule(o[1]);
@@ -2328,8 +2366,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
o.producerNotificationChannel = "foo";
- o.requirements = buildUnnamed1822();
- o.rules = buildUnnamed1823();
+ o.requirements = buildUnnamed1840();
+ o.rules = buildUnnamed1841();
}
buildCounterUsage--;
return o;
@@ -2339,8 +2377,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
- checkUnnamed1822(o.requirements);
- checkUnnamed1823(o.rules);
+ checkUnnamed1840(o.requirements);
+ checkUnnamed1841(o.rules);
}
buildCounterUsage--;
}
@@ -2368,14 +2406,14 @@
buildCounterUsageRule--;
}
-buildUnnamed1824() {
+buildUnnamed1842() {
var o = new core.List<api.VisibilityRule>();
o.add(buildVisibilityRule());
o.add(buildVisibilityRule());
return o;
}
-checkUnnamed1824(core.List<api.VisibilityRule> o) {
+checkUnnamed1842(core.List<api.VisibilityRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkVisibilityRule(o[0]);
checkVisibilityRule(o[1]);
@@ -2386,7 +2424,7 @@
var o = new api.Visibility();
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- o.rules = buildUnnamed1824();
+ o.rules = buildUnnamed1842();
}
buildCounterVisibility--;
return o;
@@ -2395,7 +2433,7 @@
checkVisibility(api.Visibility o) {
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- checkUnnamed1824(o.rules);
+ checkUnnamed1842(o.rules);
}
buildCounterVisibility--;
}
@@ -2477,6 +2515,15 @@
});
+ 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();
diff --git a/generated/googleapis/test/siteverification/v1_test.dart b/generated/googleapis/test/siteverification/v1_test.dart
index 582e788..b722b4b 100644
--- a/generated/googleapis/test/siteverification/v1_test.dart
+++ b/generated/googleapis/test/siteverification/v1_test.dart
@@ -114,14 +114,14 @@
buildCounterSiteVerificationWebResourceGettokenResponse--;
}
-buildUnnamed161() {
+buildUnnamed166() {
var o = new core.List<api.SiteVerificationWebResourceResource>();
o.add(buildSiteVerificationWebResourceResource());
o.add(buildSiteVerificationWebResourceResource());
return o;
}
-checkUnnamed161(core.List<api.SiteVerificationWebResourceResource> o) {
+checkUnnamed166(core.List<api.SiteVerificationWebResourceResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkSiteVerificationWebResourceResource(o[0]);
checkSiteVerificationWebResourceResource(o[1]);
@@ -132,7 +132,7 @@
var o = new api.SiteVerificationWebResourceListResponse();
buildCounterSiteVerificationWebResourceListResponse++;
if (buildCounterSiteVerificationWebResourceListResponse < 3) {
- o.items = buildUnnamed161();
+ o.items = buildUnnamed166();
}
buildCounterSiteVerificationWebResourceListResponse--;
return o;
@@ -141,19 +141,19 @@
checkSiteVerificationWebResourceListResponse(api.SiteVerificationWebResourceListResponse o) {
buildCounterSiteVerificationWebResourceListResponse++;
if (buildCounterSiteVerificationWebResourceListResponse < 3) {
- checkUnnamed161(o.items);
+ checkUnnamed166(o.items);
}
buildCounterSiteVerificationWebResourceListResponse--;
}
-buildUnnamed162() {
+buildUnnamed167() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed162(core.List<core.String> o) {
+checkUnnamed167(core.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 @@
buildCounterSiteVerificationWebResourceResource++;
if (buildCounterSiteVerificationWebResourceResource < 3) {
o.id = "foo";
- o.owners = buildUnnamed162();
+ o.owners = buildUnnamed167();
o.site = buildSiteVerificationWebResourceResourceSite();
}
buildCounterSiteVerificationWebResourceResource--;
@@ -197,7 +197,7 @@
buildCounterSiteVerificationWebResourceResource++;
if (buildCounterSiteVerificationWebResourceResource < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed162(o.owners);
+ checkUnnamed167(o.owners);
checkSiteVerificationWebResourceResourceSite(o.site);
}
buildCounterSiteVerificationWebResourceResource--;
diff --git a/generated/googleapis/test/slides/v1_test.dart b/generated/googleapis/test/slides/v1_test.dart
index 8b80470..24bba41 100644
--- a/generated/googleapis/test/slides/v1_test.dart
+++ b/generated/googleapis/test/slides/v1_test.dart
@@ -105,14 +105,14 @@
buildCounterAutoText--;
}
-buildUnnamed1713() {
+buildUnnamed1730() {
var o = new core.List<api.Request>();
o.add(buildRequest());
o.add(buildRequest());
return o;
}
-checkUnnamed1713(core.List<api.Request> o) {
+checkUnnamed1730(core.List<api.Request> o) {
unittest.expect(o, unittest.hasLength(2));
checkRequest(o[0]);
checkRequest(o[1]);
@@ -123,7 +123,7 @@
var o = new api.BatchUpdatePresentationRequest();
buildCounterBatchUpdatePresentationRequest++;
if (buildCounterBatchUpdatePresentationRequest < 3) {
- o.requests = buildUnnamed1713();
+ o.requests = buildUnnamed1730();
o.writeControl = buildWriteControl();
}
buildCounterBatchUpdatePresentationRequest--;
@@ -133,20 +133,20 @@
checkBatchUpdatePresentationRequest(api.BatchUpdatePresentationRequest o) {
buildCounterBatchUpdatePresentationRequest++;
if (buildCounterBatchUpdatePresentationRequest < 3) {
- checkUnnamed1713(o.requests);
+ checkUnnamed1730(o.requests);
checkWriteControl(o.writeControl);
}
buildCounterBatchUpdatePresentationRequest--;
}
-buildUnnamed1714() {
+buildUnnamed1731() {
var o = new core.List<api.Response>();
o.add(buildResponse());
o.add(buildResponse());
return o;
}
-checkUnnamed1714(core.List<api.Response> o) {
+checkUnnamed1731(core.List<api.Response> o) {
unittest.expect(o, unittest.hasLength(2));
checkResponse(o[0]);
checkResponse(o[1]);
@@ -158,7 +158,7 @@
buildCounterBatchUpdatePresentationResponse++;
if (buildCounterBatchUpdatePresentationResponse < 3) {
o.presentationId = "foo";
- o.replies = buildUnnamed1714();
+ o.replies = buildUnnamed1731();
}
buildCounterBatchUpdatePresentationResponse--;
return o;
@@ -168,7 +168,7 @@
buildCounterBatchUpdatePresentationResponse++;
if (buildCounterBatchUpdatePresentationResponse < 3) {
unittest.expect(o.presentationId, unittest.equals('foo'));
- checkUnnamed1714(o.replies);
+ checkUnnamed1731(o.replies);
}
buildCounterBatchUpdatePresentationResponse--;
}
@@ -198,14 +198,14 @@
buildCounterBullet--;
}
-buildUnnamed1715() {
+buildUnnamed1732() {
var o = new core.List<api.ThemeColorPair>();
o.add(buildThemeColorPair());
o.add(buildThemeColorPair());
return o;
}
-checkUnnamed1715(core.List<api.ThemeColorPair> o) {
+checkUnnamed1732(core.List<api.ThemeColorPair> o) {
unittest.expect(o, unittest.hasLength(2));
checkThemeColorPair(o[0]);
checkThemeColorPair(o[1]);
@@ -216,7 +216,7 @@
var o = new api.ColorScheme();
buildCounterColorScheme++;
if (buildCounterColorScheme < 3) {
- o.colors = buildUnnamed1715();
+ o.colors = buildUnnamed1732();
}
buildCounterColorScheme--;
return o;
@@ -225,7 +225,7 @@
checkColorScheme(api.ColorScheme o) {
buildCounterColorScheme++;
if (buildCounterColorScheme < 3) {
- checkUnnamed1715(o.colors);
+ checkUnnamed1732(o.colors);
}
buildCounterColorScheme--;
}
@@ -450,14 +450,14 @@
buildCounterCreateSheetsChartResponse--;
}
-buildUnnamed1716() {
+buildUnnamed1733() {
var o = new core.List<api.LayoutPlaceholderIdMapping>();
o.add(buildLayoutPlaceholderIdMapping());
o.add(buildLayoutPlaceholderIdMapping());
return o;
}
-checkUnnamed1716(core.List<api.LayoutPlaceholderIdMapping> o) {
+checkUnnamed1733(core.List<api.LayoutPlaceholderIdMapping> o) {
unittest.expect(o, unittest.hasLength(2));
checkLayoutPlaceholderIdMapping(o[0]);
checkLayoutPlaceholderIdMapping(o[1]);
@@ -470,7 +470,7 @@
if (buildCounterCreateSlideRequest < 3) {
o.insertionIndex = 42;
o.objectId = "foo";
- o.placeholderIdMappings = buildUnnamed1716();
+ o.placeholderIdMappings = buildUnnamed1733();
o.slideLayoutReference = buildLayoutReference();
}
buildCounterCreateSlideRequest--;
@@ -482,7 +482,7 @@
if (buildCounterCreateSlideRequest < 3) {
unittest.expect(o.insertionIndex, unittest.equals(42));
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed1716(o.placeholderIdMappings);
+ checkUnnamed1733(o.placeholderIdMappings);
checkLayoutReference(o.slideLayoutReference);
}
buildCounterCreateSlideRequest--;
@@ -750,14 +750,14 @@
buildCounterDimension--;
}
-buildUnnamed1717() {
+buildUnnamed1734() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1717(core.Map<core.String, core.String> o) {
+checkUnnamed1734(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -769,7 +769,7 @@
buildCounterDuplicateObjectRequest++;
if (buildCounterDuplicateObjectRequest < 3) {
o.objectId = "foo";
- o.objectIds = buildUnnamed1717();
+ o.objectIds = buildUnnamed1734();
}
buildCounterDuplicateObjectRequest--;
return o;
@@ -779,7 +779,7 @@
buildCounterDuplicateObjectRequest++;
if (buildCounterDuplicateObjectRequest < 3) {
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed1717(o.objectIds);
+ checkUnnamed1734(o.objectIds);
}
buildCounterDuplicateObjectRequest--;
}
@@ -803,14 +803,14 @@
buildCounterDuplicateObjectResponse--;
}
-buildUnnamed1718() {
+buildUnnamed1735() {
var o = new core.List<api.PageElement>();
o.add(buildPageElement());
o.add(buildPageElement());
return o;
}
-checkUnnamed1718(core.List<api.PageElement> o) {
+checkUnnamed1735(core.List<api.PageElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPageElement(o[0]);
checkPageElement(o[1]);
@@ -821,7 +821,7 @@
var o = new api.Group();
buildCounterGroup++;
if (buildCounterGroup < 3) {
- o.children = buildUnnamed1718();
+ o.children = buildUnnamed1735();
}
buildCounterGroup--;
return o;
@@ -830,7 +830,7 @@
checkGroup(api.Group o) {
buildCounterGroup++;
if (buildCounterGroup < 3) {
- checkUnnamed1718(o.children);
+ checkUnnamed1735(o.children);
}
buildCounterGroup--;
}
@@ -1125,14 +1125,14 @@
buildCounterLink--;
}
-buildUnnamed1719() {
+buildUnnamed1736() {
var o = new core.Map<core.String, api.NestingLevel>();
o["x"] = buildNestingLevel();
o["y"] = buildNestingLevel();
return o;
}
-checkUnnamed1719(core.Map<core.String, api.NestingLevel> o) {
+checkUnnamed1736(core.Map<core.String, api.NestingLevel> o) {
unittest.expect(o, unittest.hasLength(2));
checkNestingLevel(o["x"]);
checkNestingLevel(o["y"]);
@@ -1144,7 +1144,7 @@
buildCounterList++;
if (buildCounterList < 3) {
o.listId = "foo";
- o.nestingLevel = buildUnnamed1719();
+ o.nestingLevel = buildUnnamed1736();
}
buildCounterList--;
return o;
@@ -1154,7 +1154,7 @@
buildCounterList++;
if (buildCounterList < 3) {
unittest.expect(o.listId, unittest.equals('foo'));
- checkUnnamed1719(o.nestingLevel);
+ checkUnnamed1736(o.nestingLevel);
}
buildCounterList--;
}
@@ -1300,14 +1300,14 @@
buildCounterOutlineFill--;
}
-buildUnnamed1720() {
+buildUnnamed1737() {
var o = new core.List<api.PageElement>();
o.add(buildPageElement());
o.add(buildPageElement());
return o;
}
-checkUnnamed1720(core.List<api.PageElement> o) {
+checkUnnamed1737(core.List<api.PageElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPageElement(o[0]);
checkPageElement(o[1]);
@@ -1322,7 +1322,7 @@
o.masterProperties = buildMasterProperties();
o.notesProperties = buildNotesProperties();
o.objectId = "foo";
- o.pageElements = buildUnnamed1720();
+ o.pageElements = buildUnnamed1737();
o.pageProperties = buildPageProperties();
o.pageType = "foo";
o.revisionId = "foo";
@@ -1339,7 +1339,7 @@
checkMasterProperties(o.masterProperties);
checkNotesProperties(o.notesProperties);
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed1720(o.pageElements);
+ checkUnnamed1737(o.pageElements);
checkPageProperties(o.pageProperties);
unittest.expect(o.pageType, unittest.equals('foo'));
unittest.expect(o.revisionId, unittest.equals('foo'));
@@ -1537,40 +1537,40 @@
buildCounterPlaceholder--;
}
-buildUnnamed1721() {
+buildUnnamed1738() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1721(core.List<api.Page> o) {
+checkUnnamed1738(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1722() {
+buildUnnamed1739() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1722(core.List<api.Page> o) {
+checkUnnamed1739(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1723() {
+buildUnnamed1740() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1723(core.List<api.Page> o) {
+checkUnnamed1740(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -1581,14 +1581,14 @@
var o = new api.Presentation();
buildCounterPresentation++;
if (buildCounterPresentation < 3) {
- o.layouts = buildUnnamed1721();
+ o.layouts = buildUnnamed1738();
o.locale = "foo";
- o.masters = buildUnnamed1722();
+ o.masters = buildUnnamed1739();
o.notesMaster = buildPage();
o.pageSize = buildSize();
o.presentationId = "foo";
o.revisionId = "foo";
- o.slides = buildUnnamed1723();
+ o.slides = buildUnnamed1740();
o.title = "foo";
}
buildCounterPresentation--;
@@ -1598,14 +1598,14 @@
checkPresentation(api.Presentation o) {
buildCounterPresentation++;
if (buildCounterPresentation < 3) {
- checkUnnamed1721(o.layouts);
+ checkUnnamed1738(o.layouts);
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed1722(o.masters);
+ checkUnnamed1739(o.masters);
checkPage(o.notesMaster);
checkSize(o.pageSize);
unittest.expect(o.presentationId, unittest.equals('foo'));
unittest.expect(o.revisionId, unittest.equals('foo'));
- checkUnnamed1723(o.slides);
+ checkUnnamed1740(o.slides);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterPresentation--;
@@ -1634,14 +1634,14 @@
buildCounterRange--;
}
-buildUnnamed1724() {
+buildUnnamed1741() {
var o = new core.List<api.ColorStop>();
o.add(buildColorStop());
o.add(buildColorStop());
return o;
}
-checkUnnamed1724(core.List<api.ColorStop> o) {
+checkUnnamed1741(core.List<api.ColorStop> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorStop(o[0]);
checkColorStop(o[1]);
@@ -1653,7 +1653,7 @@
buildCounterRecolor++;
if (buildCounterRecolor < 3) {
o.name = "foo";
- o.recolorStops = buildUnnamed1724();
+ o.recolorStops = buildUnnamed1741();
}
buildCounterRecolor--;
return o;
@@ -1663,7 +1663,7 @@
buildCounterRecolor++;
if (buildCounterRecolor < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1724(o.recolorStops);
+ checkUnnamed1741(o.recolorStops);
}
buildCounterRecolor--;
}
@@ -1687,14 +1687,14 @@
buildCounterRefreshSheetsChartRequest--;
}
-buildUnnamed1725() {
+buildUnnamed1742() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1725(core.List<core.String> o) {
+checkUnnamed1742(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1707,7 +1707,7 @@
if (buildCounterReplaceAllShapesWithImageRequest < 3) {
o.containsText = buildSubstringMatchCriteria();
o.imageUrl = "foo";
- o.pageObjectIds = buildUnnamed1725();
+ o.pageObjectIds = buildUnnamed1742();
o.replaceMethod = "foo";
}
buildCounterReplaceAllShapesWithImageRequest--;
@@ -1719,7 +1719,7 @@
if (buildCounterReplaceAllShapesWithImageRequest < 3) {
checkSubstringMatchCriteria(o.containsText);
unittest.expect(o.imageUrl, unittest.equals('foo'));
- checkUnnamed1725(o.pageObjectIds);
+ checkUnnamed1742(o.pageObjectIds);
unittest.expect(o.replaceMethod, unittest.equals('foo'));
}
buildCounterReplaceAllShapesWithImageRequest--;
@@ -1744,14 +1744,14 @@
buildCounterReplaceAllShapesWithImageResponse--;
}
-buildUnnamed1726() {
+buildUnnamed1743() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1726(core.List<core.String> o) {
+checkUnnamed1743(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1765,7 +1765,7 @@
o.chartId = 42;
o.containsText = buildSubstringMatchCriteria();
o.linkingMode = "foo";
- o.pageObjectIds = buildUnnamed1726();
+ o.pageObjectIds = buildUnnamed1743();
o.spreadsheetId = "foo";
}
buildCounterReplaceAllShapesWithSheetsChartRequest--;
@@ -1778,7 +1778,7 @@
unittest.expect(o.chartId, unittest.equals(42));
checkSubstringMatchCriteria(o.containsText);
unittest.expect(o.linkingMode, unittest.equals('foo'));
- checkUnnamed1726(o.pageObjectIds);
+ checkUnnamed1743(o.pageObjectIds);
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
}
buildCounterReplaceAllShapesWithSheetsChartRequest--;
@@ -1803,14 +1803,14 @@
buildCounterReplaceAllShapesWithSheetsChartResponse--;
}
-buildUnnamed1727() {
+buildUnnamed1744() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1727(core.List<core.String> o) {
+checkUnnamed1744(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1822,7 +1822,7 @@
buildCounterReplaceAllTextRequest++;
if (buildCounterReplaceAllTextRequest < 3) {
o.containsText = buildSubstringMatchCriteria();
- o.pageObjectIds = buildUnnamed1727();
+ o.pageObjectIds = buildUnnamed1744();
o.replaceText = "foo";
}
buildCounterReplaceAllTextRequest--;
@@ -1833,7 +1833,7 @@
buildCounterReplaceAllTextRequest++;
if (buildCounterReplaceAllTextRequest < 3) {
checkSubstringMatchCriteria(o.containsText);
- checkUnnamed1727(o.pageObjectIds);
+ checkUnnamed1744(o.pageObjectIds);
unittest.expect(o.replaceText, unittest.equals('foo'));
}
buildCounterReplaceAllTextRequest--;
@@ -2254,27 +2254,27 @@
buildCounterSubstringMatchCriteria--;
}
-buildUnnamed1728() {
+buildUnnamed1745() {
var o = new core.List<api.TableColumnProperties>();
o.add(buildTableColumnProperties());
o.add(buildTableColumnProperties());
return o;
}
-checkUnnamed1728(core.List<api.TableColumnProperties> o) {
+checkUnnamed1745(core.List<api.TableColumnProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableColumnProperties(o[0]);
checkTableColumnProperties(o[1]);
}
-buildUnnamed1729() {
+buildUnnamed1746() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed1729(core.List<api.TableRow> o) {
+checkUnnamed1746(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -2287,8 +2287,8 @@
if (buildCounterTable < 3) {
o.columns = 42;
o.rows = 42;
- o.tableColumns = buildUnnamed1728();
- o.tableRows = buildUnnamed1729();
+ o.tableColumns = buildUnnamed1745();
+ o.tableRows = buildUnnamed1746();
}
buildCounterTable--;
return o;
@@ -2299,8 +2299,8 @@
if (buildCounterTable < 3) {
unittest.expect(o.columns, unittest.equals(42));
unittest.expect(o.rows, unittest.equals(42));
- checkUnnamed1728(o.tableColumns);
- checkUnnamed1729(o.tableRows);
+ checkUnnamed1745(o.tableColumns);
+ checkUnnamed1746(o.tableRows);
}
buildCounterTable--;
}
@@ -2435,14 +2435,14 @@
buildCounterTableRange--;
}
-buildUnnamed1730() {
+buildUnnamed1747() {
var o = new core.List<api.TableCell>();
o.add(buildTableCell());
o.add(buildTableCell());
return o;
}
-checkUnnamed1730(core.List<api.TableCell> o) {
+checkUnnamed1747(core.List<api.TableCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableCell(o[0]);
checkTableCell(o[1]);
@@ -2454,7 +2454,7 @@
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
o.rowHeight = buildDimension();
- o.tableCells = buildUnnamed1730();
+ o.tableCells = buildUnnamed1747();
}
buildCounterTableRow--;
return o;
@@ -2464,32 +2464,32 @@
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
checkDimension(o.rowHeight);
- checkUnnamed1730(o.tableCells);
+ checkUnnamed1747(o.tableCells);
}
buildCounterTableRow--;
}
-buildUnnamed1731() {
+buildUnnamed1748() {
var o = new core.Map<core.String, api.List>();
o["x"] = buildList();
o["y"] = buildList();
return o;
}
-checkUnnamed1731(core.Map<core.String, api.List> o) {
+checkUnnamed1748(core.Map<core.String, api.List> o) {
unittest.expect(o, unittest.hasLength(2));
checkList(o["x"]);
checkList(o["y"]);
}
-buildUnnamed1732() {
+buildUnnamed1749() {
var o = new core.List<api.TextElement>();
o.add(buildTextElement());
o.add(buildTextElement());
return o;
}
-checkUnnamed1732(core.List<api.TextElement> o) {
+checkUnnamed1749(core.List<api.TextElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkTextElement(o[0]);
checkTextElement(o[1]);
@@ -2500,8 +2500,8 @@
var o = new api.TextContent();
buildCounterTextContent++;
if (buildCounterTextContent < 3) {
- o.lists = buildUnnamed1731();
- o.textElements = buildUnnamed1732();
+ o.lists = buildUnnamed1748();
+ o.textElements = buildUnnamed1749();
}
buildCounterTextContent--;
return o;
@@ -2510,8 +2510,8 @@
checkTextContent(api.TextContent o) {
buildCounterTextContent++;
if (buildCounterTextContent < 3) {
- checkUnnamed1731(o.lists);
- checkUnnamed1732(o.textElements);
+ checkUnnamed1748(o.lists);
+ checkUnnamed1749(o.textElements);
}
buildCounterTextContent--;
}
@@ -2791,14 +2791,14 @@
buildCounterUpdateShapePropertiesRequest--;
}
-buildUnnamed1733() {
+buildUnnamed1750() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1733(core.List<core.String> 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'));
@@ -2810,7 +2810,7 @@
buildCounterUpdateSlidesPositionRequest++;
if (buildCounterUpdateSlidesPositionRequest < 3) {
o.insertionIndex = 42;
- o.slideObjectIds = buildUnnamed1733();
+ o.slideObjectIds = buildUnnamed1750();
}
buildCounterUpdateSlidesPositionRequest--;
return o;
@@ -2820,7 +2820,7 @@
buildCounterUpdateSlidesPositionRequest++;
if (buildCounterUpdateSlidesPositionRequest < 3) {
unittest.expect(o.insertionIndex, unittest.equals(42));
- checkUnnamed1733(o.slideObjectIds);
+ checkUnnamed1750(o.slideObjectIds);
}
buildCounterUpdateSlidesPositionRequest--;
}
diff --git a/generated/googleapis/test/sourcerepo/v1_test.dart b/generated/googleapis/test/sourcerepo/v1_test.dart
index e04de82..01c1478 100644
--- a/generated/googleapis/test/sourcerepo/v1_test.dart
+++ b/generated/googleapis/test/sourcerepo/v1_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed490() {
+buildUnnamed496() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed490(core.List<api.AuditLogConfig> o) {
+checkUnnamed496(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed491() {
+buildUnnamed497() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed491(core.List<core.String> o) {
+checkUnnamed497(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,8 +82,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed490();
- o.exemptedMembers = buildUnnamed491();
+ o.auditLogConfigs = buildUnnamed496();
+ o.exemptedMembers = buildUnnamed497();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -93,21 +93,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed490(o.auditLogConfigs);
- checkUnnamed491(o.exemptedMembers);
+ checkUnnamed496(o.auditLogConfigs);
+ checkUnnamed497(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed492() {
+buildUnnamed498() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed492(core.List<core.String> o) {
+checkUnnamed498(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -118,7 +118,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed492();
+ o.exemptedMembers = buildUnnamed498();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -128,20 +128,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed492(o.exemptedMembers);
+ checkUnnamed498(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed493() {
+buildUnnamed499() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed493(core.List<core.String> o) {
+checkUnnamed499(core.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 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed493();
+ o.members = buildUnnamed499();
o.role = "foo";
}
buildCounterBinding--;
@@ -162,7 +162,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed493(o.members);
+ checkUnnamed499(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -187,14 +187,14 @@
buildCounterCloudAuditOptions--;
}
-buildUnnamed494() {
+buildUnnamed500() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed494(core.List<core.String> o) {
+checkUnnamed500(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -210,7 +210,7 @@
o.svc = "foo";
o.sys = "foo";
o.value = "foo";
- o.values = buildUnnamed494();
+ o.values = buildUnnamed500();
}
buildCounterCondition--;
return o;
@@ -224,7 +224,7 @@
unittest.expect(o.svc, unittest.equals('foo'));
unittest.expect(o.sys, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
- checkUnnamed494(o.values);
+ checkUnnamed500(o.values);
}
buildCounterCondition--;
}
@@ -284,14 +284,14 @@
buildCounterEmpty--;
}
-buildUnnamed495() {
+buildUnnamed501() {
var o = new core.List<api.Repo>();
o.add(buildRepo());
o.add(buildRepo());
return o;
}
-checkUnnamed495(core.List<api.Repo> o) {
+checkUnnamed501(core.List<api.Repo> o) {
unittest.expect(o, unittest.hasLength(2));
checkRepo(o[0]);
checkRepo(o[1]);
@@ -303,7 +303,7 @@
buildCounterListReposResponse++;
if (buildCounterListReposResponse < 3) {
o.nextPageToken = "foo";
- o.repos = buildUnnamed495();
+ o.repos = buildUnnamed501();
}
buildCounterListReposResponse--;
return o;
@@ -313,7 +313,7 @@
buildCounterListReposResponse++;
if (buildCounterListReposResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed495(o.repos);
+ checkUnnamed501(o.repos);
}
buildCounterListReposResponse--;
}
@@ -364,40 +364,40 @@
buildCounterMirrorConfig--;
}
-buildUnnamed496() {
+buildUnnamed502() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed496(core.List<api.AuditConfig> o) {
+checkUnnamed502(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed497() {
+buildUnnamed503() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed497(core.List<api.Binding> o) {
+checkUnnamed503(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
}
-buildUnnamed498() {
+buildUnnamed504() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed498(core.List<api.Rule> o) {
+checkUnnamed504(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -408,11 +408,11 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed496();
- o.bindings = buildUnnamed497();
+ o.auditConfigs = buildUnnamed502();
+ o.bindings = buildUnnamed503();
o.etag = "foo";
o.iamOwned = true;
- o.rules = buildUnnamed498();
+ o.rules = buildUnnamed504();
o.version = 42;
}
buildCounterPolicy--;
@@ -422,11 +422,11 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed496(o.auditConfigs);
- checkUnnamed497(o.bindings);
+ checkUnnamed502(o.auditConfigs);
+ checkUnnamed503(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
- checkUnnamed498(o.rules);
+ checkUnnamed504(o.rules);
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
@@ -457,66 +457,66 @@
buildCounterRepo--;
}
-buildUnnamed499() {
+buildUnnamed505() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed499(core.List<api.Condition> o) {
+checkUnnamed505(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed500() {
+buildUnnamed506() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed500(core.List<core.String> o) {
+checkUnnamed506(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed501() {
+buildUnnamed507() {
var o = new core.List<api.LogConfig>();
o.add(buildLogConfig());
o.add(buildLogConfig());
return o;
}
-checkUnnamed501(core.List<api.LogConfig> o) {
+checkUnnamed507(core.List<api.LogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogConfig(o[0]);
checkLogConfig(o[1]);
}
-buildUnnamed502() {
+buildUnnamed508() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed502(core.List<core.String> o) {
+checkUnnamed508(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed503() {
+buildUnnamed509() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed503(core.List<core.String> o) {
+checkUnnamed509(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -528,12 +528,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.action = "foo";
- o.conditions = buildUnnamed499();
+ o.conditions = buildUnnamed505();
o.description = "foo";
- o.in_ = buildUnnamed500();
- o.logConfig = buildUnnamed501();
- o.notIn = buildUnnamed502();
- o.permissions = buildUnnamed503();
+ o.in_ = buildUnnamed506();
+ o.logConfig = buildUnnamed507();
+ o.notIn = buildUnnamed508();
+ o.permissions = buildUnnamed509();
}
buildCounterRule--;
return o;
@@ -543,12 +543,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed499(o.conditions);
+ checkUnnamed505(o.conditions);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed500(o.in_);
- checkUnnamed501(o.logConfig);
- checkUnnamed502(o.notIn);
- checkUnnamed503(o.permissions);
+ checkUnnamed506(o.in_);
+ checkUnnamed507(o.logConfig);
+ checkUnnamed508(o.notIn);
+ checkUnnamed509(o.permissions);
}
buildCounterRule--;
}
@@ -574,14 +574,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed504() {
+buildUnnamed510() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed504(core.List<core.String> o) {
+checkUnnamed510(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -592,7 +592,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed504();
+ o.permissions = buildUnnamed510();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -601,19 +601,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed504(o.permissions);
+ checkUnnamed510(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed505() {
+buildUnnamed511() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed505(core.List<core.String> o) {
+checkUnnamed511(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -624,7 +624,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed505();
+ o.permissions = buildUnnamed511();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -633,7 +633,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed505(o.permissions);
+ checkUnnamed511(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
diff --git a/generated/googleapis/test/spanner/v1_test.dart b/generated/googleapis/test/spanner/v1_test.dart
index e347010..7151dc0 100644
--- a/generated/googleapis/test/spanner/v1_test.dart
+++ b/generated/googleapis/test/spanner/v1_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2087() {
+buildUnnamed2105() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed2087(core.List<api.AuditLogConfig> o) {
+checkUnnamed2105(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed2088() {
+buildUnnamed2106() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2088(core.List<core.String> o) {
+checkUnnamed2106(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,8 +82,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed2087();
- o.exemptedMembers = buildUnnamed2088();
+ o.auditLogConfigs = buildUnnamed2105();
+ o.exemptedMembers = buildUnnamed2106();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -93,21 +93,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed2087(o.auditLogConfigs);
- checkUnnamed2088(o.exemptedMembers);
+ checkUnnamed2105(o.auditLogConfigs);
+ checkUnnamed2106(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed2089() {
+buildUnnamed2107() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2089(core.List<core.String> o) {
+checkUnnamed2107(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -118,7 +118,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed2089();
+ o.exemptedMembers = buildUnnamed2107();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -128,12 +128,31 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed2089(o.exemptedMembers);
+ checkUnnamed2107(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
+core.int buildCounterAuthorizationLoggingOptions = 0;
+buildAuthorizationLoggingOptions() {
+ var o = new api.AuthorizationLoggingOptions();
+ buildCounterAuthorizationLoggingOptions++;
+ if (buildCounterAuthorizationLoggingOptions < 3) {
+ o.permissionType = "foo";
+ }
+ buildCounterAuthorizationLoggingOptions--;
+ return o;
+}
+
+checkAuthorizationLoggingOptions(api.AuthorizationLoggingOptions o) {
+ buildCounterAuthorizationLoggingOptions++;
+ if (buildCounterAuthorizationLoggingOptions < 3) {
+ unittest.expect(o.permissionType, unittest.equals('foo'));
+ }
+ buildCounterAuthorizationLoggingOptions--;
+}
+
core.int buildCounterBeginTransactionRequest = 0;
buildBeginTransactionRequest() {
var o = new api.BeginTransactionRequest();
@@ -153,14 +172,14 @@
buildCounterBeginTransactionRequest--;
}
-buildUnnamed2090() {
+buildUnnamed2108() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2090(core.List<core.String> o) {
+checkUnnamed2108(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -172,7 +191,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed2090();
+ o.members = buildUnnamed2108();
o.role = "foo";
}
buildCounterBinding--;
@@ -183,7 +202,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed2090(o.members);
+ checkUnnamed2108(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -217,6 +236,7 @@
var o = new api.CloudAuditOptions();
buildCounterCloudAuditOptions++;
if (buildCounterCloudAuditOptions < 3) {
+ o.authorizationLoggingOptions = buildAuthorizationLoggingOptions();
o.logName = "foo";
}
buildCounterCloudAuditOptions--;
@@ -226,19 +246,20 @@
checkCloudAuditOptions(api.CloudAuditOptions o) {
buildCounterCloudAuditOptions++;
if (buildCounterCloudAuditOptions < 3) {
+ checkAuthorizationLoggingOptions(o.authorizationLoggingOptions);
unittest.expect(o.logName, unittest.equals('foo'));
}
buildCounterCloudAuditOptions--;
}
-buildUnnamed2091() {
+buildUnnamed2109() {
var o = new core.List<api.Mutation>();
o.add(buildMutation());
o.add(buildMutation());
return o;
}
-checkUnnamed2091(core.List<api.Mutation> o) {
+checkUnnamed2109(core.List<api.Mutation> o) {
unittest.expect(o, unittest.hasLength(2));
checkMutation(o[0]);
checkMutation(o[1]);
@@ -249,7 +270,7 @@
var o = new api.CommitRequest();
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
- o.mutations = buildUnnamed2091();
+ o.mutations = buildUnnamed2109();
o.singleUseTransaction = buildTransactionOptions();
o.transactionId = "foo";
}
@@ -260,7 +281,7 @@
checkCommitRequest(api.CommitRequest o) {
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
- checkUnnamed2091(o.mutations);
+ checkUnnamed2109(o.mutations);
checkTransactionOptions(o.singleUseTransaction);
unittest.expect(o.transactionId, unittest.equals('foo'));
}
@@ -286,14 +307,14 @@
buildCounterCommitResponse--;
}
-buildUnnamed2092() {
+buildUnnamed2110() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2092(core.List<core.String> o) {
+checkUnnamed2110(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -309,7 +330,7 @@
o.svc = "foo";
o.sys = "foo";
o.value = "foo";
- o.values = buildUnnamed2092();
+ o.values = buildUnnamed2110();
}
buildCounterCondition--;
return o;
@@ -323,7 +344,7 @@
unittest.expect(o.svc, unittest.equals('foo'));
unittest.expect(o.sys, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
- checkUnnamed2092(o.values);
+ checkUnnamed2110(o.values);
}
buildCounterCondition--;
}
@@ -368,14 +389,14 @@
buildCounterCreateDatabaseMetadata--;
}
-buildUnnamed2093() {
+buildUnnamed2111() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2093(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'));
@@ -387,7 +408,7 @@
buildCounterCreateDatabaseRequest++;
if (buildCounterCreateDatabaseRequest < 3) {
o.createStatement = "foo";
- o.extraStatements = buildUnnamed2093();
+ o.extraStatements = buildUnnamed2111();
}
buildCounterCreateDatabaseRequest--;
return o;
@@ -397,7 +418,7 @@
buildCounterCreateDatabaseRequest++;
if (buildCounterCreateDatabaseRequest < 3) {
unittest.expect(o.createStatement, unittest.equals('foo'));
- checkUnnamed2093(o.extraStatements);
+ checkUnnamed2111(o.extraStatements);
}
buildCounterCreateDatabaseRequest--;
}
@@ -524,27 +545,27 @@
buildCounterEmpty--;
}
-buildUnnamed2094() {
+buildUnnamed2112() {
var o = new core.Map<core.String, api.Type>();
o["x"] = buildType();
o["y"] = buildType();
return o;
}
-checkUnnamed2094(core.Map<core.String, api.Type> o) {
+checkUnnamed2112(core.Map<core.String, api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o["x"]);
checkType(o["y"]);
}
-buildUnnamed2095() {
+buildUnnamed2113() {
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;
}
-checkUnnamed2095(core.Map<core.String, core.Object> o) {
+checkUnnamed2113(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'));
@@ -555,8 +576,8 @@
var o = new api.ExecuteSqlRequest();
buildCounterExecuteSqlRequest++;
if (buildCounterExecuteSqlRequest < 3) {
- o.paramTypes = buildUnnamed2094();
- o.params = buildUnnamed2095();
+ o.paramTypes = buildUnnamed2112();
+ o.params = buildUnnamed2113();
o.queryMode = "foo";
o.resumeToken = "foo";
o.sql = "foo";
@@ -569,8 +590,8 @@
checkExecuteSqlRequest(api.ExecuteSqlRequest o) {
buildCounterExecuteSqlRequest++;
if (buildCounterExecuteSqlRequest < 3) {
- checkUnnamed2094(o.paramTypes);
- checkUnnamed2095(o.params);
+ checkUnnamed2112(o.paramTypes);
+ checkUnnamed2113(o.params);
unittest.expect(o.queryMode, unittest.equals('foo'));
unittest.expect(o.resumeToken, unittest.equals('foo'));
unittest.expect(o.sql, unittest.equals('foo'));
@@ -625,14 +646,14 @@
buildCounterField--;
}
-buildUnnamed2096() {
+buildUnnamed2114() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2096(core.List<core.String> o) {
+checkUnnamed2114(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -643,7 +664,7 @@
var o = new api.GetDatabaseDdlResponse();
buildCounterGetDatabaseDdlResponse++;
if (buildCounterGetDatabaseDdlResponse < 3) {
- o.statements = buildUnnamed2096();
+ o.statements = buildUnnamed2114();
}
buildCounterGetDatabaseDdlResponse--;
return o;
@@ -652,7 +673,7 @@
checkGetDatabaseDdlResponse(api.GetDatabaseDdlResponse o) {
buildCounterGetDatabaseDdlResponse++;
if (buildCounterGetDatabaseDdlResponse < 3) {
- checkUnnamed2096(o.statements);
+ checkUnnamed2114(o.statements);
}
buildCounterGetDatabaseDdlResponse--;
}
@@ -674,14 +695,14 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed2097() {
+buildUnnamed2115() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2097(core.Map<core.String, core.String> o) {
+checkUnnamed2115(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -694,7 +715,7 @@
if (buildCounterInstance < 3) {
o.config = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed2097();
+ o.labels = buildUnnamed2115();
o.name = "foo";
o.nodeCount = 42;
o.state = "foo";
@@ -708,7 +729,7 @@
if (buildCounterInstance < 3) {
unittest.expect(o.config, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed2097(o.labels);
+ checkUnnamed2115(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nodeCount, unittest.equals(42));
unittest.expect(o.state, unittest.equals('foo'));
@@ -737,53 +758,53 @@
buildCounterInstanceConfig--;
}
-buildUnnamed2098() {
+buildUnnamed2116() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2098(core.List<core.Object> o) {
+checkUnnamed2116(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo'));
var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed2099() {
+buildUnnamed2117() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2099(core.List<core.Object> o) {
+checkUnnamed2117(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo'));
var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed2100() {
+buildUnnamed2118() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2100(core.List<core.Object> o) {
+checkUnnamed2118(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o[0]) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo'));
var casted8 = (o[1]) as core.Map; unittest.expect(casted8, unittest.hasLength(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed2101() {
+buildUnnamed2119() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2101(core.List<core.Object> o) {
+checkUnnamed2119(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o[0]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
var casted10 = (o[1]) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
@@ -794,10 +815,10 @@
var o = new api.KeyRange();
buildCounterKeyRange++;
if (buildCounterKeyRange < 3) {
- o.endClosed = buildUnnamed2098();
- o.endOpen = buildUnnamed2099();
- o.startClosed = buildUnnamed2100();
- o.startOpen = buildUnnamed2101();
+ o.endClosed = buildUnnamed2116();
+ o.endOpen = buildUnnamed2117();
+ o.startClosed = buildUnnamed2118();
+ o.startOpen = buildUnnamed2119();
}
buildCounterKeyRange--;
return o;
@@ -806,48 +827,48 @@
checkKeyRange(api.KeyRange o) {
buildCounterKeyRange++;
if (buildCounterKeyRange < 3) {
- checkUnnamed2098(o.endClosed);
- checkUnnamed2099(o.endOpen);
- checkUnnamed2100(o.startClosed);
- checkUnnamed2101(o.startOpen);
+ checkUnnamed2116(o.endClosed);
+ checkUnnamed2117(o.endOpen);
+ checkUnnamed2118(o.startClosed);
+ checkUnnamed2119(o.startOpen);
}
buildCounterKeyRange--;
}
-buildUnnamed2102() {
+buildUnnamed2120() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2102(core.List<core.Object> o) {
+checkUnnamed2120(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o[0]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
var casted12 = (o[1]) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed2103() {
+buildUnnamed2121() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed2102());
- o.add(buildUnnamed2102());
+ o.add(buildUnnamed2120());
+ o.add(buildUnnamed2120());
return o;
}
-checkUnnamed2103(core.List<core.List<core.Object>> o) {
+checkUnnamed2121(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2102(o[0]);
- checkUnnamed2102(o[1]);
+ checkUnnamed2120(o[0]);
+ checkUnnamed2120(o[1]);
}
-buildUnnamed2104() {
+buildUnnamed2122() {
var o = new core.List<api.KeyRange>();
o.add(buildKeyRange());
o.add(buildKeyRange());
return o;
}
-checkUnnamed2104(core.List<api.KeyRange> o) {
+checkUnnamed2122(core.List<api.KeyRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyRange(o[0]);
checkKeyRange(o[1]);
@@ -859,8 +880,8 @@
buildCounterKeySet++;
if (buildCounterKeySet < 3) {
o.all = true;
- o.keys = buildUnnamed2103();
- o.ranges = buildUnnamed2104();
+ o.keys = buildUnnamed2121();
+ o.ranges = buildUnnamed2122();
}
buildCounterKeySet--;
return o;
@@ -870,20 +891,20 @@
buildCounterKeySet++;
if (buildCounterKeySet < 3) {
unittest.expect(o.all, unittest.isTrue);
- checkUnnamed2103(o.keys);
- checkUnnamed2104(o.ranges);
+ checkUnnamed2121(o.keys);
+ checkUnnamed2122(o.ranges);
}
buildCounterKeySet--;
}
-buildUnnamed2105() {
+buildUnnamed2123() {
var o = new core.List<api.Database>();
o.add(buildDatabase());
o.add(buildDatabase());
return o;
}
-checkUnnamed2105(core.List<api.Database> o) {
+checkUnnamed2123(core.List<api.Database> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatabase(o[0]);
checkDatabase(o[1]);
@@ -894,7 +915,7 @@
var o = new api.ListDatabasesResponse();
buildCounterListDatabasesResponse++;
if (buildCounterListDatabasesResponse < 3) {
- o.databases = buildUnnamed2105();
+ o.databases = buildUnnamed2123();
o.nextPageToken = "foo";
}
buildCounterListDatabasesResponse--;
@@ -904,20 +925,20 @@
checkListDatabasesResponse(api.ListDatabasesResponse o) {
buildCounterListDatabasesResponse++;
if (buildCounterListDatabasesResponse < 3) {
- checkUnnamed2105(o.databases);
+ checkUnnamed2123(o.databases);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDatabasesResponse--;
}
-buildUnnamed2106() {
+buildUnnamed2124() {
var o = new core.List<api.InstanceConfig>();
o.add(buildInstanceConfig());
o.add(buildInstanceConfig());
return o;
}
-checkUnnamed2106(core.List<api.InstanceConfig> o) {
+checkUnnamed2124(core.List<api.InstanceConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceConfig(o[0]);
checkInstanceConfig(o[1]);
@@ -928,7 +949,7 @@
var o = new api.ListInstanceConfigsResponse();
buildCounterListInstanceConfigsResponse++;
if (buildCounterListInstanceConfigsResponse < 3) {
- o.instanceConfigs = buildUnnamed2106();
+ o.instanceConfigs = buildUnnamed2124();
o.nextPageToken = "foo";
}
buildCounterListInstanceConfigsResponse--;
@@ -938,20 +959,20 @@
checkListInstanceConfigsResponse(api.ListInstanceConfigsResponse o) {
buildCounterListInstanceConfigsResponse++;
if (buildCounterListInstanceConfigsResponse < 3) {
- checkUnnamed2106(o.instanceConfigs);
+ checkUnnamed2124(o.instanceConfigs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstanceConfigsResponse--;
}
-buildUnnamed2107() {
+buildUnnamed2125() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed2107(core.List<api.Instance> o) {
+checkUnnamed2125(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -962,7 +983,7 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed2107();
+ o.instances = buildUnnamed2125();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -972,20 +993,20 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed2107(o.instances);
+ checkUnnamed2125(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed2108() {
+buildUnnamed2126() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2108(core.List<api.Operation> o) {
+checkUnnamed2126(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -997,7 +1018,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2108();
+ o.operations = buildUnnamed2126();
}
buildCounterListOperationsResponse--;
return o;
@@ -1007,7 +1028,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2108(o.operations);
+ checkUnnamed2126(o.operations);
}
buildCounterListOperationsResponse--;
}
@@ -1062,27 +1083,27 @@
buildCounterMutation--;
}
-buildUnnamed2109() {
+buildUnnamed2127() {
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;
}
-checkUnnamed2109(core.Map<core.String, core.Object> o) {
+checkUnnamed2127(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["string"], unittest.equals('foo'));
var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["string"], unittest.equals('foo'));
}
-buildUnnamed2110() {
+buildUnnamed2128() {
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;
}
-checkUnnamed2110(core.Map<core.String, core.Object> o) {
+checkUnnamed2128(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)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest.expect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["string"], unittest.equals('foo'));
var casted16 = (o["y"]) as core.Map; unittest.expect(casted16, unittest.hasLength(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest.expect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["string"], unittest.equals('foo'));
@@ -1095,9 +1116,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2109();
+ o.metadata = buildUnnamed2127();
o.name = "foo";
- o.response = buildUnnamed2110();
+ o.response = buildUnnamed2128();
}
buildCounterOperation--;
return o;
@@ -1108,21 +1129,21 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2109(o.metadata);
+ checkUnnamed2127(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2110(o.response);
+ checkUnnamed2128(o.response);
}
buildCounterOperation--;
}
-buildUnnamed2111() {
+buildUnnamed2129() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2111(core.List<core.Object> o) {
+checkUnnamed2129(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted17 = (o[0]) as core.Map; unittest.expect(casted17, unittest.hasLength(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.expect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string"], unittest.equals('foo'));
var casted18 = (o[1]) as core.Map; unittest.expect(casted18, unittest.hasLength(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest.expect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["string"], unittest.equals('foo'));
@@ -1137,7 +1158,7 @@
o.metadata = buildResultSetMetadata();
o.resumeToken = "foo";
o.stats = buildResultSetStats();
- o.values = buildUnnamed2111();
+ o.values = buildUnnamed2129();
}
buildCounterPartialResultSet--;
return o;
@@ -1150,45 +1171,45 @@
checkResultSetMetadata(o.metadata);
unittest.expect(o.resumeToken, unittest.equals('foo'));
checkResultSetStats(o.stats);
- checkUnnamed2111(o.values);
+ checkUnnamed2129(o.values);
}
buildCounterPartialResultSet--;
}
-buildUnnamed2112() {
+buildUnnamed2130() {
var o = new core.List<api.ChildLink>();
o.add(buildChildLink());
o.add(buildChildLink());
return o;
}
-checkUnnamed2112(core.List<api.ChildLink> o) {
+checkUnnamed2130(core.List<api.ChildLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkChildLink(o[0]);
checkChildLink(o[1]);
}
-buildUnnamed2113() {
+buildUnnamed2131() {
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;
}
-checkUnnamed2113(core.Map<core.String, core.Object> o) {
+checkUnnamed2131(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)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest.expect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["string"], unittest.equals('foo'));
var casted20 = (o["y"]) as core.Map; unittest.expect(casted20, unittest.hasLength(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest.expect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["string"], unittest.equals('foo'));
}
-buildUnnamed2114() {
+buildUnnamed2132() {
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;
}
-checkUnnamed2114(core.Map<core.String, core.Object> o) {
+checkUnnamed2132(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)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest.expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["string"], unittest.equals('foo'));
var casted22 = (o["y"]) as core.Map; unittest.expect(casted22, unittest.hasLength(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest.expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["string"], unittest.equals('foo'));
@@ -1199,12 +1220,12 @@
var o = new api.PlanNode();
buildCounterPlanNode++;
if (buildCounterPlanNode < 3) {
- o.childLinks = buildUnnamed2112();
+ o.childLinks = buildUnnamed2130();
o.displayName = "foo";
- o.executionStats = buildUnnamed2113();
+ o.executionStats = buildUnnamed2131();
o.index = 42;
o.kind = "foo";
- o.metadata = buildUnnamed2114();
+ o.metadata = buildUnnamed2132();
o.shortRepresentation = buildShortRepresentation();
}
buildCounterPlanNode--;
@@ -1214,51 +1235,51 @@
checkPlanNode(api.PlanNode o) {
buildCounterPlanNode++;
if (buildCounterPlanNode < 3) {
- checkUnnamed2112(o.childLinks);
+ checkUnnamed2130(o.childLinks);
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed2113(o.executionStats);
+ checkUnnamed2131(o.executionStats);
unittest.expect(o.index, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2114(o.metadata);
+ checkUnnamed2132(o.metadata);
checkShortRepresentation(o.shortRepresentation);
}
buildCounterPlanNode--;
}
-buildUnnamed2115() {
+buildUnnamed2133() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed2115(core.List<api.AuditConfig> o) {
+checkUnnamed2133(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed2116() {
+buildUnnamed2134() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed2116(core.List<api.Binding> o) {
+checkUnnamed2134(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
}
-buildUnnamed2117() {
+buildUnnamed2135() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed2117(core.List<api.Rule> o) {
+checkUnnamed2135(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -1269,11 +1290,11 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed2115();
- o.bindings = buildUnnamed2116();
+ o.auditConfigs = buildUnnamed2133();
+ o.bindings = buildUnnamed2134();
o.etag = "foo";
o.iamOwned = true;
- o.rules = buildUnnamed2117();
+ o.rules = buildUnnamed2135();
o.version = 42;
}
buildCounterPolicy--;
@@ -1283,24 +1304,24 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed2115(o.auditConfigs);
- checkUnnamed2116(o.bindings);
+ checkUnnamed2133(o.auditConfigs);
+ checkUnnamed2134(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
- checkUnnamed2117(o.rules);
+ checkUnnamed2135(o.rules);
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed2118() {
+buildUnnamed2136() {
var o = new core.List<api.PlanNode>();
o.add(buildPlanNode());
o.add(buildPlanNode());
return o;
}
-checkUnnamed2118(core.List<api.PlanNode> o) {
+checkUnnamed2136(core.List<api.PlanNode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlanNode(o[0]);
checkPlanNode(o[1]);
@@ -1311,7 +1332,7 @@
var o = new api.QueryPlan();
buildCounterQueryPlan++;
if (buildCounterQueryPlan < 3) {
- o.planNodes = buildUnnamed2118();
+ o.planNodes = buildUnnamed2136();
}
buildCounterQueryPlan--;
return o;
@@ -1320,7 +1341,7 @@
checkQueryPlan(api.QueryPlan o) {
buildCounterQueryPlan++;
if (buildCounterQueryPlan < 3) {
- checkUnnamed2118(o.planNodes);
+ checkUnnamed2136(o.planNodes);
}
buildCounterQueryPlan--;
}
@@ -1354,14 +1375,14 @@
buildCounterReadOnly--;
}
-buildUnnamed2119() {
+buildUnnamed2137() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2119(core.List<core.String> 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'));
@@ -1372,7 +1393,7 @@
var o = new api.ReadRequest();
buildCounterReadRequest++;
if (buildCounterReadRequest < 3) {
- o.columns = buildUnnamed2119();
+ o.columns = buildUnnamed2137();
o.index = "foo";
o.keySet = buildKeySet();
o.limit = "foo";
@@ -1387,7 +1408,7 @@
checkReadRequest(api.ReadRequest o) {
buildCounterReadRequest++;
if (buildCounterReadRequest < 3) {
- checkUnnamed2119(o.columns);
+ checkUnnamed2137(o.columns);
unittest.expect(o.index, unittest.equals('foo'));
checkKeySet(o.keySet);
unittest.expect(o.limit, unittest.equals('foo'));
@@ -1415,30 +1436,30 @@
buildCounterReadWrite--;
}
-buildUnnamed2120() {
+buildUnnamed2138() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2120(core.List<core.Object> o) {
+checkUnnamed2138(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted23 = (o[0]) as core.Map; unittest.expect(casted23, unittest.hasLength(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest.expect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["string"], unittest.equals('foo'));
var casted24 = (o[1]) as core.Map; unittest.expect(casted24, unittest.hasLength(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest.expect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["string"], unittest.equals('foo'));
}
-buildUnnamed2121() {
+buildUnnamed2139() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed2120());
- o.add(buildUnnamed2120());
+ o.add(buildUnnamed2138());
+ o.add(buildUnnamed2138());
return o;
}
-checkUnnamed2121(core.List<core.List<core.Object>> o) {
+checkUnnamed2139(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2120(o[0]);
- checkUnnamed2120(o[1]);
+ checkUnnamed2138(o[0]);
+ checkUnnamed2138(o[1]);
}
core.int buildCounterResultSet = 0;
@@ -1447,7 +1468,7 @@
buildCounterResultSet++;
if (buildCounterResultSet < 3) {
o.metadata = buildResultSetMetadata();
- o.rows = buildUnnamed2121();
+ o.rows = buildUnnamed2139();
o.stats = buildResultSetStats();
}
buildCounterResultSet--;
@@ -1458,7 +1479,7 @@
buildCounterResultSet++;
if (buildCounterResultSet < 3) {
checkResultSetMetadata(o.metadata);
- checkUnnamed2121(o.rows);
+ checkUnnamed2139(o.rows);
checkResultSetStats(o.stats);
}
buildCounterResultSet--;
@@ -1485,14 +1506,14 @@
buildCounterResultSetMetadata--;
}
-buildUnnamed2122() {
+buildUnnamed2140() {
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;
}
-checkUnnamed2122(core.Map<core.String, core.Object> o) {
+checkUnnamed2140(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)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest.expect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["string"], unittest.equals('foo'));
var casted26 = (o["y"]) as core.Map; unittest.expect(casted26, unittest.hasLength(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest.expect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["string"], unittest.equals('foo'));
@@ -1504,7 +1525,7 @@
buildCounterResultSetStats++;
if (buildCounterResultSetStats < 3) {
o.queryPlan = buildQueryPlan();
- o.queryStats = buildUnnamed2122();
+ o.queryStats = buildUnnamed2140();
}
buildCounterResultSetStats--;
return o;
@@ -1514,7 +1535,7 @@
buildCounterResultSetStats++;
if (buildCounterResultSetStats < 3) {
checkQueryPlan(o.queryPlan);
- checkUnnamed2122(o.queryStats);
+ checkUnnamed2140(o.queryStats);
}
buildCounterResultSetStats--;
}
@@ -1538,66 +1559,66 @@
buildCounterRollbackRequest--;
}
-buildUnnamed2123() {
+buildUnnamed2141() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed2123(core.List<api.Condition> o) {
+checkUnnamed2141(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed2124() {
+buildUnnamed2142() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2124(core.List<core.String> o) {
+checkUnnamed2142(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2125() {
+buildUnnamed2143() {
var o = new core.List<api.LogConfig>();
o.add(buildLogConfig());
o.add(buildLogConfig());
return o;
}
-checkUnnamed2125(core.List<api.LogConfig> o) {
+checkUnnamed2143(core.List<api.LogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogConfig(o[0]);
checkLogConfig(o[1]);
}
-buildUnnamed2126() {
+buildUnnamed2144() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2126(core.List<core.String> o) {
+checkUnnamed2144(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2127() {
+buildUnnamed2145() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2127(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'));
@@ -1609,12 +1630,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.action = "foo";
- o.conditions = buildUnnamed2123();
+ o.conditions = buildUnnamed2141();
o.description = "foo";
- o.in_ = buildUnnamed2124();
- o.logConfig = buildUnnamed2125();
- o.notIn = buildUnnamed2126();
- o.permissions = buildUnnamed2127();
+ o.in_ = buildUnnamed2142();
+ o.logConfig = buildUnnamed2143();
+ o.notIn = buildUnnamed2144();
+ o.permissions = buildUnnamed2145();
}
buildCounterRule--;
return o;
@@ -1624,12 +1645,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed2123(o.conditions);
+ checkUnnamed2141(o.conditions);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2124(o.in_);
- checkUnnamed2125(o.logConfig);
- checkUnnamed2126(o.notIn);
- checkUnnamed2127(o.permissions);
+ checkUnnamed2142(o.in_);
+ checkUnnamed2143(o.logConfig);
+ checkUnnamed2144(o.notIn);
+ checkUnnamed2145(o.permissions);
}
buildCounterRule--;
}
@@ -1674,14 +1695,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed2128() {
+buildUnnamed2146() {
var o = new core.Map<core.String, core.int>();
o["x"] = 42;
o["y"] = 42;
return o;
}
-checkUnnamed2128(core.Map<core.String, core.int> o) {
+checkUnnamed2146(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));
@@ -1693,7 +1714,7 @@
buildCounterShortRepresentation++;
if (buildCounterShortRepresentation < 3) {
o.description = "foo";
- o.subqueries = buildUnnamed2128();
+ o.subqueries = buildUnnamed2146();
}
buildCounterShortRepresentation--;
return o;
@@ -1703,35 +1724,35 @@
buildCounterShortRepresentation++;
if (buildCounterShortRepresentation < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2128(o.subqueries);
+ checkUnnamed2146(o.subqueries);
}
buildCounterShortRepresentation--;
}
-buildUnnamed2129() {
+buildUnnamed2147() {
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;
}
-checkUnnamed2129(core.Map<core.String, core.Object> o) {
+checkUnnamed2147(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)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest.expect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["string"], unittest.equals('foo'));
var casted28 = (o["y"]) as core.Map; unittest.expect(casted28, unittest.hasLength(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest.expect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["string"], unittest.equals('foo'));
}
-buildUnnamed2130() {
+buildUnnamed2148() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2129());
- o.add(buildUnnamed2129());
+ o.add(buildUnnamed2147());
+ o.add(buildUnnamed2147());
return o;
}
-checkUnnamed2130(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2148(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2129(o[0]);
- checkUnnamed2129(o[1]);
+ checkUnnamed2147(o[0]);
+ checkUnnamed2147(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1740,7 +1761,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2130();
+ o.details = buildUnnamed2148();
o.message = "foo";
}
buildCounterStatus--;
@@ -1751,20 +1772,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2130(o.details);
+ checkUnnamed2148(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed2131() {
+buildUnnamed2149() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed2131(core.List<api.Field> o) {
+checkUnnamed2149(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
@@ -1775,7 +1796,7 @@
var o = new api.StructType();
buildCounterStructType++;
if (buildCounterStructType < 3) {
- o.fields = buildUnnamed2131();
+ o.fields = buildUnnamed2149();
}
buildCounterStructType--;
return o;
@@ -1784,19 +1805,19 @@
checkStructType(api.StructType o) {
buildCounterStructType++;
if (buildCounterStructType < 3) {
- checkUnnamed2131(o.fields);
+ checkUnnamed2149(o.fields);
}
buildCounterStructType--;
}
-buildUnnamed2132() {
+buildUnnamed2150() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2132(core.List<core.String> 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'));
@@ -1807,7 +1828,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed2132();
+ o.permissions = buildUnnamed2150();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -1816,19 +1837,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed2132(o.permissions);
+ checkUnnamed2150(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed2133() {
+buildUnnamed2151() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2133(core.List<core.String> 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'));
@@ -1839,7 +1860,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed2133();
+ o.permissions = buildUnnamed2151();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1848,7 +1869,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed2133(o.permissions);
+ checkUnnamed2151(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1941,27 +1962,27 @@
buildCounterType--;
}
-buildUnnamed2134() {
+buildUnnamed2152() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2134(core.List<core.String> o) {
+checkUnnamed2152(core.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() {
+buildUnnamed2153() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2135(core.List<core.String> 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'));
@@ -1972,9 +1993,9 @@
var o = new api.UpdateDatabaseDdlMetadata();
buildCounterUpdateDatabaseDdlMetadata++;
if (buildCounterUpdateDatabaseDdlMetadata < 3) {
- o.commitTimestamps = buildUnnamed2134();
+ o.commitTimestamps = buildUnnamed2152();
o.database = "foo";
- o.statements = buildUnnamed2135();
+ o.statements = buildUnnamed2153();
}
buildCounterUpdateDatabaseDdlMetadata--;
return o;
@@ -1983,21 +2004,21 @@
checkUpdateDatabaseDdlMetadata(api.UpdateDatabaseDdlMetadata o) {
buildCounterUpdateDatabaseDdlMetadata++;
if (buildCounterUpdateDatabaseDdlMetadata < 3) {
- checkUnnamed2134(o.commitTimestamps);
+ checkUnnamed2152(o.commitTimestamps);
unittest.expect(o.database, unittest.equals('foo'));
- checkUnnamed2135(o.statements);
+ checkUnnamed2153(o.statements);
}
buildCounterUpdateDatabaseDdlMetadata--;
}
-buildUnnamed2136() {
+buildUnnamed2154() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2136(core.List<core.String> o) {
+checkUnnamed2154(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2009,7 +2030,7 @@
buildCounterUpdateDatabaseDdlRequest++;
if (buildCounterUpdateDatabaseDdlRequest < 3) {
o.operationId = "foo";
- o.statements = buildUnnamed2136();
+ o.statements = buildUnnamed2154();
}
buildCounterUpdateDatabaseDdlRequest--;
return o;
@@ -2019,7 +2040,7 @@
buildCounterUpdateDatabaseDdlRequest++;
if (buildCounterUpdateDatabaseDdlRequest < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed2136(o.statements);
+ checkUnnamed2154(o.statements);
}
buildCounterUpdateDatabaseDdlRequest--;
}
@@ -2070,43 +2091,43 @@
buildCounterUpdateInstanceRequest--;
}
-buildUnnamed2137() {
+buildUnnamed2155() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2137(core.List<core.String> 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'));
}
-buildUnnamed2138() {
+buildUnnamed2156() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2138(core.List<core.Object> o) {
+checkUnnamed2156(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted29 = (o[0]) as core.Map; unittest.expect(casted29, unittest.hasLength(3)); unittest.expect(casted29["list"], unittest.equals([1, 2, 3])); unittest.expect(casted29["bool"], unittest.equals(true)); unittest.expect(casted29["string"], unittest.equals('foo'));
var casted30 = (o[1]) as core.Map; unittest.expect(casted30, unittest.hasLength(3)); unittest.expect(casted30["list"], unittest.equals([1, 2, 3])); unittest.expect(casted30["bool"], unittest.equals(true)); unittest.expect(casted30["string"], unittest.equals('foo'));
}
-buildUnnamed2139() {
+buildUnnamed2157() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed2138());
- o.add(buildUnnamed2138());
+ o.add(buildUnnamed2156());
+ o.add(buildUnnamed2156());
return o;
}
-checkUnnamed2139(core.List<core.List<core.Object>> o) {
+checkUnnamed2157(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2138(o[0]);
- checkUnnamed2138(o[1]);
+ checkUnnamed2156(o[0]);
+ checkUnnamed2156(o[1]);
}
core.int buildCounterWrite = 0;
@@ -2114,9 +2135,9 @@
var o = new api.Write();
buildCounterWrite++;
if (buildCounterWrite < 3) {
- o.columns = buildUnnamed2137();
+ o.columns = buildUnnamed2155();
o.table = "foo";
- o.values = buildUnnamed2139();
+ o.values = buildUnnamed2157();
}
buildCounterWrite--;
return o;
@@ -2125,9 +2146,9 @@
checkWrite(api.Write o) {
buildCounterWrite++;
if (buildCounterWrite < 3) {
- checkUnnamed2137(o.columns);
+ checkUnnamed2155(o.columns);
unittest.expect(o.table, unittest.equals('foo'));
- checkUnnamed2139(o.values);
+ checkUnnamed2157(o.values);
}
buildCounterWrite--;
}
@@ -2152,6 +2173,15 @@
});
+ unittest.group("obj-schema-AuthorizationLoggingOptions", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAuthorizationLoggingOptions();
+ var od = new api.AuthorizationLoggingOptions.fromJson(o.toJson());
+ checkAuthorizationLoggingOptions(od);
+ });
+ });
+
+
unittest.group("obj-schema-BeginTransactionRequest", () {
unittest.test("to-json--from-json", () {
var o = buildBeginTransactionRequest();
@@ -2984,9 +3014,9 @@
var mock = new HttpServerMock();
api.ProjectsInstancesResourceApi res = new api.SpannerApi(mock).projects.instances;
var arg_parent = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3014,9 +3044,9 @@
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["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -3025,7 +3055,7 @@
var resp = convert.JSON.encode(buildListInstancesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListInstancesResponse response) {
+ res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListInstancesResponse response) {
checkListInstancesResponse(response);
})));
});
diff --git a/generated/googleapis/test/speech/v1_test.dart b/generated/googleapis/test/speech/v1_test.dart
index aab2904..dca3b85 100644
--- a/generated/googleapis/test/speech/v1_test.dart
+++ b/generated/googleapis/test/speech/v1_test.dart
@@ -85,14 +85,14 @@
buildCounterEmpty--;
}
-buildUnnamed2686() {
+buildUnnamed2707() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2686(core.List<api.Operation> o) {
+checkUnnamed2707(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -104,7 +104,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2686();
+ o.operations = buildUnnamed2707();
}
buildCounterListOperationsResponse--;
return o;
@@ -114,7 +114,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2686(o.operations);
+ checkUnnamed2707(o.operations);
}
buildCounterListOperationsResponse--;
}
@@ -140,27 +140,27 @@
buildCounterLongRunningRecognizeRequest--;
}
-buildUnnamed2687() {
+buildUnnamed2708() {
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;
}
-checkUnnamed2687(core.Map<core.String, core.Object> o) {
+checkUnnamed2708(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'));
}
-buildUnnamed2688() {
+buildUnnamed2709() {
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;
}
-checkUnnamed2688(core.Map<core.String, core.Object> o) {
+checkUnnamed2709(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'));
@@ -173,9 +173,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2687();
+ o.metadata = buildUnnamed2708();
o.name = "foo";
- o.response = buildUnnamed2688();
+ o.response = buildUnnamed2709();
}
buildCounterOperation--;
return o;
@@ -186,9 +186,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2687(o.metadata);
+ checkUnnamed2708(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2688(o.response);
+ checkUnnamed2709(o.response);
}
buildCounterOperation--;
}
@@ -214,14 +214,14 @@
buildCounterRecognitionAudio--;
}
-buildUnnamed2689() {
+buildUnnamed2710() {
var o = new core.List<api.SpeechContext>();
o.add(buildSpeechContext());
o.add(buildSpeechContext());
return o;
}
-checkUnnamed2689(core.List<api.SpeechContext> o) {
+checkUnnamed2710(core.List<api.SpeechContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpeechContext(o[0]);
checkSpeechContext(o[1]);
@@ -238,7 +238,7 @@
o.maxAlternatives = 42;
o.profanityFilter = true;
o.sampleRateHertz = 42;
- o.speechContexts = buildUnnamed2689();
+ o.speechContexts = buildUnnamed2710();
}
buildCounterRecognitionConfig--;
return o;
@@ -253,7 +253,7 @@
unittest.expect(o.maxAlternatives, unittest.equals(42));
unittest.expect(o.profanityFilter, unittest.isTrue);
unittest.expect(o.sampleRateHertz, unittest.equals(42));
- checkUnnamed2689(o.speechContexts);
+ checkUnnamed2710(o.speechContexts);
}
buildCounterRecognitionConfig--;
}
@@ -279,14 +279,14 @@
buildCounterRecognizeRequest--;
}
-buildUnnamed2690() {
+buildUnnamed2711() {
var o = new core.List<api.SpeechRecognitionResult>();
o.add(buildSpeechRecognitionResult());
o.add(buildSpeechRecognitionResult());
return o;
}
-checkUnnamed2690(core.List<api.SpeechRecognitionResult> o) {
+checkUnnamed2711(core.List<api.SpeechRecognitionResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpeechRecognitionResult(o[0]);
checkSpeechRecognitionResult(o[1]);
@@ -297,7 +297,7 @@
var o = new api.RecognizeResponse();
buildCounterRecognizeResponse++;
if (buildCounterRecognizeResponse < 3) {
- o.results = buildUnnamed2690();
+ o.results = buildUnnamed2711();
}
buildCounterRecognizeResponse--;
return o;
@@ -306,19 +306,19 @@
checkRecognizeResponse(api.RecognizeResponse o) {
buildCounterRecognizeResponse++;
if (buildCounterRecognizeResponse < 3) {
- checkUnnamed2690(o.results);
+ checkUnnamed2711(o.results);
}
buildCounterRecognizeResponse--;
}
-buildUnnamed2691() {
+buildUnnamed2712() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2691(core.List<core.String> o) {
+checkUnnamed2712(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -329,7 +329,7 @@
var o = new api.SpeechContext();
buildCounterSpeechContext++;
if (buildCounterSpeechContext < 3) {
- o.phrases = buildUnnamed2691();
+ o.phrases = buildUnnamed2712();
}
buildCounterSpeechContext--;
return o;
@@ -338,19 +338,19 @@
checkSpeechContext(api.SpeechContext o) {
buildCounterSpeechContext++;
if (buildCounterSpeechContext < 3) {
- checkUnnamed2691(o.phrases);
+ checkUnnamed2712(o.phrases);
}
buildCounterSpeechContext--;
}
-buildUnnamed2692() {
+buildUnnamed2713() {
var o = new core.List<api.WordInfo>();
o.add(buildWordInfo());
o.add(buildWordInfo());
return o;
}
-checkUnnamed2692(core.List<api.WordInfo> o) {
+checkUnnamed2713(core.List<api.WordInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkWordInfo(o[0]);
checkWordInfo(o[1]);
@@ -363,7 +363,7 @@
if (buildCounterSpeechRecognitionAlternative < 3) {
o.confidence = 42.0;
o.transcript = "foo";
- o.words = buildUnnamed2692();
+ o.words = buildUnnamed2713();
}
buildCounterSpeechRecognitionAlternative--;
return o;
@@ -374,19 +374,19 @@
if (buildCounterSpeechRecognitionAlternative < 3) {
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.transcript, unittest.equals('foo'));
- checkUnnamed2692(o.words);
+ checkUnnamed2713(o.words);
}
buildCounterSpeechRecognitionAlternative--;
}
-buildUnnamed2693() {
+buildUnnamed2714() {
var o = new core.List<api.SpeechRecognitionAlternative>();
o.add(buildSpeechRecognitionAlternative());
o.add(buildSpeechRecognitionAlternative());
return o;
}
-checkUnnamed2693(core.List<api.SpeechRecognitionAlternative> o) {
+checkUnnamed2714(core.List<api.SpeechRecognitionAlternative> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpeechRecognitionAlternative(o[0]);
checkSpeechRecognitionAlternative(o[1]);
@@ -397,7 +397,7 @@
var o = new api.SpeechRecognitionResult();
buildCounterSpeechRecognitionResult++;
if (buildCounterSpeechRecognitionResult < 3) {
- o.alternatives = buildUnnamed2693();
+ o.alternatives = buildUnnamed2714();
}
buildCounterSpeechRecognitionResult--;
return o;
@@ -406,35 +406,35 @@
checkSpeechRecognitionResult(api.SpeechRecognitionResult o) {
buildCounterSpeechRecognitionResult++;
if (buildCounterSpeechRecognitionResult < 3) {
- checkUnnamed2693(o.alternatives);
+ checkUnnamed2714(o.alternatives);
}
buildCounterSpeechRecognitionResult--;
}
-buildUnnamed2694() {
+buildUnnamed2715() {
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;
}
-checkUnnamed2694(core.Map<core.String, core.Object> o) {
+checkUnnamed2715(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'));
}
-buildUnnamed2695() {
+buildUnnamed2716() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2694());
- o.add(buildUnnamed2694());
+ o.add(buildUnnamed2715());
+ o.add(buildUnnamed2715());
return o;
}
-checkUnnamed2695(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2716(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2694(o[0]);
- checkUnnamed2694(o[1]);
+ checkUnnamed2715(o[0]);
+ checkUnnamed2715(o[1]);
}
core.int buildCounterStatus = 0;
@@ -443,7 +443,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2695();
+ o.details = buildUnnamed2716();
o.message = "foo";
}
buildCounterStatus--;
@@ -454,7 +454,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2695(o.details);
+ checkUnnamed2716(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
diff --git a/generated/googleapis/test/storagetransfer/v1_test.dart b/generated/googleapis/test/storagetransfer/v1_test.dart
index 67d9816..4c9e178 100644
--- a/generated/googleapis/test/storagetransfer/v1_test.dart
+++ b/generated/googleapis/test/storagetransfer/v1_test.dart
@@ -133,14 +133,14 @@
buildCounterEmpty--;
}
-buildUnnamed1391() {
+buildUnnamed1408() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1391(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'));
@@ -151,7 +151,7 @@
var o = new api.ErrorLogEntry();
buildCounterErrorLogEntry++;
if (buildCounterErrorLogEntry < 3) {
- o.errorDetails = buildUnnamed1391();
+ o.errorDetails = buildUnnamed1408();
o.url = "foo";
}
buildCounterErrorLogEntry--;
@@ -161,20 +161,20 @@
checkErrorLogEntry(api.ErrorLogEntry o) {
buildCounterErrorLogEntry++;
if (buildCounterErrorLogEntry < 3) {
- checkUnnamed1391(o.errorDetails);
+ checkUnnamed1408(o.errorDetails);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterErrorLogEntry--;
}
-buildUnnamed1392() {
+buildUnnamed1409() {
var o = new core.List<api.ErrorLogEntry>();
o.add(buildErrorLogEntry());
o.add(buildErrorLogEntry());
return o;
}
-checkUnnamed1392(core.List<api.ErrorLogEntry> o) {
+checkUnnamed1409(core.List<api.ErrorLogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorLogEntry(o[0]);
checkErrorLogEntry(o[1]);
@@ -187,7 +187,7 @@
if (buildCounterErrorSummary < 3) {
o.errorCode = "foo";
o.errorCount = "foo";
- o.errorLogEntries = buildUnnamed1392();
+ o.errorLogEntries = buildUnnamed1409();
}
buildCounterErrorSummary--;
return o;
@@ -198,7 +198,7 @@
if (buildCounterErrorSummary < 3) {
unittest.expect(o.errorCode, unittest.equals('foo'));
unittest.expect(o.errorCount, unittest.equals('foo'));
- checkUnnamed1392(o.errorLogEntries);
+ checkUnnamed1409(o.errorLogEntries);
}
buildCounterErrorSummary--;
}
@@ -260,14 +260,14 @@
buildCounterHttpData--;
}
-buildUnnamed1393() {
+buildUnnamed1410() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1393(core.List<api.Operation> o) {
+checkUnnamed1410(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -279,7 +279,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1393();
+ o.operations = buildUnnamed1410();
}
buildCounterListOperationsResponse--;
return o;
@@ -289,19 +289,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1393(o.operations);
+ checkUnnamed1410(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1394() {
+buildUnnamed1411() {
var o = new core.List<api.TransferJob>();
o.add(buildTransferJob());
o.add(buildTransferJob());
return o;
}
-checkUnnamed1394(core.List<api.TransferJob> o) {
+checkUnnamed1411(core.List<api.TransferJob> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransferJob(o[0]);
checkTransferJob(o[1]);
@@ -313,7 +313,7 @@
buildCounterListTransferJobsResponse++;
if (buildCounterListTransferJobsResponse < 3) {
o.nextPageToken = "foo";
- o.transferJobs = buildUnnamed1394();
+ o.transferJobs = buildUnnamed1411();
}
buildCounterListTransferJobsResponse--;
return o;
@@ -323,32 +323,32 @@
buildCounterListTransferJobsResponse++;
if (buildCounterListTransferJobsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1394(o.transferJobs);
+ checkUnnamed1411(o.transferJobs);
}
buildCounterListTransferJobsResponse--;
}
-buildUnnamed1395() {
+buildUnnamed1412() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1395(core.List<core.String> o) {
+checkUnnamed1412(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1396() {
+buildUnnamed1413() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1396(core.List<core.String> o) {
+checkUnnamed1413(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -359,8 +359,8 @@
var o = new api.ObjectConditions();
buildCounterObjectConditions++;
if (buildCounterObjectConditions < 3) {
- o.excludePrefixes = buildUnnamed1395();
- o.includePrefixes = buildUnnamed1396();
+ o.excludePrefixes = buildUnnamed1412();
+ o.includePrefixes = buildUnnamed1413();
o.maxTimeElapsedSinceLastModification = "foo";
o.minTimeElapsedSinceLastModification = "foo";
}
@@ -371,35 +371,35 @@
checkObjectConditions(api.ObjectConditions o) {
buildCounterObjectConditions++;
if (buildCounterObjectConditions < 3) {
- checkUnnamed1395(o.excludePrefixes);
- checkUnnamed1396(o.includePrefixes);
+ checkUnnamed1412(o.excludePrefixes);
+ checkUnnamed1413(o.includePrefixes);
unittest.expect(o.maxTimeElapsedSinceLastModification, unittest.equals('foo'));
unittest.expect(o.minTimeElapsedSinceLastModification, unittest.equals('foo'));
}
buildCounterObjectConditions--;
}
-buildUnnamed1397() {
+buildUnnamed1414() {
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;
}
-checkUnnamed1397(core.Map<core.String, core.Object> o) {
+checkUnnamed1414(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'));
}
-buildUnnamed1398() {
+buildUnnamed1415() {
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;
}
-checkUnnamed1398(core.Map<core.String, core.Object> o) {
+checkUnnamed1415(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'));
@@ -412,9 +412,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1397();
+ o.metadata = buildUnnamed1414();
o.name = "foo";
- o.response = buildUnnamed1398();
+ o.response = buildUnnamed1415();
}
buildCounterOperation--;
return o;
@@ -425,9 +425,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1397(o.metadata);
+ checkUnnamed1414(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1398(o.response);
+ checkUnnamed1415(o.response);
}
buildCounterOperation--;
}
@@ -489,30 +489,30 @@
buildCounterSchedule--;
}
-buildUnnamed1399() {
+buildUnnamed1416() {
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;
}
-checkUnnamed1399(core.Map<core.String, core.Object> o) {
+checkUnnamed1416(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'));
}
-buildUnnamed1400() {
+buildUnnamed1417() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1399());
- o.add(buildUnnamed1399());
+ o.add(buildUnnamed1416());
+ o.add(buildUnnamed1416());
return o;
}
-checkUnnamed1400(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1417(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1399(o[0]);
- checkUnnamed1399(o[1]);
+ checkUnnamed1416(o[0]);
+ checkUnnamed1416(o[1]);
}
core.int buildCounterStatus = 0;
@@ -521,7 +521,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1400();
+ o.details = buildUnnamed1417();
o.message = "foo";
}
buildCounterStatus--;
@@ -532,7 +532,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1400(o.details);
+ checkUnnamed1417(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -647,14 +647,14 @@
buildCounterTransferJob--;
}
-buildUnnamed1401() {
+buildUnnamed1418() {
var o = new core.List<api.ErrorSummary>();
o.add(buildErrorSummary());
o.add(buildErrorSummary());
return o;
}
-checkUnnamed1401(core.List<api.ErrorSummary> o) {
+checkUnnamed1418(core.List<api.ErrorSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorSummary(o[0]);
checkErrorSummary(o[1]);
@@ -667,7 +667,7 @@
if (buildCounterTransferOperation < 3) {
o.counters = buildTransferCounters();
o.endTime = "foo";
- o.errorBreakdowns = buildUnnamed1401();
+ o.errorBreakdowns = buildUnnamed1418();
o.name = "foo";
o.projectId = "foo";
o.startTime = "foo";
@@ -684,7 +684,7 @@
if (buildCounterTransferOperation < 3) {
checkTransferCounters(o.counters);
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed1401(o.errorBreakdowns);
+ checkUnnamed1418(o.errorBreakdowns);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
@@ -1138,9 +1138,9 @@
var mock = new HttpServerMock();
api.TransferJobsResourceApi res = new api.StoragetransferApi(mock).transferJobs;
+ var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_filter = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1167,9 +1167,9 @@
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["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -1178,7 +1178,7 @@
var resp = convert.JSON.encode(buildListTransferJobsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListTransferJobsResponse response) {
+ res.list(filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListTransferJobsResponse response) {
checkListTransferJobsResponse(response);
})));
});
@@ -1376,9 +1376,9 @@
var mock = new HttpServerMock();
api.TransferOperationsResourceApi res = new api.StoragetransferApi(mock).transferOperations;
var arg_name = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1406,9 +1406,9 @@
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["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -1417,7 +1417,7 @@
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).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
+ res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
diff --git a/generated/googleapis/test/surveys/v2_test.dart b/generated/googleapis/test/surveys/v2_test.dart
index 60bc7f3..085d269 100644
--- a/generated/googleapis/test/surveys/v2_test.dart
+++ b/generated/googleapis/test/surveys/v2_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2208() {
+buildUnnamed2226() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed2208(core.List<api.FieldMask> o) {
+checkUnnamed2226(core.List<api.FieldMask> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldMask(o[0]);
checkFieldMask(o[1]);
@@ -69,7 +69,7 @@
var o = new api.FieldMask();
buildCounterFieldMask++;
if (buildCounterFieldMask < 3) {
- o.fields = buildUnnamed2208();
+ o.fields = buildUnnamed2226();
o.id = 42;
}
buildCounterFieldMask--;
@@ -79,20 +79,20 @@
checkFieldMask(api.FieldMask o) {
buildCounterFieldMask++;
if (buildCounterFieldMask < 3) {
- checkUnnamed2208(o.fields);
+ checkUnnamed2226(o.fields);
unittest.expect(o.id, unittest.equals(42));
}
buildCounterFieldMask--;
}
-buildUnnamed2209() {
+buildUnnamed2227() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2209(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'));
@@ -108,7 +108,7 @@
o.language = "foo";
o.mobileAppPanelId = "foo";
o.name = "foo";
- o.owners = buildUnnamed2209();
+ o.owners = buildUnnamed2227();
}
buildCounterMobileAppPanel--;
return o;
@@ -122,19 +122,19 @@
unittest.expect(o.language, unittest.equals('foo'));
unittest.expect(o.mobileAppPanelId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2209(o.owners);
+ checkUnnamed2227(o.owners);
}
buildCounterMobileAppPanel--;
}
-buildUnnamed2210() {
+buildUnnamed2228() {
var o = new core.List<api.MobileAppPanel>();
o.add(buildMobileAppPanel());
o.add(buildMobileAppPanel());
return o;
}
-checkUnnamed2210(core.List<api.MobileAppPanel> o) {
+checkUnnamed2228(core.List<api.MobileAppPanel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileAppPanel(o[0]);
checkMobileAppPanel(o[1]);
@@ -147,7 +147,7 @@
if (buildCounterMobileAppPanelsListResponse < 3) {
o.pageInfo = buildPageInfo();
o.requestId = "foo";
- o.resources = buildUnnamed2210();
+ o.resources = buildUnnamed2228();
o.tokenPagination = buildTokenPagination();
}
buildCounterMobileAppPanelsListResponse--;
@@ -159,7 +159,7 @@
if (buildCounterMobileAppPanelsListResponse < 3) {
checkPageInfo(o.pageInfo);
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed2210(o.resources);
+ checkUnnamed2228(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterMobileAppPanelsListResponse--;
@@ -207,14 +207,14 @@
buildCounterResultsGetRequest--;
}
-buildUnnamed2211() {
+buildUnnamed2229() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed2211(core.List<api.FieldMask> o) {
+checkUnnamed2229(core.List<api.FieldMask> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldMask(o[0]);
checkFieldMask(o[1]);
@@ -225,7 +225,7 @@
var o = new api.ResultsMask();
buildCounterResultsMask++;
if (buildCounterResultsMask < 3) {
- o.fields = buildUnnamed2211();
+ o.fields = buildUnnamed2229();
o.projection = "foo";
}
buildCounterResultsMask--;
@@ -235,33 +235,33 @@
checkResultsMask(api.ResultsMask o) {
buildCounterResultsMask++;
if (buildCounterResultsMask < 3) {
- checkUnnamed2211(o.fields);
+ checkUnnamed2229(o.fields);
unittest.expect(o.projection, unittest.equals('foo'));
}
buildCounterResultsMask--;
}
-buildUnnamed2212() {
+buildUnnamed2230() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2212(core.List<core.String> o) {
+checkUnnamed2230(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2213() {
+buildUnnamed2231() {
var o = new core.List<api.SurveyQuestion>();
o.add(buildSurveyQuestion());
o.add(buildSurveyQuestion());
return o;
}
-checkUnnamed2213(core.List<api.SurveyQuestion> o) {
+checkUnnamed2231(core.List<api.SurveyQuestion> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurveyQuestion(o[0]);
checkSurveyQuestion(o[1]);
@@ -276,8 +276,8 @@
o.cost = buildSurveyCost();
o.customerData = "foo";
o.description = "foo";
- o.owners = buildUnnamed2212();
- o.questions = buildUnnamed2213();
+ o.owners = buildUnnamed2230();
+ o.questions = buildUnnamed2231();
o.rejectionReason = buildSurveyRejection();
o.state = "foo";
o.surveyUrlId = "foo";
@@ -295,8 +295,8 @@
checkSurveyCost(o.cost);
unittest.expect(o.customerData, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2212(o.owners);
- checkUnnamed2213(o.questions);
+ checkUnnamed2230(o.owners);
+ checkUnnamed2231(o.questions);
checkSurveyRejection(o.rejectionReason);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.surveyUrlId, unittest.equals('foo'));
@@ -306,27 +306,27 @@
buildCounterSurvey--;
}
-buildUnnamed2214() {
+buildUnnamed2232() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2214(core.List<core.String> o) {
+checkUnnamed2232(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2215() {
+buildUnnamed2233() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2215(core.List<core.String> o) {
+checkUnnamed2233(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -337,11 +337,11 @@
var o = new api.SurveyAudience();
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- o.ages = buildUnnamed2214();
+ o.ages = buildUnnamed2232();
o.country = "foo";
o.countrySubdivision = "foo";
o.gender = "foo";
- o.languages = buildUnnamed2215();
+ o.languages = buildUnnamed2233();
o.mobileAppPanelId = "foo";
o.populationSource = "foo";
}
@@ -352,11 +352,11 @@
checkSurveyAudience(api.SurveyAudience o) {
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- checkUnnamed2214(o.ages);
+ checkUnnamed2232(o.ages);
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.countrySubdivision, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
- checkUnnamed2215(o.languages);
+ checkUnnamed2233(o.languages);
unittest.expect(o.mobileAppPanelId, unittest.equals('foo'));
unittest.expect(o.populationSource, unittest.equals('foo'));
}
@@ -388,53 +388,53 @@
buildCounterSurveyCost--;
}
-buildUnnamed2216() {
+buildUnnamed2234() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2216(core.List<core.String> o) {
+checkUnnamed2234(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2217() {
+buildUnnamed2235() {
var o = new core.List<api.SurveyQuestionImage>();
o.add(buildSurveyQuestionImage());
o.add(buildSurveyQuestionImage());
return o;
}
-checkUnnamed2217(core.List<api.SurveyQuestionImage> o) {
+checkUnnamed2235(core.List<api.SurveyQuestionImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurveyQuestionImage(o[0]);
checkSurveyQuestionImage(o[1]);
}
-buildUnnamed2218() {
+buildUnnamed2236() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2218(core.List<core.String> o) {
+checkUnnamed2236(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2219() {
+buildUnnamed2237() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2219(core.List<core.String> o) {
+checkUnnamed2237(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -446,20 +446,20 @@
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
o.answerOrder = "foo";
- o.answers = buildUnnamed2216();
+ o.answers = buildUnnamed2234();
o.hasOther = true;
o.highValueLabel = "foo";
- o.images = buildUnnamed2217();
+ o.images = buildUnnamed2235();
o.lastAnswerPositionPinned = true;
o.lowValueLabel = "foo";
o.mustPickSuggestion = true;
o.numStars = "foo";
o.openTextPlaceholder = "foo";
- o.openTextSuggestions = buildUnnamed2218();
+ o.openTextSuggestions = buildUnnamed2236();
o.question = "foo";
o.sentimentText = "foo";
o.singleLineResponse = true;
- o.thresholdAnswers = buildUnnamed2219();
+ o.thresholdAnswers = buildUnnamed2237();
o.type = "foo";
o.unitOfMeasurementLabel = "foo";
o.videoId = "foo";
@@ -472,20 +472,20 @@
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
unittest.expect(o.answerOrder, unittest.equals('foo'));
- checkUnnamed2216(o.answers);
+ checkUnnamed2234(o.answers);
unittest.expect(o.hasOther, unittest.isTrue);
unittest.expect(o.highValueLabel, unittest.equals('foo'));
- checkUnnamed2217(o.images);
+ checkUnnamed2235(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'));
- checkUnnamed2218(o.openTextSuggestions);
+ checkUnnamed2236(o.openTextSuggestions);
unittest.expect(o.question, unittest.equals('foo'));
unittest.expect(o.sentimentText, unittest.equals('foo'));
unittest.expect(o.singleLineResponse, unittest.isTrue);
- checkUnnamed2219(o.thresholdAnswers);
+ checkUnnamed2237(o.thresholdAnswers);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.unitOfMeasurementLabel, unittest.equals('foo'));
unittest.expect(o.videoId, unittest.equals('foo'));
@@ -577,14 +577,14 @@
buildCounterSurveysDeleteResponse--;
}
-buildUnnamed2220() {
+buildUnnamed2238() {
var o = new core.List<api.Survey>();
o.add(buildSurvey());
o.add(buildSurvey());
return o;
}
-checkUnnamed2220(core.List<api.Survey> o) {
+checkUnnamed2238(core.List<api.Survey> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurvey(o[0]);
checkSurvey(o[1]);
@@ -597,7 +597,7 @@
if (buildCounterSurveysListResponse < 3) {
o.pageInfo = buildPageInfo();
o.requestId = "foo";
- o.resources = buildUnnamed2220();
+ o.resources = buildUnnamed2238();
o.tokenPagination = buildTokenPagination();
}
buildCounterSurveysListResponse--;
@@ -609,7 +609,7 @@
if (buildCounterSurveysListResponse < 3) {
checkPageInfo(o.pageInfo);
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed2220(o.resources);
+ checkUnnamed2238(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterSurveysListResponse--;
diff --git a/generated/googleapis/test/tasks/v1_test.dart b/generated/googleapis/test/tasks/v1_test.dart
index edb2034..53f1f97 100644
--- a/generated/googleapis/test/tasks/v1_test.dart
+++ b/generated/googleapis/test/tasks/v1_test.dart
@@ -74,14 +74,14 @@
buildCounterTaskLinks--;
}
-buildUnnamed2696() {
+buildUnnamed2717() {
var o = new core.List<api.TaskLinks>();
o.add(buildTaskLinks());
o.add(buildTaskLinks());
return o;
}
-checkUnnamed2696(core.List<api.TaskLinks> o) {
+checkUnnamed2717(core.List<api.TaskLinks> o) {
unittest.expect(o, unittest.hasLength(2));
checkTaskLinks(o[0]);
checkTaskLinks(o[1]);
@@ -99,7 +99,7 @@
o.hidden = true;
o.id = "foo";
o.kind = "foo";
- o.links = buildUnnamed2696();
+ o.links = buildUnnamed2717();
o.notes = "foo";
o.parent = "foo";
o.position = "foo";
@@ -122,7 +122,7 @@
unittest.expect(o.hidden, unittest.isTrue);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2696(o.links);
+ checkUnnamed2717(o.links);
unittest.expect(o.notes, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
unittest.expect(o.position, unittest.equals('foo'));
@@ -163,14 +163,14 @@
buildCounterTaskList--;
}
-buildUnnamed2697() {
+buildUnnamed2718() {
var o = new core.List<api.TaskList>();
o.add(buildTaskList());
o.add(buildTaskList());
return o;
}
-checkUnnamed2697(core.List<api.TaskList> o) {
+checkUnnamed2718(core.List<api.TaskList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTaskList(o[0]);
checkTaskList(o[1]);
@@ -182,7 +182,7 @@
buildCounterTaskLists++;
if (buildCounterTaskLists < 3) {
o.etag = "foo";
- o.items = buildUnnamed2697();
+ o.items = buildUnnamed2718();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -194,21 +194,21 @@
buildCounterTaskLists++;
if (buildCounterTaskLists < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2697(o.items);
+ checkUnnamed2718(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterTaskLists--;
}
-buildUnnamed2698() {
+buildUnnamed2719() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed2698(core.List<api.Task> o) {
+checkUnnamed2719(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -220,7 +220,7 @@
buildCounterTasks++;
if (buildCounterTasks < 3) {
o.etag = "foo";
- o.items = buildUnnamed2698();
+ o.items = buildUnnamed2719();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -232,7 +232,7 @@
buildCounterTasks++;
if (buildCounterTasks < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2698(o.items);
+ checkUnnamed2719(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
diff --git a/generated/googleapis/test/urlshortener/v1_test.dart b/generated/googleapis/test/urlshortener/v1_test.dart
index dc1f383..0926c26 100644
--- a/generated/googleapis/test/urlshortener/v1_test.dart
+++ b/generated/googleapis/test/urlshortener/v1_test.dart
@@ -51,53 +51,53 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed769() {
+buildUnnamed787() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed769(core.List<api.StringCount> o) {
+checkUnnamed787(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
}
-buildUnnamed770() {
+buildUnnamed788() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed770(core.List<api.StringCount> o) {
+checkUnnamed788(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
}
-buildUnnamed771() {
+buildUnnamed789() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed771(core.List<api.StringCount> o) {
+checkUnnamed789(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
}
-buildUnnamed772() {
+buildUnnamed790() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed772(core.List<api.StringCount> o) {
+checkUnnamed790(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
@@ -108,11 +108,11 @@
var o = new api.AnalyticsSnapshot();
buildCounterAnalyticsSnapshot++;
if (buildCounterAnalyticsSnapshot < 3) {
- o.browsers = buildUnnamed769();
- o.countries = buildUnnamed770();
+ o.browsers = buildUnnamed787();
+ o.countries = buildUnnamed788();
o.longUrlClicks = "foo";
- o.platforms = buildUnnamed771();
- o.referrers = buildUnnamed772();
+ o.platforms = buildUnnamed789();
+ o.referrers = buildUnnamed790();
o.shortUrlClicks = "foo";
}
buildCounterAnalyticsSnapshot--;
@@ -122,11 +122,11 @@
checkAnalyticsSnapshot(api.AnalyticsSnapshot o) {
buildCounterAnalyticsSnapshot++;
if (buildCounterAnalyticsSnapshot < 3) {
- checkUnnamed769(o.browsers);
- checkUnnamed770(o.countries);
+ checkUnnamed787(o.browsers);
+ checkUnnamed788(o.countries);
unittest.expect(o.longUrlClicks, unittest.equals('foo'));
- checkUnnamed771(o.platforms);
- checkUnnamed772(o.referrers);
+ checkUnnamed789(o.platforms);
+ checkUnnamed790(o.referrers);
unittest.expect(o.shortUrlClicks, unittest.equals('foo'));
}
buildCounterAnalyticsSnapshot--;
@@ -209,14 +209,14 @@
buildCounterUrl--;
}
-buildUnnamed773() {
+buildUnnamed791() {
var o = new core.List<api.Url>();
o.add(buildUrl());
o.add(buildUrl());
return o;
}
-checkUnnamed773(core.List<api.Url> o) {
+checkUnnamed791(core.List<api.Url> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrl(o[0]);
checkUrl(o[1]);
@@ -227,7 +227,7 @@
var o = new api.UrlHistory();
buildCounterUrlHistory++;
if (buildCounterUrlHistory < 3) {
- o.items = buildUnnamed773();
+ o.items = buildUnnamed791();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextPageToken = "foo";
@@ -240,7 +240,7 @@
checkUrlHistory(api.UrlHistory o) {
buildCounterUrlHistory++;
if (buildCounterUrlHistory < 3) {
- checkUnnamed773(o.items);
+ checkUnnamed791(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 6dfcc62..22db4de 100644
--- a/generated/googleapis/test/vault/v1_test.dart
+++ b/generated/googleapis/test/vault/v1_test.dart
@@ -257,14 +257,14 @@
buildCounterHeldOrgUnit--;
}
-buildUnnamed1620() {
+buildUnnamed1637() {
var o = new core.List<api.HeldAccount>();
o.add(buildHeldAccount());
o.add(buildHeldAccount());
return o;
}
-checkUnnamed1620(core.List<api.HeldAccount> o) {
+checkUnnamed1637(core.List<api.HeldAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkHeldAccount(o[0]);
checkHeldAccount(o[1]);
@@ -275,7 +275,7 @@
var o = new api.Hold();
buildCounterHold++;
if (buildCounterHold < 3) {
- o.accounts = buildUnnamed1620();
+ o.accounts = buildUnnamed1637();
o.corpus = "foo";
o.holdId = "foo";
o.name = "foo";
@@ -290,7 +290,7 @@
checkHold(api.Hold o) {
buildCounterHold++;
if (buildCounterHold < 3) {
- checkUnnamed1620(o.accounts);
+ checkUnnamed1637(o.accounts);
unittest.expect(o.corpus, unittest.equals('foo'));
unittest.expect(o.holdId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -301,14 +301,14 @@
buildCounterHold--;
}
-buildUnnamed1621() {
+buildUnnamed1638() {
var o = new core.List<api.HeldAccount>();
o.add(buildHeldAccount());
o.add(buildHeldAccount());
return o;
}
-checkUnnamed1621(core.List<api.HeldAccount> o) {
+checkUnnamed1638(core.List<api.HeldAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkHeldAccount(o[0]);
checkHeldAccount(o[1]);
@@ -319,7 +319,7 @@
var o = new api.ListHeldAccountsResponse();
buildCounterListHeldAccountsResponse++;
if (buildCounterListHeldAccountsResponse < 3) {
- o.accounts = buildUnnamed1621();
+ o.accounts = buildUnnamed1638();
}
buildCounterListHeldAccountsResponse--;
return o;
@@ -328,19 +328,19 @@
checkListHeldAccountsResponse(api.ListHeldAccountsResponse o) {
buildCounterListHeldAccountsResponse++;
if (buildCounterListHeldAccountsResponse < 3) {
- checkUnnamed1621(o.accounts);
+ checkUnnamed1638(o.accounts);
}
buildCounterListHeldAccountsResponse--;
}
-buildUnnamed1622() {
+buildUnnamed1639() {
var o = new core.List<api.Hold>();
o.add(buildHold());
o.add(buildHold());
return o;
}
-checkUnnamed1622(core.List<api.Hold> o) {
+checkUnnamed1639(core.List<api.Hold> o) {
unittest.expect(o, unittest.hasLength(2));
checkHold(o[0]);
checkHold(o[1]);
@@ -351,7 +351,7 @@
var o = new api.ListHoldsResponse();
buildCounterListHoldsResponse++;
if (buildCounterListHoldsResponse < 3) {
- o.holds = buildUnnamed1622();
+ o.holds = buildUnnamed1639();
o.nextPageToken = "foo";
}
buildCounterListHoldsResponse--;
@@ -361,20 +361,20 @@
checkListHoldsResponse(api.ListHoldsResponse o) {
buildCounterListHoldsResponse++;
if (buildCounterListHoldsResponse < 3) {
- checkUnnamed1622(o.holds);
+ checkUnnamed1639(o.holds);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListHoldsResponse--;
}
-buildUnnamed1623() {
+buildUnnamed1640() {
var o = new core.List<api.Matter>();
o.add(buildMatter());
o.add(buildMatter());
return o;
}
-checkUnnamed1623(core.List<api.Matter> o) {
+checkUnnamed1640(core.List<api.Matter> o) {
unittest.expect(o, unittest.hasLength(2));
checkMatter(o[0]);
checkMatter(o[1]);
@@ -385,7 +385,7 @@
var o = new api.ListMattersResponse();
buildCounterListMattersResponse++;
if (buildCounterListMattersResponse < 3) {
- o.matters = buildUnnamed1623();
+ o.matters = buildUnnamed1640();
o.nextPageToken = "foo";
}
buildCounterListMattersResponse--;
@@ -395,20 +395,20 @@
checkListMattersResponse(api.ListMattersResponse o) {
buildCounterListMattersResponse++;
if (buildCounterListMattersResponse < 3) {
- checkUnnamed1623(o.matters);
+ checkUnnamed1640(o.matters);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListMattersResponse--;
}
-buildUnnamed1624() {
+buildUnnamed1641() {
var o = new core.List<api.MatterPermission>();
o.add(buildMatterPermission());
o.add(buildMatterPermission());
return o;
}
-checkUnnamed1624(core.List<api.MatterPermission> o) {
+checkUnnamed1641(core.List<api.MatterPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkMatterPermission(o[0]);
checkMatterPermission(o[1]);
@@ -421,7 +421,7 @@
if (buildCounterMatter < 3) {
o.description = "foo";
o.matterId = "foo";
- o.matterPermissions = buildUnnamed1624();
+ o.matterPermissions = buildUnnamed1641();
o.name = "foo";
o.state = "foo";
}
@@ -434,7 +434,7 @@
if (buildCounterMatter < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.matterId, unittest.equals('foo'));
- checkUnnamed1624(o.matterPermissions);
+ checkUnnamed1641(o.matterPermissions);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
}
diff --git a/generated/googleapis/test/vision/v1_test.dart b/generated/googleapis/test/vision/v1_test.dart
index 78cffec..ca97e4d 100644
--- a/generated/googleapis/test/vision/v1_test.dart
+++ b/generated/googleapis/test/vision/v1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1289() {
+buildUnnamed1306() {
var o = new core.List<api.Feature>();
o.add(buildFeature());
o.add(buildFeature());
return o;
}
-checkUnnamed1289(core.List<api.Feature> o) {
+checkUnnamed1306(core.List<api.Feature> o) {
unittest.expect(o, unittest.hasLength(2));
checkFeature(o[0]);
checkFeature(o[1]);
@@ -69,7 +69,7 @@
var o = new api.AnnotateImageRequest();
buildCounterAnnotateImageRequest++;
if (buildCounterAnnotateImageRequest < 3) {
- o.features = buildUnnamed1289();
+ o.features = buildUnnamed1306();
o.image = buildImage();
o.imageContext = buildImageContext();
}
@@ -80,73 +80,73 @@
checkAnnotateImageRequest(api.AnnotateImageRequest o) {
buildCounterAnnotateImageRequest++;
if (buildCounterAnnotateImageRequest < 3) {
- checkUnnamed1289(o.features);
+ checkUnnamed1306(o.features);
checkImage(o.image);
checkImageContext(o.imageContext);
}
buildCounterAnnotateImageRequest--;
}
-buildUnnamed1290() {
+buildUnnamed1307() {
var o = new core.List<api.FaceAnnotation>();
o.add(buildFaceAnnotation());
o.add(buildFaceAnnotation());
return o;
}
-checkUnnamed1290(core.List<api.FaceAnnotation> o) {
+checkUnnamed1307(core.List<api.FaceAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkFaceAnnotation(o[0]);
checkFaceAnnotation(o[1]);
}
-buildUnnamed1291() {
+buildUnnamed1308() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1291(core.List<api.EntityAnnotation> o) {
+checkUnnamed1308(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
}
-buildUnnamed1292() {
+buildUnnamed1309() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1292(core.List<api.EntityAnnotation> o) {
+checkUnnamed1309(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
}
-buildUnnamed1293() {
+buildUnnamed1310() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1293(core.List<api.EntityAnnotation> o) {
+checkUnnamed1310(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
}
-buildUnnamed1294() {
+buildUnnamed1311() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1294(core.List<api.EntityAnnotation> o) {
+checkUnnamed1311(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
@@ -159,14 +159,14 @@
if (buildCounterAnnotateImageResponse < 3) {
o.cropHintsAnnotation = buildCropHintsAnnotation();
o.error = buildStatus();
- o.faceAnnotations = buildUnnamed1290();
+ o.faceAnnotations = buildUnnamed1307();
o.fullTextAnnotation = buildTextAnnotation();
o.imagePropertiesAnnotation = buildImageProperties();
- o.labelAnnotations = buildUnnamed1291();
- o.landmarkAnnotations = buildUnnamed1292();
- o.logoAnnotations = buildUnnamed1293();
+ o.labelAnnotations = buildUnnamed1308();
+ o.landmarkAnnotations = buildUnnamed1309();
+ o.logoAnnotations = buildUnnamed1310();
o.safeSearchAnnotation = buildSafeSearchAnnotation();
- o.textAnnotations = buildUnnamed1294();
+ o.textAnnotations = buildUnnamed1311();
o.webDetection = buildWebDetection();
}
buildCounterAnnotateImageResponse--;
@@ -178,27 +178,27 @@
if (buildCounterAnnotateImageResponse < 3) {
checkCropHintsAnnotation(o.cropHintsAnnotation);
checkStatus(o.error);
- checkUnnamed1290(o.faceAnnotations);
+ checkUnnamed1307(o.faceAnnotations);
checkTextAnnotation(o.fullTextAnnotation);
checkImageProperties(o.imagePropertiesAnnotation);
- checkUnnamed1291(o.labelAnnotations);
- checkUnnamed1292(o.landmarkAnnotations);
- checkUnnamed1293(o.logoAnnotations);
+ checkUnnamed1308(o.labelAnnotations);
+ checkUnnamed1309(o.landmarkAnnotations);
+ checkUnnamed1310(o.logoAnnotations);
checkSafeSearchAnnotation(o.safeSearchAnnotation);
- checkUnnamed1294(o.textAnnotations);
+ checkUnnamed1311(o.textAnnotations);
checkWebDetection(o.webDetection);
}
buildCounterAnnotateImageResponse--;
}
-buildUnnamed1295() {
+buildUnnamed1312() {
var o = new core.List<api.AnnotateImageRequest>();
o.add(buildAnnotateImageRequest());
o.add(buildAnnotateImageRequest());
return o;
}
-checkUnnamed1295(core.List<api.AnnotateImageRequest> o) {
+checkUnnamed1312(core.List<api.AnnotateImageRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotateImageRequest(o[0]);
checkAnnotateImageRequest(o[1]);
@@ -209,7 +209,7 @@
var o = new api.BatchAnnotateImagesRequest();
buildCounterBatchAnnotateImagesRequest++;
if (buildCounterBatchAnnotateImagesRequest < 3) {
- o.requests = buildUnnamed1295();
+ o.requests = buildUnnamed1312();
}
buildCounterBatchAnnotateImagesRequest--;
return o;
@@ -218,19 +218,19 @@
checkBatchAnnotateImagesRequest(api.BatchAnnotateImagesRequest o) {
buildCounterBatchAnnotateImagesRequest++;
if (buildCounterBatchAnnotateImagesRequest < 3) {
- checkUnnamed1295(o.requests);
+ checkUnnamed1312(o.requests);
}
buildCounterBatchAnnotateImagesRequest--;
}
-buildUnnamed1296() {
+buildUnnamed1313() {
var o = new core.List<api.AnnotateImageResponse>();
o.add(buildAnnotateImageResponse());
o.add(buildAnnotateImageResponse());
return o;
}
-checkUnnamed1296(core.List<api.AnnotateImageResponse> o) {
+checkUnnamed1313(core.List<api.AnnotateImageResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotateImageResponse(o[0]);
checkAnnotateImageResponse(o[1]);
@@ -241,7 +241,7 @@
var o = new api.BatchAnnotateImagesResponse();
buildCounterBatchAnnotateImagesResponse++;
if (buildCounterBatchAnnotateImagesResponse < 3) {
- o.responses = buildUnnamed1296();
+ o.responses = buildUnnamed1313();
}
buildCounterBatchAnnotateImagesResponse--;
return o;
@@ -250,19 +250,19 @@
checkBatchAnnotateImagesResponse(api.BatchAnnotateImagesResponse o) {
buildCounterBatchAnnotateImagesResponse++;
if (buildCounterBatchAnnotateImagesResponse < 3) {
- checkUnnamed1296(o.responses);
+ checkUnnamed1313(o.responses);
}
buildCounterBatchAnnotateImagesResponse--;
}
-buildUnnamed1297() {
+buildUnnamed1314() {
var o = new core.List<api.Paragraph>();
o.add(buildParagraph());
o.add(buildParagraph());
return o;
}
-checkUnnamed1297(core.List<api.Paragraph> o) {
+checkUnnamed1314(core.List<api.Paragraph> o) {
unittest.expect(o, unittest.hasLength(2));
checkParagraph(o[0]);
checkParagraph(o[1]);
@@ -275,7 +275,7 @@
if (buildCounterBlock < 3) {
o.blockType = "foo";
o.boundingBox = buildBoundingPoly();
- o.paragraphs = buildUnnamed1297();
+ o.paragraphs = buildUnnamed1314();
o.property = buildTextProperty();
}
buildCounterBlock--;
@@ -287,20 +287,20 @@
if (buildCounterBlock < 3) {
unittest.expect(o.blockType, unittest.equals('foo'));
checkBoundingPoly(o.boundingBox);
- checkUnnamed1297(o.paragraphs);
+ checkUnnamed1314(o.paragraphs);
checkTextProperty(o.property);
}
buildCounterBlock--;
}
-buildUnnamed1298() {
+buildUnnamed1315() {
var o = new core.List<api.Vertex>();
o.add(buildVertex());
o.add(buildVertex());
return o;
}
-checkUnnamed1298(core.List<api.Vertex> o) {
+checkUnnamed1315(core.List<api.Vertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkVertex(o[0]);
checkVertex(o[1]);
@@ -311,7 +311,7 @@
var o = new api.BoundingPoly();
buildCounterBoundingPoly++;
if (buildCounterBoundingPoly < 3) {
- o.vertices = buildUnnamed1298();
+ o.vertices = buildUnnamed1315();
}
buildCounterBoundingPoly--;
return o;
@@ -320,7 +320,7 @@
checkBoundingPoly(api.BoundingPoly o) {
buildCounterBoundingPoly++;
if (buildCounterBoundingPoly < 3) {
- checkUnnamed1298(o.vertices);
+ checkUnnamed1315(o.vertices);
}
buildCounterBoundingPoly--;
}
@@ -396,14 +396,14 @@
buildCounterCropHint--;
}
-buildUnnamed1299() {
+buildUnnamed1316() {
var o = new core.List<api.CropHint>();
o.add(buildCropHint());
o.add(buildCropHint());
return o;
}
-checkUnnamed1299(core.List<api.CropHint> o) {
+checkUnnamed1316(core.List<api.CropHint> o) {
unittest.expect(o, unittest.hasLength(2));
checkCropHint(o[0]);
checkCropHint(o[1]);
@@ -414,7 +414,7 @@
var o = new api.CropHintsAnnotation();
buildCounterCropHintsAnnotation++;
if (buildCounterCropHintsAnnotation < 3) {
- o.cropHints = buildUnnamed1299();
+ o.cropHints = buildUnnamed1316();
}
buildCounterCropHintsAnnotation--;
return o;
@@ -423,19 +423,19 @@
checkCropHintsAnnotation(api.CropHintsAnnotation o) {
buildCounterCropHintsAnnotation++;
if (buildCounterCropHintsAnnotation < 3) {
- checkUnnamed1299(o.cropHints);
+ checkUnnamed1316(o.cropHints);
}
buildCounterCropHintsAnnotation--;
}
-buildUnnamed1300() {
+buildUnnamed1317() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1300(core.List<core.double> o) {
+checkUnnamed1317(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));
@@ -446,7 +446,7 @@
var o = new api.CropHintsParams();
buildCounterCropHintsParams++;
if (buildCounterCropHintsParams < 3) {
- o.aspectRatios = buildUnnamed1300();
+ o.aspectRatios = buildUnnamed1317();
}
buildCounterCropHintsParams--;
return o;
@@ -455,7 +455,7 @@
checkCropHintsParams(api.CropHintsParams o) {
buildCounterCropHintsParams++;
if (buildCounterCropHintsParams < 3) {
- checkUnnamed1300(o.aspectRatios);
+ checkUnnamed1317(o.aspectRatios);
}
buildCounterCropHintsParams--;
}
@@ -502,14 +502,14 @@
buildCounterDetectedLanguage--;
}
-buildUnnamed1301() {
+buildUnnamed1318() {
var o = new core.List<api.ColorInfo>();
o.add(buildColorInfo());
o.add(buildColorInfo());
return o;
}
-checkUnnamed1301(core.List<api.ColorInfo> o) {
+checkUnnamed1318(core.List<api.ColorInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorInfo(o[0]);
checkColorInfo(o[1]);
@@ -520,7 +520,7 @@
var o = new api.DominantColorsAnnotation();
buildCounterDominantColorsAnnotation++;
if (buildCounterDominantColorsAnnotation < 3) {
- o.colors = buildUnnamed1301();
+ o.colors = buildUnnamed1318();
}
buildCounterDominantColorsAnnotation--;
return o;
@@ -529,32 +529,32 @@
checkDominantColorsAnnotation(api.DominantColorsAnnotation o) {
buildCounterDominantColorsAnnotation++;
if (buildCounterDominantColorsAnnotation < 3) {
- checkUnnamed1301(o.colors);
+ checkUnnamed1318(o.colors);
}
buildCounterDominantColorsAnnotation--;
}
-buildUnnamed1302() {
+buildUnnamed1319() {
var o = new core.List<api.LocationInfo>();
o.add(buildLocationInfo());
o.add(buildLocationInfo());
return o;
}
-checkUnnamed1302(core.List<api.LocationInfo> o) {
+checkUnnamed1319(core.List<api.LocationInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocationInfo(o[0]);
checkLocationInfo(o[1]);
}
-buildUnnamed1303() {
+buildUnnamed1320() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed1303(core.List<api.Property> o) {
+checkUnnamed1320(core.List<api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o[0]);
checkProperty(o[1]);
@@ -569,9 +569,9 @@
o.confidence = 42.0;
o.description = "foo";
o.locale = "foo";
- o.locations = buildUnnamed1302();
+ o.locations = buildUnnamed1319();
o.mid = "foo";
- o.properties = buildUnnamed1303();
+ o.properties = buildUnnamed1320();
o.score = 42.0;
o.topicality = 42.0;
}
@@ -586,23 +586,23 @@
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed1302(o.locations);
+ checkUnnamed1319(o.locations);
unittest.expect(o.mid, unittest.equals('foo'));
- checkUnnamed1303(o.properties);
+ checkUnnamed1320(o.properties);
unittest.expect(o.score, unittest.equals(42.0));
unittest.expect(o.topicality, unittest.equals(42.0));
}
buildCounterEntityAnnotation--;
}
-buildUnnamed1304() {
+buildUnnamed1321() {
var o = new core.List<api.Landmark>();
o.add(buildLandmark());
o.add(buildLandmark());
return o;
}
-checkUnnamed1304(core.List<api.Landmark> o) {
+checkUnnamed1321(core.List<api.Landmark> o) {
unittest.expect(o, unittest.hasLength(2));
checkLandmark(o[0]);
checkLandmark(o[1]);
@@ -621,7 +621,7 @@
o.headwearLikelihood = "foo";
o.joyLikelihood = "foo";
o.landmarkingConfidence = 42.0;
- o.landmarks = buildUnnamed1304();
+ o.landmarks = buildUnnamed1321();
o.panAngle = 42.0;
o.rollAngle = 42.0;
o.sorrowLikelihood = "foo";
@@ -644,7 +644,7 @@
unittest.expect(o.headwearLikelihood, unittest.equals('foo'));
unittest.expect(o.joyLikelihood, unittest.equals('foo'));
unittest.expect(o.landmarkingConfidence, unittest.equals(42.0));
- checkUnnamed1304(o.landmarks);
+ checkUnnamed1321(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'));
@@ -697,14 +697,14 @@
buildCounterImage--;
}
-buildUnnamed1305() {
+buildUnnamed1322() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1305(core.List<core.String> o) {
+checkUnnamed1322(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -716,7 +716,7 @@
buildCounterImageContext++;
if (buildCounterImageContext < 3) {
o.cropHintsParams = buildCropHintsParams();
- o.languageHints = buildUnnamed1305();
+ o.languageHints = buildUnnamed1322();
o.latLongRect = buildLatLongRect();
}
buildCounterImageContext--;
@@ -727,7 +727,7 @@
buildCounterImageContext++;
if (buildCounterImageContext < 3) {
checkCropHintsParams(o.cropHintsParams);
- checkUnnamed1305(o.languageHints);
+ checkUnnamed1322(o.languageHints);
checkLatLongRect(o.latLongRect);
}
buildCounterImageContext--;
@@ -855,14 +855,14 @@
buildCounterLocationInfo--;
}
-buildUnnamed1306() {
+buildUnnamed1323() {
var o = new core.List<api.Block>();
o.add(buildBlock());
o.add(buildBlock());
return o;
}
-checkUnnamed1306(core.List<api.Block> o) {
+checkUnnamed1323(core.List<api.Block> o) {
unittest.expect(o, unittest.hasLength(2));
checkBlock(o[0]);
checkBlock(o[1]);
@@ -873,7 +873,7 @@
var o = new api.Page();
buildCounterPage++;
if (buildCounterPage < 3) {
- o.blocks = buildUnnamed1306();
+ o.blocks = buildUnnamed1323();
o.height = 42;
o.property = buildTextProperty();
o.width = 42;
@@ -885,7 +885,7 @@
checkPage(api.Page o) {
buildCounterPage++;
if (buildCounterPage < 3) {
- checkUnnamed1306(o.blocks);
+ checkUnnamed1323(o.blocks);
unittest.expect(o.height, unittest.equals(42));
checkTextProperty(o.property);
unittest.expect(o.width, unittest.equals(42));
@@ -893,14 +893,14 @@
buildCounterPage--;
}
-buildUnnamed1307() {
+buildUnnamed1324() {
var o = new core.List<api.Word>();
o.add(buildWord());
o.add(buildWord());
return o;
}
-checkUnnamed1307(core.List<api.Word> o) {
+checkUnnamed1324(core.List<api.Word> o) {
unittest.expect(o, unittest.hasLength(2));
checkWord(o[0]);
checkWord(o[1]);
@@ -913,7 +913,7 @@
if (buildCounterParagraph < 3) {
o.boundingBox = buildBoundingPoly();
o.property = buildTextProperty();
- o.words = buildUnnamed1307();
+ o.words = buildUnnamed1324();
}
buildCounterParagraph--;
return o;
@@ -924,7 +924,7 @@
if (buildCounterParagraph < 3) {
checkBoundingPoly(o.boundingBox);
checkTextProperty(o.property);
- checkUnnamed1307(o.words);
+ checkUnnamed1324(o.words);
}
buildCounterParagraph--;
}
@@ -1000,30 +1000,30 @@
buildCounterSafeSearchAnnotation--;
}
-buildUnnamed1308() {
+buildUnnamed1325() {
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;
}
-checkUnnamed1308(core.Map<core.String, core.Object> o) {
+checkUnnamed1325(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'));
}
-buildUnnamed1309() {
+buildUnnamed1326() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1308());
- o.add(buildUnnamed1308());
+ o.add(buildUnnamed1325());
+ o.add(buildUnnamed1325());
return o;
}
-checkUnnamed1309(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1326(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1308(o[0]);
- checkUnnamed1308(o[1]);
+ checkUnnamed1325(o[0]);
+ checkUnnamed1325(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1032,7 +1032,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1309();
+ o.details = buildUnnamed1326();
o.message = "foo";
}
buildCounterStatus--;
@@ -1043,7 +1043,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1309(o.details);
+ checkUnnamed1326(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1072,14 +1072,14 @@
buildCounterSymbol--;
}
-buildUnnamed1310() {
+buildUnnamed1327() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1310(core.List<api.Page> o) {
+checkUnnamed1327(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -1090,7 +1090,7 @@
var o = new api.TextAnnotation();
buildCounterTextAnnotation++;
if (buildCounterTextAnnotation < 3) {
- o.pages = buildUnnamed1310();
+ o.pages = buildUnnamed1327();
o.text = "foo";
}
buildCounterTextAnnotation--;
@@ -1100,20 +1100,20 @@
checkTextAnnotation(api.TextAnnotation o) {
buildCounterTextAnnotation++;
if (buildCounterTextAnnotation < 3) {
- checkUnnamed1310(o.pages);
+ checkUnnamed1327(o.pages);
unittest.expect(o.text, unittest.equals('foo'));
}
buildCounterTextAnnotation--;
}
-buildUnnamed1311() {
+buildUnnamed1328() {
var o = new core.List<api.DetectedLanguage>();
o.add(buildDetectedLanguage());
o.add(buildDetectedLanguage());
return o;
}
-checkUnnamed1311(core.List<api.DetectedLanguage> o) {
+checkUnnamed1328(core.List<api.DetectedLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkDetectedLanguage(o[0]);
checkDetectedLanguage(o[1]);
@@ -1125,7 +1125,7 @@
buildCounterTextProperty++;
if (buildCounterTextProperty < 3) {
o.detectedBreak = buildDetectedBreak();
- o.detectedLanguages = buildUnnamed1311();
+ o.detectedLanguages = buildUnnamed1328();
}
buildCounterTextProperty--;
return o;
@@ -1135,7 +1135,7 @@
buildCounterTextProperty++;
if (buildCounterTextProperty < 3) {
checkDetectedBreak(o.detectedBreak);
- checkUnnamed1311(o.detectedLanguages);
+ checkUnnamed1328(o.detectedLanguages);
}
buildCounterTextProperty--;
}
@@ -1161,66 +1161,66 @@
buildCounterVertex--;
}
-buildUnnamed1312() {
+buildUnnamed1329() {
var o = new core.List<api.WebImage>();
o.add(buildWebImage());
o.add(buildWebImage());
return o;
}
-checkUnnamed1312(core.List<api.WebImage> o) {
+checkUnnamed1329(core.List<api.WebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebImage(o[0]);
checkWebImage(o[1]);
}
-buildUnnamed1313() {
+buildUnnamed1330() {
var o = new core.List<api.WebPage>();
o.add(buildWebPage());
o.add(buildWebPage());
return o;
}
-checkUnnamed1313(core.List<api.WebPage> o) {
+checkUnnamed1330(core.List<api.WebPage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebPage(o[0]);
checkWebPage(o[1]);
}
-buildUnnamed1314() {
+buildUnnamed1331() {
var o = new core.List<api.WebImage>();
o.add(buildWebImage());
o.add(buildWebImage());
return o;
}
-checkUnnamed1314(core.List<api.WebImage> o) {
+checkUnnamed1331(core.List<api.WebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebImage(o[0]);
checkWebImage(o[1]);
}
-buildUnnamed1315() {
+buildUnnamed1332() {
var o = new core.List<api.WebImage>();
o.add(buildWebImage());
o.add(buildWebImage());
return o;
}
-checkUnnamed1315(core.List<api.WebImage> o) {
+checkUnnamed1332(core.List<api.WebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebImage(o[0]);
checkWebImage(o[1]);
}
-buildUnnamed1316() {
+buildUnnamed1333() {
var o = new core.List<api.WebEntity>();
o.add(buildWebEntity());
o.add(buildWebEntity());
return o;
}
-checkUnnamed1316(core.List<api.WebEntity> o) {
+checkUnnamed1333(core.List<api.WebEntity> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebEntity(o[0]);
checkWebEntity(o[1]);
@@ -1231,11 +1231,11 @@
var o = new api.WebDetection();
buildCounterWebDetection++;
if (buildCounterWebDetection < 3) {
- o.fullMatchingImages = buildUnnamed1312();
- o.pagesWithMatchingImages = buildUnnamed1313();
- o.partialMatchingImages = buildUnnamed1314();
- o.visuallySimilarImages = buildUnnamed1315();
- o.webEntities = buildUnnamed1316();
+ o.fullMatchingImages = buildUnnamed1329();
+ o.pagesWithMatchingImages = buildUnnamed1330();
+ o.partialMatchingImages = buildUnnamed1331();
+ o.visuallySimilarImages = buildUnnamed1332();
+ o.webEntities = buildUnnamed1333();
}
buildCounterWebDetection--;
return o;
@@ -1244,11 +1244,11 @@
checkWebDetection(api.WebDetection o) {
buildCounterWebDetection++;
if (buildCounterWebDetection < 3) {
- checkUnnamed1312(o.fullMatchingImages);
- checkUnnamed1313(o.pagesWithMatchingImages);
- checkUnnamed1314(o.partialMatchingImages);
- checkUnnamed1315(o.visuallySimilarImages);
- checkUnnamed1316(o.webEntities);
+ checkUnnamed1329(o.fullMatchingImages);
+ checkUnnamed1330(o.pagesWithMatchingImages);
+ checkUnnamed1331(o.partialMatchingImages);
+ checkUnnamed1332(o.visuallySimilarImages);
+ checkUnnamed1333(o.webEntities);
}
buildCounterWebDetection--;
}
@@ -1318,14 +1318,14 @@
buildCounterWebPage--;
}
-buildUnnamed1317() {
+buildUnnamed1334() {
var o = new core.List<api.Symbol>();
o.add(buildSymbol());
o.add(buildSymbol());
return o;
}
-checkUnnamed1317(core.List<api.Symbol> o) {
+checkUnnamed1334(core.List<api.Symbol> o) {
unittest.expect(o, unittest.hasLength(2));
checkSymbol(o[0]);
checkSymbol(o[1]);
@@ -1338,7 +1338,7 @@
if (buildCounterWord < 3) {
o.boundingBox = buildBoundingPoly();
o.property = buildTextProperty();
- o.symbols = buildUnnamed1317();
+ o.symbols = buildUnnamed1334();
}
buildCounterWord--;
return o;
@@ -1349,7 +1349,7 @@
if (buildCounterWord < 3) {
checkBoundingPoly(o.boundingBox);
checkTextProperty(o.property);
- checkUnnamed1317(o.symbols);
+ checkUnnamed1334(o.symbols);
}
buildCounterWord--;
}
diff --git a/generated/googleapis/test/webfonts/v1_test.dart b/generated/googleapis/test/webfonts/v1_test.dart
index b451384..693aed8 100644
--- a/generated/googleapis/test/webfonts/v1_test.dart
+++ b/generated/googleapis/test/webfonts/v1_test.dart
@@ -51,40 +51,40 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1673() {
+buildUnnamed1690() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1673(core.Map<core.String, core.String> o) {
+checkUnnamed1690(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1674() {
+buildUnnamed1691() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1674(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'));
}
-buildUnnamed1675() {
+buildUnnamed1692() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1675(core.List<core.String> o) {
+checkUnnamed1692(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -97,11 +97,11 @@
if (buildCounterWebfont < 3) {
o.category = "foo";
o.family = "foo";
- o.files = buildUnnamed1673();
+ o.files = buildUnnamed1690();
o.kind = "foo";
o.lastModified = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.subsets = buildUnnamed1674();
- o.variants = buildUnnamed1675();
+ o.subsets = buildUnnamed1691();
+ o.variants = buildUnnamed1692();
o.version = "foo";
}
buildCounterWebfont--;
@@ -113,24 +113,24 @@
if (buildCounterWebfont < 3) {
unittest.expect(o.category, unittest.equals('foo'));
unittest.expect(o.family, unittest.equals('foo'));
- checkUnnamed1673(o.files);
+ checkUnnamed1690(o.files);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastModified, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed1674(o.subsets);
- checkUnnamed1675(o.variants);
+ checkUnnamed1691(o.subsets);
+ checkUnnamed1692(o.variants);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterWebfont--;
}
-buildUnnamed1676() {
+buildUnnamed1693() {
var o = new core.List<api.Webfont>();
o.add(buildWebfont());
o.add(buildWebfont());
return o;
}
-checkUnnamed1676(core.List<api.Webfont> o) {
+checkUnnamed1693(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 = buildUnnamed1676();
+ o.items = buildUnnamed1693();
o.kind = "foo";
}
buildCounterWebfontList--;
@@ -151,7 +151,7 @@
checkWebfontList(api.WebfontList o) {
buildCounterWebfontList++;
if (buildCounterWebfontList < 3) {
- checkUnnamed1676(o.items);
+ checkUnnamed1693(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 d6ad392..6bd5013 100644
--- a/generated/googleapis/test/webmasters/v3_test.dart
+++ b/generated/googleapis/test/webmasters/v3_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed661() {
+buildUnnamed678() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed661(core.List<core.String> o) {
+checkUnnamed678(core.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.clicks = 42.0;
o.ctr = 42.0;
o.impressions = 42.0;
- o.keys = buildUnnamed661();
+ o.keys = buildUnnamed678();
o.position = 42.0;
}
buildCounterApiDataRow--;
@@ -85,7 +85,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));
- checkUnnamed661(o.keys);
+ checkUnnamed678(o.keys);
unittest.expect(o.position, unittest.equals(42.0));
}
buildCounterApiDataRow--;
@@ -114,14 +114,14 @@
buildCounterApiDimensionFilter--;
}
-buildUnnamed662() {
+buildUnnamed679() {
var o = new core.List<api.ApiDimensionFilter>();
o.add(buildApiDimensionFilter());
o.add(buildApiDimensionFilter());
return o;
}
-checkUnnamed662(core.List<api.ApiDimensionFilter> o) {
+checkUnnamed679(core.List<api.ApiDimensionFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkApiDimensionFilter(o[0]);
checkApiDimensionFilter(o[1]);
@@ -132,7 +132,7 @@
var o = new api.ApiDimensionFilterGroup();
buildCounterApiDimensionFilterGroup++;
if (buildCounterApiDimensionFilterGroup < 3) {
- o.filters = buildUnnamed662();
+ o.filters = buildUnnamed679();
o.groupType = "foo";
}
buildCounterApiDimensionFilterGroup--;
@@ -142,33 +142,33 @@
checkApiDimensionFilterGroup(api.ApiDimensionFilterGroup o) {
buildCounterApiDimensionFilterGroup++;
if (buildCounterApiDimensionFilterGroup < 3) {
- checkUnnamed662(o.filters);
+ checkUnnamed679(o.filters);
unittest.expect(o.groupType, unittest.equals('foo'));
}
buildCounterApiDimensionFilterGroup--;
}
-buildUnnamed663() {
+buildUnnamed680() {
var o = new core.List<api.ApiDimensionFilterGroup>();
o.add(buildApiDimensionFilterGroup());
o.add(buildApiDimensionFilterGroup());
return o;
}
-checkUnnamed663(core.List<api.ApiDimensionFilterGroup> o) {
+checkUnnamed680(core.List<api.ApiDimensionFilterGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkApiDimensionFilterGroup(o[0]);
checkApiDimensionFilterGroup(o[1]);
}
-buildUnnamed664() {
+buildUnnamed681() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed664(core.List<core.String> o) {
+checkUnnamed681(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -180,8 +180,8 @@
buildCounterSearchAnalyticsQueryRequest++;
if (buildCounterSearchAnalyticsQueryRequest < 3) {
o.aggregationType = "foo";
- o.dimensionFilterGroups = buildUnnamed663();
- o.dimensions = buildUnnamed664();
+ o.dimensionFilterGroups = buildUnnamed680();
+ o.dimensions = buildUnnamed681();
o.endDate = "foo";
o.rowLimit = 42;
o.searchType = "foo";
@@ -196,8 +196,8 @@
buildCounterSearchAnalyticsQueryRequest++;
if (buildCounterSearchAnalyticsQueryRequest < 3) {
unittest.expect(o.aggregationType, unittest.equals('foo'));
- checkUnnamed663(o.dimensionFilterGroups);
- checkUnnamed664(o.dimensions);
+ checkUnnamed680(o.dimensionFilterGroups);
+ checkUnnamed681(o.dimensions);
unittest.expect(o.endDate, unittest.equals('foo'));
unittest.expect(o.rowLimit, unittest.equals(42));
unittest.expect(o.searchType, unittest.equals('foo'));
@@ -207,14 +207,14 @@
buildCounterSearchAnalyticsQueryRequest--;
}
-buildUnnamed665() {
+buildUnnamed682() {
var o = new core.List<api.ApiDataRow>();
o.add(buildApiDataRow());
o.add(buildApiDataRow());
return o;
}
-checkUnnamed665(core.List<api.ApiDataRow> o) {
+checkUnnamed682(core.List<api.ApiDataRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkApiDataRow(o[0]);
checkApiDataRow(o[1]);
@@ -226,7 +226,7 @@
buildCounterSearchAnalyticsQueryResponse++;
if (buildCounterSearchAnalyticsQueryResponse < 3) {
o.responseAggregationType = "foo";
- o.rows = buildUnnamed665();
+ o.rows = buildUnnamed682();
}
buildCounterSearchAnalyticsQueryResponse--;
return o;
@@ -236,19 +236,19 @@
buildCounterSearchAnalyticsQueryResponse++;
if (buildCounterSearchAnalyticsQueryResponse < 3) {
unittest.expect(o.responseAggregationType, unittest.equals('foo'));
- checkUnnamed665(o.rows);
+ checkUnnamed682(o.rows);
}
buildCounterSearchAnalyticsQueryResponse--;
}
-buildUnnamed666() {
+buildUnnamed683() {
var o = new core.List<api.WmxSitemap>();
o.add(buildWmxSitemap());
o.add(buildWmxSitemap());
return o;
}
-checkUnnamed666(core.List<api.WmxSitemap> o) {
+checkUnnamed683(core.List<api.WmxSitemap> o) {
unittest.expect(o, unittest.hasLength(2));
checkWmxSitemap(o[0]);
checkWmxSitemap(o[1]);
@@ -259,7 +259,7 @@
var o = new api.SitemapsListResponse();
buildCounterSitemapsListResponse++;
if (buildCounterSitemapsListResponse < 3) {
- o.sitemap = buildUnnamed666();
+ o.sitemap = buildUnnamed683();
}
buildCounterSitemapsListResponse--;
return o;
@@ -268,19 +268,19 @@
checkSitemapsListResponse(api.SitemapsListResponse o) {
buildCounterSitemapsListResponse++;
if (buildCounterSitemapsListResponse < 3) {
- checkUnnamed666(o.sitemap);
+ checkUnnamed683(o.sitemap);
}
buildCounterSitemapsListResponse--;
}
-buildUnnamed667() {
+buildUnnamed684() {
var o = new core.List<api.WmxSite>();
o.add(buildWmxSite());
o.add(buildWmxSite());
return o;
}
-checkUnnamed667(core.List<api.WmxSite> o) {
+checkUnnamed684(core.List<api.WmxSite> o) {
unittest.expect(o, unittest.hasLength(2));
checkWmxSite(o[0]);
checkWmxSite(o[1]);
@@ -291,7 +291,7 @@
var o = new api.SitesListResponse();
buildCounterSitesListResponse++;
if (buildCounterSitesListResponse < 3) {
- o.siteEntry = buildUnnamed667();
+ o.siteEntry = buildUnnamed684();
}
buildCounterSitesListResponse--;
return o;
@@ -300,7 +300,7 @@
checkSitesListResponse(api.SitesListResponse o) {
buildCounterSitesListResponse++;
if (buildCounterSitesListResponse < 3) {
- checkUnnamed667(o.siteEntry);
+ checkUnnamed684(o.siteEntry);
}
buildCounterSitesListResponse--;
}
@@ -326,14 +326,14 @@
buildCounterUrlCrawlErrorCount--;
}
-buildUnnamed668() {
+buildUnnamed685() {
var o = new core.List<api.UrlCrawlErrorCount>();
o.add(buildUrlCrawlErrorCount());
o.add(buildUrlCrawlErrorCount());
return o;
}
-checkUnnamed668(core.List<api.UrlCrawlErrorCount> o) {
+checkUnnamed685(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 = buildUnnamed668();
+ o.entries = buildUnnamed685();
o.platform = "foo";
}
buildCounterUrlCrawlErrorCountsPerType--;
@@ -356,20 +356,20 @@
buildCounterUrlCrawlErrorCountsPerType++;
if (buildCounterUrlCrawlErrorCountsPerType < 3) {
unittest.expect(o.category, unittest.equals('foo'));
- checkUnnamed668(o.entries);
+ checkUnnamed685(o.entries);
unittest.expect(o.platform, unittest.equals('foo'));
}
buildCounterUrlCrawlErrorCountsPerType--;
}
-buildUnnamed669() {
+buildUnnamed686() {
var o = new core.List<api.UrlCrawlErrorCountsPerType>();
o.add(buildUrlCrawlErrorCountsPerType());
o.add(buildUrlCrawlErrorCountsPerType());
return o;
}
-checkUnnamed669(core.List<api.UrlCrawlErrorCountsPerType> o) {
+checkUnnamed686(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 = buildUnnamed669();
+ o.countPerTypes = buildUnnamed686();
}
buildCounterUrlCrawlErrorsCountsQueryResponse--;
return o;
@@ -389,7 +389,7 @@
checkUrlCrawlErrorsCountsQueryResponse(api.UrlCrawlErrorsCountsQueryResponse o) {
buildCounterUrlCrawlErrorsCountsQueryResponse++;
if (buildCounterUrlCrawlErrorsCountsQueryResponse < 3) {
- checkUnnamed669(o.countPerTypes);
+ checkUnnamed686(o.countPerTypes);
}
buildCounterUrlCrawlErrorsCountsQueryResponse--;
}
@@ -421,14 +421,14 @@
buildCounterUrlCrawlErrorsSample--;
}
-buildUnnamed670() {
+buildUnnamed687() {
var o = new core.List<api.UrlCrawlErrorsSample>();
o.add(buildUrlCrawlErrorsSample());
o.add(buildUrlCrawlErrorsSample());
return o;
}
-checkUnnamed670(core.List<api.UrlCrawlErrorsSample> o) {
+checkUnnamed687(core.List<api.UrlCrawlErrorsSample> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlCrawlErrorsSample(o[0]);
checkUrlCrawlErrorsSample(o[1]);
@@ -439,7 +439,7 @@
var o = new api.UrlCrawlErrorsSamplesListResponse();
buildCounterUrlCrawlErrorsSamplesListResponse++;
if (buildCounterUrlCrawlErrorsSamplesListResponse < 3) {
- o.urlCrawlErrorSample = buildUnnamed670();
+ o.urlCrawlErrorSample = buildUnnamed687();
}
buildCounterUrlCrawlErrorsSamplesListResponse--;
return o;
@@ -448,32 +448,32 @@
checkUrlCrawlErrorsSamplesListResponse(api.UrlCrawlErrorsSamplesListResponse o) {
buildCounterUrlCrawlErrorsSamplesListResponse++;
if (buildCounterUrlCrawlErrorsSamplesListResponse < 3) {
- checkUnnamed670(o.urlCrawlErrorSample);
+ checkUnnamed687(o.urlCrawlErrorSample);
}
buildCounterUrlCrawlErrorsSamplesListResponse--;
}
-buildUnnamed671() {
+buildUnnamed688() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed671(core.List<core.String> o) {
+checkUnnamed688(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed672() {
+buildUnnamed689() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed672(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'));
@@ -484,8 +484,8 @@
var o = new api.UrlSampleDetails();
buildCounterUrlSampleDetails++;
if (buildCounterUrlSampleDetails < 3) {
- o.containingSitemaps = buildUnnamed671();
- o.linkedFromUrls = buildUnnamed672();
+ o.containingSitemaps = buildUnnamed688();
+ o.linkedFromUrls = buildUnnamed689();
}
buildCounterUrlSampleDetails--;
return o;
@@ -494,8 +494,8 @@
checkUrlSampleDetails(api.UrlSampleDetails o) {
buildCounterUrlSampleDetails++;
if (buildCounterUrlSampleDetails < 3) {
- checkUnnamed671(o.containingSitemaps);
- checkUnnamed672(o.linkedFromUrls);
+ checkUnnamed688(o.containingSitemaps);
+ checkUnnamed689(o.linkedFromUrls);
}
buildCounterUrlSampleDetails--;
}
@@ -521,14 +521,14 @@
buildCounterWmxSite--;
}
-buildUnnamed673() {
+buildUnnamed690() {
var o = new core.List<api.WmxSitemapContent>();
o.add(buildWmxSitemapContent());
o.add(buildWmxSitemapContent());
return o;
}
-checkUnnamed673(core.List<api.WmxSitemapContent> o) {
+checkUnnamed690(core.List<api.WmxSitemapContent> o) {
unittest.expect(o, unittest.hasLength(2));
checkWmxSitemapContent(o[0]);
checkWmxSitemapContent(o[1]);
@@ -539,7 +539,7 @@
var o = new api.WmxSitemap();
buildCounterWmxSitemap++;
if (buildCounterWmxSitemap < 3) {
- o.contents = buildUnnamed673();
+ o.contents = buildUnnamed690();
o.errors = "foo";
o.isPending = true;
o.isSitemapsIndex = true;
@@ -556,7 +556,7 @@
checkWmxSitemap(api.WmxSitemap o) {
buildCounterWmxSitemap++;
if (buildCounterWmxSitemap < 3) {
- checkUnnamed673(o.contents);
+ checkUnnamed690(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 cd6fe2d..5767297 100644
--- a/generated/googleapis/test/youtube/v3_test.dart
+++ b/generated/googleapis/test/youtube/v3_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed557() {
+buildUnnamed563() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed557(core.List<core.String> o) {
+checkUnnamed563(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -70,7 +70,7 @@
buildCounterAccessPolicy++;
if (buildCounterAccessPolicy < 3) {
o.allowed = true;
- o.exception = buildUnnamed557();
+ o.exception = buildUnnamed563();
}
buildCounterAccessPolicy--;
return o;
@@ -80,7 +80,7 @@
buildCounterAccessPolicy++;
if (buildCounterAccessPolicy < 3) {
unittest.expect(o.allowed, unittest.isTrue);
- checkUnnamed557(o.exception);
+ checkUnnamed563(o.exception);
}
buildCounterAccessPolicy--;
}
@@ -269,27 +269,27 @@
buildCounterActivityContentDetailsPlaylistItem--;
}
-buildUnnamed558() {
+buildUnnamed564() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed558(core.List<core.String> o) {
+checkUnnamed564(core.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() {
+buildUnnamed565() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed559(core.List<core.String> o) {
+checkUnnamed565(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -307,8 +307,8 @@
o.customCtaButtonText = "foo";
o.descriptionText = "foo";
o.destinationUrl = "foo";
- o.forecastingUrl = buildUnnamed558();
- o.impressionUrl = buildUnnamed559();
+ o.forecastingUrl = buildUnnamed564();
+ o.impressionUrl = buildUnnamed565();
o.videoId = "foo";
}
buildCounterActivityContentDetailsPromotedItem--;
@@ -325,8 +325,8 @@
unittest.expect(o.customCtaButtonText, unittest.equals('foo'));
unittest.expect(o.descriptionText, unittest.equals('foo'));
unittest.expect(o.destinationUrl, unittest.equals('foo'));
- checkUnnamed558(o.forecastingUrl);
- checkUnnamed559(o.impressionUrl);
+ checkUnnamed564(o.forecastingUrl);
+ checkUnnamed565(o.impressionUrl);
unittest.expect(o.videoId, unittest.equals('foo'));
}
buildCounterActivityContentDetailsPromotedItem--;
@@ -420,14 +420,14 @@
buildCounterActivityContentDetailsUpload--;
}
-buildUnnamed560() {
+buildUnnamed566() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed560(core.List<api.Activity> o) {
+checkUnnamed566(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -440,7 +440,7 @@
if (buildCounterActivityListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed560();
+ o.items = buildUnnamed566();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -457,7 +457,7 @@
if (buildCounterActivityListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed560(o.items);
+ checkUnnamed566(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -526,14 +526,14 @@
buildCounterCaption--;
}
-buildUnnamed561() {
+buildUnnamed567() {
var o = new core.List<api.Caption>();
o.add(buildCaption());
o.add(buildCaption());
return o;
}
-checkUnnamed561(core.List<api.Caption> o) {
+checkUnnamed567(core.List<api.Caption> o) {
unittest.expect(o, unittest.hasLength(2));
checkCaption(o[0]);
checkCaption(o[1]);
@@ -546,7 +546,7 @@
if (buildCounterCaptionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed561();
+ o.items = buildUnnamed567();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -559,7 +559,7 @@
if (buildCounterCaptionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed561(o.items);
+ checkUnnamed567(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -636,14 +636,14 @@
buildCounterCdnSettings--;
}
-buildUnnamed562() {
+buildUnnamed568() {
var o = new core.Map<core.String, api.ChannelLocalization>();
o["x"] = buildChannelLocalization();
o["y"] = buildChannelLocalization();
return o;
}
-checkUnnamed562(core.Map<core.String, api.ChannelLocalization> o) {
+checkUnnamed568(core.Map<core.String, api.ChannelLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelLocalization(o["x"]);
checkChannelLocalization(o["y"]);
@@ -663,7 +663,7 @@
o.id = "foo";
o.invideoPromotion = buildInvideoPromotion();
o.kind = "foo";
- o.localizations = buildUnnamed562();
+ o.localizations = buildUnnamed568();
o.snippet = buildChannelSnippet();
o.statistics = buildChannelStatistics();
o.status = buildChannelStatus();
@@ -685,7 +685,7 @@
unittest.expect(o.id, unittest.equals('foo'));
checkInvideoPromotion(o.invideoPromotion);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed562(o.localizations);
+ checkUnnamed568(o.localizations);
checkChannelSnippet(o.snippet);
checkChannelStatistics(o.statistics);
checkChannelStatus(o.status);
@@ -742,14 +742,14 @@
buildCounterChannelBannerResource--;
}
-buildUnnamed563() {
+buildUnnamed569() {
var o = new core.List<api.PropertyValue>();
o.add(buildPropertyValue());
o.add(buildPropertyValue());
return o;
}
-checkUnnamed563(core.List<api.PropertyValue> o) {
+checkUnnamed569(core.List<api.PropertyValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyValue(o[0]);
checkPropertyValue(o[1]);
@@ -761,7 +761,7 @@
buildCounterChannelBrandingSettings++;
if (buildCounterChannelBrandingSettings < 3) {
o.channel = buildChannelSettings();
- o.hints = buildUnnamed563();
+ o.hints = buildUnnamed569();
o.image = buildImageSettings();
o.watch = buildWatchSettings();
}
@@ -773,7 +773,7 @@
buildCounterChannelBrandingSettings++;
if (buildCounterChannelBrandingSettings < 3) {
checkChannelSettings(o.channel);
- checkUnnamed563(o.hints);
+ checkUnnamed569(o.hints);
checkImageSettings(o.image);
checkWatchSettings(o.watch);
}
@@ -868,14 +868,14 @@
buildCounterChannelConversionPing--;
}
-buildUnnamed564() {
+buildUnnamed570() {
var o = new core.List<api.ChannelConversionPing>();
o.add(buildChannelConversionPing());
o.add(buildChannelConversionPing());
return o;
}
-checkUnnamed564(core.List<api.ChannelConversionPing> o) {
+checkUnnamed570(core.List<api.ChannelConversionPing> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelConversionPing(o[0]);
checkChannelConversionPing(o[1]);
@@ -886,7 +886,7 @@
var o = new api.ChannelConversionPings();
buildCounterChannelConversionPings++;
if (buildCounterChannelConversionPings < 3) {
- o.pings = buildUnnamed564();
+ o.pings = buildUnnamed570();
}
buildCounterChannelConversionPings--;
return o;
@@ -895,19 +895,19 @@
checkChannelConversionPings(api.ChannelConversionPings o) {
buildCounterChannelConversionPings++;
if (buildCounterChannelConversionPings < 3) {
- checkUnnamed564(o.pings);
+ checkUnnamed570(o.pings);
}
buildCounterChannelConversionPings--;
}
-buildUnnamed565() {
+buildUnnamed571() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed565(core.List<api.Channel> o) {
+checkUnnamed571(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
@@ -920,7 +920,7 @@
if (buildCounterChannelListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed565();
+ o.items = buildUnnamed571();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -937,7 +937,7 @@
if (buildCounterChannelListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed565(o.items);
+ checkUnnamed571(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -994,14 +994,14 @@
buildCounterChannelProfileDetails--;
}
-buildUnnamed566() {
+buildUnnamed572() {
var o = new core.Map<core.String, api.ChannelSectionLocalization>();
o["x"] = buildChannelSectionLocalization();
o["y"] = buildChannelSectionLocalization();
return o;
}
-checkUnnamed566(core.Map<core.String, api.ChannelSectionLocalization> o) {
+checkUnnamed572(core.Map<core.String, api.ChannelSectionLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelSectionLocalization(o["x"]);
checkChannelSectionLocalization(o["y"]);
@@ -1016,7 +1016,7 @@
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
- o.localizations = buildUnnamed566();
+ o.localizations = buildUnnamed572();
o.snippet = buildChannelSectionSnippet();
o.targeting = buildChannelSectionTargeting();
}
@@ -1031,34 +1031,34 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed566(o.localizations);
+ checkUnnamed572(o.localizations);
checkChannelSectionSnippet(o.snippet);
checkChannelSectionTargeting(o.targeting);
}
buildCounterChannelSection--;
}
-buildUnnamed567() {
+buildUnnamed573() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed567(core.List<core.String> o) {
+checkUnnamed573(core.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() {
+buildUnnamed574() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed568(core.List<core.String> o) {
+checkUnnamed574(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1069,8 +1069,8 @@
var o = new api.ChannelSectionContentDetails();
buildCounterChannelSectionContentDetails++;
if (buildCounterChannelSectionContentDetails < 3) {
- o.channels = buildUnnamed567();
- o.playlists = buildUnnamed568();
+ o.channels = buildUnnamed573();
+ o.playlists = buildUnnamed574();
}
buildCounterChannelSectionContentDetails--;
return o;
@@ -1079,20 +1079,20 @@
checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) {
buildCounterChannelSectionContentDetails++;
if (buildCounterChannelSectionContentDetails < 3) {
- checkUnnamed567(o.channels);
- checkUnnamed568(o.playlists);
+ checkUnnamed573(o.channels);
+ checkUnnamed574(o.playlists);
}
buildCounterChannelSectionContentDetails--;
}
-buildUnnamed569() {
+buildUnnamed575() {
var o = new core.List<api.ChannelSection>();
o.add(buildChannelSection());
o.add(buildChannelSection());
return o;
}
-checkUnnamed569(core.List<api.ChannelSection> o) {
+checkUnnamed575(core.List<api.ChannelSection> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelSection(o[0]);
checkChannelSection(o[1]);
@@ -1105,7 +1105,7 @@
if (buildCounterChannelSectionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed569();
+ o.items = buildUnnamed575();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -1118,7 +1118,7 @@
if (buildCounterChannelSectionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed569(o.items);
+ checkUnnamed575(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -1175,40 +1175,40 @@
buildCounterChannelSectionSnippet--;
}
-buildUnnamed570() {
+buildUnnamed576() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed570(core.List<core.String> o) {
+checkUnnamed576(core.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() {
+buildUnnamed577() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed571(core.List<core.String> o) {
+checkUnnamed577(core.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() {
+buildUnnamed578() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed572(core.List<core.String> o) {
+checkUnnamed578(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1219,9 +1219,9 @@
var o = new api.ChannelSectionTargeting();
buildCounterChannelSectionTargeting++;
if (buildCounterChannelSectionTargeting < 3) {
- o.countries = buildUnnamed570();
- o.languages = buildUnnamed571();
- o.regions = buildUnnamed572();
+ o.countries = buildUnnamed576();
+ o.languages = buildUnnamed577();
+ o.regions = buildUnnamed578();
}
buildCounterChannelSectionTargeting--;
return o;
@@ -1230,21 +1230,21 @@
checkChannelSectionTargeting(api.ChannelSectionTargeting o) {
buildCounterChannelSectionTargeting++;
if (buildCounterChannelSectionTargeting < 3) {
- checkUnnamed570(o.countries);
- checkUnnamed571(o.languages);
- checkUnnamed572(o.regions);
+ checkUnnamed576(o.countries);
+ checkUnnamed577(o.languages);
+ checkUnnamed578(o.regions);
}
buildCounterChannelSectionTargeting--;
}
-buildUnnamed573() {
+buildUnnamed579() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed573(core.List<core.String> o) {
+checkUnnamed579(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1260,7 +1260,7 @@
o.defaultTab = "foo";
o.description = "foo";
o.featuredChannelsTitle = "foo";
- o.featuredChannelsUrls = buildUnnamed573();
+ o.featuredChannelsUrls = buildUnnamed579();
o.keywords = "foo";
o.moderateComments = true;
o.profileColor = "foo";
@@ -1282,7 +1282,7 @@
unittest.expect(o.defaultTab, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.featuredChannelsTitle, unittest.equals('foo'));
- checkUnnamed573(o.featuredChannelsUrls);
+ checkUnnamed579(o.featuredChannelsUrls);
unittest.expect(o.keywords, unittest.equals('foo'));
unittest.expect(o.moderateComments, unittest.isTrue);
unittest.expect(o.profileColor, unittest.equals('foo'));
@@ -1378,27 +1378,27 @@
buildCounterChannelStatus--;
}
-buildUnnamed574() {
+buildUnnamed580() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed574(core.List<core.String> o) {
+checkUnnamed580(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed575() {
+buildUnnamed581() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed575(core.List<core.String> o) {
+checkUnnamed581(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1409,8 +1409,8 @@
var o = new api.ChannelTopicDetails();
buildCounterChannelTopicDetails++;
if (buildCounterChannelTopicDetails < 3) {
- o.topicCategories = buildUnnamed574();
- o.topicIds = buildUnnamed575();
+ o.topicCategories = buildUnnamed580();
+ o.topicIds = buildUnnamed581();
}
buildCounterChannelTopicDetails--;
return o;
@@ -1419,8 +1419,8 @@
checkChannelTopicDetails(api.ChannelTopicDetails o) {
buildCounterChannelTopicDetails++;
if (buildCounterChannelTopicDetails < 3) {
- checkUnnamed574(o.topicCategories);
- checkUnnamed575(o.topicIds);
+ checkUnnamed580(o.topicCategories);
+ checkUnnamed581(o.topicIds);
}
buildCounterChannelTopicDetails--;
}
@@ -1450,14 +1450,14 @@
buildCounterComment--;
}
-buildUnnamed576() {
+buildUnnamed582() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed576(core.List<api.Comment> o) {
+checkUnnamed582(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1470,7 +1470,7 @@
if (buildCounterCommentListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed576();
+ o.items = buildUnnamed582();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1486,7 +1486,7 @@
if (buildCounterCommentListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed576(o.items);
+ checkUnnamed582(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1570,14 +1570,14 @@
buildCounterCommentThread--;
}
-buildUnnamed577() {
+buildUnnamed583() {
var o = new core.List<api.CommentThread>();
o.add(buildCommentThread());
o.add(buildCommentThread());
return o;
}
-checkUnnamed577(core.List<api.CommentThread> o) {
+checkUnnamed583(core.List<api.CommentThread> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentThread(o[0]);
checkCommentThread(o[1]);
@@ -1590,7 +1590,7 @@
if (buildCounterCommentThreadListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed577();
+ o.items = buildUnnamed583();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1606,7 +1606,7 @@
if (buildCounterCommentThreadListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed577(o.items);
+ checkUnnamed583(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1616,14 +1616,14 @@
buildCounterCommentThreadListResponse--;
}
-buildUnnamed578() {
+buildUnnamed584() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed578(core.List<api.Comment> o) {
+checkUnnamed584(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1634,7 +1634,7 @@
var o = new api.CommentThreadReplies();
buildCounterCommentThreadReplies++;
if (buildCounterCommentThreadReplies < 3) {
- o.comments = buildUnnamed578();
+ o.comments = buildUnnamed584();
}
buildCounterCommentThreadReplies--;
return o;
@@ -1643,7 +1643,7 @@
checkCommentThreadReplies(api.CommentThreadReplies o) {
buildCounterCommentThreadReplies++;
if (buildCounterCommentThreadReplies < 3) {
- checkUnnamed578(o.comments);
+ checkUnnamed584(o.comments);
}
buildCounterCommentThreadReplies--;
}
@@ -1677,27 +1677,27 @@
buildCounterCommentThreadSnippet--;
}
-buildUnnamed579() {
+buildUnnamed585() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed579(core.List<core.String> 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'));
}
-buildUnnamed580() {
+buildUnnamed586() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed580(core.List<core.String> 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'));
@@ -1728,7 +1728,7 @@
o.cscfRating = "foo";
o.czfilmRating = "foo";
o.djctqRating = "foo";
- o.djctqRatingReasons = buildUnnamed579();
+ o.djctqRatingReasons = buildUnnamed585();
o.ecbmctRating = "foo";
o.eefilmRating = "foo";
o.egfilmRating = "foo";
@@ -1737,7 +1737,7 @@
o.fcoRating = "foo";
o.fmocRating = "foo";
o.fpbRating = "foo";
- o.fpbRatingReasons = buildUnnamed580();
+ o.fpbRatingReasons = buildUnnamed586();
o.fskRating = "foo";
o.grfilmRating = "foo";
o.icaaRating = "foo";
@@ -1804,7 +1804,7 @@
unittest.expect(o.cscfRating, unittest.equals('foo'));
unittest.expect(o.czfilmRating, unittest.equals('foo'));
unittest.expect(o.djctqRating, unittest.equals('foo'));
- checkUnnamed579(o.djctqRatingReasons);
+ checkUnnamed585(o.djctqRatingReasons);
unittest.expect(o.ecbmctRating, unittest.equals('foo'));
unittest.expect(o.eefilmRating, unittest.equals('foo'));
unittest.expect(o.egfilmRating, unittest.equals('foo'));
@@ -1813,7 +1813,7 @@
unittest.expect(o.fcoRating, unittest.equals('foo'));
unittest.expect(o.fmocRating, unittest.equals('foo'));
unittest.expect(o.fpbRating, unittest.equals('foo'));
- checkUnnamed580(o.fpbRatingReasons);
+ checkUnnamed586(o.fpbRatingReasons);
unittest.expect(o.fskRating, unittest.equals('foo'));
unittest.expect(o.grfilmRating, unittest.equals('foo'));
unittest.expect(o.icaaRating, unittest.equals('foo'));
@@ -1881,14 +1881,14 @@
buildCounterFanFundingEvent--;
}
-buildUnnamed581() {
+buildUnnamed587() {
var o = new core.List<api.FanFundingEvent>();
o.add(buildFanFundingEvent());
o.add(buildFanFundingEvent());
return o;
}
-checkUnnamed581(core.List<api.FanFundingEvent> o) {
+checkUnnamed587(core.List<api.FanFundingEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkFanFundingEvent(o[0]);
checkFanFundingEvent(o[1]);
@@ -1901,7 +1901,7 @@
if (buildCounterFanFundingEventListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed581();
+ o.items = buildUnnamed587();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1917,7 +1917,7 @@
if (buildCounterFanFundingEventListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed581(o.items);
+ checkUnnamed587(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2006,14 +2006,14 @@
buildCounterGuideCategory--;
}
-buildUnnamed582() {
+buildUnnamed588() {
var o = new core.List<api.GuideCategory>();
o.add(buildGuideCategory());
o.add(buildGuideCategory());
return o;
}
-checkUnnamed582(core.List<api.GuideCategory> o) {
+checkUnnamed588(core.List<api.GuideCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuideCategory(o[0]);
checkGuideCategory(o[1]);
@@ -2026,7 +2026,7 @@
if (buildCounterGuideCategoryListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed582();
+ o.items = buildUnnamed588();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2043,7 +2043,7 @@
if (buildCounterGuideCategoryListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed582(o.items);
+ checkUnnamed588(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2100,14 +2100,14 @@
buildCounterI18nLanguage--;
}
-buildUnnamed583() {
+buildUnnamed589() {
var o = new core.List<api.I18nLanguage>();
o.add(buildI18nLanguage());
o.add(buildI18nLanguage());
return o;
}
-checkUnnamed583(core.List<api.I18nLanguage> o) {
+checkUnnamed589(core.List<api.I18nLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkI18nLanguage(o[0]);
checkI18nLanguage(o[1]);
@@ -2120,7 +2120,7 @@
if (buildCounterI18nLanguageListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed583();
+ o.items = buildUnnamed589();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -2133,7 +2133,7 @@
if (buildCounterI18nLanguageListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed583(o.items);
+ checkUnnamed589(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -2186,14 +2186,14 @@
buildCounterI18nRegion--;
}
-buildUnnamed584() {
+buildUnnamed590() {
var o = new core.List<api.I18nRegion>();
o.add(buildI18nRegion());
o.add(buildI18nRegion());
return o;
}
-checkUnnamed584(core.List<api.I18nRegion> o) {
+checkUnnamed590(core.List<api.I18nRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkI18nRegion(o[0]);
checkI18nRegion(o[1]);
@@ -2206,7 +2206,7 @@
if (buildCounterI18nRegionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed584();
+ o.items = buildUnnamed590();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -2219,7 +2219,7 @@
if (buildCounterI18nRegionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed584(o.items);
+ checkUnnamed590(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -2379,14 +2379,14 @@
buildCounterInvideoPosition--;
}
-buildUnnamed585() {
+buildUnnamed591() {
var o = new core.List<api.PromotedItem>();
o.add(buildPromotedItem());
o.add(buildPromotedItem());
return o;
}
-checkUnnamed585(core.List<api.PromotedItem> o) {
+checkUnnamed591(core.List<api.PromotedItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkPromotedItem(o[0]);
checkPromotedItem(o[1]);
@@ -2398,7 +2398,7 @@
buildCounterInvideoPromotion++;
if (buildCounterInvideoPromotion < 3) {
o.defaultTiming = buildInvideoTiming();
- o.items = buildUnnamed585();
+ o.items = buildUnnamed591();
o.position = buildInvideoPosition();
o.useSmartTiming = true;
}
@@ -2410,7 +2410,7 @@
buildCounterInvideoPromotion++;
if (buildCounterInvideoPromotion < 3) {
checkInvideoTiming(o.defaultTiming);
- checkUnnamed585(o.items);
+ checkUnnamed591(o.items);
checkInvideoPosition(o.position);
unittest.expect(o.useSmartTiming, unittest.isTrue);
}
@@ -2533,14 +2533,14 @@
buildCounterLiveBroadcastContentDetails--;
}
-buildUnnamed586() {
+buildUnnamed592() {
var o = new core.List<api.LiveBroadcast>();
o.add(buildLiveBroadcast());
o.add(buildLiveBroadcast());
return o;
}
-checkUnnamed586(core.List<api.LiveBroadcast> o) {
+checkUnnamed592(core.List<api.LiveBroadcast> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveBroadcast(o[0]);
checkLiveBroadcast(o[1]);
@@ -2553,7 +2553,7 @@
if (buildCounterLiveBroadcastListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed586();
+ o.items = buildUnnamed592();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2570,7 +2570,7 @@
if (buildCounterLiveBroadcastListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed586(o.items);
+ checkUnnamed592(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2689,14 +2689,14 @@
buildCounterLiveBroadcastTopic--;
}
-buildUnnamed587() {
+buildUnnamed593() {
var o = new core.List<api.LiveBroadcastTopic>();
o.add(buildLiveBroadcastTopic());
o.add(buildLiveBroadcastTopic());
return o;
}
-checkUnnamed587(core.List<api.LiveBroadcastTopic> o) {
+checkUnnamed593(core.List<api.LiveBroadcastTopic> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveBroadcastTopic(o[0]);
checkLiveBroadcastTopic(o[1]);
@@ -2707,7 +2707,7 @@
var o = new api.LiveBroadcastTopicDetails();
buildCounterLiveBroadcastTopicDetails++;
if (buildCounterLiveBroadcastTopicDetails < 3) {
- o.topics = buildUnnamed587();
+ o.topics = buildUnnamed593();
}
buildCounterLiveBroadcastTopicDetails--;
return o;
@@ -2716,7 +2716,7 @@
checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) {
buildCounterLiveBroadcastTopicDetails++;
if (buildCounterLiveBroadcastTopicDetails < 3) {
- checkUnnamed587(o.topics);
+ checkUnnamed593(o.topics);
}
buildCounterLiveBroadcastTopicDetails--;
}
@@ -2896,14 +2896,14 @@
buildCounterLiveChatMessageDeletedDetails--;
}
-buildUnnamed588() {
+buildUnnamed594() {
var o = new core.List<api.LiveChatMessage>();
o.add(buildLiveChatMessage());
o.add(buildLiveChatMessage());
return o;
}
-checkUnnamed588(core.List<api.LiveChatMessage> o) {
+checkUnnamed594(core.List<api.LiveChatMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatMessage(o[0]);
checkLiveChatMessage(o[1]);
@@ -2916,7 +2916,7 @@
if (buildCounterLiveChatMessageListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed588();
+ o.items = buildUnnamed594();
o.kind = "foo";
o.nextPageToken = "foo";
o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02");
@@ -2934,7 +2934,7 @@
if (buildCounterLiveChatMessageListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed588(o.items);
+ checkUnnamed594(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.offlineAt, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -3039,14 +3039,14 @@
buildCounterLiveChatModerator--;
}
-buildUnnamed589() {
+buildUnnamed595() {
var o = new core.List<api.LiveChatModerator>();
o.add(buildLiveChatModerator());
o.add(buildLiveChatModerator());
return o;
}
-checkUnnamed589(core.List<api.LiveChatModerator> o) {
+checkUnnamed595(core.List<api.LiveChatModerator> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatModerator(o[0]);
checkLiveChatModerator(o[1]);
@@ -3059,7 +3059,7 @@
if (buildCounterLiveChatModeratorListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed589();
+ o.items = buildUnnamed595();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3076,7 +3076,7 @@
if (buildCounterLiveChatModeratorListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed589(o.items);
+ checkUnnamed595(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3127,14 +3127,14 @@
buildCounterLiveChatPollClosedDetails--;
}
-buildUnnamed590() {
+buildUnnamed596() {
var o = new core.List<api.LiveChatPollItem>();
o.add(buildLiveChatPollItem());
o.add(buildLiveChatPollItem());
return o;
}
-checkUnnamed590(core.List<api.LiveChatPollItem> o) {
+checkUnnamed596(core.List<api.LiveChatPollItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatPollItem(o[0]);
checkLiveChatPollItem(o[1]);
@@ -3146,7 +3146,7 @@
buildCounterLiveChatPollEditedDetails++;
if (buildCounterLiveChatPollEditedDetails < 3) {
o.id = "foo";
- o.items = buildUnnamed590();
+ o.items = buildUnnamed596();
o.prompt = "foo";
}
buildCounterLiveChatPollEditedDetails--;
@@ -3157,7 +3157,7 @@
buildCounterLiveChatPollEditedDetails++;
if (buildCounterLiveChatPollEditedDetails < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed590(o.items);
+ checkUnnamed596(o.items);
unittest.expect(o.prompt, unittest.equals('foo'));
}
buildCounterLiveChatPollEditedDetails--;
@@ -3184,14 +3184,14 @@
buildCounterLiveChatPollItem--;
}
-buildUnnamed591() {
+buildUnnamed597() {
var o = new core.List<api.LiveChatPollItem>();
o.add(buildLiveChatPollItem());
o.add(buildLiveChatPollItem());
return o;
}
-checkUnnamed591(core.List<api.LiveChatPollItem> o) {
+checkUnnamed597(core.List<api.LiveChatPollItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatPollItem(o[0]);
checkLiveChatPollItem(o[1]);
@@ -3203,7 +3203,7 @@
buildCounterLiveChatPollOpenedDetails++;
if (buildCounterLiveChatPollOpenedDetails < 3) {
o.id = "foo";
- o.items = buildUnnamed591();
+ o.items = buildUnnamed597();
o.prompt = "foo";
}
buildCounterLiveChatPollOpenedDetails--;
@@ -3214,7 +3214,7 @@
buildCounterLiveChatPollOpenedDetails++;
if (buildCounterLiveChatPollOpenedDetails < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed591(o.items);
+ checkUnnamed597(o.items);
unittest.expect(o.prompt, unittest.equals('foo'));
}
buildCounterLiveChatPollOpenedDetails--;
@@ -3387,14 +3387,14 @@
buildCounterLiveStreamContentDetails--;
}
-buildUnnamed592() {
+buildUnnamed598() {
var o = new core.List<api.LiveStreamConfigurationIssue>();
o.add(buildLiveStreamConfigurationIssue());
o.add(buildLiveStreamConfigurationIssue());
return o;
}
-checkUnnamed592(core.List<api.LiveStreamConfigurationIssue> o) {
+checkUnnamed598(core.List<api.LiveStreamConfigurationIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveStreamConfigurationIssue(o[0]);
checkLiveStreamConfigurationIssue(o[1]);
@@ -3405,7 +3405,7 @@
var o = new api.LiveStreamHealthStatus();
buildCounterLiveStreamHealthStatus++;
if (buildCounterLiveStreamHealthStatus < 3) {
- o.configurationIssues = buildUnnamed592();
+ o.configurationIssues = buildUnnamed598();
o.lastUpdateTimeSeconds = "foo";
o.status = "foo";
}
@@ -3416,21 +3416,21 @@
checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) {
buildCounterLiveStreamHealthStatus++;
if (buildCounterLiveStreamHealthStatus < 3) {
- checkUnnamed592(o.configurationIssues);
+ checkUnnamed598(o.configurationIssues);
unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterLiveStreamHealthStatus--;
}
-buildUnnamed593() {
+buildUnnamed599() {
var o = new core.List<api.LiveStream>();
o.add(buildLiveStream());
o.add(buildLiveStream());
return o;
}
-checkUnnamed593(core.List<api.LiveStream> o) {
+checkUnnamed599(core.List<api.LiveStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveStream(o[0]);
checkLiveStream(o[1]);
@@ -3443,7 +3443,7 @@
if (buildCounterLiveStreamListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed593();
+ o.items = buildUnnamed599();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3460,7 +3460,7 @@
if (buildCounterLiveStreamListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed593(o.items);
+ checkUnnamed599(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3519,14 +3519,14 @@
buildCounterLiveStreamStatus--;
}
-buildUnnamed594() {
+buildUnnamed600() {
var o = new core.List<api.LocalizedString>();
o.add(buildLocalizedString());
o.add(buildLocalizedString());
return o;
}
-checkUnnamed594(core.List<api.LocalizedString> o) {
+checkUnnamed600(core.List<api.LocalizedString> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedString(o[0]);
checkLocalizedString(o[1]);
@@ -3539,7 +3539,7 @@
if (buildCounterLocalizedProperty < 3) {
o.default_ = "foo";
o.defaultLanguage = buildLanguageTag();
- o.localized = buildUnnamed594();
+ o.localized = buildUnnamed600();
}
buildCounterLocalizedProperty--;
return o;
@@ -3550,7 +3550,7 @@
if (buildCounterLocalizedProperty < 3) {
unittest.expect(o.default_, unittest.equals('foo'));
checkLanguageTag(o.defaultLanguage);
- checkUnnamed594(o.localized);
+ checkUnnamed600(o.localized);
}
buildCounterLocalizedProperty--;
}
@@ -3620,14 +3620,14 @@
buildCounterPageInfo--;
}
-buildUnnamed595() {
+buildUnnamed601() {
var o = new core.Map<core.String, api.PlaylistLocalization>();
o["x"] = buildPlaylistLocalization();
o["y"] = buildPlaylistLocalization();
return o;
}
-checkUnnamed595(core.Map<core.String, api.PlaylistLocalization> o) {
+checkUnnamed601(core.Map<core.String, api.PlaylistLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylistLocalization(o["x"]);
checkPlaylistLocalization(o["y"]);
@@ -3642,7 +3642,7 @@
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
- o.localizations = buildUnnamed595();
+ o.localizations = buildUnnamed601();
o.player = buildPlaylistPlayer();
o.snippet = buildPlaylistSnippet();
o.status = buildPlaylistStatus();
@@ -3658,7 +3658,7 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed595(o.localizations);
+ checkUnnamed601(o.localizations);
checkPlaylistPlayer(o.player);
checkPlaylistSnippet(o.snippet);
checkPlaylistStatus(o.status);
@@ -3741,14 +3741,14 @@
buildCounterPlaylistItemContentDetails--;
}
-buildUnnamed596() {
+buildUnnamed602() {
var o = new core.List<api.PlaylistItem>();
o.add(buildPlaylistItem());
o.add(buildPlaylistItem());
return o;
}
-checkUnnamed596(core.List<api.PlaylistItem> o) {
+checkUnnamed602(core.List<api.PlaylistItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylistItem(o[0]);
checkPlaylistItem(o[1]);
@@ -3761,7 +3761,7 @@
if (buildCounterPlaylistItemListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed596();
+ o.items = buildUnnamed602();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3778,7 +3778,7 @@
if (buildCounterPlaylistItemListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed596(o.items);
+ checkUnnamed602(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3843,14 +3843,14 @@
buildCounterPlaylistItemStatus--;
}
-buildUnnamed597() {
+buildUnnamed603() {
var o = new core.List<api.Playlist>();
o.add(buildPlaylist());
o.add(buildPlaylist());
return o;
}
-checkUnnamed597(core.List<api.Playlist> o) {
+checkUnnamed603(core.List<api.Playlist> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylist(o[0]);
checkPlaylist(o[1]);
@@ -3863,7 +3863,7 @@
if (buildCounterPlaylistListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed597();
+ o.items = buildUnnamed603();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3880,7 +3880,7 @@
if (buildCounterPlaylistListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed597(o.items);
+ checkUnnamed603(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3931,14 +3931,14 @@
buildCounterPlaylistPlayer--;
}
-buildUnnamed598() {
+buildUnnamed604() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed598(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'));
@@ -3955,7 +3955,7 @@
o.description = "foo";
o.localized = buildPlaylistLocalization();
o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
- o.tags = buildUnnamed598();
+ o.tags = buildUnnamed604();
o.thumbnails = buildThumbnailDetails();
o.title = "foo";
}
@@ -3972,7 +3972,7 @@
unittest.expect(o.description, unittest.equals('foo'));
checkPlaylistLocalization(o.localized);
unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed598(o.tags);
+ checkUnnamed604(o.tags);
checkThumbnailDetails(o.thumbnails);
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -4094,14 +4094,14 @@
buildCounterResourceId--;
}
-buildUnnamed599() {
+buildUnnamed605() {
var o = new core.List<api.SearchResult>();
o.add(buildSearchResult());
o.add(buildSearchResult());
return o;
}
-checkUnnamed599(core.List<api.SearchResult> o) {
+checkUnnamed605(core.List<api.SearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSearchResult(o[0]);
checkSearchResult(o[1]);
@@ -4114,7 +4114,7 @@
if (buildCounterSearchListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed599();
+ o.items = buildUnnamed605();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4132,7 +4132,7 @@
if (buildCounterSearchListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed599(o.items);
+ checkUnnamed605(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4225,14 +4225,14 @@
buildCounterSponsor--;
}
-buildUnnamed600() {
+buildUnnamed606() {
var o = new core.List<api.Sponsor>();
o.add(buildSponsor());
o.add(buildSponsor());
return o;
}
-checkUnnamed600(core.List<api.Sponsor> o) {
+checkUnnamed606(core.List<api.Sponsor> o) {
unittest.expect(o, unittest.hasLength(2));
checkSponsor(o[0]);
checkSponsor(o[1]);
@@ -4245,7 +4245,7 @@
if (buildCounterSponsorListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed600();
+ o.items = buildUnnamed606();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4261,7 +4261,7 @@
if (buildCounterSponsorListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed600(o.items);
+ checkUnnamed606(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4346,14 +4346,14 @@
buildCounterSubscriptionContentDetails--;
}
-buildUnnamed601() {
+buildUnnamed607() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed601(core.List<api.Subscription> o) {
+checkUnnamed607(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -4366,7 +4366,7 @@
if (buildCounterSubscriptionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed601();
+ o.items = buildUnnamed607();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4383,7 +4383,7 @@
if (buildCounterSubscriptionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed601(o.items);
+ checkUnnamed607(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4475,14 +4475,14 @@
buildCounterSuperChatEvent--;
}
-buildUnnamed602() {
+buildUnnamed608() {
var o = new core.List<api.SuperChatEvent>();
o.add(buildSuperChatEvent());
o.add(buildSuperChatEvent());
return o;
}
-checkUnnamed602(core.List<api.SuperChatEvent> o) {
+checkUnnamed608(core.List<api.SuperChatEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuperChatEvent(o[0]);
checkSuperChatEvent(o[1]);
@@ -4495,7 +4495,7 @@
if (buildCounterSuperChatEventListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed602();
+ o.items = buildUnnamed608();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4511,7 +4511,7 @@
if (buildCounterSuperChatEventListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed602(o.items);
+ checkUnnamed608(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4604,14 +4604,14 @@
buildCounterThumbnailDetails--;
}
-buildUnnamed603() {
+buildUnnamed609() {
var o = new core.List<api.ThumbnailDetails>();
o.add(buildThumbnailDetails());
o.add(buildThumbnailDetails());
return o;
}
-checkUnnamed603(core.List<api.ThumbnailDetails> o) {
+checkUnnamed609(core.List<api.ThumbnailDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkThumbnailDetails(o[0]);
checkThumbnailDetails(o[1]);
@@ -4624,7 +4624,7 @@
if (buildCounterThumbnailSetResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed603();
+ o.items = buildUnnamed609();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -4637,7 +4637,7 @@
if (buildCounterThumbnailSetResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed603(o.items);
+ checkUnnamed609(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -4661,14 +4661,14 @@
buildCounterTokenPagination--;
}
-buildUnnamed604() {
+buildUnnamed610() {
var o = new core.Map<core.String, api.VideoLocalization>();
o["x"] = buildVideoLocalization();
o["y"] = buildVideoLocalization();
return o;
}
-checkUnnamed604(core.Map<core.String, api.VideoLocalization> o) {
+checkUnnamed610(core.Map<core.String, api.VideoLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoLocalization(o["x"]);
checkVideoLocalization(o["y"]);
@@ -4686,7 +4686,7 @@
o.id = "foo";
o.kind = "foo";
o.liveStreamingDetails = buildVideoLiveStreamingDetails();
- o.localizations = buildUnnamed604();
+ o.localizations = buildUnnamed610();
o.monetizationDetails = buildVideoMonetizationDetails();
o.player = buildVideoPlayer();
o.processingDetails = buildVideoProcessingDetails();
@@ -4712,7 +4712,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkVideoLiveStreamingDetails(o.liveStreamingDetails);
- checkUnnamed604(o.localizations);
+ checkUnnamed610(o.localizations);
checkVideoMonetizationDetails(o.monetizationDetails);
checkVideoPlayer(o.player);
checkVideoProcessingDetails(o.processingDetails);
@@ -4779,14 +4779,14 @@
buildCounterVideoAbuseReportReason--;
}
-buildUnnamed605() {
+buildUnnamed611() {
var o = new core.List<api.VideoAbuseReportReason>();
o.add(buildVideoAbuseReportReason());
o.add(buildVideoAbuseReportReason());
return o;
}
-checkUnnamed605(core.List<api.VideoAbuseReportReason> o) {
+checkUnnamed611(core.List<api.VideoAbuseReportReason> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoAbuseReportReason(o[0]);
checkVideoAbuseReportReason(o[1]);
@@ -4799,7 +4799,7 @@
if (buildCounterVideoAbuseReportReasonListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed605();
+ o.items = buildUnnamed611();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -4812,21 +4812,21 @@
if (buildCounterVideoAbuseReportReasonListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed605(o.items);
+ checkUnnamed611(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
buildCounterVideoAbuseReportReasonListResponse--;
}
-buildUnnamed606() {
+buildUnnamed612() {
var o = new core.List<api.VideoAbuseReportSecondaryReason>();
o.add(buildVideoAbuseReportSecondaryReason());
o.add(buildVideoAbuseReportSecondaryReason());
return o;
}
-checkUnnamed606(core.List<api.VideoAbuseReportSecondaryReason> o) {
+checkUnnamed612(core.List<api.VideoAbuseReportSecondaryReason> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoAbuseReportSecondaryReason(o[0]);
checkVideoAbuseReportSecondaryReason(o[1]);
@@ -4838,7 +4838,7 @@
buildCounterVideoAbuseReportReasonSnippet++;
if (buildCounterVideoAbuseReportReasonSnippet < 3) {
o.label = "foo";
- o.secondaryReasons = buildUnnamed606();
+ o.secondaryReasons = buildUnnamed612();
}
buildCounterVideoAbuseReportReasonSnippet--;
return o;
@@ -4848,7 +4848,7 @@
buildCounterVideoAbuseReportReasonSnippet++;
if (buildCounterVideoAbuseReportReasonSnippet < 3) {
unittest.expect(o.label, unittest.equals('foo'));
- checkUnnamed606(o.secondaryReasons);
+ checkUnnamed612(o.secondaryReasons);
}
buildCounterVideoAbuseReportReasonSnippet--;
}
@@ -4922,14 +4922,14 @@
buildCounterVideoCategory--;
}
-buildUnnamed607() {
+buildUnnamed613() {
var o = new core.List<api.VideoCategory>();
o.add(buildVideoCategory());
o.add(buildVideoCategory());
return o;
}
-checkUnnamed607(core.List<api.VideoCategory> o) {
+checkUnnamed613(core.List<api.VideoCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoCategory(o[0]);
checkVideoCategory(o[1]);
@@ -4942,7 +4942,7 @@
if (buildCounterVideoCategoryListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed607();
+ o.items = buildUnnamed613();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4959,7 +4959,7 @@
if (buildCounterVideoCategoryListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed607(o.items);
+ checkUnnamed613(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -5030,27 +5030,27 @@
buildCounterVideoContentDetails--;
}
-buildUnnamed608() {
+buildUnnamed614() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed608(core.List<core.String> o) {
+checkUnnamed614(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed609() {
+buildUnnamed615() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed609(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'));
@@ -5061,8 +5061,8 @@
var o = new api.VideoContentDetailsRegionRestriction();
buildCounterVideoContentDetailsRegionRestriction++;
if (buildCounterVideoContentDetailsRegionRestriction < 3) {
- o.allowed = buildUnnamed608();
- o.blocked = buildUnnamed609();
+ o.allowed = buildUnnamed614();
+ o.blocked = buildUnnamed615();
}
buildCounterVideoContentDetailsRegionRestriction--;
return o;
@@ -5071,33 +5071,33 @@
checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestriction o) {
buildCounterVideoContentDetailsRegionRestriction++;
if (buildCounterVideoContentDetailsRegionRestriction < 3) {
- checkUnnamed608(o.allowed);
- checkUnnamed609(o.blocked);
+ checkUnnamed614(o.allowed);
+ checkUnnamed615(o.blocked);
}
buildCounterVideoContentDetailsRegionRestriction--;
}
-buildUnnamed610() {
+buildUnnamed616() {
var o = new core.List<api.VideoFileDetailsAudioStream>();
o.add(buildVideoFileDetailsAudioStream());
o.add(buildVideoFileDetailsAudioStream());
return o;
}
-checkUnnamed610(core.List<api.VideoFileDetailsAudioStream> o) {
+checkUnnamed616(core.List<api.VideoFileDetailsAudioStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFileDetailsAudioStream(o[0]);
checkVideoFileDetailsAudioStream(o[1]);
}
-buildUnnamed611() {
+buildUnnamed617() {
var o = new core.List<api.VideoFileDetailsVideoStream>();
o.add(buildVideoFileDetailsVideoStream());
o.add(buildVideoFileDetailsVideoStream());
return o;
}
-checkUnnamed611(core.List<api.VideoFileDetailsVideoStream> o) {
+checkUnnamed617(core.List<api.VideoFileDetailsVideoStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFileDetailsVideoStream(o[0]);
checkVideoFileDetailsVideoStream(o[1]);
@@ -5108,7 +5108,7 @@
var o = new api.VideoFileDetails();
buildCounterVideoFileDetails++;
if (buildCounterVideoFileDetails < 3) {
- o.audioStreams = buildUnnamed610();
+ o.audioStreams = buildUnnamed616();
o.bitrateBps = "foo";
o.container = "foo";
o.creationTime = "foo";
@@ -5116,7 +5116,7 @@
o.fileName = "foo";
o.fileSize = "foo";
o.fileType = "foo";
- o.videoStreams = buildUnnamed611();
+ o.videoStreams = buildUnnamed617();
}
buildCounterVideoFileDetails--;
return o;
@@ -5125,7 +5125,7 @@
checkVideoFileDetails(api.VideoFileDetails o) {
buildCounterVideoFileDetails++;
if (buildCounterVideoFileDetails < 3) {
- checkUnnamed610(o.audioStreams);
+ checkUnnamed616(o.audioStreams);
unittest.expect(o.bitrateBps, unittest.equals('foo'));
unittest.expect(o.container, unittest.equals('foo'));
unittest.expect(o.creationTime, unittest.equals('foo'));
@@ -5133,7 +5133,7 @@
unittest.expect(o.fileName, unittest.equals('foo'));
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.fileType, unittest.equals('foo'));
- checkUnnamed611(o.videoStreams);
+ checkUnnamed617(o.videoStreams);
}
buildCounterVideoFileDetails--;
}
@@ -5196,14 +5196,14 @@
buildCounterVideoFileDetailsVideoStream--;
}
-buildUnnamed612() {
+buildUnnamed618() {
var o = new core.List<api.VideoRating>();
o.add(buildVideoRating());
o.add(buildVideoRating());
return o;
}
-checkUnnamed612(core.List<api.VideoRating> o) {
+checkUnnamed618(core.List<api.VideoRating> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoRating(o[0]);
checkVideoRating(o[1]);
@@ -5216,7 +5216,7 @@
if (buildCounterVideoGetRatingResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed612();
+ o.items = buildUnnamed618();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -5229,21 +5229,21 @@
if (buildCounterVideoGetRatingResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed612(o.items);
+ checkUnnamed618(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
buildCounterVideoGetRatingResponse--;
}
-buildUnnamed613() {
+buildUnnamed619() {
var o = new core.List<api.Video>();
o.add(buildVideo());
o.add(buildVideo());
return o;
}
-checkUnnamed613(core.List<api.Video> o) {
+checkUnnamed619(core.List<api.Video> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideo(o[0]);
checkVideo(o[1]);
@@ -5256,7 +5256,7 @@
if (buildCounterVideoListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed613();
+ o.items = buildUnnamed619();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -5273,7 +5273,7 @@
if (buildCounterVideoListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed613(o.items);
+ checkUnnamed619(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -5432,14 +5432,14 @@
buildCounterVideoProcessingDetailsProcessingProgress--;
}
-buildUnnamed614() {
+buildUnnamed620() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed614(core.List<core.String> o) {
+checkUnnamed620(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5450,7 +5450,7 @@
var o = new api.VideoProjectDetails();
buildCounterVideoProjectDetails++;
if (buildCounterVideoProjectDetails < 3) {
- o.tags = buildUnnamed614();
+ o.tags = buildUnnamed620();
}
buildCounterVideoProjectDetails--;
return o;
@@ -5459,7 +5459,7 @@
checkVideoProjectDetails(api.VideoProjectDetails o) {
buildCounterVideoProjectDetails++;
if (buildCounterVideoProjectDetails < 3) {
- checkUnnamed614(o.tags);
+ checkUnnamed620(o.tags);
}
buildCounterVideoProjectDetails--;
}
@@ -5508,14 +5508,14 @@
buildCounterVideoRecordingDetails--;
}
-buildUnnamed615() {
+buildUnnamed621() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed615(core.List<core.String> o) {
+checkUnnamed621(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5535,7 +5535,7 @@
o.liveBroadcastContent = "foo";
o.localized = buildVideoLocalization();
o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
- o.tags = buildUnnamed615();
+ o.tags = buildUnnamed621();
o.thumbnails = buildThumbnailDetails();
o.title = "foo";
}
@@ -5555,7 +5555,7 @@
unittest.expect(o.liveBroadcastContent, unittest.equals('foo'));
checkVideoLocalization(o.localized);
unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed615(o.tags);
+ checkUnnamed621(o.tags);
checkThumbnailDetails(o.thumbnails);
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -5622,132 +5622,6 @@
buildCounterVideoStatus--;
}
-buildUnnamed616() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return 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'));
-}
-
-buildUnnamed617() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed617(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed618() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed618(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed619() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed619(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed620() {
- var o = new core.List<api.VideoSuggestionsTagSuggestion>();
- o.add(buildVideoSuggestionsTagSuggestion());
- o.add(buildVideoSuggestionsTagSuggestion());
- return o;
-}
-
-checkUnnamed620(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 = buildUnnamed616();
- o.processingErrors = buildUnnamed617();
- o.processingHints = buildUnnamed618();
- o.processingWarnings = buildUnnamed619();
- o.tagSuggestions = buildUnnamed620();
- }
- buildCounterVideoSuggestions--;
- return o;
-}
-
-checkVideoSuggestions(api.VideoSuggestions o) {
- buildCounterVideoSuggestions++;
- if (buildCounterVideoSuggestions < 3) {
- checkUnnamed616(o.editorSuggestions);
- checkUnnamed617(o.processingErrors);
- checkUnnamed618(o.processingHints);
- checkUnnamed619(o.processingWarnings);
- checkUnnamed620(o.tagSuggestions);
- }
- buildCounterVideoSuggestions--;
-}
-
-buildUnnamed621() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed621(core.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 = buildUnnamed621();
- o.tag = "foo";
- }
- buildCounterVideoSuggestionsTagSuggestion--;
- return o;
-}
-
-checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) {
- buildCounterVideoSuggestionsTagSuggestion++;
- if (buildCounterVideoSuggestionsTagSuggestion < 3) {
- checkUnnamed621(o.categoryRestricts);
- unittest.expect(o.tag, unittest.equals('foo'));
- }
- buildCounterVideoSuggestionsTagSuggestion--;
-}
-
buildUnnamed622() {
var o = new core.List<core.String>();
o.add("foo");
@@ -5787,14 +5661,140 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed625() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed625(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed626() {
+ var o = new core.List<api.VideoSuggestionsTagSuggestion>();
+ o.add(buildVideoSuggestionsTagSuggestion());
+ o.add(buildVideoSuggestionsTagSuggestion());
+ return o;
+}
+
+checkUnnamed626(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 = buildUnnamed622();
+ o.processingErrors = buildUnnamed623();
+ o.processingHints = buildUnnamed624();
+ o.processingWarnings = buildUnnamed625();
+ o.tagSuggestions = buildUnnamed626();
+ }
+ buildCounterVideoSuggestions--;
+ return o;
+}
+
+checkVideoSuggestions(api.VideoSuggestions o) {
+ buildCounterVideoSuggestions++;
+ if (buildCounterVideoSuggestions < 3) {
+ checkUnnamed622(o.editorSuggestions);
+ checkUnnamed623(o.processingErrors);
+ checkUnnamed624(o.processingHints);
+ checkUnnamed625(o.processingWarnings);
+ checkUnnamed626(o.tagSuggestions);
+ }
+ buildCounterVideoSuggestions--;
+}
+
+buildUnnamed627() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed627(core.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 = buildUnnamed627();
+ o.tag = "foo";
+ }
+ buildCounterVideoSuggestionsTagSuggestion--;
+ return o;
+}
+
+checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) {
+ buildCounterVideoSuggestionsTagSuggestion++;
+ if (buildCounterVideoSuggestionsTagSuggestion < 3) {
+ checkUnnamed627(o.categoryRestricts);
+ unittest.expect(o.tag, unittest.equals('foo'));
+ }
+ buildCounterVideoSuggestionsTagSuggestion--;
+}
+
+buildUnnamed628() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed628(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed629() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed629(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed630() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed630(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterVideoTopicDetails = 0;
buildVideoTopicDetails() {
var o = new api.VideoTopicDetails();
buildCounterVideoTopicDetails++;
if (buildCounterVideoTopicDetails < 3) {
- o.relevantTopicIds = buildUnnamed622();
- o.topicCategories = buildUnnamed623();
- o.topicIds = buildUnnamed624();
+ o.relevantTopicIds = buildUnnamed628();
+ o.topicCategories = buildUnnamed629();
+ o.topicIds = buildUnnamed630();
}
buildCounterVideoTopicDetails--;
return o;
@@ -5803,9 +5803,9 @@
checkVideoTopicDetails(api.VideoTopicDetails o) {
buildCounterVideoTopicDetails++;
if (buildCounterVideoTopicDetails < 3) {
- checkUnnamed622(o.relevantTopicIds);
- checkUnnamed623(o.topicCategories);
- checkUnnamed624(o.topicIds);
+ checkUnnamed628(o.relevantTopicIds);
+ checkUnnamed629(o.topicCategories);
+ checkUnnamed630(o.topicIds);
}
buildCounterVideoTopicDetails--;
}
diff --git a/generated/googleapis/test/youtubeanalytics/v1_test.dart b/generated/googleapis/test/youtubeanalytics/v1_test.dart
index e16143a..22f4490 100644
--- a/generated/googleapis/test/youtubeanalytics/v1_test.dart
+++ b/generated/googleapis/test/youtubeanalytics/v1_test.dart
@@ -168,14 +168,14 @@
buildCounterGroupItem--;
}
-buildUnnamed266() {
+buildUnnamed271() {
var o = new core.List<api.GroupItem>();
o.add(buildGroupItem());
o.add(buildGroupItem());
return o;
}
-checkUnnamed266(core.List<api.GroupItem> o) {
+checkUnnamed271(core.List<api.GroupItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroupItem(o[0]);
checkGroupItem(o[1]);
@@ -187,7 +187,7 @@
buildCounterGroupItemListResponse++;
if (buildCounterGroupItemListResponse < 3) {
o.etag = "foo";
- o.items = buildUnnamed266();
+ o.items = buildUnnamed271();
o.kind = "foo";
}
buildCounterGroupItemListResponse--;
@@ -198,20 +198,20 @@
buildCounterGroupItemListResponse++;
if (buildCounterGroupItemListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed266(o.items);
+ checkUnnamed271(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterGroupItemListResponse--;
}
-buildUnnamed267() {
+buildUnnamed272() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed267(core.List<api.Group> o) {
+checkUnnamed272(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -223,7 +223,7 @@
buildCounterGroupListResponse++;
if (buildCounterGroupListResponse < 3) {
o.etag = "foo";
- o.items = buildUnnamed267();
+ o.items = buildUnnamed272();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -235,7 +235,7 @@
buildCounterGroupListResponse++;
if (buildCounterGroupListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed267(o.items);
+ checkUnnamed272(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -265,43 +265,43 @@
buildCounterResultTableColumnHeaders--;
}
-buildUnnamed268() {
+buildUnnamed273() {
var o = new core.List<api.ResultTableColumnHeaders>();
o.add(buildResultTableColumnHeaders());
o.add(buildResultTableColumnHeaders());
return o;
}
-checkUnnamed268(core.List<api.ResultTableColumnHeaders> o) {
+checkUnnamed273(core.List<api.ResultTableColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultTableColumnHeaders(o[0]);
checkResultTableColumnHeaders(o[1]);
}
-buildUnnamed269() {
+buildUnnamed274() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed269(core.List<core.Object> o) {
+checkUnnamed274(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed270() {
+buildUnnamed275() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed269());
- o.add(buildUnnamed269());
+ o.add(buildUnnamed274());
+ o.add(buildUnnamed274());
return o;
}
-checkUnnamed270(core.List<core.List<core.Object>> o) {
+checkUnnamed275(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed269(o[0]);
- checkUnnamed269(o[1]);
+ checkUnnamed274(o[0]);
+ checkUnnamed274(o[1]);
}
core.int buildCounterResultTable = 0;
@@ -309,9 +309,9 @@
var o = new api.ResultTable();
buildCounterResultTable++;
if (buildCounterResultTable < 3) {
- o.columnHeaders = buildUnnamed268();
+ o.columnHeaders = buildUnnamed273();
o.kind = "foo";
- o.rows = buildUnnamed270();
+ o.rows = buildUnnamed275();
}
buildCounterResultTable--;
return o;
@@ -320,9 +320,9 @@
checkResultTable(api.ResultTable o) {
buildCounterResultTable++;
if (buildCounterResultTable < 3) {
- checkUnnamed268(o.columnHeaders);
+ checkUnnamed273(o.columnHeaders);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed270(o.rows);
+ checkUnnamed275(o.rows);
}
buildCounterResultTable--;
}
diff --git a/generated/googleapis/test/youtubereporting/v1_test.dart b/generated/googleapis/test/youtubereporting/v1_test.dart
index 10c3e69..1648c4c 100644
--- a/generated/googleapis/test/youtubereporting/v1_test.dart
+++ b/generated/googleapis/test/youtubereporting/v1_test.dart
@@ -97,14 +97,14 @@
buildCounterJob--;
}
-buildUnnamed1061() {
+buildUnnamed1078() {
var o = new core.List<api.Job>();
o.add(buildJob());
o.add(buildJob());
return o;
}
-checkUnnamed1061(core.List<api.Job> o) {
+checkUnnamed1078(core.List<api.Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkJob(o[0]);
checkJob(o[1]);
@@ -115,7 +115,7 @@
var o = new api.ListJobsResponse();
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- o.jobs = buildUnnamed1061();
+ o.jobs = buildUnnamed1078();
o.nextPageToken = "foo";
}
buildCounterListJobsResponse--;
@@ -125,20 +125,20 @@
checkListJobsResponse(api.ListJobsResponse o) {
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- checkUnnamed1061(o.jobs);
+ checkUnnamed1078(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListJobsResponse--;
}
-buildUnnamed1062() {
+buildUnnamed1079() {
var o = new core.List<api.ReportType>();
o.add(buildReportType());
o.add(buildReportType());
return o;
}
-checkUnnamed1062(core.List<api.ReportType> o) {
+checkUnnamed1079(core.List<api.ReportType> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportType(o[0]);
checkReportType(o[1]);
@@ -150,7 +150,7 @@
buildCounterListReportTypesResponse++;
if (buildCounterListReportTypesResponse < 3) {
o.nextPageToken = "foo";
- o.reportTypes = buildUnnamed1062();
+ o.reportTypes = buildUnnamed1079();
}
buildCounterListReportTypesResponse--;
return o;
@@ -160,19 +160,19 @@
buildCounterListReportTypesResponse++;
if (buildCounterListReportTypesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1062(o.reportTypes);
+ checkUnnamed1079(o.reportTypes);
}
buildCounterListReportTypesResponse--;
}
-buildUnnamed1063() {
+buildUnnamed1080() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed1063(core.List<api.Report> o) {
+checkUnnamed1080(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -184,7 +184,7 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
o.nextPageToken = "foo";
- o.reports = buildUnnamed1063();
+ o.reports = buildUnnamed1080();
}
buildCounterListReportsResponse--;
return o;
@@ -194,7 +194,7 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1063(o.reports);
+ checkUnnamed1080(o.reports);
}
buildCounterListReportsResponse--;
}
@@ -500,10 +500,10 @@
var mock = new HttpServerMock();
api.JobsResourceApi res = new api.YoutubereportingApi(mock).jobs;
- var arg_onBehalfOfContentOwner = "foo";
var arg_includeSystemManaged = true;
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_onBehalfOfContentOwner = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -530,10 +530,10 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["includeSystemManaged"].first, unittest.equals("$arg_includeSystemManaged"));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equals(arg_onBehalfOfContentOwner));
var h = {
@@ -542,7 +542,7 @@
var resp = convert.JSON.encode(buildListJobsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(onBehalfOfContentOwner: arg_onBehalfOfContentOwner, includeSystemManaged: arg_includeSystemManaged, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListJobsResponse response) {
+ res.list(includeSystemManaged: arg_includeSystemManaged, pageToken: arg_pageToken, pageSize: arg_pageSize, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync1(((api.ListJobsResponse response) {
checkListJobsResponse(response);
})));
});
diff --git a/generated/googleapis_beta/CHANGELOG.md b/generated/googleapis_beta/CHANGELOG.md
index 87a1abf..d9a9b02 100644
--- a/generated/googleapis_beta/CHANGELOG.md
+++ b/generated/googleapis_beta/CHANGELOG.md
@@ -1,3 +1,12 @@
+## 0.39.1
+
+* [api] dataflow:v1b3
+* [api] dlp:v2beta1
+* [api] logging:v2beta1
+* [api] sqladmin:v1beta4
+* [api] toolresults:v1beta3firstparty
+* [api] toolresults:v1beta3
+
## 0.39.0
* [api-removed] dataproc:v1beta1
diff --git a/generated/googleapis_beta/README.md b/generated/googleapis_beta/README.md
index e994f2a..0c94dc4 100644
--- a/generated/googleapis_beta/README.md
+++ b/generated/googleapis_beta/README.md
@@ -72,7 +72,7 @@
Accesses the latest features for managing Ad Exchange accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals.
-Official API documentation: https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/
+Official API documentation: https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
####  Google App Engine Admin API - appengine v1beta
diff --git a/generated/googleapis_beta/lib/adexchangebuyer2/v2beta1.dart b/generated/googleapis_beta/lib/adexchangebuyer2/v2beta1.dart
index 196c43c..5a40569 100644
--- a/generated/googleapis_beta/lib/adexchangebuyer2/v2beta1.dart
+++ b/generated/googleapis_beta/lib/adexchangebuyer2/v2beta1.dart
@@ -154,6 +154,10 @@
* [accountId] - Unique numerical account ID of the sponsor buyer to list the
* clients for.
*
+ * [pageSize] - Requested page size. The server may return fewer clients than
+ * requested.
+ * If unspecified, the server will pick an appropriate default.
+ *
* [pageToken] - A token identifying a page of results the server should
* return.
* Typically, this is the value of
@@ -161,10 +165,6 @@
* returned from the previous call to the
* accounts.clients.list method.
*
- * [pageSize] - Requested page size. The server may return fewer clients than
- * requested.
- * If unspecified, the server will pick an appropriate default.
- *
* Completes with a [ListClientsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -173,7 +173,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<ListClientsResponse> list(core.String accountId, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListClientsResponse> list(core.String accountId, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -184,12 +184,12 @@
if (accountId == null) {
throw new core.ArgumentError("Parameter accountId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v2beta1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/clients';
@@ -516,6 +516,10 @@
* to list all the client users for all the clients
* of a given sponsor buyer.
*
+ * [pageSize] - Requested page size. The server may return fewer clients than
+ * requested.
+ * If unspecified, the server will pick an appropriate default.
+ *
* [pageToken] - A token identifying a page of results the server should
* return.
* Typically, this is the value of
@@ -523,10 +527,6 @@
* returned from the previous call to the
* accounts.clients.users.list method.
*
- * [pageSize] - Requested page size. The server may return fewer clients than
- * requested.
- * If unspecified, the server will pick an appropriate default.
- *
* Completes with a [ListClientUsersResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -535,7 +535,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<ListClientUsersResponse> list(core.String accountId, core.String clientAccountId, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListClientUsersResponse> list(core.String accountId, core.String clientAccountId, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -549,12 +549,12 @@
if (clientAccountId == null) {
throw new core.ArgumentError("Parameter clientAccountId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v2beta1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/clients/' + commons.Escaper.ecapeVariable('$clientAccountId') + '/users';
@@ -1045,12 +1045,6 @@
* [creativeId] - The creative ID to list the associations from.
* Specify "-" to list all creatives under the above account.
*
- * [pageToken] - A token identifying a page of results the server should
- * return.
- * Typically, this is the value of
- * ListDealAssociationsResponse.next_page_token
- * returned from the previous call to 'ListDealAssociations' method.
- *
* [pageSize] - Requested page size. Server may return fewer associations than
* requested.
* If unspecified, server will pick an appropriate default.
@@ -1070,6 +1064,12 @@
* </ul>
* Example: 'dealsId=12345 AND dealsStatus:disapproved'
*
+ * [pageToken] - A token identifying a page of results the server should
+ * return.
+ * Typically, this is the value of
+ * ListDealAssociationsResponse.next_page_token
+ * returned from the previous call to 'ListDealAssociations' method.
+ *
* Completes with a [ListDealAssociationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1078,7 +1078,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<ListDealAssociationsResponse> list(core.String accountId, core.String creativeId, {core.String pageToken, core.int pageSize, core.String query}) {
+ async.Future<ListDealAssociationsResponse> list(core.String accountId, core.String creativeId, {core.int pageSize, core.String query, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1092,15 +1092,15 @@
if (creativeId == null) {
throw new core.ArgumentError("Parameter creativeId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (query != null) {
_queryParams["query"] = [query];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v2beta1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/creatives/' + commons.Escaper.ecapeVariable('$creativeId') + '/dealAssociations';
@@ -1398,6 +1398,10 @@
*
* [filterSetId] - The ID of the filter set to apply.
*
+ * [pageSize] - Requested page size. The server may return fewer results than
+ * requested.
+ * If unspecified, the server will pick an appropriate default.
+ *
* [pageToken] - A token identifying a page of results the server should
* return.
* Typically, this is the value of
@@ -1406,10 +1410,6 @@
* accounts.filterSets.bidMetrics.list
* method.
*
- * [pageSize] - Requested page size. The server may return fewer results than
- * requested.
- * If unspecified, the server will pick an appropriate default.
- *
* Completes with a [ListBidMetricsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1418,7 +1418,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<ListBidMetricsResponse> list(core.String accountId, core.String filterSetId, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListBidMetricsResponse> list(core.String accountId, core.String filterSetId, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1432,12 +1432,12 @@
if (filterSetId == null) {
throw new core.ArgumentError("Parameter filterSetId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v2beta1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/filterSets/' + commons.Escaper.ecapeVariable('$filterSetId') + '/bidMetrics';
@@ -1470,6 +1470,10 @@
*
* [filterSetId] - The ID of the filter set to apply.
*
+ * [pageSize] - Requested page size. The server may return fewer results than
+ * requested.
+ * If unspecified, the server will pick an appropriate default.
+ *
* [pageToken] - A token identifying a page of results the server should
* return.
* Typically, this is the value of
@@ -1478,10 +1482,6 @@
* accounts.filterSets.bidResponseErrors.list
* method.
*
- * [pageSize] - Requested page size. The server may return fewer results than
- * requested.
- * If unspecified, the server will pick an appropriate default.
- *
* Completes with a [ListBidResponseErrorsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1490,7 +1490,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<ListBidResponseErrorsResponse> list(core.String accountId, core.String filterSetId, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListBidResponseErrorsResponse> list(core.String accountId, core.String filterSetId, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1504,12 +1504,12 @@
if (filterSetId == null) {
throw new core.ArgumentError("Parameter filterSetId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v2beta1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/filterSets/' + commons.Escaper.ecapeVariable('$filterSetId') + '/bidResponseErrors';
@@ -1614,6 +1614,10 @@
*
* [filterSetId] - The ID of the filter set to apply.
*
+ * [pageSize] - Requested page size. The server may return fewer results than
+ * requested.
+ * If unspecified, the server will pick an appropriate default.
+ *
* [pageToken] - A token identifying a page of results the server should
* return.
* Typically, this is the value of
@@ -1622,10 +1626,6 @@
* accounts.filterSets.filteredBidRequests.list
* method.
*
- * [pageSize] - Requested page size. The server may return fewer results than
- * requested.
- * If unspecified, the server will pick an appropriate default.
- *
* Completes with a [ListFilteredBidRequestsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1634,7 +1634,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<ListFilteredBidRequestsResponse> list(core.String accountId, core.String filterSetId, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListFilteredBidRequestsResponse> list(core.String accountId, core.String filterSetId, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1648,12 +1648,12 @@
if (filterSetId == null) {
throw new core.ArgumentError("Parameter filterSetId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v2beta1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/filterSets/' + commons.Escaper.ecapeVariable('$filterSetId') + '/filteredBidRequests';
@@ -1846,7 +1846,7 @@
* breakdown by detail.
* See
* [creative-status-codes](https://developers.google.com/ad-exchange/rtb/downloads/creative-status-codes).
- * Details are only available for statuses 14, 15, 17, 18, 19, 86, and 87.
+ * Details are only available for statuses 10, 14, 15, 17, 18, 19, 86, and 87.
*
* [pageToken] - A token identifying a page of results the server should
* return.
@@ -1994,6 +1994,10 @@
*
* [filterSetId] - The ID of the filter set to apply.
*
+ * [pageSize] - Requested page size. The server may return fewer results than
+ * requested.
+ * If unspecified, the server will pick an appropriate default.
+ *
* [pageToken] - A token identifying a page of results the server should
* return.
* Typically, this is the value of
@@ -2002,10 +2006,6 @@
* accounts.filterSets.losingBids.list
* method.
*
- * [pageSize] - Requested page size. The server may return fewer results than
- * requested.
- * If unspecified, the server will pick an appropriate default.
- *
* Completes with a [ListLosingBidsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -2014,7 +2014,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<ListLosingBidsResponse> list(core.String accountId, core.String filterSetId, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListLosingBidsResponse> list(core.String accountId, core.String filterSetId, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2028,12 +2028,12 @@
if (filterSetId == null) {
throw new core.ArgumentError("Parameter filterSetId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v2beta1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/filterSets/' + commons.Escaper.ecapeVariable('$filterSetId') + '/losingBids';
@@ -4177,6 +4177,10 @@
* - "PRODUCT_CATEGORY" : Indicates that the detail ID refers to a product
* category; see
* [ad-product-categories](https://developers.google.com/ad-exchange/rtb/downloads/ad-product-categories).
+ * - "DISAPPROVAL_REASON" : Indicates that the detail ID refers to a
+ * disapproval reason; see
+ * DisapprovalReason enum in
+ * [snippet-status-report-proto](https://developers.google.com/ad-exchange/rtb/downloads/snippet-status-report-proto).
*/
core.String detailType;
/**
diff --git a/generated/googleapis_beta/lib/appengine/v1beta.dart b/generated/googleapis_beta/lib/appengine/v1beta.dart
index a280f0f..a77046c 100644
--- a/generated/googleapis_beta/lib/appengine/v1beta.dart
+++ b/generated/googleapis_beta/lib/appengine/v1beta.dart
@@ -399,6 +399,8 @@
* [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.
*
* [view] - Controls the set of fields returned in the LIST response.
@@ -406,8 +408,6 @@
* - "BASIC_CERTIFICATE" : A BASIC_CERTIFICATE.
* - "FULL_CERTIFICATE" : A FULL_CERTIFICATE.
*
- * [pageToken] - Continuation token for fetching the next page of results.
- *
* Completes with a [ListAuthorizedCertificatesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -416,7 +416,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<ListAuthorizedCertificatesResponse> list(core.String appsId, {core.int pageSize, core.String view, core.String pageToken}) {
+ async.Future<ListAuthorizedCertificatesResponse> list(core.String appsId, {core.String pageToken, core.int pageSize, core.String view}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -427,15 +427,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 (view != null) {
_queryParams["view"] = [view];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
_url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/authorizedCertificates';
@@ -1199,12 +1199,12 @@
* [appsId] - Part of `name`. The resource that owns the locations collection,
* if applicable.
*
- * [pageSize] - The standard list page size.
- *
* [filter] - The standard list filter.
*
* [pageToken] - The standard list page token.
*
+ * [pageSize] - The standard list page size.
+ *
* Completes with a [ListLocationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1213,7 +1213,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListLocationsResponse> list(core.String appsId, {core.int pageSize, core.String filter, core.String pageToken}) {
+ async.Future<ListLocationsResponse> list(core.String appsId, {core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1224,15 +1224,15 @@
if (appsId == null) {
throw new core.ArgumentError("Parameter appsId 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}"];
+ }
_url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/locations';
@@ -1316,12 +1316,12 @@
*
* [appsId] - Part of `name`. The name of the operation's parent resource.
*
- * [filter] - The standard list filter.
- *
* [pageToken] - The standard list page token.
*
* [pageSize] - The standard list page size.
*
+ * [filter] - The standard list filter.
+ *
* Completes with a [ListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1330,7 +1330,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<ListOperationsResponse> list(core.String appsId, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListOperationsResponse> list(core.String appsId, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1341,15 +1341,15 @@
if (appsId == null) {
throw new core.ArgumentError("Parameter appsId 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];
+ }
_url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operations';
@@ -1766,6 +1766,8 @@
*
* [servicesId] - Part of `parent`. See documentation of `appsId`.
*
+ * [pageToken] - Continuation token for fetching the next page of results.
+ *
* [pageSize] - Maximum results to return per page.
*
* [view] - Controls the set of fields returned in the List response.
@@ -1773,8 +1775,6 @@
* - "BASIC" : A BASIC.
* - "FULL" : A FULL.
*
- * [pageToken] - Continuation token for fetching the next page of results.
- *
* Completes with a [ListVersionsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1783,7 +1783,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListVersionsResponse> list(core.String appsId, core.String servicesId, {core.int pageSize, core.String view, core.String pageToken}) {
+ async.Future<ListVersionsResponse> list(core.String appsId, core.String servicesId, {core.String pageToken, core.int pageSize, core.String view}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1797,15 +1797,15 @@
if (servicesId == null) {
throw new core.ArgumentError("Parameter servicesId is required.");
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (view != null) {
_queryParams["view"] = [view];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
_url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions';
@@ -4201,17 +4201,24 @@
}
}
-/** Extra network settings. Only applicable for VM runtimes. */
+/**
+ * Extra network settings. Only applicable for App Engine flexible environment
+ * versions
+ */
class Network {
/**
* List of ports, or port pairs, to forward from the virtual machine to the
- * application container.
+ * application container. Only applicable for App Engine flexible environment
+ * versions.
*/
core.List<core.String> forwardedPorts;
- /** Tag to apply to the VM instance during creation. */
+ /**
+ * Tag to apply to the VM instance during creation. Only applicable for for
+ * App Engine flexible environment versions.
+ */
core.String instanceTag;
/**
- * Google Cloud Platform network where the virtual machines are created.
+ * Google Compute Engine network where the virtual machines are created.
* Specify the short name, not the resource path.Defaults to default.
*/
core.String name;
@@ -4229,7 +4236,8 @@
* If the network the VM instance is being created in is a custom Subnet Mode
* Network, then the subnetwork_name must be specified and the IP address is
* created from the IPCidrRange of the subnetwork.If specified, the subnetwork
- * must exist in the same region as the Flex app.
+ * must exist in the same region as the App Engine flexible environment
+ * application.
*/
core.String subnetworkName;
@@ -5740,7 +5748,10 @@
* apps/myapp/services/default/versions/v1.@OutputOnly
*/
core.String name;
- /** Extra network settings. Only applicable for VM runtimes. */
+ /**
+ * Extra network settings. Only applicable for App Engine flexible environment
+ * versions.
+ */
Network network;
/**
* Files that match this pattern will not be built into this version. Only
diff --git a/generated/googleapis_beta/lib/appengine/v1beta4.dart b/generated/googleapis_beta/lib/appengine/v1beta4.dart
index 65503b1..0a8d8e9 100644
--- a/generated/googleapis_beta/lib/appengine/v1beta4.dart
+++ b/generated/googleapis_beta/lib/appengine/v1beta4.dart
@@ -1154,12 +1154,12 @@
*
* [appsId] - Part of `name`. The name of the operation's parent resource.
*
- * [pageSize] - The standard list page size.
- *
* [filter] - The standard list filter.
*
* [pageToken] - The standard list page token.
*
+ * [pageSize] - The standard list page size.
+ *
* Completes with a [ListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1168,7 +1168,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<ListOperationsResponse> list(core.String appsId, {core.int pageSize, core.String filter, core.String pageToken}) {
+ async.Future<ListOperationsResponse> list(core.String appsId, {core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1179,15 +1179,15 @@
if (appsId == null) {
throw new core.ArgumentError("Parameter appsId 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}"];
+ }
_url = 'v1beta4/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operations';
diff --git a/generated/googleapis_beta/lib/appengine/v1beta5.dart b/generated/googleapis_beta/lib/appengine/v1beta5.dart
index 9dd2b0f..415ccd5 100644
--- a/generated/googleapis_beta/lib/appengine/v1beta5.dart
+++ b/generated/googleapis_beta/lib/appengine/v1beta5.dart
@@ -259,12 +259,12 @@
* [appsId] - Part of `name`. The resource that owns the locations collection,
* if applicable.
*
- * [filter] - The standard list filter.
- *
* [pageToken] - The standard list page token.
*
* [pageSize] - The standard list page size.
*
+ * [filter] - The standard list filter.
+ *
* Completes with a [ListLocationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -273,7 +273,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<ListLocationsResponse> list(core.String appsId, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListLocationsResponse> list(core.String appsId, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -284,15 +284,15 @@
if (appsId == null) {
throw new core.ArgumentError("Parameter appsId 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];
+ }
_url = 'v1beta5/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/locations';
@@ -532,10 +532,10 @@
* [appsId] - Part of `name`. Name of the resource requested. Example:
* apps/myapp.
*
- * [pageSize] - Maximum results to return per page.
- *
* [pageToken] - Continuation token for fetching the next page of results.
*
+ * [pageSize] - Maximum results to return per page.
+ *
* Completes with a [ListServicesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -544,7 +544,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListServicesResponse> list(core.String appsId, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListServicesResponse> list(core.String appsId, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -555,12 +555,12 @@
if (appsId == null) {
throw new core.ArgumentError("Parameter appsId is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1beta5/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services';
diff --git a/generated/googleapis_beta/lib/clouderrorreporting/v1beta1.dart b/generated/googleapis_beta/lib/clouderrorreporting/v1beta1.dart
index ff813bc..3580388 100644
--- a/generated/googleapis_beta/lib/clouderrorreporting/v1beta1.dart
+++ b/generated/googleapis_beta/lib/clouderrorreporting/v1beta1.dart
@@ -110,6 +110,14 @@
* Example: `projects/my-project-123`.
* Value must have pattern "^projects/[^/]+$".
*
+ * [groupId] - [Required] The group for which events shall be returned.
+ *
+ * [pageToken] - [Optional] A `next_page_token` provided by a previous
+ * response.
+ *
+ * [serviceFilter_service] - [Optional] The exact value to match against
+ * [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
+ *
* [pageSize] - [Optional] The maximum number of results to return per
* response.
*
@@ -128,14 +136,6 @@
* - "PERIOD_1_WEEK" : A PERIOD_1_WEEK.
* - "PERIOD_30_DAYS" : A PERIOD_30_DAYS.
*
- * [groupId] - [Required] The group for which events shall be returned.
- *
- * [serviceFilter_service] - [Optional] The exact value to match against
- * [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
- *
- * [pageToken] - [Optional] A `next_page_token` provided by a previous
- * response.
- *
* Completes with a [ListEventsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -144,7 +144,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<ListEventsResponse> list(core.String projectName, {core.int pageSize, core.String serviceFilter_version, core.String serviceFilter_resourceType, core.String timeRange_period, core.String groupId, core.String serviceFilter_service, core.String pageToken}) {
+ async.Future<ListEventsResponse> list(core.String projectName, {core.String groupId, core.String pageToken, core.String serviceFilter_service, core.int pageSize, core.String serviceFilter_version, core.String serviceFilter_resourceType, core.String timeRange_period}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -155,6 +155,15 @@
if (projectName == null) {
throw new core.ArgumentError("Parameter projectName is required.");
}
+ if (groupId != null) {
+ _queryParams["groupId"] = [groupId];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (serviceFilter_service != null) {
+ _queryParams["serviceFilter.service"] = [serviceFilter_service];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
@@ -167,15 +176,6 @@
if (timeRange_period != null) {
_queryParams["timeRange.period"] = [timeRange_period];
}
- if (groupId != null) {
- _queryParams["groupId"] = [groupId];
- }
- if (serviceFilter_service != null) {
- _queryParams["serviceFilter.service"] = [serviceFilter_service];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
_url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$projectName') + '/events';
@@ -297,9 +297,6 @@
* response.
* Default is 20.
*
- * [serviceFilter_version] - [Optional] The exact value to match against
- * [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
- *
* [order] - [Optional] The sort order in which the results are returned.
* Default is `COUNT_DESC`.
* Possible string values are:
@@ -309,13 +306,16 @@
* - "CREATED_DESC" : A CREATED_DESC.
* - "AFFECTED_USERS_DESC" : A AFFECTED_USERS_DESC.
*
- * [alignmentTime] - [Optional] Time where the timed counts shall be aligned
- * if rounded
- * alignment is chosen. Default is 00:00 UTC.
+ * [serviceFilter_version] - [Optional] The exact value to match against
+ * [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
*
* [serviceFilter_resourceType] - [Optional] The exact value to match against
* [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
*
+ * [alignmentTime] - [Optional] Time where the timed counts shall be aligned
+ * if rounded
+ * alignment is chosen. Default is 00:00 UTC.
+ *
* [timedCountDuration] - [Optional] The preferred duration for a single
* returned `TimedCount`.
* If not set, no timed counts are returned.
@@ -333,7 +333,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<ListGroupStatsResponse> list(core.String projectName, {core.String timeRange_period, core.String alignment, core.List<core.String> groupId, core.String serviceFilter_service, core.int pageSize, core.String serviceFilter_version, core.String order, core.String alignmentTime, core.String serviceFilter_resourceType, core.String timedCountDuration, core.String pageToken}) {
+ async.Future<ListGroupStatsResponse> list(core.String projectName, {core.String timeRange_period, core.String alignment, core.List<core.String> groupId, core.String serviceFilter_service, core.int pageSize, core.String order, core.String serviceFilter_version, core.String serviceFilter_resourceType, core.String alignmentTime, core.String timedCountDuration, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -359,18 +359,18 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (serviceFilter_version != null) {
- _queryParams["serviceFilter.version"] = [serviceFilter_version];
- }
if (order != null) {
_queryParams["order"] = [order];
}
- if (alignmentTime != null) {
- _queryParams["alignmentTime"] = [alignmentTime];
+ if (serviceFilter_version != null) {
+ _queryParams["serviceFilter.version"] = [serviceFilter_version];
}
if (serviceFilter_resourceType != null) {
_queryParams["serviceFilter.resourceType"] = [serviceFilter_resourceType];
}
+ if (alignmentTime != null) {
+ _queryParams["alignmentTime"] = [alignmentTime];
+ }
if (timedCountDuration != null) {
_queryParams["timedCountDuration"] = [timedCountDuration];
}
diff --git a/generated/googleapis_beta/lib/cloudresourcemanager/v1beta1.dart b/generated/googleapis_beta/lib/cloudresourcemanager/v1beta1.dart
index d7dfe7e..aa6ba8b 100644
--- a/generated/googleapis_beta/lib/cloudresourcemanager/v1beta1.dart
+++ b/generated/googleapis_beta/lib/cloudresourcemanager/v1beta1.dart
@@ -624,6 +624,18 @@
*
* Request parameters:
*
+ * [pageToken] - A pagination token returned from a previous call to
+ * ListProjects
+ * that indicates from where listing should continue.
+ *
+ * Optional.
+ *
+ * [pageSize] - The maximum number of Projects to return in the response.
+ * The server can return fewer Projects than requested.
+ * If unspecified, server picks an appropriate default.
+ *
+ * Optional.
+ *
* [filter] - An expression for filtering the results of the request. Filter
* rules are
* case insensitive. The fields eligible for filtering are:
@@ -656,18 +668,6 @@
*
* Optional.
*
- * [pageToken] - A pagination token returned from a previous call to
- * ListProjects
- * that indicates from where listing should continue.
- *
- * Optional.
- *
- * [pageSize] - The maximum number of Projects to return in the response.
- * The server can return fewer Projects than requested.
- * If unspecified, server picks an appropriate default.
- *
- * Optional.
- *
* Completes with a [ListProjectsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -676,7 +676,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<ListProjectsResponse> list({core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListProjectsResponse> list({core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -684,15 +684,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
_url = 'v1beta1/projects';
diff --git a/generated/googleapis_beta/lib/dataflow/v1b3.dart b/generated/googleapis_beta/lib/dataflow/v1b3.dart
index 3860b07..44c7280 100644
--- a/generated/googleapis_beta/lib/dataflow/v1b3.dart
+++ b/generated/googleapis_beta/lib/dataflow/v1b3.dart
@@ -106,6 +106,85 @@
_requester = client;
/**
+ * List the jobs of a project across all regions.
+ *
+ * Request parameters:
+ *
+ * [projectId] - The project which owns the jobs.
+ *
+ * [filter] - The kind of filter to use.
+ * Possible string values are:
+ * - "UNKNOWN" : A UNKNOWN.
+ * - "ALL" : A ALL.
+ * - "TERMINATED" : A TERMINATED.
+ * - "ACTIVE" : A ACTIVE.
+ *
+ * [location] - The location that contains this job.
+ *
+ * [pageToken] - Set this to the 'next_page_token' field of a previous
+ * response
+ * to request additional results in a long list.
+ *
+ * [pageSize] - If there are many jobs, limit response to at most this many.
+ * The actual number of jobs returned will be the lesser of max_responses
+ * and an unspecified server-defined limit.
+ *
+ * [view] - Level of information requested in response. Default is
+ * `JOB_VIEW_SUMMARY`.
+ * Possible string values are:
+ * - "JOB_VIEW_UNKNOWN" : A JOB_VIEW_UNKNOWN.
+ * - "JOB_VIEW_SUMMARY" : A JOB_VIEW_SUMMARY.
+ * - "JOB_VIEW_ALL" : A JOB_VIEW_ALL.
+ * - "JOB_VIEW_DESCRIPTION" : A JOB_VIEW_DESCRIPTION.
+ *
+ * Completes with a [ListJobsResponse].
+ *
+ * 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<ListJobsResponse> aggregated(core.String projectId, {core.String filter, core.String location, core.String pageToken, core.int pageSize, core.String view}) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (projectId == null) {
+ throw new core.ArgumentError("Parameter projectId is required.");
+ }
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
+ if (location != null) {
+ _queryParams["location"] = [location];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (view != null) {
+ _queryParams["view"] = [view];
+ }
+
+ _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/jobs:aggregated';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListJobsResponse.fromJson(data));
+ }
+
+ /**
* Creates a Cloud Dataflow job.
*
* [request] - The metadata request object.
@@ -114,6 +193,8 @@
*
* [projectId] - The ID of the Cloud Platform project that the job belongs to.
*
+ * [location] - The location that contains this job.
+ *
* [replaceJobId] - Deprecated. This field is now in the Job message.
*
* [view] - The level of information requested in response.
@@ -123,8 +204,6 @@
* - "JOB_VIEW_ALL" : A JOB_VIEW_ALL.
* - "JOB_VIEW_DESCRIPTION" : A JOB_VIEW_DESCRIPTION.
*
- * [location] - The location that contains this job.
- *
* Completes with a [Job].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -133,7 +212,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<Job> create(Job request, core.String projectId, {core.String replaceJobId, core.String view, core.String location}) {
+ async.Future<Job> create(Job request, core.String projectId, {core.String location, core.String replaceJobId, core.String view}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -147,15 +226,15 @@
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId is required.");
}
+ if (location != null) {
+ _queryParams["location"] = [location];
+ }
if (replaceJobId != null) {
_queryParams["replaceJobId"] = [replaceJobId];
}
if (view != null) {
_queryParams["view"] = [view];
}
- if (location != null) {
- _queryParams["location"] = [location];
- }
_url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/jobs';
@@ -178,6 +257,8 @@
*
* [jobId] - The job ID.
*
+ * [location] - The location that contains this job.
+ *
* [view] - The level of information requested in response.
* Possible string values are:
* - "JOB_VIEW_UNKNOWN" : A JOB_VIEW_UNKNOWN.
@@ -185,8 +266,6 @@
* - "JOB_VIEW_ALL" : A JOB_VIEW_ALL.
* - "JOB_VIEW_DESCRIPTION" : A JOB_VIEW_DESCRIPTION.
*
- * [location] - The location that contains this job.
- *
* Completes with a [Job].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -195,7 +274,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<Job> get(core.String projectId, core.String jobId, {core.String view, core.String location}) {
+ async.Future<Job> get(core.String projectId, core.String jobId, {core.String location, core.String view}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -209,12 +288,12 @@
if (jobId == null) {
throw new core.ArgumentError("Parameter jobId is required.");
}
- if (view != null) {
- _queryParams["view"] = [view];
- }
if (location != null) {
_queryParams["location"] = [location];
}
+ if (view != null) {
+ _queryParams["view"] = [view];
+ }
_url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/jobs/' + commons.Escaper.ecapeVariable('$jobId');
@@ -237,11 +316,11 @@
*
* [jobId] - The job to get messages for.
*
+ * [location] - The location which contains the job specified by job_id.
+ *
* [startTime] - Return only metric data that has changed since this time.
* Default is to return all information about all metrics for the job.
*
- * [location] - The location which contains the job specified by job_id.
- *
* Completes with a [JobMetrics].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -250,7 +329,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<JobMetrics> getMetrics(core.String projectId, core.String jobId, {core.String startTime, core.String location}) {
+ async.Future<JobMetrics> getMetrics(core.String projectId, core.String jobId, {core.String location, core.String startTime}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -264,12 +343,12 @@
if (jobId == null) {
throw new core.ArgumentError("Parameter jobId is required.");
}
- if (startTime != null) {
- _queryParams["startTime"] = [startTime];
- }
if (location != null) {
_queryParams["location"] = [location];
}
+ if (startTime != null) {
+ _queryParams["startTime"] = [startTime];
+ }
_url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/jobs/' + commons.Escaper.ecapeVariable('$jobId') + '/metrics';
@@ -284,16 +363,12 @@
}
/**
- * List the jobs of a project.
+ * List the jobs of a project in a given region.
*
* Request parameters:
*
* [projectId] - The project which owns the jobs.
*
- * [pageSize] - If there are many jobs, limit response to at most this many.
- * The actual number of jobs returned will be the lesser of max_responses
- * and an unspecified server-defined limit.
- *
* [view] - Level of information requested in response. Default is
* `JOB_VIEW_SUMMARY`.
* Possible string values are:
@@ -315,6 +390,10 @@
* response
* to request additional results in a long list.
*
+ * [pageSize] - If there are many jobs, limit response to at most this many.
+ * The actual number of jobs returned will be the lesser of max_responses
+ * and an unspecified server-defined limit.
+ *
* Completes with a [ListJobsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -323,7 +402,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListJobsResponse> list(core.String projectId, {core.int pageSize, core.String view, core.String filter, core.String location, core.String pageToken}) {
+ async.Future<ListJobsResponse> list(core.String projectId, {core.String view, core.String filter, core.String location, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -334,9 +413,6 @@
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (view != null) {
_queryParams["view"] = [view];
}
@@ -349,6 +425,9 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/jobs';
@@ -541,19 +620,6 @@
*
* [jobId] - The job to get messages about.
*
- * [pageSize] - If specified, determines the maximum number of messages to
- * return. If unspecified, the service may choose an appropriate
- * default, or may return an arbitrarily large number of results.
- *
- * [minimumImportance] - Filter to only get messages with importance >= level
- * Possible string values are:
- * - "JOB_MESSAGE_IMPORTANCE_UNKNOWN" : A JOB_MESSAGE_IMPORTANCE_UNKNOWN.
- * - "JOB_MESSAGE_DEBUG" : A JOB_MESSAGE_DEBUG.
- * - "JOB_MESSAGE_DETAILED" : A JOB_MESSAGE_DETAILED.
- * - "JOB_MESSAGE_BASIC" : A JOB_MESSAGE_BASIC.
- * - "JOB_MESSAGE_WARNING" : A JOB_MESSAGE_WARNING.
- * - "JOB_MESSAGE_ERROR" : A JOB_MESSAGE_ERROR.
- *
* [location] - The location which contains the job specified by job_id.
*
* [endTime] - Return only messages with timestamps < end_time. The default is
@@ -569,6 +635,19 @@
* by an earlier call. This will cause the next page of results to
* be returned.
*
+ * [pageSize] - If specified, determines the maximum number of messages to
+ * return. If unspecified, the service may choose an appropriate
+ * default, or may return an arbitrarily large number of results.
+ *
+ * [minimumImportance] - Filter to only get messages with importance >= level
+ * Possible string values are:
+ * - "JOB_MESSAGE_IMPORTANCE_UNKNOWN" : A JOB_MESSAGE_IMPORTANCE_UNKNOWN.
+ * - "JOB_MESSAGE_DEBUG" : A JOB_MESSAGE_DEBUG.
+ * - "JOB_MESSAGE_DETAILED" : A JOB_MESSAGE_DETAILED.
+ * - "JOB_MESSAGE_BASIC" : A JOB_MESSAGE_BASIC.
+ * - "JOB_MESSAGE_WARNING" : A JOB_MESSAGE_WARNING.
+ * - "JOB_MESSAGE_ERROR" : A JOB_MESSAGE_ERROR.
+ *
* Completes with a [ListJobMessagesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -577,7 +656,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<ListJobMessagesResponse> list(core.String projectId, core.String jobId, {core.int pageSize, core.String minimumImportance, core.String location, core.String endTime, core.String startTime, core.String pageToken}) {
+ async.Future<ListJobMessagesResponse> list(core.String projectId, core.String jobId, {core.String location, core.String endTime, core.String startTime, core.String pageToken, core.int pageSize, core.String minimumImportance}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -591,12 +670,6 @@
if (jobId == null) {
throw new core.ArgumentError("Parameter jobId is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
- if (minimumImportance != null) {
- _queryParams["minimumImportance"] = [minimumImportance];
- }
if (location != null) {
_queryParams["location"] = [location];
}
@@ -609,6 +682,12 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (minimumImportance != null) {
+ _queryParams["minimumImportance"] = [minimumImportance];
+ }
_url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/jobs/' + commons.Escaper.ecapeVariable('$jobId') + '/messages';
@@ -982,7 +1061,7 @@
}
/**
- * List the jobs of a project.
+ * List the jobs of a project in a given region.
*
* Request parameters:
*
@@ -1251,19 +1330,6 @@
*
* [jobId] - The job to get messages about.
*
- * [pageSize] - If specified, determines the maximum number of messages to
- * return. If unspecified, the service may choose an appropriate
- * default, or may return an arbitrarily large number of results.
- *
- * [minimumImportance] - Filter to only get messages with importance >= level
- * Possible string values are:
- * - "JOB_MESSAGE_IMPORTANCE_UNKNOWN" : A JOB_MESSAGE_IMPORTANCE_UNKNOWN.
- * - "JOB_MESSAGE_DEBUG" : A JOB_MESSAGE_DEBUG.
- * - "JOB_MESSAGE_DETAILED" : A JOB_MESSAGE_DETAILED.
- * - "JOB_MESSAGE_BASIC" : A JOB_MESSAGE_BASIC.
- * - "JOB_MESSAGE_WARNING" : A JOB_MESSAGE_WARNING.
- * - "JOB_MESSAGE_ERROR" : A JOB_MESSAGE_ERROR.
- *
* [endTime] - Return only messages with timestamps < end_time. The default is
* now
* (i.e. return up to the latest messages available).
@@ -1277,6 +1343,19 @@
* by an earlier call. This will cause the next page of results to
* be returned.
*
+ * [pageSize] - If specified, determines the maximum number of messages to
+ * return. If unspecified, the service may choose an appropriate
+ * default, or may return an arbitrarily large number of results.
+ *
+ * [minimumImportance] - Filter to only get messages with importance >= level
+ * Possible string values are:
+ * - "JOB_MESSAGE_IMPORTANCE_UNKNOWN" : A JOB_MESSAGE_IMPORTANCE_UNKNOWN.
+ * - "JOB_MESSAGE_DEBUG" : A JOB_MESSAGE_DEBUG.
+ * - "JOB_MESSAGE_DETAILED" : A JOB_MESSAGE_DETAILED.
+ * - "JOB_MESSAGE_BASIC" : A JOB_MESSAGE_BASIC.
+ * - "JOB_MESSAGE_WARNING" : A JOB_MESSAGE_WARNING.
+ * - "JOB_MESSAGE_ERROR" : A JOB_MESSAGE_ERROR.
+ *
* Completes with a [ListJobMessagesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1285,7 +1364,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<ListJobMessagesResponse> list(core.String projectId, core.String location, core.String jobId, {core.int pageSize, core.String minimumImportance, core.String endTime, core.String startTime, core.String pageToken}) {
+ async.Future<ListJobMessagesResponse> list(core.String projectId, core.String location, core.String jobId, {core.String endTime, core.String startTime, core.String pageToken, core.int pageSize, core.String minimumImportance}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1302,12 +1381,6 @@
if (jobId == null) {
throw new core.ArgumentError("Parameter jobId is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
- if (minimumImportance != null) {
- _queryParams["minimumImportance"] = [minimumImportance];
- }
if (endTime != null) {
_queryParams["endTime"] = [endTime];
}
@@ -1317,6 +1390,12 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (minimumImportance != null) {
+ _queryParams["minimumImportance"] = [minimumImportance];
+ }
_url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/locations/' + commons.Escaper.ecapeVariable('$location') + '/jobs/' + commons.Escaper.ecapeVariable('$jobId') + '/messages';
@@ -1577,15 +1656,15 @@
*
* [location] - The location to which to direct the request.
*
- * [validateOnly] - If true, the request is validated but not actually
- * executed.
- * Defaults to false.
- *
* [gcsPath] - Required. A Cloud Storage path to the template from which to
* create
* the job.
* Must be valid Cloud Storage URL, beginning with 'gs://'.
*
+ * [validateOnly] - If true, the request is validated but not actually
+ * executed.
+ * Defaults to false.
+ *
* Completes with a [LaunchTemplateResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1594,7 +1673,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<LaunchTemplateResponse> launch(LaunchTemplateParameters request, core.String projectId, core.String location, {core.bool validateOnly, core.String gcsPath}) {
+ async.Future<LaunchTemplateResponse> launch(LaunchTemplateParameters request, core.String projectId, core.String location, {core.String gcsPath, core.bool validateOnly}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1611,12 +1690,12 @@
if (location == null) {
throw new core.ArgumentError("Parameter location is required.");
}
- if (validateOnly != null) {
- _queryParams["validateOnly"] = ["${validateOnly}"];
- }
if (gcsPath != null) {
_queryParams["gcsPath"] = [gcsPath];
}
+ if (validateOnly != null) {
+ _queryParams["validateOnly"] = ["${validateOnly}"];
+ }
_url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/locations/' + commons.Escaper.ecapeVariable('$location') + '/templates:launch';
diff --git a/generated/googleapis_beta/lib/dlp/v2beta1.dart b/generated/googleapis_beta/lib/dlp/v2beta1.dart
index f40ea5b..0709105 100644
--- a/generated/googleapis_beta/lib/dlp/v2beta1.dart
+++ b/generated/googleapis_beta/lib/dlp/v2beta1.dart
@@ -317,14 +317,14 @@
* [name] - The name of the operation's parent resource.
* Value must have pattern "^inspect/operations$".
*
- * [pageSize] - The list page size. The max allowed value is 256 and default
- * is 100.
- *
* [filter] - This parameter supports filtering by done, ie done=true or
* done=false.
*
* [pageToken] - The standard list page token.
*
+ * [pageSize] - The list page size. The max allowed value is 256 and default
+ * is 100.
+ *
* Completes with a [GoogleLongrunningListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -333,7 +333,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<GoogleLongrunningListOperationsResponse> list(core.String name, {core.int pageSize, core.String filter, core.String pageToken}) {
+ async.Future<GoogleLongrunningListOperationsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -344,15 +344,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}"];
+ }
_url = 'v2beta1/' + commons.Escaper.ecapeVariableReserved('$name');
@@ -395,6 +395,11 @@
* Should be in the format of `inspect/results/{id}`.
* Value must have pattern "^inspect/results/[^/]+$".
*
+ * [pageToken] - The value returned by the last `ListInspectFindingsResponse`;
+ * indicates
+ * that this is a continuation of a prior `ListInspectFindings` call, and that
+ * the system should return the next page of data.
+ *
* [pageSize] - Maximum number of results to return.
* If 0, the implementation selects a reasonable value.
*
@@ -407,11 +412,6 @@
* <li>likelihood=VERY_LIKELY,LIKELY
* <li>info_type=EMAIL_ADDRESS,likelihood=VERY_LIKELY,LIKELY
*
- * [pageToken] - The value returned by the last `ListInspectFindingsResponse`;
- * indicates
- * that this is a continuation of a prior `ListInspectFindings` call, and that
- * the system should return the next page of data.
- *
* Completes with a [GooglePrivacyDlpV2beta1ListInspectFindingsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -420,7 +420,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<GooglePrivacyDlpV2beta1ListInspectFindingsResponse> list(core.String name, {core.int pageSize, core.String filter, core.String pageToken}) {
+ async.Future<GooglePrivacyDlpV2beta1ListInspectFindingsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -431,15 +431,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];
- }
_url = 'v2beta1/' + commons.Escaper.ecapeVariableReserved('$name') + '/findings';
@@ -686,6 +686,86 @@
}
}
+/** Options defining BigQuery table and row identifiers. */
+class GooglePrivacyDlpV2beta1BigQueryOptions {
+ /**
+ * References to fields uniquely identifying rows within the table.
+ * Nested fields in the format, like `person.birthdate.year`, are allowed.
+ */
+ core.List<GooglePrivacyDlpV2beta1FieldId> identifyingFields;
+ /** Complete BigQuery table reference. */
+ GooglePrivacyDlpV2beta1BigQueryTable tableReference;
+
+ GooglePrivacyDlpV2beta1BigQueryOptions();
+
+ GooglePrivacyDlpV2beta1BigQueryOptions.fromJson(core.Map _json) {
+ if (_json.containsKey("identifyingFields")) {
+ identifyingFields = _json["identifyingFields"].map((value) => new GooglePrivacyDlpV2beta1FieldId.fromJson(value)).toList();
+ }
+ if (_json.containsKey("tableReference")) {
+ tableReference = new GooglePrivacyDlpV2beta1BigQueryTable.fromJson(_json["tableReference"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (identifyingFields != null) {
+ _json["identifyingFields"] = identifyingFields.map((value) => (value).toJson()).toList();
+ }
+ if (tableReference != null) {
+ _json["tableReference"] = (tableReference).toJson();
+ }
+ return _json;
+ }
+}
+
+/**
+ * Message defining the location of a BigQuery table. A table is uniquely
+ * identified by its project_id, dataset_id, and table_name. Within a query
+ * a table is often referenced with a string in the format of:
+ * `<project_id>:<dataset_id>.<table_id>` or
+ * `<project_id>.<dataset_id>.<table_id>`.
+ */
+class GooglePrivacyDlpV2beta1BigQueryTable {
+ /** Dataset ID of the table. */
+ core.String datasetId;
+ /**
+ * The Google Cloud Platform project ID of the project containing the table.
+ * If omitted, project ID is inferred from the API call.
+ */
+ core.String projectId;
+ /** Name of the table. */
+ core.String tableId;
+
+ GooglePrivacyDlpV2beta1BigQueryTable();
+
+ GooglePrivacyDlpV2beta1BigQueryTable.fromJson(core.Map _json) {
+ if (_json.containsKey("datasetId")) {
+ datasetId = _json["datasetId"];
+ }
+ if (_json.containsKey("projectId")) {
+ projectId = _json["projectId"];
+ }
+ if (_json.containsKey("tableId")) {
+ tableId = _json["tableId"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (datasetId != null) {
+ _json["datasetId"] = datasetId;
+ }
+ if (projectId != null) {
+ _json["projectId"] = projectId;
+ }
+ if (tableId != null) {
+ _json["tableId"] = tableId;
+ }
+ return _json;
+ }
+}
+
/** Info Type Category description. */
class GooglePrivacyDlpV2beta1CategoryDescription {
/** Human readable form of the category name. */
@@ -841,6 +921,8 @@
void set dataAsBytes(core.List<core.int> _bytes) {
data = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
}
+ /** Structured content for inspection. */
+ GooglePrivacyDlpV2beta1Table table;
/**
* Type of the content, as defined in Content-Type HTTP header.
* Supported types are: all "text" types, octet streams, PNG images,
@@ -856,6 +938,9 @@
if (_json.containsKey("data")) {
data = _json["data"];
}
+ if (_json.containsKey("table")) {
+ table = new GooglePrivacyDlpV2beta1Table.fromJson(_json["table"]);
+ }
if (_json.containsKey("type")) {
type = _json["type"];
}
@@ -869,6 +954,9 @@
if (data != null) {
_json["data"] = data;
}
+ if (table != null) {
+ _json["table"] = (table).toJson();
+ }
if (type != null) {
_json["type"] = type;
}
@@ -886,6 +974,8 @@
class GooglePrivacyDlpV2beta1CreateInspectOperationRequest {
/** Configuration for the inspector. */
GooglePrivacyDlpV2beta1InspectConfig inspectConfig;
+ /** Additional configuration settings for long running operations. */
+ GooglePrivacyDlpV2beta1OperationConfig operationConfig;
/**
* Optional location to store findings. The bucket must already exist and
* the Google APIs service account for DLP must have write permission to
@@ -896,11 +986,13 @@
* identifier for the Operation, and the `count` is a counter used for
* tracking the number of files written. <p>The CSV file(s) contain the
* following columns regardless of storage type scanned: <li>id <li>info_type
- * <li>likelihood <li>byte size of finding <li>quote <li>time_stamp<br/>
+ * <li>likelihood <li>byte size of finding <li>quote <li>timestamp<br/>
* <p>For Cloud Storage the next columns are: <li>file_path
* <li>start_offset<br/>
* <p>For Cloud Datastore the next columns are: <li>project_id
- * <li>namespace_id <li>path <li>column_name <li>offset
+ * <li>namespace_id <li>path <li>column_name <li>offset<br/>
+ * <p>For BigQuery the next columns are: <li>row_number <li>project_id
+ * <li>dataset_id <li>table_id
*/
GooglePrivacyDlpV2beta1OutputStorageConfig outputConfig;
/** Specification of the data set to process. */
@@ -912,6 +1004,9 @@
if (_json.containsKey("inspectConfig")) {
inspectConfig = new GooglePrivacyDlpV2beta1InspectConfig.fromJson(_json["inspectConfig"]);
}
+ if (_json.containsKey("operationConfig")) {
+ operationConfig = new GooglePrivacyDlpV2beta1OperationConfig.fromJson(_json["operationConfig"]);
+ }
if (_json.containsKey("outputConfig")) {
outputConfig = new GooglePrivacyDlpV2beta1OutputStorageConfig.fromJson(_json["outputConfig"]);
}
@@ -925,6 +1020,9 @@
if (inspectConfig != null) {
_json["inspectConfig"] = (inspectConfig).toJson();
}
+ if (operationConfig != null) {
+ _json["operationConfig"] = (operationConfig).toJson();
+ }
if (outputConfig != null) {
_json["outputConfig"] = (outputConfig).toJson();
}
@@ -1164,13 +1262,13 @@
class GooglePrivacyDlpV2beta1ImageRedactionConfig {
/**
* Only one per info_type should be provided per request. If not
- * specified, and redact_all_text is false, the DLP API will redacts all
+ * specified, and redact_all_text is false, the DLP API will redact all
* text that it matches against all info_types that are found, but not
* specified in another ImageRedactionConfig.
*/
GooglePrivacyDlpV2beta1InfoType infoType;
/**
- * If true, all text found in the image, regardless if it matches an
+ * If true, all text found in the image, regardless whether it matches an
* info_type, is redacted.
*/
core.bool redactAllText;
@@ -1269,6 +1367,44 @@
}
}
+/**
+ * Max findings configuration per info type, per content item or long running
+ * operation.
+ */
+class GooglePrivacyDlpV2beta1InfoTypeLimit {
+ /**
+ * Type of information the findings limit applies to. Only one limit per
+ * info_type should be provided. If InfoTypeLimit does not have an
+ * info_type, the DLP API applies the limit against all info_types that are
+ * found but not specified in another InfoTypeLimit.
+ */
+ GooglePrivacyDlpV2beta1InfoType infoType;
+ /** Max findings limit for the given info type. */
+ core.int maxFindings;
+
+ GooglePrivacyDlpV2beta1InfoTypeLimit();
+
+ GooglePrivacyDlpV2beta1InfoTypeLimit.fromJson(core.Map _json) {
+ if (_json.containsKey("infoType")) {
+ infoType = new GooglePrivacyDlpV2beta1InfoType.fromJson(_json["infoType"]);
+ }
+ if (_json.containsKey("maxFindings")) {
+ maxFindings = _json["maxFindings"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (infoType != null) {
+ _json["infoType"] = (infoType).toJson();
+ }
+ if (maxFindings != null) {
+ _json["maxFindings"] = maxFindings;
+ }
+ return _json;
+ }
+}
+
/** Statistics regarding a specific InfoType. */
class GooglePrivacyDlpV2beta1InfoTypeStatistics {
/** Number of findings for this info type. */
@@ -1312,6 +1448,8 @@
* included in the response; see Finding.quote.
*/
core.bool includeQuote;
+ /** Configuration of findings limit given for specified info types. */
+ core.List<GooglePrivacyDlpV2beta1InfoTypeLimit> infoTypeLimits;
/**
* Restricts what info_types to look for. The values must correspond to
* InfoType values returned by ListInfoTypes or found in documentation.
@@ -1344,6 +1482,9 @@
if (_json.containsKey("includeQuote")) {
includeQuote = _json["includeQuote"];
}
+ if (_json.containsKey("infoTypeLimits")) {
+ infoTypeLimits = _json["infoTypeLimits"].map((value) => new GooglePrivacyDlpV2beta1InfoTypeLimit.fromJson(value)).toList();
+ }
if (_json.containsKey("infoTypes")) {
infoTypes = _json["infoTypes"].map((value) => new GooglePrivacyDlpV2beta1InfoType.fromJson(value)).toList();
}
@@ -1363,6 +1504,9 @@
if (includeQuote != null) {
_json["includeQuote"] = includeQuote;
}
+ if (infoTypeLimits != null) {
+ _json["infoTypeLimits"] = infoTypeLimits.map((value) => (value).toJson()).toList();
+ }
if (infoTypes != null) {
_json["infoTypes"] = infoTypes.map((value) => (value).toJson()).toList();
}
@@ -1730,6 +1874,8 @@
core.List<GooglePrivacyDlpV2beta1ImageLocation> imageBoxes;
/** Key of the finding. */
GooglePrivacyDlpV2beta1RecordKey recordKey;
+ /** Location within a `ContentItem.Table`. */
+ GooglePrivacyDlpV2beta1TableLocation tableLocation;
GooglePrivacyDlpV2beta1Location();
@@ -1749,6 +1895,9 @@
if (_json.containsKey("recordKey")) {
recordKey = new GooglePrivacyDlpV2beta1RecordKey.fromJson(_json["recordKey"]);
}
+ if (_json.containsKey("tableLocation")) {
+ tableLocation = new GooglePrivacyDlpV2beta1TableLocation.fromJson(_json["tableLocation"]);
+ }
}
core.Map<core.String, core.Object> toJson() {
@@ -1768,6 +1917,31 @@
if (recordKey != null) {
_json["recordKey"] = (recordKey).toJson();
}
+ if (tableLocation != null) {
+ _json["tableLocation"] = (tableLocation).toJson();
+ }
+ return _json;
+ }
+}
+
+/** Additional configuration for inspect long running operations. */
+class GooglePrivacyDlpV2beta1OperationConfig {
+ /** Max number of findings per file, Datastore entity or database row. */
+ core.String maxItemFindings;
+
+ GooglePrivacyDlpV2beta1OperationConfig();
+
+ GooglePrivacyDlpV2beta1OperationConfig.fromJson(core.Map _json) {
+ if (_json.containsKey("maxItemFindings")) {
+ maxItemFindings = _json["maxItemFindings"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (maxItemFindings != null) {
+ _json["maxItemFindings"] = maxItemFindings;
+ }
return _json;
}
}
@@ -1776,6 +1950,8 @@
class GooglePrivacyDlpV2beta1OutputStorageConfig {
/** The path to a Google Cloud Storage location to store output. */
GooglePrivacyDlpV2beta1CloudStoragePath storagePath;
+ /** Store findings in a new table in the dataset. */
+ GooglePrivacyDlpV2beta1BigQueryTable table;
GooglePrivacyDlpV2beta1OutputStorageConfig();
@@ -1783,6 +1959,9 @@
if (_json.containsKey("storagePath")) {
storagePath = new GooglePrivacyDlpV2beta1CloudStoragePath.fromJson(_json["storagePath"]);
}
+ if (_json.containsKey("table")) {
+ table = new GooglePrivacyDlpV2beta1BigQueryTable.fromJson(_json["table"]);
+ }
}
core.Map<core.String, core.Object> toJson() {
@@ -1790,6 +1969,9 @@
if (storagePath != null) {
_json["storagePath"] = (storagePath).toJson();
}
+ if (table != null) {
+ _json["table"] = (table).toJson();
+ }
return _json;
}
}
@@ -2101,8 +2283,30 @@
}
}
+class GooglePrivacyDlpV2beta1Row {
+ core.List<GooglePrivacyDlpV2beta1Value> values;
+
+ GooglePrivacyDlpV2beta1Row();
+
+ GooglePrivacyDlpV2beta1Row.fromJson(core.Map _json) {
+ if (_json.containsKey("values")) {
+ values = _json["values"].map((value) => new GooglePrivacyDlpV2beta1Value.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 (values != null) {
+ _json["values"] = values.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
/** Shared message indicating Cloud storage type. */
class GooglePrivacyDlpV2beta1StorageConfig {
+ /** BigQuery options specification. */
+ GooglePrivacyDlpV2beta1BigQueryOptions bigQueryOptions;
/** Google Cloud Storage options specification. */
GooglePrivacyDlpV2beta1CloudStorageOptions cloudStorageOptions;
/** Google Cloud Datastore options specification. */
@@ -2111,6 +2315,9 @@
GooglePrivacyDlpV2beta1StorageConfig();
GooglePrivacyDlpV2beta1StorageConfig.fromJson(core.Map _json) {
+ if (_json.containsKey("bigQueryOptions")) {
+ bigQueryOptions = new GooglePrivacyDlpV2beta1BigQueryOptions.fromJson(_json["bigQueryOptions"]);
+ }
if (_json.containsKey("cloudStorageOptions")) {
cloudStorageOptions = new GooglePrivacyDlpV2beta1CloudStorageOptions.fromJson(_json["cloudStorageOptions"]);
}
@@ -2121,6 +2328,9 @@
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (bigQueryOptions != null) {
+ _json["bigQueryOptions"] = (bigQueryOptions).toJson();
+ }
if (cloudStorageOptions != null) {
_json["cloudStorageOptions"] = (cloudStorageOptions).toJson();
}
@@ -2132,6 +2342,121 @@
}
/**
+ * Structured content to inspect. Up to 50,000 `Value`s per request allowed.
+ */
+class GooglePrivacyDlpV2beta1Table {
+ core.List<GooglePrivacyDlpV2beta1FieldId> headers;
+ core.List<GooglePrivacyDlpV2beta1Row> rows;
+
+ GooglePrivacyDlpV2beta1Table();
+
+ GooglePrivacyDlpV2beta1Table.fromJson(core.Map _json) {
+ if (_json.containsKey("headers")) {
+ headers = _json["headers"].map((value) => new GooglePrivacyDlpV2beta1FieldId.fromJson(value)).toList();
+ }
+ if (_json.containsKey("rows")) {
+ rows = _json["rows"].map((value) => new GooglePrivacyDlpV2beta1Row.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 (headers != null) {
+ _json["headers"] = headers.map((value) => (value).toJson()).toList();
+ }
+ if (rows != null) {
+ _json["rows"] = rows.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/** Location of a finding within a `ContentItem.Table`. */
+class GooglePrivacyDlpV2beta1TableLocation {
+ /** The zero-based index of the row where the finding is located. */
+ core.String rowIndex;
+
+ GooglePrivacyDlpV2beta1TableLocation();
+
+ GooglePrivacyDlpV2beta1TableLocation.fromJson(core.Map _json) {
+ if (_json.containsKey("rowIndex")) {
+ rowIndex = _json["rowIndex"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (rowIndex != null) {
+ _json["rowIndex"] = rowIndex;
+ }
+ return _json;
+ }
+}
+
+/** Set of primitive values supported by the system. */
+class GooglePrivacyDlpV2beta1Value {
+ core.bool booleanValue;
+ GoogleTypeDate dateValue;
+ core.double floatValue;
+ core.String integerValue;
+ core.String stringValue;
+ GoogleTypeTimeOfDay timeValue;
+ core.String timestampValue;
+
+ GooglePrivacyDlpV2beta1Value();
+
+ GooglePrivacyDlpV2beta1Value.fromJson(core.Map _json) {
+ if (_json.containsKey("booleanValue")) {
+ booleanValue = _json["booleanValue"];
+ }
+ if (_json.containsKey("dateValue")) {
+ dateValue = new GoogleTypeDate.fromJson(_json["dateValue"]);
+ }
+ if (_json.containsKey("floatValue")) {
+ floatValue = _json["floatValue"];
+ }
+ if (_json.containsKey("integerValue")) {
+ integerValue = _json["integerValue"];
+ }
+ if (_json.containsKey("stringValue")) {
+ stringValue = _json["stringValue"];
+ }
+ if (_json.containsKey("timeValue")) {
+ timeValue = new GoogleTypeTimeOfDay.fromJson(_json["timeValue"]);
+ }
+ if (_json.containsKey("timestampValue")) {
+ timestampValue = _json["timestampValue"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (booleanValue != null) {
+ _json["booleanValue"] = booleanValue;
+ }
+ if (dateValue != null) {
+ _json["dateValue"] = (dateValue).toJson();
+ }
+ if (floatValue != null) {
+ _json["floatValue"] = floatValue;
+ }
+ if (integerValue != null) {
+ _json["integerValue"] = integerValue;
+ }
+ if (stringValue != null) {
+ _json["stringValue"] = stringValue;
+ }
+ if (timeValue != null) {
+ _json["timeValue"] = (timeValue).toJson();
+ }
+ if (timestampValue != null) {
+ _json["timestampValue"] = timestampValue;
+ }
+ 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:
@@ -2257,3 +2582,111 @@
return _json;
}
}
+
+/**
+ * Represents a whole calendar date, e.g. date of birth. The time of day and
+ * time zone are either specified elsewhere or are not significant. The date
+ * is relative to the Proleptic Gregorian Calendar. The day may be 0 to
+ * represent a year and month where the day is not significant, e.g. credit card
+ * expiration date. The year may be 0 to represent a month and day independent
+ * of year, e.g. anniversary date. Related types are google.type.TimeOfDay
+ * and `google.protobuf.Timestamp`.
+ */
+class GoogleTypeDate {
+ /**
+ * Day of month. Must be from 1 to 31 and valid for the year and month, or 0
+ * if specifying a year/month where the day is not significant.
+ */
+ core.int day;
+ /** Month of year. Must be from 1 to 12. */
+ core.int month;
+ /**
+ * Year of date. Must be from 1 to 9999, or 0 if specifying a date without
+ * a year.
+ */
+ core.int year;
+
+ GoogleTypeDate();
+
+ GoogleTypeDate.fromJson(core.Map _json) {
+ if (_json.containsKey("day")) {
+ day = _json["day"];
+ }
+ if (_json.containsKey("month")) {
+ month = _json["month"];
+ }
+ if (_json.containsKey("year")) {
+ year = _json["year"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (day != null) {
+ _json["day"] = day;
+ }
+ if (month != null) {
+ _json["month"] = month;
+ }
+ if (year != null) {
+ _json["year"] = year;
+ }
+ return _json;
+ }
+}
+
+/**
+ * Represents a time of day. The date and time zone are either not significant
+ * or are specified elsewhere. An API may choose to allow leap seconds. Related
+ * types are google.type.Date and `google.protobuf.Timestamp`.
+ */
+class GoogleTypeTimeOfDay {
+ /**
+ * Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
+ * to allow the value "24:00:00" for scenarios like business closing time.
+ */
+ core.int hours;
+ /** Minutes of hour of day. Must be from 0 to 59. */
+ core.int minutes;
+ /** Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. */
+ core.int nanos;
+ /**
+ * Seconds of minutes of the time. Must normally be from 0 to 59. An API may
+ * allow the value 60 if it allows leap-seconds.
+ */
+ core.int seconds;
+
+ GoogleTypeTimeOfDay();
+
+ GoogleTypeTimeOfDay.fromJson(core.Map _json) {
+ if (_json.containsKey("hours")) {
+ hours = _json["hours"];
+ }
+ if (_json.containsKey("minutes")) {
+ minutes = _json["minutes"];
+ }
+ if (_json.containsKey("nanos")) {
+ nanos = _json["nanos"];
+ }
+ if (_json.containsKey("seconds")) {
+ seconds = _json["seconds"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (hours != null) {
+ _json["hours"] = hours;
+ }
+ if (minutes != null) {
+ _json["minutes"] = minutes;
+ }
+ if (nanos != null) {
+ _json["nanos"] = nanos;
+ }
+ if (seconds != null) {
+ _json["seconds"] = seconds;
+ }
+ return _json;
+ }
+}
diff --git a/generated/googleapis_beta/lib/logging/v2beta1.dart b/generated/googleapis_beta/lib/logging/v2beta1.dart
index 7c9a7c7..94194a1 100644
--- a/generated/googleapis_beta/lib/logging/v2beta1.dart
+++ b/generated/googleapis_beta/lib/logging/v2beta1.dart
@@ -125,15 +125,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.
- *
* Completes with a [ListLogsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -142,7 +142,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListLogsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListLogsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -153,12 +153,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];
+ }
_url = 'v2beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/logs';
@@ -275,15 +275,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.
- *
* Completes with a [ListMonitoredResourceDescriptorsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -292,7 +292,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListMonitoredResourceDescriptorsResponse> list({core.String pageToken, core.int pageSize}) {
+ async.Future<ListMonitoredResourceDescriptorsResponse> list({core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -300,12 +300,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];
+ }
_url = 'v2beta1/monitoredResourceDescriptors';
@@ -534,15 +534,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.
- *
* Completes with a [ListLogsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -551,7 +551,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListLogsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListLogsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -562,12 +562,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];
+ }
_url = 'v2beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/logs';
@@ -1009,15 +1009,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.
- *
* Completes with a [ListSinksResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1026,7 +1026,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListSinksResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListSinksResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1037,12 +1037,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];
+ }
_url = 'v2beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/sinks';
@@ -1057,12 +1057,10 @@
}
/**
- * Updates a sink. If the named sink doesn't exist, then this method is
- * identical to sinks.create. If the named sink does exist, then this method
- * replaces the following fields in the existing sink with values from the new
- * sink: destination, filter, output_version_format, start_time, and end_time.
- * The updated filter might also have a new writer_identity; see the
- * unique_writer_identity field.
+ * Updates a sink. This method replaces the following fields in the existing
+ * sink with values from the new sink: destination, filter,
+ * output_version_format, start_time, and end_time. The updated sink might
+ * also have a new writer_identity; see the unique_writer_identity field.
*
* [request] - The metadata request object.
*
@@ -1182,6 +1180,10 @@
*/
core.String latency;
/**
+ * Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
+ */
+ core.String protocol;
+ /**
* The referer URL of the request, as defined in HTTP/1.1 Header Field
* Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
*/
@@ -1242,6 +1244,9 @@
if (_json.containsKey("latency")) {
latency = _json["latency"];
}
+ if (_json.containsKey("protocol")) {
+ protocol = _json["protocol"];
+ }
if (_json.containsKey("referer")) {
referer = _json["referer"];
}
@@ -1288,6 +1293,9 @@
if (latency != null) {
_json["latency"] = latency;
}
+ if (protocol != null) {
+ _json["protocol"] = protocol;
+ }
if (referer != null) {
_json["referer"] = referer;
}
@@ -2048,9 +2056,8 @@
*/
core.String name;
/**
- * Output only. The API version that created or updated this metric. The
- * version also dictates the syntax of the filter expression. When a value for
- * this field is missing, the default value of V2 should be assumed.
+ * Output only. The API version that created or updated this metric. This
+ * value is currently always set to V2.
* Possible string values are:
* - "V2" : Stackdriver Logging API v2.
* - "V1" : Stackdriver Logging API v1.
diff --git a/generated/googleapis_beta/lib/proximitybeacon/v1beta1.dart b/generated/googleapis_beta/lib/proximitybeacon/v1beta1.dart
index 62315e8..8e7e9c5 100644
--- a/generated/googleapis_beta/lib/proximitybeacon/v1beta1.dart
+++ b/generated/googleapis_beta/lib/proximitybeacon/v1beta1.dart
@@ -424,6 +424,11 @@
*
* Request parameters:
*
+ * [projectId] - The project id to list beacons under. If not present then the
+ * project
+ * credential that made the request is used as the project.
+ * Optional.
+ *
* [pageToken] - A pagination token obtained from a previous request to list
* beacons.
*
@@ -500,11 +505,6 @@
* `GET
* /v1beta1/beacons?q=status:active%20lat:51.123%20lng:-1.095%20radius:1000`
*
- * [projectId] - The project id to list beacons under. If not present then the
- * project
- * credential that made the request is used as the project.
- * Optional.
- *
* Completes with a [ListBeaconsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -513,7 +513,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<ListBeaconsResponse> list({core.String pageToken, core.int pageSize, core.String q, core.String projectId}) {
+ async.Future<ListBeaconsResponse> list({core.String projectId, core.String pageToken, core.int pageSize, core.String q}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -521,6 +521,9 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ if (projectId != null) {
+ _queryParams["projectId"] = [projectId];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -530,9 +533,6 @@
if (q != null) {
_queryParams["q"] = [q];
}
- if (projectId != null) {
- _queryParams["projectId"] = [projectId];
- }
_url = 'v1beta1/beacons';
@@ -923,11 +923,6 @@
* Required.
* Value must have pattern "^beacons/[^/]+$".
*
- * [namespacedType] - Specifies the namespace and type of attachment to
- * include in response in
- * <var>namespace/type</var> format. Accepts `* / * ` to specify
- * "all types in all namespaces".
- *
* [projectId] - The project id to list beacon attachments under. This field
* can be
* used when "*" is specified to mean all attachment namespaces. Projects
@@ -936,6 +931,11 @@
* making the request is used.
* Optional.
*
+ * [namespacedType] - Specifies the namespace and type of attachment to
+ * include in response in
+ * <var>namespace/type</var> format. Accepts `* / * ` to specify
+ * "all types in all namespaces".
+ *
* Completes with a [ListBeaconAttachmentsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -944,7 +944,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<ListBeaconAttachmentsResponse> list(core.String beaconName, {core.String namespacedType, core.String projectId}) {
+ async.Future<ListBeaconAttachmentsResponse> list(core.String beaconName, {core.String projectId, core.String namespacedType}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -955,12 +955,12 @@
if (beaconName == null) {
throw new core.ArgumentError("Parameter beaconName is required.");
}
- if (namespacedType != null) {
- _queryParams["namespacedType"] = [namespacedType];
- }
if (projectId != null) {
_queryParams["projectId"] = [projectId];
}
+ if (namespacedType != null) {
+ _queryParams["namespacedType"] = [namespacedType];
+ }
_url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$beaconName') + '/attachments';
@@ -998,10 +998,6 @@
* [beaconName] - Beacon that the diagnostics are for.
* Value must have pattern "^beacons/[^/]+$".
*
- * [pageToken] - Requests results that occur after the `page_token`, obtained
- * from the
- * response to a previous request. Optional.
- *
* [alertFilter] - Requests only beacons that have the given alert. For
* example, to find
* beacons that have low batteries use `alert_filter=LOW_BATTERY`.
@@ -1018,6 +1014,10 @@
* then the project making the request will be used for looking up
* diagnostic records. Optional.
*
+ * [pageToken] - Requests results that occur after the `page_token`, obtained
+ * from the
+ * response to a previous request. Optional.
+ *
* Completes with a [ListDiagnosticsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -1026,7 +1026,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<ListDiagnosticsResponse> list(core.String beaconName, {core.String pageToken, core.String alertFilter, core.int pageSize, core.String projectId}) {
+ async.Future<ListDiagnosticsResponse> list(core.String beaconName, {core.String alertFilter, core.int pageSize, core.String projectId, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1037,9 +1037,6 @@
if (beaconName == null) {
throw new core.ArgumentError("Parameter beaconName is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (alertFilter != null) {
_queryParams["alertFilter"] = [alertFilter];
}
@@ -1049,6 +1046,9 @@
if (projectId != null) {
_queryParams["projectId"] = [projectId];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$beaconName') + '/diagnostics';
diff --git a/generated/googleapis_beta/lib/pubsub/v1beta2.dart b/generated/googleapis_beta/lib/pubsub/v1beta2.dart
index c1eacd7..9c699a6 100644
--- a/generated/googleapis_beta/lib/pubsub/v1beta2.dart
+++ b/generated/googleapis_beta/lib/pubsub/v1beta2.dart
@@ -294,13 +294,13 @@
* [project] - The name of the cloud project that subscriptions belong to.
* Value must have pattern "^projects/[^/]+$".
*
- * [pageSize] - Maximum number of subscriptions to return.
- *
* [pageToken] - The value returned by the last `ListSubscriptionsResponse`;
* indicates that
* this is a continuation of a prior `ListSubscriptions` call, and that the
* system should return the next page of data.
*
+ * [pageSize] - Maximum number of subscriptions to return.
+ *
* Completes with a [ListSubscriptionsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -309,7 +309,7 @@
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListSubscriptionsResponse> list(core.String project, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListSubscriptionsResponse> list(core.String project, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -320,12 +320,12 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1beta2/' + commons.Escaper.ecapeVariableReserved('$project') + '/subscriptions';
@@ -784,13 +784,13 @@
* [project] - The name of the cloud project that topics belong to.
* Value must have pattern "^projects/[^/]+$".
*
- * [pageSize] - Maximum number of topics to return.
- *
* [pageToken] - The value returned by the last `ListTopicsResponse`;
* indicates that this is
* a continuation of a prior `ListTopics` call, and that the system should
* return the next page of data.
*
+ * [pageSize] - Maximum number of topics to return.
+ *
* Completes with a [ListTopicsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -799,7 +799,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<ListTopicsResponse> list(core.String project, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListTopicsResponse> list(core.String project, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -810,12 +810,12 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1beta2/' + commons.Escaper.ecapeVariableReserved('$project') + '/topics';
diff --git a/generated/googleapis_beta/lib/runtimeconfig/v1beta1.dart b/generated/googleapis_beta/lib/runtimeconfig/v1beta1.dart
index 22ff18c..b09075f 100644
--- a/generated/googleapis_beta/lib/runtimeconfig/v1beta1.dart
+++ b/generated/googleapis_beta/lib/runtimeconfig/v1beta1.dart
@@ -258,14 +258,14 @@
* for this request, in the format `projects/[PROJECT_ID]`.
* Value must have pattern "^projects/[^/]+$".
*
- * [pageToken] - Specifies a page token to use. Set `pageToken` to a
- * `nextPageToken`
- * returned by a previous list request to get the next page of results.
- *
* [pageSize] - Specifies the number of results to return per page. If there
* are fewer
* elements than the specified number, returns all elements.
*
+ * [pageToken] - Specifies a page token to use. Set `pageToken` to a
+ * `nextPageToken`
+ * returned by a previous list request to get the next page of results.
+ *
* Completes with a [ListConfigsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -274,7 +274,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<ListConfigsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) {
+ async.Future<ListConfigsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -285,12 +285,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];
+ }
_url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/configs';
@@ -749,6 +749,10 @@
* `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
* Value must have pattern "^projects/[^/]+/configs/[^/]+$".
*
+ * [pageSize] - Specifies the number of results to return per page. If there
+ * are fewer
+ * elements than the specified number, returns all elements.
+ *
* [filter] - Filters variables by matching the specified filter. For example:
*
* `projects/example-project/config/[CONFIG_NAME]/variables/example-variable`.
@@ -762,10 +766,6 @@
* `nextPageToken`
* returned by a previous list request to get the next page of results.
*
- * [pageSize] - Specifies the number of results to return per page. If there
- * are fewer
- * elements than the specified number, returns all elements.
- *
* Completes with a [ListVariablesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -774,7 +774,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<ListVariablesResponse> list(core.String parent, {core.String filter, core.bool returnValues, core.String pageToken, core.int pageSize}) {
+ async.Future<ListVariablesResponse> list(core.String parent, {core.int pageSize, core.String filter, core.bool returnValues, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -785,6 +785,9 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (filter != null) {
_queryParams["filter"] = [filter];
}
@@ -794,9 +797,6 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
_url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/variables';
@@ -1829,8 +1829,8 @@
/** 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 will be a
- * common set of message types for APIs to use.
+ * 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.
diff --git a/generated/googleapis_beta/lib/sqladmin/v1beta3.dart b/generated/googleapis_beta/lib/sqladmin/v1beta3.dart
index 1ca1d22..a82eaf9 100644
--- a/generated/googleapis_beta/lib/sqladmin/v1beta3.dart
+++ b/generated/googleapis_beta/lib/sqladmin/v1beta3.dart
@@ -2646,10 +2646,7 @@
core.bool enabled;
/** This is always sql#ipConfiguration. */
core.String kind;
- /**
- * Whether the mysqld should default to 'REQUIRE X509' for users connecting
- * over IP.
- */
+ /** Whether SSL connections over IP should be enforced or not. */
core.bool requireSsl;
IpConfiguration();
diff --git a/generated/googleapis_beta/lib/sqladmin/v1beta4.dart b/generated/googleapis_beta/lib/sqladmin/v1beta4.dart
index fb7d795..64b696b 100644
--- a/generated/googleapis_beta/lib/sqladmin/v1beta4.dart
+++ b/generated/googleapis_beta/lib/sqladmin/v1beta4.dart
@@ -2625,10 +2625,10 @@
*/
core.String currentDiskSize;
/**
- * The database engine type and version. The databaseVersion can not be
- * changed after instance creation. Can be MYSQL_5_5, MYSQL_5_6 or MYSQL_5_7.
- * Defaults to MYSQL_5_6. MYSQL_5_7 is applicable only to Second Generation
- * instances.
+ * The database engine type and version. The databaseVersion field can not be
+ * changed after instance creation. MySQL Second Generation instances:
+ * MYSQL_5_7 (default) or MYSQL_5_6. PostgreSQL instances: POSTGRES_9_6 MySQL
+ * First Generation instances: MYSQL_5_6 (default) or MYSQL_5_5
*/
core.String databaseVersion;
/** HTTP 1.1 Entity tag for the resource. */
@@ -2639,6 +2639,12 @@
*/
DatabaseInstanceFailoverReplica failoverReplica;
/**
+ * The GCE zone that the instance is serving from. In case when the instance
+ * is failed over to standby zone, this value may be different with what user
+ * specified in the settings.
+ */
+ core.String gceZone;
+ /**
* The instance type. This can be one of the following.
* CLOUD_SQL_INSTANCE: A Cloud SQL instance that is not replicating from a
* master.
@@ -2732,6 +2738,9 @@
if (_json.containsKey("failoverReplica")) {
failoverReplica = new DatabaseInstanceFailoverReplica.fromJson(_json["failoverReplica"]);
}
+ if (_json.containsKey("gceZone")) {
+ gceZone = _json["gceZone"];
+ }
if (_json.containsKey("instanceType")) {
instanceType = _json["instanceType"];
}
@@ -2808,6 +2817,9 @@
if (failoverReplica != null) {
_json["failoverReplica"] = (failoverReplica).toJson();
}
+ if (gceZone != null) {
+ _json["gceZone"] = gceZone;
+ }
if (instanceType != null) {
_json["instanceType"] = instanceType;
}
@@ -3233,8 +3245,8 @@
*/
core.String fileType;
/**
- * The PostgreSQL user to use for this import operation. Defaults to
- * cloudsqlsuperuser. Does not apply to MySQL instances.
+ * The PostgreSQL user for this import operation. Defaults to
+ * cloudsqlsuperuser. Used only for PostgreSQL instances.
*/
core.String importUser;
/** This is always sql#importContext. */
@@ -3476,10 +3488,7 @@
core.List<AclEntry> authorizedNetworks;
/** Whether the instance should be assigned an IP address or not. */
core.bool ipv4Enabled;
- /**
- * Whether the mysqld should default to 'REQUIRE X509' for users connecting
- * over IP.
- */
+ /** Whether SSL connections over IP should be enforced or not. */
core.bool requireSsl;
IpConfiguration();
diff --git a/generated/googleapis_beta/lib/toolresults/v1beta3.dart b/generated/googleapis_beta/lib/toolresults/v1beta3.dart
index c9ed561..bc16359 100644
--- a/generated/googleapis_beta/lib/toolresults/v1beta3.dart
+++ b/generated/googleapis_beta/lib/toolresults/v1beta3.dart
@@ -356,6 +356,7 @@
class ProjectsHistoriesExecutionsResourceApi {
final commons.ApiRequester _requester;
+ ProjectsHistoriesExecutionsClustersResourceApi get clusters => new ProjectsHistoriesExecutionsClustersResourceApi(_requester);
ProjectsHistoriesExecutionsStepsResourceApi get steps => new ProjectsHistoriesExecutionsStepsResourceApi(_requester);
ProjectsHistoriesExecutionsResourceApi(commons.ApiRequester client) :
@@ -638,6 +639,77 @@
}
+class ProjectsHistoriesExecutionsClustersResourceApi {
+ final commons.ApiRequester _requester;
+
+ ProjectsHistoriesExecutionsClustersResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Lists Screenshot Clusters
+ *
+ * Returns the list of screenshot clusters corresponding to an execution.
+ * Screenshot clusters are created after the execution is finished. Clusters
+ * are created from a set of screenshots. Between any two screenshots, a
+ * matching score is calculated based off their metadata that determines how
+ * similar they are. Screenshots are placed in the cluster that has screens
+ * which have the highest matching scores.
+ *
+ * Request parameters:
+ *
+ * [projectId] - A Project id.
+ *
+ * Required.
+ *
+ * [historyId] - A History id.
+ *
+ * Required.
+ *
+ * [executionId] - An Execution id.
+ *
+ * Required.
+ *
+ * Completes with a [ListScreenshotClustersResponse].
+ *
+ * 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<ListScreenshotClustersResponse> list(core.String projectId, core.String historyId, core.String executionId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (projectId == null) {
+ throw new core.ArgumentError("Parameter projectId is required.");
+ }
+ if (historyId == null) {
+ throw new core.ArgumentError("Parameter historyId is required.");
+ }
+ if (executionId == null) {
+ throw new core.ArgumentError("Parameter executionId is required.");
+ }
+
+ _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions/' + commons.Escaper.ecapeVariable('$executionId') + '/clusters';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListScreenshotClustersResponse.fromJson(data));
+ }
+
+}
+
+
class ProjectsHistoriesExecutionsStepsResourceApi {
final commons.ApiRequester _requester;
@@ -1625,6 +1697,224 @@
+/** Android app information. */
+class AndroidAppInfo {
+ /** The name of the app. Optional */
+ core.String name;
+ /** The package name of the app. Required. */
+ core.String packageName;
+ /** The internal version code of the app. Optional. */
+ core.String versionCode;
+ /** The version name of the app. Optional. */
+ core.String versionName;
+
+ AndroidAppInfo();
+
+ AndroidAppInfo.fromJson(core.Map _json) {
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("packageName")) {
+ packageName = _json["packageName"];
+ }
+ if (_json.containsKey("versionCode")) {
+ versionCode = _json["versionCode"];
+ }
+ if (_json.containsKey("versionName")) {
+ versionName = _json["versionName"];
+ }
+ }
+
+ 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 (packageName != null) {
+ _json["packageName"] = packageName;
+ }
+ if (versionCode != null) {
+ _json["versionCode"] = versionCode;
+ }
+ if (versionName != null) {
+ _json["versionName"] = versionName;
+ }
+ return _json;
+ }
+}
+
+/**
+ * A test of an Android application that can control an Android component
+ * independently of its normal lifecycle.
+ *
+ * See for more information on types of Android tests.
+ */
+class AndroidInstrumentationTest {
+ /** The java package for the test to be executed. Required */
+ core.String testPackageId;
+ /** The InstrumentationTestRunner class. Required */
+ core.String testRunnerClass;
+ /**
+ * Each target must be fully qualified with the package name or class name, in
+ * one of these formats: - "package package_name" - "class
+ * package_name.class_name" - "class package_name.class_name#method_name"
+ *
+ * If empty, all targets in the module will be run.
+ */
+ core.List<core.String> testTargets;
+ /**
+ * The flag indicates whether Android Test Orchestrator will be used to run
+ * test or not. Test orchestrator is used if either: - orchestrator_option
+ * field is USE_ORCHESTRATOR, and test runner is compatible with orchestrator.
+ * Or - orchestrator_option field is unspecified or
+ * ORCHESTRATOR_OPTION_UNSPECIFIED, and test runner is compatible with
+ * orchestrator.
+ */
+ core.bool useOrchestrator;
+
+ AndroidInstrumentationTest();
+
+ AndroidInstrumentationTest.fromJson(core.Map _json) {
+ if (_json.containsKey("testPackageId")) {
+ testPackageId = _json["testPackageId"];
+ }
+ if (_json.containsKey("testRunnerClass")) {
+ testRunnerClass = _json["testRunnerClass"];
+ }
+ if (_json.containsKey("testTargets")) {
+ testTargets = _json["testTargets"];
+ }
+ if (_json.containsKey("useOrchestrator")) {
+ useOrchestrator = _json["useOrchestrator"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (testPackageId != null) {
+ _json["testPackageId"] = testPackageId;
+ }
+ if (testRunnerClass != null) {
+ _json["testRunnerClass"] = testRunnerClass;
+ }
+ if (testTargets != null) {
+ _json["testTargets"] = testTargets;
+ }
+ if (useOrchestrator != null) {
+ _json["useOrchestrator"] = useOrchestrator;
+ }
+ return _json;
+ }
+}
+
+/**
+ * A test of an android application that explores the application on a virtual
+ * or physical Android device, finding culprits and crashes as it goes.
+ */
+class AndroidRoboTest {
+ /** The initial activity that should be used to start the app. Optional */
+ core.String appInitialActivity;
+ /** The java package for the bootstrap. Optional */
+ core.String bootstrapPackageId;
+ /** The runner class for the bootstrap. Optional */
+ core.String bootstrapRunnerClass;
+ /** The max depth of the traversal stack Robo can explore. Optional */
+ core.int maxDepth;
+ /**
+ * The max number of steps/actions Robo can execute. Default is no limit (0).
+ * Optional
+ */
+ core.int maxSteps;
+
+ AndroidRoboTest();
+
+ AndroidRoboTest.fromJson(core.Map _json) {
+ if (_json.containsKey("appInitialActivity")) {
+ appInitialActivity = _json["appInitialActivity"];
+ }
+ if (_json.containsKey("bootstrapPackageId")) {
+ bootstrapPackageId = _json["bootstrapPackageId"];
+ }
+ if (_json.containsKey("bootstrapRunnerClass")) {
+ bootstrapRunnerClass = _json["bootstrapRunnerClass"];
+ }
+ if (_json.containsKey("maxDepth")) {
+ maxDepth = _json["maxDepth"];
+ }
+ if (_json.containsKey("maxSteps")) {
+ maxSteps = _json["maxSteps"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (appInitialActivity != null) {
+ _json["appInitialActivity"] = appInitialActivity;
+ }
+ if (bootstrapPackageId != null) {
+ _json["bootstrapPackageId"] = bootstrapPackageId;
+ }
+ if (bootstrapRunnerClass != null) {
+ _json["bootstrapRunnerClass"] = bootstrapRunnerClass;
+ }
+ if (maxDepth != null) {
+ _json["maxDepth"] = maxDepth;
+ }
+ if (maxSteps != null) {
+ _json["maxSteps"] = maxSteps;
+ }
+ return _json;
+ }
+}
+
+/** An Android mobile test specification. */
+class AndroidTest {
+ /** Infomation about the application under test. */
+ AndroidAppInfo androidAppInfo;
+ /** An Android instrumentation test. */
+ AndroidInstrumentationTest androidInstrumentationTest;
+ /** An Android robo test. */
+ AndroidRoboTest androidRoboTest;
+ /**
+ * Max time a test is allowed to run before it is automatically cancelled.
+ */
+ Duration testTimeout;
+
+ AndroidTest();
+
+ AndroidTest.fromJson(core.Map _json) {
+ if (_json.containsKey("androidAppInfo")) {
+ androidAppInfo = new AndroidAppInfo.fromJson(_json["androidAppInfo"]);
+ }
+ if (_json.containsKey("androidInstrumentationTest")) {
+ androidInstrumentationTest = new AndroidInstrumentationTest.fromJson(_json["androidInstrumentationTest"]);
+ }
+ if (_json.containsKey("androidRoboTest")) {
+ androidRoboTest = new AndroidRoboTest.fromJson(_json["androidRoboTest"]);
+ }
+ if (_json.containsKey("testTimeout")) {
+ testTimeout = new Duration.fromJson(_json["testTimeout"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (androidAppInfo != null) {
+ _json["androidAppInfo"] = (androidAppInfo).toJson();
+ }
+ if (androidInstrumentationTest != null) {
+ _json["androidInstrumentationTest"] = (androidInstrumentationTest).toJson();
+ }
+ if (androidRoboTest != null) {
+ _json["androidRoboTest"] = (androidRoboTest).toJson();
+ }
+ if (testTimeout != null) {
+ _json["testTimeout"] = (testTimeout).toJson();
+ }
+ return _json;
+ }
+}
+
/**
* `Any` contains an arbitrary serialized protocol buffer message along with a
* URL that describes the type of the serialized message.
@@ -2059,6 +2349,13 @@
*/
Outcome outcome;
/**
+ * Lightweight information about execution request.
+ *
+ * - In response: present if set by create - In create: optional - In update:
+ * optional
+ */
+ Specification specification;
+ /**
* The initial state is IN_PROGRESS.
*
* The only legal state transitions is from IN_PROGRESS to COMPLETE.
@@ -2104,6 +2401,9 @@
if (_json.containsKey("outcome")) {
outcome = new Outcome.fromJson(_json["outcome"]);
}
+ if (_json.containsKey("specification")) {
+ specification = new Specification.fromJson(_json["specification"]);
+ }
if (_json.containsKey("state")) {
state = _json["state"];
}
@@ -2126,6 +2426,9 @@
if (outcome != null) {
_json["outcome"] = (outcome).toJson();
}
+ if (specification != null) {
+ _json["specification"] = (specification).toJson();
+ }
if (state != null) {
_json["state"] = state;
}
@@ -2514,6 +2817,27 @@
}
}
+class ListScreenshotClustersResponse {
+ /** The set of clustres associated with an execution Always set */
+ core.List<ScreenshotCluster> clusters;
+
+ ListScreenshotClustersResponse();
+
+ ListScreenshotClustersResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("clusters")) {
+ clusters = _json["clusters"].map((value) => new ScreenshotCluster.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 (clusters != null) {
+ _json["clusters"] = clusters.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
/** A response containing the thumbnails in a step. */
class ListStepThumbnailsResponse {
/**
@@ -2979,6 +3303,101 @@
}
}
+class Screen {
+ /** File reference of the png file. Required. */
+ core.String fileReference;
+ /** Locale of the device that the screenshot was taken on. Required. */
+ core.String locale;
+ /** Model of the device that the screenshot was taken on. Required. */
+ core.String model;
+ /** OS version of the device that the screenshot was taken on. Required. */
+ core.String version;
+
+ Screen();
+
+ Screen.fromJson(core.Map _json) {
+ if (_json.containsKey("fileReference")) {
+ fileReference = _json["fileReference"];
+ }
+ if (_json.containsKey("locale")) {
+ locale = _json["locale"];
+ }
+ if (_json.containsKey("model")) {
+ model = _json["model"];
+ }
+ 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 (fileReference != null) {
+ _json["fileReference"] = fileReference;
+ }
+ if (locale != null) {
+ _json["locale"] = locale;
+ }
+ if (model != null) {
+ _json["model"] = model;
+ }
+ if (version != null) {
+ _json["version"] = version;
+ }
+ return _json;
+ }
+}
+
+class ScreenshotCluster {
+ /** A string that describes the activity of every screen in the cluster. */
+ core.String activity;
+ /** A unique identifier for the cluster. */
+ core.String clusterId;
+ /**
+ * A singular screen that represents the cluster as a whole. This screen will
+ * act as the "cover" of the entire cluster. When users look at the clusters,
+ * only the key screen from each cluster will be shown. Which screen is the
+ * key screen is determined by the ClusteringAlgorithm
+ */
+ Screen keyScreen;
+ /** Full list of screens. */
+ core.List<Screen> screens;
+
+ ScreenshotCluster();
+
+ ScreenshotCluster.fromJson(core.Map _json) {
+ if (_json.containsKey("activity")) {
+ activity = _json["activity"];
+ }
+ if (_json.containsKey("clusterId")) {
+ clusterId = _json["clusterId"];
+ }
+ if (_json.containsKey("keyScreen")) {
+ keyScreen = new Screen.fromJson(_json["keyScreen"]);
+ }
+ if (_json.containsKey("screens")) {
+ screens = _json["screens"].map((value) => new Screen.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 (activity != null) {
+ _json["activity"] = activity;
+ }
+ if (clusterId != null) {
+ _json["clusterId"] = clusterId;
+ }
+ if (keyScreen != null) {
+ _json["keyScreen"] = (keyScreen).toJson();
+ }
+ if (screens != null) {
+ _json["screens"] = screens.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
class SkippedDetail {
/** If the App doesn't support the specific API level. */
core.bool incompatibleAppVersion;
@@ -3016,6 +3435,28 @@
}
}
+/** The details about how to run the execution. */
+class Specification {
+ /** An Android mobile test execution specification. */
+ AndroidTest androidTest;
+
+ Specification();
+
+ Specification.fromJson(core.Map _json) {
+ if (_json.containsKey("androidTest")) {
+ androidTest = new AndroidTest.fromJson(_json["androidTest"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (androidTest != null) {
+ _json["androidTest"] = (androidTest).toJson();
+ }
+ return _json;
+ }
+}
+
/** A stacktrace. */
class StackTrace {
/** Exception cluster ID */
@@ -3637,16 +4078,35 @@
}
}
-/** An abnormal event observed during the test execution. */
+/** An issue detected occurring during a test execution. */
class TestIssue {
- /**
- * A brief human-readable message describing the abnormal event.
- *
- * Required.
- */
+ /** A brief human-readable message describing the issue. Required. */
core.String errorMessage;
- /** Optional. */
+ /**
+ * Severity of issue. Required.
+ * Possible string values are:
+ * - "info"
+ * - "severe"
+ * - "unspecifiedSeverity"
+ * - "warning"
+ */
+ core.String severity;
+ /** Deprecated in favor of stack trace fields inside specific warnings. */
StackTrace stackTrace;
+ /**
+ * Type of issue. Required.
+ * Possible string values are:
+ * - "anr"
+ * - "fatalException"
+ * - "nativeCrash"
+ * - "unspecifiedType"
+ */
+ core.String type;
+ /**
+ * Warning message with additional details of the issue. Should always be a
+ * message from com.google.devtools.toolresults.v1.warnings Required.
+ */
+ Any warning;
TestIssue();
@@ -3654,9 +4114,18 @@
if (_json.containsKey("errorMessage")) {
errorMessage = _json["errorMessage"];
}
+ if (_json.containsKey("severity")) {
+ severity = _json["severity"];
+ }
if (_json.containsKey("stackTrace")) {
stackTrace = new StackTrace.fromJson(_json["stackTrace"]);
}
+ if (_json.containsKey("type")) {
+ type = _json["type"];
+ }
+ if (_json.containsKey("warning")) {
+ warning = new Any.fromJson(_json["warning"]);
+ }
}
core.Map<core.String, core.Object> toJson() {
@@ -3664,9 +4133,18 @@
if (errorMessage != null) {
_json["errorMessage"] = errorMessage;
}
+ if (severity != null) {
+ _json["severity"] = severity;
+ }
if (stackTrace != null) {
_json["stackTrace"] = (stackTrace).toJson();
}
+ if (type != null) {
+ _json["type"] = type;
+ }
+ if (warning != null) {
+ _json["warning"] = (warning).toJson();
+ }
return _json;
}
}
diff --git a/generated/googleapis_beta/lib/toolresults/v1beta3firstparty.dart b/generated/googleapis_beta/lib/toolresults/v1beta3firstparty.dart
index 9d055d3..bb09694 100644
--- a/generated/googleapis_beta/lib/toolresults/v1beta3firstparty.dart
+++ b/generated/googleapis_beta/lib/toolresults/v1beta3firstparty.dart
@@ -353,6 +353,7 @@
class ProjectsHistoriesExecutionsResourceApi {
final commons.ApiRequester _requester;
+ ProjectsHistoriesExecutionsClustersResourceApi get clusters => new ProjectsHistoriesExecutionsClustersResourceApi(_requester);
ProjectsHistoriesExecutionsStepsResourceApi get steps => new ProjectsHistoriesExecutionsStepsResourceApi(_requester);
ProjectsHistoriesExecutionsResourceApi(commons.ApiRequester client) :
@@ -635,6 +636,77 @@
}
+class ProjectsHistoriesExecutionsClustersResourceApi {
+ final commons.ApiRequester _requester;
+
+ ProjectsHistoriesExecutionsClustersResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Lists Screenshot Clusters
+ *
+ * Returns the list of screenshot clusters corresponding to an execution.
+ * Screenshot clusters are created after the execution is finished. Clusters
+ * are created from a set of screenshots. Between any two screenshots, a
+ * matching score is calculated based off their metadata that determines how
+ * similar they are. Screenshots are placed in the cluster that has screens
+ * which have the highest matching scores.
+ *
+ * Request parameters:
+ *
+ * [projectId] - A Project id.
+ *
+ * Required.
+ *
+ * [historyId] - A History id.
+ *
+ * Required.
+ *
+ * [executionId] - An Execution id.
+ *
+ * Required.
+ *
+ * Completes with a [ListScreenshotClustersResponse].
+ *
+ * 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<ListScreenshotClustersResponse> list(core.String projectId, core.String historyId, core.String executionId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (projectId == null) {
+ throw new core.ArgumentError("Parameter projectId is required.");
+ }
+ if (historyId == null) {
+ throw new core.ArgumentError("Parameter historyId is required.");
+ }
+ if (executionId == null) {
+ throw new core.ArgumentError("Parameter executionId is required.");
+ }
+
+ _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions/' + commons.Escaper.ecapeVariable('$executionId') + '/clusters';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new ListScreenshotClustersResponse.fromJson(data));
+ }
+
+}
+
+
class ProjectsHistoriesExecutionsStepsResourceApi {
final commons.ApiRequester _requester;
@@ -1622,6 +1694,224 @@
+/** Android app information. */
+class AndroidAppInfo {
+ /** The name of the app. Optional */
+ core.String name;
+ /** The package name of the app. Required. */
+ core.String packageName;
+ /** The internal version code of the app. Optional. */
+ core.String versionCode;
+ /** The version name of the app. Optional. */
+ core.String versionName;
+
+ AndroidAppInfo();
+
+ AndroidAppInfo.fromJson(core.Map _json) {
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("packageName")) {
+ packageName = _json["packageName"];
+ }
+ if (_json.containsKey("versionCode")) {
+ versionCode = _json["versionCode"];
+ }
+ if (_json.containsKey("versionName")) {
+ versionName = _json["versionName"];
+ }
+ }
+
+ 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 (packageName != null) {
+ _json["packageName"] = packageName;
+ }
+ if (versionCode != null) {
+ _json["versionCode"] = versionCode;
+ }
+ if (versionName != null) {
+ _json["versionName"] = versionName;
+ }
+ return _json;
+ }
+}
+
+/**
+ * A test of an Android application that can control an Android component
+ * independently of its normal lifecycle.
+ *
+ * See for more information on types of Android tests.
+ */
+class AndroidInstrumentationTest {
+ /** The java package for the test to be executed. Required */
+ core.String testPackageId;
+ /** The InstrumentationTestRunner class. Required */
+ core.String testRunnerClass;
+ /**
+ * Each target must be fully qualified with the package name or class name, in
+ * one of these formats: - "package package_name" - "class
+ * package_name.class_name" - "class package_name.class_name#method_name"
+ *
+ * If empty, all targets in the module will be run.
+ */
+ core.List<core.String> testTargets;
+ /**
+ * The flag indicates whether Android Test Orchestrator will be used to run
+ * test or not. Test orchestrator is used if either: - orchestrator_option
+ * field is USE_ORCHESTRATOR, and test runner is compatible with orchestrator.
+ * Or - orchestrator_option field is unspecified or
+ * ORCHESTRATOR_OPTION_UNSPECIFIED, and test runner is compatible with
+ * orchestrator.
+ */
+ core.bool useOrchestrator;
+
+ AndroidInstrumentationTest();
+
+ AndroidInstrumentationTest.fromJson(core.Map _json) {
+ if (_json.containsKey("testPackageId")) {
+ testPackageId = _json["testPackageId"];
+ }
+ if (_json.containsKey("testRunnerClass")) {
+ testRunnerClass = _json["testRunnerClass"];
+ }
+ if (_json.containsKey("testTargets")) {
+ testTargets = _json["testTargets"];
+ }
+ if (_json.containsKey("useOrchestrator")) {
+ useOrchestrator = _json["useOrchestrator"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (testPackageId != null) {
+ _json["testPackageId"] = testPackageId;
+ }
+ if (testRunnerClass != null) {
+ _json["testRunnerClass"] = testRunnerClass;
+ }
+ if (testTargets != null) {
+ _json["testTargets"] = testTargets;
+ }
+ if (useOrchestrator != null) {
+ _json["useOrchestrator"] = useOrchestrator;
+ }
+ return _json;
+ }
+}
+
+/**
+ * A test of an android application that explores the application on a virtual
+ * or physical Android device, finding culprits and crashes as it goes.
+ */
+class AndroidRoboTest {
+ /** The initial activity that should be used to start the app. Optional */
+ core.String appInitialActivity;
+ /** The java package for the bootstrap. Optional */
+ core.String bootstrapPackageId;
+ /** The runner class for the bootstrap. Optional */
+ core.String bootstrapRunnerClass;
+ /** The max depth of the traversal stack Robo can explore. Optional */
+ core.int maxDepth;
+ /**
+ * The max number of steps/actions Robo can execute. Default is no limit (0).
+ * Optional
+ */
+ core.int maxSteps;
+
+ AndroidRoboTest();
+
+ AndroidRoboTest.fromJson(core.Map _json) {
+ if (_json.containsKey("appInitialActivity")) {
+ appInitialActivity = _json["appInitialActivity"];
+ }
+ if (_json.containsKey("bootstrapPackageId")) {
+ bootstrapPackageId = _json["bootstrapPackageId"];
+ }
+ if (_json.containsKey("bootstrapRunnerClass")) {
+ bootstrapRunnerClass = _json["bootstrapRunnerClass"];
+ }
+ if (_json.containsKey("maxDepth")) {
+ maxDepth = _json["maxDepth"];
+ }
+ if (_json.containsKey("maxSteps")) {
+ maxSteps = _json["maxSteps"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (appInitialActivity != null) {
+ _json["appInitialActivity"] = appInitialActivity;
+ }
+ if (bootstrapPackageId != null) {
+ _json["bootstrapPackageId"] = bootstrapPackageId;
+ }
+ if (bootstrapRunnerClass != null) {
+ _json["bootstrapRunnerClass"] = bootstrapRunnerClass;
+ }
+ if (maxDepth != null) {
+ _json["maxDepth"] = maxDepth;
+ }
+ if (maxSteps != null) {
+ _json["maxSteps"] = maxSteps;
+ }
+ return _json;
+ }
+}
+
+/** An Android mobile test specification. */
+class AndroidTest {
+ /** Infomation about the application under test. */
+ AndroidAppInfo androidAppInfo;
+ /** An Android instrumentation test. */
+ AndroidInstrumentationTest androidInstrumentationTest;
+ /** An Android robo test. */
+ AndroidRoboTest androidRoboTest;
+ /**
+ * Max time a test is allowed to run before it is automatically cancelled.
+ */
+ Duration testTimeout;
+
+ AndroidTest();
+
+ AndroidTest.fromJson(core.Map _json) {
+ if (_json.containsKey("androidAppInfo")) {
+ androidAppInfo = new AndroidAppInfo.fromJson(_json["androidAppInfo"]);
+ }
+ if (_json.containsKey("androidInstrumentationTest")) {
+ androidInstrumentationTest = new AndroidInstrumentationTest.fromJson(_json["androidInstrumentationTest"]);
+ }
+ if (_json.containsKey("androidRoboTest")) {
+ androidRoboTest = new AndroidRoboTest.fromJson(_json["androidRoboTest"]);
+ }
+ if (_json.containsKey("testTimeout")) {
+ testTimeout = new Duration.fromJson(_json["testTimeout"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (androidAppInfo != null) {
+ _json["androidAppInfo"] = (androidAppInfo).toJson();
+ }
+ if (androidInstrumentationTest != null) {
+ _json["androidInstrumentationTest"] = (androidInstrumentationTest).toJson();
+ }
+ if (androidRoboTest != null) {
+ _json["androidRoboTest"] = (androidRoboTest).toJson();
+ }
+ if (testTimeout != null) {
+ _json["testTimeout"] = (testTimeout).toJson();
+ }
+ return _json;
+ }
+}
+
/**
* `Any` contains an arbitrary serialized protocol buffer message along with a
* URL that describes the type of the serialized message.
@@ -2056,6 +2346,13 @@
*/
Outcome outcome;
/**
+ * Lightweight information about execution request.
+ *
+ * - In response: present if set by create - In create: optional - In update:
+ * optional
+ */
+ Specification specification;
+ /**
* The initial state is IN_PROGRESS.
*
* The only legal state transitions is from IN_PROGRESS to COMPLETE.
@@ -2101,6 +2398,9 @@
if (_json.containsKey("outcome")) {
outcome = new Outcome.fromJson(_json["outcome"]);
}
+ if (_json.containsKey("specification")) {
+ specification = new Specification.fromJson(_json["specification"]);
+ }
if (_json.containsKey("state")) {
state = _json["state"];
}
@@ -2123,6 +2423,9 @@
if (outcome != null) {
_json["outcome"] = (outcome).toJson();
}
+ if (specification != null) {
+ _json["specification"] = (specification).toJson();
+ }
if (state != null) {
_json["state"] = state;
}
@@ -2511,6 +2814,27 @@
}
}
+class ListScreenshotClustersResponse {
+ /** The set of clustres associated with an execution Always set */
+ core.List<ScreenshotCluster> clusters;
+
+ ListScreenshotClustersResponse();
+
+ ListScreenshotClustersResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("clusters")) {
+ clusters = _json["clusters"].map((value) => new ScreenshotCluster.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 (clusters != null) {
+ _json["clusters"] = clusters.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
/** A response containing the thumbnails in a step. */
class ListStepThumbnailsResponse {
/**
@@ -2976,6 +3300,101 @@
}
}
+class Screen {
+ /** File reference of the png file. Required. */
+ core.String fileReference;
+ /** Locale of the device that the screenshot was taken on. Required. */
+ core.String locale;
+ /** Model of the device that the screenshot was taken on. Required. */
+ core.String model;
+ /** OS version of the device that the screenshot was taken on. Required. */
+ core.String version;
+
+ Screen();
+
+ Screen.fromJson(core.Map _json) {
+ if (_json.containsKey("fileReference")) {
+ fileReference = _json["fileReference"];
+ }
+ if (_json.containsKey("locale")) {
+ locale = _json["locale"];
+ }
+ if (_json.containsKey("model")) {
+ model = _json["model"];
+ }
+ 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 (fileReference != null) {
+ _json["fileReference"] = fileReference;
+ }
+ if (locale != null) {
+ _json["locale"] = locale;
+ }
+ if (model != null) {
+ _json["model"] = model;
+ }
+ if (version != null) {
+ _json["version"] = version;
+ }
+ return _json;
+ }
+}
+
+class ScreenshotCluster {
+ /** A string that describes the activity of every screen in the cluster. */
+ core.String activity;
+ /** A unique identifier for the cluster. */
+ core.String clusterId;
+ /**
+ * A singular screen that represents the cluster as a whole. This screen will
+ * act as the "cover" of the entire cluster. When users look at the clusters,
+ * only the key screen from each cluster will be shown. Which screen is the
+ * key screen is determined by the ClusteringAlgorithm
+ */
+ Screen keyScreen;
+ /** Full list of screens. */
+ core.List<Screen> screens;
+
+ ScreenshotCluster();
+
+ ScreenshotCluster.fromJson(core.Map _json) {
+ if (_json.containsKey("activity")) {
+ activity = _json["activity"];
+ }
+ if (_json.containsKey("clusterId")) {
+ clusterId = _json["clusterId"];
+ }
+ if (_json.containsKey("keyScreen")) {
+ keyScreen = new Screen.fromJson(_json["keyScreen"]);
+ }
+ if (_json.containsKey("screens")) {
+ screens = _json["screens"].map((value) => new Screen.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 (activity != null) {
+ _json["activity"] = activity;
+ }
+ if (clusterId != null) {
+ _json["clusterId"] = clusterId;
+ }
+ if (keyScreen != null) {
+ _json["keyScreen"] = (keyScreen).toJson();
+ }
+ if (screens != null) {
+ _json["screens"] = screens.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
class SkippedDetail {
/** If the App doesn't support the specific API level. */
core.bool incompatibleAppVersion;
@@ -3013,6 +3432,28 @@
}
}
+/** The details about how to run the execution. */
+class Specification {
+ /** An Android mobile test execution specification. */
+ AndroidTest androidTest;
+
+ Specification();
+
+ Specification.fromJson(core.Map _json) {
+ if (_json.containsKey("androidTest")) {
+ androidTest = new AndroidTest.fromJson(_json["androidTest"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ if (androidTest != null) {
+ _json["androidTest"] = (androidTest).toJson();
+ }
+ return _json;
+ }
+}
+
/** A stacktrace. */
class StackTrace {
/** Exception cluster ID */
@@ -3634,16 +4075,35 @@
}
}
-/** An abnormal event observed during the test execution. */
+/** An issue detected occurring during a test execution. */
class TestIssue {
- /**
- * A brief human-readable message describing the abnormal event.
- *
- * Required.
- */
+ /** A brief human-readable message describing the issue. Required. */
core.String errorMessage;
- /** Optional. */
+ /**
+ * Severity of issue. Required.
+ * Possible string values are:
+ * - "info"
+ * - "severe"
+ * - "unspecifiedSeverity"
+ * - "warning"
+ */
+ core.String severity;
+ /** Deprecated in favor of stack trace fields inside specific warnings. */
StackTrace stackTrace;
+ /**
+ * Type of issue. Required.
+ * Possible string values are:
+ * - "anr"
+ * - "fatalException"
+ * - "nativeCrash"
+ * - "unspecifiedType"
+ */
+ core.String type;
+ /**
+ * Warning message with additional details of the issue. Should always be a
+ * message from com.google.devtools.toolresults.v1.warnings Required.
+ */
+ Any warning;
TestIssue();
@@ -3651,9 +4111,18 @@
if (_json.containsKey("errorMessage")) {
errorMessage = _json["errorMessage"];
}
+ if (_json.containsKey("severity")) {
+ severity = _json["severity"];
+ }
if (_json.containsKey("stackTrace")) {
stackTrace = new StackTrace.fromJson(_json["stackTrace"]);
}
+ if (_json.containsKey("type")) {
+ type = _json["type"];
+ }
+ if (_json.containsKey("warning")) {
+ warning = new Any.fromJson(_json["warning"]);
+ }
}
core.Map<core.String, core.Object> toJson() {
@@ -3661,9 +4130,18 @@
if (errorMessage != null) {
_json["errorMessage"] = errorMessage;
}
+ if (severity != null) {
+ _json["severity"] = severity;
+ }
if (stackTrace != null) {
_json["stackTrace"] = (stackTrace).toJson();
}
+ if (type != null) {
+ _json["type"] = type;
+ }
+ if (warning != null) {
+ _json["warning"] = (warning).toJson();
+ }
return _json;
}
}
diff --git a/generated/googleapis_beta/pubspec.yaml b/generated/googleapis_beta/pubspec.yaml
index 088fa3d..322f3fa 100644
--- a/generated/googleapis_beta/pubspec.yaml
+++ b/generated/googleapis_beta/pubspec.yaml
@@ -1,5 +1,5 @@
name: googleapis_beta
-version: 0.38.0
+version: 0.39.1
author: Dart Team <misc@dartlang.org>
description: "Auto-generated client libraries for accessing the following APIs:adexchangebuyer2:v2beta1, appengine:v1beta, appengine:v1beta4, appengine:v1beta5, clouderrorreporting:v1beta1, cloudmonitoring:v2beta2, cloudresourcemanager:v1beta1, clouduseraccounts:beta, dataflow:v1b3, dlp:v2beta1, dns:v2beta1, language:v1beta1, language:v1beta2, logging:v2beta1, oslogin:v1alpha, proximitybeacon:v1beta1, pubsub:v1beta2, replicapool:v1beta2, replicapoolupdater:v1beta1, resourceviews:v1beta1, resourceviews:v1beta2, runtimeconfig:v1beta1, speech:v1beta1, sqladmin:v1beta3, sqladmin:v1beta4, taskqueue:v1beta2, toolresults:v1beta3, toolresults:v1beta3firstparty, videointelligence:v1beta1"
homepage: http://www.dartlang.org/googleapis/
diff --git a/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart b/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart
index 96b3607..c26515c 100644
--- a/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart
+++ b/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart
@@ -91,14 +91,14 @@
buildCounterAddDealAssociationRequest--;
}
-buildUnnamed3532() {
+buildUnnamed3564() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3532(core.List<core.String> o) {
+checkUnnamed3564(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -109,7 +109,7 @@
var o = new api.AppContext();
buildCounterAppContext++;
if (buildCounterAppContext < 3) {
- o.appTypes = buildUnnamed3532();
+ o.appTypes = buildUnnamed3564();
}
buildCounterAppContext--;
return o;
@@ -118,19 +118,19 @@
checkAppContext(api.AppContext o) {
buildCounterAppContext++;
if (buildCounterAppContext < 3) {
- checkUnnamed3532(o.appTypes);
+ checkUnnamed3564(o.appTypes);
}
buildCounterAppContext--;
}
-buildUnnamed3533() {
+buildUnnamed3565() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3533(core.List<core.String> o) {
+checkUnnamed3565(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -141,7 +141,7 @@
var o = new api.AuctionContext();
buildCounterAuctionContext++;
if (buildCounterAuctionContext < 3) {
- o.auctionTypes = buildUnnamed3533();
+ o.auctionTypes = buildUnnamed3565();
}
buildCounterAuctionContext--;
return o;
@@ -150,7 +150,7 @@
checkAuctionContext(api.AuctionContext o) {
buildCounterAuctionContext++;
if (buildCounterAuctionContext < 3) {
- checkUnnamed3533(o.auctionTypes);
+ checkUnnamed3565(o.auctionTypes);
}
buildCounterAuctionContext--;
}
@@ -313,27 +313,27 @@
buildCounterClientUserInvitation--;
}
-buildUnnamed3534() {
+buildUnnamed3566() {
var o = new core.List<api.ServingContext>();
o.add(buildServingContext());
o.add(buildServingContext());
return o;
}
-checkUnnamed3534(core.List<api.ServingContext> o) {
+checkUnnamed3566(core.List<api.ServingContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkServingContext(o[0]);
checkServingContext(o[1]);
}
-buildUnnamed3535() {
+buildUnnamed3567() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3535(core.List<core.String> o) {
+checkUnnamed3567(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -344,8 +344,8 @@
var o = new api.Correction();
buildCounterCorrection++;
if (buildCounterCorrection < 3) {
- o.contexts = buildUnnamed3534();
- o.details = buildUnnamed3535();
+ o.contexts = buildUnnamed3566();
+ o.details = buildUnnamed3567();
o.type = "foo";
}
buildCounterCorrection--;
@@ -355,164 +355,164 @@
checkCorrection(api.Correction o) {
buildCounterCorrection++;
if (buildCounterCorrection < 3) {
- checkUnnamed3534(o.contexts);
- checkUnnamed3535(o.details);
+ checkUnnamed3566(o.contexts);
+ checkUnnamed3567(o.details);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterCorrection--;
}
-buildUnnamed3536() {
+buildUnnamed3568() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3536(core.List<core.String> o) {
+checkUnnamed3568(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3537() {
+buildUnnamed3569() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3537(core.List<core.String> o) {
+checkUnnamed3569(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3538() {
+buildUnnamed3570() {
var o = new core.List<api.Correction>();
o.add(buildCorrection());
o.add(buildCorrection());
return o;
}
-checkUnnamed3538(core.List<api.Correction> o) {
+checkUnnamed3570(core.List<api.Correction> o) {
unittest.expect(o, unittest.hasLength(2));
checkCorrection(o[0]);
checkCorrection(o[1]);
}
-buildUnnamed3539() {
+buildUnnamed3571() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3539(core.List<core.String> o) {
+checkUnnamed3571(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3540() {
+buildUnnamed3572() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3540(core.List<core.String> o) {
+checkUnnamed3572(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3541() {
+buildUnnamed3573() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3541(core.List<core.String> o) {
+checkUnnamed3573(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3542() {
+buildUnnamed3574() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed3542(core.List<core.int> o) {
+checkUnnamed3574(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));
}
-buildUnnamed3543() {
+buildUnnamed3575() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed3543(core.List<core.int> o) {
+checkUnnamed3575(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));
}
-buildUnnamed3544() {
+buildUnnamed3576() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3544(core.List<core.String> o) {
+checkUnnamed3576(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3545() {
+buildUnnamed3577() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3545(core.List<core.String> 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'));
}
-buildUnnamed3546() {
+buildUnnamed3578() {
var o = new core.List<api.ServingRestriction>();
o.add(buildServingRestriction());
o.add(buildServingRestriction());
return o;
}
-checkUnnamed3546(core.List<api.ServingRestriction> o) {
+checkUnnamed3578(core.List<api.ServingRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkServingRestriction(o[0]);
checkServingRestriction(o[1]);
}
-buildUnnamed3547() {
+buildUnnamed3579() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed3547(core.List<core.int> o) {
+checkUnnamed3579(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));
@@ -528,24 +528,24 @@
o.advertiserName = "foo";
o.agencyId = "foo";
o.apiUpdateTime = "foo";
- o.attributes = buildUnnamed3536();
- o.clickThroughUrls = buildUnnamed3537();
- o.corrections = buildUnnamed3538();
+ o.attributes = buildUnnamed3568();
+ o.clickThroughUrls = buildUnnamed3569();
+ o.corrections = buildUnnamed3570();
o.creativeId = "foo";
o.dealsStatus = "foo";
- o.detectedAdvertiserIds = buildUnnamed3539();
- o.detectedDomains = buildUnnamed3540();
- o.detectedLanguages = buildUnnamed3541();
- o.detectedProductCategories = buildUnnamed3542();
- o.detectedSensitiveCategories = buildUnnamed3543();
+ o.detectedAdvertiserIds = buildUnnamed3571();
+ o.detectedDomains = buildUnnamed3572();
+ o.detectedLanguages = buildUnnamed3573();
+ o.detectedProductCategories = buildUnnamed3574();
+ o.detectedSensitiveCategories = buildUnnamed3575();
o.filteringStats = buildFilteringStats();
o.html = buildHtmlContent();
- o.impressionTrackingUrls = buildUnnamed3544();
+ o.impressionTrackingUrls = buildUnnamed3576();
o.native = buildNativeContent();
o.openAuctionStatus = "foo";
- o.restrictedCategories = buildUnnamed3545();
- o.servingRestrictions = buildUnnamed3546();
- o.vendorIds = buildUnnamed3547();
+ o.restrictedCategories = buildUnnamed3577();
+ o.servingRestrictions = buildUnnamed3578();
+ o.vendorIds = buildUnnamed3579();
o.version = 42;
o.video = buildVideoContent();
}
@@ -561,24 +561,24 @@
unittest.expect(o.advertiserName, unittest.equals('foo'));
unittest.expect(o.agencyId, unittest.equals('foo'));
unittest.expect(o.apiUpdateTime, unittest.equals('foo'));
- checkUnnamed3536(o.attributes);
- checkUnnamed3537(o.clickThroughUrls);
- checkUnnamed3538(o.corrections);
+ checkUnnamed3568(o.attributes);
+ checkUnnamed3569(o.clickThroughUrls);
+ checkUnnamed3570(o.corrections);
unittest.expect(o.creativeId, unittest.equals('foo'));
unittest.expect(o.dealsStatus, unittest.equals('foo'));
- checkUnnamed3539(o.detectedAdvertiserIds);
- checkUnnamed3540(o.detectedDomains);
- checkUnnamed3541(o.detectedLanguages);
- checkUnnamed3542(o.detectedProductCategories);
- checkUnnamed3543(o.detectedSensitiveCategories);
+ checkUnnamed3571(o.detectedAdvertiserIds);
+ checkUnnamed3572(o.detectedDomains);
+ checkUnnamed3573(o.detectedLanguages);
+ checkUnnamed3574(o.detectedProductCategories);
+ checkUnnamed3575(o.detectedSensitiveCategories);
checkFilteringStats(o.filteringStats);
checkHtmlContent(o.html);
- checkUnnamed3544(o.impressionTrackingUrls);
+ checkUnnamed3576(o.impressionTrackingUrls);
checkNativeContent(o.native);
unittest.expect(o.openAuctionStatus, unittest.equals('foo'));
- checkUnnamed3545(o.restrictedCategories);
- checkUnnamed3546(o.servingRestrictions);
- checkUnnamed3547(o.vendorIds);
+ checkUnnamed3577(o.restrictedCategories);
+ checkUnnamed3578(o.servingRestrictions);
+ checkUnnamed3579(o.vendorIds);
unittest.expect(o.version, unittest.equals(42));
checkVideoContent(o.video);
}
@@ -654,14 +654,14 @@
buildCounterDate--;
}
-buildUnnamed3548() {
+buildUnnamed3580() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3548(core.List<core.String> 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'));
@@ -672,7 +672,7 @@
var o = new api.Disapproval();
buildCounterDisapproval++;
if (buildCounterDisapproval < 3) {
- o.details = buildUnnamed3548();
+ o.details = buildUnnamed3580();
o.reason = "foo";
}
buildCounterDisapproval--;
@@ -682,7 +682,7 @@
checkDisapproval(api.Disapproval o) {
buildCounterDisapproval++;
if (buildCounterDisapproval < 3) {
- checkUnnamed3548(o.details);
+ checkUnnamed3580(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterDisapproval--;
@@ -705,27 +705,27 @@
buildCounterEmpty--;
}
-buildUnnamed3549() {
+buildUnnamed3581() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3549(core.List<core.String> o) {
+checkUnnamed3581(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3550() {
+buildUnnamed3582() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed3550(core.List<core.int> o) {
+checkUnnamed3582(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));
@@ -744,10 +744,10 @@
o.filterSetId = "foo";
o.format = "foo";
o.ownerAccountId = "foo";
- o.platforms = buildUnnamed3549();
+ o.platforms = buildUnnamed3581();
o.realtimeTimeRange = buildRealtimeTimeRange();
o.relativeDateRange = buildRelativeDateRange();
- o.sellerNetworkIds = buildUnnamed3550();
+ o.sellerNetworkIds = buildUnnamed3582();
o.timeSeriesGranularity = "foo";
}
buildCounterFilterSet--;
@@ -765,10 +765,10 @@
unittest.expect(o.filterSetId, unittest.equals('foo'));
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.ownerAccountId, unittest.equals('foo'));
- checkUnnamed3549(o.platforms);
+ checkUnnamed3581(o.platforms);
checkRealtimeTimeRange(o.realtimeTimeRange);
checkRelativeDateRange(o.relativeDateRange);
- checkUnnamed3550(o.sellerNetworkIds);
+ checkUnnamed3582(o.sellerNetworkIds);
unittest.expect(o.timeSeriesGranularity, unittest.equals('foo'));
}
buildCounterFilterSet--;
@@ -820,14 +820,14 @@
buildCounterFilteredBidDetailRow--;
}
-buildUnnamed3551() {
+buildUnnamed3583() {
var o = new core.List<api.Reason>();
o.add(buildReason());
o.add(buildReason());
return o;
}
-checkUnnamed3551(core.List<api.Reason> o) {
+checkUnnamed3583(core.List<api.Reason> o) {
unittest.expect(o, unittest.hasLength(2));
checkReason(o[0]);
checkReason(o[1]);
@@ -839,7 +839,7 @@
buildCounterFilteringStats++;
if (buildCounterFilteringStats < 3) {
o.date = buildDate();
- o.reasons = buildUnnamed3551();
+ o.reasons = buildUnnamed3583();
}
buildCounterFilteringStats--;
return o;
@@ -849,7 +849,7 @@
buildCounterFilteringStats++;
if (buildCounterFilteringStats < 3) {
checkDate(o.date);
- checkUnnamed3551(o.reasons);
+ checkUnnamed3583(o.reasons);
}
buildCounterFilteringStats--;
}
@@ -929,14 +929,14 @@
buildCounterImpressionMetricsRow--;
}
-buildUnnamed3552() {
+buildUnnamed3584() {
var o = new core.List<api.BidMetricsRow>();
o.add(buildBidMetricsRow());
o.add(buildBidMetricsRow());
return o;
}
-checkUnnamed3552(core.List<api.BidMetricsRow> o) {
+checkUnnamed3584(core.List<api.BidMetricsRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkBidMetricsRow(o[0]);
checkBidMetricsRow(o[1]);
@@ -947,7 +947,7 @@
var o = new api.ListBidMetricsResponse();
buildCounterListBidMetricsResponse++;
if (buildCounterListBidMetricsResponse < 3) {
- o.bidMetricsRows = buildUnnamed3552();
+ o.bidMetricsRows = buildUnnamed3584();
o.nextPageToken = "foo";
}
buildCounterListBidMetricsResponse--;
@@ -957,20 +957,20 @@
checkListBidMetricsResponse(api.ListBidMetricsResponse o) {
buildCounterListBidMetricsResponse++;
if (buildCounterListBidMetricsResponse < 3) {
- checkUnnamed3552(o.bidMetricsRows);
+ checkUnnamed3584(o.bidMetricsRows);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListBidMetricsResponse--;
}
-buildUnnamed3553() {
+buildUnnamed3585() {
var o = new core.List<api.CalloutStatusRow>();
o.add(buildCalloutStatusRow());
o.add(buildCalloutStatusRow());
return o;
}
-checkUnnamed3553(core.List<api.CalloutStatusRow> o) {
+checkUnnamed3585(core.List<api.CalloutStatusRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkCalloutStatusRow(o[0]);
checkCalloutStatusRow(o[1]);
@@ -981,7 +981,7 @@
var o = new api.ListBidResponseErrorsResponse();
buildCounterListBidResponseErrorsResponse++;
if (buildCounterListBidResponseErrorsResponse < 3) {
- o.calloutStatusRows = buildUnnamed3553();
+ o.calloutStatusRows = buildUnnamed3585();
o.nextPageToken = "foo";
}
buildCounterListBidResponseErrorsResponse--;
@@ -991,20 +991,20 @@
checkListBidResponseErrorsResponse(api.ListBidResponseErrorsResponse o) {
buildCounterListBidResponseErrorsResponse++;
if (buildCounterListBidResponseErrorsResponse < 3) {
- checkUnnamed3553(o.calloutStatusRows);
+ checkUnnamed3585(o.calloutStatusRows);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListBidResponseErrorsResponse--;
}
-buildUnnamed3554() {
+buildUnnamed3586() {
var o = new core.List<api.BidResponseWithoutBidsStatusRow>();
o.add(buildBidResponseWithoutBidsStatusRow());
o.add(buildBidResponseWithoutBidsStatusRow());
return o;
}
-checkUnnamed3554(core.List<api.BidResponseWithoutBidsStatusRow> o) {
+checkUnnamed3586(core.List<api.BidResponseWithoutBidsStatusRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkBidResponseWithoutBidsStatusRow(o[0]);
checkBidResponseWithoutBidsStatusRow(o[1]);
@@ -1015,7 +1015,7 @@
var o = new api.ListBidResponsesWithoutBidsResponse();
buildCounterListBidResponsesWithoutBidsResponse++;
if (buildCounterListBidResponsesWithoutBidsResponse < 3) {
- o.bidResponseWithoutBidsStatusRows = buildUnnamed3554();
+ o.bidResponseWithoutBidsStatusRows = buildUnnamed3586();
o.nextPageToken = "foo";
}
buildCounterListBidResponsesWithoutBidsResponse--;
@@ -1025,20 +1025,20 @@
checkListBidResponsesWithoutBidsResponse(api.ListBidResponsesWithoutBidsResponse o) {
buildCounterListBidResponsesWithoutBidsResponse++;
if (buildCounterListBidResponsesWithoutBidsResponse < 3) {
- checkUnnamed3554(o.bidResponseWithoutBidsStatusRows);
+ checkUnnamed3586(o.bidResponseWithoutBidsStatusRows);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListBidResponsesWithoutBidsResponse--;
}
-buildUnnamed3555() {
+buildUnnamed3587() {
var o = new core.List<api.ClientUserInvitation>();
o.add(buildClientUserInvitation());
o.add(buildClientUserInvitation());
return o;
}
-checkUnnamed3555(core.List<api.ClientUserInvitation> o) {
+checkUnnamed3587(core.List<api.ClientUserInvitation> o) {
unittest.expect(o, unittest.hasLength(2));
checkClientUserInvitation(o[0]);
checkClientUserInvitation(o[1]);
@@ -1049,7 +1049,7 @@
var o = new api.ListClientUserInvitationsResponse();
buildCounterListClientUserInvitationsResponse++;
if (buildCounterListClientUserInvitationsResponse < 3) {
- o.invitations = buildUnnamed3555();
+ o.invitations = buildUnnamed3587();
o.nextPageToken = "foo";
}
buildCounterListClientUserInvitationsResponse--;
@@ -1059,20 +1059,20 @@
checkListClientUserInvitationsResponse(api.ListClientUserInvitationsResponse o) {
buildCounterListClientUserInvitationsResponse++;
if (buildCounterListClientUserInvitationsResponse < 3) {
- checkUnnamed3555(o.invitations);
+ checkUnnamed3587(o.invitations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListClientUserInvitationsResponse--;
}
-buildUnnamed3556() {
+buildUnnamed3588() {
var o = new core.List<api.ClientUser>();
o.add(buildClientUser());
o.add(buildClientUser());
return o;
}
-checkUnnamed3556(core.List<api.ClientUser> o) {
+checkUnnamed3588(core.List<api.ClientUser> o) {
unittest.expect(o, unittest.hasLength(2));
checkClientUser(o[0]);
checkClientUser(o[1]);
@@ -1084,7 +1084,7 @@
buildCounterListClientUsersResponse++;
if (buildCounterListClientUsersResponse < 3) {
o.nextPageToken = "foo";
- o.users = buildUnnamed3556();
+ o.users = buildUnnamed3588();
}
buildCounterListClientUsersResponse--;
return o;
@@ -1094,19 +1094,19 @@
buildCounterListClientUsersResponse++;
if (buildCounterListClientUsersResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3556(o.users);
+ checkUnnamed3588(o.users);
}
buildCounterListClientUsersResponse--;
}
-buildUnnamed3557() {
+buildUnnamed3589() {
var o = new core.List<api.Client>();
o.add(buildClient());
o.add(buildClient());
return o;
}
-checkUnnamed3557(core.List<api.Client> o) {
+checkUnnamed3589(core.List<api.Client> o) {
unittest.expect(o, unittest.hasLength(2));
checkClient(o[0]);
checkClient(o[1]);
@@ -1117,7 +1117,7 @@
var o = new api.ListClientsResponse();
buildCounterListClientsResponse++;
if (buildCounterListClientsResponse < 3) {
- o.clients = buildUnnamed3557();
+ o.clients = buildUnnamed3589();
o.nextPageToken = "foo";
}
buildCounterListClientsResponse--;
@@ -1127,20 +1127,20 @@
checkListClientsResponse(api.ListClientsResponse o) {
buildCounterListClientsResponse++;
if (buildCounterListClientsResponse < 3) {
- checkUnnamed3557(o.clients);
+ checkUnnamed3589(o.clients);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListClientsResponse--;
}
-buildUnnamed3558() {
+buildUnnamed3590() {
var o = new core.List<api.FilteredBidCreativeRow>();
o.add(buildFilteredBidCreativeRow());
o.add(buildFilteredBidCreativeRow());
return o;
}
-checkUnnamed3558(core.List<api.FilteredBidCreativeRow> o) {
+checkUnnamed3590(core.List<api.FilteredBidCreativeRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilteredBidCreativeRow(o[0]);
checkFilteredBidCreativeRow(o[1]);
@@ -1151,7 +1151,7 @@
var o = new api.ListCreativeStatusBreakdownByCreativeResponse();
buildCounterListCreativeStatusBreakdownByCreativeResponse++;
if (buildCounterListCreativeStatusBreakdownByCreativeResponse < 3) {
- o.filteredBidCreativeRows = buildUnnamed3558();
+ o.filteredBidCreativeRows = buildUnnamed3590();
o.nextPageToken = "foo";
}
buildCounterListCreativeStatusBreakdownByCreativeResponse--;
@@ -1161,20 +1161,20 @@
checkListCreativeStatusBreakdownByCreativeResponse(api.ListCreativeStatusBreakdownByCreativeResponse o) {
buildCounterListCreativeStatusBreakdownByCreativeResponse++;
if (buildCounterListCreativeStatusBreakdownByCreativeResponse < 3) {
- checkUnnamed3558(o.filteredBidCreativeRows);
+ checkUnnamed3590(o.filteredBidCreativeRows);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCreativeStatusBreakdownByCreativeResponse--;
}
-buildUnnamed3559() {
+buildUnnamed3591() {
var o = new core.List<api.FilteredBidDetailRow>();
o.add(buildFilteredBidDetailRow());
o.add(buildFilteredBidDetailRow());
return o;
}
-checkUnnamed3559(core.List<api.FilteredBidDetailRow> o) {
+checkUnnamed3591(core.List<api.FilteredBidDetailRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilteredBidDetailRow(o[0]);
checkFilteredBidDetailRow(o[1]);
@@ -1186,7 +1186,7 @@
buildCounterListCreativeStatusBreakdownByDetailResponse++;
if (buildCounterListCreativeStatusBreakdownByDetailResponse < 3) {
o.detailType = "foo";
- o.filteredBidDetailRows = buildUnnamed3559();
+ o.filteredBidDetailRows = buildUnnamed3591();
o.nextPageToken = "foo";
}
buildCounterListCreativeStatusBreakdownByDetailResponse--;
@@ -1197,20 +1197,20 @@
buildCounterListCreativeStatusBreakdownByDetailResponse++;
if (buildCounterListCreativeStatusBreakdownByDetailResponse < 3) {
unittest.expect(o.detailType, unittest.equals('foo'));
- checkUnnamed3559(o.filteredBidDetailRows);
+ checkUnnamed3591(o.filteredBidDetailRows);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCreativeStatusBreakdownByDetailResponse--;
}
-buildUnnamed3560() {
+buildUnnamed3592() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed3560(core.List<api.Creative> o) {
+checkUnnamed3592(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -1221,7 +1221,7 @@
var o = new api.ListCreativesResponse();
buildCounterListCreativesResponse++;
if (buildCounterListCreativesResponse < 3) {
- o.creatives = buildUnnamed3560();
+ o.creatives = buildUnnamed3592();
o.nextPageToken = "foo";
}
buildCounterListCreativesResponse--;
@@ -1231,20 +1231,20 @@
checkListCreativesResponse(api.ListCreativesResponse o) {
buildCounterListCreativesResponse++;
if (buildCounterListCreativesResponse < 3) {
- checkUnnamed3560(o.creatives);
+ checkUnnamed3592(o.creatives);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCreativesResponse--;
}
-buildUnnamed3561() {
+buildUnnamed3593() {
var o = new core.List<api.CreativeDealAssociation>();
o.add(buildCreativeDealAssociation());
o.add(buildCreativeDealAssociation());
return o;
}
-checkUnnamed3561(core.List<api.CreativeDealAssociation> o) {
+checkUnnamed3593(core.List<api.CreativeDealAssociation> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeDealAssociation(o[0]);
checkCreativeDealAssociation(o[1]);
@@ -1255,7 +1255,7 @@
var o = new api.ListDealAssociationsResponse();
buildCounterListDealAssociationsResponse++;
if (buildCounterListDealAssociationsResponse < 3) {
- o.associations = buildUnnamed3561();
+ o.associations = buildUnnamed3593();
o.nextPageToken = "foo";
}
buildCounterListDealAssociationsResponse--;
@@ -1265,20 +1265,20 @@
checkListDealAssociationsResponse(api.ListDealAssociationsResponse o) {
buildCounterListDealAssociationsResponse++;
if (buildCounterListDealAssociationsResponse < 3) {
- checkUnnamed3561(o.associations);
+ checkUnnamed3593(o.associations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDealAssociationsResponse--;
}
-buildUnnamed3562() {
+buildUnnamed3594() {
var o = new core.List<api.FilterSet>();
o.add(buildFilterSet());
o.add(buildFilterSet());
return o;
}
-checkUnnamed3562(core.List<api.FilterSet> o) {
+checkUnnamed3594(core.List<api.FilterSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilterSet(o[0]);
checkFilterSet(o[1]);
@@ -1289,7 +1289,7 @@
var o = new api.ListFilterSetsResponse();
buildCounterListFilterSetsResponse++;
if (buildCounterListFilterSetsResponse < 3) {
- o.filterSets = buildUnnamed3562();
+ o.filterSets = buildUnnamed3594();
o.nextPageToken = "foo";
}
buildCounterListFilterSetsResponse--;
@@ -1299,20 +1299,20 @@
checkListFilterSetsResponse(api.ListFilterSetsResponse o) {
buildCounterListFilterSetsResponse++;
if (buildCounterListFilterSetsResponse < 3) {
- checkUnnamed3562(o.filterSets);
+ checkUnnamed3594(o.filterSets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListFilterSetsResponse--;
}
-buildUnnamed3563() {
+buildUnnamed3595() {
var o = new core.List<api.CalloutStatusRow>();
o.add(buildCalloutStatusRow());
o.add(buildCalloutStatusRow());
return o;
}
-checkUnnamed3563(core.List<api.CalloutStatusRow> o) {
+checkUnnamed3595(core.List<api.CalloutStatusRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkCalloutStatusRow(o[0]);
checkCalloutStatusRow(o[1]);
@@ -1323,7 +1323,7 @@
var o = new api.ListFilteredBidRequestsResponse();
buildCounterListFilteredBidRequestsResponse++;
if (buildCounterListFilteredBidRequestsResponse < 3) {
- o.calloutStatusRows = buildUnnamed3563();
+ o.calloutStatusRows = buildUnnamed3595();
o.nextPageToken = "foo";
}
buildCounterListFilteredBidRequestsResponse--;
@@ -1333,20 +1333,20 @@
checkListFilteredBidRequestsResponse(api.ListFilteredBidRequestsResponse o) {
buildCounterListFilteredBidRequestsResponse++;
if (buildCounterListFilteredBidRequestsResponse < 3) {
- checkUnnamed3563(o.calloutStatusRows);
+ checkUnnamed3595(o.calloutStatusRows);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListFilteredBidRequestsResponse--;
}
-buildUnnamed3564() {
+buildUnnamed3596() {
var o = new core.List<api.CreativeStatusRow>();
o.add(buildCreativeStatusRow());
o.add(buildCreativeStatusRow());
return o;
}
-checkUnnamed3564(core.List<api.CreativeStatusRow> o) {
+checkUnnamed3596(core.List<api.CreativeStatusRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeStatusRow(o[0]);
checkCreativeStatusRow(o[1]);
@@ -1357,7 +1357,7 @@
var o = new api.ListFilteredBidsResponse();
buildCounterListFilteredBidsResponse++;
if (buildCounterListFilteredBidsResponse < 3) {
- o.creativeStatusRows = buildUnnamed3564();
+ o.creativeStatusRows = buildUnnamed3596();
o.nextPageToken = "foo";
}
buildCounterListFilteredBidsResponse--;
@@ -1367,20 +1367,20 @@
checkListFilteredBidsResponse(api.ListFilteredBidsResponse o) {
buildCounterListFilteredBidsResponse++;
if (buildCounterListFilteredBidsResponse < 3) {
- checkUnnamed3564(o.creativeStatusRows);
+ checkUnnamed3596(o.creativeStatusRows);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListFilteredBidsResponse--;
}
-buildUnnamed3565() {
+buildUnnamed3597() {
var o = new core.List<api.ImpressionMetricsRow>();
o.add(buildImpressionMetricsRow());
o.add(buildImpressionMetricsRow());
return o;
}
-checkUnnamed3565(core.List<api.ImpressionMetricsRow> o) {
+checkUnnamed3597(core.List<api.ImpressionMetricsRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkImpressionMetricsRow(o[0]);
checkImpressionMetricsRow(o[1]);
@@ -1391,7 +1391,7 @@
var o = new api.ListImpressionMetricsResponse();
buildCounterListImpressionMetricsResponse++;
if (buildCounterListImpressionMetricsResponse < 3) {
- o.impressionMetricsRows = buildUnnamed3565();
+ o.impressionMetricsRows = buildUnnamed3597();
o.nextPageToken = "foo";
}
buildCounterListImpressionMetricsResponse--;
@@ -1401,20 +1401,20 @@
checkListImpressionMetricsResponse(api.ListImpressionMetricsResponse o) {
buildCounterListImpressionMetricsResponse++;
if (buildCounterListImpressionMetricsResponse < 3) {
- checkUnnamed3565(o.impressionMetricsRows);
+ checkUnnamed3597(o.impressionMetricsRows);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListImpressionMetricsResponse--;
}
-buildUnnamed3566() {
+buildUnnamed3598() {
var o = new core.List<api.CreativeStatusRow>();
o.add(buildCreativeStatusRow());
o.add(buildCreativeStatusRow());
return o;
}
-checkUnnamed3566(core.List<api.CreativeStatusRow> o) {
+checkUnnamed3598(core.List<api.CreativeStatusRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeStatusRow(o[0]);
checkCreativeStatusRow(o[1]);
@@ -1425,7 +1425,7 @@
var o = new api.ListLosingBidsResponse();
buildCounterListLosingBidsResponse++;
if (buildCounterListLosingBidsResponse < 3) {
- o.creativeStatusRows = buildUnnamed3566();
+ o.creativeStatusRows = buildUnnamed3598();
o.nextPageToken = "foo";
}
buildCounterListLosingBidsResponse--;
@@ -1435,20 +1435,20 @@
checkListLosingBidsResponse(api.ListLosingBidsResponse o) {
buildCounterListLosingBidsResponse++;
if (buildCounterListLosingBidsResponse < 3) {
- checkUnnamed3566(o.creativeStatusRows);
+ checkUnnamed3598(o.creativeStatusRows);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLosingBidsResponse--;
}
-buildUnnamed3567() {
+buildUnnamed3599() {
var o = new core.List<api.NonBillableWinningBidStatusRow>();
o.add(buildNonBillableWinningBidStatusRow());
o.add(buildNonBillableWinningBidStatusRow());
return o;
}
-checkUnnamed3567(core.List<api.NonBillableWinningBidStatusRow> o) {
+checkUnnamed3599(core.List<api.NonBillableWinningBidStatusRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkNonBillableWinningBidStatusRow(o[0]);
checkNonBillableWinningBidStatusRow(o[1]);
@@ -1460,7 +1460,7 @@
buildCounterListNonBillableWinningBidsResponse++;
if (buildCounterListNonBillableWinningBidsResponse < 3) {
o.nextPageToken = "foo";
- o.nonBillableWinningBidStatusRows = buildUnnamed3567();
+ o.nonBillableWinningBidStatusRows = buildUnnamed3599();
}
buildCounterListNonBillableWinningBidsResponse--;
return o;
@@ -1470,19 +1470,19 @@
buildCounterListNonBillableWinningBidsResponse++;
if (buildCounterListNonBillableWinningBidsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3567(o.nonBillableWinningBidStatusRows);
+ checkUnnamed3599(o.nonBillableWinningBidStatusRows);
}
buildCounterListNonBillableWinningBidsResponse--;
}
-buildUnnamed3568() {
+buildUnnamed3600() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed3568(core.List<core.int> o) {
+checkUnnamed3600(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));
@@ -1493,7 +1493,7 @@
var o = new api.LocationContext();
buildCounterLocationContext++;
if (buildCounterLocationContext < 3) {
- o.geoCriteriaIds = buildUnnamed3568();
+ o.geoCriteriaIds = buildUnnamed3600();
}
buildCounterLocationContext--;
return o;
@@ -1502,7 +1502,7 @@
checkLocationContext(api.LocationContext o) {
buildCounterLocationContext++;
if (buildCounterLocationContext < 3) {
- checkUnnamed3568(o.geoCriteriaIds);
+ checkUnnamed3600(o.geoCriteriaIds);
}
buildCounterLocationContext--;
}
@@ -1594,14 +1594,14 @@
buildCounterNonBillableWinningBidStatusRow--;
}
-buildUnnamed3569() {
+buildUnnamed3601() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3569(core.List<core.String> o) {
+checkUnnamed3601(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1612,7 +1612,7 @@
var o = new api.PlatformContext();
buildCounterPlatformContext++;
if (buildCounterPlatformContext < 3) {
- o.platforms = buildUnnamed3569();
+ o.platforms = buildUnnamed3601();
}
buildCounterPlatformContext--;
return o;
@@ -1621,7 +1621,7 @@
checkPlatformContext(api.PlatformContext o) {
buildCounterPlatformContext++;
if (buildCounterPlatformContext < 3) {
- checkUnnamed3569(o.platforms);
+ checkUnnamed3601(o.platforms);
}
buildCounterPlatformContext--;
}
@@ -1725,14 +1725,14 @@
buildCounterRowDimensions--;
}
-buildUnnamed3570() {
+buildUnnamed3602() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3570(core.List<core.String> o) {
+checkUnnamed3602(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1743,7 +1743,7 @@
var o = new api.SecurityContext();
buildCounterSecurityContext++;
if (buildCounterSecurityContext < 3) {
- o.securities = buildUnnamed3570();
+ o.securities = buildUnnamed3602();
}
buildCounterSecurityContext--;
return o;
@@ -1752,7 +1752,7 @@
checkSecurityContext(api.SecurityContext o) {
buildCounterSecurityContext++;
if (buildCounterSecurityContext < 3) {
- checkUnnamed3570(o.securities);
+ checkUnnamed3602(o.securities);
}
buildCounterSecurityContext--;
}
@@ -1786,27 +1786,27 @@
buildCounterServingContext--;
}
-buildUnnamed3571() {
+buildUnnamed3603() {
var o = new core.List<api.ServingContext>();
o.add(buildServingContext());
o.add(buildServingContext());
return o;
}
-checkUnnamed3571(core.List<api.ServingContext> o) {
+checkUnnamed3603(core.List<api.ServingContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkServingContext(o[0]);
checkServingContext(o[1]);
}
-buildUnnamed3572() {
+buildUnnamed3604() {
var o = new core.List<api.Disapproval>();
o.add(buildDisapproval());
o.add(buildDisapproval());
return o;
}
-checkUnnamed3572(core.List<api.Disapproval> o) {
+checkUnnamed3604(core.List<api.Disapproval> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisapproval(o[0]);
checkDisapproval(o[1]);
@@ -1817,8 +1817,8 @@
var o = new api.ServingRestriction();
buildCounterServingRestriction++;
if (buildCounterServingRestriction < 3) {
- o.contexts = buildUnnamed3571();
- o.disapprovalReasons = buildUnnamed3572();
+ o.contexts = buildUnnamed3603();
+ o.disapprovalReasons = buildUnnamed3604();
o.status = "foo";
}
buildCounterServingRestriction--;
@@ -1828,8 +1828,8 @@
checkServingRestriction(api.ServingRestriction o) {
buildCounterServingRestriction++;
if (buildCounterServingRestriction < 3) {
- checkUnnamed3571(o.contexts);
- checkUnnamed3572(o.disapprovalReasons);
+ checkUnnamed3603(o.contexts);
+ checkUnnamed3604(o.disapprovalReasons);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterServingRestriction--;
@@ -2542,8 +2542,8 @@
var mock = new HttpServerMock();
api.AccountsClientsResourceApi res = new api.Adexchangebuyer2Api(mock).accounts.clients;
var arg_accountId = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2577,8 +2577,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -2587,7 +2587,7 @@
var resp = convert.JSON.encode(buildListClientsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_accountId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListClientsResponse response) {
+ res.list(arg_accountId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListClientsResponse response) {
checkListClientsResponse(response);
})));
});
@@ -2917,8 +2917,8 @@
api.AccountsClientsUsersResourceApi res = new api.Adexchangebuyer2Api(mock).accounts.clients.users;
var arg_accountId = "foo";
var arg_clientAccountId = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2959,8 +2959,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -2969,7 +2969,7 @@
var resp = convert.JSON.encode(buildListClientUsersResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_accountId, arg_clientAccountId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListClientUsersResponse response) {
+ res.list(arg_accountId, arg_clientAccountId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListClientUsersResponse response) {
checkListClientUsersResponse(response);
})));
});
@@ -3472,9 +3472,9 @@
api.AccountsCreativesDealAssociationsResourceApi res = new api.Adexchangebuyer2Api(mock).accounts.creatives.dealAssociations;
var arg_accountId = "foo";
var arg_creativeId = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_query = "foo";
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3515,9 +3515,9 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -3526,7 +3526,7 @@
var resp = convert.JSON.encode(buildListDealAssociationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_accountId, arg_creativeId, pageToken: arg_pageToken, pageSize: arg_pageSize, query: arg_query).then(unittest.expectAsync1(((api.ListDealAssociationsResponse response) {
+ res.list(arg_accountId, arg_creativeId, pageSize: arg_pageSize, query: arg_query, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListDealAssociationsResponse response) {
checkListDealAssociationsResponse(response);
})));
});
@@ -3830,8 +3830,8 @@
api.AccountsFilterSetsBidMetricsResourceApi res = new api.Adexchangebuyer2Api(mock).accounts.filterSets.bidMetrics;
var arg_accountId = "foo";
var arg_filterSetId = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3872,8 +3872,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -3882,7 +3882,7 @@
var resp = convert.JSON.encode(buildListBidMetricsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_accountId, arg_filterSetId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListBidMetricsResponse response) {
+ res.list(arg_accountId, arg_filterSetId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListBidMetricsResponse response) {
checkListBidMetricsResponse(response);
})));
});
@@ -3897,8 +3897,8 @@
api.AccountsFilterSetsBidResponseErrorsResourceApi res = new api.Adexchangebuyer2Api(mock).accounts.filterSets.bidResponseErrors;
var arg_accountId = "foo";
var arg_filterSetId = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3939,8 +3939,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -3949,7 +3949,7 @@
var resp = convert.JSON.encode(buildListBidResponseErrorsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_accountId, arg_filterSetId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListBidResponseErrorsResponse response) {
+ res.list(arg_accountId, arg_filterSetId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListBidResponseErrorsResponse response) {
checkListBidResponseErrorsResponse(response);
})));
});
@@ -4031,8 +4031,8 @@
api.AccountsFilterSetsFilteredBidRequestsResourceApi res = new api.Adexchangebuyer2Api(mock).accounts.filterSets.filteredBidRequests;
var arg_accountId = "foo";
var arg_filterSetId = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4073,8 +4073,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -4083,7 +4083,7 @@
var resp = convert.JSON.encode(buildListFilteredBidRequestsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_accountId, arg_filterSetId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListFilteredBidRequestsResponse response) {
+ res.list(arg_accountId, arg_filterSetId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListFilteredBidRequestsResponse response) {
checkListFilteredBidRequestsResponse(response);
})));
});
@@ -4382,8 +4382,8 @@
api.AccountsFilterSetsLosingBidsResourceApi res = new api.Adexchangebuyer2Api(mock).accounts.filterSets.losingBids;
var arg_accountId = "foo";
var arg_filterSetId = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4424,8 +4424,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -4434,7 +4434,7 @@
var resp = convert.JSON.encode(buildListLosingBidsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_accountId, arg_filterSetId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListLosingBidsResponse response) {
+ res.list(arg_accountId, arg_filterSetId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListLosingBidsResponse response) {
checkListLosingBidsResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/appengine/v1beta4_test.dart b/generated/googleapis_beta/test/appengine/v1beta4_test.dart
index 5564546..0c4734f 100644
--- a/generated/googleapis_beta/test/appengine/v1beta4_test.dart
+++ b/generated/googleapis_beta/test/appengine/v1beta4_test.dart
@@ -97,14 +97,14 @@
buildCounterApiEndpointHandler--;
}
-buildUnnamed3493() {
+buildUnnamed3525() {
var o = new core.List<api.UrlDispatchRule>();
o.add(buildUrlDispatchRule());
o.add(buildUrlDispatchRule());
return o;
}
-checkUnnamed3493(core.List<api.UrlDispatchRule> o) {
+checkUnnamed3525(core.List<api.UrlDispatchRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlDispatchRule(o[0]);
checkUrlDispatchRule(o[1]);
@@ -120,7 +120,7 @@
o.defaultBucket = "foo";
o.defaultCookieExpiration = "foo";
o.defaultHostname = "foo";
- o.dispatchRules = buildUnnamed3493();
+ o.dispatchRules = buildUnnamed3525();
o.iap = buildIdentityAwareProxy();
o.id = "foo";
o.location = "foo";
@@ -138,7 +138,7 @@
unittest.expect(o.defaultBucket, unittest.equals('foo'));
unittest.expect(o.defaultCookieExpiration, unittest.equals('foo'));
unittest.expect(o.defaultHostname, unittest.equals('foo'));
- checkUnnamed3493(o.dispatchRules);
+ checkUnnamed3525(o.dispatchRules);
checkIdentityAwareProxy(o.iap);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
@@ -268,27 +268,27 @@
buildCounterDebugInstanceRequest--;
}
-buildUnnamed3494() {
+buildUnnamed3526() {
var o = new core.Map<core.String, api.FileInfo>();
o["x"] = buildFileInfo();
o["y"] = buildFileInfo();
return o;
}
-checkUnnamed3494(core.Map<core.String, api.FileInfo> o) {
+checkUnnamed3526(core.Map<core.String, api.FileInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileInfo(o["x"]);
checkFileInfo(o["y"]);
}
-buildUnnamed3495() {
+buildUnnamed3527() {
var o = new core.List<api.SourceReference>();
o.add(buildSourceReference());
o.add(buildSourceReference());
return o;
}
-checkUnnamed3495(core.List<api.SourceReference> o) {
+checkUnnamed3527(core.List<api.SourceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceReference(o[0]);
checkSourceReference(o[1]);
@@ -300,8 +300,8 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
o.container = buildContainerInfo();
- o.files = buildUnnamed3494();
- o.sourceReferences = buildUnnamed3495();
+ o.files = buildUnnamed3526();
+ o.sourceReferences = buildUnnamed3527();
}
buildCounterDeployment--;
return o;
@@ -311,8 +311,8 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
checkContainerInfo(o.container);
- checkUnnamed3494(o.files);
- checkUnnamed3495(o.sourceReferences);
+ checkUnnamed3526(o.files);
+ checkUnnamed3527(o.sourceReferences);
}
buildCounterDeployment--;
}
@@ -514,14 +514,14 @@
buildCounterLibrary--;
}
-buildUnnamed3496() {
+buildUnnamed3528() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed3496(core.List<api.Instance> o) {
+checkUnnamed3528(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -532,7 +532,7 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed3496();
+ o.instances = buildUnnamed3528();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -542,20 +542,20 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed3496(o.instances);
+ checkUnnamed3528(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed3497() {
+buildUnnamed3529() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed3497(core.List<api.Location> o) {
+checkUnnamed3529(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -566,7 +566,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed3497();
+ o.locations = buildUnnamed3529();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -576,20 +576,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed3497(o.locations);
+ checkUnnamed3529(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed3498() {
+buildUnnamed3530() {
var o = new core.List<api.Module>();
o.add(buildModule());
o.add(buildModule());
return o;
}
-checkUnnamed3498(core.List<api.Module> o) {
+checkUnnamed3530(core.List<api.Module> o) {
unittest.expect(o, unittest.hasLength(2));
checkModule(o[0]);
checkModule(o[1]);
@@ -600,7 +600,7 @@
var o = new api.ListModulesResponse();
buildCounterListModulesResponse++;
if (buildCounterListModulesResponse < 3) {
- o.modules = buildUnnamed3498();
+ o.modules = buildUnnamed3530();
o.nextPageToken = "foo";
}
buildCounterListModulesResponse--;
@@ -610,20 +610,20 @@
checkListModulesResponse(api.ListModulesResponse o) {
buildCounterListModulesResponse++;
if (buildCounterListModulesResponse < 3) {
- checkUnnamed3498(o.modules);
+ checkUnnamed3530(o.modules);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListModulesResponse--;
}
-buildUnnamed3499() {
+buildUnnamed3531() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3499(core.List<api.Operation> o) {
+checkUnnamed3531(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -635,7 +635,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3499();
+ o.operations = buildUnnamed3531();
}
buildCounterListOperationsResponse--;
return o;
@@ -645,19 +645,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3499(o.operations);
+ checkUnnamed3531(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed3500() {
+buildUnnamed3532() {
var o = new core.List<api.Version>();
o.add(buildVersion());
o.add(buildVersion());
return o;
}
-checkUnnamed3500(core.List<api.Version> o) {
+checkUnnamed3532(core.List<api.Version> o) {
unittest.expect(o, unittest.hasLength(2));
checkVersion(o[0]);
checkVersion(o[1]);
@@ -669,7 +669,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
o.nextPageToken = "foo";
- o.versions = buildUnnamed3500();
+ o.versions = buildUnnamed3532();
}
buildCounterListVersionsResponse--;
return o;
@@ -679,32 +679,32 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3500(o.versions);
+ checkUnnamed3532(o.versions);
}
buildCounterListVersionsResponse--;
}
-buildUnnamed3501() {
+buildUnnamed3533() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3501(core.Map<core.String, core.String> o) {
+checkUnnamed3533(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3502() {
+buildUnnamed3534() {
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;
}
-checkUnnamed3502(core.Map<core.String, core.Object> o) {
+checkUnnamed3534(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'));
@@ -715,9 +715,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed3501();
+ o.labels = buildUnnamed3533();
o.locationId = "foo";
- o.metadata = buildUnnamed3502();
+ o.metadata = buildUnnamed3534();
o.name = "foo";
}
buildCounterLocation--;
@@ -727,9 +727,9 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed3501(o.labels);
+ checkUnnamed3533(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed3502(o.metadata);
+ checkUnnamed3534(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -798,14 +798,14 @@
buildCounterModule--;
}
-buildUnnamed3503() {
+buildUnnamed3535() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3503(core.List<core.String> o) {
+checkUnnamed3535(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -816,7 +816,7 @@
var o = new api.Network();
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- o.forwardedPorts = buildUnnamed3503();
+ o.forwardedPorts = buildUnnamed3535();
o.instanceTag = "foo";
o.name = "foo";
}
@@ -827,7 +827,7 @@
checkNetwork(api.Network o) {
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- checkUnnamed3503(o.forwardedPorts);
+ checkUnnamed3535(o.forwardedPorts);
unittest.expect(o.instanceTag, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
}
@@ -859,27 +859,27 @@
buildCounterNetworkUtilization--;
}
-buildUnnamed3504() {
+buildUnnamed3536() {
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;
}
-checkUnnamed3504(core.Map<core.String, core.Object> o) {
+checkUnnamed3536(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'));
}
-buildUnnamed3505() {
+buildUnnamed3537() {
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;
}
-checkUnnamed3505(core.Map<core.String, core.Object> o) {
+checkUnnamed3537(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'));
@@ -892,9 +892,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3504();
+ o.metadata = buildUnnamed3536();
o.name = "foo";
- o.response = buildUnnamed3505();
+ o.response = buildUnnamed3537();
}
buildCounterOperation--;
return o;
@@ -905,9 +905,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3504(o.metadata);
+ checkUnnamed3536(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3505(o.response);
+ checkUnnamed3537(o.response);
}
buildCounterOperation--;
}
@@ -968,14 +968,14 @@
buildCounterOperationMetadataExperimental--;
}
-buildUnnamed3506() {
+buildUnnamed3538() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3506(core.List<core.String> o) {
+checkUnnamed3538(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -992,7 +992,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed3506();
+ o.warning = buildUnnamed3538();
}
buildCounterOperationMetadataV1--;
return o;
@@ -1007,19 +1007,19 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3506(o.warning);
+ checkUnnamed3538(o.warning);
}
buildCounterOperationMetadataV1--;
}
-buildUnnamed3507() {
+buildUnnamed3539() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3507(core.List<core.String> o) {
+checkUnnamed3539(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1036,7 +1036,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed3507();
+ o.warning = buildUnnamed3539();
}
buildCounterOperationMetadataV1Alpha--;
return o;
@@ -1051,19 +1051,19 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3507(o.warning);
+ checkUnnamed3539(o.warning);
}
buildCounterOperationMetadataV1Alpha--;
}
-buildUnnamed3508() {
+buildUnnamed3540() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3508(core.List<core.String> o) {
+checkUnnamed3540(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1080,7 +1080,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed3508();
+ o.warning = buildUnnamed3540();
}
buildCounterOperationMetadataV1Beta--;
return o;
@@ -1095,7 +1095,7 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3508(o.warning);
+ checkUnnamed3540(o.warning);
}
buildCounterOperationMetadataV1Beta--;
}
@@ -1148,14 +1148,14 @@
buildCounterRequestUtilization--;
}
-buildUnnamed3509() {
+buildUnnamed3541() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed3509(core.List<api.Volume> o) {
+checkUnnamed3541(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1169,7 +1169,7 @@
o.cpu = 42.0;
o.diskGb = 42.0;
o.memoryGb = 42.0;
- o.volumes = buildUnnamed3509();
+ o.volumes = buildUnnamed3541();
}
buildCounterResources--;
return o;
@@ -1181,7 +1181,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));
- checkUnnamed3509(o.volumes);
+ checkUnnamed3541(o.volumes);
}
buildCounterResources--;
}
@@ -1226,14 +1226,14 @@
buildCounterSourceReference--;
}
-buildUnnamed3510() {
+buildUnnamed3542() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3510(core.Map<core.String, core.String> o) {
+checkUnnamed3542(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1247,7 +1247,7 @@
o.applicationReadable = true;
o.directory = "foo";
o.expiration = "foo";
- o.httpHeaders = buildUnnamed3510();
+ o.httpHeaders = buildUnnamed3542();
o.mimeType = "foo";
o.requireMatchingFile = true;
}
@@ -1261,21 +1261,21 @@
unittest.expect(o.applicationReadable, unittest.isTrue);
unittest.expect(o.directory, unittest.equals('foo'));
unittest.expect(o.expiration, unittest.equals('foo'));
- checkUnnamed3510(o.httpHeaders);
+ checkUnnamed3542(o.httpHeaders);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.requireMatchingFile, unittest.isTrue);
}
buildCounterStaticDirectoryHandler--;
}
-buildUnnamed3511() {
+buildUnnamed3543() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3511(core.Map<core.String, core.String> o) {
+checkUnnamed3543(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1288,7 +1288,7 @@
if (buildCounterStaticFilesHandler < 3) {
o.applicationReadable = true;
o.expiration = "foo";
- o.httpHeaders = buildUnnamed3511();
+ o.httpHeaders = buildUnnamed3543();
o.mimeType = "foo";
o.path = "foo";
o.requireMatchingFile = true;
@@ -1303,7 +1303,7 @@
if (buildCounterStaticFilesHandler < 3) {
unittest.expect(o.applicationReadable, unittest.isTrue);
unittest.expect(o.expiration, unittest.equals('foo'));
- checkUnnamed3511(o.httpHeaders);
+ checkUnnamed3543(o.httpHeaders);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.requireMatchingFile, unittest.isTrue);
@@ -1312,30 +1312,30 @@
buildCounterStaticFilesHandler--;
}
-buildUnnamed3512() {
+buildUnnamed3544() {
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;
}
-checkUnnamed3512(core.Map<core.String, core.Object> o) {
+checkUnnamed3544(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'));
}
-buildUnnamed3513() {
+buildUnnamed3545() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3512());
- o.add(buildUnnamed3512());
+ o.add(buildUnnamed3544());
+ o.add(buildUnnamed3544());
return o;
}
-checkUnnamed3513(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3545(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3512(o[0]);
- checkUnnamed3512(o[1]);
+ checkUnnamed3544(o[0]);
+ checkUnnamed3544(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1344,7 +1344,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3513();
+ o.details = buildUnnamed3545();
o.message = "foo";
}
buildCounterStatus--;
@@ -1355,20 +1355,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3513(o.details);
+ checkUnnamed3545(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed3514() {
+buildUnnamed3546() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed3514(core.Map<core.String, core.double> o) {
+checkUnnamed3546(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));
@@ -1379,7 +1379,7 @@
var o = new api.TrafficSplit();
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- o.allocations = buildUnnamed3514();
+ o.allocations = buildUnnamed3546();
o.shardBy = "foo";
}
buildCounterTrafficSplit--;
@@ -1389,7 +1389,7 @@
checkTrafficSplit(api.TrafficSplit o) {
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- checkUnnamed3514(o.allocations);
+ checkUnnamed3546(o.allocations);
unittest.expect(o.shardBy, unittest.equals('foo'));
}
buildCounterTrafficSplit--;
@@ -1453,79 +1453,79 @@
buildCounterUrlMap--;
}
-buildUnnamed3515() {
+buildUnnamed3547() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3515(core.Map<core.String, core.String> o) {
+checkUnnamed3547(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3516() {
+buildUnnamed3548() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3516(core.Map<core.String, core.String> o) {
+checkUnnamed3548(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3517() {
+buildUnnamed3549() {
var o = new core.List<api.ErrorHandler>();
o.add(buildErrorHandler());
o.add(buildErrorHandler());
return o;
}
-checkUnnamed3517(core.List<api.ErrorHandler> o) {
+checkUnnamed3549(core.List<api.ErrorHandler> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorHandler(o[0]);
checkErrorHandler(o[1]);
}
-buildUnnamed3518() {
+buildUnnamed3550() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed3518(core.List<api.UrlMap> o) {
+checkUnnamed3550(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
}
-buildUnnamed3519() {
+buildUnnamed3551() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3519(core.List<core.String> o) {
+checkUnnamed3551(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3520() {
+buildUnnamed3552() {
var o = new core.List<api.Library>();
o.add(buildLibrary());
o.add(buildLibrary());
return o;
}
-checkUnnamed3520(core.List<api.Library> o) {
+checkUnnamed3552(core.List<api.Library> o) {
unittest.expect(o, unittest.hasLength(2));
checkLibrary(o[0]);
checkLibrary(o[1]);
@@ -1539,20 +1539,20 @@
o.apiConfig = buildApiConfigHandler();
o.automaticScaling = buildAutomaticScaling();
o.basicScaling = buildBasicScaling();
- o.betaSettings = buildUnnamed3515();
+ o.betaSettings = buildUnnamed3547();
o.creationTime = "foo";
o.defaultExpiration = "foo";
o.deployer = "foo";
o.deployment = buildDeployment();
o.env = "foo";
- o.envVariables = buildUnnamed3516();
- o.errorHandlers = buildUnnamed3517();
- o.handlers = buildUnnamed3518();
+ o.envVariables = buildUnnamed3548();
+ o.errorHandlers = buildUnnamed3549();
+ o.handlers = buildUnnamed3550();
o.healthCheck = buildHealthCheck();
o.id = "foo";
- o.inboundServices = buildUnnamed3519();
+ o.inboundServices = buildUnnamed3551();
o.instanceClass = "foo";
- o.libraries = buildUnnamed3520();
+ o.libraries = buildUnnamed3552();
o.manualScaling = buildManualScaling();
o.name = "foo";
o.network = buildNetwork();
@@ -1574,20 +1574,20 @@
checkApiConfigHandler(o.apiConfig);
checkAutomaticScaling(o.automaticScaling);
checkBasicScaling(o.basicScaling);
- checkUnnamed3515(o.betaSettings);
+ checkUnnamed3547(o.betaSettings);
unittest.expect(o.creationTime, unittest.equals('foo'));
unittest.expect(o.defaultExpiration, unittest.equals('foo'));
unittest.expect(o.deployer, unittest.equals('foo'));
checkDeployment(o.deployment);
unittest.expect(o.env, unittest.equals('foo'));
- checkUnnamed3516(o.envVariables);
- checkUnnamed3517(o.errorHandlers);
- checkUnnamed3518(o.handlers);
+ checkUnnamed3548(o.envVariables);
+ checkUnnamed3549(o.errorHandlers);
+ checkUnnamed3550(o.handlers);
checkHealthCheck(o.healthCheck);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3519(o.inboundServices);
+ checkUnnamed3551(o.inboundServices);
unittest.expect(o.instanceClass, unittest.equals('foo'));
- checkUnnamed3520(o.libraries);
+ checkUnnamed3552(o.libraries);
checkManualScaling(o.manualScaling);
unittest.expect(o.name, unittest.equals('foo'));
checkNetwork(o.network);
@@ -3228,9 +3228,9 @@
var mock = new HttpServerMock();
api.AppsOperationsResourceApi res = new api.AppengineApi(mock).apps.operations;
var arg_appsId = "foo";
- var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3264,9 +3264,9 @@
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["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));
var h = {
@@ -3275,7 +3275,7 @@
var resp = convert.JSON.encode(buildListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
+ res.list(arg_appsId, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/appengine/v1beta5_test.dart b/generated/googleapis_beta/test/appengine/v1beta5_test.dart
index 99d03e3..d2743e6 100644
--- a/generated/googleapis_beta/test/appengine/v1beta5_test.dart
+++ b/generated/googleapis_beta/test/appengine/v1beta5_test.dart
@@ -97,14 +97,14 @@
buildCounterApiEndpointHandler--;
}
-buildUnnamed3466() {
+buildUnnamed3498() {
var o = new core.List<api.UrlDispatchRule>();
o.add(buildUrlDispatchRule());
o.add(buildUrlDispatchRule());
return o;
}
-checkUnnamed3466(core.List<api.UrlDispatchRule> o) {
+checkUnnamed3498(core.List<api.UrlDispatchRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlDispatchRule(o[0]);
checkUrlDispatchRule(o[1]);
@@ -120,7 +120,7 @@
o.defaultBucket = "foo";
o.defaultCookieExpiration = "foo";
o.defaultHostname = "foo";
- o.dispatchRules = buildUnnamed3466();
+ o.dispatchRules = buildUnnamed3498();
o.iap = buildIdentityAwareProxy();
o.id = "foo";
o.location = "foo";
@@ -138,7 +138,7 @@
unittest.expect(o.defaultBucket, unittest.equals('foo'));
unittest.expect(o.defaultCookieExpiration, unittest.equals('foo'));
unittest.expect(o.defaultHostname, unittest.equals('foo'));
- checkUnnamed3466(o.dispatchRules);
+ checkUnnamed3498(o.dispatchRules);
checkIdentityAwareProxy(o.iap);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
@@ -268,27 +268,27 @@
buildCounterDebugInstanceRequest--;
}
-buildUnnamed3467() {
+buildUnnamed3499() {
var o = new core.Map<core.String, api.FileInfo>();
o["x"] = buildFileInfo();
o["y"] = buildFileInfo();
return o;
}
-checkUnnamed3467(core.Map<core.String, api.FileInfo> o) {
+checkUnnamed3499(core.Map<core.String, api.FileInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileInfo(o["x"]);
checkFileInfo(o["y"]);
}
-buildUnnamed3468() {
+buildUnnamed3500() {
var o = new core.List<api.SourceReference>();
o.add(buildSourceReference());
o.add(buildSourceReference());
return o;
}
-checkUnnamed3468(core.List<api.SourceReference> o) {
+checkUnnamed3500(core.List<api.SourceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceReference(o[0]);
checkSourceReference(o[1]);
@@ -300,8 +300,8 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
o.container = buildContainerInfo();
- o.files = buildUnnamed3467();
- o.sourceReferences = buildUnnamed3468();
+ o.files = buildUnnamed3499();
+ o.sourceReferences = buildUnnamed3500();
}
buildCounterDeployment--;
return o;
@@ -311,8 +311,8 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
checkContainerInfo(o.container);
- checkUnnamed3467(o.files);
- checkUnnamed3468(o.sourceReferences);
+ checkUnnamed3499(o.files);
+ checkUnnamed3500(o.sourceReferences);
}
buildCounterDeployment--;
}
@@ -535,14 +535,14 @@
buildCounterLibrary--;
}
-buildUnnamed3469() {
+buildUnnamed3501() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed3469(core.List<api.Instance> o) {
+checkUnnamed3501(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -553,7 +553,7 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed3469();
+ o.instances = buildUnnamed3501();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -563,20 +563,20 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed3469(o.instances);
+ checkUnnamed3501(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed3470() {
+buildUnnamed3502() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed3470(core.List<api.Location> o) {
+checkUnnamed3502(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -587,7 +587,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed3470();
+ o.locations = buildUnnamed3502();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -597,20 +597,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed3470(o.locations);
+ checkUnnamed3502(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed3471() {
+buildUnnamed3503() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3471(core.List<api.Operation> o) {
+checkUnnamed3503(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -622,7 +622,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3471();
+ o.operations = buildUnnamed3503();
}
buildCounterListOperationsResponse--;
return o;
@@ -632,19 +632,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3471(o.operations);
+ checkUnnamed3503(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed3472() {
+buildUnnamed3504() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed3472(core.List<api.Service> o) {
+checkUnnamed3504(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -656,7 +656,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed3472();
+ o.services = buildUnnamed3504();
}
buildCounterListServicesResponse--;
return o;
@@ -666,19 +666,19 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3472(o.services);
+ checkUnnamed3504(o.services);
}
buildCounterListServicesResponse--;
}
-buildUnnamed3473() {
+buildUnnamed3505() {
var o = new core.List<api.Version>();
o.add(buildVersion());
o.add(buildVersion());
return o;
}
-checkUnnamed3473(core.List<api.Version> o) {
+checkUnnamed3505(core.List<api.Version> o) {
unittest.expect(o, unittest.hasLength(2));
checkVersion(o[0]);
checkVersion(o[1]);
@@ -690,7 +690,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
o.nextPageToken = "foo";
- o.versions = buildUnnamed3473();
+ o.versions = buildUnnamed3505();
}
buildCounterListVersionsResponse--;
return o;
@@ -700,32 +700,32 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3473(o.versions);
+ checkUnnamed3505(o.versions);
}
buildCounterListVersionsResponse--;
}
-buildUnnamed3474() {
+buildUnnamed3506() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3474(core.Map<core.String, core.String> o) {
+checkUnnamed3506(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3475() {
+buildUnnamed3507() {
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;
}
-checkUnnamed3475(core.Map<core.String, core.Object> o) {
+checkUnnamed3507(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'));
@@ -736,9 +736,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed3474();
+ o.labels = buildUnnamed3506();
o.locationId = "foo";
- o.metadata = buildUnnamed3475();
+ o.metadata = buildUnnamed3507();
o.name = "foo";
}
buildCounterLocation--;
@@ -748,9 +748,9 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed3474(o.labels);
+ checkUnnamed3506(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed3475(o.metadata);
+ checkUnnamed3507(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -796,14 +796,14 @@
buildCounterManualScaling--;
}
-buildUnnamed3476() {
+buildUnnamed3508() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3476(core.List<core.String> 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'));
@@ -814,7 +814,7 @@
var o = new api.Network();
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- o.forwardedPorts = buildUnnamed3476();
+ o.forwardedPorts = buildUnnamed3508();
o.instanceTag = "foo";
o.name = "foo";
o.subnetworkName = "foo";
@@ -826,7 +826,7 @@
checkNetwork(api.Network o) {
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- checkUnnamed3476(o.forwardedPorts);
+ checkUnnamed3508(o.forwardedPorts);
unittest.expect(o.instanceTag, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.subnetworkName, unittest.equals('foo'));
@@ -859,27 +859,27 @@
buildCounterNetworkUtilization--;
}
-buildUnnamed3477() {
+buildUnnamed3509() {
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;
}
-checkUnnamed3477(core.Map<core.String, core.Object> o) {
+checkUnnamed3509(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'));
}
-buildUnnamed3478() {
+buildUnnamed3510() {
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;
}
-checkUnnamed3478(core.Map<core.String, core.Object> o) {
+checkUnnamed3510(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'));
@@ -892,9 +892,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3477();
+ o.metadata = buildUnnamed3509();
o.name = "foo";
- o.response = buildUnnamed3478();
+ o.response = buildUnnamed3510();
}
buildCounterOperation--;
return o;
@@ -905,9 +905,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3477(o.metadata);
+ checkUnnamed3509(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3478(o.response);
+ checkUnnamed3510(o.response);
}
buildCounterOperation--;
}
@@ -968,14 +968,14 @@
buildCounterOperationMetadataExperimental--;
}
-buildUnnamed3479() {
+buildUnnamed3511() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3479(core.List<core.String> 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'));
@@ -992,7 +992,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed3479();
+ o.warning = buildUnnamed3511();
}
buildCounterOperationMetadataV1--;
return o;
@@ -1007,19 +1007,19 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3479(o.warning);
+ checkUnnamed3511(o.warning);
}
buildCounterOperationMetadataV1--;
}
-buildUnnamed3480() {
+buildUnnamed3512() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3480(core.List<core.String> o) {
+checkUnnamed3512(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1036,7 +1036,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed3480();
+ o.warning = buildUnnamed3512();
}
buildCounterOperationMetadataV1Alpha--;
return o;
@@ -1051,19 +1051,19 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3480(o.warning);
+ checkUnnamed3512(o.warning);
}
buildCounterOperationMetadataV1Alpha--;
}
-buildUnnamed3481() {
+buildUnnamed3513() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3481(core.List<core.String> o) {
+checkUnnamed3513(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1080,7 +1080,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed3481();
+ o.warning = buildUnnamed3513();
}
buildCounterOperationMetadataV1Beta--;
return o;
@@ -1095,7 +1095,7 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3481(o.warning);
+ checkUnnamed3513(o.warning);
}
buildCounterOperationMetadataV1Beta--;
}
@@ -1148,14 +1148,14 @@
buildCounterRequestUtilization--;
}
-buildUnnamed3482() {
+buildUnnamed3514() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed3482(core.List<api.Volume> o) {
+checkUnnamed3514(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1169,7 +1169,7 @@
o.cpu = 42.0;
o.diskGb = 42.0;
o.memoryGb = 42.0;
- o.volumes = buildUnnamed3482();
+ o.volumes = buildUnnamed3514();
}
buildCounterResources--;
return o;
@@ -1181,7 +1181,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));
- checkUnnamed3482(o.volumes);
+ checkUnnamed3514(o.volumes);
}
buildCounterResources--;
}
@@ -1249,14 +1249,14 @@
buildCounterSourceReference--;
}
-buildUnnamed3483() {
+buildUnnamed3515() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3483(core.Map<core.String, core.String> o) {
+checkUnnamed3515(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1269,7 +1269,7 @@
if (buildCounterStaticFilesHandler < 3) {
o.applicationReadable = true;
o.expiration = "foo";
- o.httpHeaders = buildUnnamed3483();
+ o.httpHeaders = buildUnnamed3515();
o.mimeType = "foo";
o.path = "foo";
o.requireMatchingFile = true;
@@ -1284,7 +1284,7 @@
if (buildCounterStaticFilesHandler < 3) {
unittest.expect(o.applicationReadable, unittest.isTrue);
unittest.expect(o.expiration, unittest.equals('foo'));
- checkUnnamed3483(o.httpHeaders);
+ checkUnnamed3515(o.httpHeaders);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.requireMatchingFile, unittest.isTrue);
@@ -1293,30 +1293,30 @@
buildCounterStaticFilesHandler--;
}
-buildUnnamed3484() {
+buildUnnamed3516() {
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;
}
-checkUnnamed3484(core.Map<core.String, core.Object> o) {
+checkUnnamed3516(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'));
}
-buildUnnamed3485() {
+buildUnnamed3517() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3484());
- o.add(buildUnnamed3484());
+ o.add(buildUnnamed3516());
+ o.add(buildUnnamed3516());
return o;
}
-checkUnnamed3485(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3517(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3484(o[0]);
- checkUnnamed3484(o[1]);
+ checkUnnamed3516(o[0]);
+ checkUnnamed3516(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1325,7 +1325,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3485();
+ o.details = buildUnnamed3517();
o.message = "foo";
}
buildCounterStatus--;
@@ -1336,20 +1336,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3485(o.details);
+ checkUnnamed3517(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed3486() {
+buildUnnamed3518() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed3486(core.Map<core.String, core.double> o) {
+checkUnnamed3518(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));
@@ -1360,7 +1360,7 @@
var o = new api.TrafficSplit();
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- o.allocations = buildUnnamed3486();
+ o.allocations = buildUnnamed3518();
o.shardBy = "foo";
}
buildCounterTrafficSplit--;
@@ -1370,7 +1370,7 @@
checkTrafficSplit(api.TrafficSplit o) {
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- checkUnnamed3486(o.allocations);
+ checkUnnamed3518(o.allocations);
unittest.expect(o.shardBy, unittest.equals('foo'));
}
buildCounterTrafficSplit--;
@@ -1432,79 +1432,79 @@
buildCounterUrlMap--;
}
-buildUnnamed3487() {
+buildUnnamed3519() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3487(core.Map<core.String, core.String> o) {
+checkUnnamed3519(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3488() {
+buildUnnamed3520() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3488(core.Map<core.String, core.String> o) {
+checkUnnamed3520(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3489() {
+buildUnnamed3521() {
var o = new core.List<api.ErrorHandler>();
o.add(buildErrorHandler());
o.add(buildErrorHandler());
return o;
}
-checkUnnamed3489(core.List<api.ErrorHandler> o) {
+checkUnnamed3521(core.List<api.ErrorHandler> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorHandler(o[0]);
checkErrorHandler(o[1]);
}
-buildUnnamed3490() {
+buildUnnamed3522() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed3490(core.List<api.UrlMap> o) {
+checkUnnamed3522(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
}
-buildUnnamed3491() {
+buildUnnamed3523() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3491(core.List<core.String> o) {
+checkUnnamed3523(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3492() {
+buildUnnamed3524() {
var o = new core.List<api.Library>();
o.add(buildLibrary());
o.add(buildLibrary());
return o;
}
-checkUnnamed3492(core.List<api.Library> o) {
+checkUnnamed3524(core.List<api.Library> o) {
unittest.expect(o, unittest.hasLength(2));
checkLibrary(o[0]);
checkLibrary(o[1]);
@@ -1518,7 +1518,7 @@
o.apiConfig = buildApiConfigHandler();
o.automaticScaling = buildAutomaticScaling();
o.basicScaling = buildBasicScaling();
- o.betaSettings = buildUnnamed3487();
+ o.betaSettings = buildUnnamed3519();
o.creationTime = "foo";
o.defaultExpiration = "foo";
o.deployer = "foo";
@@ -1526,14 +1526,14 @@
o.diskUsageBytes = "foo";
o.endpointsApiService = buildEndpointsApiService();
o.env = "foo";
- o.envVariables = buildUnnamed3488();
- o.errorHandlers = buildUnnamed3489();
- o.handlers = buildUnnamed3490();
+ o.envVariables = buildUnnamed3520();
+ o.errorHandlers = buildUnnamed3521();
+ o.handlers = buildUnnamed3522();
o.healthCheck = buildHealthCheck();
o.id = "foo";
- o.inboundServices = buildUnnamed3491();
+ o.inboundServices = buildUnnamed3523();
o.instanceClass = "foo";
- o.libraries = buildUnnamed3492();
+ o.libraries = buildUnnamed3524();
o.manualScaling = buildManualScaling();
o.name = "foo";
o.network = buildNetwork();
@@ -1555,7 +1555,7 @@
checkApiConfigHandler(o.apiConfig);
checkAutomaticScaling(o.automaticScaling);
checkBasicScaling(o.basicScaling);
- checkUnnamed3487(o.betaSettings);
+ checkUnnamed3519(o.betaSettings);
unittest.expect(o.creationTime, unittest.equals('foo'));
unittest.expect(o.defaultExpiration, unittest.equals('foo'));
unittest.expect(o.deployer, unittest.equals('foo'));
@@ -1563,14 +1563,14 @@
unittest.expect(o.diskUsageBytes, unittest.equals('foo'));
checkEndpointsApiService(o.endpointsApiService);
unittest.expect(o.env, unittest.equals('foo'));
- checkUnnamed3488(o.envVariables);
- checkUnnamed3489(o.errorHandlers);
- checkUnnamed3490(o.handlers);
+ checkUnnamed3520(o.envVariables);
+ checkUnnamed3521(o.errorHandlers);
+ checkUnnamed3522(o.handlers);
checkHealthCheck(o.healthCheck);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3491(o.inboundServices);
+ checkUnnamed3523(o.inboundServices);
unittest.expect(o.instanceClass, unittest.equals('foo'));
- checkUnnamed3492(o.libraries);
+ checkUnnamed3524(o.libraries);
checkManualScaling(o.manualScaling);
unittest.expect(o.name, unittest.equals('foo'));
checkNetwork(o.network);
@@ -2238,9 +2238,9 @@
var mock = new HttpServerMock();
api.AppsLocationsResourceApi res = new api.AppengineApi(mock).apps.locations;
var arg_appsId = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2274,9 +2274,9 @@
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["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -2285,7 +2285,7 @@
var resp = convert.JSON.encode(buildListLocationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListLocationsResponse response) {
+ res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListLocationsResponse response) {
checkListLocationsResponse(response);
})));
});
@@ -2525,8 +2525,8 @@
var mock = new HttpServerMock();
api.AppsServicesResourceApi res = new api.AppengineApi(mock).apps.services;
var arg_appsId = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2560,8 +2560,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -2570,7 +2570,7 @@
var resp = convert.JSON.encode(buildListServicesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListServicesResponse response) {
+ res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListServicesResponse response) {
checkListServicesResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/appengine/v1beta_test.dart b/generated/googleapis_beta/test/appengine/v1beta_test.dart
index dbb8e9b..648ba04 100644
--- a/generated/googleapis_beta/test/appengine/v1beta_test.dart
+++ b/generated/googleapis_beta/test/appengine/v1beta_test.dart
@@ -97,14 +97,14 @@
buildCounterApiEndpointHandler--;
}
-buildUnnamed3573() {
+buildUnnamed3605() {
var o = new core.List<api.UrlDispatchRule>();
o.add(buildUrlDispatchRule());
o.add(buildUrlDispatchRule());
return o;
}
-checkUnnamed3573(core.List<api.UrlDispatchRule> o) {
+checkUnnamed3605(core.List<api.UrlDispatchRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlDispatchRule(o[0]);
checkUrlDispatchRule(o[1]);
@@ -120,7 +120,7 @@
o.defaultBucket = "foo";
o.defaultCookieExpiration = "foo";
o.defaultHostname = "foo";
- o.dispatchRules = buildUnnamed3573();
+ o.dispatchRules = buildUnnamed3605();
o.featureSettings = buildFeatureSettings();
o.gcrDomain = "foo";
o.iap = buildIdentityAwareProxy();
@@ -141,7 +141,7 @@
unittest.expect(o.defaultBucket, unittest.equals('foo'));
unittest.expect(o.defaultCookieExpiration, unittest.equals('foo'));
unittest.expect(o.defaultHostname, unittest.equals('foo'));
- checkUnnamed3573(o.dispatchRules);
+ checkUnnamed3605(o.dispatchRules);
checkFeatureSettings(o.featureSettings);
unittest.expect(o.gcrDomain, unittest.equals('foo'));
checkIdentityAwareProxy(o.iap);
@@ -153,27 +153,27 @@
buildCounterApplication--;
}
-buildUnnamed3574() {
+buildUnnamed3606() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3574(core.List<core.String> o) {
+checkUnnamed3606(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3575() {
+buildUnnamed3607() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3575(core.List<core.String> o) {
+checkUnnamed3607(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -187,11 +187,11 @@
o.certificateRawData = buildCertificateRawData();
o.displayName = "foo";
o.domainMappingsCount = 42;
- o.domainNames = buildUnnamed3574();
+ o.domainNames = buildUnnamed3606();
o.expireTime = "foo";
o.id = "foo";
o.name = "foo";
- o.visibleDomainMappings = buildUnnamed3575();
+ o.visibleDomainMappings = buildUnnamed3607();
}
buildCounterAuthorizedCertificate--;
return o;
@@ -203,11 +203,11 @@
checkCertificateRawData(o.certificateRawData);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.domainMappingsCount, unittest.equals(42));
- checkUnnamed3574(o.domainNames);
+ checkUnnamed3606(o.domainNames);
unittest.expect(o.expireTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3575(o.visibleDomainMappings);
+ checkUnnamed3607(o.visibleDomainMappings);
}
buildCounterAuthorizedCertificate--;
}
@@ -297,14 +297,14 @@
buildCounterBasicScaling--;
}
-buildUnnamed3576() {
+buildUnnamed3608() {
var o = new core.List<api.FirewallRule>();
o.add(buildFirewallRule());
o.add(buildFirewallRule());
return o;
}
-checkUnnamed3576(core.List<api.FirewallRule> o) {
+checkUnnamed3608(core.List<api.FirewallRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallRule(o[0]);
checkFirewallRule(o[1]);
@@ -315,7 +315,7 @@
var o = new api.BatchUpdateIngressRulesRequest();
buildCounterBatchUpdateIngressRulesRequest++;
if (buildCounterBatchUpdateIngressRulesRequest < 3) {
- o.ingressRules = buildUnnamed3576();
+ o.ingressRules = buildUnnamed3608();
}
buildCounterBatchUpdateIngressRulesRequest--;
return o;
@@ -324,19 +324,19 @@
checkBatchUpdateIngressRulesRequest(api.BatchUpdateIngressRulesRequest o) {
buildCounterBatchUpdateIngressRulesRequest++;
if (buildCounterBatchUpdateIngressRulesRequest < 3) {
- checkUnnamed3576(o.ingressRules);
+ checkUnnamed3608(o.ingressRules);
}
buildCounterBatchUpdateIngressRulesRequest--;
}
-buildUnnamed3577() {
+buildUnnamed3609() {
var o = new core.List<api.FirewallRule>();
o.add(buildFirewallRule());
o.add(buildFirewallRule());
return o;
}
-checkUnnamed3577(core.List<api.FirewallRule> o) {
+checkUnnamed3609(core.List<api.FirewallRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallRule(o[0]);
checkFirewallRule(o[1]);
@@ -347,7 +347,7 @@
var o = new api.BatchUpdateIngressRulesResponse();
buildCounterBatchUpdateIngressRulesResponse++;
if (buildCounterBatchUpdateIngressRulesResponse < 3) {
- o.ingressRules = buildUnnamed3577();
+ o.ingressRules = buildUnnamed3609();
}
buildCounterBatchUpdateIngressRulesResponse--;
return o;
@@ -356,7 +356,7 @@
checkBatchUpdateIngressRulesResponse(api.BatchUpdateIngressRulesResponse o) {
buildCounterBatchUpdateIngressRulesResponse++;
if (buildCounterBatchUpdateIngressRulesResponse < 3) {
- checkUnnamed3577(o.ingressRules);
+ checkUnnamed3609(o.ingressRules);
}
buildCounterBatchUpdateIngressRulesResponse--;
}
@@ -460,14 +460,14 @@
buildCounterDebugInstanceRequest--;
}
-buildUnnamed3578() {
+buildUnnamed3610() {
var o = new core.Map<core.String, api.FileInfo>();
o["x"] = buildFileInfo();
o["y"] = buildFileInfo();
return o;
}
-checkUnnamed3578(core.Map<core.String, api.FileInfo> o) {
+checkUnnamed3610(core.Map<core.String, api.FileInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileInfo(o["x"]);
checkFileInfo(o["y"]);
@@ -480,7 +480,7 @@
if (buildCounterDeployment < 3) {
o.build = buildBuildInfo();
o.container = buildContainerInfo();
- o.files = buildUnnamed3578();
+ o.files = buildUnnamed3610();
o.zip = buildZipInfo();
}
buildCounterDeployment--;
@@ -492,7 +492,7 @@
if (buildCounterDeployment < 3) {
checkBuildInfo(o.build);
checkContainerInfo(o.container);
- checkUnnamed3578(o.files);
+ checkUnnamed3610(o.files);
checkZipInfo(o.zip);
}
buildCounterDeployment--;
@@ -523,14 +523,14 @@
buildCounterDiskUtilization--;
}
-buildUnnamed3579() {
+buildUnnamed3611() {
var o = new core.List<api.ResourceRecord>();
o.add(buildResourceRecord());
o.add(buildResourceRecord());
return o;
}
-checkUnnamed3579(core.List<api.ResourceRecord> o) {
+checkUnnamed3611(core.List<api.ResourceRecord> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecord(o[0]);
checkResourceRecord(o[1]);
@@ -543,7 +543,7 @@
if (buildCounterDomainMapping < 3) {
o.id = "foo";
o.name = "foo";
- o.resourceRecords = buildUnnamed3579();
+ o.resourceRecords = buildUnnamed3611();
o.sslSettings = buildSslSettings();
}
buildCounterDomainMapping--;
@@ -555,7 +555,7 @@
if (buildCounterDomainMapping < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3579(o.resourceRecords);
+ checkUnnamed3611(o.resourceRecords);
checkSslSettings(o.sslSettings);
}
buildCounterDomainMapping--;
@@ -815,14 +815,14 @@
buildCounterLibrary--;
}
-buildUnnamed3580() {
+buildUnnamed3612() {
var o = new core.List<api.AuthorizedCertificate>();
o.add(buildAuthorizedCertificate());
o.add(buildAuthorizedCertificate());
return o;
}
-checkUnnamed3580(core.List<api.AuthorizedCertificate> o) {
+checkUnnamed3612(core.List<api.AuthorizedCertificate> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthorizedCertificate(o[0]);
checkAuthorizedCertificate(o[1]);
@@ -833,7 +833,7 @@
var o = new api.ListAuthorizedCertificatesResponse();
buildCounterListAuthorizedCertificatesResponse++;
if (buildCounterListAuthorizedCertificatesResponse < 3) {
- o.certificates = buildUnnamed3580();
+ o.certificates = buildUnnamed3612();
o.nextPageToken = "foo";
}
buildCounterListAuthorizedCertificatesResponse--;
@@ -843,20 +843,20 @@
checkListAuthorizedCertificatesResponse(api.ListAuthorizedCertificatesResponse o) {
buildCounterListAuthorizedCertificatesResponse++;
if (buildCounterListAuthorizedCertificatesResponse < 3) {
- checkUnnamed3580(o.certificates);
+ checkUnnamed3612(o.certificates);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAuthorizedCertificatesResponse--;
}
-buildUnnamed3581() {
+buildUnnamed3613() {
var o = new core.List<api.AuthorizedDomain>();
o.add(buildAuthorizedDomain());
o.add(buildAuthorizedDomain());
return o;
}
-checkUnnamed3581(core.List<api.AuthorizedDomain> o) {
+checkUnnamed3613(core.List<api.AuthorizedDomain> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthorizedDomain(o[0]);
checkAuthorizedDomain(o[1]);
@@ -867,7 +867,7 @@
var o = new api.ListAuthorizedDomainsResponse();
buildCounterListAuthorizedDomainsResponse++;
if (buildCounterListAuthorizedDomainsResponse < 3) {
- o.domains = buildUnnamed3581();
+ o.domains = buildUnnamed3613();
o.nextPageToken = "foo";
}
buildCounterListAuthorizedDomainsResponse--;
@@ -877,20 +877,20 @@
checkListAuthorizedDomainsResponse(api.ListAuthorizedDomainsResponse o) {
buildCounterListAuthorizedDomainsResponse++;
if (buildCounterListAuthorizedDomainsResponse < 3) {
- checkUnnamed3581(o.domains);
+ checkUnnamed3613(o.domains);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAuthorizedDomainsResponse--;
}
-buildUnnamed3582() {
+buildUnnamed3614() {
var o = new core.List<api.DomainMapping>();
o.add(buildDomainMapping());
o.add(buildDomainMapping());
return o;
}
-checkUnnamed3582(core.List<api.DomainMapping> o) {
+checkUnnamed3614(core.List<api.DomainMapping> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomainMapping(o[0]);
checkDomainMapping(o[1]);
@@ -901,7 +901,7 @@
var o = new api.ListDomainMappingsResponse();
buildCounterListDomainMappingsResponse++;
if (buildCounterListDomainMappingsResponse < 3) {
- o.domainMappings = buildUnnamed3582();
+ o.domainMappings = buildUnnamed3614();
o.nextPageToken = "foo";
}
buildCounterListDomainMappingsResponse--;
@@ -911,20 +911,20 @@
checkListDomainMappingsResponse(api.ListDomainMappingsResponse o) {
buildCounterListDomainMappingsResponse++;
if (buildCounterListDomainMappingsResponse < 3) {
- checkUnnamed3582(o.domainMappings);
+ checkUnnamed3614(o.domainMappings);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDomainMappingsResponse--;
}
-buildUnnamed3583() {
+buildUnnamed3615() {
var o = new core.List<api.FirewallRule>();
o.add(buildFirewallRule());
o.add(buildFirewallRule());
return o;
}
-checkUnnamed3583(core.List<api.FirewallRule> o) {
+checkUnnamed3615(core.List<api.FirewallRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallRule(o[0]);
checkFirewallRule(o[1]);
@@ -935,7 +935,7 @@
var o = new api.ListIngressRulesResponse();
buildCounterListIngressRulesResponse++;
if (buildCounterListIngressRulesResponse < 3) {
- o.ingressRules = buildUnnamed3583();
+ o.ingressRules = buildUnnamed3615();
o.nextPageToken = "foo";
}
buildCounterListIngressRulesResponse--;
@@ -945,20 +945,20 @@
checkListIngressRulesResponse(api.ListIngressRulesResponse o) {
buildCounterListIngressRulesResponse++;
if (buildCounterListIngressRulesResponse < 3) {
- checkUnnamed3583(o.ingressRules);
+ checkUnnamed3615(o.ingressRules);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListIngressRulesResponse--;
}
-buildUnnamed3584() {
+buildUnnamed3616() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed3584(core.List<api.Instance> o) {
+checkUnnamed3616(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -969,7 +969,7 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed3584();
+ o.instances = buildUnnamed3616();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -979,20 +979,20 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed3584(o.instances);
+ checkUnnamed3616(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed3585() {
+buildUnnamed3617() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed3585(core.List<api.Location> o) {
+checkUnnamed3617(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -1003,7 +1003,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed3585();
+ o.locations = buildUnnamed3617();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -1013,20 +1013,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed3585(o.locations);
+ checkUnnamed3617(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed3586() {
+buildUnnamed3618() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3586(core.List<api.Operation> o) {
+checkUnnamed3618(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1038,7 +1038,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3586();
+ o.operations = buildUnnamed3618();
}
buildCounterListOperationsResponse--;
return o;
@@ -1048,19 +1048,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3586(o.operations);
+ checkUnnamed3618(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed3587() {
+buildUnnamed3619() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed3587(core.List<api.Service> o) {
+checkUnnamed3619(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -1072,7 +1072,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed3587();
+ o.services = buildUnnamed3619();
}
buildCounterListServicesResponse--;
return o;
@@ -1082,19 +1082,19 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3587(o.services);
+ checkUnnamed3619(o.services);
}
buildCounterListServicesResponse--;
}
-buildUnnamed3588() {
+buildUnnamed3620() {
var o = new core.List<api.Version>();
o.add(buildVersion());
o.add(buildVersion());
return o;
}
-checkUnnamed3588(core.List<api.Version> o) {
+checkUnnamed3620(core.List<api.Version> o) {
unittest.expect(o, unittest.hasLength(2));
checkVersion(o[0]);
checkVersion(o[1]);
@@ -1106,7 +1106,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
o.nextPageToken = "foo";
- o.versions = buildUnnamed3588();
+ o.versions = buildUnnamed3620();
}
buildCounterListVersionsResponse--;
return o;
@@ -1116,7 +1116,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3588(o.versions);
+ checkUnnamed3620(o.versions);
}
buildCounterListVersionsResponse--;
}
@@ -1152,27 +1152,27 @@
buildCounterLivenessCheck--;
}
-buildUnnamed3589() {
+buildUnnamed3621() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3589(core.Map<core.String, core.String> o) {
+checkUnnamed3621(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3590() {
+buildUnnamed3622() {
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;
}
-checkUnnamed3590(core.Map<core.String, core.Object> o) {
+checkUnnamed3622(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'));
@@ -1183,9 +1183,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed3589();
+ o.labels = buildUnnamed3621();
o.locationId = "foo";
- o.metadata = buildUnnamed3590();
+ o.metadata = buildUnnamed3622();
o.name = "foo";
}
buildCounterLocation--;
@@ -1195,9 +1195,9 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed3589(o.labels);
+ checkUnnamed3621(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed3590(o.metadata);
+ checkUnnamed3622(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -1243,14 +1243,14 @@
buildCounterManualScaling--;
}
-buildUnnamed3591() {
+buildUnnamed3623() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3591(core.List<core.String> o) {
+checkUnnamed3623(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1261,7 +1261,7 @@
var o = new api.Network();
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- o.forwardedPorts = buildUnnamed3591();
+ o.forwardedPorts = buildUnnamed3623();
o.instanceTag = "foo";
o.name = "foo";
o.subnetworkName = "foo";
@@ -1273,7 +1273,7 @@
checkNetwork(api.Network o) {
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- checkUnnamed3591(o.forwardedPorts);
+ checkUnnamed3623(o.forwardedPorts);
unittest.expect(o.instanceTag, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.subnetworkName, unittest.equals('foo'));
@@ -1306,27 +1306,27 @@
buildCounterNetworkUtilization--;
}
-buildUnnamed3592() {
+buildUnnamed3624() {
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;
}
-checkUnnamed3592(core.Map<core.String, core.Object> o) {
+checkUnnamed3624(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'));
}
-buildUnnamed3593() {
+buildUnnamed3625() {
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;
}
-checkUnnamed3593(core.Map<core.String, core.Object> o) {
+checkUnnamed3625(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'));
@@ -1339,9 +1339,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3592();
+ o.metadata = buildUnnamed3624();
o.name = "foo";
- o.response = buildUnnamed3593();
+ o.response = buildUnnamed3625();
}
buildCounterOperation--;
return o;
@@ -1352,9 +1352,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3592(o.metadata);
+ checkUnnamed3624(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3593(o.response);
+ checkUnnamed3625(o.response);
}
buildCounterOperation--;
}
@@ -1415,14 +1415,14 @@
buildCounterOperationMetadataExperimental--;
}
-buildUnnamed3594() {
+buildUnnamed3626() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3594(core.List<core.String> o) {
+checkUnnamed3626(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1439,7 +1439,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed3594();
+ o.warning = buildUnnamed3626();
}
buildCounterOperationMetadataV1--;
return o;
@@ -1454,19 +1454,19 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3594(o.warning);
+ checkUnnamed3626(o.warning);
}
buildCounterOperationMetadataV1--;
}
-buildUnnamed3595() {
+buildUnnamed3627() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3595(core.List<core.String> o) {
+checkUnnamed3627(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1483,7 +1483,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed3595();
+ o.warning = buildUnnamed3627();
}
buildCounterOperationMetadataV1Alpha--;
return o;
@@ -1498,19 +1498,19 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3595(o.warning);
+ checkUnnamed3627(o.warning);
}
buildCounterOperationMetadataV1Alpha--;
}
-buildUnnamed3596() {
+buildUnnamed3628() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3596(core.List<core.String> o) {
+checkUnnamed3628(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1527,7 +1527,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed3596();
+ o.warning = buildUnnamed3628();
}
buildCounterOperationMetadataV1Beta--;
return o;
@@ -1542,7 +1542,7 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3596(o.warning);
+ checkUnnamed3628(o.warning);
}
buildCounterOperationMetadataV1Beta--;
}
@@ -1666,14 +1666,14 @@
buildCounterResourceRecord--;
}
-buildUnnamed3597() {
+buildUnnamed3629() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed3597(core.List<api.Volume> o) {
+checkUnnamed3629(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1687,7 +1687,7 @@
o.cpu = 42.0;
o.diskGb = 42.0;
o.memoryGb = 42.0;
- o.volumes = buildUnnamed3597();
+ o.volumes = buildUnnamed3629();
}
buildCounterResources--;
return o;
@@ -1699,7 +1699,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));
- checkUnnamed3597(o.volumes);
+ checkUnnamed3629(o.volumes);
}
buildCounterResources--;
}
@@ -1790,14 +1790,14 @@
buildCounterStandardSchedulerSettings--;
}
-buildUnnamed3598() {
+buildUnnamed3630() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3598(core.Map<core.String, core.String> o) {
+checkUnnamed3630(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1810,7 +1810,7 @@
if (buildCounterStaticFilesHandler < 3) {
o.applicationReadable = true;
o.expiration = "foo";
- o.httpHeaders = buildUnnamed3598();
+ o.httpHeaders = buildUnnamed3630();
o.mimeType = "foo";
o.path = "foo";
o.requireMatchingFile = true;
@@ -1825,7 +1825,7 @@
if (buildCounterStaticFilesHandler < 3) {
unittest.expect(o.applicationReadable, unittest.isTrue);
unittest.expect(o.expiration, unittest.equals('foo'));
- checkUnnamed3598(o.httpHeaders);
+ checkUnnamed3630(o.httpHeaders);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.requireMatchingFile, unittest.isTrue);
@@ -1834,30 +1834,30 @@
buildCounterStaticFilesHandler--;
}
-buildUnnamed3599() {
+buildUnnamed3631() {
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;
}
-checkUnnamed3599(core.Map<core.String, core.Object> o) {
+checkUnnamed3631(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'));
}
-buildUnnamed3600() {
+buildUnnamed3632() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3599());
- o.add(buildUnnamed3599());
+ o.add(buildUnnamed3631());
+ o.add(buildUnnamed3631());
return o;
}
-checkUnnamed3600(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3632(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3599(o[0]);
- checkUnnamed3599(o[1]);
+ checkUnnamed3631(o[0]);
+ checkUnnamed3631(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1866,7 +1866,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3600();
+ o.details = buildUnnamed3632();
o.message = "foo";
}
buildCounterStatus--;
@@ -1877,20 +1877,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3600(o.details);
+ checkUnnamed3632(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed3601() {
+buildUnnamed3633() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed3601(core.Map<core.String, core.double> o) {
+checkUnnamed3633(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));
@@ -1901,7 +1901,7 @@
var o = new api.TrafficSplit();
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- o.allocations = buildUnnamed3601();
+ o.allocations = buildUnnamed3633();
o.shardBy = "foo";
}
buildCounterTrafficSplit--;
@@ -1911,7 +1911,7 @@
checkTrafficSplit(api.TrafficSplit o) {
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- checkUnnamed3601(o.allocations);
+ checkUnnamed3633(o.allocations);
unittest.expect(o.shardBy, unittest.equals('foo'));
}
buildCounterTrafficSplit--;
@@ -1973,79 +1973,79 @@
buildCounterUrlMap--;
}
-buildUnnamed3602() {
+buildUnnamed3634() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3602(core.Map<core.String, core.String> o) {
+checkUnnamed3634(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3603() {
+buildUnnamed3635() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3603(core.Map<core.String, core.String> o) {
+checkUnnamed3635(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3604() {
+buildUnnamed3636() {
var o = new core.List<api.ErrorHandler>();
o.add(buildErrorHandler());
o.add(buildErrorHandler());
return o;
}
-checkUnnamed3604(core.List<api.ErrorHandler> o) {
+checkUnnamed3636(core.List<api.ErrorHandler> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorHandler(o[0]);
checkErrorHandler(o[1]);
}
-buildUnnamed3605() {
+buildUnnamed3637() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed3605(core.List<api.UrlMap> o) {
+checkUnnamed3637(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
}
-buildUnnamed3606() {
+buildUnnamed3638() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3606(core.List<core.String> o) {
+checkUnnamed3638(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3607() {
+buildUnnamed3639() {
var o = new core.List<api.Library>();
o.add(buildLibrary());
o.add(buildLibrary());
return o;
}
-checkUnnamed3607(core.List<api.Library> o) {
+checkUnnamed3639(core.List<api.Library> o) {
unittest.expect(o, unittest.hasLength(2));
checkLibrary(o[0]);
checkLibrary(o[1]);
@@ -2059,7 +2059,7 @@
o.apiConfig = buildApiConfigHandler();
o.automaticScaling = buildAutomaticScaling();
o.basicScaling = buildBasicScaling();
- o.betaSettings = buildUnnamed3602();
+ o.betaSettings = buildUnnamed3634();
o.createTime = "foo";
o.createdBy = "foo";
o.defaultExpiration = "foo";
@@ -2067,14 +2067,14 @@
o.diskUsageBytes = "foo";
o.endpointsApiService = buildEndpointsApiService();
o.env = "foo";
- o.envVariables = buildUnnamed3603();
- o.errorHandlers = buildUnnamed3604();
- o.handlers = buildUnnamed3605();
+ o.envVariables = buildUnnamed3635();
+ o.errorHandlers = buildUnnamed3636();
+ o.handlers = buildUnnamed3637();
o.healthCheck = buildHealthCheck();
o.id = "foo";
- o.inboundServices = buildUnnamed3606();
+ o.inboundServices = buildUnnamed3638();
o.instanceClass = "foo";
- o.libraries = buildUnnamed3607();
+ o.libraries = buildUnnamed3639();
o.livenessCheck = buildLivenessCheck();
o.manualScaling = buildManualScaling();
o.name = "foo";
@@ -2099,7 +2099,7 @@
checkApiConfigHandler(o.apiConfig);
checkAutomaticScaling(o.automaticScaling);
checkBasicScaling(o.basicScaling);
- checkUnnamed3602(o.betaSettings);
+ checkUnnamed3634(o.betaSettings);
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.createdBy, unittest.equals('foo'));
unittest.expect(o.defaultExpiration, unittest.equals('foo'));
@@ -2107,14 +2107,14 @@
unittest.expect(o.diskUsageBytes, unittest.equals('foo'));
checkEndpointsApiService(o.endpointsApiService);
unittest.expect(o.env, unittest.equals('foo'));
- checkUnnamed3603(o.envVariables);
- checkUnnamed3604(o.errorHandlers);
- checkUnnamed3605(o.handlers);
+ checkUnnamed3635(o.envVariables);
+ checkUnnamed3636(o.errorHandlers);
+ checkUnnamed3637(o.handlers);
checkHealthCheck(o.healthCheck);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3606(o.inboundServices);
+ checkUnnamed3638(o.inboundServices);
unittest.expect(o.instanceClass, unittest.equals('foo'));
- checkUnnamed3607(o.libraries);
+ checkUnnamed3639(o.libraries);
checkLivenessCheck(o.livenessCheck);
checkManualScaling(o.manualScaling);
unittest.expect(o.name, unittest.equals('foo'));
@@ -3151,9 +3151,9 @@
var mock = new HttpServerMock();
api.AppsAuthorizedCertificatesResourceApi res = new api.AppengineApi(mock).apps.authorizedCertificates;
var arg_appsId = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_view = "foo";
- var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3187,9 +3187,9 @@
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["view"].first, unittest.equals(arg_view));
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -3198,7 +3198,7 @@
var resp = convert.JSON.encode(buildListAuthorizedCertificatesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, pageSize: arg_pageSize, view: arg_view, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListAuthorizedCertificatesResponse response) {
+ res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize, view: arg_view).then(unittest.expectAsync1(((api.ListAuthorizedCertificatesResponse response) {
checkListAuthorizedCertificatesResponse(response);
})));
});
@@ -4014,9 +4014,9 @@
var mock = new HttpServerMock();
api.AppsLocationsResourceApi res = new api.AppengineApi(mock).apps.locations;
var arg_appsId = "foo";
- var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4050,9 +4050,9 @@
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["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));
var h = {
@@ -4061,7 +4061,7 @@
var resp = convert.JSON.encode(buildListLocationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListLocationsResponse response) {
+ res.list(arg_appsId, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListLocationsResponse response) {
checkListLocationsResponse(response);
})));
});
@@ -4130,9 +4130,9 @@
var mock = new HttpServerMock();
api.AppsOperationsResourceApi res = new api.AppengineApi(mock).apps.operations;
var arg_appsId = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4166,9 +4166,9 @@
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["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -4177,7 +4177,7 @@
var resp = convert.JSON.encode(buildListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
+ res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
@@ -4615,9 +4615,9 @@
api.AppsServicesVersionsResourceApi res = new api.AppengineApi(mock).apps.services.versions;
var arg_appsId = "foo";
var arg_servicesId = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_view = "foo";
- var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4658,9 +4658,9 @@
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["view"].first, unittest.equals(arg_view));
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -4669,7 +4669,7 @@
var resp = convert.JSON.encode(buildListVersionsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, arg_servicesId, pageSize: arg_pageSize, view: arg_view, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListVersionsResponse response) {
+ res.list(arg_appsId, arg_servicesId, pageToken: arg_pageToken, pageSize: arg_pageSize, view: arg_view).then(unittest.expectAsync1(((api.ListVersionsResponse response) {
checkListVersionsResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/cloudresourcemanager/v1beta1_test.dart b/generated/googleapis_beta/test/cloudresourcemanager/v1beta1_test.dart
index 97d35e1..86952af 100644
--- a/generated/googleapis_beta/test/cloudresourcemanager/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/cloudresourcemanager/v1beta1_test.dart
@@ -70,14 +70,14 @@
buildCounterAncestor--;
}
-buildUnnamed3394() {
+buildUnnamed3426() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed3394(core.List<api.AuditLogConfig> o) {
+checkUnnamed3426(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -88,7 +88,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed3394();
+ o.auditLogConfigs = buildUnnamed3426();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -98,20 +98,20 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed3394(o.auditLogConfigs);
+ checkUnnamed3426(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed3395() {
+buildUnnamed3427() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3395(core.List<core.String> o) {
+checkUnnamed3427(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -122,7 +122,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed3395();
+ o.exemptedMembers = buildUnnamed3427();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -132,20 +132,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed3395(o.exemptedMembers);
+ checkUnnamed3427(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed3396() {
+buildUnnamed3428() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3396(core.List<core.String> o) {
+checkUnnamed3428(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -156,7 +156,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed3396();
+ o.members = buildUnnamed3428();
o.role = "foo";
}
buildCounterBinding--;
@@ -166,7 +166,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed3396(o.members);
+ checkUnnamed3428(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -250,14 +250,14 @@
buildCounterGetAncestryRequest--;
}
-buildUnnamed3397() {
+buildUnnamed3429() {
var o = new core.List<api.Ancestor>();
o.add(buildAncestor());
o.add(buildAncestor());
return o;
}
-checkUnnamed3397(core.List<api.Ancestor> o) {
+checkUnnamed3429(core.List<api.Ancestor> o) {
unittest.expect(o, unittest.hasLength(2));
checkAncestor(o[0]);
checkAncestor(o[1]);
@@ -268,7 +268,7 @@
var o = new api.GetAncestryResponse();
buildCounterGetAncestryResponse++;
if (buildCounterGetAncestryResponse < 3) {
- o.ancestor = buildUnnamed3397();
+ o.ancestor = buildUnnamed3429();
}
buildCounterGetAncestryResponse--;
return o;
@@ -277,7 +277,7 @@
checkGetAncestryResponse(api.GetAncestryResponse o) {
buildCounterGetAncestryResponse++;
if (buildCounterGetAncestryResponse < 3) {
- checkUnnamed3397(o.ancestor);
+ checkUnnamed3429(o.ancestor);
}
buildCounterGetAncestryResponse--;
}
@@ -299,14 +299,14 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed3398() {
+buildUnnamed3430() {
var o = new core.List<api.Organization>();
o.add(buildOrganization());
o.add(buildOrganization());
return o;
}
-checkUnnamed3398(core.List<api.Organization> o) {
+checkUnnamed3430(core.List<api.Organization> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrganization(o[0]);
checkOrganization(o[1]);
@@ -318,7 +318,7 @@
buildCounterListOrganizationsResponse++;
if (buildCounterListOrganizationsResponse < 3) {
o.nextPageToken = "foo";
- o.organizations = buildUnnamed3398();
+ o.organizations = buildUnnamed3430();
}
buildCounterListOrganizationsResponse--;
return o;
@@ -328,19 +328,19 @@
buildCounterListOrganizationsResponse++;
if (buildCounterListOrganizationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3398(o.organizations);
+ checkUnnamed3430(o.organizations);
}
buildCounterListOrganizationsResponse--;
}
-buildUnnamed3399() {
+buildUnnamed3431() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed3399(core.List<api.Project> o) {
+checkUnnamed3431(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -352,7 +352,7 @@
buildCounterListProjectsResponse++;
if (buildCounterListProjectsResponse < 3) {
o.nextPageToken = "foo";
- o.projects = buildUnnamed3399();
+ o.projects = buildUnnamed3431();
}
buildCounterListProjectsResponse--;
return o;
@@ -362,7 +362,7 @@
buildCounterListProjectsResponse++;
if (buildCounterListProjectsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3399(o.projects);
+ checkUnnamed3431(o.projects);
}
buildCounterListProjectsResponse--;
}
@@ -415,27 +415,27 @@
buildCounterOrganizationOwner--;
}
-buildUnnamed3400() {
+buildUnnamed3432() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed3400(core.List<api.AuditConfig> o) {
+checkUnnamed3432(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed3401() {
+buildUnnamed3433() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed3401(core.List<api.Binding> o) {
+checkUnnamed3433(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -446,8 +446,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed3400();
- o.bindings = buildUnnamed3401();
+ o.auditConfigs = buildUnnamed3432();
+ o.bindings = buildUnnamed3433();
o.etag = "foo";
o.version = 42;
}
@@ -458,22 +458,22 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed3400(o.auditConfigs);
- checkUnnamed3401(o.bindings);
+ checkUnnamed3432(o.auditConfigs);
+ checkUnnamed3433(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed3402() {
+buildUnnamed3434() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3402(core.Map<core.String, core.String> o) {
+checkUnnamed3434(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -485,7 +485,7 @@
buildCounterProject++;
if (buildCounterProject < 3) {
o.createTime = "foo";
- o.labels = buildUnnamed3402();
+ o.labels = buildUnnamed3434();
o.lifecycleState = "foo";
o.name = "foo";
o.parent = buildResourceId();
@@ -500,7 +500,7 @@
buildCounterProject++;
if (buildCounterProject < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed3402(o.labels);
+ checkUnnamed3434(o.labels);
unittest.expect(o.lifecycleState, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkResourceId(o.parent);
@@ -575,14 +575,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed3403() {
+buildUnnamed3435() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3403(core.List<core.String> o) {
+checkUnnamed3435(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -593,7 +593,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed3403();
+ o.permissions = buildUnnamed3435();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -602,19 +602,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed3403(o.permissions);
+ checkUnnamed3435(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed3404() {
+buildUnnamed3436() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3404(core.List<core.String> o) {
+checkUnnamed3436(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -625,7 +625,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed3404();
+ o.permissions = buildUnnamed3436();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -634,7 +634,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed3404(o.permissions);
+ checkUnnamed3436(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1410,9 +1410,9 @@
var mock = new HttpServerMock();
api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projects;
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1439,9 +1439,9 @@
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["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -1450,7 +1450,7 @@
var resp = convert.JSON.encode(buildListProjectsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListProjectsResponse response) {
+ res.list(pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListProjectsResponse response) {
checkListProjectsResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/clouduseraccounts/beta_test.dart b/generated/googleapis_beta/test/clouduseraccounts/beta_test.dart
index 87af204..4594b19 100644
--- a/generated/googleapis_beta/test/clouduseraccounts/beta_test.dart
+++ b/generated/googleapis_beta/test/clouduseraccounts/beta_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3234() {
+buildUnnamed3258() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3234(core.List<core.String> o) {
+checkUnnamed3258(core.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 @@
var o = new api.AuthorizedKeysView();
buildCounterAuthorizedKeysView++;
if (buildCounterAuthorizedKeysView < 3) {
- o.keys = buildUnnamed3234();
+ o.keys = buildUnnamed3258();
o.sudoer = true;
}
buildCounterAuthorizedKeysView--;
@@ -79,20 +79,20 @@
checkAuthorizedKeysView(api.AuthorizedKeysView o) {
buildCounterAuthorizedKeysView++;
if (buildCounterAuthorizedKeysView < 3) {
- checkUnnamed3234(o.keys);
+ checkUnnamed3258(o.keys);
unittest.expect(o.sudoer, unittest.isTrue);
}
buildCounterAuthorizedKeysView--;
}
-buildUnnamed3235() {
+buildUnnamed3259() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3235(core.List<core.String> o) {
+checkUnnamed3259(core.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.description = "foo";
o.id = "foo";
o.kind = "foo";
- o.members = buildUnnamed3235();
+ o.members = buildUnnamed3259();
o.name = "foo";
o.selfLink = "foo";
}
@@ -122,21 +122,21 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3235(o.members);
+ checkUnnamed3259(o.members);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterGroup--;
}
-buildUnnamed3236() {
+buildUnnamed3260() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed3236(core.List<api.Group> o) {
+checkUnnamed3260(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -148,7 +148,7 @@
buildCounterGroupList++;
if (buildCounterGroupList < 3) {
o.id = "foo";
- o.items = buildUnnamed3236();
+ o.items = buildUnnamed3260();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -161,7 +161,7 @@
buildCounterGroupList++;
if (buildCounterGroupList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3236(o.items);
+ checkUnnamed3260(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -169,14 +169,14 @@
buildCounterGroupList--;
}
-buildUnnamed3237() {
+buildUnnamed3261() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3237(core.List<core.String> o) {
+checkUnnamed3261(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -187,7 +187,7 @@
var o = new api.GroupsAddMemberRequest();
buildCounterGroupsAddMemberRequest++;
if (buildCounterGroupsAddMemberRequest < 3) {
- o.users = buildUnnamed3237();
+ o.users = buildUnnamed3261();
}
buildCounterGroupsAddMemberRequest--;
return o;
@@ -196,19 +196,19 @@
checkGroupsAddMemberRequest(api.GroupsAddMemberRequest o) {
buildCounterGroupsAddMemberRequest++;
if (buildCounterGroupsAddMemberRequest < 3) {
- checkUnnamed3237(o.users);
+ checkUnnamed3261(o.users);
}
buildCounterGroupsAddMemberRequest--;
}
-buildUnnamed3238() {
+buildUnnamed3262() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3238(core.List<core.String> o) {
+checkUnnamed3262(core.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 @@
var o = new api.GroupsRemoveMemberRequest();
buildCounterGroupsRemoveMemberRequest++;
if (buildCounterGroupsRemoveMemberRequest < 3) {
- o.users = buildUnnamed3238();
+ o.users = buildUnnamed3262();
}
buildCounterGroupsRemoveMemberRequest--;
return o;
@@ -228,32 +228,32 @@
checkGroupsRemoveMemberRequest(api.GroupsRemoveMemberRequest o) {
buildCounterGroupsRemoveMemberRequest++;
if (buildCounterGroupsRemoveMemberRequest < 3) {
- checkUnnamed3238(o.users);
+ checkUnnamed3262(o.users);
}
buildCounterGroupsRemoveMemberRequest--;
}
-buildUnnamed3239() {
+buildUnnamed3263() {
var o = new core.List<api.LinuxGroupView>();
o.add(buildLinuxGroupView());
o.add(buildLinuxGroupView());
return o;
}
-checkUnnamed3239(core.List<api.LinuxGroupView> o) {
+checkUnnamed3263(core.List<api.LinuxGroupView> o) {
unittest.expect(o, unittest.hasLength(2));
checkLinuxGroupView(o[0]);
checkLinuxGroupView(o[1]);
}
-buildUnnamed3240() {
+buildUnnamed3264() {
var o = new core.List<api.LinuxUserView>();
o.add(buildLinuxUserView());
o.add(buildLinuxUserView());
return o;
}
-checkUnnamed3240(core.List<api.LinuxUserView> o) {
+checkUnnamed3264(core.List<api.LinuxUserView> o) {
unittest.expect(o, unittest.hasLength(2));
checkLinuxUserView(o[0]);
checkLinuxUserView(o[1]);
@@ -264,9 +264,9 @@
var o = new api.LinuxAccountViews();
buildCounterLinuxAccountViews++;
if (buildCounterLinuxAccountViews < 3) {
- o.groupViews = buildUnnamed3239();
+ o.groupViews = buildUnnamed3263();
o.kind = "foo";
- o.userViews = buildUnnamed3240();
+ o.userViews = buildUnnamed3264();
}
buildCounterLinuxAccountViews--;
return o;
@@ -275,9 +275,9 @@
checkLinuxAccountViews(api.LinuxAccountViews o) {
buildCounterLinuxAccountViews++;
if (buildCounterLinuxAccountViews < 3) {
- checkUnnamed3239(o.groupViews);
+ checkUnnamed3263(o.groupViews);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3240(o.userViews);
+ checkUnnamed3264(o.userViews);
}
buildCounterLinuxAccountViews--;
}
@@ -320,14 +320,14 @@
buildCounterLinuxGetLinuxAccountViewsResponse--;
}
-buildUnnamed3241() {
+buildUnnamed3265() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3241(core.List<core.String> o) {
+checkUnnamed3265(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -340,7 +340,7 @@
if (buildCounterLinuxGroupView < 3) {
o.gid = 42;
o.groupName = "foo";
- o.members = buildUnnamed3241();
+ o.members = buildUnnamed3265();
}
buildCounterLinuxGroupView--;
return o;
@@ -351,7 +351,7 @@
if (buildCounterLinuxGroupView < 3) {
unittest.expect(o.gid, unittest.equals(42));
unittest.expect(o.groupName, unittest.equals('foo'));
- checkUnnamed3241(o.members);
+ checkUnnamed3265(o.members);
}
buildCounterLinuxGroupView--;
}
@@ -408,14 +408,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed3242() {
+buildUnnamed3266() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed3242(core.List<api.OperationErrorErrors> o) {
+checkUnnamed3266(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -426,7 +426,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed3242();
+ o.errors = buildUnnamed3266();
}
buildCounterOperationError--;
return o;
@@ -435,7 +435,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed3242(o.errors);
+ checkUnnamed3266(o.errors);
}
buildCounterOperationError--;
}
@@ -461,14 +461,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed3243() {
+buildUnnamed3267() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed3243(core.List<api.OperationWarningsData> o) {
+checkUnnamed3267(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -480,7 +480,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed3243();
+ o.data = buildUnnamed3267();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -491,20 +491,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed3243(o.data);
+ checkUnnamed3267(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed3244() {
+buildUnnamed3268() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed3244(core.List<api.OperationWarnings> o) {
+checkUnnamed3268(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -536,7 +536,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed3244();
+ o.warnings = buildUnnamed3268();
o.zone = "foo";
}
buildCounterOperation--;
@@ -567,20 +567,20 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3244(o.warnings);
+ checkUnnamed3268(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed3245() {
+buildUnnamed3269() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3245(core.List<api.Operation> o) {
+checkUnnamed3269(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -592,7 +592,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
o.id = "foo";
- o.items = buildUnnamed3245();
+ o.items = buildUnnamed3269();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -605,7 +605,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3245(o.items);
+ checkUnnamed3269(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -640,27 +640,27 @@
buildCounterPublicKey--;
}
-buildUnnamed3246() {
+buildUnnamed3270() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3246(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'));
}
-buildUnnamed3247() {
+buildUnnamed3271() {
var o = new core.List<api.PublicKey>();
o.add(buildPublicKey());
o.add(buildPublicKey());
return o;
}
-checkUnnamed3247(core.List<api.PublicKey> o) {
+checkUnnamed3271(core.List<api.PublicKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkPublicKey(o[0]);
checkPublicKey(o[1]);
@@ -673,12 +673,12 @@
if (buildCounterUser < 3) {
o.creationTimestamp = "foo";
o.description = "foo";
- o.groups = buildUnnamed3246();
+ o.groups = buildUnnamed3270();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
o.owner = "foo";
- o.publicKeys = buildUnnamed3247();
+ o.publicKeys = buildUnnamed3271();
o.selfLink = "foo";
}
buildCounterUser--;
@@ -690,25 +690,25 @@
if (buildCounterUser < 3) {
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed3246(o.groups);
+ checkUnnamed3270(o.groups);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.owner, unittest.equals('foo'));
- checkUnnamed3247(o.publicKeys);
+ checkUnnamed3271(o.publicKeys);
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterUser--;
}
-buildUnnamed3248() {
+buildUnnamed3272() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed3248(core.List<api.User> o) {
+checkUnnamed3272(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -720,7 +720,7 @@
buildCounterUserList++;
if (buildCounterUserList < 3) {
o.id = "foo";
- o.items = buildUnnamed3248();
+ o.items = buildUnnamed3272();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -733,7 +733,7 @@
buildCounterUserList++;
if (buildCounterUserList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3248(o.items);
+ checkUnnamed3272(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
diff --git a/generated/googleapis_beta/test/dataflow/v1b3_test.dart b/generated/googleapis_beta/test/dataflow/v1b3_test.dart
index 1fa35d1..2b8368d 100644
--- a/generated/googleapis_beta/test/dataflow/v1b3_test.dart
+++ b/generated/googleapis_beta/test/dataflow/v1b3_test.dart
@@ -237,53 +237,53 @@
buildCounterComponentTransform--;
}
-buildUnnamed3069() {
+buildUnnamed3090() {
var o = new core.List<api.StreamLocation>();
o.add(buildStreamLocation());
o.add(buildStreamLocation());
return o;
}
-checkUnnamed3069(core.List<api.StreamLocation> o) {
+checkUnnamed3090(core.List<api.StreamLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkStreamLocation(o[0]);
checkStreamLocation(o[1]);
}
-buildUnnamed3070() {
+buildUnnamed3091() {
var o = new core.List<api.KeyRangeLocation>();
o.add(buildKeyRangeLocation());
o.add(buildKeyRangeLocation());
return o;
}
-checkUnnamed3070(core.List<api.KeyRangeLocation> o) {
+checkUnnamed3091(core.List<api.KeyRangeLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyRangeLocation(o[0]);
checkKeyRangeLocation(o[1]);
}
-buildUnnamed3071() {
+buildUnnamed3092() {
var o = new core.List<api.StreamLocation>();
o.add(buildStreamLocation());
o.add(buildStreamLocation());
return o;
}
-checkUnnamed3071(core.List<api.StreamLocation> o) {
+checkUnnamed3092(core.List<api.StreamLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkStreamLocation(o[0]);
checkStreamLocation(o[1]);
}
-buildUnnamed3072() {
+buildUnnamed3093() {
var o = new core.List<api.StateFamilyConfig>();
o.add(buildStateFamilyConfig());
o.add(buildStateFamilyConfig());
return o;
}
-checkUnnamed3072(core.List<api.StateFamilyConfig> o) {
+checkUnnamed3093(core.List<api.StateFamilyConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkStateFamilyConfig(o[0]);
checkStateFamilyConfig(o[1]);
@@ -295,10 +295,10 @@
buildCounterComputationTopology++;
if (buildCounterComputationTopology < 3) {
o.computationId = "foo";
- o.inputs = buildUnnamed3069();
- o.keyRanges = buildUnnamed3070();
- o.outputs = buildUnnamed3071();
- o.stateFamilies = buildUnnamed3072();
+ o.inputs = buildUnnamed3090();
+ o.keyRanges = buildUnnamed3091();
+ o.outputs = buildUnnamed3092();
+ o.stateFamilies = buildUnnamed3093();
o.systemStageName = "foo";
}
buildCounterComputationTopology--;
@@ -309,10 +309,10 @@
buildCounterComputationTopology++;
if (buildCounterComputationTopology < 3) {
unittest.expect(o.computationId, unittest.equals('foo'));
- checkUnnamed3069(o.inputs);
- checkUnnamed3070(o.keyRanges);
- checkUnnamed3071(o.outputs);
- checkUnnamed3072(o.stateFamilies);
+ checkUnnamed3090(o.inputs);
+ checkUnnamed3091(o.keyRanges);
+ checkUnnamed3092(o.outputs);
+ checkUnnamed3093(o.stateFamilies);
unittest.expect(o.systemStageName, unittest.equals('foo'));
}
buildCounterComputationTopology--;
@@ -463,14 +463,14 @@
buildCounterCounterUpdate--;
}
-buildUnnamed3073() {
+buildUnnamed3094() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3073(core.Map<core.String, core.String> o) {
+checkUnnamed3094(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -485,7 +485,7 @@
o.gcsPath = "foo";
o.jobName = "foo";
o.location = "foo";
- o.parameters = buildUnnamed3073();
+ o.parameters = buildUnnamed3094();
}
buildCounterCreateJobFromTemplateRequest--;
return o;
@@ -498,7 +498,7 @@
unittest.expect(o.gcsPath, unittest.equals('foo'));
unittest.expect(o.jobName, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
- checkUnnamed3073(o.parameters);
+ checkUnnamed3094(o.parameters);
}
buildCounterCreateJobFromTemplateRequest--;
}
@@ -522,14 +522,14 @@
buildCounterCustomSourceLocation--;
}
-buildUnnamed3074() {
+buildUnnamed3095() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3074(core.List<core.String> o) {
+checkUnnamed3095(core.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 @@
var o = new api.DataDiskAssignment();
buildCounterDataDiskAssignment++;
if (buildCounterDataDiskAssignment < 3) {
- o.dataDisks = buildUnnamed3074();
+ o.dataDisks = buildUnnamed3095();
o.vmInstance = "foo";
}
buildCounterDataDiskAssignment--;
@@ -550,7 +550,7 @@
checkDataDiskAssignment(api.DataDiskAssignment o) {
buildCounterDataDiskAssignment++;
if (buildCounterDataDiskAssignment < 3) {
- checkUnnamed3074(o.dataDisks);
+ checkUnnamed3095(o.dataDisks);
unittest.expect(o.vmInstance, unittest.equals('foo'));
}
buildCounterDataDiskAssignment--;
@@ -641,14 +641,14 @@
buildCounterDisplayData--;
}
-buildUnnamed3075() {
+buildUnnamed3096() {
var o = new core.List<api.LogBucket>();
o.add(buildLogBucket());
o.add(buildLogBucket());
return o;
}
-checkUnnamed3075(core.List<api.LogBucket> o) {
+checkUnnamed3096(core.List<api.LogBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogBucket(o[0]);
checkLogBucket(o[1]);
@@ -660,7 +660,7 @@
buildCounterDistributionUpdate++;
if (buildCounterDistributionUpdate < 3) {
o.count = buildSplitInt64();
- o.logBuckets = buildUnnamed3075();
+ o.logBuckets = buildUnnamed3096();
o.max = buildSplitInt64();
o.min = buildSplitInt64();
o.sum = buildSplitInt64();
@@ -674,7 +674,7 @@
buildCounterDistributionUpdate++;
if (buildCounterDistributionUpdate < 3) {
checkSplitInt64(o.count);
- checkUnnamed3075(o.logBuckets);
+ checkUnnamed3096(o.logBuckets);
checkSplitInt64(o.max);
checkSplitInt64(o.min);
checkSplitInt64(o.sum);
@@ -704,79 +704,79 @@
buildCounterDynamicSourceSplit--;
}
-buildUnnamed3076() {
+buildUnnamed3097() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3076(core.List<core.String> o) {
+checkUnnamed3097(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3077() {
+buildUnnamed3098() {
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;
}
-checkUnnamed3077(core.Map<core.String, core.Object> o) {
+checkUnnamed3098(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted2 = (o["x"]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
var casted3 = (o["y"]) 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'));
}
-buildUnnamed3078() {
+buildUnnamed3099() {
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;
}
-checkUnnamed3078(core.Map<core.String, core.Object> o) {
+checkUnnamed3099(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)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
var casted5 = (o["y"]) 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'));
}
-buildUnnamed3079() {
+buildUnnamed3100() {
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;
}
-checkUnnamed3079(core.Map<core.String, core.Object> o) {
+checkUnnamed3100(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)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo'));
var casted7 = (o["y"]) 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'));
}
-buildUnnamed3080() {
+buildUnnamed3101() {
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;
}
-checkUnnamed3080(core.Map<core.String, core.Object> o) {
+checkUnnamed3101(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted8 = (o["x"]) as core.Map; unittest.expect(casted8, unittest.hasLength(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo'));
var casted9 = (o["y"]) 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'));
}
-buildUnnamed3081() {
+buildUnnamed3102() {
var o = new core.List<api.WorkerPool>();
o.add(buildWorkerPool());
o.add(buildWorkerPool());
return o;
}
-checkUnnamed3081(core.List<api.WorkerPool> o) {
+checkUnnamed3102(core.List<api.WorkerPool> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkerPool(o[0]);
checkWorkerPool(o[1]);
@@ -789,14 +789,14 @@
if (buildCounterEnvironment < 3) {
o.clusterManagerApiService = "foo";
o.dataset = "foo";
- o.experiments = buildUnnamed3076();
- o.internalExperiments = buildUnnamed3077();
- o.sdkPipelineOptions = buildUnnamed3078();
+ o.experiments = buildUnnamed3097();
+ o.internalExperiments = buildUnnamed3098();
+ o.sdkPipelineOptions = buildUnnamed3099();
o.serviceAccountEmail = "foo";
o.tempStoragePrefix = "foo";
- o.userAgent = buildUnnamed3079();
- o.version = buildUnnamed3080();
- o.workerPools = buildUnnamed3081();
+ o.userAgent = buildUnnamed3100();
+ o.version = buildUnnamed3101();
+ o.workerPools = buildUnnamed3102();
}
buildCounterEnvironment--;
return o;
@@ -807,14 +807,14 @@
if (buildCounterEnvironment < 3) {
unittest.expect(o.clusterManagerApiService, unittest.equals('foo'));
unittest.expect(o.dataset, unittest.equals('foo'));
- checkUnnamed3076(o.experiments);
- checkUnnamed3077(o.internalExperiments);
- checkUnnamed3078(o.sdkPipelineOptions);
+ checkUnnamed3097(o.experiments);
+ checkUnnamed3098(o.internalExperiments);
+ checkUnnamed3099(o.sdkPipelineOptions);
unittest.expect(o.serviceAccountEmail, unittest.equals('foo'));
unittest.expect(o.tempStoragePrefix, unittest.equals('foo'));
- checkUnnamed3079(o.userAgent);
- checkUnnamed3080(o.version);
- checkUnnamed3081(o.workerPools);
+ checkUnnamed3100(o.userAgent);
+ checkUnnamed3101(o.version);
+ checkUnnamed3102(o.workerPools);
}
buildCounterEnvironment--;
}
@@ -842,53 +842,53 @@
buildCounterExecutionStageState--;
}
-buildUnnamed3082() {
+buildUnnamed3103() {
var o = new core.List<api.ComponentSource>();
o.add(buildComponentSource());
o.add(buildComponentSource());
return o;
}
-checkUnnamed3082(core.List<api.ComponentSource> o) {
+checkUnnamed3103(core.List<api.ComponentSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkComponentSource(o[0]);
checkComponentSource(o[1]);
}
-buildUnnamed3083() {
+buildUnnamed3104() {
var o = new core.List<api.ComponentTransform>();
o.add(buildComponentTransform());
o.add(buildComponentTransform());
return o;
}
-checkUnnamed3083(core.List<api.ComponentTransform> o) {
+checkUnnamed3104(core.List<api.ComponentTransform> o) {
unittest.expect(o, unittest.hasLength(2));
checkComponentTransform(o[0]);
checkComponentTransform(o[1]);
}
-buildUnnamed3084() {
+buildUnnamed3105() {
var o = new core.List<api.StageSource>();
o.add(buildStageSource());
o.add(buildStageSource());
return o;
}
-checkUnnamed3084(core.List<api.StageSource> o) {
+checkUnnamed3105(core.List<api.StageSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkStageSource(o[0]);
checkStageSource(o[1]);
}
-buildUnnamed3085() {
+buildUnnamed3106() {
var o = new core.List<api.StageSource>();
o.add(buildStageSource());
o.add(buildStageSource());
return o;
}
-checkUnnamed3085(core.List<api.StageSource> o) {
+checkUnnamed3106(core.List<api.StageSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkStageSource(o[0]);
checkStageSource(o[1]);
@@ -899,13 +899,13 @@
var o = new api.ExecutionStageSummary();
buildCounterExecutionStageSummary++;
if (buildCounterExecutionStageSummary < 3) {
- o.componentSource = buildUnnamed3082();
- o.componentTransform = buildUnnamed3083();
+ o.componentSource = buildUnnamed3103();
+ o.componentTransform = buildUnnamed3104();
o.id = "foo";
- o.inputSource = buildUnnamed3084();
+ o.inputSource = buildUnnamed3105();
o.kind = "foo";
o.name = "foo";
- o.outputSource = buildUnnamed3085();
+ o.outputSource = buildUnnamed3106();
}
buildCounterExecutionStageSummary--;
return o;
@@ -914,13 +914,13 @@
checkExecutionStageSummary(api.ExecutionStageSummary o) {
buildCounterExecutionStageSummary++;
if (buildCounterExecutionStageSummary < 3) {
- checkUnnamed3082(o.componentSource);
- checkUnnamed3083(o.componentTransform);
+ checkUnnamed3103(o.componentSource);
+ checkUnnamed3104(o.componentTransform);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3084(o.inputSource);
+ checkUnnamed3105(o.inputSource);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3085(o.outputSource);
+ checkUnnamed3106(o.outputSource);
}
buildCounterExecutionStageSummary--;
}
@@ -944,14 +944,14 @@
buildCounterFailedLocation--;
}
-buildUnnamed3086() {
+buildUnnamed3107() {
var o = new core.List<api.InstructionInput>();
o.add(buildInstructionInput());
o.add(buildInstructionInput());
return o;
}
-checkUnnamed3086(core.List<api.InstructionInput> o) {
+checkUnnamed3107(core.List<api.InstructionInput> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstructionInput(o[0]);
checkInstructionInput(o[1]);
@@ -962,7 +962,7 @@
var o = new api.FlattenInstruction();
buildCounterFlattenInstruction++;
if (buildCounterFlattenInstruction < 3) {
- o.inputs = buildUnnamed3086();
+ o.inputs = buildUnnamed3107();
}
buildCounterFlattenInstruction--;
return o;
@@ -971,19 +971,19 @@
checkFlattenInstruction(api.FlattenInstruction o) {
buildCounterFlattenInstruction++;
if (buildCounterFlattenInstruction < 3) {
- checkUnnamed3086(o.inputs);
+ checkUnnamed3107(o.inputs);
}
buildCounterFlattenInstruction--;
}
-buildUnnamed3087() {
+buildUnnamed3108() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed3087(core.List<core.double> o) {
+checkUnnamed3108(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));
@@ -994,7 +994,7 @@
var o = new api.FloatingPointList();
buildCounterFloatingPointList++;
if (buildCounterFloatingPointList < 3) {
- o.elements = buildUnnamed3087();
+ o.elements = buildUnnamed3108();
}
buildCounterFloatingPointList--;
return o;
@@ -1003,7 +1003,7 @@
checkFloatingPointList(api.FloatingPointList o) {
buildCounterFloatingPointList++;
if (buildCounterFloatingPointList < 3) {
- checkUnnamed3087(o.elements);
+ checkUnnamed3108(o.elements);
}
buildCounterFloatingPointList--;
}
@@ -1113,14 +1113,14 @@
buildCounterInstructionInput--;
}
-buildUnnamed3088() {
+buildUnnamed3109() {
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;
}
-checkUnnamed3088(core.Map<core.String, core.Object> o) {
+checkUnnamed3109(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted10 = (o["x"]) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
var casted11 = (o["y"]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
@@ -1131,7 +1131,7 @@
var o = new api.InstructionOutput();
buildCounterInstructionOutput++;
if (buildCounterInstructionOutput < 3) {
- o.codec = buildUnnamed3088();
+ o.codec = buildUnnamed3109();
o.name = "foo";
o.onlyCountKeyBytes = true;
o.onlyCountValueBytes = true;
@@ -1145,7 +1145,7 @@
checkInstructionOutput(api.InstructionOutput o) {
buildCounterInstructionOutput++;
if (buildCounterInstructionOutput < 3) {
- checkUnnamed3088(o.codec);
+ checkUnnamed3109(o.codec);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.onlyCountKeyBytes, unittest.isTrue);
unittest.expect(o.onlyCountValueBytes, unittest.isTrue);
@@ -1155,14 +1155,14 @@
buildCounterInstructionOutput--;
}
-buildUnnamed3089() {
+buildUnnamed3110() {
var o = new core.List<api.SplitInt64>();
o.add(buildSplitInt64());
o.add(buildSplitInt64());
return o;
}
-checkUnnamed3089(core.List<api.SplitInt64> o) {
+checkUnnamed3110(core.List<api.SplitInt64> o) {
unittest.expect(o, unittest.hasLength(2));
checkSplitInt64(o[0]);
checkSplitInt64(o[1]);
@@ -1173,7 +1173,7 @@
var o = new api.IntegerList();
buildCounterIntegerList++;
if (buildCounterIntegerList < 3) {
- o.elements = buildUnnamed3089();
+ o.elements = buildUnnamed3110();
}
buildCounterIntegerList--;
return o;
@@ -1182,7 +1182,7 @@
checkIntegerList(api.IntegerList o) {
buildCounterIntegerList++;
if (buildCounterIntegerList < 3) {
- checkUnnamed3089(o.elements);
+ checkUnnamed3110(o.elements);
}
buildCounterIntegerList--;
}
@@ -1208,66 +1208,66 @@
buildCounterIntegerMean--;
}
-buildUnnamed3090() {
+buildUnnamed3111() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3090(core.Map<core.String, core.String> o) {
+checkUnnamed3111(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3091() {
+buildUnnamed3112() {
var o = new core.List<api.ExecutionStageState>();
o.add(buildExecutionStageState());
o.add(buildExecutionStageState());
return o;
}
-checkUnnamed3091(core.List<api.ExecutionStageState> o) {
+checkUnnamed3112(core.List<api.ExecutionStageState> o) {
unittest.expect(o, unittest.hasLength(2));
checkExecutionStageState(o[0]);
checkExecutionStageState(o[1]);
}
-buildUnnamed3092() {
+buildUnnamed3113() {
var o = new core.List<api.Step>();
o.add(buildStep());
o.add(buildStep());
return o;
}
-checkUnnamed3092(core.List<api.Step> o) {
+checkUnnamed3113(core.List<api.Step> o) {
unittest.expect(o, unittest.hasLength(2));
checkStep(o[0]);
checkStep(o[1]);
}
-buildUnnamed3093() {
+buildUnnamed3114() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3093(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'));
}
-buildUnnamed3094() {
+buildUnnamed3115() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3094(core.Map<core.String, core.String> o) {
+checkUnnamed3115(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1285,7 +1285,7 @@
o.environment = buildEnvironment();
o.executionInfo = buildJobExecutionInfo();
o.id = "foo";
- o.labels = buildUnnamed3090();
+ o.labels = buildUnnamed3111();
o.location = "foo";
o.name = "foo";
o.pipelineDescription = buildPipelineDescription();
@@ -1293,10 +1293,10 @@
o.replaceJobId = "foo";
o.replacedByJobId = "foo";
o.requestedState = "foo";
- o.stageStates = buildUnnamed3091();
- o.steps = buildUnnamed3092();
- o.tempFiles = buildUnnamed3093();
- o.transformNameMapping = buildUnnamed3094();
+ o.stageStates = buildUnnamed3112();
+ o.steps = buildUnnamed3113();
+ o.tempFiles = buildUnnamed3114();
+ o.transformNameMapping = buildUnnamed3115();
o.type = "foo";
}
buildCounterJob--;
@@ -1313,7 +1313,7 @@
checkEnvironment(o.environment);
checkJobExecutionInfo(o.executionInfo);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3090(o.labels);
+ checkUnnamed3111(o.labels);
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkPipelineDescription(o.pipelineDescription);
@@ -1321,23 +1321,23 @@
unittest.expect(o.replaceJobId, unittest.equals('foo'));
unittest.expect(o.replacedByJobId, unittest.equals('foo'));
unittest.expect(o.requestedState, unittest.equals('foo'));
- checkUnnamed3091(o.stageStates);
- checkUnnamed3092(o.steps);
- checkUnnamed3093(o.tempFiles);
- checkUnnamed3094(o.transformNameMapping);
+ checkUnnamed3112(o.stageStates);
+ checkUnnamed3113(o.steps);
+ checkUnnamed3114(o.tempFiles);
+ checkUnnamed3115(o.transformNameMapping);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterJob--;
}
-buildUnnamed3095() {
+buildUnnamed3116() {
var o = new core.Map<core.String, api.JobExecutionStageInfo>();
o["x"] = buildJobExecutionStageInfo();
o["y"] = buildJobExecutionStageInfo();
return o;
}
-checkUnnamed3095(core.Map<core.String, api.JobExecutionStageInfo> o) {
+checkUnnamed3116(core.Map<core.String, api.JobExecutionStageInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobExecutionStageInfo(o["x"]);
checkJobExecutionStageInfo(o["y"]);
@@ -1348,7 +1348,7 @@
var o = new api.JobExecutionInfo();
buildCounterJobExecutionInfo++;
if (buildCounterJobExecutionInfo < 3) {
- o.stages = buildUnnamed3095();
+ o.stages = buildUnnamed3116();
}
buildCounterJobExecutionInfo--;
return o;
@@ -1357,19 +1357,19 @@
checkJobExecutionInfo(api.JobExecutionInfo o) {
buildCounterJobExecutionInfo++;
if (buildCounterJobExecutionInfo < 3) {
- checkUnnamed3095(o.stages);
+ checkUnnamed3116(o.stages);
}
buildCounterJobExecutionInfo--;
}
-buildUnnamed3096() {
+buildUnnamed3117() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3096(core.List<core.String> o) {
+checkUnnamed3117(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1380,7 +1380,7 @@
var o = new api.JobExecutionStageInfo();
buildCounterJobExecutionStageInfo++;
if (buildCounterJobExecutionStageInfo < 3) {
- o.stepName = buildUnnamed3096();
+ o.stepName = buildUnnamed3117();
}
buildCounterJobExecutionStageInfo--;
return o;
@@ -1389,7 +1389,7 @@
checkJobExecutionStageInfo(api.JobExecutionStageInfo o) {
buildCounterJobExecutionStageInfo++;
if (buildCounterJobExecutionStageInfo < 3) {
- checkUnnamed3096(o.stepName);
+ checkUnnamed3117(o.stepName);
}
buildCounterJobExecutionStageInfo--;
}
@@ -1419,14 +1419,14 @@
buildCounterJobMessage--;
}
-buildUnnamed3097() {
+buildUnnamed3118() {
var o = new core.List<api.MetricUpdate>();
o.add(buildMetricUpdate());
o.add(buildMetricUpdate());
return o;
}
-checkUnnamed3097(core.List<api.MetricUpdate> o) {
+checkUnnamed3118(core.List<api.MetricUpdate> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricUpdate(o[0]);
checkMetricUpdate(o[1]);
@@ -1438,7 +1438,7 @@
buildCounterJobMetrics++;
if (buildCounterJobMetrics < 3) {
o.metricTime = "foo";
- o.metrics = buildUnnamed3097();
+ o.metrics = buildUnnamed3118();
}
buildCounterJobMetrics--;
return o;
@@ -1448,7 +1448,7 @@
buildCounterJobMetrics++;
if (buildCounterJobMetrics < 3) {
unittest.expect(o.metricTime, unittest.equals('foo'));
- checkUnnamed3097(o.metrics);
+ checkUnnamed3118(o.metrics);
}
buildCounterJobMetrics--;
}
@@ -1503,14 +1503,14 @@
buildCounterKeyRangeLocation--;
}
-buildUnnamed3098() {
+buildUnnamed3119() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3098(core.Map<core.String, core.String> o) {
+checkUnnamed3119(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1523,7 +1523,7 @@
if (buildCounterLaunchTemplateParameters < 3) {
o.environment = buildRuntimeEnvironment();
o.jobName = "foo";
- o.parameters = buildUnnamed3098();
+ o.parameters = buildUnnamed3119();
}
buildCounterLaunchTemplateParameters--;
return o;
@@ -1534,7 +1534,7 @@
if (buildCounterLaunchTemplateParameters < 3) {
checkRuntimeEnvironment(o.environment);
unittest.expect(o.jobName, unittest.equals('foo'));
- checkUnnamed3098(o.parameters);
+ checkUnnamed3119(o.parameters);
}
buildCounterLaunchTemplateParameters--;
}
@@ -1558,27 +1558,27 @@
buildCounterLaunchTemplateResponse--;
}
-buildUnnamed3099() {
+buildUnnamed3120() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3099(core.List<core.String> o) {
+checkUnnamed3120(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3100() {
+buildUnnamed3121() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3100(core.List<core.String> o) {
+checkUnnamed3121(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1592,8 +1592,8 @@
o.currentWorkerTime = "foo";
o.location = "foo";
o.requestedLeaseDuration = "foo";
- o.workItemTypes = buildUnnamed3099();
- o.workerCapabilities = buildUnnamed3100();
+ o.workItemTypes = buildUnnamed3120();
+ o.workerCapabilities = buildUnnamed3121();
o.workerId = "foo";
}
buildCounterLeaseWorkItemRequest--;
@@ -1606,21 +1606,21 @@
unittest.expect(o.currentWorkerTime, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.requestedLeaseDuration, unittest.equals('foo'));
- checkUnnamed3099(o.workItemTypes);
- checkUnnamed3100(o.workerCapabilities);
+ checkUnnamed3120(o.workItemTypes);
+ checkUnnamed3121(o.workerCapabilities);
unittest.expect(o.workerId, unittest.equals('foo'));
}
buildCounterLeaseWorkItemRequest--;
}
-buildUnnamed3101() {
+buildUnnamed3122() {
var o = new core.List<api.WorkItem>();
o.add(buildWorkItem());
o.add(buildWorkItem());
return o;
}
-checkUnnamed3101(core.List<api.WorkItem> o) {
+checkUnnamed3122(core.List<api.WorkItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkItem(o[0]);
checkWorkItem(o[1]);
@@ -1631,7 +1631,7 @@
var o = new api.LeaseWorkItemResponse();
buildCounterLeaseWorkItemResponse++;
if (buildCounterLeaseWorkItemResponse < 3) {
- o.workItems = buildUnnamed3101();
+ o.workItems = buildUnnamed3122();
}
buildCounterLeaseWorkItemResponse--;
return o;
@@ -1640,32 +1640,32 @@
checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) {
buildCounterLeaseWorkItemResponse++;
if (buildCounterLeaseWorkItemResponse < 3) {
- checkUnnamed3101(o.workItems);
+ checkUnnamed3122(o.workItems);
}
buildCounterLeaseWorkItemResponse--;
}
-buildUnnamed3102() {
+buildUnnamed3123() {
var o = new core.List<api.AutoscalingEvent>();
o.add(buildAutoscalingEvent());
o.add(buildAutoscalingEvent());
return o;
}
-checkUnnamed3102(core.List<api.AutoscalingEvent> o) {
+checkUnnamed3123(core.List<api.AutoscalingEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalingEvent(o[0]);
checkAutoscalingEvent(o[1]);
}
-buildUnnamed3103() {
+buildUnnamed3124() {
var o = new core.List<api.JobMessage>();
o.add(buildJobMessage());
o.add(buildJobMessage());
return o;
}
-checkUnnamed3103(core.List<api.JobMessage> o) {
+checkUnnamed3124(core.List<api.JobMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobMessage(o[0]);
checkJobMessage(o[1]);
@@ -1676,8 +1676,8 @@
var o = new api.ListJobMessagesResponse();
buildCounterListJobMessagesResponse++;
if (buildCounterListJobMessagesResponse < 3) {
- o.autoscalingEvents = buildUnnamed3102();
- o.jobMessages = buildUnnamed3103();
+ o.autoscalingEvents = buildUnnamed3123();
+ o.jobMessages = buildUnnamed3124();
o.nextPageToken = "foo";
}
buildCounterListJobMessagesResponse--;
@@ -1687,34 +1687,34 @@
checkListJobMessagesResponse(api.ListJobMessagesResponse o) {
buildCounterListJobMessagesResponse++;
if (buildCounterListJobMessagesResponse < 3) {
- checkUnnamed3102(o.autoscalingEvents);
- checkUnnamed3103(o.jobMessages);
+ checkUnnamed3123(o.autoscalingEvents);
+ checkUnnamed3124(o.jobMessages);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListJobMessagesResponse--;
}
-buildUnnamed3104() {
+buildUnnamed3125() {
var o = new core.List<api.FailedLocation>();
o.add(buildFailedLocation());
o.add(buildFailedLocation());
return o;
}
-checkUnnamed3104(core.List<api.FailedLocation> o) {
+checkUnnamed3125(core.List<api.FailedLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkFailedLocation(o[0]);
checkFailedLocation(o[1]);
}
-buildUnnamed3105() {
+buildUnnamed3126() {
var o = new core.List<api.Job>();
o.add(buildJob());
o.add(buildJob());
return o;
}
-checkUnnamed3105(core.List<api.Job> o) {
+checkUnnamed3126(core.List<api.Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkJob(o[0]);
checkJob(o[1]);
@@ -1725,8 +1725,8 @@
var o = new api.ListJobsResponse();
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- o.failedLocation = buildUnnamed3104();
- o.jobs = buildUnnamed3105();
+ o.failedLocation = buildUnnamed3125();
+ o.jobs = buildUnnamed3126();
o.nextPageToken = "foo";
}
buildCounterListJobsResponse--;
@@ -1736,8 +1736,8 @@
checkListJobsResponse(api.ListJobsResponse o) {
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- checkUnnamed3104(o.failedLocation);
- checkUnnamed3105(o.jobs);
+ checkUnnamed3125(o.failedLocation);
+ checkUnnamed3126(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListJobsResponse--;
@@ -1764,14 +1764,14 @@
buildCounterLogBucket--;
}
-buildUnnamed3106() {
+buildUnnamed3127() {
var o = new core.List<api.ParallelInstruction>();
o.add(buildParallelInstruction());
o.add(buildParallelInstruction());
return o;
}
-checkUnnamed3106(core.List<api.ParallelInstruction> o) {
+checkUnnamed3127(core.List<api.ParallelInstruction> o) {
unittest.expect(o, unittest.hasLength(2));
checkParallelInstruction(o[0]);
checkParallelInstruction(o[1]);
@@ -1782,7 +1782,7 @@
var o = new api.MapTask();
buildCounterMapTask++;
if (buildCounterMapTask < 3) {
- o.instructions = buildUnnamed3106();
+ o.instructions = buildUnnamed3127();
o.stageName = "foo";
o.systemName = "foo";
}
@@ -1793,7 +1793,7 @@
checkMapTask(api.MapTask o) {
buildCounterMapTask++;
if (buildCounterMapTask < 3) {
- checkUnnamed3106(o.instructions);
+ checkUnnamed3127(o.instructions);
unittest.expect(o.stageName, unittest.equals('foo'));
unittest.expect(o.systemName, unittest.equals('foo'));
}
@@ -1821,14 +1821,14 @@
buildCounterMetricShortId--;
}
-buildUnnamed3107() {
+buildUnnamed3128() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3107(core.Map<core.String, core.String> o) {
+checkUnnamed3128(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1839,7 +1839,7 @@
var o = new api.MetricStructuredName();
buildCounterMetricStructuredName++;
if (buildCounterMetricStructuredName < 3) {
- o.context = buildUnnamed3107();
+ o.context = buildUnnamed3128();
o.name = "foo";
o.origin = "foo";
}
@@ -1850,7 +1850,7 @@
checkMetricStructuredName(api.MetricStructuredName o) {
buildCounterMetricStructuredName++;
if (buildCounterMetricStructuredName < 3) {
- checkUnnamed3107(o.context);
+ checkUnnamed3128(o.context);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.origin, unittest.equals('foo'));
}
@@ -1974,40 +1974,40 @@
buildCounterPackage--;
}
-buildUnnamed3108() {
+buildUnnamed3129() {
var o = new core.List<api.MultiOutputInfo>();
o.add(buildMultiOutputInfo());
o.add(buildMultiOutputInfo());
return o;
}
-checkUnnamed3108(core.List<api.MultiOutputInfo> o) {
+checkUnnamed3129(core.List<api.MultiOutputInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkMultiOutputInfo(o[0]);
checkMultiOutputInfo(o[1]);
}
-buildUnnamed3109() {
+buildUnnamed3130() {
var o = new core.List<api.SideInputInfo>();
o.add(buildSideInputInfo());
o.add(buildSideInputInfo());
return o;
}
-checkUnnamed3109(core.List<api.SideInputInfo> o) {
+checkUnnamed3130(core.List<api.SideInputInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSideInputInfo(o[0]);
checkSideInputInfo(o[1]);
}
-buildUnnamed3110() {
+buildUnnamed3131() {
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;
}
-checkUnnamed3110(core.Map<core.String, core.Object> o) {
+checkUnnamed3131(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted18 = (o["x"]) as core.Map; unittest.expect(casted18, unittest.hasLength(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest.expect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["string"], unittest.equals('foo'));
var casted19 = (o["y"]) as core.Map; unittest.expect(casted19, unittest.hasLength(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest.expect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["string"], unittest.equals('foo'));
@@ -2019,10 +2019,10 @@
buildCounterParDoInstruction++;
if (buildCounterParDoInstruction < 3) {
o.input = buildInstructionInput();
- o.multiOutputInfos = buildUnnamed3108();
+ o.multiOutputInfos = buildUnnamed3129();
o.numOutputs = 42;
- o.sideInputs = buildUnnamed3109();
- o.userFn = buildUnnamed3110();
+ o.sideInputs = buildUnnamed3130();
+ o.userFn = buildUnnamed3131();
}
buildCounterParDoInstruction--;
return o;
@@ -2032,22 +2032,22 @@
buildCounterParDoInstruction++;
if (buildCounterParDoInstruction < 3) {
checkInstructionInput(o.input);
- checkUnnamed3108(o.multiOutputInfos);
+ checkUnnamed3129(o.multiOutputInfos);
unittest.expect(o.numOutputs, unittest.equals(42));
- checkUnnamed3109(o.sideInputs);
- checkUnnamed3110(o.userFn);
+ checkUnnamed3130(o.sideInputs);
+ checkUnnamed3131(o.userFn);
}
buildCounterParDoInstruction--;
}
-buildUnnamed3111() {
+buildUnnamed3132() {
var o = new core.List<api.InstructionOutput>();
o.add(buildInstructionOutput());
o.add(buildInstructionOutput());
return o;
}
-checkUnnamed3111(core.List<api.InstructionOutput> o) {
+checkUnnamed3132(core.List<api.InstructionOutput> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstructionOutput(o[0]);
checkInstructionOutput(o[1]);
@@ -2061,7 +2061,7 @@
o.flatten = buildFlattenInstruction();
o.name = "foo";
o.originalName = "foo";
- o.outputs = buildUnnamed3111();
+ o.outputs = buildUnnamed3132();
o.parDo = buildParDoInstruction();
o.partialGroupByKey = buildPartialGroupByKeyInstruction();
o.read = buildReadInstruction();
@@ -2078,7 +2078,7 @@
checkFlattenInstruction(o.flatten);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.originalName, unittest.equals('foo'));
- checkUnnamed3111(o.outputs);
+ checkUnnamed3132(o.outputs);
checkParDoInstruction(o.parDo);
checkPartialGroupByKeyInstruction(o.partialGroupByKey);
checkReadInstruction(o.read);
@@ -2109,14 +2109,14 @@
buildCounterParameter--;
}
-buildUnnamed3112() {
+buildUnnamed3133() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3112(core.List<core.String> o) {
+checkUnnamed3133(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2131,7 +2131,7 @@
o.isOptional = true;
o.label = "foo";
o.name = "foo";
- o.regexes = buildUnnamed3112();
+ o.regexes = buildUnnamed3133();
}
buildCounterParameterMetadata--;
return o;
@@ -2144,45 +2144,45 @@
unittest.expect(o.isOptional, unittest.isTrue);
unittest.expect(o.label, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3112(o.regexes);
+ checkUnnamed3133(o.regexes);
}
buildCounterParameterMetadata--;
}
-buildUnnamed3113() {
+buildUnnamed3134() {
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;
}
-checkUnnamed3113(core.Map<core.String, core.Object> o) {
+checkUnnamed3134(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)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest.expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["string"], unittest.equals('foo'));
var casted22 = (o["y"]) as core.Map; unittest.expect(casted22, unittest.hasLength(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest.expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["string"], unittest.equals('foo'));
}
-buildUnnamed3114() {
+buildUnnamed3135() {
var o = new core.List<api.SideInputInfo>();
o.add(buildSideInputInfo());
o.add(buildSideInputInfo());
return o;
}
-checkUnnamed3114(core.List<api.SideInputInfo> o) {
+checkUnnamed3135(core.List<api.SideInputInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSideInputInfo(o[0]);
checkSideInputInfo(o[1]);
}
-buildUnnamed3115() {
+buildUnnamed3136() {
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;
}
-checkUnnamed3115(core.Map<core.String, core.Object> o) {
+checkUnnamed3136(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted23 = (o["x"]) as core.Map; unittest.expect(casted23, unittest.hasLength(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest.expect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["string"], unittest.equals('foo'));
var casted24 = (o["y"]) as core.Map; unittest.expect(casted24, unittest.hasLength(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest.expect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["string"], unittest.equals('foo'));
@@ -2194,11 +2194,11 @@
buildCounterPartialGroupByKeyInstruction++;
if (buildCounterPartialGroupByKeyInstruction < 3) {
o.input = buildInstructionInput();
- o.inputElementCodec = buildUnnamed3113();
+ o.inputElementCodec = buildUnnamed3134();
o.originalCombineValuesInputStoreName = "foo";
o.originalCombineValuesStepName = "foo";
- o.sideInputs = buildUnnamed3114();
- o.valueCombiningFn = buildUnnamed3115();
+ o.sideInputs = buildUnnamed3135();
+ o.valueCombiningFn = buildUnnamed3136();
}
buildCounterPartialGroupByKeyInstruction--;
return o;
@@ -2208,49 +2208,49 @@
buildCounterPartialGroupByKeyInstruction++;
if (buildCounterPartialGroupByKeyInstruction < 3) {
checkInstructionInput(o.input);
- checkUnnamed3113(o.inputElementCodec);
+ checkUnnamed3134(o.inputElementCodec);
unittest.expect(o.originalCombineValuesInputStoreName, unittest.equals('foo'));
unittest.expect(o.originalCombineValuesStepName, unittest.equals('foo'));
- checkUnnamed3114(o.sideInputs);
- checkUnnamed3115(o.valueCombiningFn);
+ checkUnnamed3135(o.sideInputs);
+ checkUnnamed3136(o.valueCombiningFn);
}
buildCounterPartialGroupByKeyInstruction--;
}
-buildUnnamed3116() {
+buildUnnamed3137() {
var o = new core.List<api.DisplayData>();
o.add(buildDisplayData());
o.add(buildDisplayData());
return o;
}
-checkUnnamed3116(core.List<api.DisplayData> o) {
+checkUnnamed3137(core.List<api.DisplayData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisplayData(o[0]);
checkDisplayData(o[1]);
}
-buildUnnamed3117() {
+buildUnnamed3138() {
var o = new core.List<api.ExecutionStageSummary>();
o.add(buildExecutionStageSummary());
o.add(buildExecutionStageSummary());
return o;
}
-checkUnnamed3117(core.List<api.ExecutionStageSummary> o) {
+checkUnnamed3138(core.List<api.ExecutionStageSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkExecutionStageSummary(o[0]);
checkExecutionStageSummary(o[1]);
}
-buildUnnamed3118() {
+buildUnnamed3139() {
var o = new core.List<api.TransformSummary>();
o.add(buildTransformSummary());
o.add(buildTransformSummary());
return o;
}
-checkUnnamed3118(core.List<api.TransformSummary> o) {
+checkUnnamed3139(core.List<api.TransformSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransformSummary(o[0]);
checkTransformSummary(o[1]);
@@ -2261,9 +2261,9 @@
var o = new api.PipelineDescription();
buildCounterPipelineDescription++;
if (buildCounterPipelineDescription < 3) {
- o.displayData = buildUnnamed3116();
- o.executionPipelineStage = buildUnnamed3117();
- o.originalPipelineTransform = buildUnnamed3118();
+ o.displayData = buildUnnamed3137();
+ o.executionPipelineStage = buildUnnamed3138();
+ o.originalPipelineTransform = buildUnnamed3139();
}
buildCounterPipelineDescription--;
return o;
@@ -2272,9 +2272,9 @@
checkPipelineDescription(api.PipelineDescription o) {
buildCounterPipelineDescription++;
if (buildCounterPipelineDescription < 3) {
- checkUnnamed3116(o.displayData);
- checkUnnamed3117(o.executionPipelineStage);
- checkUnnamed3118(o.originalPipelineTransform);
+ checkUnnamed3137(o.displayData);
+ checkUnnamed3138(o.executionPipelineStage);
+ checkUnnamed3139(o.originalPipelineTransform);
}
buildCounterPipelineDescription--;
}
@@ -2358,14 +2358,14 @@
buildCounterReadInstruction--;
}
-buildUnnamed3119() {
+buildUnnamed3140() {
var o = new core.List<api.WorkItemStatus>();
o.add(buildWorkItemStatus());
o.add(buildWorkItemStatus());
return o;
}
-checkUnnamed3119(core.List<api.WorkItemStatus> o) {
+checkUnnamed3140(core.List<api.WorkItemStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkItemStatus(o[0]);
checkWorkItemStatus(o[1]);
@@ -2378,7 +2378,7 @@
if (buildCounterReportWorkItemStatusRequest < 3) {
o.currentWorkerTime = "foo";
o.location = "foo";
- o.workItemStatuses = buildUnnamed3119();
+ o.workItemStatuses = buildUnnamed3140();
o.workerId = "foo";
}
buildCounterReportWorkItemStatusRequest--;
@@ -2390,20 +2390,20 @@
if (buildCounterReportWorkItemStatusRequest < 3) {
unittest.expect(o.currentWorkerTime, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
- checkUnnamed3119(o.workItemStatuses);
+ checkUnnamed3140(o.workItemStatuses);
unittest.expect(o.workerId, unittest.equals('foo'));
}
buildCounterReportWorkItemStatusRequest--;
}
-buildUnnamed3120() {
+buildUnnamed3141() {
var o = new core.List<api.WorkItemServiceState>();
o.add(buildWorkItemServiceState());
o.add(buildWorkItemServiceState());
return o;
}
-checkUnnamed3120(core.List<api.WorkItemServiceState> o) {
+checkUnnamed3141(core.List<api.WorkItemServiceState> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkItemServiceState(o[0]);
checkWorkItemServiceState(o[1]);
@@ -2414,7 +2414,7 @@
var o = new api.ReportWorkItemStatusResponse();
buildCounterReportWorkItemStatusResponse++;
if (buildCounterReportWorkItemStatusResponse < 3) {
- o.workItemServiceStates = buildUnnamed3120();
+ o.workItemServiceStates = buildUnnamed3141();
}
buildCounterReportWorkItemStatusResponse--;
return o;
@@ -2423,7 +2423,7 @@
checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) {
buildCounterReportWorkItemStatusResponse++;
if (buildCounterReportWorkItemStatusResponse < 3) {
- checkUnnamed3120(o.workItemServiceStates);
+ checkUnnamed3141(o.workItemServiceStates);
}
buildCounterReportWorkItemStatusResponse--;
}
@@ -2449,14 +2449,14 @@
buildCounterReportedParallelism--;
}
-buildUnnamed3121() {
+buildUnnamed3142() {
var o = new core.List<api.CPUTime>();
o.add(buildCPUTime());
o.add(buildCPUTime());
return o;
}
-checkUnnamed3121(core.List<api.CPUTime> o) {
+checkUnnamed3142(core.List<api.CPUTime> o) {
unittest.expect(o, unittest.hasLength(2));
checkCPUTime(o[0]);
checkCPUTime(o[1]);
@@ -2467,7 +2467,7 @@
var o = new api.ResourceUtilizationReport();
buildCounterResourceUtilizationReport++;
if (buildCounterResourceUtilizationReport < 3) {
- o.cpuTime = buildUnnamed3121();
+ o.cpuTime = buildUnnamed3142();
}
buildCounterResourceUtilizationReport--;
return o;
@@ -2476,7 +2476,7 @@
checkResourceUtilizationReport(api.ResourceUtilizationReport o) {
buildCounterResourceUtilizationReport++;
if (buildCounterResourceUtilizationReport < 3) {
- checkUnnamed3121(o.cpuTime);
+ checkUnnamed3142(o.cpuTime);
}
buildCounterResourceUtilizationReport--;
}
@@ -2569,14 +2569,14 @@
buildCounterSendDebugCaptureResponse--;
}
-buildUnnamed3122() {
+buildUnnamed3143() {
var o = new core.List<api.WorkerMessage>();
o.add(buildWorkerMessage());
o.add(buildWorkerMessage());
return o;
}
-checkUnnamed3122(core.List<api.WorkerMessage> o) {
+checkUnnamed3143(core.List<api.WorkerMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkerMessage(o[0]);
checkWorkerMessage(o[1]);
@@ -2588,7 +2588,7 @@
buildCounterSendWorkerMessagesRequest++;
if (buildCounterSendWorkerMessagesRequest < 3) {
o.location = "foo";
- o.workerMessages = buildUnnamed3122();
+ o.workerMessages = buildUnnamed3143();
}
buildCounterSendWorkerMessagesRequest--;
return o;
@@ -2598,19 +2598,19 @@
buildCounterSendWorkerMessagesRequest++;
if (buildCounterSendWorkerMessagesRequest < 3) {
unittest.expect(o.location, unittest.equals('foo'));
- checkUnnamed3122(o.workerMessages);
+ checkUnnamed3143(o.workerMessages);
}
buildCounterSendWorkerMessagesRequest--;
}
-buildUnnamed3123() {
+buildUnnamed3144() {
var o = new core.List<api.WorkerMessageResponse>();
o.add(buildWorkerMessageResponse());
o.add(buildWorkerMessageResponse());
return o;
}
-checkUnnamed3123(core.List<api.WorkerMessageResponse> o) {
+checkUnnamed3144(core.List<api.WorkerMessageResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkerMessageResponse(o[0]);
checkWorkerMessageResponse(o[1]);
@@ -2621,7 +2621,7 @@
var o = new api.SendWorkerMessagesResponse();
buildCounterSendWorkerMessagesResponse++;
if (buildCounterSendWorkerMessagesResponse < 3) {
- o.workerMessageResponses = buildUnnamed3123();
+ o.workerMessageResponses = buildUnnamed3144();
}
buildCounterSendWorkerMessagesResponse--;
return o;
@@ -2630,45 +2630,45 @@
checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) {
buildCounterSendWorkerMessagesResponse++;
if (buildCounterSendWorkerMessagesResponse < 3) {
- checkUnnamed3123(o.workerMessageResponses);
+ checkUnnamed3144(o.workerMessageResponses);
}
buildCounterSendWorkerMessagesResponse--;
}
-buildUnnamed3124() {
+buildUnnamed3145() {
var o = new core.List<api.SideInputInfo>();
o.add(buildSideInputInfo());
o.add(buildSideInputInfo());
return o;
}
-checkUnnamed3124(core.List<api.SideInputInfo> o) {
+checkUnnamed3145(core.List<api.SideInputInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSideInputInfo(o[0]);
checkSideInputInfo(o[1]);
}
-buildUnnamed3125() {
+buildUnnamed3146() {
var o = new core.List<api.SeqMapTaskOutputInfo>();
o.add(buildSeqMapTaskOutputInfo());
o.add(buildSeqMapTaskOutputInfo());
return o;
}
-checkUnnamed3125(core.List<api.SeqMapTaskOutputInfo> o) {
+checkUnnamed3146(core.List<api.SeqMapTaskOutputInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSeqMapTaskOutputInfo(o[0]);
checkSeqMapTaskOutputInfo(o[1]);
}
-buildUnnamed3126() {
+buildUnnamed3147() {
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;
}
-checkUnnamed3126(core.Map<core.String, core.Object> o) {
+checkUnnamed3147(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)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest.expect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["string"], unittest.equals('foo'));
var casted26 = (o["y"]) as core.Map; unittest.expect(casted26, unittest.hasLength(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest.expect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["string"], unittest.equals('foo'));
@@ -2679,12 +2679,12 @@
var o = new api.SeqMapTask();
buildCounterSeqMapTask++;
if (buildCounterSeqMapTask < 3) {
- o.inputs = buildUnnamed3124();
+ o.inputs = buildUnnamed3145();
o.name = "foo";
- o.outputInfos = buildUnnamed3125();
+ o.outputInfos = buildUnnamed3146();
o.stageName = "foo";
o.systemName = "foo";
- o.userFn = buildUnnamed3126();
+ o.userFn = buildUnnamed3147();
}
buildCounterSeqMapTask--;
return o;
@@ -2693,12 +2693,12 @@
checkSeqMapTask(api.SeqMapTask o) {
buildCounterSeqMapTask++;
if (buildCounterSeqMapTask < 3) {
- checkUnnamed3124(o.inputs);
+ checkUnnamed3145(o.inputs);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3125(o.outputInfos);
+ checkUnnamed3146(o.outputInfos);
unittest.expect(o.stageName, unittest.equals('foo'));
unittest.expect(o.systemName, unittest.equals('foo'));
- checkUnnamed3126(o.userFn);
+ checkUnnamed3147(o.userFn);
}
buildCounterSeqMapTask--;
}
@@ -2745,27 +2745,27 @@
buildCounterShellTask--;
}
-buildUnnamed3127() {
+buildUnnamed3148() {
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;
}
-checkUnnamed3127(core.Map<core.String, core.Object> o) {
+checkUnnamed3148(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)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest.expect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["string"], unittest.equals('foo'));
var casted28 = (o["y"]) as core.Map; unittest.expect(casted28, unittest.hasLength(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest.expect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["string"], unittest.equals('foo'));
}
-buildUnnamed3128() {
+buildUnnamed3149() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed3128(core.List<api.Source> o) {
+checkUnnamed3149(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -2776,8 +2776,8 @@
var o = new api.SideInputInfo();
buildCounterSideInputInfo++;
if (buildCounterSideInputInfo < 3) {
- o.kind = buildUnnamed3127();
- o.sources = buildUnnamed3128();
+ o.kind = buildUnnamed3148();
+ o.sources = buildUnnamed3149();
o.tag = "foo";
}
buildCounterSideInputInfo--;
@@ -2787,34 +2787,34 @@
checkSideInputInfo(api.SideInputInfo o) {
buildCounterSideInputInfo++;
if (buildCounterSideInputInfo < 3) {
- checkUnnamed3127(o.kind);
- checkUnnamed3128(o.sources);
+ checkUnnamed3148(o.kind);
+ checkUnnamed3149(o.sources);
unittest.expect(o.tag, unittest.equals('foo'));
}
buildCounterSideInputInfo--;
}
-buildUnnamed3129() {
+buildUnnamed3150() {
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;
}
-checkUnnamed3129(core.Map<core.String, core.Object> o) {
+checkUnnamed3150(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted29 = (o["x"]) as core.Map; unittest.expect(casted29, unittest.hasLength(3)); unittest.expect(casted29["list"], unittest.equals([1, 2, 3])); unittest.expect(casted29["bool"], unittest.equals(true)); unittest.expect(casted29["string"], unittest.equals('foo'));
var casted30 = (o["y"]) as core.Map; unittest.expect(casted30, unittest.hasLength(3)); unittest.expect(casted30["list"], unittest.equals([1, 2, 3])); unittest.expect(casted30["bool"], unittest.equals(true)); unittest.expect(casted30["string"], unittest.equals('foo'));
}
-buildUnnamed3130() {
+buildUnnamed3151() {
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;
}
-checkUnnamed3130(core.Map<core.String, core.Object> o) {
+checkUnnamed3151(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted31 = (o["x"]) as core.Map; unittest.expect(casted31, unittest.hasLength(3)); unittest.expect(casted31["list"], unittest.equals([1, 2, 3])); unittest.expect(casted31["bool"], unittest.equals(true)); unittest.expect(casted31["string"], unittest.equals('foo'));
var casted32 = (o["y"]) as core.Map; unittest.expect(casted32, unittest.hasLength(3)); unittest.expect(casted32["list"], unittest.equals([1, 2, 3])); unittest.expect(casted32["bool"], unittest.equals(true)); unittest.expect(casted32["string"], unittest.equals('foo'));
@@ -2825,8 +2825,8 @@
var o = new api.Sink();
buildCounterSink++;
if (buildCounterSink < 3) {
- o.codec = buildUnnamed3129();
- o.spec = buildUnnamed3130();
+ o.codec = buildUnnamed3150();
+ o.spec = buildUnnamed3151();
}
buildCounterSink--;
return o;
@@ -2835,59 +2835,59 @@
checkSink(api.Sink o) {
buildCounterSink++;
if (buildCounterSink < 3) {
- checkUnnamed3129(o.codec);
- checkUnnamed3130(o.spec);
+ checkUnnamed3150(o.codec);
+ checkUnnamed3151(o.spec);
}
buildCounterSink--;
}
-buildUnnamed3131() {
+buildUnnamed3152() {
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;
}
-checkUnnamed3131(core.Map<core.String, core.Object> o) {
+checkUnnamed3152(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted33 = (o["x"]) as core.Map; unittest.expect(casted33, unittest.hasLength(3)); unittest.expect(casted33["list"], unittest.equals([1, 2, 3])); unittest.expect(casted33["bool"], unittest.equals(true)); unittest.expect(casted33["string"], unittest.equals('foo'));
var casted34 = (o["y"]) as core.Map; unittest.expect(casted34, unittest.hasLength(3)); unittest.expect(casted34["list"], unittest.equals([1, 2, 3])); unittest.expect(casted34["bool"], unittest.equals(true)); unittest.expect(casted34["string"], unittest.equals('foo'));
}
-buildUnnamed3132() {
+buildUnnamed3153() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3131());
- o.add(buildUnnamed3131());
+ o.add(buildUnnamed3152());
+ o.add(buildUnnamed3152());
return o;
}
-checkUnnamed3132(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3153(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3131(o[0]);
- checkUnnamed3131(o[1]);
+ checkUnnamed3152(o[0]);
+ checkUnnamed3152(o[1]);
}
-buildUnnamed3133() {
+buildUnnamed3154() {
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;
}
-checkUnnamed3133(core.Map<core.String, core.Object> o) {
+checkUnnamed3154(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted35 = (o["x"]) as core.Map; unittest.expect(casted35, unittest.hasLength(3)); unittest.expect(casted35["list"], unittest.equals([1, 2, 3])); unittest.expect(casted35["bool"], unittest.equals(true)); unittest.expect(casted35["string"], unittest.equals('foo'));
var casted36 = (o["y"]) as core.Map; unittest.expect(casted36, unittest.hasLength(3)); unittest.expect(casted36["list"], unittest.equals([1, 2, 3])); unittest.expect(casted36["bool"], unittest.equals(true)); unittest.expect(casted36["string"], unittest.equals('foo'));
}
-buildUnnamed3134() {
+buildUnnamed3155() {
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;
}
-checkUnnamed3134(core.Map<core.String, core.Object> o) {
+checkUnnamed3155(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted37 = (o["x"]) as core.Map; unittest.expect(casted37, unittest.hasLength(3)); unittest.expect(casted37["list"], unittest.equals([1, 2, 3])); unittest.expect(casted37["bool"], unittest.equals(true)); unittest.expect(casted37["string"], unittest.equals('foo'));
var casted38 = (o["y"]) as core.Map; unittest.expect(casted38, unittest.hasLength(3)); unittest.expect(casted38["list"], unittest.equals([1, 2, 3])); unittest.expect(casted38["bool"], unittest.equals(true)); unittest.expect(casted38["string"], unittest.equals('foo'));
@@ -2898,11 +2898,11 @@
var o = new api.Source();
buildCounterSource++;
if (buildCounterSource < 3) {
- o.baseSpecs = buildUnnamed3132();
- o.codec = buildUnnamed3133();
+ o.baseSpecs = buildUnnamed3153();
+ o.codec = buildUnnamed3154();
o.doesNotNeedSplitting = true;
o.metadata = buildSourceMetadata();
- o.spec = buildUnnamed3134();
+ o.spec = buildUnnamed3155();
}
buildCounterSource--;
return o;
@@ -2911,11 +2911,11 @@
checkSource(api.Source o) {
buildCounterSource++;
if (buildCounterSource < 3) {
- checkUnnamed3132(o.baseSpecs);
- checkUnnamed3133(o.codec);
+ checkUnnamed3153(o.baseSpecs);
+ checkUnnamed3154(o.codec);
unittest.expect(o.doesNotNeedSplitting, unittest.isTrue);
checkSourceMetadata(o.metadata);
- checkUnnamed3134(o.spec);
+ checkUnnamed3155(o.spec);
}
buildCounterSource--;
}
@@ -3090,27 +3090,27 @@
buildCounterSourceSplitRequest--;
}
-buildUnnamed3135() {
+buildUnnamed3156() {
var o = new core.List<api.DerivedSource>();
o.add(buildDerivedSource());
o.add(buildDerivedSource());
return o;
}
-checkUnnamed3135(core.List<api.DerivedSource> o) {
+checkUnnamed3156(core.List<api.DerivedSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkDerivedSource(o[0]);
checkDerivedSource(o[1]);
}
-buildUnnamed3136() {
+buildUnnamed3157() {
var o = new core.List<api.SourceSplitShard>();
o.add(buildSourceSplitShard());
o.add(buildSourceSplitShard());
return o;
}
-checkUnnamed3136(core.List<api.SourceSplitShard> o) {
+checkUnnamed3157(core.List<api.SourceSplitShard> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceSplitShard(o[0]);
checkSourceSplitShard(o[1]);
@@ -3121,9 +3121,9 @@
var o = new api.SourceSplitResponse();
buildCounterSourceSplitResponse++;
if (buildCounterSourceSplitResponse < 3) {
- o.bundles = buildUnnamed3135();
+ o.bundles = buildUnnamed3156();
o.outcome = "foo";
- o.shards = buildUnnamed3136();
+ o.shards = buildUnnamed3157();
}
buildCounterSourceSplitResponse--;
return o;
@@ -3132,9 +3132,9 @@
checkSourceSplitResponse(api.SourceSplitResponse o) {
buildCounterSourceSplitResponse++;
if (buildCounterSourceSplitResponse < 3) {
- checkUnnamed3135(o.bundles);
+ checkUnnamed3156(o.bundles);
unittest.expect(o.outcome, unittest.equals('foo'));
- checkUnnamed3136(o.shards);
+ checkUnnamed3157(o.shards);
}
buildCounterSourceSplitResponse--;
}
@@ -3227,30 +3227,30 @@
buildCounterStateFamilyConfig--;
}
-buildUnnamed3137() {
+buildUnnamed3158() {
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;
}
-checkUnnamed3137(core.Map<core.String, core.Object> o) {
+checkUnnamed3158(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted39 = (o["x"]) as core.Map; unittest.expect(casted39, unittest.hasLength(3)); unittest.expect(casted39["list"], unittest.equals([1, 2, 3])); unittest.expect(casted39["bool"], unittest.equals(true)); unittest.expect(casted39["string"], unittest.equals('foo'));
var casted40 = (o["y"]) as core.Map; unittest.expect(casted40, unittest.hasLength(3)); unittest.expect(casted40["list"], unittest.equals([1, 2, 3])); unittest.expect(casted40["bool"], unittest.equals(true)); unittest.expect(casted40["string"], unittest.equals('foo'));
}
-buildUnnamed3138() {
+buildUnnamed3159() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3137());
- o.add(buildUnnamed3137());
+ o.add(buildUnnamed3158());
+ o.add(buildUnnamed3158());
return o;
}
-checkUnnamed3138(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3159(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3137(o[0]);
- checkUnnamed3137(o[1]);
+ checkUnnamed3158(o[0]);
+ checkUnnamed3158(o[1]);
}
core.int buildCounterStatus = 0;
@@ -3259,7 +3259,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3138();
+ o.details = buildUnnamed3159();
o.message = "foo";
}
buildCounterStatus--;
@@ -3270,20 +3270,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3138(o.details);
+ checkUnnamed3159(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed3139() {
+buildUnnamed3160() {
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;
}
-checkUnnamed3139(core.Map<core.String, core.Object> o) {
+checkUnnamed3160(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted41 = (o["x"]) as core.Map; unittest.expect(casted41, unittest.hasLength(3)); unittest.expect(casted41["list"], unittest.equals([1, 2, 3])); unittest.expect(casted41["bool"], unittest.equals(true)); unittest.expect(casted41["string"], unittest.equals('foo'));
var casted42 = (o["y"]) as core.Map; unittest.expect(casted42, unittest.hasLength(3)); unittest.expect(casted42["list"], unittest.equals([1, 2, 3])); unittest.expect(casted42["bool"], unittest.equals(true)); unittest.expect(casted42["string"], unittest.equals('foo'));
@@ -3296,7 +3296,7 @@
if (buildCounterStep < 3) {
o.kind = "foo";
o.name = "foo";
- o.properties = buildUnnamed3139();
+ o.properties = buildUnnamed3160();
}
buildCounterStep--;
return o;
@@ -3307,7 +3307,7 @@
if (buildCounterStep < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3139(o.properties);
+ checkUnnamed3160(o.properties);
}
buildCounterStep--;
}
@@ -3337,14 +3337,14 @@
buildCounterStreamLocation--;
}
-buildUnnamed3140() {
+buildUnnamed3161() {
var o = new core.List<api.ParallelInstruction>();
o.add(buildParallelInstruction());
o.add(buildParallelInstruction());
return o;
}
-checkUnnamed3140(core.List<api.ParallelInstruction> o) {
+checkUnnamed3161(core.List<api.ParallelInstruction> o) {
unittest.expect(o, unittest.hasLength(2));
checkParallelInstruction(o[0]);
checkParallelInstruction(o[1]);
@@ -3356,7 +3356,7 @@
buildCounterStreamingComputationConfig++;
if (buildCounterStreamingComputationConfig < 3) {
o.computationId = "foo";
- o.instructions = buildUnnamed3140();
+ o.instructions = buildUnnamed3161();
o.stageName = "foo";
o.systemName = "foo";
}
@@ -3368,21 +3368,21 @@
buildCounterStreamingComputationConfig++;
if (buildCounterStreamingComputationConfig < 3) {
unittest.expect(o.computationId, unittest.equals('foo'));
- checkUnnamed3140(o.instructions);
+ checkUnnamed3161(o.instructions);
unittest.expect(o.stageName, unittest.equals('foo'));
unittest.expect(o.systemName, unittest.equals('foo'));
}
buildCounterStreamingComputationConfig--;
}
-buildUnnamed3141() {
+buildUnnamed3162() {
var o = new core.List<api.KeyRangeDataDiskAssignment>();
o.add(buildKeyRangeDataDiskAssignment());
o.add(buildKeyRangeDataDiskAssignment());
return o;
}
-checkUnnamed3141(core.List<api.KeyRangeDataDiskAssignment> o) {
+checkUnnamed3162(core.List<api.KeyRangeDataDiskAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyRangeDataDiskAssignment(o[0]);
checkKeyRangeDataDiskAssignment(o[1]);
@@ -3394,7 +3394,7 @@
buildCounterStreamingComputationRanges++;
if (buildCounterStreamingComputationRanges < 3) {
o.computationId = "foo";
- o.rangeAssignments = buildUnnamed3141();
+ o.rangeAssignments = buildUnnamed3162();
}
buildCounterStreamingComputationRanges--;
return o;
@@ -3404,32 +3404,32 @@
buildCounterStreamingComputationRanges++;
if (buildCounterStreamingComputationRanges < 3) {
unittest.expect(o.computationId, unittest.equals('foo'));
- checkUnnamed3141(o.rangeAssignments);
+ checkUnnamed3162(o.rangeAssignments);
}
buildCounterStreamingComputationRanges--;
}
-buildUnnamed3142() {
+buildUnnamed3163() {
var o = new core.List<api.StreamingComputationRanges>();
o.add(buildStreamingComputationRanges());
o.add(buildStreamingComputationRanges());
return o;
}
-checkUnnamed3142(core.List<api.StreamingComputationRanges> o) {
+checkUnnamed3163(core.List<api.StreamingComputationRanges> o) {
unittest.expect(o, unittest.hasLength(2));
checkStreamingComputationRanges(o[0]);
checkStreamingComputationRanges(o[1]);
}
-buildUnnamed3143() {
+buildUnnamed3164() {
var o = new core.List<api.MountedDataDisk>();
o.add(buildMountedDataDisk());
o.add(buildMountedDataDisk());
return o;
}
-checkUnnamed3143(core.List<api.MountedDataDisk> o) {
+checkUnnamed3164(core.List<api.MountedDataDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkMountedDataDisk(o[0]);
checkMountedDataDisk(o[1]);
@@ -3440,8 +3440,8 @@
var o = new api.StreamingComputationTask();
buildCounterStreamingComputationTask++;
if (buildCounterStreamingComputationTask < 3) {
- o.computationRanges = buildUnnamed3142();
- o.dataDisks = buildUnnamed3143();
+ o.computationRanges = buildUnnamed3163();
+ o.dataDisks = buildUnnamed3164();
o.taskType = "foo";
}
buildCounterStreamingComputationTask--;
@@ -3451,34 +3451,34 @@
checkStreamingComputationTask(api.StreamingComputationTask o) {
buildCounterStreamingComputationTask++;
if (buildCounterStreamingComputationTask < 3) {
- checkUnnamed3142(o.computationRanges);
- checkUnnamed3143(o.dataDisks);
+ checkUnnamed3163(o.computationRanges);
+ checkUnnamed3164(o.dataDisks);
unittest.expect(o.taskType, unittest.equals('foo'));
}
buildCounterStreamingComputationTask--;
}
-buildUnnamed3144() {
+buildUnnamed3165() {
var o = new core.List<api.StreamingComputationConfig>();
o.add(buildStreamingComputationConfig());
o.add(buildStreamingComputationConfig());
return o;
}
-checkUnnamed3144(core.List<api.StreamingComputationConfig> o) {
+checkUnnamed3165(core.List<api.StreamingComputationConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkStreamingComputationConfig(o[0]);
checkStreamingComputationConfig(o[1]);
}
-buildUnnamed3145() {
+buildUnnamed3166() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3145(core.Map<core.String, core.String> o) {
+checkUnnamed3166(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -3489,8 +3489,8 @@
var o = new api.StreamingConfigTask();
buildCounterStreamingConfigTask++;
if (buildCounterStreamingConfigTask < 3) {
- o.streamingComputationConfigs = buildUnnamed3144();
- o.userStepToStateFamilyNameMap = buildUnnamed3145();
+ o.streamingComputationConfigs = buildUnnamed3165();
+ o.userStepToStateFamilyNameMap = buildUnnamed3166();
o.windmillServiceEndpoint = "foo";
o.windmillServicePort = "foo";
}
@@ -3501,8 +3501,8 @@
checkStreamingConfigTask(api.StreamingConfigTask o) {
buildCounterStreamingConfigTask++;
if (buildCounterStreamingConfigTask < 3) {
- checkUnnamed3144(o.streamingComputationConfigs);
- checkUnnamed3145(o.userStepToStateFamilyNameMap);
+ checkUnnamed3165(o.streamingComputationConfigs);
+ checkUnnamed3166(o.userStepToStateFamilyNameMap);
unittest.expect(o.windmillServiceEndpoint, unittest.equals('foo'));
unittest.expect(o.windmillServicePort, unittest.equals('foo'));
}
@@ -3574,14 +3574,14 @@
buildCounterStreamingStageLocation--;
}
-buildUnnamed3146() {
+buildUnnamed3167() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3146(core.List<core.String> o) {
+checkUnnamed3167(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3592,7 +3592,7 @@
var o = new api.StringList();
buildCounterStringList++;
if (buildCounterStringList < 3) {
- o.elements = buildUnnamed3146();
+ o.elements = buildUnnamed3167();
}
buildCounterStringList--;
return o;
@@ -3601,19 +3601,19 @@
checkStringList(api.StringList o) {
buildCounterStringList++;
if (buildCounterStringList < 3) {
- checkUnnamed3146(o.elements);
+ checkUnnamed3167(o.elements);
}
buildCounterStringList--;
}
-buildUnnamed3147() {
+buildUnnamed3168() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed3147(core.List<api.Parameter> o) {
+checkUnnamed3168(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -3626,7 +3626,7 @@
if (buildCounterStructuredMessage < 3) {
o.messageKey = "foo";
o.messageText = "foo";
- o.parameters = buildUnnamed3147();
+ o.parameters = buildUnnamed3168();
}
buildCounterStructuredMessage--;
return o;
@@ -3637,19 +3637,19 @@
if (buildCounterStructuredMessage < 3) {
unittest.expect(o.messageKey, unittest.equals('foo'));
unittest.expect(o.messageText, unittest.equals('foo'));
- checkUnnamed3147(o.parameters);
+ checkUnnamed3168(o.parameters);
}
buildCounterStructuredMessage--;
}
-buildUnnamed3148() {
+buildUnnamed3169() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3148(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'));
@@ -3671,7 +3671,7 @@
o.logDir = "foo";
o.logToSerialconsole = true;
o.logUploadLocation = "foo";
- o.oauthScopes = buildUnnamed3148();
+ o.oauthScopes = buildUnnamed3169();
o.parallelWorkerSettings = buildWorkerSettings();
o.streamingWorkerMainClass = "foo";
o.taskGroup = "foo";
@@ -3698,7 +3698,7 @@
unittest.expect(o.logDir, unittest.equals('foo'));
unittest.expect(o.logToSerialconsole, unittest.isTrue);
unittest.expect(o.logUploadLocation, unittest.equals('foo'));
- checkUnnamed3148(o.oauthScopes);
+ checkUnnamed3169(o.oauthScopes);
checkWorkerSettings(o.parallelWorkerSettings);
unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo'));
unittest.expect(o.taskGroup, unittest.equals('foo'));
@@ -3710,14 +3710,14 @@
buildCounterTaskRunnerSettings--;
}
-buildUnnamed3149() {
+buildUnnamed3170() {
var o = new core.List<api.ParameterMetadata>();
o.add(buildParameterMetadata());
o.add(buildParameterMetadata());
return o;
}
-checkUnnamed3149(core.List<api.ParameterMetadata> o) {
+checkUnnamed3170(core.List<api.ParameterMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameterMetadata(o[0]);
checkParameterMetadata(o[1]);
@@ -3730,7 +3730,7 @@
if (buildCounterTemplateMetadata < 3) {
o.description = "foo";
o.name = "foo";
- o.parameters = buildUnnamed3149();
+ o.parameters = buildUnnamed3170();
}
buildCounterTemplateMetadata--;
return o;
@@ -3741,45 +3741,45 @@
if (buildCounterTemplateMetadata < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3149(o.parameters);
+ checkUnnamed3170(o.parameters);
}
buildCounterTemplateMetadata--;
}
-buildUnnamed3150() {
+buildUnnamed3171() {
var o = new core.List<api.ComputationTopology>();
o.add(buildComputationTopology());
o.add(buildComputationTopology());
return o;
}
-checkUnnamed3150(core.List<api.ComputationTopology> o) {
+checkUnnamed3171(core.List<api.ComputationTopology> o) {
unittest.expect(o, unittest.hasLength(2));
checkComputationTopology(o[0]);
checkComputationTopology(o[1]);
}
-buildUnnamed3151() {
+buildUnnamed3172() {
var o = new core.List<api.DataDiskAssignment>();
o.add(buildDataDiskAssignment());
o.add(buildDataDiskAssignment());
return o;
}
-checkUnnamed3151(core.List<api.DataDiskAssignment> o) {
+checkUnnamed3172(core.List<api.DataDiskAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataDiskAssignment(o[0]);
checkDataDiskAssignment(o[1]);
}
-buildUnnamed3152() {
+buildUnnamed3173() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3152(core.Map<core.String, core.String> o) {
+checkUnnamed3173(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -3790,11 +3790,11 @@
var o = new api.TopologyConfig();
buildCounterTopologyConfig++;
if (buildCounterTopologyConfig < 3) {
- o.computations = buildUnnamed3150();
- o.dataDiskAssignments = buildUnnamed3151();
+ o.computations = buildUnnamed3171();
+ o.dataDiskAssignments = buildUnnamed3172();
o.forwardingKeyBits = 42;
o.persistentStateVersion = 42;
- o.userStageToComputationNameMap = buildUnnamed3152();
+ o.userStageToComputationNameMap = buildUnnamed3173();
}
buildCounterTopologyConfig--;
return o;
@@ -3803,49 +3803,49 @@
checkTopologyConfig(api.TopologyConfig o) {
buildCounterTopologyConfig++;
if (buildCounterTopologyConfig < 3) {
- checkUnnamed3150(o.computations);
- checkUnnamed3151(o.dataDiskAssignments);
+ checkUnnamed3171(o.computations);
+ checkUnnamed3172(o.dataDiskAssignments);
unittest.expect(o.forwardingKeyBits, unittest.equals(42));
unittest.expect(o.persistentStateVersion, unittest.equals(42));
- checkUnnamed3152(o.userStageToComputationNameMap);
+ checkUnnamed3173(o.userStageToComputationNameMap);
}
buildCounterTopologyConfig--;
}
-buildUnnamed3153() {
+buildUnnamed3174() {
var o = new core.List<api.DisplayData>();
o.add(buildDisplayData());
o.add(buildDisplayData());
return o;
}
-checkUnnamed3153(core.List<api.DisplayData> o) {
+checkUnnamed3174(core.List<api.DisplayData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisplayData(o[0]);
checkDisplayData(o[1]);
}
-buildUnnamed3154() {
+buildUnnamed3175() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3154(core.List<core.String> o) {
+checkUnnamed3175(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3155() {
+buildUnnamed3176() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3155(core.List<core.String> o) {
+checkUnnamed3176(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3856,12 +3856,12 @@
var o = new api.TransformSummary();
buildCounterTransformSummary++;
if (buildCounterTransformSummary < 3) {
- o.displayData = buildUnnamed3153();
+ o.displayData = buildUnnamed3174();
o.id = "foo";
- o.inputCollectionName = buildUnnamed3154();
+ o.inputCollectionName = buildUnnamed3175();
o.kind = "foo";
o.name = "foo";
- o.outputCollectionName = buildUnnamed3155();
+ o.outputCollectionName = buildUnnamed3176();
}
buildCounterTransformSummary--;
return o;
@@ -3870,24 +3870,24 @@
checkTransformSummary(api.TransformSummary o) {
buildCounterTransformSummary++;
if (buildCounterTransformSummary < 3) {
- checkUnnamed3153(o.displayData);
+ checkUnnamed3174(o.displayData);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3154(o.inputCollectionName);
+ checkUnnamed3175(o.inputCollectionName);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3155(o.outputCollectionName);
+ checkUnnamed3176(o.outputCollectionName);
}
buildCounterTransformSummary--;
}
-buildUnnamed3156() {
+buildUnnamed3177() {
var o = new core.List<api.Package>();
o.add(buildPackage());
o.add(buildPackage());
return o;
}
-checkUnnamed3156(core.List<api.Package> o) {
+checkUnnamed3177(core.List<api.Package> o) {
unittest.expect(o, unittest.hasLength(2));
checkPackage(o[0]);
checkPackage(o[1]);
@@ -3904,7 +3904,7 @@
o.jobId = "foo";
o.leaseExpireTime = "foo";
o.mapTask = buildMapTask();
- o.packages = buildUnnamed3156();
+ o.packages = buildUnnamed3177();
o.projectId = "foo";
o.reportStatusInterval = "foo";
o.seqMapTask = buildSeqMapTask();
@@ -3927,7 +3927,7 @@
unittest.expect(o.jobId, unittest.equals('foo'));
unittest.expect(o.leaseExpireTime, unittest.equals('foo'));
checkMapTask(o.mapTask);
- checkUnnamed3156(o.packages);
+ checkUnnamed3177(o.packages);
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.reportStatusInterval, unittest.equals('foo'));
checkSeqMapTask(o.seqMapTask);
@@ -3940,27 +3940,27 @@
buildCounterWorkItem--;
}
-buildUnnamed3157() {
+buildUnnamed3178() {
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;
}
-checkUnnamed3157(core.Map<core.String, core.Object> o) {
+checkUnnamed3178(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted43 = (o["x"]) as core.Map; unittest.expect(casted43, unittest.hasLength(3)); unittest.expect(casted43["list"], unittest.equals([1, 2, 3])); unittest.expect(casted43["bool"], unittest.equals(true)); unittest.expect(casted43["string"], unittest.equals('foo'));
var casted44 = (o["y"]) as core.Map; unittest.expect(casted44, unittest.hasLength(3)); unittest.expect(casted44["list"], unittest.equals([1, 2, 3])); unittest.expect(casted44["bool"], unittest.equals(true)); unittest.expect(casted44["string"], unittest.equals('foo'));
}
-buildUnnamed3158() {
+buildUnnamed3179() {
var o = new core.List<api.MetricShortId>();
o.add(buildMetricShortId());
o.add(buildMetricShortId());
return o;
}
-checkUnnamed3158(core.List<api.MetricShortId> o) {
+checkUnnamed3179(core.List<api.MetricShortId> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricShortId(o[0]);
checkMetricShortId(o[1]);
@@ -3971,9 +3971,9 @@
var o = new api.WorkItemServiceState();
buildCounterWorkItemServiceState++;
if (buildCounterWorkItemServiceState < 3) {
- o.harnessData = buildUnnamed3157();
+ o.harnessData = buildUnnamed3178();
o.leaseExpireTime = "foo";
- o.metricShortId = buildUnnamed3158();
+ o.metricShortId = buildUnnamed3179();
o.nextReportIndex = "foo";
o.reportStatusInterval = "foo";
o.splitRequest = buildApproximateSplitRequest();
@@ -3987,9 +3987,9 @@
checkWorkItemServiceState(api.WorkItemServiceState o) {
buildCounterWorkItemServiceState++;
if (buildCounterWorkItemServiceState < 3) {
- checkUnnamed3157(o.harnessData);
+ checkUnnamed3178(o.harnessData);
unittest.expect(o.leaseExpireTime, unittest.equals('foo'));
- checkUnnamed3158(o.metricShortId);
+ checkUnnamed3179(o.metricShortId);
unittest.expect(o.nextReportIndex, unittest.equals('foo'));
unittest.expect(o.reportStatusInterval, unittest.equals('foo'));
checkApproximateSplitRequest(o.splitRequest);
@@ -3999,40 +3999,40 @@
buildCounterWorkItemServiceState--;
}
-buildUnnamed3159() {
+buildUnnamed3180() {
var o = new core.List<api.CounterUpdate>();
o.add(buildCounterUpdate());
o.add(buildCounterUpdate());
return o;
}
-checkUnnamed3159(core.List<api.CounterUpdate> o) {
+checkUnnamed3180(core.List<api.CounterUpdate> o) {
unittest.expect(o, unittest.hasLength(2));
checkCounterUpdate(o[0]);
checkCounterUpdate(o[1]);
}
-buildUnnamed3160() {
+buildUnnamed3181() {
var o = new core.List<api.Status>();
o.add(buildStatus());
o.add(buildStatus());
return o;
}
-checkUnnamed3160(core.List<api.Status> o) {
+checkUnnamed3181(core.List<api.Status> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatus(o[0]);
checkStatus(o[1]);
}
-buildUnnamed3161() {
+buildUnnamed3182() {
var o = new core.List<api.MetricUpdate>();
o.add(buildMetricUpdate());
o.add(buildMetricUpdate());
return o;
}
-checkUnnamed3161(core.List<api.MetricUpdate> o) {
+checkUnnamed3182(core.List<api.MetricUpdate> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricUpdate(o[0]);
checkMetricUpdate(o[1]);
@@ -4044,10 +4044,10 @@
buildCounterWorkItemStatus++;
if (buildCounterWorkItemStatus < 3) {
o.completed = true;
- o.counterUpdates = buildUnnamed3159();
+ o.counterUpdates = buildUnnamed3180();
o.dynamicSourceSplit = buildDynamicSourceSplit();
- o.errors = buildUnnamed3160();
- o.metricUpdates = buildUnnamed3161();
+ o.errors = buildUnnamed3181();
+ o.metricUpdates = buildUnnamed3182();
o.progress = buildApproximateProgress();
o.reportIndex = "foo";
o.reportedProgress = buildApproximateReportedProgress();
@@ -4065,10 +4065,10 @@
buildCounterWorkItemStatus++;
if (buildCounterWorkItemStatus < 3) {
unittest.expect(o.completed, unittest.isTrue);
- checkUnnamed3159(o.counterUpdates);
+ checkUnnamed3180(o.counterUpdates);
checkDynamicSourceSplit(o.dynamicSourceSplit);
- checkUnnamed3160(o.errors);
- checkUnnamed3161(o.metricUpdates);
+ checkUnnamed3181(o.errors);
+ checkUnnamed3182(o.metricUpdates);
checkApproximateProgress(o.progress);
unittest.expect(o.reportIndex, unittest.equals('foo'));
checkApproximateReportedProgress(o.reportedProgress);
@@ -4081,30 +4081,30 @@
buildCounterWorkItemStatus--;
}
-buildUnnamed3162() {
+buildUnnamed3183() {
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;
}
-checkUnnamed3162(core.Map<core.String, core.Object> o) {
+checkUnnamed3183(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted45 = (o["x"]) as core.Map; unittest.expect(casted45, unittest.hasLength(3)); unittest.expect(casted45["list"], unittest.equals([1, 2, 3])); unittest.expect(casted45["bool"], unittest.equals(true)); unittest.expect(casted45["string"], unittest.equals('foo'));
var casted46 = (o["y"]) as core.Map; unittest.expect(casted46, unittest.hasLength(3)); unittest.expect(casted46["list"], unittest.equals([1, 2, 3])); unittest.expect(casted46["bool"], unittest.equals(true)); unittest.expect(casted46["string"], unittest.equals('foo'));
}
-buildUnnamed3163() {
+buildUnnamed3184() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3162());
- o.add(buildUnnamed3162());
+ o.add(buildUnnamed3183());
+ o.add(buildUnnamed3183());
return o;
}
-checkUnnamed3163(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3184(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3162(o[0]);
- checkUnnamed3162(o[1]);
+ checkUnnamed3183(o[0]);
+ checkUnnamed3183(o[1]);
}
core.int buildCounterWorkerHealthReport = 0;
@@ -4112,7 +4112,7 @@
var o = new api.WorkerHealthReport();
buildCounterWorkerHealthReport++;
if (buildCounterWorkerHealthReport < 3) {
- o.pods = buildUnnamed3163();
+ o.pods = buildUnnamed3184();
o.reportInterval = "foo";
o.vmIsHealthy = true;
o.vmStartupTime = "foo";
@@ -4124,7 +4124,7 @@
checkWorkerHealthReport(api.WorkerHealthReport o) {
buildCounterWorkerHealthReport++;
if (buildCounterWorkerHealthReport < 3) {
- checkUnnamed3163(o.pods);
+ checkUnnamed3184(o.pods);
unittest.expect(o.reportInterval, unittest.equals('foo'));
unittest.expect(o.vmIsHealthy, unittest.isTrue);
unittest.expect(o.vmStartupTime, unittest.equals('foo'));
@@ -4151,14 +4151,14 @@
buildCounterWorkerHealthReportResponse--;
}
-buildUnnamed3164() {
+buildUnnamed3185() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3164(core.Map<core.String, core.String> o) {
+checkUnnamed3185(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -4169,7 +4169,7 @@
var o = new api.WorkerMessage();
buildCounterWorkerMessage++;
if (buildCounterWorkerMessage < 3) {
- o.labels = buildUnnamed3164();
+ o.labels = buildUnnamed3185();
o.time = "foo";
o.workerHealthReport = buildWorkerHealthReport();
o.workerMessageCode = buildWorkerMessageCode();
@@ -4182,7 +4182,7 @@
checkWorkerMessage(api.WorkerMessage o) {
buildCounterWorkerMessage++;
if (buildCounterWorkerMessage < 3) {
- checkUnnamed3164(o.labels);
+ checkUnnamed3185(o.labels);
unittest.expect(o.time, unittest.equals('foo'));
checkWorkerHealthReport(o.workerHealthReport);
checkWorkerMessageCode(o.workerMessageCode);
@@ -4191,14 +4191,14 @@
buildCounterWorkerMessage--;
}
-buildUnnamed3165() {
+buildUnnamed3186() {
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;
}
-checkUnnamed3165(core.Map<core.String, core.Object> o) {
+checkUnnamed3186(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted47 = (o["x"]) as core.Map; unittest.expect(casted47, unittest.hasLength(3)); unittest.expect(casted47["list"], unittest.equals([1, 2, 3])); unittest.expect(casted47["bool"], unittest.equals(true)); unittest.expect(casted47["string"], unittest.equals('foo'));
var casted48 = (o["y"]) as core.Map; unittest.expect(casted48, unittest.hasLength(3)); unittest.expect(casted48["list"], unittest.equals([1, 2, 3])); unittest.expect(casted48["bool"], unittest.equals(true)); unittest.expect(casted48["string"], unittest.equals('foo'));
@@ -4210,7 +4210,7 @@
buildCounterWorkerMessageCode++;
if (buildCounterWorkerMessageCode < 3) {
o.code = "foo";
- o.parameters = buildUnnamed3165();
+ o.parameters = buildUnnamed3186();
}
buildCounterWorkerMessageCode--;
return o;
@@ -4220,7 +4220,7 @@
buildCounterWorkerMessageCode++;
if (buildCounterWorkerMessageCode < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed3165(o.parameters);
+ checkUnnamed3186(o.parameters);
}
buildCounterWorkerMessageCode--;
}
@@ -4246,53 +4246,53 @@
buildCounterWorkerMessageResponse--;
}
-buildUnnamed3166() {
+buildUnnamed3187() {
var o = new core.List<api.Disk>();
o.add(buildDisk());
o.add(buildDisk());
return o;
}
-checkUnnamed3166(core.List<api.Disk> o) {
+checkUnnamed3187(core.List<api.Disk> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisk(o[0]);
checkDisk(o[1]);
}
-buildUnnamed3167() {
+buildUnnamed3188() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3167(core.Map<core.String, core.String> o) {
+checkUnnamed3188(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3168() {
+buildUnnamed3189() {
var o = new core.List<api.Package>();
o.add(buildPackage());
o.add(buildPackage());
return o;
}
-checkUnnamed3168(core.List<api.Package> o) {
+checkUnnamed3189(core.List<api.Package> o) {
unittest.expect(o, unittest.hasLength(2));
checkPackage(o[0]);
checkPackage(o[1]);
}
-buildUnnamed3169() {
+buildUnnamed3190() {
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;
}
-checkUnnamed3169(core.Map<core.String, core.Object> o) {
+checkUnnamed3190(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted49 = (o["x"]) as core.Map; unittest.expect(casted49, unittest.hasLength(3)); unittest.expect(casted49["list"], unittest.equals([1, 2, 3])); unittest.expect(casted49["bool"], unittest.equals(true)); unittest.expect(casted49["string"], unittest.equals('foo'));
var casted50 = (o["y"]) as core.Map; unittest.expect(casted50, unittest.hasLength(3)); unittest.expect(casted50["list"], unittest.equals([1, 2, 3])); unittest.expect(casted50["bool"], unittest.equals(true)); unittest.expect(casted50["string"], unittest.equals('foo'));
@@ -4304,7 +4304,7 @@
buildCounterWorkerPool++;
if (buildCounterWorkerPool < 3) {
o.autoscalingSettings = buildAutoscalingSettings();
- o.dataDisks = buildUnnamed3166();
+ o.dataDisks = buildUnnamed3187();
o.defaultPackageSet = "foo";
o.diskSizeGb = 42;
o.diskSourceImage = "foo";
@@ -4312,13 +4312,13 @@
o.ipConfiguration = "foo";
o.kind = "foo";
o.machineType = "foo";
- o.metadata = buildUnnamed3167();
+ o.metadata = buildUnnamed3188();
o.network = "foo";
o.numThreadsPerWorker = 42;
o.numWorkers = 42;
o.onHostMaintenance = "foo";
- o.packages = buildUnnamed3168();
- o.poolArgs = buildUnnamed3169();
+ o.packages = buildUnnamed3189();
+ o.poolArgs = buildUnnamed3190();
o.subnetwork = "foo";
o.taskrunnerSettings = buildTaskRunnerSettings();
o.teardownPolicy = "foo";
@@ -4333,7 +4333,7 @@
buildCounterWorkerPool++;
if (buildCounterWorkerPool < 3) {
checkAutoscalingSettings(o.autoscalingSettings);
- checkUnnamed3166(o.dataDisks);
+ checkUnnamed3187(o.dataDisks);
unittest.expect(o.defaultPackageSet, unittest.equals('foo'));
unittest.expect(o.diskSizeGb, unittest.equals(42));
unittest.expect(o.diskSourceImage, unittest.equals('foo'));
@@ -4341,13 +4341,13 @@
unittest.expect(o.ipConfiguration, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.machineType, unittest.equals('foo'));
- checkUnnamed3167(o.metadata);
+ checkUnnamed3188(o.metadata);
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.numThreadsPerWorker, unittest.equals(42));
unittest.expect(o.numWorkers, unittest.equals(42));
unittest.expect(o.onHostMaintenance, unittest.equals('foo'));
- checkUnnamed3168(o.packages);
- checkUnnamed3169(o.poolArgs);
+ checkUnnamed3189(o.packages);
+ checkUnnamed3190(o.poolArgs);
unittest.expect(o.subnetwork, unittest.equals('foo'));
checkTaskRunnerSettings(o.taskrunnerSettings);
unittest.expect(o.teardownPolicy, unittest.equals('foo'));
@@ -5576,15 +5576,76 @@
unittest.group("resource-ProjectsJobsResourceApi", () {
+ unittest.test("method--aggregated", () {
+
+ var mock = new HttpServerMock();
+ api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs;
+ var arg_projectId = "foo";
+ var arg_filter = "foo";
+ var arg_location = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_view = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.equals("v1b3/projects/"));
+ pathOffset += 14;
+ index = path.indexOf("/jobs:aggregated", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_projectId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.equals("/jobs:aggregated"));
+ pathOffset += 16;
+
+ 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["location"].first, unittest.equals(arg_location));
+ 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));
+
+
+ var h = {
+ "content-type" : "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListJobsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.aggregated(arg_projectId, filter: arg_filter, location: arg_location, pageToken: arg_pageToken, pageSize: arg_pageSize, view: arg_view).then(unittest.expectAsync1(((api.ListJobsResponse response) {
+ checkListJobsResponse(response);
+ })));
+ });
+
unittest.test("method--create", () {
var mock = new HttpServerMock();
api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs;
var arg_request = buildJob();
var arg_projectId = "foo";
+ var arg_location = "foo";
var arg_replaceJobId = "foo";
var arg_view = "foo";
- var arg_location = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Job.fromJson(json);
checkJob(obj);
@@ -5621,9 +5682,9 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["location"].first, unittest.equals(arg_location));
unittest.expect(queryMap["replaceJobId"].first, unittest.equals(arg_replaceJobId));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- unittest.expect(queryMap["location"].first, unittest.equals(arg_location));
var h = {
@@ -5632,7 +5693,7 @@
var resp = convert.JSON.encode(buildJob());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.create(arg_request, arg_projectId, replaceJobId: arg_replaceJobId, view: arg_view, location: arg_location).then(unittest.expectAsync1(((api.Job response) {
+ res.create(arg_request, arg_projectId, location: arg_location, replaceJobId: arg_replaceJobId, view: arg_view).then(unittest.expectAsync1(((api.Job response) {
checkJob(response);
})));
});
@@ -5643,8 +5704,8 @@
api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs;
var arg_projectId = "foo";
var arg_jobId = "foo";
- var arg_view = "foo";
var arg_location = "foo";
+ var arg_view = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5681,8 +5742,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["location"].first, unittest.equals(arg_location));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
var h = {
@@ -5691,7 +5752,7 @@
var resp = convert.JSON.encode(buildJob());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_projectId, arg_jobId, view: arg_view, location: arg_location).then(unittest.expectAsync1(((api.Job response) {
+ res.get(arg_projectId, arg_jobId, location: arg_location, view: arg_view).then(unittest.expectAsync1(((api.Job response) {
checkJob(response);
})));
});
@@ -5702,8 +5763,8 @@
api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs;
var arg_projectId = "foo";
var arg_jobId = "foo";
- var arg_startTime = "foo";
var arg_location = "foo";
+ var arg_startTime = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5744,8 +5805,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTime));
unittest.expect(queryMap["location"].first, unittest.equals(arg_location));
+ unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTime));
var h = {
@@ -5754,7 +5815,7 @@
var resp = convert.JSON.encode(buildJobMetrics());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.getMetrics(arg_projectId, arg_jobId, startTime: arg_startTime, location: arg_location).then(unittest.expectAsync1(((api.JobMetrics response) {
+ res.getMetrics(arg_projectId, arg_jobId, location: arg_location, startTime: arg_startTime).then(unittest.expectAsync1(((api.JobMetrics response) {
checkJobMetrics(response);
})));
});
@@ -5764,11 +5825,11 @@
var mock = new HttpServerMock();
api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs;
var arg_projectId = "foo";
- var arg_pageSize = 42;
var arg_view = "foo";
var arg_filter = "foo";
var arg_location = "foo";
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -5802,11 +5863,11 @@
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["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["location"].first, unittest.equals(arg_location));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -5815,7 +5876,7 @@
var resp = convert.JSON.encode(buildListJobsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, pageSize: arg_pageSize, view: arg_view, filter: arg_filter, location: arg_location, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListJobsResponse response) {
+ res.list(arg_projectId, view: arg_view, filter: arg_filter, location: arg_location, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListJobsResponse response) {
checkListJobsResponse(response);
})));
});
@@ -6021,12 +6082,12 @@
api.ProjectsJobsMessagesResourceApi res = new api.DataflowApi(mock).projects.jobs.messages;
var arg_projectId = "foo";
var arg_jobId = "foo";
- var arg_pageSize = 42;
- var arg_minimumImportance = "foo";
var arg_location = "foo";
var arg_endTime = "foo";
var arg_startTime = "foo";
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_minimumImportance = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -6067,12 +6128,12 @@
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["minimumImportance"].first, unittest.equals(arg_minimumImportance));
unittest.expect(queryMap["location"].first, unittest.equals(arg_location));
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(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["minimumImportance"].first, unittest.equals(arg_minimumImportance));
var h = {
@@ -6081,7 +6142,7 @@
var resp = convert.JSON.encode(buildListJobMessagesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, arg_jobId, pageSize: arg_pageSize, minimumImportance: arg_minimumImportance, location: arg_location, endTime: arg_endTime, startTime: arg_startTime, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListJobMessagesResponse response) {
+ res.list(arg_projectId, arg_jobId, location: arg_location, endTime: arg_endTime, startTime: arg_startTime, pageToken: arg_pageToken, pageSize: arg_pageSize, minimumImportance: arg_minimumImportance).then(unittest.expectAsync1(((api.ListJobMessagesResponse response) {
checkListJobMessagesResponse(response);
})));
});
@@ -6779,11 +6840,11 @@
var arg_projectId = "foo";
var arg_location = "foo";
var arg_jobId = "foo";
- var arg_pageSize = 42;
- var arg_minimumImportance = "foo";
var arg_endTime = "foo";
var arg_startTime = "foo";
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_minimumImportance = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -6831,11 +6892,11 @@
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["minimumImportance"].first, unittest.equals(arg_minimumImportance));
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(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["minimumImportance"].first, unittest.equals(arg_minimumImportance));
var h = {
@@ -6844,7 +6905,7 @@
var resp = convert.JSON.encode(buildListJobMessagesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, arg_location, arg_jobId, pageSize: arg_pageSize, minimumImportance: arg_minimumImportance, endTime: arg_endTime, startTime: arg_startTime, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListJobMessagesResponse response) {
+ res.list(arg_projectId, arg_location, arg_jobId, endTime: arg_endTime, startTime: arg_startTime, pageToken: arg_pageToken, pageSize: arg_pageSize, minimumImportance: arg_minimumImportance).then(unittest.expectAsync1(((api.ListJobMessagesResponse response) {
checkListJobMessagesResponse(response);
})));
});
@@ -7132,8 +7193,8 @@
var arg_request = buildLaunchTemplateParameters();
var arg_projectId = "foo";
var arg_location = "foo";
- var arg_validateOnly = true;
var arg_gcsPath = "foo";
+ var arg_validateOnly = true;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.LaunchTemplateParameters.fromJson(json);
checkLaunchTemplateParameters(obj);
@@ -7177,8 +7238,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["validateOnly"].first, unittest.equals("$arg_validateOnly"));
unittest.expect(queryMap["gcsPath"].first, unittest.equals(arg_gcsPath));
+ unittest.expect(queryMap["validateOnly"].first, unittest.equals("$arg_validateOnly"));
var h = {
@@ -7187,7 +7248,7 @@
var resp = convert.JSON.encode(buildLaunchTemplateResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.launch(arg_request, arg_projectId, arg_location, validateOnly: arg_validateOnly, gcsPath: arg_gcsPath).then(unittest.expectAsync1(((api.LaunchTemplateResponse response) {
+ res.launch(arg_request, arg_projectId, arg_location, gcsPath: arg_gcsPath, validateOnly: arg_validateOnly).then(unittest.expectAsync1(((api.LaunchTemplateResponse response) {
checkLaunchTemplateResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/dlp/v2beta1_test.dart b/generated/googleapis_beta/test/dlp/v2beta1_test.dart
index 8f949c7..6d894e7 100644
--- a/generated/googleapis_beta/test/dlp/v2beta1_test.dart
+++ b/generated/googleapis_beta/test/dlp/v2beta1_test.dart
@@ -68,14 +68,14 @@
buildCounterGoogleLongrunningCancelOperationRequest--;
}
-buildUnnamed3283() {
+buildUnnamed3310() {
var o = new core.List<api.GoogleLongrunningOperation>();
o.add(buildGoogleLongrunningOperation());
o.add(buildGoogleLongrunningOperation());
return o;
}
-checkUnnamed3283(core.List<api.GoogleLongrunningOperation> o) {
+checkUnnamed3310(core.List<api.GoogleLongrunningOperation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleLongrunningOperation(o[0]);
checkGoogleLongrunningOperation(o[1]);
@@ -87,7 +87,7 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3283();
+ o.operations = buildUnnamed3310();
}
buildCounterGoogleLongrunningListOperationsResponse--;
return o;
@@ -97,32 +97,32 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3283(o.operations);
+ checkUnnamed3310(o.operations);
}
buildCounterGoogleLongrunningListOperationsResponse--;
}
-buildUnnamed3284() {
+buildUnnamed3311() {
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;
}
-checkUnnamed3284(core.Map<core.String, core.Object> o) {
+checkUnnamed3311(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'));
}
-buildUnnamed3285() {
+buildUnnamed3312() {
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;
}
-checkUnnamed3285(core.Map<core.String, core.Object> o) {
+checkUnnamed3312(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'));
@@ -135,9 +135,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
o.done = true;
o.error = buildGoogleRpcStatus();
- o.metadata = buildUnnamed3284();
+ o.metadata = buildUnnamed3311();
o.name = "foo";
- o.response = buildUnnamed3285();
+ o.response = buildUnnamed3312();
}
buildCounterGoogleLongrunningOperation--;
return o;
@@ -148,13 +148,70 @@
if (buildCounterGoogleLongrunningOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkGoogleRpcStatus(o.error);
- checkUnnamed3284(o.metadata);
+ checkUnnamed3311(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3285(o.response);
+ checkUnnamed3312(o.response);
}
buildCounterGoogleLongrunningOperation--;
}
+buildUnnamed3313() {
+ var o = new core.List<api.GooglePrivacyDlpV2beta1FieldId>();
+ o.add(buildGooglePrivacyDlpV2beta1FieldId());
+ o.add(buildGooglePrivacyDlpV2beta1FieldId());
+ return o;
+}
+
+checkUnnamed3313(core.List<api.GooglePrivacyDlpV2beta1FieldId> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGooglePrivacyDlpV2beta1FieldId(o[0]);
+ checkGooglePrivacyDlpV2beta1FieldId(o[1]);
+}
+
+core.int buildCounterGooglePrivacyDlpV2beta1BigQueryOptions = 0;
+buildGooglePrivacyDlpV2beta1BigQueryOptions() {
+ var o = new api.GooglePrivacyDlpV2beta1BigQueryOptions();
+ buildCounterGooglePrivacyDlpV2beta1BigQueryOptions++;
+ if (buildCounterGooglePrivacyDlpV2beta1BigQueryOptions < 3) {
+ o.identifyingFields = buildUnnamed3313();
+ o.tableReference = buildGooglePrivacyDlpV2beta1BigQueryTable();
+ }
+ buildCounterGooglePrivacyDlpV2beta1BigQueryOptions--;
+ return o;
+}
+
+checkGooglePrivacyDlpV2beta1BigQueryOptions(api.GooglePrivacyDlpV2beta1BigQueryOptions o) {
+ buildCounterGooglePrivacyDlpV2beta1BigQueryOptions++;
+ if (buildCounterGooglePrivacyDlpV2beta1BigQueryOptions < 3) {
+ checkUnnamed3313(o.identifyingFields);
+ checkGooglePrivacyDlpV2beta1BigQueryTable(o.tableReference);
+ }
+ buildCounterGooglePrivacyDlpV2beta1BigQueryOptions--;
+}
+
+core.int buildCounterGooglePrivacyDlpV2beta1BigQueryTable = 0;
+buildGooglePrivacyDlpV2beta1BigQueryTable() {
+ var o = new api.GooglePrivacyDlpV2beta1BigQueryTable();
+ buildCounterGooglePrivacyDlpV2beta1BigQueryTable++;
+ if (buildCounterGooglePrivacyDlpV2beta1BigQueryTable < 3) {
+ o.datasetId = "foo";
+ o.projectId = "foo";
+ o.tableId = "foo";
+ }
+ buildCounterGooglePrivacyDlpV2beta1BigQueryTable--;
+ return o;
+}
+
+checkGooglePrivacyDlpV2beta1BigQueryTable(api.GooglePrivacyDlpV2beta1BigQueryTable o) {
+ buildCounterGooglePrivacyDlpV2beta1BigQueryTable++;
+ if (buildCounterGooglePrivacyDlpV2beta1BigQueryTable < 3) {
+ unittest.expect(o.datasetId, unittest.equals('foo'));
+ unittest.expect(o.projectId, unittest.equals('foo'));
+ unittest.expect(o.tableId, unittest.equals('foo'));
+ }
+ buildCounterGooglePrivacyDlpV2beta1BigQueryTable--;
+}
+
core.int buildCounterGooglePrivacyDlpV2beta1CategoryDescription = 0;
buildGooglePrivacyDlpV2beta1CategoryDescription() {
var o = new api.GooglePrivacyDlpV2beta1CategoryDescription();
@@ -264,6 +321,7 @@
buildCounterGooglePrivacyDlpV2beta1ContentItem++;
if (buildCounterGooglePrivacyDlpV2beta1ContentItem < 3) {
o.data = "foo";
+ o.table = buildGooglePrivacyDlpV2beta1Table();
o.type = "foo";
o.value = "foo";
}
@@ -275,6 +333,7 @@
buildCounterGooglePrivacyDlpV2beta1ContentItem++;
if (buildCounterGooglePrivacyDlpV2beta1ContentItem < 3) {
unittest.expect(o.data, unittest.equals('foo'));
+ checkGooglePrivacyDlpV2beta1Table(o.table);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
@@ -287,6 +346,7 @@
buildCounterGooglePrivacyDlpV2beta1CreateInspectOperationRequest++;
if (buildCounterGooglePrivacyDlpV2beta1CreateInspectOperationRequest < 3) {
o.inspectConfig = buildGooglePrivacyDlpV2beta1InspectConfig();
+ o.operationConfig = buildGooglePrivacyDlpV2beta1OperationConfig();
o.outputConfig = buildGooglePrivacyDlpV2beta1OutputStorageConfig();
o.storageConfig = buildGooglePrivacyDlpV2beta1StorageConfig();
}
@@ -298,6 +358,7 @@
buildCounterGooglePrivacyDlpV2beta1CreateInspectOperationRequest++;
if (buildCounterGooglePrivacyDlpV2beta1CreateInspectOperationRequest < 3) {
checkGooglePrivacyDlpV2beta1InspectConfig(o.inspectConfig);
+ checkGooglePrivacyDlpV2beta1OperationConfig(o.operationConfig);
checkGooglePrivacyDlpV2beta1OutputStorageConfig(o.outputConfig);
checkGooglePrivacyDlpV2beta1StorageConfig(o.storageConfig);
}
@@ -323,14 +384,14 @@
buildCounterGooglePrivacyDlpV2beta1DatastoreKey--;
}
-buildUnnamed3286() {
+buildUnnamed3314() {
var o = new core.List<api.GooglePrivacyDlpV2beta1Projection>();
o.add(buildGooglePrivacyDlpV2beta1Projection());
o.add(buildGooglePrivacyDlpV2beta1Projection());
return o;
}
-checkUnnamed3286(core.List<api.GooglePrivacyDlpV2beta1Projection> o) {
+checkUnnamed3314(core.List<api.GooglePrivacyDlpV2beta1Projection> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2beta1Projection(o[0]);
checkGooglePrivacyDlpV2beta1Projection(o[1]);
@@ -343,7 +404,7 @@
if (buildCounterGooglePrivacyDlpV2beta1DatastoreOptions < 3) {
o.kind = buildGooglePrivacyDlpV2beta1KindExpression();
o.partitionId = buildGooglePrivacyDlpV2beta1PartitionId();
- o.projection = buildUnnamed3286();
+ o.projection = buildUnnamed3314();
}
buildCounterGooglePrivacyDlpV2beta1DatastoreOptions--;
return o;
@@ -354,7 +415,7 @@
if (buildCounterGooglePrivacyDlpV2beta1DatastoreOptions < 3) {
checkGooglePrivacyDlpV2beta1KindExpression(o.kind);
checkGooglePrivacyDlpV2beta1PartitionId(o.partitionId);
- checkUnnamed3286(o.projection);
+ checkUnnamed3314(o.projection);
}
buildCounterGooglePrivacyDlpV2beta1DatastoreOptions--;
}
@@ -491,14 +552,14 @@
buildCounterGooglePrivacyDlpV2beta1InfoType--;
}
-buildUnnamed3287() {
+buildUnnamed3315() {
var o = new core.List<api.GooglePrivacyDlpV2beta1CategoryDescription>();
o.add(buildGooglePrivacyDlpV2beta1CategoryDescription());
o.add(buildGooglePrivacyDlpV2beta1CategoryDescription());
return o;
}
-checkUnnamed3287(core.List<api.GooglePrivacyDlpV2beta1CategoryDescription> o) {
+checkUnnamed3315(core.List<api.GooglePrivacyDlpV2beta1CategoryDescription> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2beta1CategoryDescription(o[0]);
checkGooglePrivacyDlpV2beta1CategoryDescription(o[1]);
@@ -509,7 +570,7 @@
var o = new api.GooglePrivacyDlpV2beta1InfoTypeDescription();
buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription++;
if (buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription < 3) {
- o.categories = buildUnnamed3287();
+ o.categories = buildUnnamed3315();
o.displayName = "foo";
o.name = "foo";
}
@@ -520,13 +581,34 @@
checkGooglePrivacyDlpV2beta1InfoTypeDescription(api.GooglePrivacyDlpV2beta1InfoTypeDescription o) {
buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription++;
if (buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription < 3) {
- checkUnnamed3287(o.categories);
+ checkUnnamed3315(o.categories);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription--;
}
+core.int buildCounterGooglePrivacyDlpV2beta1InfoTypeLimit = 0;
+buildGooglePrivacyDlpV2beta1InfoTypeLimit() {
+ var o = new api.GooglePrivacyDlpV2beta1InfoTypeLimit();
+ buildCounterGooglePrivacyDlpV2beta1InfoTypeLimit++;
+ if (buildCounterGooglePrivacyDlpV2beta1InfoTypeLimit < 3) {
+ o.infoType = buildGooglePrivacyDlpV2beta1InfoType();
+ o.maxFindings = 42;
+ }
+ buildCounterGooglePrivacyDlpV2beta1InfoTypeLimit--;
+ return o;
+}
+
+checkGooglePrivacyDlpV2beta1InfoTypeLimit(api.GooglePrivacyDlpV2beta1InfoTypeLimit o) {
+ buildCounterGooglePrivacyDlpV2beta1InfoTypeLimit++;
+ if (buildCounterGooglePrivacyDlpV2beta1InfoTypeLimit < 3) {
+ checkGooglePrivacyDlpV2beta1InfoType(o.infoType);
+ unittest.expect(o.maxFindings, unittest.equals(42));
+ }
+ buildCounterGooglePrivacyDlpV2beta1InfoTypeLimit--;
+}
+
core.int buildCounterGooglePrivacyDlpV2beta1InfoTypeStatistics = 0;
buildGooglePrivacyDlpV2beta1InfoTypeStatistics() {
var o = new api.GooglePrivacyDlpV2beta1InfoTypeStatistics();
@@ -548,14 +630,27 @@
buildCounterGooglePrivacyDlpV2beta1InfoTypeStatistics--;
}
-buildUnnamed3288() {
+buildUnnamed3316() {
+ var o = new core.List<api.GooglePrivacyDlpV2beta1InfoTypeLimit>();
+ o.add(buildGooglePrivacyDlpV2beta1InfoTypeLimit());
+ o.add(buildGooglePrivacyDlpV2beta1InfoTypeLimit());
+ return o;
+}
+
+checkUnnamed3316(core.List<api.GooglePrivacyDlpV2beta1InfoTypeLimit> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGooglePrivacyDlpV2beta1InfoTypeLimit(o[0]);
+ checkGooglePrivacyDlpV2beta1InfoTypeLimit(o[1]);
+}
+
+buildUnnamed3317() {
var o = new core.List<api.GooglePrivacyDlpV2beta1InfoType>();
o.add(buildGooglePrivacyDlpV2beta1InfoType());
o.add(buildGooglePrivacyDlpV2beta1InfoType());
return o;
}
-checkUnnamed3288(core.List<api.GooglePrivacyDlpV2beta1InfoType> o) {
+checkUnnamed3317(core.List<api.GooglePrivacyDlpV2beta1InfoType> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2beta1InfoType(o[0]);
checkGooglePrivacyDlpV2beta1InfoType(o[1]);
@@ -568,7 +663,8 @@
if (buildCounterGooglePrivacyDlpV2beta1InspectConfig < 3) {
o.excludeTypes = true;
o.includeQuote = true;
- o.infoTypes = buildUnnamed3288();
+ o.infoTypeLimits = buildUnnamed3316();
+ o.infoTypes = buildUnnamed3317();
o.maxFindings = 42;
o.minLikelihood = "foo";
}
@@ -581,21 +677,22 @@
if (buildCounterGooglePrivacyDlpV2beta1InspectConfig < 3) {
unittest.expect(o.excludeTypes, unittest.isTrue);
unittest.expect(o.includeQuote, unittest.isTrue);
- checkUnnamed3288(o.infoTypes);
+ checkUnnamed3316(o.infoTypeLimits);
+ checkUnnamed3317(o.infoTypes);
unittest.expect(o.maxFindings, unittest.equals(42));
unittest.expect(o.minLikelihood, unittest.equals('foo'));
}
buildCounterGooglePrivacyDlpV2beta1InspectConfig--;
}
-buildUnnamed3289() {
+buildUnnamed3318() {
var o = new core.List<api.GooglePrivacyDlpV2beta1ContentItem>();
o.add(buildGooglePrivacyDlpV2beta1ContentItem());
o.add(buildGooglePrivacyDlpV2beta1ContentItem());
return o;
}
-checkUnnamed3289(core.List<api.GooglePrivacyDlpV2beta1ContentItem> o) {
+checkUnnamed3318(core.List<api.GooglePrivacyDlpV2beta1ContentItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2beta1ContentItem(o[0]);
checkGooglePrivacyDlpV2beta1ContentItem(o[1]);
@@ -607,7 +704,7 @@
buildCounterGooglePrivacyDlpV2beta1InspectContentRequest++;
if (buildCounterGooglePrivacyDlpV2beta1InspectContentRequest < 3) {
o.inspectConfig = buildGooglePrivacyDlpV2beta1InspectConfig();
- o.items = buildUnnamed3289();
+ o.items = buildUnnamed3318();
}
buildCounterGooglePrivacyDlpV2beta1InspectContentRequest--;
return o;
@@ -617,19 +714,19 @@
buildCounterGooglePrivacyDlpV2beta1InspectContentRequest++;
if (buildCounterGooglePrivacyDlpV2beta1InspectContentRequest < 3) {
checkGooglePrivacyDlpV2beta1InspectConfig(o.inspectConfig);
- checkUnnamed3289(o.items);
+ checkUnnamed3318(o.items);
}
buildCounterGooglePrivacyDlpV2beta1InspectContentRequest--;
}
-buildUnnamed3290() {
+buildUnnamed3319() {
var o = new core.List<api.GooglePrivacyDlpV2beta1InspectResult>();
o.add(buildGooglePrivacyDlpV2beta1InspectResult());
o.add(buildGooglePrivacyDlpV2beta1InspectResult());
return o;
}
-checkUnnamed3290(core.List<api.GooglePrivacyDlpV2beta1InspectResult> o) {
+checkUnnamed3319(core.List<api.GooglePrivacyDlpV2beta1InspectResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2beta1InspectResult(o[0]);
checkGooglePrivacyDlpV2beta1InspectResult(o[1]);
@@ -640,7 +737,7 @@
var o = new api.GooglePrivacyDlpV2beta1InspectContentResponse();
buildCounterGooglePrivacyDlpV2beta1InspectContentResponse++;
if (buildCounterGooglePrivacyDlpV2beta1InspectContentResponse < 3) {
- o.results = buildUnnamed3290();
+ o.results = buildUnnamed3319();
}
buildCounterGooglePrivacyDlpV2beta1InspectContentResponse--;
return o;
@@ -649,19 +746,19 @@
checkGooglePrivacyDlpV2beta1InspectContentResponse(api.GooglePrivacyDlpV2beta1InspectContentResponse o) {
buildCounterGooglePrivacyDlpV2beta1InspectContentResponse++;
if (buildCounterGooglePrivacyDlpV2beta1InspectContentResponse < 3) {
- checkUnnamed3290(o.results);
+ checkUnnamed3319(o.results);
}
buildCounterGooglePrivacyDlpV2beta1InspectContentResponse--;
}
-buildUnnamed3291() {
+buildUnnamed3320() {
var o = new core.List<api.GooglePrivacyDlpV2beta1InfoTypeStatistics>();
o.add(buildGooglePrivacyDlpV2beta1InfoTypeStatistics());
o.add(buildGooglePrivacyDlpV2beta1InfoTypeStatistics());
return o;
}
-checkUnnamed3291(core.List<api.GooglePrivacyDlpV2beta1InfoTypeStatistics> o) {
+checkUnnamed3320(core.List<api.GooglePrivacyDlpV2beta1InfoTypeStatistics> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2beta1InfoTypeStatistics(o[0]);
checkGooglePrivacyDlpV2beta1InfoTypeStatistics(o[1]);
@@ -673,7 +770,7 @@
buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata++;
if (buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata < 3) {
o.createTime = "foo";
- o.infoTypeStats = buildUnnamed3291();
+ o.infoTypeStats = buildUnnamed3320();
o.processedBytes = "foo";
o.requestInspectConfig = buildGooglePrivacyDlpV2beta1InspectConfig();
o.requestOutputConfig = buildGooglePrivacyDlpV2beta1OutputStorageConfig();
@@ -688,7 +785,7 @@
buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata++;
if (buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed3291(o.infoTypeStats);
+ checkUnnamed3320(o.infoTypeStats);
unittest.expect(o.processedBytes, unittest.equals('foo'));
checkGooglePrivacyDlpV2beta1InspectConfig(o.requestInspectConfig);
checkGooglePrivacyDlpV2beta1OutputStorageConfig(o.requestOutputConfig);
@@ -717,14 +814,14 @@
buildCounterGooglePrivacyDlpV2beta1InspectOperationResult--;
}
-buildUnnamed3292() {
+buildUnnamed3321() {
var o = new core.List<api.GooglePrivacyDlpV2beta1Finding>();
o.add(buildGooglePrivacyDlpV2beta1Finding());
o.add(buildGooglePrivacyDlpV2beta1Finding());
return o;
}
-checkUnnamed3292(core.List<api.GooglePrivacyDlpV2beta1Finding> o) {
+checkUnnamed3321(core.List<api.GooglePrivacyDlpV2beta1Finding> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2beta1Finding(o[0]);
checkGooglePrivacyDlpV2beta1Finding(o[1]);
@@ -735,7 +832,7 @@
var o = new api.GooglePrivacyDlpV2beta1InspectResult();
buildCounterGooglePrivacyDlpV2beta1InspectResult++;
if (buildCounterGooglePrivacyDlpV2beta1InspectResult < 3) {
- o.findings = buildUnnamed3292();
+ o.findings = buildUnnamed3321();
o.findingsTruncated = true;
}
buildCounterGooglePrivacyDlpV2beta1InspectResult--;
@@ -745,20 +842,20 @@
checkGooglePrivacyDlpV2beta1InspectResult(api.GooglePrivacyDlpV2beta1InspectResult o) {
buildCounterGooglePrivacyDlpV2beta1InspectResult++;
if (buildCounterGooglePrivacyDlpV2beta1InspectResult < 3) {
- checkUnnamed3292(o.findings);
+ checkUnnamed3321(o.findings);
unittest.expect(o.findingsTruncated, unittest.isTrue);
}
buildCounterGooglePrivacyDlpV2beta1InspectResult--;
}
-buildUnnamed3293() {
+buildUnnamed3322() {
var o = new core.List<api.GooglePrivacyDlpV2beta1PathElement>();
o.add(buildGooglePrivacyDlpV2beta1PathElement());
o.add(buildGooglePrivacyDlpV2beta1PathElement());
return o;
}
-checkUnnamed3293(core.List<api.GooglePrivacyDlpV2beta1PathElement> o) {
+checkUnnamed3322(core.List<api.GooglePrivacyDlpV2beta1PathElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2beta1PathElement(o[0]);
checkGooglePrivacyDlpV2beta1PathElement(o[1]);
@@ -770,7 +867,7 @@
buildCounterGooglePrivacyDlpV2beta1Key++;
if (buildCounterGooglePrivacyDlpV2beta1Key < 3) {
o.partitionId = buildGooglePrivacyDlpV2beta1PartitionId();
- o.path = buildUnnamed3293();
+ o.path = buildUnnamed3322();
}
buildCounterGooglePrivacyDlpV2beta1Key--;
return o;
@@ -780,7 +877,7 @@
buildCounterGooglePrivacyDlpV2beta1Key++;
if (buildCounterGooglePrivacyDlpV2beta1Key < 3) {
checkGooglePrivacyDlpV2beta1PartitionId(o.partitionId);
- checkUnnamed3293(o.path);
+ checkUnnamed3322(o.path);
}
buildCounterGooglePrivacyDlpV2beta1Key--;
}
@@ -804,14 +901,14 @@
buildCounterGooglePrivacyDlpV2beta1KindExpression--;
}
-buildUnnamed3294() {
+buildUnnamed3323() {
var o = new core.List<api.GooglePrivacyDlpV2beta1InfoTypeDescription>();
o.add(buildGooglePrivacyDlpV2beta1InfoTypeDescription());
o.add(buildGooglePrivacyDlpV2beta1InfoTypeDescription());
return o;
}
-checkUnnamed3294(core.List<api.GooglePrivacyDlpV2beta1InfoTypeDescription> o) {
+checkUnnamed3323(core.List<api.GooglePrivacyDlpV2beta1InfoTypeDescription> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2beta1InfoTypeDescription(o[0]);
checkGooglePrivacyDlpV2beta1InfoTypeDescription(o[1]);
@@ -822,7 +919,7 @@
var o = new api.GooglePrivacyDlpV2beta1ListInfoTypesResponse();
buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse++;
if (buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse < 3) {
- o.infoTypes = buildUnnamed3294();
+ o.infoTypes = buildUnnamed3323();
}
buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse--;
return o;
@@ -831,7 +928,7 @@
checkGooglePrivacyDlpV2beta1ListInfoTypesResponse(api.GooglePrivacyDlpV2beta1ListInfoTypesResponse o) {
buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse++;
if (buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse < 3) {
- checkUnnamed3294(o.infoTypes);
+ checkUnnamed3323(o.infoTypes);
}
buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse--;
}
@@ -857,14 +954,14 @@
buildCounterGooglePrivacyDlpV2beta1ListInspectFindingsResponse--;
}
-buildUnnamed3295() {
+buildUnnamed3324() {
var o = new core.List<api.GooglePrivacyDlpV2beta1CategoryDescription>();
o.add(buildGooglePrivacyDlpV2beta1CategoryDescription());
o.add(buildGooglePrivacyDlpV2beta1CategoryDescription());
return o;
}
-checkUnnamed3295(core.List<api.GooglePrivacyDlpV2beta1CategoryDescription> o) {
+checkUnnamed3324(core.List<api.GooglePrivacyDlpV2beta1CategoryDescription> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2beta1CategoryDescription(o[0]);
checkGooglePrivacyDlpV2beta1CategoryDescription(o[1]);
@@ -875,7 +972,7 @@
var o = new api.GooglePrivacyDlpV2beta1ListRootCategoriesResponse();
buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse++;
if (buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse < 3) {
- o.categories = buildUnnamed3295();
+ o.categories = buildUnnamed3324();
}
buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse--;
return o;
@@ -884,19 +981,19 @@
checkGooglePrivacyDlpV2beta1ListRootCategoriesResponse(api.GooglePrivacyDlpV2beta1ListRootCategoriesResponse o) {
buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse++;
if (buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse < 3) {
- checkUnnamed3295(o.categories);
+ checkUnnamed3324(o.categories);
}
buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse--;
}
-buildUnnamed3296() {
+buildUnnamed3325() {
var o = new core.List<api.GooglePrivacyDlpV2beta1ImageLocation>();
o.add(buildGooglePrivacyDlpV2beta1ImageLocation());
o.add(buildGooglePrivacyDlpV2beta1ImageLocation());
return o;
}
-checkUnnamed3296(core.List<api.GooglePrivacyDlpV2beta1ImageLocation> o) {
+checkUnnamed3325(core.List<api.GooglePrivacyDlpV2beta1ImageLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2beta1ImageLocation(o[0]);
checkGooglePrivacyDlpV2beta1ImageLocation(o[1]);
@@ -910,8 +1007,9 @@
o.byteRange = buildGooglePrivacyDlpV2beta1Range();
o.codepointRange = buildGooglePrivacyDlpV2beta1Range();
o.fieldId = buildGooglePrivacyDlpV2beta1FieldId();
- o.imageBoxes = buildUnnamed3296();
+ o.imageBoxes = buildUnnamed3325();
o.recordKey = buildGooglePrivacyDlpV2beta1RecordKey();
+ o.tableLocation = buildGooglePrivacyDlpV2beta1TableLocation();
}
buildCounterGooglePrivacyDlpV2beta1Location--;
return o;
@@ -923,18 +1021,39 @@
checkGooglePrivacyDlpV2beta1Range(o.byteRange);
checkGooglePrivacyDlpV2beta1Range(o.codepointRange);
checkGooglePrivacyDlpV2beta1FieldId(o.fieldId);
- checkUnnamed3296(o.imageBoxes);
+ checkUnnamed3325(o.imageBoxes);
checkGooglePrivacyDlpV2beta1RecordKey(o.recordKey);
+ checkGooglePrivacyDlpV2beta1TableLocation(o.tableLocation);
}
buildCounterGooglePrivacyDlpV2beta1Location--;
}
+core.int buildCounterGooglePrivacyDlpV2beta1OperationConfig = 0;
+buildGooglePrivacyDlpV2beta1OperationConfig() {
+ var o = new api.GooglePrivacyDlpV2beta1OperationConfig();
+ buildCounterGooglePrivacyDlpV2beta1OperationConfig++;
+ if (buildCounterGooglePrivacyDlpV2beta1OperationConfig < 3) {
+ o.maxItemFindings = "foo";
+ }
+ buildCounterGooglePrivacyDlpV2beta1OperationConfig--;
+ return o;
+}
+
+checkGooglePrivacyDlpV2beta1OperationConfig(api.GooglePrivacyDlpV2beta1OperationConfig o) {
+ buildCounterGooglePrivacyDlpV2beta1OperationConfig++;
+ if (buildCounterGooglePrivacyDlpV2beta1OperationConfig < 3) {
+ unittest.expect(o.maxItemFindings, unittest.equals('foo'));
+ }
+ buildCounterGooglePrivacyDlpV2beta1OperationConfig--;
+}
+
core.int buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig = 0;
buildGooglePrivacyDlpV2beta1OutputStorageConfig() {
var o = new api.GooglePrivacyDlpV2beta1OutputStorageConfig();
buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig++;
if (buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig < 3) {
o.storagePath = buildGooglePrivacyDlpV2beta1CloudStoragePath();
+ o.table = buildGooglePrivacyDlpV2beta1BigQueryTable();
}
buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig--;
return o;
@@ -944,6 +1063,7 @@
buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig++;
if (buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig < 3) {
checkGooglePrivacyDlpV2beta1CloudStoragePath(o.storagePath);
+ checkGooglePrivacyDlpV2beta1BigQueryTable(o.table);
}
buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig--;
}
@@ -1072,40 +1192,40 @@
buildCounterGooglePrivacyDlpV2beta1RecordKey--;
}
-buildUnnamed3297() {
+buildUnnamed3326() {
var o = new core.List<api.GooglePrivacyDlpV2beta1ImageRedactionConfig>();
o.add(buildGooglePrivacyDlpV2beta1ImageRedactionConfig());
o.add(buildGooglePrivacyDlpV2beta1ImageRedactionConfig());
return o;
}
-checkUnnamed3297(core.List<api.GooglePrivacyDlpV2beta1ImageRedactionConfig> o) {
+checkUnnamed3326(core.List<api.GooglePrivacyDlpV2beta1ImageRedactionConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2beta1ImageRedactionConfig(o[0]);
checkGooglePrivacyDlpV2beta1ImageRedactionConfig(o[1]);
}
-buildUnnamed3298() {
+buildUnnamed3327() {
var o = new core.List<api.GooglePrivacyDlpV2beta1ContentItem>();
o.add(buildGooglePrivacyDlpV2beta1ContentItem());
o.add(buildGooglePrivacyDlpV2beta1ContentItem());
return o;
}
-checkUnnamed3298(core.List<api.GooglePrivacyDlpV2beta1ContentItem> o) {
+checkUnnamed3327(core.List<api.GooglePrivacyDlpV2beta1ContentItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2beta1ContentItem(o[0]);
checkGooglePrivacyDlpV2beta1ContentItem(o[1]);
}
-buildUnnamed3299() {
+buildUnnamed3328() {
var o = new core.List<api.GooglePrivacyDlpV2beta1ReplaceConfig>();
o.add(buildGooglePrivacyDlpV2beta1ReplaceConfig());
o.add(buildGooglePrivacyDlpV2beta1ReplaceConfig());
return o;
}
-checkUnnamed3299(core.List<api.GooglePrivacyDlpV2beta1ReplaceConfig> o) {
+checkUnnamed3328(core.List<api.GooglePrivacyDlpV2beta1ReplaceConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2beta1ReplaceConfig(o[0]);
checkGooglePrivacyDlpV2beta1ReplaceConfig(o[1]);
@@ -1116,10 +1236,10 @@
var o = new api.GooglePrivacyDlpV2beta1RedactContentRequest();
buildCounterGooglePrivacyDlpV2beta1RedactContentRequest++;
if (buildCounterGooglePrivacyDlpV2beta1RedactContentRequest < 3) {
- o.imageRedactionConfigs = buildUnnamed3297();
+ o.imageRedactionConfigs = buildUnnamed3326();
o.inspectConfig = buildGooglePrivacyDlpV2beta1InspectConfig();
- o.items = buildUnnamed3298();
- o.replaceConfigs = buildUnnamed3299();
+ o.items = buildUnnamed3327();
+ o.replaceConfigs = buildUnnamed3328();
}
buildCounterGooglePrivacyDlpV2beta1RedactContentRequest--;
return o;
@@ -1128,22 +1248,22 @@
checkGooglePrivacyDlpV2beta1RedactContentRequest(api.GooglePrivacyDlpV2beta1RedactContentRequest o) {
buildCounterGooglePrivacyDlpV2beta1RedactContentRequest++;
if (buildCounterGooglePrivacyDlpV2beta1RedactContentRequest < 3) {
- checkUnnamed3297(o.imageRedactionConfigs);
+ checkUnnamed3326(o.imageRedactionConfigs);
checkGooglePrivacyDlpV2beta1InspectConfig(o.inspectConfig);
- checkUnnamed3298(o.items);
- checkUnnamed3299(o.replaceConfigs);
+ checkUnnamed3327(o.items);
+ checkUnnamed3328(o.replaceConfigs);
}
buildCounterGooglePrivacyDlpV2beta1RedactContentRequest--;
}
-buildUnnamed3300() {
+buildUnnamed3329() {
var o = new core.List<api.GooglePrivacyDlpV2beta1ContentItem>();
o.add(buildGooglePrivacyDlpV2beta1ContentItem());
o.add(buildGooglePrivacyDlpV2beta1ContentItem());
return o;
}
-checkUnnamed3300(core.List<api.GooglePrivacyDlpV2beta1ContentItem> o) {
+checkUnnamed3329(core.List<api.GooglePrivacyDlpV2beta1ContentItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2beta1ContentItem(o[0]);
checkGooglePrivacyDlpV2beta1ContentItem(o[1]);
@@ -1154,7 +1274,7 @@
var o = new api.GooglePrivacyDlpV2beta1RedactContentResponse();
buildCounterGooglePrivacyDlpV2beta1RedactContentResponse++;
if (buildCounterGooglePrivacyDlpV2beta1RedactContentResponse < 3) {
- o.items = buildUnnamed3300();
+ o.items = buildUnnamed3329();
}
buildCounterGooglePrivacyDlpV2beta1RedactContentResponse--;
return o;
@@ -1163,7 +1283,7 @@
checkGooglePrivacyDlpV2beta1RedactContentResponse(api.GooglePrivacyDlpV2beta1RedactContentResponse o) {
buildCounterGooglePrivacyDlpV2beta1RedactContentResponse++;
if (buildCounterGooglePrivacyDlpV2beta1RedactContentResponse < 3) {
- checkUnnamed3300(o.items);
+ checkUnnamed3329(o.items);
}
buildCounterGooglePrivacyDlpV2beta1RedactContentResponse--;
}
@@ -1189,11 +1309,44 @@
buildCounterGooglePrivacyDlpV2beta1ReplaceConfig--;
}
+buildUnnamed3330() {
+ var o = new core.List<api.GooglePrivacyDlpV2beta1Value>();
+ o.add(buildGooglePrivacyDlpV2beta1Value());
+ o.add(buildGooglePrivacyDlpV2beta1Value());
+ return o;
+}
+
+checkUnnamed3330(core.List<api.GooglePrivacyDlpV2beta1Value> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGooglePrivacyDlpV2beta1Value(o[0]);
+ checkGooglePrivacyDlpV2beta1Value(o[1]);
+}
+
+core.int buildCounterGooglePrivacyDlpV2beta1Row = 0;
+buildGooglePrivacyDlpV2beta1Row() {
+ var o = new api.GooglePrivacyDlpV2beta1Row();
+ buildCounterGooglePrivacyDlpV2beta1Row++;
+ if (buildCounterGooglePrivacyDlpV2beta1Row < 3) {
+ o.values = buildUnnamed3330();
+ }
+ buildCounterGooglePrivacyDlpV2beta1Row--;
+ return o;
+}
+
+checkGooglePrivacyDlpV2beta1Row(api.GooglePrivacyDlpV2beta1Row o) {
+ buildCounterGooglePrivacyDlpV2beta1Row++;
+ if (buildCounterGooglePrivacyDlpV2beta1Row < 3) {
+ checkUnnamed3330(o.values);
+ }
+ buildCounterGooglePrivacyDlpV2beta1Row--;
+}
+
core.int buildCounterGooglePrivacyDlpV2beta1StorageConfig = 0;
buildGooglePrivacyDlpV2beta1StorageConfig() {
var o = new api.GooglePrivacyDlpV2beta1StorageConfig();
buildCounterGooglePrivacyDlpV2beta1StorageConfig++;
if (buildCounterGooglePrivacyDlpV2beta1StorageConfig < 3) {
+ o.bigQueryOptions = buildGooglePrivacyDlpV2beta1BigQueryOptions();
o.cloudStorageOptions = buildGooglePrivacyDlpV2beta1CloudStorageOptions();
o.datastoreOptions = buildGooglePrivacyDlpV2beta1DatastoreOptions();
}
@@ -1204,12 +1357,110 @@
checkGooglePrivacyDlpV2beta1StorageConfig(api.GooglePrivacyDlpV2beta1StorageConfig o) {
buildCounterGooglePrivacyDlpV2beta1StorageConfig++;
if (buildCounterGooglePrivacyDlpV2beta1StorageConfig < 3) {
+ checkGooglePrivacyDlpV2beta1BigQueryOptions(o.bigQueryOptions);
checkGooglePrivacyDlpV2beta1CloudStorageOptions(o.cloudStorageOptions);
checkGooglePrivacyDlpV2beta1DatastoreOptions(o.datastoreOptions);
}
buildCounterGooglePrivacyDlpV2beta1StorageConfig--;
}
+buildUnnamed3331() {
+ var o = new core.List<api.GooglePrivacyDlpV2beta1FieldId>();
+ o.add(buildGooglePrivacyDlpV2beta1FieldId());
+ o.add(buildGooglePrivacyDlpV2beta1FieldId());
+ return o;
+}
+
+checkUnnamed3331(core.List<api.GooglePrivacyDlpV2beta1FieldId> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGooglePrivacyDlpV2beta1FieldId(o[0]);
+ checkGooglePrivacyDlpV2beta1FieldId(o[1]);
+}
+
+buildUnnamed3332() {
+ var o = new core.List<api.GooglePrivacyDlpV2beta1Row>();
+ o.add(buildGooglePrivacyDlpV2beta1Row());
+ o.add(buildGooglePrivacyDlpV2beta1Row());
+ return o;
+}
+
+checkUnnamed3332(core.List<api.GooglePrivacyDlpV2beta1Row> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGooglePrivacyDlpV2beta1Row(o[0]);
+ checkGooglePrivacyDlpV2beta1Row(o[1]);
+}
+
+core.int buildCounterGooglePrivacyDlpV2beta1Table = 0;
+buildGooglePrivacyDlpV2beta1Table() {
+ var o = new api.GooglePrivacyDlpV2beta1Table();
+ buildCounterGooglePrivacyDlpV2beta1Table++;
+ if (buildCounterGooglePrivacyDlpV2beta1Table < 3) {
+ o.headers = buildUnnamed3331();
+ o.rows = buildUnnamed3332();
+ }
+ buildCounterGooglePrivacyDlpV2beta1Table--;
+ return o;
+}
+
+checkGooglePrivacyDlpV2beta1Table(api.GooglePrivacyDlpV2beta1Table o) {
+ buildCounterGooglePrivacyDlpV2beta1Table++;
+ if (buildCounterGooglePrivacyDlpV2beta1Table < 3) {
+ checkUnnamed3331(o.headers);
+ checkUnnamed3332(o.rows);
+ }
+ buildCounterGooglePrivacyDlpV2beta1Table--;
+}
+
+core.int buildCounterGooglePrivacyDlpV2beta1TableLocation = 0;
+buildGooglePrivacyDlpV2beta1TableLocation() {
+ var o = new api.GooglePrivacyDlpV2beta1TableLocation();
+ buildCounterGooglePrivacyDlpV2beta1TableLocation++;
+ if (buildCounterGooglePrivacyDlpV2beta1TableLocation < 3) {
+ o.rowIndex = "foo";
+ }
+ buildCounterGooglePrivacyDlpV2beta1TableLocation--;
+ return o;
+}
+
+checkGooglePrivacyDlpV2beta1TableLocation(api.GooglePrivacyDlpV2beta1TableLocation o) {
+ buildCounterGooglePrivacyDlpV2beta1TableLocation++;
+ if (buildCounterGooglePrivacyDlpV2beta1TableLocation < 3) {
+ unittest.expect(o.rowIndex, unittest.equals('foo'));
+ }
+ buildCounterGooglePrivacyDlpV2beta1TableLocation--;
+}
+
+core.int buildCounterGooglePrivacyDlpV2beta1Value = 0;
+buildGooglePrivacyDlpV2beta1Value() {
+ var o = new api.GooglePrivacyDlpV2beta1Value();
+ buildCounterGooglePrivacyDlpV2beta1Value++;
+ if (buildCounterGooglePrivacyDlpV2beta1Value < 3) {
+ o.booleanValue = true;
+ o.dateValue = buildGoogleTypeDate();
+ o.floatValue = 42.0;
+ o.integerValue = "foo";
+ o.stringValue = "foo";
+ o.timeValue = buildGoogleTypeTimeOfDay();
+ o.timestampValue = "foo";
+ }
+ buildCounterGooglePrivacyDlpV2beta1Value--;
+ return o;
+}
+
+checkGooglePrivacyDlpV2beta1Value(api.GooglePrivacyDlpV2beta1Value o) {
+ buildCounterGooglePrivacyDlpV2beta1Value++;
+ if (buildCounterGooglePrivacyDlpV2beta1Value < 3) {
+ unittest.expect(o.booleanValue, unittest.isTrue);
+ checkGoogleTypeDate(o.dateValue);
+ unittest.expect(o.floatValue, unittest.equals(42.0));
+ unittest.expect(o.integerValue, unittest.equals('foo'));
+ unittest.expect(o.stringValue, unittest.equals('foo'));
+ checkGoogleTypeTimeOfDay(o.timeValue);
+ unittest.expect(o.timestampValue, unittest.equals('foo'));
+ }
+ buildCounterGooglePrivacyDlpV2beta1Value--;
+}
+
core.int buildCounterGoogleProtobufEmpty = 0;
buildGoogleProtobufEmpty() {
var o = new api.GoogleProtobufEmpty();
@@ -1227,30 +1478,30 @@
buildCounterGoogleProtobufEmpty--;
}
-buildUnnamed3301() {
+buildUnnamed3333() {
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;
}
-checkUnnamed3301(core.Map<core.String, core.Object> o) {
+checkUnnamed3333(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'));
}
-buildUnnamed3302() {
+buildUnnamed3334() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3301());
- o.add(buildUnnamed3301());
+ o.add(buildUnnamed3333());
+ o.add(buildUnnamed3333());
return o;
}
-checkUnnamed3302(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3334(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3301(o[0]);
- checkUnnamed3301(o[1]);
+ checkUnnamed3333(o[0]);
+ checkUnnamed3333(o[1]);
}
core.int buildCounterGoogleRpcStatus = 0;
@@ -1259,7 +1510,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3302();
+ o.details = buildUnnamed3334();
o.message = "foo";
}
buildCounterGoogleRpcStatus--;
@@ -1270,12 +1521,60 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3302(o.details);
+ checkUnnamed3334(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterGoogleRpcStatus--;
}
+core.int buildCounterGoogleTypeDate = 0;
+buildGoogleTypeDate() {
+ var o = new api.GoogleTypeDate();
+ buildCounterGoogleTypeDate++;
+ if (buildCounterGoogleTypeDate < 3) {
+ o.day = 42;
+ o.month = 42;
+ o.year = 42;
+ }
+ buildCounterGoogleTypeDate--;
+ return o;
+}
+
+checkGoogleTypeDate(api.GoogleTypeDate o) {
+ buildCounterGoogleTypeDate++;
+ if (buildCounterGoogleTypeDate < 3) {
+ unittest.expect(o.day, unittest.equals(42));
+ unittest.expect(o.month, unittest.equals(42));
+ unittest.expect(o.year, unittest.equals(42));
+ }
+ buildCounterGoogleTypeDate--;
+}
+
+core.int buildCounterGoogleTypeTimeOfDay = 0;
+buildGoogleTypeTimeOfDay() {
+ var o = new api.GoogleTypeTimeOfDay();
+ buildCounterGoogleTypeTimeOfDay++;
+ if (buildCounterGoogleTypeTimeOfDay < 3) {
+ o.hours = 42;
+ o.minutes = 42;
+ o.nanos = 42;
+ o.seconds = 42;
+ }
+ buildCounterGoogleTypeTimeOfDay--;
+ return o;
+}
+
+checkGoogleTypeTimeOfDay(api.GoogleTypeTimeOfDay o) {
+ buildCounterGoogleTypeTimeOfDay++;
+ if (buildCounterGoogleTypeTimeOfDay < 3) {
+ unittest.expect(o.hours, unittest.equals(42));
+ unittest.expect(o.minutes, unittest.equals(42));
+ unittest.expect(o.nanos, unittest.equals(42));
+ unittest.expect(o.seconds, unittest.equals(42));
+ }
+ buildCounterGoogleTypeTimeOfDay--;
+}
+
main() {
unittest.group("obj-schema-GoogleLongrunningCancelOperationRequest", () {
@@ -1305,6 +1604,24 @@
});
+ unittest.group("obj-schema-GooglePrivacyDlpV2beta1BigQueryOptions", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGooglePrivacyDlpV2beta1BigQueryOptions();
+ var od = new api.GooglePrivacyDlpV2beta1BigQueryOptions.fromJson(o.toJson());
+ checkGooglePrivacyDlpV2beta1BigQueryOptions(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GooglePrivacyDlpV2beta1BigQueryTable", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGooglePrivacyDlpV2beta1BigQueryTable();
+ var od = new api.GooglePrivacyDlpV2beta1BigQueryTable.fromJson(o.toJson());
+ checkGooglePrivacyDlpV2beta1BigQueryTable(od);
+ });
+ });
+
+
unittest.group("obj-schema-GooglePrivacyDlpV2beta1CategoryDescription", () {
unittest.test("to-json--from-json", () {
var o = buildGooglePrivacyDlpV2beta1CategoryDescription();
@@ -1449,6 +1766,15 @@
});
+ unittest.group("obj-schema-GooglePrivacyDlpV2beta1InfoTypeLimit", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGooglePrivacyDlpV2beta1InfoTypeLimit();
+ var od = new api.GooglePrivacyDlpV2beta1InfoTypeLimit.fromJson(o.toJson());
+ checkGooglePrivacyDlpV2beta1InfoTypeLimit(od);
+ });
+ });
+
+
unittest.group("obj-schema-GooglePrivacyDlpV2beta1InfoTypeStatistics", () {
unittest.test("to-json--from-json", () {
var o = buildGooglePrivacyDlpV2beta1InfoTypeStatistics();
@@ -1566,6 +1892,15 @@
});
+ unittest.group("obj-schema-GooglePrivacyDlpV2beta1OperationConfig", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGooglePrivacyDlpV2beta1OperationConfig();
+ var od = new api.GooglePrivacyDlpV2beta1OperationConfig.fromJson(o.toJson());
+ checkGooglePrivacyDlpV2beta1OperationConfig(od);
+ });
+ });
+
+
unittest.group("obj-schema-GooglePrivacyDlpV2beta1OutputStorageConfig", () {
unittest.test("to-json--from-json", () {
var o = buildGooglePrivacyDlpV2beta1OutputStorageConfig();
@@ -1656,6 +1991,15 @@
});
+ unittest.group("obj-schema-GooglePrivacyDlpV2beta1Row", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGooglePrivacyDlpV2beta1Row();
+ var od = new api.GooglePrivacyDlpV2beta1Row.fromJson(o.toJson());
+ checkGooglePrivacyDlpV2beta1Row(od);
+ });
+ });
+
+
unittest.group("obj-schema-GooglePrivacyDlpV2beta1StorageConfig", () {
unittest.test("to-json--from-json", () {
var o = buildGooglePrivacyDlpV2beta1StorageConfig();
@@ -1665,6 +2009,33 @@
});
+ unittest.group("obj-schema-GooglePrivacyDlpV2beta1Table", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGooglePrivacyDlpV2beta1Table();
+ var od = new api.GooglePrivacyDlpV2beta1Table.fromJson(o.toJson());
+ checkGooglePrivacyDlpV2beta1Table(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GooglePrivacyDlpV2beta1TableLocation", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGooglePrivacyDlpV2beta1TableLocation();
+ var od = new api.GooglePrivacyDlpV2beta1TableLocation.fromJson(o.toJson());
+ checkGooglePrivacyDlpV2beta1TableLocation(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GooglePrivacyDlpV2beta1Value", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGooglePrivacyDlpV2beta1Value();
+ var od = new api.GooglePrivacyDlpV2beta1Value.fromJson(o.toJson());
+ checkGooglePrivacyDlpV2beta1Value(od);
+ });
+ });
+
+
unittest.group("obj-schema-GoogleProtobufEmpty", () {
unittest.test("to-json--from-json", () {
var o = buildGoogleProtobufEmpty();
@@ -1683,6 +2054,24 @@
});
+ unittest.group("obj-schema-GoogleTypeDate", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleTypeDate();
+ var od = new api.GoogleTypeDate.fromJson(o.toJson());
+ checkGoogleTypeDate(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-GoogleTypeTimeOfDay", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleTypeTimeOfDay();
+ var od = new api.GoogleTypeTimeOfDay.fromJson(o.toJson());
+ checkGoogleTypeTimeOfDay(od);
+ });
+ });
+
+
unittest.group("resource-ContentResourceApi", () {
unittest.test("method--inspect", () {
@@ -1973,9 +2362,9 @@
var mock = new HttpServerMock();
api.InspectOperationsResourceApi res = new api.DlpApi(mock).inspect.operations;
var arg_name = "foo";
- var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2003,9 +2392,9 @@
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["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));
var h = {
@@ -2014,7 +2403,7 @@
var resp = convert.JSON.encode(buildGoogleLongrunningListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.GoogleLongrunningListOperationsResponse response) {
+ res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.GoogleLongrunningListOperationsResponse response) {
checkGoogleLongrunningListOperationsResponse(response);
})));
});
@@ -2028,9 +2417,9 @@
var mock = new HttpServerMock();
api.InspectResultsFindingsResourceApi res = new api.DlpApi(mock).inspect.results.findings;
var arg_name = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_filter = "foo";
- var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2058,9 +2447,9 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -2069,7 +2458,7 @@
var resp = convert.JSON.encode(buildGooglePrivacyDlpV2beta1ListInspectFindingsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.GooglePrivacyDlpV2beta1ListInspectFindingsResponse response) {
+ res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.GooglePrivacyDlpV2beta1ListInspectFindingsResponse response) {
checkGooglePrivacyDlpV2beta1ListInspectFindingsResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/dns/v2beta1_test.dart b/generated/googleapis_beta/test/dns/v2beta1_test.dart
index e47524f..c77fbe2 100644
--- a/generated/googleapis_beta/test/dns/v2beta1_test.dart
+++ b/generated/googleapis_beta/test/dns/v2beta1_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3437() {
+buildUnnamed3469() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed3437(core.List<api.ResourceRecordSet> o) {
+checkUnnamed3469(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
}
-buildUnnamed3438() {
+buildUnnamed3470() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed3438(core.List<api.ResourceRecordSet> o) {
+checkUnnamed3470(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
@@ -82,8 +82,8 @@
var o = new api.Change();
buildCounterChange++;
if (buildCounterChange < 3) {
- o.additions = buildUnnamed3437();
- o.deletions = buildUnnamed3438();
+ o.additions = buildUnnamed3469();
+ o.deletions = buildUnnamed3470();
o.id = "foo";
o.isServing = true;
o.kind = "foo";
@@ -97,8 +97,8 @@
checkChange(api.Change o) {
buildCounterChange++;
if (buildCounterChange < 3) {
- checkUnnamed3437(o.additions);
- checkUnnamed3438(o.deletions);
+ checkUnnamed3469(o.additions);
+ checkUnnamed3470(o.deletions);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isServing, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -108,14 +108,14 @@
buildCounterChange--;
}
-buildUnnamed3439() {
+buildUnnamed3471() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed3439(core.List<api.Change> o) {
+checkUnnamed3471(core.List<api.Change> o) {
unittest.expect(o, unittest.hasLength(2));
checkChange(o[0]);
checkChange(o[1]);
@@ -126,7 +126,7 @@
var o = new api.ChangesListResponse();
buildCounterChangesListResponse++;
if (buildCounterChangesListResponse < 3) {
- o.changes = buildUnnamed3439();
+ o.changes = buildUnnamed3471();
o.header = buildResponseHeader();
o.kind = "foo";
o.nextPageToken = "foo";
@@ -138,7 +138,7 @@
checkChangesListResponse(api.ChangesListResponse o) {
buildCounterChangesListResponse++;
if (buildCounterChangesListResponse < 3) {
- checkUnnamed3439(o.changes);
+ checkUnnamed3471(o.changes);
checkResponseHeader(o.header);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -146,14 +146,14 @@
buildCounterChangesListResponse--;
}
-buildUnnamed3440() {
+buildUnnamed3472() {
var o = new core.List<api.DnsKeyDigest>();
o.add(buildDnsKeyDigest());
o.add(buildDnsKeyDigest());
return o;
}
-checkUnnamed3440(core.List<api.DnsKeyDigest> o) {
+checkUnnamed3472(core.List<api.DnsKeyDigest> o) {
unittest.expect(o, unittest.hasLength(2));
checkDnsKeyDigest(o[0]);
checkDnsKeyDigest(o[1]);
@@ -167,7 +167,7 @@
o.algorithm = "foo";
o.creationTime = "foo";
o.description = "foo";
- o.digests = buildUnnamed3440();
+ o.digests = buildUnnamed3472();
o.id = "foo";
o.isActive = true;
o.keyLength = 42;
@@ -186,7 +186,7 @@
unittest.expect(o.algorithm, unittest.equals('foo'));
unittest.expect(o.creationTime, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed3440(o.digests);
+ checkUnnamed3472(o.digests);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isActive, unittest.isTrue);
unittest.expect(o.keyLength, unittest.equals(42));
@@ -244,14 +244,14 @@
buildCounterDnsKeySpec--;
}
-buildUnnamed3441() {
+buildUnnamed3473() {
var o = new core.List<api.DnsKey>();
o.add(buildDnsKey());
o.add(buildDnsKey());
return o;
}
-checkUnnamed3441(core.List<api.DnsKey> o) {
+checkUnnamed3473(core.List<api.DnsKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkDnsKey(o[0]);
checkDnsKey(o[1]);
@@ -262,7 +262,7 @@
var o = new api.DnsKeysListResponse();
buildCounterDnsKeysListResponse++;
if (buildCounterDnsKeysListResponse < 3) {
- o.dnsKeys = buildUnnamed3441();
+ o.dnsKeys = buildUnnamed3473();
o.header = buildResponseHeader();
o.kind = "foo";
o.nextPageToken = "foo";
@@ -274,7 +274,7 @@
checkDnsKeysListResponse(api.DnsKeysListResponse o) {
buildCounterDnsKeysListResponse++;
if (buildCounterDnsKeysListResponse < 3) {
- checkUnnamed3441(o.dnsKeys);
+ checkUnnamed3473(o.dnsKeys);
checkResponseHeader(o.header);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -282,14 +282,14 @@
buildCounterDnsKeysListResponse--;
}
-buildUnnamed3442() {
+buildUnnamed3474() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3442(core.List<core.String> o) {
+checkUnnamed3474(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -308,7 +308,7 @@
o.kind = "foo";
o.name = "foo";
o.nameServerSet = "foo";
- o.nameServers = buildUnnamed3442();
+ o.nameServers = buildUnnamed3474();
}
buildCounterManagedZone--;
return o;
@@ -325,19 +325,19 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nameServerSet, unittest.equals('foo'));
- checkUnnamed3442(o.nameServers);
+ checkUnnamed3474(o.nameServers);
}
buildCounterManagedZone--;
}
-buildUnnamed3443() {
+buildUnnamed3475() {
var o = new core.List<api.DnsKeySpec>();
o.add(buildDnsKeySpec());
o.add(buildDnsKeySpec());
return o;
}
-checkUnnamed3443(core.List<api.DnsKeySpec> o) {
+checkUnnamed3475(core.List<api.DnsKeySpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkDnsKeySpec(o[0]);
checkDnsKeySpec(o[1]);
@@ -348,7 +348,7 @@
var o = new api.ManagedZoneDnsSecConfig();
buildCounterManagedZoneDnsSecConfig++;
if (buildCounterManagedZoneDnsSecConfig < 3) {
- o.defaultKeySpecs = buildUnnamed3443();
+ o.defaultKeySpecs = buildUnnamed3475();
o.kind = "foo";
o.nonExistence = "foo";
o.state = "foo";
@@ -360,7 +360,7 @@
checkManagedZoneDnsSecConfig(api.ManagedZoneDnsSecConfig o) {
buildCounterManagedZoneDnsSecConfig++;
if (buildCounterManagedZoneDnsSecConfig < 3) {
- checkUnnamed3443(o.defaultKeySpecs);
+ checkUnnamed3475(o.defaultKeySpecs);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nonExistence, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
@@ -368,14 +368,14 @@
buildCounterManagedZoneDnsSecConfig--;
}
-buildUnnamed3444() {
+buildUnnamed3476() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3444(core.List<api.Operation> o) {
+checkUnnamed3476(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -389,7 +389,7 @@
o.header = buildResponseHeader();
o.kind = "foo";
o.nextPageToken = "foo";
- o.operations = buildUnnamed3444();
+ o.operations = buildUnnamed3476();
}
buildCounterManagedZoneOperationsListResponse--;
return o;
@@ -401,7 +401,7 @@
checkResponseHeader(o.header);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3444(o.operations);
+ checkUnnamed3476(o.operations);
}
buildCounterManagedZoneOperationsListResponse--;
}
@@ -425,14 +425,14 @@
buildCounterManagedZonesDeleteResponse--;
}
-buildUnnamed3445() {
+buildUnnamed3477() {
var o = new core.List<api.ManagedZone>();
o.add(buildManagedZone());
o.add(buildManagedZone());
return o;
}
-checkUnnamed3445(core.List<api.ManagedZone> o) {
+checkUnnamed3477(core.List<api.ManagedZone> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedZone(o[0]);
checkManagedZone(o[1]);
@@ -445,7 +445,7 @@
if (buildCounterManagedZonesListResponse < 3) {
o.header = buildResponseHeader();
o.kind = "foo";
- o.managedZones = buildUnnamed3445();
+ o.managedZones = buildUnnamed3477();
o.nextPageToken = "foo";
}
buildCounterManagedZonesListResponse--;
@@ -457,7 +457,7 @@
if (buildCounterManagedZonesListResponse < 3) {
checkResponseHeader(o.header);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3445(o.managedZones);
+ checkUnnamed3477(o.managedZones);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterManagedZonesListResponse--;
@@ -563,14 +563,14 @@
buildCounterProject--;
}
-buildUnnamed3446() {
+buildUnnamed3478() {
var o = new core.List<api.DnsKeySpec>();
o.add(buildDnsKeySpec());
o.add(buildDnsKeySpec());
return o;
}
-checkUnnamed3446(core.List<api.DnsKeySpec> o) {
+checkUnnamed3478(core.List<api.DnsKeySpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkDnsKeySpec(o[0]);
checkDnsKeySpec(o[1]);
@@ -589,7 +589,7 @@
o.rrsetDeletionsPerChange = 42;
o.rrsetsPerManagedZone = 42;
o.totalRrdataSizePerChange = 42;
- o.whitelistedKeySpecs = buildUnnamed3446();
+ o.whitelistedKeySpecs = buildUnnamed3478();
}
buildCounterQuota--;
return o;
@@ -606,32 +606,32 @@
unittest.expect(o.rrsetDeletionsPerChange, unittest.equals(42));
unittest.expect(o.rrsetsPerManagedZone, unittest.equals(42));
unittest.expect(o.totalRrdataSizePerChange, unittest.equals(42));
- checkUnnamed3446(o.whitelistedKeySpecs);
+ checkUnnamed3478(o.whitelistedKeySpecs);
}
buildCounterQuota--;
}
-buildUnnamed3447() {
+buildUnnamed3479() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3447(core.List<core.String> o) {
+checkUnnamed3479(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3448() {
+buildUnnamed3480() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3448(core.List<core.String> o) {
+checkUnnamed3480(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -644,8 +644,8 @@
if (buildCounterResourceRecordSet < 3) {
o.kind = "foo";
o.name = "foo";
- o.rrdatas = buildUnnamed3447();
- o.signatureRrdatas = buildUnnamed3448();
+ o.rrdatas = buildUnnamed3479();
+ o.signatureRrdatas = buildUnnamed3480();
o.ttl = 42;
o.type = "foo";
}
@@ -658,22 +658,22 @@
if (buildCounterResourceRecordSet < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3447(o.rrdatas);
- checkUnnamed3448(o.signatureRrdatas);
+ checkUnnamed3479(o.rrdatas);
+ checkUnnamed3480(o.signatureRrdatas);
unittest.expect(o.ttl, unittest.equals(42));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterResourceRecordSet--;
}
-buildUnnamed3449() {
+buildUnnamed3481() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed3449(core.List<api.ResourceRecordSet> o) {
+checkUnnamed3481(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
@@ -687,7 +687,7 @@
o.header = buildResponseHeader();
o.kind = "foo";
o.nextPageToken = "foo";
- o.rrsets = buildUnnamed3449();
+ o.rrsets = buildUnnamed3481();
}
buildCounterResourceRecordSetsListResponse--;
return o;
@@ -699,7 +699,7 @@
checkResponseHeader(o.header);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3449(o.rrsets);
+ checkUnnamed3481(o.rrsets);
}
buildCounterResourceRecordSetsListResponse--;
}
diff --git a/generated/googleapis_beta/test/language/v1beta1_test.dart b/generated/googleapis_beta/test/language/v1beta1_test.dart
index 505e927..910f45b 100644
--- a/generated/googleapis_beta/test/language/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/language/v1beta1_test.dart
@@ -72,14 +72,14 @@
buildCounterAnalyzeEntitiesRequest--;
}
-buildUnnamed3189() {
+buildUnnamed3210() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed3189(core.List<api.Entity> o) {
+checkUnnamed3210(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
@@ -90,7 +90,7 @@
var o = new api.AnalyzeEntitiesResponse();
buildCounterAnalyzeEntitiesResponse++;
if (buildCounterAnalyzeEntitiesResponse < 3) {
- o.entities = buildUnnamed3189();
+ o.entities = buildUnnamed3210();
o.language = "foo";
}
buildCounterAnalyzeEntitiesResponse--;
@@ -100,7 +100,7 @@
checkAnalyzeEntitiesResponse(api.AnalyzeEntitiesResponse o) {
buildCounterAnalyzeEntitiesResponse++;
if (buildCounterAnalyzeEntitiesResponse < 3) {
- checkUnnamed3189(o.entities);
+ checkUnnamed3210(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
}
buildCounterAnalyzeEntitiesResponse--;
@@ -127,14 +127,14 @@
buildCounterAnalyzeSentimentRequest--;
}
-buildUnnamed3190() {
+buildUnnamed3211() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed3190(core.List<api.Sentence> o) {
+checkUnnamed3211(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
@@ -147,7 +147,7 @@
if (buildCounterAnalyzeSentimentResponse < 3) {
o.documentSentiment = buildSentiment();
o.language = "foo";
- o.sentences = buildUnnamed3190();
+ o.sentences = buildUnnamed3211();
}
buildCounterAnalyzeSentimentResponse--;
return o;
@@ -158,7 +158,7 @@
if (buildCounterAnalyzeSentimentResponse < 3) {
checkSentiment(o.documentSentiment);
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed3190(o.sentences);
+ checkUnnamed3211(o.sentences);
}
buildCounterAnalyzeSentimentResponse--;
}
@@ -184,27 +184,27 @@
buildCounterAnalyzeSyntaxRequest--;
}
-buildUnnamed3191() {
+buildUnnamed3212() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed3191(core.List<api.Sentence> o) {
+checkUnnamed3212(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
}
-buildUnnamed3192() {
+buildUnnamed3213() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed3192(core.List<api.Token> o) {
+checkUnnamed3213(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -216,8 +216,8 @@
buildCounterAnalyzeSyntaxResponse++;
if (buildCounterAnalyzeSyntaxResponse < 3) {
o.language = "foo";
- o.sentences = buildUnnamed3191();
- o.tokens = buildUnnamed3192();
+ o.sentences = buildUnnamed3212();
+ o.tokens = buildUnnamed3213();
}
buildCounterAnalyzeSyntaxResponse--;
return o;
@@ -227,8 +227,8 @@
buildCounterAnalyzeSyntaxResponse++;
if (buildCounterAnalyzeSyntaxResponse < 3) {
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed3191(o.sentences);
- checkUnnamed3192(o.tokens);
+ checkUnnamed3212(o.sentences);
+ checkUnnamed3213(o.tokens);
}
buildCounterAnalyzeSyntaxResponse--;
}
@@ -256,40 +256,40 @@
buildCounterAnnotateTextRequest--;
}
-buildUnnamed3193() {
+buildUnnamed3214() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed3193(core.List<api.Entity> o) {
+checkUnnamed3214(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
}
-buildUnnamed3194() {
+buildUnnamed3215() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed3194(core.List<api.Sentence> o) {
+checkUnnamed3215(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
}
-buildUnnamed3195() {
+buildUnnamed3216() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed3195(core.List<api.Token> o) {
+checkUnnamed3216(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -301,10 +301,10 @@
buildCounterAnnotateTextResponse++;
if (buildCounterAnnotateTextResponse < 3) {
o.documentSentiment = buildSentiment();
- o.entities = buildUnnamed3193();
+ o.entities = buildUnnamed3214();
o.language = "foo";
- o.sentences = buildUnnamed3194();
- o.tokens = buildUnnamed3195();
+ o.sentences = buildUnnamed3215();
+ o.tokens = buildUnnamed3216();
}
buildCounterAnnotateTextResponse--;
return o;
@@ -314,10 +314,10 @@
buildCounterAnnotateTextResponse++;
if (buildCounterAnnotateTextResponse < 3) {
checkSentiment(o.documentSentiment);
- checkUnnamed3193(o.entities);
+ checkUnnamed3214(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed3194(o.sentences);
- checkUnnamed3195(o.tokens);
+ checkUnnamed3215(o.sentences);
+ checkUnnamed3216(o.tokens);
}
buildCounterAnnotateTextResponse--;
}
@@ -368,27 +368,27 @@
buildCounterDocument--;
}
-buildUnnamed3196() {
+buildUnnamed3217() {
var o = new core.List<api.EntityMention>();
o.add(buildEntityMention());
o.add(buildEntityMention());
return o;
}
-checkUnnamed3196(core.List<api.EntityMention> o) {
+checkUnnamed3217(core.List<api.EntityMention> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityMention(o[0]);
checkEntityMention(o[1]);
}
-buildUnnamed3197() {
+buildUnnamed3218() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3197(core.Map<core.String, core.String> o) {
+checkUnnamed3218(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -399,8 +399,8 @@
var o = new api.Entity();
buildCounterEntity++;
if (buildCounterEntity < 3) {
- o.mentions = buildUnnamed3196();
- o.metadata = buildUnnamed3197();
+ o.mentions = buildUnnamed3217();
+ o.metadata = buildUnnamed3218();
o.name = "foo";
o.salience = 42.0;
o.type = "foo";
@@ -412,8 +412,8 @@
checkEntity(api.Entity o) {
buildCounterEntity++;
if (buildCounterEntity < 3) {
- checkUnnamed3196(o.mentions);
- checkUnnamed3197(o.metadata);
+ checkUnnamed3217(o.mentions);
+ checkUnnamed3218(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.salience, unittest.equals(42.0));
unittest.expect(o.type, unittest.equals('foo'));
@@ -550,30 +550,30 @@
buildCounterSentiment--;
}
-buildUnnamed3198() {
+buildUnnamed3219() {
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;
}
-checkUnnamed3198(core.Map<core.String, core.Object> o) {
+checkUnnamed3219(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'));
}
-buildUnnamed3199() {
+buildUnnamed3220() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3198());
- o.add(buildUnnamed3198());
+ o.add(buildUnnamed3219());
+ o.add(buildUnnamed3219());
return o;
}
-checkUnnamed3199(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3220(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3198(o[0]);
- checkUnnamed3198(o[1]);
+ checkUnnamed3219(o[0]);
+ checkUnnamed3219(o[1]);
}
core.int buildCounterStatus = 0;
@@ -582,7 +582,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3199();
+ o.details = buildUnnamed3220();
o.message = "foo";
}
buildCounterStatus--;
@@ -593,7 +593,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3199(o.details);
+ checkUnnamed3220(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
diff --git a/generated/googleapis_beta/test/language/v1beta2_test.dart b/generated/googleapis_beta/test/language/v1beta2_test.dart
index 52e15ff..8d25ab6 100644
--- a/generated/googleapis_beta/test/language/v1beta2_test.dart
+++ b/generated/googleapis_beta/test/language/v1beta2_test.dart
@@ -72,14 +72,14 @@
buildCounterAnalyzeEntitiesRequest--;
}
-buildUnnamed3340() {
+buildUnnamed3372() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed3340(core.List<api.Entity> o) {
+checkUnnamed3372(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
@@ -90,7 +90,7 @@
var o = new api.AnalyzeEntitiesResponse();
buildCounterAnalyzeEntitiesResponse++;
if (buildCounterAnalyzeEntitiesResponse < 3) {
- o.entities = buildUnnamed3340();
+ o.entities = buildUnnamed3372();
o.language = "foo";
}
buildCounterAnalyzeEntitiesResponse--;
@@ -100,7 +100,7 @@
checkAnalyzeEntitiesResponse(api.AnalyzeEntitiesResponse o) {
buildCounterAnalyzeEntitiesResponse++;
if (buildCounterAnalyzeEntitiesResponse < 3) {
- checkUnnamed3340(o.entities);
+ checkUnnamed3372(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
}
buildCounterAnalyzeEntitiesResponse--;
@@ -127,14 +127,14 @@
buildCounterAnalyzeEntitySentimentRequest--;
}
-buildUnnamed3341() {
+buildUnnamed3373() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed3341(core.List<api.Entity> o) {
+checkUnnamed3373(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
@@ -145,7 +145,7 @@
var o = new api.AnalyzeEntitySentimentResponse();
buildCounterAnalyzeEntitySentimentResponse++;
if (buildCounterAnalyzeEntitySentimentResponse < 3) {
- o.entities = buildUnnamed3341();
+ o.entities = buildUnnamed3373();
o.language = "foo";
}
buildCounterAnalyzeEntitySentimentResponse--;
@@ -155,7 +155,7 @@
checkAnalyzeEntitySentimentResponse(api.AnalyzeEntitySentimentResponse o) {
buildCounterAnalyzeEntitySentimentResponse++;
if (buildCounterAnalyzeEntitySentimentResponse < 3) {
- checkUnnamed3341(o.entities);
+ checkUnnamed3373(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
}
buildCounterAnalyzeEntitySentimentResponse--;
@@ -182,14 +182,14 @@
buildCounterAnalyzeSentimentRequest--;
}
-buildUnnamed3342() {
+buildUnnamed3374() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed3342(core.List<api.Sentence> o) {
+checkUnnamed3374(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
@@ -202,7 +202,7 @@
if (buildCounterAnalyzeSentimentResponse < 3) {
o.documentSentiment = buildSentiment();
o.language = "foo";
- o.sentences = buildUnnamed3342();
+ o.sentences = buildUnnamed3374();
}
buildCounterAnalyzeSentimentResponse--;
return o;
@@ -213,7 +213,7 @@
if (buildCounterAnalyzeSentimentResponse < 3) {
checkSentiment(o.documentSentiment);
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed3342(o.sentences);
+ checkUnnamed3374(o.sentences);
}
buildCounterAnalyzeSentimentResponse--;
}
@@ -239,27 +239,27 @@
buildCounterAnalyzeSyntaxRequest--;
}
-buildUnnamed3343() {
+buildUnnamed3375() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed3343(core.List<api.Sentence> o) {
+checkUnnamed3375(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
}
-buildUnnamed3344() {
+buildUnnamed3376() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed3344(core.List<api.Token> o) {
+checkUnnamed3376(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -271,8 +271,8 @@
buildCounterAnalyzeSyntaxResponse++;
if (buildCounterAnalyzeSyntaxResponse < 3) {
o.language = "foo";
- o.sentences = buildUnnamed3343();
- o.tokens = buildUnnamed3344();
+ o.sentences = buildUnnamed3375();
+ o.tokens = buildUnnamed3376();
}
buildCounterAnalyzeSyntaxResponse--;
return o;
@@ -282,8 +282,8 @@
buildCounterAnalyzeSyntaxResponse++;
if (buildCounterAnalyzeSyntaxResponse < 3) {
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed3343(o.sentences);
- checkUnnamed3344(o.tokens);
+ checkUnnamed3375(o.sentences);
+ checkUnnamed3376(o.tokens);
}
buildCounterAnalyzeSyntaxResponse--;
}
@@ -311,40 +311,40 @@
buildCounterAnnotateTextRequest--;
}
-buildUnnamed3345() {
+buildUnnamed3377() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed3345(core.List<api.Entity> o) {
+checkUnnamed3377(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
}
-buildUnnamed3346() {
+buildUnnamed3378() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed3346(core.List<api.Sentence> o) {
+checkUnnamed3378(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
}
-buildUnnamed3347() {
+buildUnnamed3379() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed3347(core.List<api.Token> o) {
+checkUnnamed3379(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -356,10 +356,10 @@
buildCounterAnnotateTextResponse++;
if (buildCounterAnnotateTextResponse < 3) {
o.documentSentiment = buildSentiment();
- o.entities = buildUnnamed3345();
+ o.entities = buildUnnamed3377();
o.language = "foo";
- o.sentences = buildUnnamed3346();
- o.tokens = buildUnnamed3347();
+ o.sentences = buildUnnamed3378();
+ o.tokens = buildUnnamed3379();
}
buildCounterAnnotateTextResponse--;
return o;
@@ -369,10 +369,10 @@
buildCounterAnnotateTextResponse++;
if (buildCounterAnnotateTextResponse < 3) {
checkSentiment(o.documentSentiment);
- checkUnnamed3345(o.entities);
+ checkUnnamed3377(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed3346(o.sentences);
- checkUnnamed3347(o.tokens);
+ checkUnnamed3378(o.sentences);
+ checkUnnamed3379(o.tokens);
}
buildCounterAnnotateTextResponse--;
}
@@ -423,27 +423,27 @@
buildCounterDocument--;
}
-buildUnnamed3348() {
+buildUnnamed3380() {
var o = new core.List<api.EntityMention>();
o.add(buildEntityMention());
o.add(buildEntityMention());
return o;
}
-checkUnnamed3348(core.List<api.EntityMention> o) {
+checkUnnamed3380(core.List<api.EntityMention> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityMention(o[0]);
checkEntityMention(o[1]);
}
-buildUnnamed3349() {
+buildUnnamed3381() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3349(core.Map<core.String, core.String> o) {
+checkUnnamed3381(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -454,8 +454,8 @@
var o = new api.Entity();
buildCounterEntity++;
if (buildCounterEntity < 3) {
- o.mentions = buildUnnamed3348();
- o.metadata = buildUnnamed3349();
+ o.mentions = buildUnnamed3380();
+ o.metadata = buildUnnamed3381();
o.name = "foo";
o.salience = 42.0;
o.sentiment = buildSentiment();
@@ -468,8 +468,8 @@
checkEntity(api.Entity o) {
buildCounterEntity++;
if (buildCounterEntity < 3) {
- checkUnnamed3348(o.mentions);
- checkUnnamed3349(o.metadata);
+ checkUnnamed3380(o.mentions);
+ checkUnnamed3381(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.salience, unittest.equals(42.0));
checkSentiment(o.sentiment);
@@ -609,30 +609,30 @@
buildCounterSentiment--;
}
-buildUnnamed3350() {
+buildUnnamed3382() {
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;
}
-checkUnnamed3350(core.Map<core.String, core.Object> o) {
+checkUnnamed3382(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'));
}
-buildUnnamed3351() {
+buildUnnamed3383() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3350());
- o.add(buildUnnamed3350());
+ o.add(buildUnnamed3382());
+ o.add(buildUnnamed3382());
return o;
}
-checkUnnamed3351(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3383(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3350(o[0]);
- checkUnnamed3350(o[1]);
+ checkUnnamed3382(o[0]);
+ checkUnnamed3382(o[1]);
}
core.int buildCounterStatus = 0;
@@ -641,7 +641,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3351();
+ o.details = buildUnnamed3383();
o.message = "foo";
}
buildCounterStatus--;
@@ -652,7 +652,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3351(o.details);
+ checkUnnamed3383(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
diff --git a/generated/googleapis_beta/test/logging/v2beta1_test.dart b/generated/googleapis_beta/test/logging/v2beta1_test.dart
index afa46e8..6b37724 100644
--- a/generated/googleapis_beta/test/logging/v2beta1_test.dart
+++ b/generated/googleapis_beta/test/logging/v2beta1_test.dart
@@ -78,6 +78,7 @@
o.cacheLookup = true;
o.cacheValidatedWithOriginServer = true;
o.latency = "foo";
+ o.protocol = "foo";
o.referer = "foo";
o.remoteIp = "foo";
o.requestMethod = "foo";
@@ -100,6 +101,7 @@
unittest.expect(o.cacheLookup, unittest.isTrue);
unittest.expect(o.cacheValidatedWithOriginServer, unittest.isTrue);
unittest.expect(o.latency, unittest.equals('foo'));
+ unittest.expect(o.protocol, unittest.equals('foo'));
unittest.expect(o.referer, unittest.equals('foo'));
unittest.expect(o.remoteIp, unittest.equals('foo'));
unittest.expect(o.requestMethod, unittest.equals('foo'));
@@ -136,27 +138,27 @@
buildCounterLabelDescriptor--;
}
-buildUnnamed3450() {
+buildUnnamed3482() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3450(core.List<core.String> o) {
+checkUnnamed3482(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3451() {
+buildUnnamed3483() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3451(core.List<core.String> o) {
+checkUnnamed3483(core.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,8 +173,8 @@
o.orderBy = "foo";
o.pageSize = 42;
o.pageToken = "foo";
- o.projectIds = buildUnnamed3450();
- o.resourceNames = buildUnnamed3451();
+ o.projectIds = buildUnnamed3482();
+ o.resourceNames = buildUnnamed3483();
}
buildCounterListLogEntriesRequest--;
return o;
@@ -185,20 +187,20 @@
unittest.expect(o.orderBy, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed3450(o.projectIds);
- checkUnnamed3451(o.resourceNames);
+ checkUnnamed3482(o.projectIds);
+ checkUnnamed3483(o.resourceNames);
}
buildCounterListLogEntriesRequest--;
}
-buildUnnamed3452() {
+buildUnnamed3484() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed3452(core.List<api.LogEntry> o) {
+checkUnnamed3484(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
@@ -209,7 +211,7 @@
var o = new api.ListLogEntriesResponse();
buildCounterListLogEntriesResponse++;
if (buildCounterListLogEntriesResponse < 3) {
- o.entries = buildUnnamed3452();
+ o.entries = buildUnnamed3484();
o.nextPageToken = "foo";
}
buildCounterListLogEntriesResponse--;
@@ -219,20 +221,20 @@
checkListLogEntriesResponse(api.ListLogEntriesResponse o) {
buildCounterListLogEntriesResponse++;
if (buildCounterListLogEntriesResponse < 3) {
- checkUnnamed3452(o.entries);
+ checkUnnamed3484(o.entries);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogEntriesResponse--;
}
-buildUnnamed3453() {
+buildUnnamed3485() {
var o = new core.List<api.LogMetric>();
o.add(buildLogMetric());
o.add(buildLogMetric());
return o;
}
-checkUnnamed3453(core.List<api.LogMetric> o) {
+checkUnnamed3485(core.List<api.LogMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogMetric(o[0]);
checkLogMetric(o[1]);
@@ -243,7 +245,7 @@
var o = new api.ListLogMetricsResponse();
buildCounterListLogMetricsResponse++;
if (buildCounterListLogMetricsResponse < 3) {
- o.metrics = buildUnnamed3453();
+ o.metrics = buildUnnamed3485();
o.nextPageToken = "foo";
}
buildCounterListLogMetricsResponse--;
@@ -253,20 +255,20 @@
checkListLogMetricsResponse(api.ListLogMetricsResponse o) {
buildCounterListLogMetricsResponse++;
if (buildCounterListLogMetricsResponse < 3) {
- checkUnnamed3453(o.metrics);
+ checkUnnamed3485(o.metrics);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogMetricsResponse--;
}
-buildUnnamed3454() {
+buildUnnamed3486() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3454(core.List<core.String> o) {
+checkUnnamed3486(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -277,7 +279,7 @@
var o = new api.ListLogsResponse();
buildCounterListLogsResponse++;
if (buildCounterListLogsResponse < 3) {
- o.logNames = buildUnnamed3454();
+ o.logNames = buildUnnamed3486();
o.nextPageToken = "foo";
}
buildCounterListLogsResponse--;
@@ -287,20 +289,20 @@
checkListLogsResponse(api.ListLogsResponse o) {
buildCounterListLogsResponse++;
if (buildCounterListLogsResponse < 3) {
- checkUnnamed3454(o.logNames);
+ checkUnnamed3486(o.logNames);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogsResponse--;
}
-buildUnnamed3455() {
+buildUnnamed3487() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed3455(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed3487(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
@@ -312,7 +314,7 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
o.nextPageToken = "foo";
- o.resourceDescriptors = buildUnnamed3455();
+ o.resourceDescriptors = buildUnnamed3487();
}
buildCounterListMonitoredResourceDescriptorsResponse--;
return o;
@@ -322,19 +324,19 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3455(o.resourceDescriptors);
+ checkUnnamed3487(o.resourceDescriptors);
}
buildCounterListMonitoredResourceDescriptorsResponse--;
}
-buildUnnamed3456() {
+buildUnnamed3488() {
var o = new core.List<api.LogSink>();
o.add(buildLogSink());
o.add(buildLogSink());
return o;
}
-checkUnnamed3456(core.List<api.LogSink> o) {
+checkUnnamed3488(core.List<api.LogSink> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogSink(o[0]);
checkLogSink(o[1]);
@@ -346,7 +348,7 @@
buildCounterListSinksResponse++;
if (buildCounterListSinksResponse < 3) {
o.nextPageToken = "foo";
- o.sinks = buildUnnamed3456();
+ o.sinks = buildUnnamed3488();
}
buildCounterListSinksResponse--;
return o;
@@ -356,45 +358,45 @@
buildCounterListSinksResponse++;
if (buildCounterListSinksResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3456(o.sinks);
+ checkUnnamed3488(o.sinks);
}
buildCounterListSinksResponse--;
}
-buildUnnamed3457() {
+buildUnnamed3489() {
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;
}
-checkUnnamed3457(core.Map<core.String, core.Object> o) {
+checkUnnamed3489(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'));
}
-buildUnnamed3458() {
+buildUnnamed3490() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3458(core.Map<core.String, core.String> o) {
+checkUnnamed3490(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3459() {
+buildUnnamed3491() {
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;
}
-checkUnnamed3459(core.Map<core.String, core.Object> o) {
+checkUnnamed3491(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'));
@@ -407,11 +409,11 @@
if (buildCounterLogEntry < 3) {
o.httpRequest = buildHttpRequest();
o.insertId = "foo";
- o.jsonPayload = buildUnnamed3457();
- o.labels = buildUnnamed3458();
+ o.jsonPayload = buildUnnamed3489();
+ o.labels = buildUnnamed3490();
o.logName = "foo";
o.operation = buildLogEntryOperation();
- o.protoPayload = buildUnnamed3459();
+ o.protoPayload = buildUnnamed3491();
o.receiveTimestamp = "foo";
o.resource = buildMonitoredResource();
o.severity = "foo";
@@ -429,11 +431,11 @@
if (buildCounterLogEntry < 3) {
checkHttpRequest(o.httpRequest);
unittest.expect(o.insertId, unittest.equals('foo'));
- checkUnnamed3457(o.jsonPayload);
- checkUnnamed3458(o.labels);
+ checkUnnamed3489(o.jsonPayload);
+ checkUnnamed3490(o.labels);
unittest.expect(o.logName, unittest.equals('foo'));
checkLogEntryOperation(o.operation);
- checkUnnamed3459(o.protoPayload);
+ checkUnnamed3491(o.protoPayload);
unittest.expect(o.receiveTimestamp, unittest.equals('foo'));
checkMonitoredResource(o.resource);
unittest.expect(o.severity, unittest.equals('foo'));
@@ -576,14 +578,14 @@
buildCounterLogSink--;
}
-buildUnnamed3460() {
+buildUnnamed3492() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3460(core.Map<core.String, core.String> o) {
+checkUnnamed3492(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -594,7 +596,7 @@
var o = new api.MonitoredResource();
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- o.labels = buildUnnamed3460();
+ o.labels = buildUnnamed3492();
o.type = "foo";
}
buildCounterMonitoredResource--;
@@ -604,20 +606,20 @@
checkMonitoredResource(api.MonitoredResource o) {
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- checkUnnamed3460(o.labels);
+ checkUnnamed3492(o.labels);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResource--;
}
-buildUnnamed3461() {
+buildUnnamed3493() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed3461(core.List<api.LabelDescriptor> o) {
+checkUnnamed3493(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -630,7 +632,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed3461();
+ o.labels = buildUnnamed3493();
o.name = "foo";
o.type = "foo";
}
@@ -643,34 +645,34 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed3461(o.labels);
+ checkUnnamed3493(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed3462() {
+buildUnnamed3494() {
var o = new core.List<api.LogLine>();
o.add(buildLogLine());
o.add(buildLogLine());
return o;
}
-checkUnnamed3462(core.List<api.LogLine> o) {
+checkUnnamed3494(core.List<api.LogLine> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogLine(o[0]);
checkLogLine(o[1]);
}
-buildUnnamed3463() {
+buildUnnamed3495() {
var o = new core.List<api.SourceReference>();
o.add(buildSourceReference());
o.add(buildSourceReference());
return o;
}
-checkUnnamed3463(core.List<api.SourceReference> o) {
+checkUnnamed3495(core.List<api.SourceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceReference(o[0]);
checkSourceReference(o[1]);
@@ -693,7 +695,7 @@
o.instanceIndex = 42;
o.ip = "foo";
o.latency = "foo";
- o.line = buildUnnamed3462();
+ o.line = buildUnnamed3494();
o.megaCycles = "foo";
o.method = "foo";
o.moduleId = "foo";
@@ -703,7 +705,7 @@
o.requestId = "foo";
o.resource = "foo";
o.responseSize = "foo";
- o.sourceReference = buildUnnamed3463();
+ o.sourceReference = buildUnnamed3495();
o.startTime = "foo";
o.status = 42;
o.taskName = "foo";
@@ -733,7 +735,7 @@
unittest.expect(o.instanceIndex, unittest.equals(42));
unittest.expect(o.ip, unittest.equals('foo'));
unittest.expect(o.latency, unittest.equals('foo'));
- checkUnnamed3462(o.line);
+ checkUnnamed3494(o.line);
unittest.expect(o.megaCycles, unittest.equals('foo'));
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.moduleId, unittest.equals('foo'));
@@ -743,7 +745,7 @@
unittest.expect(o.requestId, unittest.equals('foo'));
unittest.expect(o.resource, unittest.equals('foo'));
unittest.expect(o.responseSize, unittest.equals('foo'));
- checkUnnamed3463(o.sourceReference);
+ checkUnnamed3495(o.sourceReference);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals(42));
unittest.expect(o.taskName, unittest.equals('foo'));
@@ -801,27 +803,27 @@
buildCounterSourceReference--;
}
-buildUnnamed3464() {
+buildUnnamed3496() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed3464(core.List<api.LogEntry> o) {
+checkUnnamed3496(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
}
-buildUnnamed3465() {
+buildUnnamed3497() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3465(core.Map<core.String, core.String> o) {
+checkUnnamed3497(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -832,8 +834,8 @@
var o = new api.WriteLogEntriesRequest();
buildCounterWriteLogEntriesRequest++;
if (buildCounterWriteLogEntriesRequest < 3) {
- o.entries = buildUnnamed3464();
- o.labels = buildUnnamed3465();
+ o.entries = buildUnnamed3496();
+ o.labels = buildUnnamed3497();
o.logName = "foo";
o.partialSuccess = true;
o.resource = buildMonitoredResource();
@@ -845,8 +847,8 @@
checkWriteLogEntriesRequest(api.WriteLogEntriesRequest o) {
buildCounterWriteLogEntriesRequest++;
if (buildCounterWriteLogEntriesRequest < 3) {
- checkUnnamed3464(o.entries);
- checkUnnamed3465(o.labels);
+ checkUnnamed3496(o.entries);
+ checkUnnamed3497(o.labels);
unittest.expect(o.logName, unittest.equals('foo'));
unittest.expect(o.partialSuccess, unittest.isTrue);
checkMonitoredResource(o.resource);
@@ -1122,8 +1124,8 @@
var mock = new HttpServerMock();
api.BillingAccountsLogsResourceApi res = new api.LoggingApi(mock).billingAccounts.logs;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1151,8 +1153,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1161,7 +1163,7 @@
var resp = convert.JSON.encode(buildListLogsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListLogsResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListLogsResponse response) {
checkListLogsResponse(response);
})));
});
@@ -1272,8 +1274,8 @@
var mock = new HttpServerMock();
api.MonitoredResourceDescriptorsResourceApi res = new api.LoggingApi(mock).monitoredResourceDescriptors;
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1300,8 +1302,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1310,7 +1312,7 @@
var resp = convert.JSON.encode(buildListMonitoredResourceDescriptorsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListMonitoredResourceDescriptorsResponse response) {
+ res.list(pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListMonitoredResourceDescriptorsResponse response) {
checkListMonitoredResourceDescriptorsResponse(response);
})));
});
@@ -1467,8 +1469,8 @@
var mock = new HttpServerMock();
api.ProjectsLogsResourceApi res = new api.LoggingApi(mock).projects.logs;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1496,8 +1498,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1506,7 +1508,7 @@
var resp = convert.JSON.encode(buildListLogsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListLogsResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListLogsResponse response) {
checkListLogsResponse(response);
})));
});
@@ -1902,8 +1904,8 @@
var mock = new HttpServerMock();
api.ProjectsSinksResourceApi res = new api.LoggingApi(mock).projects.sinks;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1931,8 +1933,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -1941,7 +1943,7 @@
var resp = convert.JSON.encode(buildListSinksResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListSinksResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListSinksResponse response) {
checkListSinksResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/oslogin/v1alpha_test.dart b/generated/googleapis_beta/test/oslogin/v1alpha_test.dart
index 3f4292e..ce6d065 100644
--- a/generated/googleapis_beta/test/oslogin/v1alpha_test.dart
+++ b/generated/googleapis_beta/test/oslogin/v1alpha_test.dart
@@ -87,27 +87,27 @@
buildCounterImportSshPublicKeyResponse--;
}
-buildUnnamed3392() {
+buildUnnamed3424() {
var o = new core.List<api.PosixAccount>();
o.add(buildPosixAccount());
o.add(buildPosixAccount());
return o;
}
-checkUnnamed3392(core.List<api.PosixAccount> o) {
+checkUnnamed3424(core.List<api.PosixAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkPosixAccount(o[0]);
checkPosixAccount(o[1]);
}
-buildUnnamed3393() {
+buildUnnamed3425() {
var o = new core.Map<core.String, api.SshPublicKey>();
o["x"] = buildSshPublicKey();
o["y"] = buildSshPublicKey();
return o;
}
-checkUnnamed3393(core.Map<core.String, api.SshPublicKey> o) {
+checkUnnamed3425(core.Map<core.String, api.SshPublicKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkSshPublicKey(o["x"]);
checkSshPublicKey(o["y"]);
@@ -119,8 +119,8 @@
buildCounterLoginProfile++;
if (buildCounterLoginProfile < 3) {
o.name = "foo";
- o.posixAccounts = buildUnnamed3392();
- o.sshPublicKeys = buildUnnamed3393();
+ o.posixAccounts = buildUnnamed3424();
+ o.sshPublicKeys = buildUnnamed3425();
o.suspended = true;
}
buildCounterLoginProfile--;
@@ -131,8 +131,8 @@
buildCounterLoginProfile++;
if (buildCounterLoginProfile < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3392(o.posixAccounts);
- checkUnnamed3393(o.sshPublicKeys);
+ checkUnnamed3424(o.posixAccounts);
+ checkUnnamed3425(o.sshPublicKeys);
unittest.expect(o.suspended, unittest.isTrue);
}
buildCounterLoginProfile--;
diff --git a/generated/googleapis_beta/test/proximitybeacon/v1beta1_test.dart b/generated/googleapis_beta/test/proximitybeacon/v1beta1_test.dart
index 0614522..c4d7087 100644
--- a/generated/googleapis_beta/test/proximitybeacon/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/proximitybeacon/v1beta1_test.dart
@@ -93,14 +93,14 @@
buildCounterAttachmentInfo--;
}
-buildUnnamed3427() {
+buildUnnamed3459() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3427(core.Map<core.String, core.String> o) {
+checkUnnamed3459(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -119,7 +119,7 @@
o.indoorLevel = buildIndoorLevel();
o.latLng = buildLatLng();
o.placeId = "foo";
- o.properties = buildUnnamed3427();
+ o.properties = buildUnnamed3459();
o.provisioningKey = "foo";
o.status = "foo";
}
@@ -138,7 +138,7 @@
checkIndoorLevel(o.indoorLevel);
checkLatLng(o.latLng);
unittest.expect(o.placeId, unittest.equals('foo'));
- checkUnnamed3427(o.properties);
+ checkUnnamed3459(o.properties);
unittest.expect(o.provisioningKey, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
}
@@ -170,14 +170,14 @@
buildCounterBeaconAttachment--;
}
-buildUnnamed3428() {
+buildUnnamed3460() {
var o = new core.List<api.AttachmentInfo>();
o.add(buildAttachmentInfo());
o.add(buildAttachmentInfo());
return o;
}
-checkUnnamed3428(core.List<api.AttachmentInfo> o) {
+checkUnnamed3460(core.List<api.AttachmentInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachmentInfo(o[0]);
checkAttachmentInfo(o[1]);
@@ -189,7 +189,7 @@
buildCounterBeaconInfo++;
if (buildCounterBeaconInfo < 3) {
o.advertisedId = buildAdvertisedId();
- o.attachments = buildUnnamed3428();
+ o.attachments = buildUnnamed3460();
o.beaconName = "foo";
}
buildCounterBeaconInfo--;
@@ -200,7 +200,7 @@
buildCounterBeaconInfo++;
if (buildCounterBeaconInfo < 3) {
checkAdvertisedId(o.advertisedId);
- checkUnnamed3428(o.attachments);
+ checkUnnamed3460(o.attachments);
unittest.expect(o.beaconName, unittest.equals('foo'));
}
buildCounterBeaconInfo--;
@@ -248,14 +248,14 @@
buildCounterDeleteAttachmentsResponse--;
}
-buildUnnamed3429() {
+buildUnnamed3461() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3429(core.List<core.String> o) {
+checkUnnamed3461(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -266,7 +266,7 @@
var o = new api.Diagnostics();
buildCounterDiagnostics++;
if (buildCounterDiagnostics < 3) {
- o.alerts = buildUnnamed3429();
+ o.alerts = buildUnnamed3461();
o.beaconName = "foo";
o.estimatedLowBatteryDate = buildDate();
}
@@ -277,7 +277,7 @@
checkDiagnostics(api.Diagnostics o) {
buildCounterDiagnostics++;
if (buildCounterDiagnostics < 3) {
- checkUnnamed3429(o.alerts);
+ checkUnnamed3461(o.alerts);
unittest.expect(o.beaconName, unittest.equals('foo'));
checkDate(o.estimatedLowBatteryDate);
}
@@ -353,27 +353,27 @@
buildCounterEphemeralIdRegistrationParams--;
}
-buildUnnamed3430() {
+buildUnnamed3462() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3430(core.List<core.String> o) {
+checkUnnamed3462(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3431() {
+buildUnnamed3463() {
var o = new core.List<api.Observation>();
o.add(buildObservation());
o.add(buildObservation());
return o;
}
-checkUnnamed3431(core.List<api.Observation> o) {
+checkUnnamed3463(core.List<api.Observation> o) {
unittest.expect(o, unittest.hasLength(2));
checkObservation(o[0]);
checkObservation(o[1]);
@@ -384,8 +384,8 @@
var o = new api.GetInfoForObservedBeaconsRequest();
buildCounterGetInfoForObservedBeaconsRequest++;
if (buildCounterGetInfoForObservedBeaconsRequest < 3) {
- o.namespacedTypes = buildUnnamed3430();
- o.observations = buildUnnamed3431();
+ o.namespacedTypes = buildUnnamed3462();
+ o.observations = buildUnnamed3463();
}
buildCounterGetInfoForObservedBeaconsRequest--;
return o;
@@ -394,20 +394,20 @@
checkGetInfoForObservedBeaconsRequest(api.GetInfoForObservedBeaconsRequest o) {
buildCounterGetInfoForObservedBeaconsRequest++;
if (buildCounterGetInfoForObservedBeaconsRequest < 3) {
- checkUnnamed3430(o.namespacedTypes);
- checkUnnamed3431(o.observations);
+ checkUnnamed3462(o.namespacedTypes);
+ checkUnnamed3463(o.observations);
}
buildCounterGetInfoForObservedBeaconsRequest--;
}
-buildUnnamed3432() {
+buildUnnamed3464() {
var o = new core.List<api.BeaconInfo>();
o.add(buildBeaconInfo());
o.add(buildBeaconInfo());
return o;
}
-checkUnnamed3432(core.List<api.BeaconInfo> o) {
+checkUnnamed3464(core.List<api.BeaconInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkBeaconInfo(o[0]);
checkBeaconInfo(o[1]);
@@ -418,7 +418,7 @@
var o = new api.GetInfoForObservedBeaconsResponse();
buildCounterGetInfoForObservedBeaconsResponse++;
if (buildCounterGetInfoForObservedBeaconsResponse < 3) {
- o.beacons = buildUnnamed3432();
+ o.beacons = buildUnnamed3464();
}
buildCounterGetInfoForObservedBeaconsResponse--;
return o;
@@ -427,7 +427,7 @@
checkGetInfoForObservedBeaconsResponse(api.GetInfoForObservedBeaconsResponse o) {
buildCounterGetInfoForObservedBeaconsResponse++;
if (buildCounterGetInfoForObservedBeaconsResponse < 3) {
- checkUnnamed3432(o.beacons);
+ checkUnnamed3464(o.beacons);
}
buildCounterGetInfoForObservedBeaconsResponse--;
}
@@ -472,14 +472,14 @@
buildCounterLatLng--;
}
-buildUnnamed3433() {
+buildUnnamed3465() {
var o = new core.List<api.BeaconAttachment>();
o.add(buildBeaconAttachment());
o.add(buildBeaconAttachment());
return o;
}
-checkUnnamed3433(core.List<api.BeaconAttachment> o) {
+checkUnnamed3465(core.List<api.BeaconAttachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkBeaconAttachment(o[0]);
checkBeaconAttachment(o[1]);
@@ -490,7 +490,7 @@
var o = new api.ListBeaconAttachmentsResponse();
buildCounterListBeaconAttachmentsResponse++;
if (buildCounterListBeaconAttachmentsResponse < 3) {
- o.attachments = buildUnnamed3433();
+ o.attachments = buildUnnamed3465();
}
buildCounterListBeaconAttachmentsResponse--;
return o;
@@ -499,19 +499,19 @@
checkListBeaconAttachmentsResponse(api.ListBeaconAttachmentsResponse o) {
buildCounterListBeaconAttachmentsResponse++;
if (buildCounterListBeaconAttachmentsResponse < 3) {
- checkUnnamed3433(o.attachments);
+ checkUnnamed3465(o.attachments);
}
buildCounterListBeaconAttachmentsResponse--;
}
-buildUnnamed3434() {
+buildUnnamed3466() {
var o = new core.List<api.Beacon>();
o.add(buildBeacon());
o.add(buildBeacon());
return o;
}
-checkUnnamed3434(core.List<api.Beacon> o) {
+checkUnnamed3466(core.List<api.Beacon> o) {
unittest.expect(o, unittest.hasLength(2));
checkBeacon(o[0]);
checkBeacon(o[1]);
@@ -522,7 +522,7 @@
var o = new api.ListBeaconsResponse();
buildCounterListBeaconsResponse++;
if (buildCounterListBeaconsResponse < 3) {
- o.beacons = buildUnnamed3434();
+ o.beacons = buildUnnamed3466();
o.nextPageToken = "foo";
o.totalCount = "foo";
}
@@ -533,21 +533,21 @@
checkListBeaconsResponse(api.ListBeaconsResponse o) {
buildCounterListBeaconsResponse++;
if (buildCounterListBeaconsResponse < 3) {
- checkUnnamed3434(o.beacons);
+ checkUnnamed3466(o.beacons);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalCount, unittest.equals('foo'));
}
buildCounterListBeaconsResponse--;
}
-buildUnnamed3435() {
+buildUnnamed3467() {
var o = new core.List<api.Diagnostics>();
o.add(buildDiagnostics());
o.add(buildDiagnostics());
return o;
}
-checkUnnamed3435(core.List<api.Diagnostics> o) {
+checkUnnamed3467(core.List<api.Diagnostics> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiagnostics(o[0]);
checkDiagnostics(o[1]);
@@ -558,7 +558,7 @@
var o = new api.ListDiagnosticsResponse();
buildCounterListDiagnosticsResponse++;
if (buildCounterListDiagnosticsResponse < 3) {
- o.diagnostics = buildUnnamed3435();
+ o.diagnostics = buildUnnamed3467();
o.nextPageToken = "foo";
}
buildCounterListDiagnosticsResponse--;
@@ -568,20 +568,20 @@
checkListDiagnosticsResponse(api.ListDiagnosticsResponse o) {
buildCounterListDiagnosticsResponse++;
if (buildCounterListDiagnosticsResponse < 3) {
- checkUnnamed3435(o.diagnostics);
+ checkUnnamed3467(o.diagnostics);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDiagnosticsResponse--;
}
-buildUnnamed3436() {
+buildUnnamed3468() {
var o = new core.List<api.Namespace>();
o.add(buildNamespace());
o.add(buildNamespace());
return o;
}
-checkUnnamed3436(core.List<api.Namespace> o) {
+checkUnnamed3468(core.List<api.Namespace> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamespace(o[0]);
checkNamespace(o[1]);
@@ -592,7 +592,7 @@
var o = new api.ListNamespacesResponse();
buildCounterListNamespacesResponse++;
if (buildCounterListNamespacesResponse < 3) {
- o.namespaces = buildUnnamed3436();
+ o.namespaces = buildUnnamed3468();
}
buildCounterListNamespacesResponse--;
return o;
@@ -601,7 +601,7 @@
checkListNamespacesResponse(api.ListNamespacesResponse o) {
buildCounterListNamespacesResponse++;
if (buildCounterListNamespacesResponse < 3) {
- checkUnnamed3436(o.namespaces);
+ checkUnnamed3468(o.namespaces);
}
buildCounterListNamespacesResponse--;
}
@@ -1132,10 +1132,10 @@
var mock = new HttpServerMock();
api.BeaconsResourceApi res = new api.ProximitybeaconApi(mock).beacons;
+ var arg_projectId = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_q = "foo";
- var arg_projectId = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1162,10 +1162,10 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["projectId"].first, unittest.equals(arg_projectId));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
- unittest.expect(queryMap["projectId"].first, unittest.equals(arg_projectId));
var h = {
@@ -1174,7 +1174,7 @@
var resp = convert.JSON.encode(buildListBeaconsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(pageToken: arg_pageToken, pageSize: arg_pageSize, q: arg_q, projectId: arg_projectId).then(unittest.expectAsync1(((api.ListBeaconsResponse response) {
+ res.list(projectId: arg_projectId, pageToken: arg_pageToken, pageSize: arg_pageSize, q: arg_q).then(unittest.expectAsync1(((api.ListBeaconsResponse response) {
checkListBeaconsResponse(response);
})));
});
@@ -1435,8 +1435,8 @@
var mock = new HttpServerMock();
api.BeaconsAttachmentsResourceApi res = new api.ProximitybeaconApi(mock).beacons.attachments;
var arg_beaconName = "foo";
- var arg_namespacedType = "foo";
var arg_projectId = "foo";
+ var arg_namespacedType = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1464,8 +1464,8 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["namespacedType"].first, unittest.equals(arg_namespacedType));
unittest.expect(queryMap["projectId"].first, unittest.equals(arg_projectId));
+ unittest.expect(queryMap["namespacedType"].first, unittest.equals(arg_namespacedType));
var h = {
@@ -1474,7 +1474,7 @@
var resp = convert.JSON.encode(buildListBeaconAttachmentsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_beaconName, namespacedType: arg_namespacedType, projectId: arg_projectId).then(unittest.expectAsync1(((api.ListBeaconAttachmentsResponse response) {
+ res.list(arg_beaconName, projectId: arg_projectId, namespacedType: arg_namespacedType).then(unittest.expectAsync1(((api.ListBeaconAttachmentsResponse response) {
checkListBeaconAttachmentsResponse(response);
})));
});
@@ -1488,10 +1488,10 @@
var mock = new HttpServerMock();
api.BeaconsDiagnosticsResourceApi res = new api.ProximitybeaconApi(mock).beacons.diagnostics;
var arg_beaconName = "foo";
- var arg_pageToken = "foo";
var arg_alertFilter = "foo";
var arg_pageSize = 42;
var arg_projectId = "foo";
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1519,10 +1519,10 @@
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["alertFilter"].first, unittest.equals(arg_alertFilter));
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));
var h = {
@@ -1531,7 +1531,7 @@
var resp = convert.JSON.encode(buildListDiagnosticsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_beaconName, pageToken: arg_pageToken, alertFilter: arg_alertFilter, pageSize: arg_pageSize, projectId: arg_projectId).then(unittest.expectAsync1(((api.ListDiagnosticsResponse response) {
+ res.list(arg_beaconName, alertFilter: arg_alertFilter, pageSize: arg_pageSize, projectId: arg_projectId, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListDiagnosticsResponse response) {
checkListDiagnosticsResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/pubsub/v1beta2_test.dart b/generated/googleapis_beta/test/pubsub/v1beta2_test.dart
index 9cf46c1..4e354ad 100644
--- a/generated/googleapis_beta/test/pubsub/v1beta2_test.dart
+++ b/generated/googleapis_beta/test/pubsub/v1beta2_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3308() {
+buildUnnamed3340() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3308(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'));
@@ -69,7 +69,7 @@
var o = new api.AcknowledgeRequest();
buildCounterAcknowledgeRequest++;
if (buildCounterAcknowledgeRequest < 3) {
- o.ackIds = buildUnnamed3308();
+ o.ackIds = buildUnnamed3340();
}
buildCounterAcknowledgeRequest--;
return o;
@@ -78,19 +78,19 @@
checkAcknowledgeRequest(api.AcknowledgeRequest o) {
buildCounterAcknowledgeRequest++;
if (buildCounterAcknowledgeRequest < 3) {
- checkUnnamed3308(o.ackIds);
+ checkUnnamed3340(o.ackIds);
}
buildCounterAcknowledgeRequest--;
}
-buildUnnamed3309() {
+buildUnnamed3341() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3309(core.List<core.String> o) {
+checkUnnamed3341(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -101,7 +101,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed3309();
+ o.members = buildUnnamed3341();
o.role = "foo";
}
buildCounterBinding--;
@@ -111,7 +111,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed3309(o.members);
+ checkUnnamed3341(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -134,14 +134,14 @@
buildCounterEmpty--;
}
-buildUnnamed3310() {
+buildUnnamed3342() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed3310(core.List<api.Subscription> o) {
+checkUnnamed3342(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -153,7 +153,7 @@
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed3310();
+ o.subscriptions = buildUnnamed3342();
}
buildCounterListSubscriptionsResponse--;
return o;
@@ -163,19 +163,19 @@
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3310(o.subscriptions);
+ checkUnnamed3342(o.subscriptions);
}
buildCounterListSubscriptionsResponse--;
}
-buildUnnamed3311() {
+buildUnnamed3343() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3311(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'));
@@ -187,7 +187,7 @@
buildCounterListTopicSubscriptionsResponse++;
if (buildCounterListTopicSubscriptionsResponse < 3) {
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed3311();
+ o.subscriptions = buildUnnamed3343();
}
buildCounterListTopicSubscriptionsResponse--;
return o;
@@ -197,19 +197,19 @@
buildCounterListTopicSubscriptionsResponse++;
if (buildCounterListTopicSubscriptionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3311(o.subscriptions);
+ checkUnnamed3343(o.subscriptions);
}
buildCounterListTopicSubscriptionsResponse--;
}
-buildUnnamed3312() {
+buildUnnamed3344() {
var o = new core.List<api.Topic>();
o.add(buildTopic());
o.add(buildTopic());
return o;
}
-checkUnnamed3312(core.List<api.Topic> o) {
+checkUnnamed3344(core.List<api.Topic> o) {
unittest.expect(o, unittest.hasLength(2));
checkTopic(o[0]);
checkTopic(o[1]);
@@ -221,7 +221,7 @@
buildCounterListTopicsResponse++;
if (buildCounterListTopicsResponse < 3) {
o.nextPageToken = "foo";
- o.topics = buildUnnamed3312();
+ o.topics = buildUnnamed3344();
}
buildCounterListTopicsResponse--;
return o;
@@ -231,19 +231,19 @@
buildCounterListTopicsResponse++;
if (buildCounterListTopicsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3312(o.topics);
+ checkUnnamed3344(o.topics);
}
buildCounterListTopicsResponse--;
}
-buildUnnamed3313() {
+buildUnnamed3345() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3313(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'));
@@ -256,7 +256,7 @@
if (buildCounterModifyAckDeadlineRequest < 3) {
o.ackDeadlineSeconds = 42;
o.ackId = "foo";
- o.ackIds = buildUnnamed3313();
+ o.ackIds = buildUnnamed3345();
}
buildCounterModifyAckDeadlineRequest--;
return o;
@@ -267,7 +267,7 @@
if (buildCounterModifyAckDeadlineRequest < 3) {
unittest.expect(o.ackDeadlineSeconds, unittest.equals(42));
unittest.expect(o.ackId, unittest.equals('foo'));
- checkUnnamed3313(o.ackIds);
+ checkUnnamed3345(o.ackIds);
}
buildCounterModifyAckDeadlineRequest--;
}
@@ -291,14 +291,14 @@
buildCounterModifyPushConfigRequest--;
}
-buildUnnamed3314() {
+buildUnnamed3346() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed3314(core.List<api.Binding> o) {
+checkUnnamed3346(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -309,7 +309,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed3314();
+ o.bindings = buildUnnamed3346();
o.etag = "foo";
o.version = 42;
}
@@ -320,21 +320,21 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed3314(o.bindings);
+ checkUnnamed3346(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed3315() {
+buildUnnamed3347() {
var o = new core.List<api.PubsubMessage>();
o.add(buildPubsubMessage());
o.add(buildPubsubMessage());
return o;
}
-checkUnnamed3315(core.List<api.PubsubMessage> o) {
+checkUnnamed3347(core.List<api.PubsubMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkPubsubMessage(o[0]);
checkPubsubMessage(o[1]);
@@ -345,7 +345,7 @@
var o = new api.PublishRequest();
buildCounterPublishRequest++;
if (buildCounterPublishRequest < 3) {
- o.messages = buildUnnamed3315();
+ o.messages = buildUnnamed3347();
}
buildCounterPublishRequest--;
return o;
@@ -354,19 +354,19 @@
checkPublishRequest(api.PublishRequest o) {
buildCounterPublishRequest++;
if (buildCounterPublishRequest < 3) {
- checkUnnamed3315(o.messages);
+ checkUnnamed3347(o.messages);
}
buildCounterPublishRequest--;
}
-buildUnnamed3316() {
+buildUnnamed3348() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3316(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'));
@@ -377,7 +377,7 @@
var o = new api.PublishResponse();
buildCounterPublishResponse++;
if (buildCounterPublishResponse < 3) {
- o.messageIds = buildUnnamed3316();
+ o.messageIds = buildUnnamed3348();
}
buildCounterPublishResponse--;
return o;
@@ -386,19 +386,19 @@
checkPublishResponse(api.PublishResponse o) {
buildCounterPublishResponse++;
if (buildCounterPublishResponse < 3) {
- checkUnnamed3316(o.messageIds);
+ checkUnnamed3348(o.messageIds);
}
buildCounterPublishResponse--;
}
-buildUnnamed3317() {
+buildUnnamed3349() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3317(core.Map<core.String, core.String> o) {
+checkUnnamed3349(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -409,7 +409,7 @@
var o = new api.PubsubMessage();
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
- o.attributes = buildUnnamed3317();
+ o.attributes = buildUnnamed3349();
o.data = "foo";
o.messageId = "foo";
o.publishTime = "foo";
@@ -421,7 +421,7 @@
checkPubsubMessage(api.PubsubMessage o) {
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
- checkUnnamed3317(o.attributes);
+ checkUnnamed3349(o.attributes);
unittest.expect(o.data, unittest.equals('foo'));
unittest.expect(o.messageId, unittest.equals('foo'));
unittest.expect(o.publishTime, unittest.equals('foo'));
@@ -450,14 +450,14 @@
buildCounterPullRequest--;
}
-buildUnnamed3318() {
+buildUnnamed3350() {
var o = new core.List<api.ReceivedMessage>();
o.add(buildReceivedMessage());
o.add(buildReceivedMessage());
return o;
}
-checkUnnamed3318(core.List<api.ReceivedMessage> o) {
+checkUnnamed3350(core.List<api.ReceivedMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkReceivedMessage(o[0]);
checkReceivedMessage(o[1]);
@@ -468,7 +468,7 @@
var o = new api.PullResponse();
buildCounterPullResponse++;
if (buildCounterPullResponse < 3) {
- o.receivedMessages = buildUnnamed3318();
+ o.receivedMessages = buildUnnamed3350();
}
buildCounterPullResponse--;
return o;
@@ -477,19 +477,19 @@
checkPullResponse(api.PullResponse o) {
buildCounterPullResponse++;
if (buildCounterPullResponse < 3) {
- checkUnnamed3318(o.receivedMessages);
+ checkUnnamed3350(o.receivedMessages);
}
buildCounterPullResponse--;
}
-buildUnnamed3319() {
+buildUnnamed3351() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3319(core.Map<core.String, core.String> o) {
+checkUnnamed3351(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -500,7 +500,7 @@
var o = new api.PushConfig();
buildCounterPushConfig++;
if (buildCounterPushConfig < 3) {
- o.attributes = buildUnnamed3319();
+ o.attributes = buildUnnamed3351();
o.pushEndpoint = "foo";
}
buildCounterPushConfig--;
@@ -510,7 +510,7 @@
checkPushConfig(api.PushConfig o) {
buildCounterPushConfig++;
if (buildCounterPushConfig < 3) {
- checkUnnamed3319(o.attributes);
+ checkUnnamed3351(o.attributes);
unittest.expect(o.pushEndpoint, unittest.equals('foo'));
}
buildCounterPushConfig--;
@@ -581,14 +581,14 @@
buildCounterSubscription--;
}
-buildUnnamed3320() {
+buildUnnamed3352() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3320(core.List<core.String> o) {
+checkUnnamed3352(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -599,7 +599,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed3320();
+ o.permissions = buildUnnamed3352();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -608,19 +608,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed3320(o.permissions);
+ checkUnnamed3352(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed3321() {
+buildUnnamed3353() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3321(core.List<core.String> o) {
+checkUnnamed3353(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -631,7 +631,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed3321();
+ o.permissions = buildUnnamed3353();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -640,7 +640,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed3321(o.permissions);
+ checkUnnamed3353(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1094,8 +1094,8 @@
var mock = new HttpServerMock();
api.ProjectsSubscriptionsResourceApi res = new api.PubsubApi(mock).projects.subscriptions;
var arg_project = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1123,8 +1123,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1133,7 +1133,7 @@
var resp = convert.JSON.encode(buildListSubscriptionsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_project, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListSubscriptionsResponse response) {
+ res.list(arg_project, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListSubscriptionsResponse response) {
checkListSubscriptionsResponse(response);
})));
});
@@ -1576,8 +1576,8 @@
var mock = new HttpServerMock();
api.ProjectsTopicsResourceApi res = new api.PubsubApi(mock).projects.topics;
var arg_project = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1605,8 +1605,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1615,7 +1615,7 @@
var resp = convert.JSON.encode(buildListTopicsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_project, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListTopicsResponse response) {
+ res.list(arg_project, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListTopicsResponse response) {
checkListTopicsResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/replicapool/v1beta2_test.dart b/generated/googleapis_beta/test/replicapool/v1beta2_test.dart
index 7c2b0af..899c219 100644
--- a/generated/googleapis_beta/test/replicapool/v1beta2_test.dart
+++ b/generated/googleapis_beta/test/replicapool/v1beta2_test.dart
@@ -51,27 +51,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3416() {
+buildUnnamed3448() {
var o = new core.List<api.ReplicaPoolAutoHealingPolicy>();
o.add(buildReplicaPoolAutoHealingPolicy());
o.add(buildReplicaPoolAutoHealingPolicy());
return o;
}
-checkUnnamed3416(core.List<api.ReplicaPoolAutoHealingPolicy> o) {
+checkUnnamed3448(core.List<api.ReplicaPoolAutoHealingPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkReplicaPoolAutoHealingPolicy(o[0]);
checkReplicaPoolAutoHealingPolicy(o[1]);
}
-buildUnnamed3417() {
+buildUnnamed3449() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3417(core.List<core.String> o) {
+checkUnnamed3449(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,7 +82,7 @@
var o = new api.InstanceGroupManager();
buildCounterInstanceGroupManager++;
if (buildCounterInstanceGroupManager < 3) {
- o.autoHealingPolicies = buildUnnamed3416();
+ o.autoHealingPolicies = buildUnnamed3448();
o.baseInstanceName = "foo";
o.creationTimestamp = "foo";
o.currentSize = 42;
@@ -94,7 +94,7 @@
o.kind = "foo";
o.name = "foo";
o.selfLink = "foo";
- o.targetPools = buildUnnamed3417();
+ o.targetPools = buildUnnamed3449();
o.targetSize = 42;
}
buildCounterInstanceGroupManager--;
@@ -104,7 +104,7 @@
checkInstanceGroupManager(api.InstanceGroupManager o) {
buildCounterInstanceGroupManager++;
if (buildCounterInstanceGroupManager < 3) {
- checkUnnamed3416(o.autoHealingPolicies);
+ checkUnnamed3448(o.autoHealingPolicies);
unittest.expect(o.baseInstanceName, unittest.equals('foo'));
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.currentSize, unittest.equals(42));
@@ -116,20 +116,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed3417(o.targetPools);
+ checkUnnamed3449(o.targetPools);
unittest.expect(o.targetSize, unittest.equals(42));
}
buildCounterInstanceGroupManager--;
}
-buildUnnamed3418() {
+buildUnnamed3450() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed3418(core.List<api.InstanceGroupManager> o) {
+checkUnnamed3450(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -141,7 +141,7 @@
buildCounterInstanceGroupManagerList++;
if (buildCounterInstanceGroupManagerList < 3) {
o.id = "foo";
- o.items = buildUnnamed3418();
+ o.items = buildUnnamed3450();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -154,7 +154,7 @@
buildCounterInstanceGroupManagerList++;
if (buildCounterInstanceGroupManagerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3418(o.items);
+ checkUnnamed3450(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -162,14 +162,14 @@
buildCounterInstanceGroupManagerList--;
}
-buildUnnamed3419() {
+buildUnnamed3451() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3419(core.List<core.String> o) {
+checkUnnamed3451(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -180,7 +180,7 @@
var o = new api.InstanceGroupManagersAbandonInstancesRequest();
buildCounterInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) {
- o.instances = buildUnnamed3419();
+ o.instances = buildUnnamed3451();
}
buildCounterInstanceGroupManagersAbandonInstancesRequest--;
return o;
@@ -189,19 +189,19 @@
checkInstanceGroupManagersAbandonInstancesRequest(api.InstanceGroupManagersAbandonInstancesRequest o) {
buildCounterInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) {
- checkUnnamed3419(o.instances);
+ checkUnnamed3451(o.instances);
}
buildCounterInstanceGroupManagersAbandonInstancesRequest--;
}
-buildUnnamed3420() {
+buildUnnamed3452() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3420(core.List<core.String> o) {
+checkUnnamed3452(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -212,7 +212,7 @@
var o = new api.InstanceGroupManagersDeleteInstancesRequest();
buildCounterInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) {
- o.instances = buildUnnamed3420();
+ o.instances = buildUnnamed3452();
}
buildCounterInstanceGroupManagersDeleteInstancesRequest--;
return o;
@@ -221,19 +221,19 @@
checkInstanceGroupManagersDeleteInstancesRequest(api.InstanceGroupManagersDeleteInstancesRequest o) {
buildCounterInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) {
- checkUnnamed3420(o.instances);
+ checkUnnamed3452(o.instances);
}
buildCounterInstanceGroupManagersDeleteInstancesRequest--;
}
-buildUnnamed3421() {
+buildUnnamed3453() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3421(core.List<core.String> o) {
+checkUnnamed3453(core.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 @@
var o = new api.InstanceGroupManagersRecreateInstancesRequest();
buildCounterInstanceGroupManagersRecreateInstancesRequest++;
if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) {
- o.instances = buildUnnamed3421();
+ o.instances = buildUnnamed3453();
}
buildCounterInstanceGroupManagersRecreateInstancesRequest--;
return o;
@@ -253,7 +253,7 @@
checkInstanceGroupManagersRecreateInstancesRequest(api.InstanceGroupManagersRecreateInstancesRequest o) {
buildCounterInstanceGroupManagersRecreateInstancesRequest++;
if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) {
- checkUnnamed3421(o.instances);
+ checkUnnamed3453(o.instances);
}
buildCounterInstanceGroupManagersRecreateInstancesRequest--;
}
@@ -277,14 +277,14 @@
buildCounterInstanceGroupManagersSetInstanceTemplateRequest--;
}
-buildUnnamed3422() {
+buildUnnamed3454() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3422(core.List<core.String> o) {
+checkUnnamed3454(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -296,7 +296,7 @@
buildCounterInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) {
o.fingerprint = "foo";
- o.targetPools = buildUnnamed3422();
+ o.targetPools = buildUnnamed3454();
}
buildCounterInstanceGroupManagersSetTargetPoolsRequest--;
return o;
@@ -306,7 +306,7 @@
buildCounterInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed3422(o.targetPools);
+ checkUnnamed3454(o.targetPools);
}
buildCounterInstanceGroupManagersSetTargetPoolsRequest--;
}
@@ -334,14 +334,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed3423() {
+buildUnnamed3455() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed3423(core.List<api.OperationErrorErrors> o) {
+checkUnnamed3455(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -352,7 +352,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed3423();
+ o.errors = buildUnnamed3455();
}
buildCounterOperationError--;
return o;
@@ -361,7 +361,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed3423(o.errors);
+ checkUnnamed3455(o.errors);
}
buildCounterOperationError--;
}
@@ -387,14 +387,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed3424() {
+buildUnnamed3456() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed3424(core.List<api.OperationWarningsData> o) {
+checkUnnamed3456(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -406,7 +406,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed3424();
+ o.data = buildUnnamed3456();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -417,20 +417,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed3424(o.data);
+ checkUnnamed3456(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed3425() {
+buildUnnamed3457() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed3425(core.List<api.OperationWarnings> o) {
+checkUnnamed3457(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -461,7 +461,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed3425();
+ o.warnings = buildUnnamed3457();
o.zone = "foo";
}
buildCounterOperation--;
@@ -491,20 +491,20 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3425(o.warnings);
+ checkUnnamed3457(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed3426() {
+buildUnnamed3458() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3426(core.List<api.Operation> o) {
+checkUnnamed3458(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -516,7 +516,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
o.id = "foo";
- o.items = buildUnnamed3426();
+ o.items = buildUnnamed3458();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -529,7 +529,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3426(o.items);
+ checkUnnamed3458(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
diff --git a/generated/googleapis_beta/test/replicapoolupdater/v1beta1_test.dart b/generated/googleapis_beta/test/replicapoolupdater/v1beta1_test.dart
index 3919570..e11ebd3 100644
--- a/generated/googleapis_beta/test/replicapoolupdater/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/replicapoolupdater/v1beta1_test.dart
@@ -74,14 +74,14 @@
buildCounterInstanceUpdateErrorErrors--;
}
-buildUnnamed3249() {
+buildUnnamed3273() {
var o = new core.List<api.InstanceUpdateErrorErrors>();
o.add(buildInstanceUpdateErrorErrors());
o.add(buildInstanceUpdateErrorErrors());
return o;
}
-checkUnnamed3249(core.List<api.InstanceUpdateErrorErrors> o) {
+checkUnnamed3273(core.List<api.InstanceUpdateErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceUpdateErrorErrors(o[0]);
checkInstanceUpdateErrorErrors(o[1]);
@@ -92,7 +92,7 @@
var o = new api.InstanceUpdateError();
buildCounterInstanceUpdateError++;
if (buildCounterInstanceUpdateError < 3) {
- o.errors = buildUnnamed3249();
+ o.errors = buildUnnamed3273();
}
buildCounterInstanceUpdateError--;
return o;
@@ -101,7 +101,7 @@
checkInstanceUpdateError(api.InstanceUpdateError o) {
buildCounterInstanceUpdateError++;
if (buildCounterInstanceUpdateError < 3) {
- checkUnnamed3249(o.errors);
+ checkUnnamed3273(o.errors);
}
buildCounterInstanceUpdateError--;
}
@@ -129,14 +129,14 @@
buildCounterInstanceUpdate--;
}
-buildUnnamed3250() {
+buildUnnamed3274() {
var o = new core.List<api.InstanceUpdate>();
o.add(buildInstanceUpdate());
o.add(buildInstanceUpdate());
return o;
}
-checkUnnamed3250(core.List<api.InstanceUpdate> o) {
+checkUnnamed3274(core.List<api.InstanceUpdate> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceUpdate(o[0]);
checkInstanceUpdate(o[1]);
@@ -147,7 +147,7 @@
var o = new api.InstanceUpdateList();
buildCounterInstanceUpdateList++;
if (buildCounterInstanceUpdateList < 3) {
- o.items = buildUnnamed3250();
+ o.items = buildUnnamed3274();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -159,7 +159,7 @@
checkInstanceUpdateList(api.InstanceUpdateList o) {
buildCounterInstanceUpdateList++;
if (buildCounterInstanceUpdateList < 3) {
- checkUnnamed3250(o.items);
+ checkUnnamed3274(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -190,14 +190,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed3251() {
+buildUnnamed3275() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed3251(core.List<api.OperationErrorErrors> o) {
+checkUnnamed3275(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -208,7 +208,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed3251();
+ o.errors = buildUnnamed3275();
}
buildCounterOperationError--;
return o;
@@ -217,7 +217,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed3251(o.errors);
+ checkUnnamed3275(o.errors);
}
buildCounterOperationError--;
}
@@ -243,14 +243,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed3252() {
+buildUnnamed3276() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed3252(core.List<api.OperationWarningsData> o) {
+checkUnnamed3276(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -262,7 +262,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed3252();
+ o.data = buildUnnamed3276();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -273,20 +273,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed3252(o.data);
+ checkUnnamed3276(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed3253() {
+buildUnnamed3277() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed3253(core.List<api.OperationWarnings> o) {
+checkUnnamed3277(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -317,7 +317,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed3253();
+ o.warnings = buildUnnamed3277();
o.zone = "foo";
}
buildCounterOperation--;
@@ -347,20 +347,20 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3253(o.warnings);
+ checkUnnamed3277(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed3254() {
+buildUnnamed3278() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3254(core.List<api.Operation> o) {
+checkUnnamed3278(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -372,7 +372,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
o.id = "foo";
- o.items = buildUnnamed3254();
+ o.items = buildUnnamed3278();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -385,7 +385,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3254(o.items);
+ checkUnnamed3278(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -416,14 +416,14 @@
buildCounterRollingUpdateErrorErrors--;
}
-buildUnnamed3255() {
+buildUnnamed3279() {
var o = new core.List<api.RollingUpdateErrorErrors>();
o.add(buildRollingUpdateErrorErrors());
o.add(buildRollingUpdateErrorErrors());
return o;
}
-checkUnnamed3255(core.List<api.RollingUpdateErrorErrors> o) {
+checkUnnamed3279(core.List<api.RollingUpdateErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkRollingUpdateErrorErrors(o[0]);
checkRollingUpdateErrorErrors(o[1]);
@@ -434,7 +434,7 @@
var o = new api.RollingUpdateError();
buildCounterRollingUpdateError++;
if (buildCounterRollingUpdateError < 3) {
- o.errors = buildUnnamed3255();
+ o.errors = buildUnnamed3279();
}
buildCounterRollingUpdateError--;
return o;
@@ -443,7 +443,7 @@
checkRollingUpdateError(api.RollingUpdateError o) {
buildCounterRollingUpdateError++;
if (buildCounterRollingUpdateError < 3) {
- checkUnnamed3255(o.errors);
+ checkUnnamed3279(o.errors);
}
buildCounterRollingUpdateError--;
}
@@ -524,14 +524,14 @@
buildCounterRollingUpdate--;
}
-buildUnnamed3256() {
+buildUnnamed3280() {
var o = new core.List<api.RollingUpdate>();
o.add(buildRollingUpdate());
o.add(buildRollingUpdate());
return o;
}
-checkUnnamed3256(core.List<api.RollingUpdate> o) {
+checkUnnamed3280(core.List<api.RollingUpdate> o) {
unittest.expect(o, unittest.hasLength(2));
checkRollingUpdate(o[0]);
checkRollingUpdate(o[1]);
@@ -542,7 +542,7 @@
var o = new api.RollingUpdateList();
buildCounterRollingUpdateList++;
if (buildCounterRollingUpdateList < 3) {
- o.items = buildUnnamed3256();
+ o.items = buildUnnamed3280();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -554,7 +554,7 @@
checkRollingUpdateList(api.RollingUpdateList o) {
buildCounterRollingUpdateList++;
if (buildCounterRollingUpdateList < 3) {
- checkUnnamed3256(o.items);
+ checkUnnamed3280(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
diff --git a/generated/googleapis_beta/test/resourceviews/v1beta1_test.dart b/generated/googleapis_beta/test/resourceviews/v1beta1_test.dart
index dee6ff2..031fd30 100644
--- a/generated/googleapis_beta/test/resourceviews/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/resourceviews/v1beta1_test.dart
@@ -72,14 +72,14 @@
buildCounterLabel--;
}
-buildUnnamed3352() {
+buildUnnamed3384() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3352(core.List<core.String> o) {
+checkUnnamed3384(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -90,7 +90,7 @@
var o = new api.RegionViewsAddResourcesRequest();
buildCounterRegionViewsAddResourcesRequest++;
if (buildCounterRegionViewsAddResourcesRequest < 3) {
- o.resources = buildUnnamed3352();
+ o.resources = buildUnnamed3384();
}
buildCounterRegionViewsAddResourcesRequest--;
return o;
@@ -99,7 +99,7 @@
checkRegionViewsAddResourcesRequest(api.RegionViewsAddResourcesRequest o) {
buildCounterRegionViewsAddResourcesRequest++;
if (buildCounterRegionViewsAddResourcesRequest < 3) {
- checkUnnamed3352(o.resources);
+ checkUnnamed3384(o.resources);
}
buildCounterRegionViewsAddResourcesRequest--;
}
@@ -123,14 +123,14 @@
buildCounterRegionViewsInsertResponse--;
}
-buildUnnamed3353() {
+buildUnnamed3385() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3353(core.List<core.String> o) {
+checkUnnamed3385(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -141,7 +141,7 @@
var o = new api.RegionViewsListResourcesResponse();
buildCounterRegionViewsListResourcesResponse++;
if (buildCounterRegionViewsListResourcesResponse < 3) {
- o.members = buildUnnamed3353();
+ o.members = buildUnnamed3385();
o.nextPageToken = "foo";
}
buildCounterRegionViewsListResourcesResponse--;
@@ -151,20 +151,20 @@
checkRegionViewsListResourcesResponse(api.RegionViewsListResourcesResponse o) {
buildCounterRegionViewsListResourcesResponse++;
if (buildCounterRegionViewsListResourcesResponse < 3) {
- checkUnnamed3353(o.members);
+ checkUnnamed3385(o.members);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterRegionViewsListResourcesResponse--;
}
-buildUnnamed3354() {
+buildUnnamed3386() {
var o = new core.List<api.ResourceView>();
o.add(buildResourceView());
o.add(buildResourceView());
return o;
}
-checkUnnamed3354(core.List<api.ResourceView> o) {
+checkUnnamed3386(core.List<api.ResourceView> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceView(o[0]);
checkResourceView(o[1]);
@@ -176,7 +176,7 @@
buildCounterRegionViewsListResponse++;
if (buildCounterRegionViewsListResponse < 3) {
o.nextPageToken = "foo";
- o.resourceViews = buildUnnamed3354();
+ o.resourceViews = buildUnnamed3386();
}
buildCounterRegionViewsListResponse--;
return o;
@@ -186,19 +186,19 @@
buildCounterRegionViewsListResponse++;
if (buildCounterRegionViewsListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3354(o.resourceViews);
+ checkUnnamed3386(o.resourceViews);
}
buildCounterRegionViewsListResponse--;
}
-buildUnnamed3355() {
+buildUnnamed3387() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3355(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'));
@@ -209,7 +209,7 @@
var o = new api.RegionViewsRemoveResourcesRequest();
buildCounterRegionViewsRemoveResourcesRequest++;
if (buildCounterRegionViewsRemoveResourcesRequest < 3) {
- o.resources = buildUnnamed3355();
+ o.resources = buildUnnamed3387();
}
buildCounterRegionViewsRemoveResourcesRequest--;
return o;
@@ -218,32 +218,32 @@
checkRegionViewsRemoveResourcesRequest(api.RegionViewsRemoveResourcesRequest o) {
buildCounterRegionViewsRemoveResourcesRequest++;
if (buildCounterRegionViewsRemoveResourcesRequest < 3) {
- checkUnnamed3355(o.resources);
+ checkUnnamed3387(o.resources);
}
buildCounterRegionViewsRemoveResourcesRequest--;
}
-buildUnnamed3356() {
+buildUnnamed3388() {
var o = new core.List<api.Label>();
o.add(buildLabel());
o.add(buildLabel());
return o;
}
-checkUnnamed3356(core.List<api.Label> o) {
+checkUnnamed3388(core.List<api.Label> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabel(o[0]);
checkLabel(o[1]);
}
-buildUnnamed3357() {
+buildUnnamed3389() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3357(core.List<core.String> o) {
+checkUnnamed3389(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -258,9 +258,9 @@
o.description = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed3356();
+ o.labels = buildUnnamed3388();
o.lastModified = "foo";
- o.members = buildUnnamed3357();
+ o.members = buildUnnamed3389();
o.name = "foo";
o.numMembers = 42;
o.selfLink = "foo";
@@ -276,9 +276,9 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3356(o.labels);
+ checkUnnamed3388(o.labels);
unittest.expect(o.lastModified, unittest.equals('foo'));
- checkUnnamed3357(o.members);
+ checkUnnamed3389(o.members);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.numMembers, unittest.equals(42));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -286,14 +286,14 @@
buildCounterResourceView--;
}
-buildUnnamed3358() {
+buildUnnamed3390() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3358(core.List<core.String> o) {
+checkUnnamed3390(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -304,7 +304,7 @@
var o = new api.ZoneViewsAddResourcesRequest();
buildCounterZoneViewsAddResourcesRequest++;
if (buildCounterZoneViewsAddResourcesRequest < 3) {
- o.resources = buildUnnamed3358();
+ o.resources = buildUnnamed3390();
}
buildCounterZoneViewsAddResourcesRequest--;
return o;
@@ -313,7 +313,7 @@
checkZoneViewsAddResourcesRequest(api.ZoneViewsAddResourcesRequest o) {
buildCounterZoneViewsAddResourcesRequest++;
if (buildCounterZoneViewsAddResourcesRequest < 3) {
- checkUnnamed3358(o.resources);
+ checkUnnamed3390(o.resources);
}
buildCounterZoneViewsAddResourcesRequest--;
}
@@ -337,14 +337,14 @@
buildCounterZoneViewsInsertResponse--;
}
-buildUnnamed3359() {
+buildUnnamed3391() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3359(core.List<core.String> o) {
+checkUnnamed3391(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -355,7 +355,7 @@
var o = new api.ZoneViewsListResourcesResponse();
buildCounterZoneViewsListResourcesResponse++;
if (buildCounterZoneViewsListResourcesResponse < 3) {
- o.members = buildUnnamed3359();
+ o.members = buildUnnamed3391();
o.nextPageToken = "foo";
}
buildCounterZoneViewsListResourcesResponse--;
@@ -365,20 +365,20 @@
checkZoneViewsListResourcesResponse(api.ZoneViewsListResourcesResponse o) {
buildCounterZoneViewsListResourcesResponse++;
if (buildCounterZoneViewsListResourcesResponse < 3) {
- checkUnnamed3359(o.members);
+ checkUnnamed3391(o.members);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterZoneViewsListResourcesResponse--;
}
-buildUnnamed3360() {
+buildUnnamed3392() {
var o = new core.List<api.ResourceView>();
o.add(buildResourceView());
o.add(buildResourceView());
return o;
}
-checkUnnamed3360(core.List<api.ResourceView> o) {
+checkUnnamed3392(core.List<api.ResourceView> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceView(o[0]);
checkResourceView(o[1]);
@@ -390,7 +390,7 @@
buildCounterZoneViewsListResponse++;
if (buildCounterZoneViewsListResponse < 3) {
o.nextPageToken = "foo";
- o.resourceViews = buildUnnamed3360();
+ o.resourceViews = buildUnnamed3392();
}
buildCounterZoneViewsListResponse--;
return o;
@@ -400,19 +400,19 @@
buildCounterZoneViewsListResponse++;
if (buildCounterZoneViewsListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3360(o.resourceViews);
+ checkUnnamed3392(o.resourceViews);
}
buildCounterZoneViewsListResponse--;
}
-buildUnnamed3361() {
+buildUnnamed3393() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3361(core.List<core.String> o) {
+checkUnnamed3393(core.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 @@
var o = new api.ZoneViewsRemoveResourcesRequest();
buildCounterZoneViewsRemoveResourcesRequest++;
if (buildCounterZoneViewsRemoveResourcesRequest < 3) {
- o.resources = buildUnnamed3361();
+ o.resources = buildUnnamed3393();
}
buildCounterZoneViewsRemoveResourcesRequest--;
return o;
@@ -432,7 +432,7 @@
checkZoneViewsRemoveResourcesRequest(api.ZoneViewsRemoveResourcesRequest o) {
buildCounterZoneViewsRemoveResourcesRequest++;
if (buildCounterZoneViewsRemoveResourcesRequest < 3) {
- checkUnnamed3361(o.resources);
+ checkUnnamed3393(o.resources);
}
buildCounterZoneViewsRemoveResourcesRequest--;
}
diff --git a/generated/googleapis_beta/test/resourceviews/v1beta2_test.dart b/generated/googleapis_beta/test/resourceviews/v1beta2_test.dart
index bc3d603..78d59d6 100644
--- a/generated/googleapis_beta/test/resourceviews/v1beta2_test.dart
+++ b/generated/googleapis_beta/test/resourceviews/v1beta2_test.dart
@@ -72,30 +72,30 @@
buildCounterLabel--;
}
-buildUnnamed3219() {
+buildUnnamed3243() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed3219(core.List<core.int> o) {
+checkUnnamed3243(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));
}
-buildUnnamed3220() {
+buildUnnamed3244() {
var o = new core.Map<core.String, core.List<core.int>>();
- o["x"] = buildUnnamed3219();
- o["y"] = buildUnnamed3219();
+ o["x"] = buildUnnamed3243();
+ o["y"] = buildUnnamed3243();
return o;
}
-checkUnnamed3220(core.Map<core.String, core.List<core.int>> o) {
+checkUnnamed3244(core.Map<core.String, core.List<core.int>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3219(o["x"]);
- checkUnnamed3219(o["y"]);
+ checkUnnamed3243(o["x"]);
+ checkUnnamed3243(o["y"]);
}
core.int buildCounterListResourceResponseItem = 0;
@@ -103,7 +103,7 @@
var o = new api.ListResourceResponseItem();
buildCounterListResourceResponseItem++;
if (buildCounterListResourceResponseItem < 3) {
- o.endpoints = buildUnnamed3220();
+ o.endpoints = buildUnnamed3244();
o.resource = "foo";
}
buildCounterListResourceResponseItem--;
@@ -113,7 +113,7 @@
checkListResourceResponseItem(api.ListResourceResponseItem o) {
buildCounterListResourceResponseItem++;
if (buildCounterListResourceResponseItem < 3) {
- checkUnnamed3220(o.endpoints);
+ checkUnnamed3244(o.endpoints);
unittest.expect(o.resource, unittest.equals('foo'));
}
buildCounterListResourceResponseItem--;
@@ -142,14 +142,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed3221() {
+buildUnnamed3245() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed3221(core.List<api.OperationErrorErrors> o) {
+checkUnnamed3245(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -160,7 +160,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed3221();
+ o.errors = buildUnnamed3245();
}
buildCounterOperationError--;
return o;
@@ -169,7 +169,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed3221(o.errors);
+ checkUnnamed3245(o.errors);
}
buildCounterOperationError--;
}
@@ -195,14 +195,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed3222() {
+buildUnnamed3246() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed3222(core.List<api.OperationWarningsData> o) {
+checkUnnamed3246(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -214,7 +214,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed3222();
+ o.data = buildUnnamed3246();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -225,20 +225,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed3222(o.data);
+ checkUnnamed3246(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed3223() {
+buildUnnamed3247() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed3223(core.List<api.OperationWarnings> o) {
+checkUnnamed3247(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -269,7 +269,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed3223();
+ o.warnings = buildUnnamed3247();
o.zone = "foo";
}
buildCounterOperation--;
@@ -299,20 +299,20 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3223(o.warnings);
+ checkUnnamed3247(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed3224() {
+buildUnnamed3248() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3224(core.List<api.Operation> o) {
+checkUnnamed3248(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -324,7 +324,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
o.id = "foo";
- o.items = buildUnnamed3224();
+ o.items = buildUnnamed3248();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -337,7 +337,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3224(o.items);
+ checkUnnamed3248(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -345,40 +345,40 @@
buildCounterOperationList--;
}
-buildUnnamed3225() {
+buildUnnamed3249() {
var o = new core.List<api.ServiceEndpoint>();
o.add(buildServiceEndpoint());
o.add(buildServiceEndpoint());
return o;
}
-checkUnnamed3225(core.List<api.ServiceEndpoint> o) {
+checkUnnamed3249(core.List<api.ServiceEndpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceEndpoint(o[0]);
checkServiceEndpoint(o[1]);
}
-buildUnnamed3226() {
+buildUnnamed3250() {
var o = new core.List<api.Label>();
o.add(buildLabel());
o.add(buildLabel());
return o;
}
-checkUnnamed3226(core.List<api.Label> o) {
+checkUnnamed3250(core.List<api.Label> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabel(o[0]);
checkLabel(o[1]);
}
-buildUnnamed3227() {
+buildUnnamed3251() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3227(core.List<core.String> o) {
+checkUnnamed3251(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -391,14 +391,14 @@
if (buildCounterResourceView < 3) {
o.creationTimestamp = "foo";
o.description = "foo";
- o.endpoints = buildUnnamed3225();
+ o.endpoints = buildUnnamed3249();
o.fingerprint = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed3226();
+ o.labels = buildUnnamed3250();
o.name = "foo";
o.network = "foo";
- o.resources = buildUnnamed3227();
+ o.resources = buildUnnamed3251();
o.selfLink = "foo";
o.size = 42;
}
@@ -411,14 +411,14 @@
if (buildCounterResourceView < 3) {
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed3225(o.endpoints);
+ checkUnnamed3249(o.endpoints);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3226(o.labels);
+ checkUnnamed3250(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
- checkUnnamed3227(o.resources);
+ checkUnnamed3251(o.resources);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.size, unittest.equals(42));
}
@@ -446,14 +446,14 @@
buildCounterServiceEndpoint--;
}
-buildUnnamed3228() {
+buildUnnamed3252() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3228(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'));
@@ -464,7 +464,7 @@
var o = new api.ZoneViewsAddResourcesRequest();
buildCounterZoneViewsAddResourcesRequest++;
if (buildCounterZoneViewsAddResourcesRequest < 3) {
- o.resources = buildUnnamed3228();
+ o.resources = buildUnnamed3252();
}
buildCounterZoneViewsAddResourcesRequest--;
return o;
@@ -473,19 +473,19 @@
checkZoneViewsAddResourcesRequest(api.ZoneViewsAddResourcesRequest o) {
buildCounterZoneViewsAddResourcesRequest++;
if (buildCounterZoneViewsAddResourcesRequest < 3) {
- checkUnnamed3228(o.resources);
+ checkUnnamed3252(o.resources);
}
buildCounterZoneViewsAddResourcesRequest--;
}
-buildUnnamed3229() {
+buildUnnamed3253() {
var o = new core.List<api.ServiceEndpoint>();
o.add(buildServiceEndpoint());
o.add(buildServiceEndpoint());
return o;
}
-checkUnnamed3229(core.List<api.ServiceEndpoint> o) {
+checkUnnamed3253(core.List<api.ServiceEndpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceEndpoint(o[0]);
checkServiceEndpoint(o[1]);
@@ -496,7 +496,7 @@
var o = new api.ZoneViewsGetServiceResponse();
buildCounterZoneViewsGetServiceResponse++;
if (buildCounterZoneViewsGetServiceResponse < 3) {
- o.endpoints = buildUnnamed3229();
+ o.endpoints = buildUnnamed3253();
o.fingerprint = "foo";
}
buildCounterZoneViewsGetServiceResponse--;
@@ -506,20 +506,20 @@
checkZoneViewsGetServiceResponse(api.ZoneViewsGetServiceResponse o) {
buildCounterZoneViewsGetServiceResponse++;
if (buildCounterZoneViewsGetServiceResponse < 3) {
- checkUnnamed3229(o.endpoints);
+ checkUnnamed3253(o.endpoints);
unittest.expect(o.fingerprint, unittest.equals('foo'));
}
buildCounterZoneViewsGetServiceResponse--;
}
-buildUnnamed3230() {
+buildUnnamed3254() {
var o = new core.List<api.ResourceView>();
o.add(buildResourceView());
o.add(buildResourceView());
return o;
}
-checkUnnamed3230(core.List<api.ResourceView> o) {
+checkUnnamed3254(core.List<api.ResourceView> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceView(o[0]);
checkResourceView(o[1]);
@@ -530,7 +530,7 @@
var o = new api.ZoneViewsList();
buildCounterZoneViewsList++;
if (buildCounterZoneViewsList < 3) {
- o.items = buildUnnamed3230();
+ o.items = buildUnnamed3254();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -542,7 +542,7 @@
checkZoneViewsList(api.ZoneViewsList o) {
buildCounterZoneViewsList++;
if (buildCounterZoneViewsList < 3) {
- checkUnnamed3230(o.items);
+ checkUnnamed3254(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -550,14 +550,14 @@
buildCounterZoneViewsList--;
}
-buildUnnamed3231() {
+buildUnnamed3255() {
var o = new core.List<api.ListResourceResponseItem>();
o.add(buildListResourceResponseItem());
o.add(buildListResourceResponseItem());
return o;
}
-checkUnnamed3231(core.List<api.ListResourceResponseItem> o) {
+checkUnnamed3255(core.List<api.ListResourceResponseItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkListResourceResponseItem(o[0]);
checkListResourceResponseItem(o[1]);
@@ -568,7 +568,7 @@
var o = new api.ZoneViewsListResourcesResponse();
buildCounterZoneViewsListResourcesResponse++;
if (buildCounterZoneViewsListResourcesResponse < 3) {
- o.items = buildUnnamed3231();
+ o.items = buildUnnamed3255();
o.network = "foo";
o.nextPageToken = "foo";
}
@@ -579,21 +579,21 @@
checkZoneViewsListResourcesResponse(api.ZoneViewsListResourcesResponse o) {
buildCounterZoneViewsListResourcesResponse++;
if (buildCounterZoneViewsListResourcesResponse < 3) {
- checkUnnamed3231(o.items);
+ checkUnnamed3255(o.items);
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterZoneViewsListResourcesResponse--;
}
-buildUnnamed3232() {
+buildUnnamed3256() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3232(core.List<core.String> o) {
+checkUnnamed3256(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -604,7 +604,7 @@
var o = new api.ZoneViewsRemoveResourcesRequest();
buildCounterZoneViewsRemoveResourcesRequest++;
if (buildCounterZoneViewsRemoveResourcesRequest < 3) {
- o.resources = buildUnnamed3232();
+ o.resources = buildUnnamed3256();
}
buildCounterZoneViewsRemoveResourcesRequest--;
return o;
@@ -613,19 +613,19 @@
checkZoneViewsRemoveResourcesRequest(api.ZoneViewsRemoveResourcesRequest o) {
buildCounterZoneViewsRemoveResourcesRequest++;
if (buildCounterZoneViewsRemoveResourcesRequest < 3) {
- checkUnnamed3232(o.resources);
+ checkUnnamed3256(o.resources);
}
buildCounterZoneViewsRemoveResourcesRequest--;
}
-buildUnnamed3233() {
+buildUnnamed3257() {
var o = new core.List<api.ServiceEndpoint>();
o.add(buildServiceEndpoint());
o.add(buildServiceEndpoint());
return o;
}
-checkUnnamed3233(core.List<api.ServiceEndpoint> o) {
+checkUnnamed3257(core.List<api.ServiceEndpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceEndpoint(o[0]);
checkServiceEndpoint(o[1]);
@@ -636,7 +636,7 @@
var o = new api.ZoneViewsSetServiceRequest();
buildCounterZoneViewsSetServiceRequest++;
if (buildCounterZoneViewsSetServiceRequest < 3) {
- o.endpoints = buildUnnamed3233();
+ o.endpoints = buildUnnamed3257();
o.fingerprint = "foo";
o.resourceName = "foo";
}
@@ -647,7 +647,7 @@
checkZoneViewsSetServiceRequest(api.ZoneViewsSetServiceRequest o) {
buildCounterZoneViewsSetServiceRequest++;
if (buildCounterZoneViewsSetServiceRequest < 3) {
- checkUnnamed3233(o.endpoints);
+ checkUnnamed3257(o.endpoints);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.resourceName, unittest.equals('foo'));
}
diff --git a/generated/googleapis_beta/test/runtimeconfig/v1beta1_test.dart b/generated/googleapis_beta/test/runtimeconfig/v1beta1_test.dart
index ffed716..516b93d 100644
--- a/generated/googleapis_beta/test/runtimeconfig/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/runtimeconfig/v1beta1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3521() {
+buildUnnamed3553() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3521(core.List<core.String> o) {
+checkUnnamed3553(core.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 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed3521();
+ o.members = buildUnnamed3553();
o.role = "foo";
}
buildCounterBinding--;
@@ -79,7 +79,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed3521(o.members);
+ checkUnnamed3553(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -142,14 +142,14 @@
buildCounterEndCondition--;
}
-buildUnnamed3522() {
+buildUnnamed3554() {
var o = new core.List<api.RuntimeConfig>();
o.add(buildRuntimeConfig());
o.add(buildRuntimeConfig());
return o;
}
-checkUnnamed3522(core.List<api.RuntimeConfig> o) {
+checkUnnamed3554(core.List<api.RuntimeConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkRuntimeConfig(o[0]);
checkRuntimeConfig(o[1]);
@@ -160,7 +160,7 @@
var o = new api.ListConfigsResponse();
buildCounterListConfigsResponse++;
if (buildCounterListConfigsResponse < 3) {
- o.configs = buildUnnamed3522();
+ o.configs = buildUnnamed3554();
o.nextPageToken = "foo";
}
buildCounterListConfigsResponse--;
@@ -170,20 +170,20 @@
checkListConfigsResponse(api.ListConfigsResponse o) {
buildCounterListConfigsResponse++;
if (buildCounterListConfigsResponse < 3) {
- checkUnnamed3522(o.configs);
+ checkUnnamed3554(o.configs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListConfigsResponse--;
}
-buildUnnamed3523() {
+buildUnnamed3555() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed3523(core.List<api.Variable> o) {
+checkUnnamed3555(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -195,7 +195,7 @@
buildCounterListVariablesResponse++;
if (buildCounterListVariablesResponse < 3) {
o.nextPageToken = "foo";
- o.variables = buildUnnamed3523();
+ o.variables = buildUnnamed3555();
}
buildCounterListVariablesResponse--;
return o;
@@ -205,19 +205,19 @@
buildCounterListVariablesResponse++;
if (buildCounterListVariablesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3523(o.variables);
+ checkUnnamed3555(o.variables);
}
buildCounterListVariablesResponse--;
}
-buildUnnamed3524() {
+buildUnnamed3556() {
var o = new core.List<api.Waiter>();
o.add(buildWaiter());
o.add(buildWaiter());
return o;
}
-checkUnnamed3524(core.List<api.Waiter> o) {
+checkUnnamed3556(core.List<api.Waiter> o) {
unittest.expect(o, unittest.hasLength(2));
checkWaiter(o[0]);
checkWaiter(o[1]);
@@ -229,7 +229,7 @@
buildCounterListWaitersResponse++;
if (buildCounterListWaitersResponse < 3) {
o.nextPageToken = "foo";
- o.waiters = buildUnnamed3524();
+ o.waiters = buildUnnamed3556();
}
buildCounterListWaitersResponse--;
return o;
@@ -239,32 +239,32 @@
buildCounterListWaitersResponse++;
if (buildCounterListWaitersResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3524(o.waiters);
+ checkUnnamed3556(o.waiters);
}
buildCounterListWaitersResponse--;
}
-buildUnnamed3525() {
+buildUnnamed3557() {
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;
}
-checkUnnamed3525(core.Map<core.String, core.Object> o) {
+checkUnnamed3557(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'));
}
-buildUnnamed3526() {
+buildUnnamed3558() {
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;
}
-checkUnnamed3526(core.Map<core.String, core.Object> o) {
+checkUnnamed3558(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'));
@@ -277,9 +277,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3525();
+ o.metadata = buildUnnamed3557();
o.name = "foo";
- o.response = buildUnnamed3526();
+ o.response = buildUnnamed3558();
}
buildCounterOperation--;
return o;
@@ -290,21 +290,21 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3525(o.metadata);
+ checkUnnamed3557(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3526(o.response);
+ checkUnnamed3558(o.response);
}
buildCounterOperation--;
}
-buildUnnamed3527() {
+buildUnnamed3559() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed3527(core.List<api.Binding> o) {
+checkUnnamed3559(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -315,7 +315,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed3527();
+ o.bindings = buildUnnamed3559();
o.etag = "foo";
o.version = 42;
}
@@ -326,7 +326,7 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed3527(o.bindings);
+ checkUnnamed3559(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -373,30 +373,30 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed3528() {
+buildUnnamed3560() {
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;
}
-checkUnnamed3528(core.Map<core.String, core.Object> o) {
+checkUnnamed3560(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'));
}
-buildUnnamed3529() {
+buildUnnamed3561() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3528());
- o.add(buildUnnamed3528());
+ o.add(buildUnnamed3560());
+ o.add(buildUnnamed3560());
return o;
}
-checkUnnamed3529(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3561(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3528(o[0]);
- checkUnnamed3528(o[1]);
+ checkUnnamed3560(o[0]);
+ checkUnnamed3560(o[1]);
}
core.int buildCounterStatus = 0;
@@ -405,7 +405,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3529();
+ o.details = buildUnnamed3561();
o.message = "foo";
}
buildCounterStatus--;
@@ -416,20 +416,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3529(o.details);
+ checkUnnamed3561(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed3530() {
+buildUnnamed3562() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3530(core.List<core.String> o) {
+checkUnnamed3562(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -440,7 +440,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed3530();
+ o.permissions = buildUnnamed3562();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -449,19 +449,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed3530(o.permissions);
+ checkUnnamed3562(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed3531() {
+buildUnnamed3563() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3531(core.List<core.String> o) {
+checkUnnamed3563(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -472,7 +472,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed3531();
+ o.permissions = buildUnnamed3563();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -481,7 +481,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed3531(o.permissions);
+ checkUnnamed3563(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -910,8 +910,8 @@
var mock = new HttpServerMock();
api.ProjectsConfigsResourceApi res = new api.RuntimeconfigApi(mock).projects.configs;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -939,8 +939,8 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -949,7 +949,7 @@
var resp = convert.JSON.encode(buildListConfigsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListConfigsResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListConfigsResponse response) {
checkListConfigsResponse(response);
})));
});
@@ -1351,10 +1351,10 @@
var mock = new HttpServerMock();
api.ProjectsConfigsVariablesResourceApi res = new api.RuntimeconfigApi(mock).projects.configs.variables;
var arg_parent = "foo";
+ var arg_pageSize = 42;
var arg_filter = "foo";
var arg_returnValues = true;
var arg_pageToken = "foo";
- var arg_pageSize = 42;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1382,10 +1382,10 @@
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["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["returnValues"].first, unittest.equals("$arg_returnValues"));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
var h = {
@@ -1394,7 +1394,7 @@
var resp = convert.JSON.encode(buildListVariablesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_parent, filter: arg_filter, returnValues: arg_returnValues, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListVariablesResponse response) {
+ res.list(arg_parent, pageSize: arg_pageSize, filter: arg_filter, returnValues: arg_returnValues, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListVariablesResponse response) {
checkListVariablesResponse(response);
})));
});
diff --git a/generated/googleapis_beta/test/speech/v1beta1_test.dart b/generated/googleapis_beta/test/speech/v1beta1_test.dart
index a22fe13..bd9d662 100644
--- a/generated/googleapis_beta/test/speech/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/speech/v1beta1_test.dart
@@ -89,14 +89,14 @@
buildCounterEmpty--;
}
-buildUnnamed3384() {
+buildUnnamed3416() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3384(core.List<api.Operation> o) {
+checkUnnamed3416(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -108,7 +108,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3384();
+ o.operations = buildUnnamed3416();
}
buildCounterListOperationsResponse--;
return o;
@@ -118,32 +118,32 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3384(o.operations);
+ checkUnnamed3416(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed3385() {
+buildUnnamed3417() {
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;
}
-checkUnnamed3385(core.Map<core.String, core.Object> o) {
+checkUnnamed3417(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'));
}
-buildUnnamed3386() {
+buildUnnamed3418() {
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;
}
-checkUnnamed3386(core.Map<core.String, core.Object> o) {
+checkUnnamed3418(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'));
@@ -156,9 +156,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3385();
+ o.metadata = buildUnnamed3417();
o.name = "foo";
- o.response = buildUnnamed3386();
+ o.response = buildUnnamed3418();
}
buildCounterOperation--;
return o;
@@ -169,9 +169,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3385(o.metadata);
+ checkUnnamed3417(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3386(o.response);
+ checkUnnamed3418(o.response);
}
buildCounterOperation--;
}
@@ -226,14 +226,14 @@
buildCounterRecognitionConfig--;
}
-buildUnnamed3387() {
+buildUnnamed3419() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3387(core.List<core.String> 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'));
@@ -244,7 +244,7 @@
var o = new api.SpeechContext();
buildCounterSpeechContext++;
if (buildCounterSpeechContext < 3) {
- o.phrases = buildUnnamed3387();
+ o.phrases = buildUnnamed3419();
}
buildCounterSpeechContext--;
return o;
@@ -253,7 +253,7 @@
checkSpeechContext(api.SpeechContext o) {
buildCounterSpeechContext++;
if (buildCounterSpeechContext < 3) {
- checkUnnamed3387(o.phrases);
+ checkUnnamed3419(o.phrases);
}
buildCounterSpeechContext--;
}
@@ -279,14 +279,14 @@
buildCounterSpeechRecognitionAlternative--;
}
-buildUnnamed3388() {
+buildUnnamed3420() {
var o = new core.List<api.SpeechRecognitionAlternative>();
o.add(buildSpeechRecognitionAlternative());
o.add(buildSpeechRecognitionAlternative());
return o;
}
-checkUnnamed3388(core.List<api.SpeechRecognitionAlternative> o) {
+checkUnnamed3420(core.List<api.SpeechRecognitionAlternative> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpeechRecognitionAlternative(o[0]);
checkSpeechRecognitionAlternative(o[1]);
@@ -297,7 +297,7 @@
var o = new api.SpeechRecognitionResult();
buildCounterSpeechRecognitionResult++;
if (buildCounterSpeechRecognitionResult < 3) {
- o.alternatives = buildUnnamed3388();
+ o.alternatives = buildUnnamed3420();
}
buildCounterSpeechRecognitionResult--;
return o;
@@ -306,35 +306,35 @@
checkSpeechRecognitionResult(api.SpeechRecognitionResult o) {
buildCounterSpeechRecognitionResult++;
if (buildCounterSpeechRecognitionResult < 3) {
- checkUnnamed3388(o.alternatives);
+ checkUnnamed3420(o.alternatives);
}
buildCounterSpeechRecognitionResult--;
}
-buildUnnamed3389() {
+buildUnnamed3421() {
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;
}
-checkUnnamed3389(core.Map<core.String, core.Object> o) {
+checkUnnamed3421(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'));
}
-buildUnnamed3390() {
+buildUnnamed3422() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3389());
- o.add(buildUnnamed3389());
+ o.add(buildUnnamed3421());
+ o.add(buildUnnamed3421());
return o;
}
-checkUnnamed3390(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3422(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3389(o[0]);
- checkUnnamed3389(o[1]);
+ checkUnnamed3421(o[0]);
+ checkUnnamed3421(o[1]);
}
core.int buildCounterStatus = 0;
@@ -343,7 +343,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3390();
+ o.details = buildUnnamed3422();
o.message = "foo";
}
buildCounterStatus--;
@@ -354,7 +354,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3390(o.details);
+ checkUnnamed3422(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -381,14 +381,14 @@
buildCounterSyncRecognizeRequest--;
}
-buildUnnamed3391() {
+buildUnnamed3423() {
var o = new core.List<api.SpeechRecognitionResult>();
o.add(buildSpeechRecognitionResult());
o.add(buildSpeechRecognitionResult());
return o;
}
-checkUnnamed3391(core.List<api.SpeechRecognitionResult> o) {
+checkUnnamed3423(core.List<api.SpeechRecognitionResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpeechRecognitionResult(o[0]);
checkSpeechRecognitionResult(o[1]);
@@ -399,7 +399,7 @@
var o = new api.SyncRecognizeResponse();
buildCounterSyncRecognizeResponse++;
if (buildCounterSyncRecognizeResponse < 3) {
- o.results = buildUnnamed3391();
+ o.results = buildUnnamed3423();
}
buildCounterSyncRecognizeResponse--;
return o;
@@ -408,7 +408,7 @@
checkSyncRecognizeResponse(api.SyncRecognizeResponse o) {
buildCounterSyncRecognizeResponse++;
if (buildCounterSyncRecognizeResponse < 3) {
- checkUnnamed3391(o.results);
+ checkUnnamed3423(o.results);
}
buildCounterSyncRecognizeResponse--;
}
diff --git a/generated/googleapis_beta/test/sqladmin/v1beta3_test.dart b/generated/googleapis_beta/test/sqladmin/v1beta3_test.dart
index 3d60517..ecddaa3 100644
--- a/generated/googleapis_beta/test/sqladmin/v1beta3_test.dart
+++ b/generated/googleapis_beta/test/sqladmin/v1beta3_test.dart
@@ -113,14 +113,14 @@
buildCounterBackupRun--;
}
-buildUnnamed3170() {
+buildUnnamed3191() {
var o = new core.List<api.BackupRun>();
o.add(buildBackupRun());
o.add(buildBackupRun());
return o;
}
-checkUnnamed3170(core.List<api.BackupRun> o) {
+checkUnnamed3191(core.List<api.BackupRun> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackupRun(o[0]);
checkBackupRun(o[1]);
@@ -131,7 +131,7 @@
var o = new api.BackupRunsListResponse();
buildCounterBackupRunsListResponse++;
if (buildCounterBackupRunsListResponse < 3) {
- o.items = buildUnnamed3170();
+ o.items = buildUnnamed3191();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -142,7 +142,7 @@
checkBackupRunsListResponse(api.BackupRunsListResponse o) {
buildCounterBackupRunsListResponse++;
if (buildCounterBackupRunsListResponse < 3) {
- checkUnnamed3170(o.items);
+ checkUnnamed3191(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -218,27 +218,27 @@
buildCounterDatabaseFlags--;
}
-buildUnnamed3171() {
+buildUnnamed3192() {
var o = new core.List<api.IpMapping>();
o.add(buildIpMapping());
o.add(buildIpMapping());
return o;
}
-checkUnnamed3171(core.List<api.IpMapping> o) {
+checkUnnamed3192(core.List<api.IpMapping> o) {
unittest.expect(o, unittest.hasLength(2));
checkIpMapping(o[0]);
checkIpMapping(o[1]);
}
-buildUnnamed3172() {
+buildUnnamed3193() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3172(core.List<core.String> o) {
+checkUnnamed3193(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -255,14 +255,14 @@
o.etag = "foo";
o.instance = "foo";
o.instanceType = "foo";
- o.ipAddresses = buildUnnamed3171();
+ o.ipAddresses = buildUnnamed3192();
o.ipv6Address = "foo";
o.kind = "foo";
o.masterInstanceName = "foo";
o.maxDiskSize = "foo";
o.project = "foo";
o.region = "foo";
- o.replicaNames = buildUnnamed3172();
+ o.replicaNames = buildUnnamed3193();
o.serverCaCert = buildSslCert();
o.serviceAccountEmailAddress = "foo";
o.settings = buildSettings();
@@ -281,14 +281,14 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.instance, unittest.equals('foo'));
unittest.expect(o.instanceType, unittest.equals('foo'));
- checkUnnamed3171(o.ipAddresses);
+ checkUnnamed3192(o.ipAddresses);
unittest.expect(o.ipv6Address, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.masterInstanceName, unittest.equals('foo'));
unittest.expect(o.maxDiskSize, unittest.equals('foo'));
unittest.expect(o.project, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed3172(o.replicaNames);
+ checkUnnamed3193(o.replicaNames);
checkSslCert(o.serverCaCert);
unittest.expect(o.serviceAccountEmailAddress, unittest.equals('foo'));
checkSettings(o.settings);
@@ -297,27 +297,27 @@
buildCounterDatabaseInstance--;
}
-buildUnnamed3173() {
+buildUnnamed3194() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3173(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'));
}
-buildUnnamed3174() {
+buildUnnamed3195() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3174(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'));
@@ -328,9 +328,9 @@
var o = new api.ExportContext();
buildCounterExportContext++;
if (buildCounterExportContext < 3) {
- o.database = buildUnnamed3173();
+ o.database = buildUnnamed3194();
o.kind = "foo";
- o.table = buildUnnamed3174();
+ o.table = buildUnnamed3195();
o.uri = "foo";
}
buildCounterExportContext--;
@@ -340,35 +340,35 @@
checkExportContext(api.ExportContext o) {
buildCounterExportContext++;
if (buildCounterExportContext < 3) {
- checkUnnamed3173(o.database);
+ checkUnnamed3194(o.database);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3174(o.table);
+ checkUnnamed3195(o.table);
unittest.expect(o.uri, unittest.equals('foo'));
}
buildCounterExportContext--;
}
-buildUnnamed3175() {
+buildUnnamed3196() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3175(core.List<core.String> o) {
+checkUnnamed3196(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3176() {
+buildUnnamed3197() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3176(core.List<core.String> o) {
+checkUnnamed3197(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -379,8 +379,8 @@
var o = new api.Flag();
buildCounterFlag++;
if (buildCounterFlag < 3) {
- o.allowedStringValues = buildUnnamed3175();
- o.appliesTo = buildUnnamed3176();
+ o.allowedStringValues = buildUnnamed3196();
+ o.appliesTo = buildUnnamed3197();
o.kind = "foo";
o.maxValue = "foo";
o.minValue = "foo";
@@ -394,8 +394,8 @@
checkFlag(api.Flag o) {
buildCounterFlag++;
if (buildCounterFlag < 3) {
- checkUnnamed3175(o.allowedStringValues);
- checkUnnamed3176(o.appliesTo);
+ checkUnnamed3196(o.allowedStringValues);
+ checkUnnamed3197(o.appliesTo);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.maxValue, unittest.equals('foo'));
unittest.expect(o.minValue, unittest.equals('foo'));
@@ -405,14 +405,14 @@
buildCounterFlag--;
}
-buildUnnamed3177() {
+buildUnnamed3198() {
var o = new core.List<api.Flag>();
o.add(buildFlag());
o.add(buildFlag());
return o;
}
-checkUnnamed3177(core.List<api.Flag> o) {
+checkUnnamed3198(core.List<api.Flag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFlag(o[0]);
checkFlag(o[1]);
@@ -423,7 +423,7 @@
var o = new api.FlagsListResponse();
buildCounterFlagsListResponse++;
if (buildCounterFlagsListResponse < 3) {
- o.items = buildUnnamed3177();
+ o.items = buildUnnamed3198();
o.kind = "foo";
}
buildCounterFlagsListResponse--;
@@ -433,20 +433,20 @@
checkFlagsListResponse(api.FlagsListResponse o) {
buildCounterFlagsListResponse++;
if (buildCounterFlagsListResponse < 3) {
- checkUnnamed3177(o.items);
+ checkUnnamed3198(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterFlagsListResponse--;
}
-buildUnnamed3178() {
+buildUnnamed3199() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3178(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'));
@@ -459,7 +459,7 @@
if (buildCounterImportContext < 3) {
o.database = "foo";
o.kind = "foo";
- o.uri = buildUnnamed3178();
+ o.uri = buildUnnamed3199();
}
buildCounterImportContext--;
return o;
@@ -470,19 +470,19 @@
if (buildCounterImportContext < 3) {
unittest.expect(o.database, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3178(o.uri);
+ checkUnnamed3199(o.uri);
}
buildCounterImportContext--;
}
-buildUnnamed3179() {
+buildUnnamed3200() {
var o = new core.List<api.OperationError>();
o.add(buildOperationError());
o.add(buildOperationError());
return o;
}
-checkUnnamed3179(core.List<api.OperationError> o) {
+checkUnnamed3200(core.List<api.OperationError> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationError(o[0]);
checkOperationError(o[1]);
@@ -495,7 +495,7 @@
if (buildCounterInstanceOperation < 3) {
o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
o.enqueuedTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.error = buildUnnamed3179();
+ o.error = buildUnnamed3200();
o.exportContext = buildExportContext();
o.importContext = buildImportContext();
o.instance = "foo";
@@ -515,7 +515,7 @@
if (buildCounterInstanceOperation < 3) {
unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.enqueuedTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed3179(o.error);
+ checkUnnamed3200(o.error);
checkExportContext(o.exportContext);
checkImportContext(o.importContext);
unittest.expect(o.instance, unittest.equals('foo'));
@@ -710,14 +710,14 @@
buildCounterInstancesInsertResponse--;
}
-buildUnnamed3180() {
+buildUnnamed3201() {
var o = new core.List<api.DatabaseInstance>();
o.add(buildDatabaseInstance());
o.add(buildDatabaseInstance());
return o;
}
-checkUnnamed3180(core.List<api.DatabaseInstance> o) {
+checkUnnamed3201(core.List<api.DatabaseInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatabaseInstance(o[0]);
checkDatabaseInstance(o[1]);
@@ -728,7 +728,7 @@
var o = new api.InstancesListResponse();
buildCounterInstancesListResponse++;
if (buildCounterInstancesListResponse < 3) {
- o.items = buildUnnamed3180();
+ o.items = buildUnnamed3201();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -739,7 +739,7 @@
checkInstancesListResponse(api.InstancesListResponse o) {
buildCounterInstancesListResponse++;
if (buildCounterInstancesListResponse < 3) {
- checkUnnamed3180(o.items);
+ checkUnnamed3201(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -872,14 +872,14 @@
buildCounterInstancesUpdateResponse--;
}
-buildUnnamed3181() {
+buildUnnamed3202() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3181(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'));
@@ -890,7 +890,7 @@
var o = new api.IpConfiguration();
buildCounterIpConfiguration++;
if (buildCounterIpConfiguration < 3) {
- o.authorizedNetworks = buildUnnamed3181();
+ o.authorizedNetworks = buildUnnamed3202();
o.enabled = true;
o.kind = "foo";
o.requireSsl = true;
@@ -902,7 +902,7 @@
checkIpConfiguration(api.IpConfiguration o) {
buildCounterIpConfiguration++;
if (buildCounterIpConfiguration < 3) {
- checkUnnamed3181(o.authorizedNetworks);
+ checkUnnamed3202(o.authorizedNetworks);
unittest.expect(o.enabled, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.requireSsl, unittest.isTrue);
@@ -975,14 +975,14 @@
buildCounterOperationError--;
}
-buildUnnamed3182() {
+buildUnnamed3203() {
var o = new core.List<api.InstanceOperation>();
o.add(buildInstanceOperation());
o.add(buildInstanceOperation());
return o;
}
-checkUnnamed3182(core.List<api.InstanceOperation> o) {
+checkUnnamed3203(core.List<api.InstanceOperation> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceOperation(o[0]);
checkInstanceOperation(o[1]);
@@ -993,7 +993,7 @@
var o = new api.OperationsListResponse();
buildCounterOperationsListResponse++;
if (buildCounterOperationsListResponse < 3) {
- o.items = buildUnnamed3182();
+ o.items = buildUnnamed3203();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1004,7 +1004,7 @@
checkOperationsListResponse(api.OperationsListResponse o) {
buildCounterOperationsListResponse++;
if (buildCounterOperationsListResponse < 3) {
- checkUnnamed3182(o.items);
+ checkUnnamed3203(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1032,40 +1032,40 @@
buildCounterSetRootPasswordContext--;
}
-buildUnnamed3183() {
+buildUnnamed3204() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3183(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'));
}
-buildUnnamed3184() {
+buildUnnamed3205() {
var o = new core.List<api.BackupConfiguration>();
o.add(buildBackupConfiguration());
o.add(buildBackupConfiguration());
return o;
}
-checkUnnamed3184(core.List<api.BackupConfiguration> o) {
+checkUnnamed3205(core.List<api.BackupConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackupConfiguration(o[0]);
checkBackupConfiguration(o[1]);
}
-buildUnnamed3185() {
+buildUnnamed3206() {
var o = new core.List<api.DatabaseFlags>();
o.add(buildDatabaseFlags());
o.add(buildDatabaseFlags());
return o;
}
-checkUnnamed3185(core.List<api.DatabaseFlags> o) {
+checkUnnamed3206(core.List<api.DatabaseFlags> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatabaseFlags(o[0]);
checkDatabaseFlags(o[1]);
@@ -1077,9 +1077,9 @@
buildCounterSettings++;
if (buildCounterSettings < 3) {
o.activationPolicy = "foo";
- o.authorizedGaeApplications = buildUnnamed3183();
- o.backupConfiguration = buildUnnamed3184();
- o.databaseFlags = buildUnnamed3185();
+ o.authorizedGaeApplications = buildUnnamed3204();
+ o.backupConfiguration = buildUnnamed3205();
+ o.databaseFlags = buildUnnamed3206();
o.databaseReplicationEnabled = true;
o.ipConfiguration = buildIpConfiguration();
o.kind = "foo";
@@ -1097,9 +1097,9 @@
buildCounterSettings++;
if (buildCounterSettings < 3) {
unittest.expect(o.activationPolicy, unittest.equals('foo'));
- checkUnnamed3183(o.authorizedGaeApplications);
- checkUnnamed3184(o.backupConfiguration);
- checkUnnamed3185(o.databaseFlags);
+ checkUnnamed3204(o.authorizedGaeApplications);
+ checkUnnamed3205(o.backupConfiguration);
+ checkUnnamed3206(o.databaseFlags);
unittest.expect(o.databaseReplicationEnabled, unittest.isTrue);
checkIpConfiguration(o.ipConfiguration);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1229,14 +1229,14 @@
buildCounterSslCertsInsertResponse--;
}
-buildUnnamed3186() {
+buildUnnamed3207() {
var o = new core.List<api.SslCert>();
o.add(buildSslCert());
o.add(buildSslCert());
return o;
}
-checkUnnamed3186(core.List<api.SslCert> o) {
+checkUnnamed3207(core.List<api.SslCert> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslCert(o[0]);
checkSslCert(o[1]);
@@ -1247,7 +1247,7 @@
var o = new api.SslCertsListResponse();
buildCounterSslCertsListResponse++;
if (buildCounterSslCertsListResponse < 3) {
- o.items = buildUnnamed3186();
+ o.items = buildUnnamed3207();
o.kind = "foo";
}
buildCounterSslCertsListResponse--;
@@ -1257,20 +1257,20 @@
checkSslCertsListResponse(api.SslCertsListResponse o) {
buildCounterSslCertsListResponse++;
if (buildCounterSslCertsListResponse < 3) {
- checkUnnamed3186(o.items);
+ checkUnnamed3207(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSslCertsListResponse--;
}
-buildUnnamed3187() {
+buildUnnamed3208() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3187(core.List<core.String> o) {
+checkUnnamed3208(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1284,7 +1284,7 @@
o.DiskQuota = "foo";
o.RAM = "foo";
o.kind = "foo";
- o.region = buildUnnamed3187();
+ o.region = buildUnnamed3208();
o.tier = "foo";
}
buildCounterTier--;
@@ -1297,20 +1297,20 @@
unittest.expect(o.DiskQuota, unittest.equals('foo'));
unittest.expect(o.RAM, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3187(o.region);
+ checkUnnamed3208(o.region);
unittest.expect(o.tier, unittest.equals('foo'));
}
buildCounterTier--;
}
-buildUnnamed3188() {
+buildUnnamed3209() {
var o = new core.List<api.Tier>();
o.add(buildTier());
o.add(buildTier());
return o;
}
-checkUnnamed3188(core.List<api.Tier> o) {
+checkUnnamed3209(core.List<api.Tier> o) {
unittest.expect(o, unittest.hasLength(2));
checkTier(o[0]);
checkTier(o[1]);
@@ -1321,7 +1321,7 @@
var o = new api.TiersListResponse();
buildCounterTiersListResponse++;
if (buildCounterTiersListResponse < 3) {
- o.items = buildUnnamed3188();
+ o.items = buildUnnamed3209();
o.kind = "foo";
}
buildCounterTiersListResponse--;
@@ -1331,7 +1331,7 @@
checkTiersListResponse(api.TiersListResponse o) {
buildCounterTiersListResponse++;
if (buildCounterTiersListResponse < 3) {
- checkUnnamed3188(o.items);
+ checkUnnamed3209(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTiersListResponse--;
diff --git a/generated/googleapis_beta/test/sqladmin/v1beta4_test.dart b/generated/googleapis_beta/test/sqladmin/v1beta4_test.dart
index 803e262..62057a1 100644
--- a/generated/googleapis_beta/test/sqladmin/v1beta4_test.dart
+++ b/generated/googleapis_beta/test/sqladmin/v1beta4_test.dart
@@ -142,14 +142,14 @@
buildCounterBackupRun--;
}
-buildUnnamed3362() {
+buildUnnamed3394() {
var o = new core.List<api.BackupRun>();
o.add(buildBackupRun());
o.add(buildBackupRun());
return o;
}
-checkUnnamed3362(core.List<api.BackupRun> o) {
+checkUnnamed3394(core.List<api.BackupRun> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackupRun(o[0]);
checkBackupRun(o[1]);
@@ -160,7 +160,7 @@
var o = new api.BackupRunsListResponse();
buildCounterBackupRunsListResponse++;
if (buildCounterBackupRunsListResponse < 3) {
- o.items = buildUnnamed3362();
+ o.items = buildUnnamed3394();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -171,7 +171,7 @@
checkBackupRunsListResponse(api.BackupRunsListResponse o) {
buildCounterBackupRunsListResponse++;
if (buildCounterBackupRunsListResponse < 3) {
- checkUnnamed3362(o.items);
+ checkUnnamed3394(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -299,40 +299,40 @@
buildCounterDatabaseInstanceFailoverReplica--;
}
-buildUnnamed3363() {
+buildUnnamed3395() {
var o = new core.List<api.IpMapping>();
o.add(buildIpMapping());
o.add(buildIpMapping());
return o;
}
-checkUnnamed3363(core.List<api.IpMapping> o) {
+checkUnnamed3395(core.List<api.IpMapping> o) {
unittest.expect(o, unittest.hasLength(2));
checkIpMapping(o[0]);
checkIpMapping(o[1]);
}
-buildUnnamed3364() {
+buildUnnamed3396() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3364(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'));
}
-buildUnnamed3365() {
+buildUnnamed3397() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3365(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'));
@@ -349,8 +349,9 @@
o.databaseVersion = "foo";
o.etag = "foo";
o.failoverReplica = buildDatabaseInstanceFailoverReplica();
+ o.gceZone = "foo";
o.instanceType = "foo";
- o.ipAddresses = buildUnnamed3363();
+ o.ipAddresses = buildUnnamed3395();
o.ipv6Address = "foo";
o.kind = "foo";
o.masterInstanceName = "foo";
@@ -360,13 +361,13 @@
o.project = "foo";
o.region = "foo";
o.replicaConfiguration = buildReplicaConfiguration();
- o.replicaNames = buildUnnamed3364();
+ o.replicaNames = buildUnnamed3396();
o.selfLink = "foo";
o.serverCaCert = buildSslCert();
o.serviceAccountEmailAddress = "foo";
o.settings = buildSettings();
o.state = "foo";
- o.suspensionReason = buildUnnamed3365();
+ o.suspensionReason = buildUnnamed3397();
}
buildCounterDatabaseInstance--;
return o;
@@ -381,8 +382,9 @@
unittest.expect(o.databaseVersion, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
checkDatabaseInstanceFailoverReplica(o.failoverReplica);
+ unittest.expect(o.gceZone, unittest.equals('foo'));
unittest.expect(o.instanceType, unittest.equals('foo'));
- checkUnnamed3363(o.ipAddresses);
+ checkUnnamed3395(o.ipAddresses);
unittest.expect(o.ipv6Address, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.masterInstanceName, unittest.equals('foo'));
@@ -392,25 +394,25 @@
unittest.expect(o.project, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
checkReplicaConfiguration(o.replicaConfiguration);
- checkUnnamed3364(o.replicaNames);
+ checkUnnamed3396(o.replicaNames);
unittest.expect(o.selfLink, unittest.equals('foo'));
checkSslCert(o.serverCaCert);
unittest.expect(o.serviceAccountEmailAddress, unittest.equals('foo'));
checkSettings(o.settings);
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed3365(o.suspensionReason);
+ checkUnnamed3397(o.suspensionReason);
}
buildCounterDatabaseInstance--;
}
-buildUnnamed3366() {
+buildUnnamed3398() {
var o = new core.List<api.Database>();
o.add(buildDatabase());
o.add(buildDatabase());
return o;
}
-checkUnnamed3366(core.List<api.Database> o) {
+checkUnnamed3398(core.List<api.Database> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatabase(o[0]);
checkDatabase(o[1]);
@@ -421,7 +423,7 @@
var o = new api.DatabasesListResponse();
buildCounterDatabasesListResponse++;
if (buildCounterDatabasesListResponse < 3) {
- o.items = buildUnnamed3366();
+ o.items = buildUnnamed3398();
o.kind = "foo";
}
buildCounterDatabasesListResponse--;
@@ -431,7 +433,7 @@
checkDatabasesListResponse(api.DatabasesListResponse o) {
buildCounterDatabasesListResponse++;
if (buildCounterDatabasesListResponse < 3) {
- checkUnnamed3366(o.items);
+ checkUnnamed3398(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDatabasesListResponse--;
@@ -456,27 +458,27 @@
buildCounterExportContextCsvExportOptions--;
}
-buildUnnamed3367() {
+buildUnnamed3399() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3367(core.List<core.String> o) {
+checkUnnamed3399(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3368() {
+buildUnnamed3400() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3368(core.List<core.String> o) {
+checkUnnamed3400(core.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,7 +490,7 @@
buildCounterExportContextSqlExportOptions++;
if (buildCounterExportContextSqlExportOptions < 3) {
o.schemaOnly = true;
- o.tables = buildUnnamed3368();
+ o.tables = buildUnnamed3400();
}
buildCounterExportContextSqlExportOptions--;
return o;
@@ -498,7 +500,7 @@
buildCounterExportContextSqlExportOptions++;
if (buildCounterExportContextSqlExportOptions < 3) {
unittest.expect(o.schemaOnly, unittest.isTrue);
- checkUnnamed3368(o.tables);
+ checkUnnamed3400(o.tables);
}
buildCounterExportContextSqlExportOptions--;
}
@@ -509,7 +511,7 @@
buildCounterExportContext++;
if (buildCounterExportContext < 3) {
o.csvExportOptions = buildExportContextCsvExportOptions();
- o.databases = buildUnnamed3367();
+ o.databases = buildUnnamed3399();
o.fileType = "foo";
o.kind = "foo";
o.sqlExportOptions = buildExportContextSqlExportOptions();
@@ -523,7 +525,7 @@
buildCounterExportContext++;
if (buildCounterExportContext < 3) {
checkExportContextCsvExportOptions(o.csvExportOptions);
- checkUnnamed3367(o.databases);
+ checkUnnamed3399(o.databases);
unittest.expect(o.fileType, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkExportContextSqlExportOptions(o.sqlExportOptions);
@@ -553,27 +555,27 @@
buildCounterFailoverContext--;
}
-buildUnnamed3369() {
+buildUnnamed3401() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3369(core.List<core.String> o) {
+checkUnnamed3401(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3370() {
+buildUnnamed3402() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3370(core.List<core.String> o) {
+checkUnnamed3402(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -584,8 +586,8 @@
var o = new api.Flag();
buildCounterFlag++;
if (buildCounterFlag < 3) {
- o.allowedStringValues = buildUnnamed3369();
- o.appliesTo = buildUnnamed3370();
+ o.allowedStringValues = buildUnnamed3401();
+ o.appliesTo = buildUnnamed3402();
o.kind = "foo";
o.maxValue = "foo";
o.minValue = "foo";
@@ -600,8 +602,8 @@
checkFlag(api.Flag o) {
buildCounterFlag++;
if (buildCounterFlag < 3) {
- checkUnnamed3369(o.allowedStringValues);
- checkUnnamed3370(o.appliesTo);
+ checkUnnamed3401(o.allowedStringValues);
+ checkUnnamed3402(o.appliesTo);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.maxValue, unittest.equals('foo'));
unittest.expect(o.minValue, unittest.equals('foo'));
@@ -612,14 +614,14 @@
buildCounterFlag--;
}
-buildUnnamed3371() {
+buildUnnamed3403() {
var o = new core.List<api.Flag>();
o.add(buildFlag());
o.add(buildFlag());
return o;
}
-checkUnnamed3371(core.List<api.Flag> o) {
+checkUnnamed3403(core.List<api.Flag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFlag(o[0]);
checkFlag(o[1]);
@@ -630,7 +632,7 @@
var o = new api.FlagsListResponse();
buildCounterFlagsListResponse++;
if (buildCounterFlagsListResponse < 3) {
- o.items = buildUnnamed3371();
+ o.items = buildUnnamed3403();
o.kind = "foo";
}
buildCounterFlagsListResponse--;
@@ -640,20 +642,20 @@
checkFlagsListResponse(api.FlagsListResponse o) {
buildCounterFlagsListResponse++;
if (buildCounterFlagsListResponse < 3) {
- checkUnnamed3371(o.items);
+ checkUnnamed3403(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterFlagsListResponse--;
}
-buildUnnamed3372() {
+buildUnnamed3404() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3372(core.List<core.String> o) {
+checkUnnamed3404(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -664,7 +666,7 @@
var o = new api.ImportContextCsvImportOptions();
buildCounterImportContextCsvImportOptions++;
if (buildCounterImportContextCsvImportOptions < 3) {
- o.columns = buildUnnamed3372();
+ o.columns = buildUnnamed3404();
o.table = "foo";
}
buildCounterImportContextCsvImportOptions--;
@@ -674,7 +676,7 @@
checkImportContextCsvImportOptions(api.ImportContextCsvImportOptions o) {
buildCounterImportContextCsvImportOptions++;
if (buildCounterImportContextCsvImportOptions < 3) {
- checkUnnamed3372(o.columns);
+ checkUnnamed3404(o.columns);
unittest.expect(o.table, unittest.equals('foo'));
}
buildCounterImportContextCsvImportOptions--;
@@ -785,14 +787,14 @@
buildCounterInstancesImportRequest--;
}
-buildUnnamed3373() {
+buildUnnamed3405() {
var o = new core.List<api.DatabaseInstance>();
o.add(buildDatabaseInstance());
o.add(buildDatabaseInstance());
return o;
}
-checkUnnamed3373(core.List<api.DatabaseInstance> o) {
+checkUnnamed3405(core.List<api.DatabaseInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatabaseInstance(o[0]);
checkDatabaseInstance(o[1]);
@@ -803,7 +805,7 @@
var o = new api.InstancesListResponse();
buildCounterInstancesListResponse++;
if (buildCounterInstancesListResponse < 3) {
- o.items = buildUnnamed3373();
+ o.items = buildUnnamed3405();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -814,7 +816,7 @@
checkInstancesListResponse(api.InstancesListResponse o) {
buildCounterInstancesListResponse++;
if (buildCounterInstancesListResponse < 3) {
- checkUnnamed3373(o.items);
+ checkUnnamed3405(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -859,14 +861,14 @@
buildCounterInstancesTruncateLogRequest--;
}
-buildUnnamed3374() {
+buildUnnamed3406() {
var o = new core.List<api.AclEntry>();
o.add(buildAclEntry());
o.add(buildAclEntry());
return o;
}
-checkUnnamed3374(core.List<api.AclEntry> o) {
+checkUnnamed3406(core.List<api.AclEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAclEntry(o[0]);
checkAclEntry(o[1]);
@@ -877,7 +879,7 @@
var o = new api.IpConfiguration();
buildCounterIpConfiguration++;
if (buildCounterIpConfiguration < 3) {
- o.authorizedNetworks = buildUnnamed3374();
+ o.authorizedNetworks = buildUnnamed3406();
o.ipv4Enabled = true;
o.requireSsl = true;
}
@@ -888,7 +890,7 @@
checkIpConfiguration(api.IpConfiguration o) {
buildCounterIpConfiguration++;
if (buildCounterIpConfiguration < 3) {
- checkUnnamed3374(o.authorizedNetworks);
+ checkUnnamed3406(o.authorizedNetworks);
unittest.expect(o.ipv4Enabled, unittest.isTrue);
unittest.expect(o.requireSsl, unittest.isTrue);
}
@@ -1096,14 +1098,14 @@
buildCounterOperationError--;
}
-buildUnnamed3375() {
+buildUnnamed3407() {
var o = new core.List<api.OperationError>();
o.add(buildOperationError());
o.add(buildOperationError());
return o;
}
-checkUnnamed3375(core.List<api.OperationError> o) {
+checkUnnamed3407(core.List<api.OperationError> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationError(o[0]);
checkOperationError(o[1]);
@@ -1114,7 +1116,7 @@
var o = new api.OperationErrors();
buildCounterOperationErrors++;
if (buildCounterOperationErrors < 3) {
- o.errors = buildUnnamed3375();
+ o.errors = buildUnnamed3407();
o.kind = "foo";
}
buildCounterOperationErrors--;
@@ -1124,20 +1126,20 @@
checkOperationErrors(api.OperationErrors o) {
buildCounterOperationErrors++;
if (buildCounterOperationErrors < 3) {
- checkUnnamed3375(o.errors);
+ checkUnnamed3407(o.errors);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterOperationErrors--;
}
-buildUnnamed3376() {
+buildUnnamed3408() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3376(core.List<api.Operation> o) {
+checkUnnamed3408(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1148,7 +1150,7 @@
var o = new api.OperationsListResponse();
buildCounterOperationsListResponse++;
if (buildCounterOperationsListResponse < 3) {
- o.items = buildUnnamed3376();
+ o.items = buildUnnamed3408();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1159,7 +1161,7 @@
checkOperationsListResponse(api.OperationsListResponse o) {
buildCounterOperationsListResponse++;
if (buildCounterOperationsListResponse < 3) {
- checkUnnamed3376(o.items);
+ checkUnnamed3408(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1212,40 +1214,40 @@
buildCounterRestoreBackupContext--;
}
-buildUnnamed3377() {
+buildUnnamed3409() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3377(core.List<core.String> 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'));
}
-buildUnnamed3378() {
+buildUnnamed3410() {
var o = new core.List<api.DatabaseFlags>();
o.add(buildDatabaseFlags());
o.add(buildDatabaseFlags());
return o;
}
-checkUnnamed3378(core.List<api.DatabaseFlags> o) {
+checkUnnamed3410(core.List<api.DatabaseFlags> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatabaseFlags(o[0]);
checkDatabaseFlags(o[1]);
}
-buildUnnamed3379() {
+buildUnnamed3411() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3379(core.Map<core.String, core.String> o) {
+checkUnnamed3411(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1257,13 +1259,13 @@
buildCounterSettings++;
if (buildCounterSettings < 3) {
o.activationPolicy = "foo";
- o.authorizedGaeApplications = buildUnnamed3377();
+ o.authorizedGaeApplications = buildUnnamed3409();
o.availabilityType = "foo";
o.backupConfiguration = buildBackupConfiguration();
o.crashSafeReplicationEnabled = true;
o.dataDiskSizeGb = "foo";
o.dataDiskType = "foo";
- o.databaseFlags = buildUnnamed3378();
+ o.databaseFlags = buildUnnamed3410();
o.databaseReplicationEnabled = true;
o.ipConfiguration = buildIpConfiguration();
o.kind = "foo";
@@ -1275,7 +1277,7 @@
o.storageAutoResize = true;
o.storageAutoResizeLimit = "foo";
o.tier = "foo";
- o.userLabels = buildUnnamed3379();
+ o.userLabels = buildUnnamed3411();
}
buildCounterSettings--;
return o;
@@ -1285,13 +1287,13 @@
buildCounterSettings++;
if (buildCounterSettings < 3) {
unittest.expect(o.activationPolicy, unittest.equals('foo'));
- checkUnnamed3377(o.authorizedGaeApplications);
+ checkUnnamed3409(o.authorizedGaeApplications);
unittest.expect(o.availabilityType, unittest.equals('foo'));
checkBackupConfiguration(o.backupConfiguration);
unittest.expect(o.crashSafeReplicationEnabled, unittest.isTrue);
unittest.expect(o.dataDiskSizeGb, unittest.equals('foo'));
unittest.expect(o.dataDiskType, unittest.equals('foo'));
- checkUnnamed3378(o.databaseFlags);
+ checkUnnamed3410(o.databaseFlags);
unittest.expect(o.databaseReplicationEnabled, unittest.isTrue);
checkIpConfiguration(o.ipConfiguration);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1303,7 +1305,7 @@
unittest.expect(o.storageAutoResize, unittest.isTrue);
unittest.expect(o.storageAutoResizeLimit, unittest.equals('foo'));
unittest.expect(o.tier, unittest.equals('foo'));
- checkUnnamed3379(o.userLabels);
+ checkUnnamed3411(o.userLabels);
}
buildCounterSettings--;
}
@@ -1427,14 +1429,14 @@
buildCounterSslCertsInsertResponse--;
}
-buildUnnamed3380() {
+buildUnnamed3412() {
var o = new core.List<api.SslCert>();
o.add(buildSslCert());
o.add(buildSslCert());
return o;
}
-checkUnnamed3380(core.List<api.SslCert> o) {
+checkUnnamed3412(core.List<api.SslCert> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslCert(o[0]);
checkSslCert(o[1]);
@@ -1445,7 +1447,7 @@
var o = new api.SslCertsListResponse();
buildCounterSslCertsListResponse++;
if (buildCounterSslCertsListResponse < 3) {
- o.items = buildUnnamed3380();
+ o.items = buildUnnamed3412();
o.kind = "foo";
}
buildCounterSslCertsListResponse--;
@@ -1455,20 +1457,20 @@
checkSslCertsListResponse(api.SslCertsListResponse o) {
buildCounterSslCertsListResponse++;
if (buildCounterSslCertsListResponse < 3) {
- checkUnnamed3380(o.items);
+ checkUnnamed3412(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSslCertsListResponse--;
}
-buildUnnamed3381() {
+buildUnnamed3413() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3381(core.List<core.String> 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'));
@@ -1482,7 +1484,7 @@
o.DiskQuota = "foo";
o.RAM = "foo";
o.kind = "foo";
- o.region = buildUnnamed3381();
+ o.region = buildUnnamed3413();
o.tier = "foo";
}
buildCounterTier--;
@@ -1495,20 +1497,20 @@
unittest.expect(o.DiskQuota, unittest.equals('foo'));
unittest.expect(o.RAM, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3381(o.region);
+ checkUnnamed3413(o.region);
unittest.expect(o.tier, unittest.equals('foo'));
}
buildCounterTier--;
}
-buildUnnamed3382() {
+buildUnnamed3414() {
var o = new core.List<api.Tier>();
o.add(buildTier());
o.add(buildTier());
return o;
}
-checkUnnamed3382(core.List<api.Tier> o) {
+checkUnnamed3414(core.List<api.Tier> o) {
unittest.expect(o, unittest.hasLength(2));
checkTier(o[0]);
checkTier(o[1]);
@@ -1519,7 +1521,7 @@
var o = new api.TiersListResponse();
buildCounterTiersListResponse++;
if (buildCounterTiersListResponse < 3) {
- o.items = buildUnnamed3382();
+ o.items = buildUnnamed3414();
o.kind = "foo";
}
buildCounterTiersListResponse--;
@@ -1529,7 +1531,7 @@
checkTiersListResponse(api.TiersListResponse o) {
buildCounterTiersListResponse++;
if (buildCounterTiersListResponse < 3) {
- checkUnnamed3382(o.items);
+ checkUnnamed3414(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTiersListResponse--;
@@ -1587,14 +1589,14 @@
buildCounterUser--;
}
-buildUnnamed3383() {
+buildUnnamed3415() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed3383(core.List<api.User> o) {
+checkUnnamed3415(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -1605,7 +1607,7 @@
var o = new api.UsersListResponse();
buildCounterUsersListResponse++;
if (buildCounterUsersListResponse < 3) {
- o.items = buildUnnamed3383();
+ o.items = buildUnnamed3415();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1616,7 +1618,7 @@
checkUsersListResponse(api.UsersListResponse o) {
buildCounterUsersListResponse++;
if (buildCounterUsersListResponse < 3) {
- checkUnnamed3383(o.items);
+ checkUnnamed3415(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
diff --git a/generated/googleapis_beta/test/taskqueue/v1beta2_test.dart b/generated/googleapis_beta/test/taskqueue/v1beta2_test.dart
index c389004..220c746 100644
--- a/generated/googleapis_beta/test/taskqueue/v1beta2_test.dart
+++ b/generated/googleapis_beta/test/taskqueue/v1beta2_test.dart
@@ -84,40 +84,40 @@
buildCounterTask--;
}
-buildUnnamed3303() {
+buildUnnamed3335() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3303(core.List<core.String> o) {
+checkUnnamed3335(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3304() {
+buildUnnamed3336() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3304(core.List<core.String> o) {
+checkUnnamed3336(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3305() {
+buildUnnamed3337() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3305(core.List<core.String> o) {
+checkUnnamed3337(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -128,9 +128,9 @@
var o = new api.TaskQueueAcl();
buildCounterTaskQueueAcl++;
if (buildCounterTaskQueueAcl < 3) {
- o.adminEmails = buildUnnamed3303();
- o.consumerEmails = buildUnnamed3304();
- o.producerEmails = buildUnnamed3305();
+ o.adminEmails = buildUnnamed3335();
+ o.consumerEmails = buildUnnamed3336();
+ o.producerEmails = buildUnnamed3337();
}
buildCounterTaskQueueAcl--;
return o;
@@ -139,9 +139,9 @@
checkTaskQueueAcl(api.TaskQueueAcl o) {
buildCounterTaskQueueAcl++;
if (buildCounterTaskQueueAcl < 3) {
- checkUnnamed3303(o.adminEmails);
- checkUnnamed3304(o.consumerEmails);
- checkUnnamed3305(o.producerEmails);
+ checkUnnamed3335(o.adminEmails);
+ checkUnnamed3336(o.consumerEmails);
+ checkUnnamed3337(o.producerEmails);
}
buildCounterTaskQueueAcl--;
}
@@ -198,14 +198,14 @@
buildCounterTaskQueue--;
}
-buildUnnamed3306() {
+buildUnnamed3338() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed3306(core.List<api.Task> o) {
+checkUnnamed3338(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -216,7 +216,7 @@
var o = new api.Tasks();
buildCounterTasks++;
if (buildCounterTasks < 3) {
- o.items = buildUnnamed3306();
+ o.items = buildUnnamed3338();
o.kind = "foo";
}
buildCounterTasks--;
@@ -226,20 +226,20 @@
checkTasks(api.Tasks o) {
buildCounterTasks++;
if (buildCounterTasks < 3) {
- checkUnnamed3306(o.items);
+ checkUnnamed3338(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTasks--;
}
-buildUnnamed3307() {
+buildUnnamed3339() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed3307(core.List<api.Task> o) {
+checkUnnamed3339(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -250,7 +250,7 @@
var o = new api.Tasks2();
buildCounterTasks2++;
if (buildCounterTasks2 < 3) {
- o.items = buildUnnamed3307();
+ o.items = buildUnnamed3339();
o.kind = "foo";
}
buildCounterTasks2--;
@@ -260,7 +260,7 @@
checkTasks2(api.Tasks2 o) {
buildCounterTasks2++;
if (buildCounterTasks2 < 3) {
- checkUnnamed3307(o.items);
+ checkUnnamed3339(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTasks2--;
diff --git a/generated/googleapis_beta/test/videointelligence/v1beta1_test.dart b/generated/googleapis_beta/test/videointelligence/v1beta1_test.dart
index c5df511..0dfc89c 100644
--- a/generated/googleapis_beta/test/videointelligence/v1beta1_test.dart
+++ b/generated/googleapis_beta/test/videointelligence/v1beta1_test.dart
@@ -51,14 +51,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3322() {
+buildUnnamed3354() {
var o = new core.List<api.GoogleCloudVideointelligenceV1VideoAnnotationProgress>();
o.add(buildGoogleCloudVideointelligenceV1VideoAnnotationProgress());
o.add(buildGoogleCloudVideointelligenceV1VideoAnnotationProgress());
return o;
}
-checkUnnamed3322(core.List<api.GoogleCloudVideointelligenceV1VideoAnnotationProgress> o) {
+checkUnnamed3354(core.List<api.GoogleCloudVideointelligenceV1VideoAnnotationProgress> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1VideoAnnotationProgress(o[0]);
checkGoogleCloudVideointelligenceV1VideoAnnotationProgress(o[1]);
@@ -69,7 +69,7 @@
var o = new api.GoogleCloudVideointelligenceV1AnnotateVideoProgress();
buildCounterGoogleCloudVideointelligenceV1AnnotateVideoProgress++;
if (buildCounterGoogleCloudVideointelligenceV1AnnotateVideoProgress < 3) {
- o.annotationProgress = buildUnnamed3322();
+ o.annotationProgress = buildUnnamed3354();
}
buildCounterGoogleCloudVideointelligenceV1AnnotateVideoProgress--;
return o;
@@ -78,19 +78,19 @@
checkGoogleCloudVideointelligenceV1AnnotateVideoProgress(api.GoogleCloudVideointelligenceV1AnnotateVideoProgress o) {
buildCounterGoogleCloudVideointelligenceV1AnnotateVideoProgress++;
if (buildCounterGoogleCloudVideointelligenceV1AnnotateVideoProgress < 3) {
- checkUnnamed3322(o.annotationProgress);
+ checkUnnamed3354(o.annotationProgress);
}
buildCounterGoogleCloudVideointelligenceV1AnnotateVideoProgress--;
}
-buildUnnamed3323() {
+buildUnnamed3355() {
var o = new core.List<api.GoogleCloudVideointelligenceV1VideoAnnotationResults>();
o.add(buildGoogleCloudVideointelligenceV1VideoAnnotationResults());
o.add(buildGoogleCloudVideointelligenceV1VideoAnnotationResults());
return o;
}
-checkUnnamed3323(core.List<api.GoogleCloudVideointelligenceV1VideoAnnotationResults> o) {
+checkUnnamed3355(core.List<api.GoogleCloudVideointelligenceV1VideoAnnotationResults> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1VideoAnnotationResults(o[0]);
checkGoogleCloudVideointelligenceV1VideoAnnotationResults(o[1]);
@@ -101,7 +101,7 @@
var o = new api.GoogleCloudVideointelligenceV1AnnotateVideoResponse();
buildCounterGoogleCloudVideointelligenceV1AnnotateVideoResponse++;
if (buildCounterGoogleCloudVideointelligenceV1AnnotateVideoResponse < 3) {
- o.annotationResults = buildUnnamed3323();
+ o.annotationResults = buildUnnamed3355();
}
buildCounterGoogleCloudVideointelligenceV1AnnotateVideoResponse--;
return o;
@@ -110,19 +110,19 @@
checkGoogleCloudVideointelligenceV1AnnotateVideoResponse(api.GoogleCloudVideointelligenceV1AnnotateVideoResponse o) {
buildCounterGoogleCloudVideointelligenceV1AnnotateVideoResponse++;
if (buildCounterGoogleCloudVideointelligenceV1AnnotateVideoResponse < 3) {
- checkUnnamed3323(o.annotationResults);
+ checkUnnamed3355(o.annotationResults);
}
buildCounterGoogleCloudVideointelligenceV1AnnotateVideoResponse--;
}
-buildUnnamed3324() {
+buildUnnamed3356() {
var o = new core.List<api.GoogleCloudVideointelligenceV1LabelLocation>();
o.add(buildGoogleCloudVideointelligenceV1LabelLocation());
o.add(buildGoogleCloudVideointelligenceV1LabelLocation());
return o;
}
-checkUnnamed3324(core.List<api.GoogleCloudVideointelligenceV1LabelLocation> o) {
+checkUnnamed3356(core.List<api.GoogleCloudVideointelligenceV1LabelLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1LabelLocation(o[0]);
checkGoogleCloudVideointelligenceV1LabelLocation(o[1]);
@@ -135,7 +135,7 @@
if (buildCounterGoogleCloudVideointelligenceV1LabelAnnotation < 3) {
o.description = "foo";
o.languageCode = "foo";
- o.locations = buildUnnamed3324();
+ o.locations = buildUnnamed3356();
}
buildCounterGoogleCloudVideointelligenceV1LabelAnnotation--;
return o;
@@ -146,7 +146,7 @@
if (buildCounterGoogleCloudVideointelligenceV1LabelAnnotation < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
- checkUnnamed3324(o.locations);
+ checkUnnamed3356(o.locations);
}
buildCounterGoogleCloudVideointelligenceV1LabelAnnotation--;
}
@@ -220,40 +220,40 @@
buildCounterGoogleCloudVideointelligenceV1VideoAnnotationProgress--;
}
-buildUnnamed3325() {
+buildUnnamed3357() {
var o = new core.List<api.GoogleCloudVideointelligenceV1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1LabelAnnotation());
o.add(buildGoogleCloudVideointelligenceV1LabelAnnotation());
return o;
}
-checkUnnamed3325(core.List<api.GoogleCloudVideointelligenceV1LabelAnnotation> o) {
+checkUnnamed3357(core.List<api.GoogleCloudVideointelligenceV1LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1LabelAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1LabelAnnotation(o[1]);
}
-buildUnnamed3326() {
+buildUnnamed3358() {
var o = new core.List<api.GoogleCloudVideointelligenceV1SafeSearchAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1SafeSearchAnnotation());
o.add(buildGoogleCloudVideointelligenceV1SafeSearchAnnotation());
return o;
}
-checkUnnamed3326(core.List<api.GoogleCloudVideointelligenceV1SafeSearchAnnotation> o) {
+checkUnnamed3358(core.List<api.GoogleCloudVideointelligenceV1SafeSearchAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1SafeSearchAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1SafeSearchAnnotation(o[1]);
}
-buildUnnamed3327() {
+buildUnnamed3359() {
var o = new core.List<api.GoogleCloudVideointelligenceV1VideoSegment>();
o.add(buildGoogleCloudVideointelligenceV1VideoSegment());
o.add(buildGoogleCloudVideointelligenceV1VideoSegment());
return o;
}
-checkUnnamed3327(core.List<api.GoogleCloudVideointelligenceV1VideoSegment> o) {
+checkUnnamed3359(core.List<api.GoogleCloudVideointelligenceV1VideoSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1VideoSegment(o[0]);
checkGoogleCloudVideointelligenceV1VideoSegment(o[1]);
@@ -266,9 +266,9 @@
if (buildCounterGoogleCloudVideointelligenceV1VideoAnnotationResults < 3) {
o.error = buildGoogleRpcStatus();
o.inputUri = "foo";
- o.labelAnnotations = buildUnnamed3325();
- o.safeSearchAnnotations = buildUnnamed3326();
- o.shotAnnotations = buildUnnamed3327();
+ o.labelAnnotations = buildUnnamed3357();
+ o.safeSearchAnnotations = buildUnnamed3358();
+ o.shotAnnotations = buildUnnamed3359();
}
buildCounterGoogleCloudVideointelligenceV1VideoAnnotationResults--;
return o;
@@ -279,9 +279,9 @@
if (buildCounterGoogleCloudVideointelligenceV1VideoAnnotationResults < 3) {
checkGoogleRpcStatus(o.error);
unittest.expect(o.inputUri, unittest.equals('foo'));
- checkUnnamed3325(o.labelAnnotations);
- checkUnnamed3326(o.safeSearchAnnotations);
- checkUnnamed3327(o.shotAnnotations);
+ checkUnnamed3357(o.labelAnnotations);
+ checkUnnamed3358(o.safeSearchAnnotations);
+ checkUnnamed3359(o.shotAnnotations);
}
buildCounterGoogleCloudVideointelligenceV1VideoAnnotationResults--;
}
@@ -307,14 +307,14 @@
buildCounterGoogleCloudVideointelligenceV1VideoSegment--;
}
-buildUnnamed3328() {
+buildUnnamed3360() {
var o = new core.List<api.GoogleCloudVideointelligenceV1beta1VideoAnnotationProgress>();
o.add(buildGoogleCloudVideointelligenceV1beta1VideoAnnotationProgress());
o.add(buildGoogleCloudVideointelligenceV1beta1VideoAnnotationProgress());
return o;
}
-checkUnnamed3328(core.List<api.GoogleCloudVideointelligenceV1beta1VideoAnnotationProgress> o) {
+checkUnnamed3360(core.List<api.GoogleCloudVideointelligenceV1beta1VideoAnnotationProgress> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta1VideoAnnotationProgress(o[0]);
checkGoogleCloudVideointelligenceV1beta1VideoAnnotationProgress(o[1]);
@@ -325,7 +325,7 @@
var o = new api.GoogleCloudVideointelligenceV1beta1AnnotateVideoProgress();
buildCounterGoogleCloudVideointelligenceV1beta1AnnotateVideoProgress++;
if (buildCounterGoogleCloudVideointelligenceV1beta1AnnotateVideoProgress < 3) {
- o.annotationProgress = buildUnnamed3328();
+ o.annotationProgress = buildUnnamed3360();
}
buildCounterGoogleCloudVideointelligenceV1beta1AnnotateVideoProgress--;
return o;
@@ -334,19 +334,19 @@
checkGoogleCloudVideointelligenceV1beta1AnnotateVideoProgress(api.GoogleCloudVideointelligenceV1beta1AnnotateVideoProgress o) {
buildCounterGoogleCloudVideointelligenceV1beta1AnnotateVideoProgress++;
if (buildCounterGoogleCloudVideointelligenceV1beta1AnnotateVideoProgress < 3) {
- checkUnnamed3328(o.annotationProgress);
+ checkUnnamed3360(o.annotationProgress);
}
buildCounterGoogleCloudVideointelligenceV1beta1AnnotateVideoProgress--;
}
-buildUnnamed3329() {
+buildUnnamed3361() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3329(core.List<core.String> o) {
+checkUnnamed3361(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -357,7 +357,7 @@
var o = new api.GoogleCloudVideointelligenceV1beta1AnnotateVideoRequest();
buildCounterGoogleCloudVideointelligenceV1beta1AnnotateVideoRequest++;
if (buildCounterGoogleCloudVideointelligenceV1beta1AnnotateVideoRequest < 3) {
- o.features = buildUnnamed3329();
+ o.features = buildUnnamed3361();
o.inputContent = "foo";
o.inputUri = "foo";
o.locationId = "foo";
@@ -371,7 +371,7 @@
checkGoogleCloudVideointelligenceV1beta1AnnotateVideoRequest(api.GoogleCloudVideointelligenceV1beta1AnnotateVideoRequest o) {
buildCounterGoogleCloudVideointelligenceV1beta1AnnotateVideoRequest++;
if (buildCounterGoogleCloudVideointelligenceV1beta1AnnotateVideoRequest < 3) {
- checkUnnamed3329(o.features);
+ checkUnnamed3361(o.features);
unittest.expect(o.inputContent, unittest.equals('foo'));
unittest.expect(o.inputUri, unittest.equals('foo'));
unittest.expect(o.locationId, unittest.equals('foo'));
@@ -381,14 +381,14 @@
buildCounterGoogleCloudVideointelligenceV1beta1AnnotateVideoRequest--;
}
-buildUnnamed3330() {
+buildUnnamed3362() {
var o = new core.List<api.GoogleCloudVideointelligenceV1beta1VideoAnnotationResults>();
o.add(buildGoogleCloudVideointelligenceV1beta1VideoAnnotationResults());
o.add(buildGoogleCloudVideointelligenceV1beta1VideoAnnotationResults());
return o;
}
-checkUnnamed3330(core.List<api.GoogleCloudVideointelligenceV1beta1VideoAnnotationResults> o) {
+checkUnnamed3362(core.List<api.GoogleCloudVideointelligenceV1beta1VideoAnnotationResults> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta1VideoAnnotationResults(o[0]);
checkGoogleCloudVideointelligenceV1beta1VideoAnnotationResults(o[1]);
@@ -399,7 +399,7 @@
var o = new api.GoogleCloudVideointelligenceV1beta1AnnotateVideoResponse();
buildCounterGoogleCloudVideointelligenceV1beta1AnnotateVideoResponse++;
if (buildCounterGoogleCloudVideointelligenceV1beta1AnnotateVideoResponse < 3) {
- o.annotationResults = buildUnnamed3330();
+ o.annotationResults = buildUnnamed3362();
}
buildCounterGoogleCloudVideointelligenceV1beta1AnnotateVideoResponse--;
return o;
@@ -408,19 +408,19 @@
checkGoogleCloudVideointelligenceV1beta1AnnotateVideoResponse(api.GoogleCloudVideointelligenceV1beta1AnnotateVideoResponse o) {
buildCounterGoogleCloudVideointelligenceV1beta1AnnotateVideoResponse++;
if (buildCounterGoogleCloudVideointelligenceV1beta1AnnotateVideoResponse < 3) {
- checkUnnamed3330(o.annotationResults);
+ checkUnnamed3362(o.annotationResults);
}
buildCounterGoogleCloudVideointelligenceV1beta1AnnotateVideoResponse--;
}
-buildUnnamed3331() {
+buildUnnamed3363() {
var o = new core.List<api.GoogleCloudVideointelligenceV1beta1LabelLocation>();
o.add(buildGoogleCloudVideointelligenceV1beta1LabelLocation());
o.add(buildGoogleCloudVideointelligenceV1beta1LabelLocation());
return o;
}
-checkUnnamed3331(core.List<api.GoogleCloudVideointelligenceV1beta1LabelLocation> o) {
+checkUnnamed3363(core.List<api.GoogleCloudVideointelligenceV1beta1LabelLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta1LabelLocation(o[0]);
checkGoogleCloudVideointelligenceV1beta1LabelLocation(o[1]);
@@ -433,7 +433,7 @@
if (buildCounterGoogleCloudVideointelligenceV1beta1LabelAnnotation < 3) {
o.description = "foo";
o.languageCode = "foo";
- o.locations = buildUnnamed3331();
+ o.locations = buildUnnamed3363();
}
buildCounterGoogleCloudVideointelligenceV1beta1LabelAnnotation--;
return o;
@@ -444,7 +444,7 @@
if (buildCounterGoogleCloudVideointelligenceV1beta1LabelAnnotation < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
- checkUnnamed3331(o.locations);
+ checkUnnamed3363(o.locations);
}
buildCounterGoogleCloudVideointelligenceV1beta1LabelAnnotation--;
}
@@ -526,40 +526,40 @@
buildCounterGoogleCloudVideointelligenceV1beta1VideoAnnotationProgress--;
}
-buildUnnamed3332() {
+buildUnnamed3364() {
var o = new core.List<api.GoogleCloudVideointelligenceV1beta1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1beta1LabelAnnotation());
o.add(buildGoogleCloudVideointelligenceV1beta1LabelAnnotation());
return o;
}
-checkUnnamed3332(core.List<api.GoogleCloudVideointelligenceV1beta1LabelAnnotation> o) {
+checkUnnamed3364(core.List<api.GoogleCloudVideointelligenceV1beta1LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta1LabelAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1beta1LabelAnnotation(o[1]);
}
-buildUnnamed3333() {
+buildUnnamed3365() {
var o = new core.List<api.GoogleCloudVideointelligenceV1beta1SafeSearchAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1beta1SafeSearchAnnotation());
o.add(buildGoogleCloudVideointelligenceV1beta1SafeSearchAnnotation());
return o;
}
-checkUnnamed3333(core.List<api.GoogleCloudVideointelligenceV1beta1SafeSearchAnnotation> o) {
+checkUnnamed3365(core.List<api.GoogleCloudVideointelligenceV1beta1SafeSearchAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta1SafeSearchAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1beta1SafeSearchAnnotation(o[1]);
}
-buildUnnamed3334() {
+buildUnnamed3366() {
var o = new core.List<api.GoogleCloudVideointelligenceV1beta1VideoSegment>();
o.add(buildGoogleCloudVideointelligenceV1beta1VideoSegment());
o.add(buildGoogleCloudVideointelligenceV1beta1VideoSegment());
return o;
}
-checkUnnamed3334(core.List<api.GoogleCloudVideointelligenceV1beta1VideoSegment> o) {
+checkUnnamed3366(core.List<api.GoogleCloudVideointelligenceV1beta1VideoSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta1VideoSegment(o[0]);
checkGoogleCloudVideointelligenceV1beta1VideoSegment(o[1]);
@@ -572,9 +572,9 @@
if (buildCounterGoogleCloudVideointelligenceV1beta1VideoAnnotationResults < 3) {
o.error = buildGoogleRpcStatus();
o.inputUri = "foo";
- o.labelAnnotations = buildUnnamed3332();
- o.safeSearchAnnotations = buildUnnamed3333();
- o.shotAnnotations = buildUnnamed3334();
+ o.labelAnnotations = buildUnnamed3364();
+ o.safeSearchAnnotations = buildUnnamed3365();
+ o.shotAnnotations = buildUnnamed3366();
}
buildCounterGoogleCloudVideointelligenceV1beta1VideoAnnotationResults--;
return o;
@@ -585,21 +585,21 @@
if (buildCounterGoogleCloudVideointelligenceV1beta1VideoAnnotationResults < 3) {
checkGoogleRpcStatus(o.error);
unittest.expect(o.inputUri, unittest.equals('foo'));
- checkUnnamed3332(o.labelAnnotations);
- checkUnnamed3333(o.safeSearchAnnotations);
- checkUnnamed3334(o.shotAnnotations);
+ checkUnnamed3364(o.labelAnnotations);
+ checkUnnamed3365(o.safeSearchAnnotations);
+ checkUnnamed3366(o.shotAnnotations);
}
buildCounterGoogleCloudVideointelligenceV1beta1VideoAnnotationResults--;
}
-buildUnnamed3335() {
+buildUnnamed3367() {
var o = new core.List<api.GoogleCloudVideointelligenceV1beta1VideoSegment>();
o.add(buildGoogleCloudVideointelligenceV1beta1VideoSegment());
o.add(buildGoogleCloudVideointelligenceV1beta1VideoSegment());
return o;
}
-checkUnnamed3335(core.List<api.GoogleCloudVideointelligenceV1beta1VideoSegment> o) {
+checkUnnamed3367(core.List<api.GoogleCloudVideointelligenceV1beta1VideoSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta1VideoSegment(o[0]);
checkGoogleCloudVideointelligenceV1beta1VideoSegment(o[1]);
@@ -613,7 +613,7 @@
o.labelDetectionMode = "foo";
o.labelDetectionModel = "foo";
o.safeSearchDetectionModel = "foo";
- o.segments = buildUnnamed3335();
+ o.segments = buildUnnamed3367();
o.shotChangeDetectionModel = "foo";
o.stationaryCamera = true;
}
@@ -627,7 +627,7 @@
unittest.expect(o.labelDetectionMode, unittest.equals('foo'));
unittest.expect(o.labelDetectionModel, unittest.equals('foo'));
unittest.expect(o.safeSearchDetectionModel, unittest.equals('foo'));
- checkUnnamed3335(o.segments);
+ checkUnnamed3367(o.segments);
unittest.expect(o.shotChangeDetectionModel, unittest.equals('foo'));
unittest.expect(o.stationaryCamera, unittest.isTrue);
}
@@ -655,27 +655,27 @@
buildCounterGoogleCloudVideointelligenceV1beta1VideoSegment--;
}
-buildUnnamed3336() {
+buildUnnamed3368() {
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;
}
-checkUnnamed3336(core.Map<core.String, core.Object> o) {
+checkUnnamed3368(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'));
}
-buildUnnamed3337() {
+buildUnnamed3369() {
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;
}
-checkUnnamed3337(core.Map<core.String, core.Object> o) {
+checkUnnamed3369(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'));
@@ -688,9 +688,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
o.done = true;
o.error = buildGoogleRpcStatus();
- o.metadata = buildUnnamed3336();
+ o.metadata = buildUnnamed3368();
o.name = "foo";
- o.response = buildUnnamed3337();
+ o.response = buildUnnamed3369();
}
buildCounterGoogleLongrunningOperation--;
return o;
@@ -701,37 +701,37 @@
if (buildCounterGoogleLongrunningOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkGoogleRpcStatus(o.error);
- checkUnnamed3336(o.metadata);
+ checkUnnamed3368(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3337(o.response);
+ checkUnnamed3369(o.response);
}
buildCounterGoogleLongrunningOperation--;
}
-buildUnnamed3338() {
+buildUnnamed3370() {
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;
}
-checkUnnamed3338(core.Map<core.String, core.Object> o) {
+checkUnnamed3370(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'));
}
-buildUnnamed3339() {
+buildUnnamed3371() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3338());
- o.add(buildUnnamed3338());
+ o.add(buildUnnamed3370());
+ o.add(buildUnnamed3370());
return o;
}
-checkUnnamed3339(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3371(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3338(o[0]);
- checkUnnamed3338(o[1]);
+ checkUnnamed3370(o[0]);
+ checkUnnamed3370(o[1]);
}
core.int buildCounterGoogleRpcStatus = 0;
@@ -740,7 +740,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3339();
+ o.details = buildUnnamed3371();
o.message = "foo";
}
buildCounterGoogleRpcStatus--;
@@ -751,7 +751,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3339(o.details);
+ checkUnnamed3371(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterGoogleRpcStatus--;