| 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 a630acf9bb4508e5df5823440d7e45b6aabc8878..05865eeb72149a22f5affebd5647b038aa87565d 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);
|
| }
|
|
|
| -buildUnnamed1175() {
|
| +buildUnnamed2771() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1175(core.List<core.String> o) {
|
| +checkUnnamed2771(core.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 = buildUnnamed1175();
|
| + o.members = buildUnnamed2771();
|
| o.role = "foo";
|
| }
|
| buildCounterBinding--;
|
| @@ -79,7 +79,7 @@ buildBinding() {
|
| checkBinding(api.Binding o) {
|
| buildCounterBinding++;
|
| if (buildCounterBinding < 3) {
|
| - checkUnnamed1175(o.members);
|
| + checkUnnamed2771(o.members);
|
| unittest.expect(o.role, unittest.equals('foo'));
|
| }
|
| buildCounterBinding--;
|
| @@ -102,14 +102,14 @@ checkCloudAuditOptions(api.CloudAuditOptions o) {
|
| buildCounterCloudAuditOptions--;
|
| }
|
|
|
| -buildUnnamed1176() {
|
| +buildUnnamed2772() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1176(core.List<core.String> o) {
|
| +checkUnnamed2772(core.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 = buildUnnamed1176();
|
| + o.values = buildUnnamed2772();
|
| }
|
| 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'));
|
| - checkUnnamed1176(o.values);
|
| + checkUnnamed2772(o.values);
|
| }
|
| buildCounterCondition--;
|
| }
|
| @@ -239,14 +239,14 @@ checkEmpty(api.Empty o) {
|
| buildCounterEmpty--;
|
| }
|
|
|
| -buildUnnamed1177() {
|
| +buildUnnamed2773() {
|
| var o = new core.List<api.ServiceAccountKey>();
|
| o.add(buildServiceAccountKey());
|
| o.add(buildServiceAccountKey());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1177(core.List<api.ServiceAccountKey> o) {
|
| +checkUnnamed2773(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 = buildUnnamed1177();
|
| + o.keys = buildUnnamed2773();
|
| }
|
| buildCounterListServiceAccountKeysResponse--;
|
| return o;
|
| @@ -266,19 +266,19 @@ buildListServiceAccountKeysResponse() {
|
| checkListServiceAccountKeysResponse(api.ListServiceAccountKeysResponse o) {
|
| buildCounterListServiceAccountKeysResponse++;
|
| if (buildCounterListServiceAccountKeysResponse < 3) {
|
| - checkUnnamed1177(o.keys);
|
| + checkUnnamed2773(o.keys);
|
| }
|
| buildCounterListServiceAccountKeysResponse--;
|
| }
|
|
|
| -buildUnnamed1178() {
|
| +buildUnnamed2774() {
|
| var o = new core.List<api.ServiceAccount>();
|
| o.add(buildServiceAccount());
|
| o.add(buildServiceAccount());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1178(core.List<api.ServiceAccount> o) {
|
| +checkUnnamed2774(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 = buildUnnamed1178();
|
| + o.accounts = buildUnnamed2774();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListServiceAccountsResponse--;
|
| @@ -299,7 +299,7 @@ buildListServiceAccountsResponse() {
|
| checkListServiceAccountsResponse(api.ListServiceAccountsResponse o) {
|
| buildCounterListServiceAccountsResponse++;
|
| if (buildCounterListServiceAccountsResponse < 3) {
|
| - checkUnnamed1178(o.accounts);
|
| + checkUnnamed2774(o.accounts);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListServiceAccountsResponse--;
|
| @@ -328,27 +328,27 @@ checkLogConfig(api.LogConfig o) {
|
| buildCounterLogConfig--;
|
| }
|
|
|
| -buildUnnamed1179() {
|
| +buildUnnamed2775() {
|
| var o = new core.List<api.Binding>();
|
| o.add(buildBinding());
|
| o.add(buildBinding());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1179(core.List<api.Binding> o) {
|
| +checkUnnamed2775(core.List<api.Binding> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBinding(o[0]);
|
| checkBinding(o[1]);
|
| }
|
|
|
| -buildUnnamed1180() {
|
| +buildUnnamed2776() {
|
| var o = new core.List<api.Rule>();
|
| o.add(buildRule());
|
| o.add(buildRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1180(core.List<api.Rule> o) {
|
| +checkUnnamed2776(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 = buildUnnamed1179();
|
| + o.bindings = buildUnnamed2775();
|
| o.etag = "foo";
|
| - o.rules = buildUnnamed1180();
|
| + o.rules = buildUnnamed2776();
|
| o.version = 42;
|
| }
|
| buildCounterPolicy--;
|
| @@ -371,74 +371,74 @@ buildPolicy() {
|
| checkPolicy(api.Policy o) {
|
| buildCounterPolicy++;
|
| if (buildCounterPolicy < 3) {
|
| - checkUnnamed1179(o.bindings);
|
| + checkUnnamed2775(o.bindings);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed1180(o.rules);
|
| + checkUnnamed2776(o.rules);
|
| unittest.expect(o.version, unittest.equals(42));
|
| }
|
| buildCounterPolicy--;
|
| }
|
|
|
| -buildUnnamed1181() {
|
| +buildUnnamed2777() {
|
| var o = new core.List<api.Condition>();
|
| o.add(buildCondition());
|
| o.add(buildCondition());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1181(core.List<api.Condition> o) {
|
| +checkUnnamed2777(core.List<api.Condition> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCondition(o[0]);
|
| checkCondition(o[1]);
|
| }
|
|
|
| -buildUnnamed1182() {
|
| +buildUnnamed2778() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1182(core.List<core.String> o) {
|
| +checkUnnamed2778(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1183() {
|
| +buildUnnamed2779() {
|
| var o = new core.List<api.LogConfig>();
|
| o.add(buildLogConfig());
|
| o.add(buildLogConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1183(core.List<api.LogConfig> o) {
|
| +checkUnnamed2779(core.List<api.LogConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLogConfig(o[0]);
|
| checkLogConfig(o[1]);
|
| }
|
|
|
| -buildUnnamed1184() {
|
| +buildUnnamed2780() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1184(core.List<core.String> o) {
|
| +checkUnnamed2780(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1185() {
|
| +buildUnnamed2781() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1185(core.List<core.String> o) {
|
| +checkUnnamed2781(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -450,12 +450,12 @@ buildRule() {
|
| buildCounterRule++;
|
| if (buildCounterRule < 3) {
|
| o.action = "foo";
|
| - o.conditions = buildUnnamed1181();
|
| + o.conditions = buildUnnamed2777();
|
| o.description = "foo";
|
| - o.in_ = buildUnnamed1182();
|
| - o.logConfig = buildUnnamed1183();
|
| - o.notIn = buildUnnamed1184();
|
| - o.permissions = buildUnnamed1185();
|
| + o.in_ = buildUnnamed2778();
|
| + o.logConfig = buildUnnamed2779();
|
| + o.notIn = buildUnnamed2780();
|
| + o.permissions = buildUnnamed2781();
|
| }
|
| buildCounterRule--;
|
| return o;
|
| @@ -465,12 +465,12 @@ checkRule(api.Rule o) {
|
| buildCounterRule++;
|
| if (buildCounterRule < 3) {
|
| unittest.expect(o.action, unittest.equals('foo'));
|
| - checkUnnamed1181(o.conditions);
|
| + checkUnnamed2777(o.conditions);
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed1182(o.in_);
|
| - checkUnnamed1183(o.logConfig);
|
| - checkUnnamed1184(o.notIn);
|
| - checkUnnamed1185(o.permissions);
|
| + checkUnnamed2778(o.in_);
|
| + checkUnnamed2779(o.logConfig);
|
| + checkUnnamed2780(o.notIn);
|
| + checkUnnamed2781(o.permissions);
|
| }
|
| buildCounterRule--;
|
| }
|
| @@ -592,14 +592,14 @@ checkSignBlobResponse(api.SignBlobResponse o) {
|
| buildCounterSignBlobResponse--;
|
| }
|
|
|
| -buildUnnamed1186() {
|
| +buildUnnamed2782() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1186(core.List<core.String> o) {
|
| +checkUnnamed2782(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -610,7 +610,7 @@ buildTestIamPermissionsRequest() {
|
| var o = new api.TestIamPermissionsRequest();
|
| buildCounterTestIamPermissionsRequest++;
|
| if (buildCounterTestIamPermissionsRequest < 3) {
|
| - o.permissions = buildUnnamed1186();
|
| + o.permissions = buildUnnamed2782();
|
| }
|
| buildCounterTestIamPermissionsRequest--;
|
| return o;
|
| @@ -619,19 +619,19 @@ buildTestIamPermissionsRequest() {
|
| checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
|
| buildCounterTestIamPermissionsRequest++;
|
| if (buildCounterTestIamPermissionsRequest < 3) {
|
| - checkUnnamed1186(o.permissions);
|
| + checkUnnamed2782(o.permissions);
|
| }
|
| buildCounterTestIamPermissionsRequest--;
|
| }
|
|
|
| -buildUnnamed1187() {
|
| +buildUnnamed2783() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1187(core.List<core.String> o) {
|
| +checkUnnamed2783(core.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 = buildUnnamed1187();
|
| + o.permissions = buildUnnamed2783();
|
| }
|
| buildCounterTestIamPermissionsResponse--;
|
| return o;
|
| @@ -651,19 +651,19 @@ buildTestIamPermissionsResponse() {
|
| checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
|
| buildCounterTestIamPermissionsResponse++;
|
| if (buildCounterTestIamPermissionsResponse < 3) {
|
| - checkUnnamed1187(o.permissions);
|
| + checkUnnamed2783(o.permissions);
|
| }
|
| buildCounterTestIamPermissionsResponse--;
|
| }
|
|
|
| -buildUnnamed1188() {
|
| +buildUnnamed2784() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1188(core.List<core.String> o) {
|
| +checkUnnamed2784(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -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 = buildUnnamed1188();
|
| + var arg_keyTypes = buildUnnamed2784();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
|
|