| 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 c6feaef0955dcbb32d064ab98ad13fbc7b00291c..620ebf0af83c3c4061c9557dfbae109d975b699c 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);
|
| }
|
|
|
| -buildUnnamed2435() {
|
| +buildUnnamed1182() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2435(core.List<core.String> o) {
|
| +checkUnnamed1182(core.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 = buildUnnamed2435();
|
| + o.members = buildUnnamed1182();
|
| o.role = "foo";
|
| }
|
| buildCounterBinding--;
|
| @@ -79,7 +79,7 @@ buildBinding() {
|
| checkBinding(api.Binding o) {
|
| buildCounterBinding++;
|
| if (buildCounterBinding < 3) {
|
| - checkUnnamed2435(o.members);
|
| + checkUnnamed1182(o.members);
|
| unittest.expect(o.role, unittest.equals('foo'));
|
| }
|
| buildCounterBinding--;
|
| @@ -102,14 +102,14 @@ checkCloudAuditOptions(api.CloudAuditOptions o) {
|
| buildCounterCloudAuditOptions--;
|
| }
|
|
|
| -buildUnnamed2436() {
|
| +buildUnnamed1183() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2436(core.List<core.String> o) {
|
| +checkUnnamed1183(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -125,7 +125,7 @@ buildCondition() {
|
| o.svc = "foo";
|
| o.sys = "foo";
|
| o.value = "foo";
|
| - o.values = buildUnnamed2436();
|
| + o.values = buildUnnamed1183();
|
| }
|
| 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'));
|
| - checkUnnamed2436(o.values);
|
| + checkUnnamed1183(o.values);
|
| }
|
| buildCounterCondition--;
|
| }
|
| @@ -239,14 +239,14 @@ checkEmpty(api.Empty o) {
|
| buildCounterEmpty--;
|
| }
|
|
|
| -buildUnnamed2437() {
|
| +buildUnnamed1184() {
|
| var o = new core.List<api.ServiceAccountKey>();
|
| o.add(buildServiceAccountKey());
|
| o.add(buildServiceAccountKey());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2437(core.List<api.ServiceAccountKey> o) {
|
| +checkUnnamed1184(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 = buildUnnamed2437();
|
| + o.keys = buildUnnamed1184();
|
| }
|
| buildCounterListServiceAccountKeysResponse--;
|
| return o;
|
| @@ -266,19 +266,19 @@ buildListServiceAccountKeysResponse() {
|
| checkListServiceAccountKeysResponse(api.ListServiceAccountKeysResponse o) {
|
| buildCounterListServiceAccountKeysResponse++;
|
| if (buildCounterListServiceAccountKeysResponse < 3) {
|
| - checkUnnamed2437(o.keys);
|
| + checkUnnamed1184(o.keys);
|
| }
|
| buildCounterListServiceAccountKeysResponse--;
|
| }
|
|
|
| -buildUnnamed2438() {
|
| +buildUnnamed1185() {
|
| var o = new core.List<api.ServiceAccount>();
|
| o.add(buildServiceAccount());
|
| o.add(buildServiceAccount());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2438(core.List<api.ServiceAccount> o) {
|
| +checkUnnamed1185(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 = buildUnnamed2438();
|
| + o.accounts = buildUnnamed1185();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListServiceAccountsResponse--;
|
| @@ -299,7 +299,7 @@ buildListServiceAccountsResponse() {
|
| checkListServiceAccountsResponse(api.ListServiceAccountsResponse o) {
|
| buildCounterListServiceAccountsResponse++;
|
| if (buildCounterListServiceAccountsResponse < 3) {
|
| - checkUnnamed2438(o.accounts);
|
| + checkUnnamed1185(o.accounts);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListServiceAccountsResponse--;
|
| @@ -328,27 +328,27 @@ checkLogConfig(api.LogConfig o) {
|
| buildCounterLogConfig--;
|
| }
|
|
|
| -buildUnnamed2439() {
|
| +buildUnnamed1186() {
|
| var o = new core.List<api.Binding>();
|
| o.add(buildBinding());
|
| o.add(buildBinding());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2439(core.List<api.Binding> o) {
|
| +checkUnnamed1186(core.List<api.Binding> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBinding(o[0]);
|
| checkBinding(o[1]);
|
| }
|
|
|
| -buildUnnamed2440() {
|
| +buildUnnamed1187() {
|
| var o = new core.List<api.Rule>();
|
| o.add(buildRule());
|
| o.add(buildRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2440(core.List<api.Rule> o) {
|
| +checkUnnamed1187(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 = buildUnnamed2439();
|
| + o.bindings = buildUnnamed1186();
|
| o.etag = "foo";
|
| - o.rules = buildUnnamed2440();
|
| + o.rules = buildUnnamed1187();
|
| o.version = 42;
|
| }
|
| buildCounterPolicy--;
|
| @@ -371,74 +371,74 @@ buildPolicy() {
|
| checkPolicy(api.Policy o) {
|
| buildCounterPolicy++;
|
| if (buildCounterPolicy < 3) {
|
| - checkUnnamed2439(o.bindings);
|
| + checkUnnamed1186(o.bindings);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed2440(o.rules);
|
| + checkUnnamed1187(o.rules);
|
| unittest.expect(o.version, unittest.equals(42));
|
| }
|
| buildCounterPolicy--;
|
| }
|
|
|
| -buildUnnamed2441() {
|
| +buildUnnamed1188() {
|
| var o = new core.List<api.Condition>();
|
| o.add(buildCondition());
|
| o.add(buildCondition());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2441(core.List<api.Condition> o) {
|
| +checkUnnamed1188(core.List<api.Condition> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCondition(o[0]);
|
| checkCondition(o[1]);
|
| }
|
|
|
| -buildUnnamed2442() {
|
| +buildUnnamed1189() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2442(core.List<core.String> o) {
|
| +checkUnnamed1189(core.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() {
|
| +buildUnnamed1190() {
|
| var o = new core.List<api.LogConfig>();
|
| o.add(buildLogConfig());
|
| o.add(buildLogConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2443(core.List<api.LogConfig> o) {
|
| +checkUnnamed1190(core.List<api.LogConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLogConfig(o[0]);
|
| checkLogConfig(o[1]);
|
| }
|
|
|
| -buildUnnamed2444() {
|
| +buildUnnamed1191() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2444(core.List<core.String> o) {
|
| +checkUnnamed1191(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed2445() {
|
| +buildUnnamed1192() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2445(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'));
|
| @@ -450,12 +450,12 @@ buildRule() {
|
| buildCounterRule++;
|
| if (buildCounterRule < 3) {
|
| o.action = "foo";
|
| - o.conditions = buildUnnamed2441();
|
| + o.conditions = buildUnnamed1188();
|
| o.description = "foo";
|
| - o.in_ = buildUnnamed2442();
|
| - o.logConfig = buildUnnamed2443();
|
| - o.notIn = buildUnnamed2444();
|
| - o.permissions = buildUnnamed2445();
|
| + o.in_ = buildUnnamed1189();
|
| + o.logConfig = buildUnnamed1190();
|
| + o.notIn = buildUnnamed1191();
|
| + o.permissions = buildUnnamed1192();
|
| }
|
| buildCounterRule--;
|
| return o;
|
| @@ -465,12 +465,12 @@ checkRule(api.Rule o) {
|
| buildCounterRule++;
|
| if (buildCounterRule < 3) {
|
| unittest.expect(o.action, unittest.equals('foo'));
|
| - checkUnnamed2441(o.conditions);
|
| + checkUnnamed1188(o.conditions);
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed2442(o.in_);
|
| - checkUnnamed2443(o.logConfig);
|
| - checkUnnamed2444(o.notIn);
|
| - checkUnnamed2445(o.permissions);
|
| + checkUnnamed1189(o.in_);
|
| + checkUnnamed1190(o.logConfig);
|
| + checkUnnamed1191(o.notIn);
|
| + checkUnnamed1192(o.permissions);
|
| }
|
| buildCounterRule--;
|
| }
|
| @@ -592,14 +592,14 @@ checkSignBlobResponse(api.SignBlobResponse o) {
|
| buildCounterSignBlobResponse--;
|
| }
|
|
|
| -buildUnnamed2446() {
|
| +buildUnnamed1193() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2446(core.List<core.String> o) {
|
| +checkUnnamed1193(core.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 = buildUnnamed2446();
|
| + o.permissions = buildUnnamed1193();
|
| }
|
| buildCounterTestIamPermissionsRequest--;
|
| return o;
|
| @@ -619,19 +619,19 @@ buildTestIamPermissionsRequest() {
|
| checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
|
| buildCounterTestIamPermissionsRequest++;
|
| if (buildCounterTestIamPermissionsRequest < 3) {
|
| - checkUnnamed2446(o.permissions);
|
| + checkUnnamed1193(o.permissions);
|
| }
|
| buildCounterTestIamPermissionsRequest--;
|
| }
|
|
|
| -buildUnnamed2447() {
|
| +buildUnnamed1194() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2447(core.List<core.String> o) {
|
| +checkUnnamed1194(core.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 = buildUnnamed2447();
|
| + o.permissions = buildUnnamed1194();
|
| }
|
| buildCounterTestIamPermissionsResponse--;
|
| return o;
|
| @@ -651,19 +651,19 @@ buildTestIamPermissionsResponse() {
|
| checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
|
| buildCounterTestIamPermissionsResponse++;
|
| if (buildCounterTestIamPermissionsResponse < 3) {
|
| - checkUnnamed2447(o.permissions);
|
| + checkUnnamed1194(o.permissions);
|
| }
|
| buildCounterTestIamPermissionsResponse--;
|
| }
|
|
|
| -buildUnnamed2448() {
|
| +buildUnnamed1195() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2448(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'));
|
| @@ -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 = buildUnnamed2448();
|
| + var arg_keyTypes = buildUnnamed1195();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
|
|