| Index: generated/googleapis/test/iam/v1_test.dart
|
| diff --git a/generated/googleapis/test/iam/v1_test.dart b/generated/googleapis/test/iam/v1_test.dart
|
| index 05865eeb72149a22f5affebd5647b038aa87565d..6db81efca9665303fe03c010d9feccd64a7e0976 100644
|
| --- a/generated/googleapis/test/iam/v1_test.dart
|
| +++ b/generated/googleapis/test/iam/v1_test.dart
|
| @@ -51,14 +51,14 @@ http.StreamedResponse stringResponse(
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
|
|
| -buildUnnamed2771() {
|
| +buildUnnamed1301() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2771(core.List<core.String> o) {
|
| +checkUnnamed1301(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -69,7 +69,7 @@ buildBinding() {
|
| var o = new api.Binding();
|
| buildCounterBinding++;
|
| if (buildCounterBinding < 3) {
|
| - o.members = buildUnnamed2771();
|
| + o.members = buildUnnamed1301();
|
| o.role = "foo";
|
| }
|
| buildCounterBinding--;
|
| @@ -79,7 +79,7 @@ buildBinding() {
|
| checkBinding(api.Binding o) {
|
| buildCounterBinding++;
|
| if (buildCounterBinding < 3) {
|
| - checkUnnamed2771(o.members);
|
| + checkUnnamed1301(o.members);
|
| unittest.expect(o.role, unittest.equals('foo'));
|
| }
|
| buildCounterBinding--;
|
| @@ -102,14 +102,14 @@ checkCloudAuditOptions(api.CloudAuditOptions o) {
|
| buildCounterCloudAuditOptions--;
|
| }
|
|
|
| -buildUnnamed2772() {
|
| +buildUnnamed1302() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2772(core.List<core.String> o) {
|
| +checkUnnamed1302(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -125,7 +125,7 @@ buildCondition() {
|
| o.svc = "foo";
|
| o.sys = "foo";
|
| o.value = "foo";
|
| - o.values = buildUnnamed2772();
|
| + o.values = buildUnnamed1302();
|
| }
|
| buildCounterCondition--;
|
| return o;
|
| @@ -139,7 +139,7 @@ checkCondition(api.Condition o) {
|
| unittest.expect(o.svc, unittest.equals('foo'));
|
| unittest.expect(o.sys, unittest.equals('foo'));
|
| unittest.expect(o.value, unittest.equals('foo'));
|
| - checkUnnamed2772(o.values);
|
| + checkUnnamed1302(o.values);
|
| }
|
| buildCounterCondition--;
|
| }
|
| @@ -239,14 +239,14 @@ checkEmpty(api.Empty o) {
|
| buildCounterEmpty--;
|
| }
|
|
|
| -buildUnnamed2773() {
|
| +buildUnnamed1303() {
|
| var o = new core.List<api.ServiceAccountKey>();
|
| o.add(buildServiceAccountKey());
|
| o.add(buildServiceAccountKey());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2773(core.List<api.ServiceAccountKey> o) {
|
| +checkUnnamed1303(core.List<api.ServiceAccountKey> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkServiceAccountKey(o[0]);
|
| checkServiceAccountKey(o[1]);
|
| @@ -257,7 +257,7 @@ buildListServiceAccountKeysResponse() {
|
| var o = new api.ListServiceAccountKeysResponse();
|
| buildCounterListServiceAccountKeysResponse++;
|
| if (buildCounterListServiceAccountKeysResponse < 3) {
|
| - o.keys = buildUnnamed2773();
|
| + o.keys = buildUnnamed1303();
|
| }
|
| buildCounterListServiceAccountKeysResponse--;
|
| return o;
|
| @@ -266,19 +266,19 @@ buildListServiceAccountKeysResponse() {
|
| checkListServiceAccountKeysResponse(api.ListServiceAccountKeysResponse o) {
|
| buildCounterListServiceAccountKeysResponse++;
|
| if (buildCounterListServiceAccountKeysResponse < 3) {
|
| - checkUnnamed2773(o.keys);
|
| + checkUnnamed1303(o.keys);
|
| }
|
| buildCounterListServiceAccountKeysResponse--;
|
| }
|
|
|
| -buildUnnamed2774() {
|
| +buildUnnamed1304() {
|
| var o = new core.List<api.ServiceAccount>();
|
| o.add(buildServiceAccount());
|
| o.add(buildServiceAccount());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2774(core.List<api.ServiceAccount> o) {
|
| +checkUnnamed1304(core.List<api.ServiceAccount> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkServiceAccount(o[0]);
|
| checkServiceAccount(o[1]);
|
| @@ -289,7 +289,7 @@ buildListServiceAccountsResponse() {
|
| var o = new api.ListServiceAccountsResponse();
|
| buildCounterListServiceAccountsResponse++;
|
| if (buildCounterListServiceAccountsResponse < 3) {
|
| - o.accounts = buildUnnamed2774();
|
| + o.accounts = buildUnnamed1304();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListServiceAccountsResponse--;
|
| @@ -299,7 +299,7 @@ buildListServiceAccountsResponse() {
|
| checkListServiceAccountsResponse(api.ListServiceAccountsResponse o) {
|
| buildCounterListServiceAccountsResponse++;
|
| if (buildCounterListServiceAccountsResponse < 3) {
|
| - checkUnnamed2774(o.accounts);
|
| + checkUnnamed1304(o.accounts);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListServiceAccountsResponse--;
|
| @@ -328,27 +328,27 @@ checkLogConfig(api.LogConfig o) {
|
| buildCounterLogConfig--;
|
| }
|
|
|
| -buildUnnamed2775() {
|
| +buildUnnamed1305() {
|
| var o = new core.List<api.Binding>();
|
| o.add(buildBinding());
|
| o.add(buildBinding());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2775(core.List<api.Binding> o) {
|
| +checkUnnamed1305(core.List<api.Binding> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBinding(o[0]);
|
| checkBinding(o[1]);
|
| }
|
|
|
| -buildUnnamed2776() {
|
| +buildUnnamed1306() {
|
| var o = new core.List<api.Rule>();
|
| o.add(buildRule());
|
| o.add(buildRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2776(core.List<api.Rule> o) {
|
| +checkUnnamed1306(core.List<api.Rule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRule(o[0]);
|
| checkRule(o[1]);
|
| @@ -359,9 +359,9 @@ buildPolicy() {
|
| var o = new api.Policy();
|
| buildCounterPolicy++;
|
| if (buildCounterPolicy < 3) {
|
| - o.bindings = buildUnnamed2775();
|
| + o.bindings = buildUnnamed1305();
|
| o.etag = "foo";
|
| - o.rules = buildUnnamed2776();
|
| + o.rules = buildUnnamed1306();
|
| o.version = 42;
|
| }
|
| buildCounterPolicy--;
|
| @@ -371,74 +371,74 @@ buildPolicy() {
|
| checkPolicy(api.Policy o) {
|
| buildCounterPolicy++;
|
| if (buildCounterPolicy < 3) {
|
| - checkUnnamed2775(o.bindings);
|
| + checkUnnamed1305(o.bindings);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed2776(o.rules);
|
| + checkUnnamed1306(o.rules);
|
| unittest.expect(o.version, unittest.equals(42));
|
| }
|
| buildCounterPolicy--;
|
| }
|
|
|
| -buildUnnamed2777() {
|
| +buildUnnamed1307() {
|
| var o = new core.List<api.Condition>();
|
| o.add(buildCondition());
|
| o.add(buildCondition());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2777(core.List<api.Condition> o) {
|
| +checkUnnamed1307(core.List<api.Condition> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCondition(o[0]);
|
| checkCondition(o[1]);
|
| }
|
|
|
| -buildUnnamed2778() {
|
| +buildUnnamed1308() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2778(core.List<core.String> o) {
|
| +checkUnnamed1308(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed2779() {
|
| +buildUnnamed1309() {
|
| var o = new core.List<api.LogConfig>();
|
| o.add(buildLogConfig());
|
| o.add(buildLogConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2779(core.List<api.LogConfig> o) {
|
| +checkUnnamed1309(core.List<api.LogConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLogConfig(o[0]);
|
| checkLogConfig(o[1]);
|
| }
|
|
|
| -buildUnnamed2780() {
|
| +buildUnnamed1310() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2780(core.List<core.String> o) {
|
| +checkUnnamed1310(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed2781() {
|
| +buildUnnamed1311() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2781(core.List<core.String> o) {
|
| +checkUnnamed1311(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -450,12 +450,12 @@ buildRule() {
|
| buildCounterRule++;
|
| if (buildCounterRule < 3) {
|
| o.action = "foo";
|
| - o.conditions = buildUnnamed2777();
|
| + o.conditions = buildUnnamed1307();
|
| o.description = "foo";
|
| - o.in_ = buildUnnamed2778();
|
| - o.logConfig = buildUnnamed2779();
|
| - o.notIn = buildUnnamed2780();
|
| - o.permissions = buildUnnamed2781();
|
| + o.in_ = buildUnnamed1308();
|
| + o.logConfig = buildUnnamed1309();
|
| + o.notIn = buildUnnamed1310();
|
| + o.permissions = buildUnnamed1311();
|
| }
|
| buildCounterRule--;
|
| return o;
|
| @@ -465,12 +465,12 @@ checkRule(api.Rule o) {
|
| buildCounterRule++;
|
| if (buildCounterRule < 3) {
|
| unittest.expect(o.action, unittest.equals('foo'));
|
| - checkUnnamed2777(o.conditions);
|
| + checkUnnamed1307(o.conditions);
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed2778(o.in_);
|
| - checkUnnamed2779(o.logConfig);
|
| - checkUnnamed2780(o.notIn);
|
| - checkUnnamed2781(o.permissions);
|
| + checkUnnamed1308(o.in_);
|
| + checkUnnamed1309(o.logConfig);
|
| + checkUnnamed1310(o.notIn);
|
| + checkUnnamed1311(o.permissions);
|
| }
|
| buildCounterRule--;
|
| }
|
| @@ -592,14 +592,14 @@ checkSignBlobResponse(api.SignBlobResponse o) {
|
| buildCounterSignBlobResponse--;
|
| }
|
|
|
| -buildUnnamed2782() {
|
| +buildUnnamed1312() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2782(core.List<core.String> o) {
|
| +checkUnnamed1312(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -610,7 +610,7 @@ buildTestIamPermissionsRequest() {
|
| var o = new api.TestIamPermissionsRequest();
|
| buildCounterTestIamPermissionsRequest++;
|
| if (buildCounterTestIamPermissionsRequest < 3) {
|
| - o.permissions = buildUnnamed2782();
|
| + o.permissions = buildUnnamed1312();
|
| }
|
| buildCounterTestIamPermissionsRequest--;
|
| return o;
|
| @@ -619,19 +619,19 @@ buildTestIamPermissionsRequest() {
|
| checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
|
| buildCounterTestIamPermissionsRequest++;
|
| if (buildCounterTestIamPermissionsRequest < 3) {
|
| - checkUnnamed2782(o.permissions);
|
| + checkUnnamed1312(o.permissions);
|
| }
|
| buildCounterTestIamPermissionsRequest--;
|
| }
|
|
|
| -buildUnnamed2783() {
|
| +buildUnnamed1313() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2783(core.List<core.String> o) {
|
| +checkUnnamed1313(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -642,7 +642,7 @@ buildTestIamPermissionsResponse() {
|
| var o = new api.TestIamPermissionsResponse();
|
| buildCounterTestIamPermissionsResponse++;
|
| if (buildCounterTestIamPermissionsResponse < 3) {
|
| - o.permissions = buildUnnamed2783();
|
| + o.permissions = buildUnnamed1313();
|
| }
|
| buildCounterTestIamPermissionsResponse--;
|
| return o;
|
| @@ -651,19 +651,19 @@ buildTestIamPermissionsResponse() {
|
| checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
|
| buildCounterTestIamPermissionsResponse++;
|
| if (buildCounterTestIamPermissionsResponse < 3) {
|
| - checkUnnamed2783(o.permissions);
|
| + checkUnnamed1313(o.permissions);
|
| }
|
| buildCounterTestIamPermissionsResponse--;
|
| }
|
|
|
| -buildUnnamed2784() {
|
| +buildUnnamed1314() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2784(core.List<core.String> o) {
|
| +checkUnnamed1314(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -1429,7 +1429,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.ProjectsServiceAccountsKeysResourceApi res = new api.IamApi(mock).projects.serviceAccounts.keys;
|
| var arg_name = "foo";
|
| - var arg_keyTypes = buildUnnamed2784();
|
| + var arg_keyTypes = buildUnnamed1314();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
|
|