| 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 f2afa9c24390a84d0b8f8849b24e6d11e88598f2..c8edecd72efa078e75835638ad04a52f3765549f 100644
|
| --- a/generated/googleapis/test/iam/v1_test.dart
|
| +++ b/generated/googleapis/test/iam/v1_test.dart
|
| @@ -70,14 +70,14 @@ checkAuditData(api.AuditData o) {
|
| buildCounterAuditData--;
|
| }
|
|
|
| -buildUnnamed1140() {
|
| +buildUnnamed1135() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1140(core.List<core.String> o) {
|
| +checkUnnamed1135(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -88,7 +88,7 @@ buildBinding() {
|
| var o = new api.Binding();
|
| buildCounterBinding++;
|
| if (buildCounterBinding < 3) {
|
| - o.members = buildUnnamed1140();
|
| + o.members = buildUnnamed1135();
|
| o.role = "foo";
|
| }
|
| buildCounterBinding--;
|
| @@ -98,7 +98,7 @@ buildBinding() {
|
| checkBinding(api.Binding o) {
|
| buildCounterBinding++;
|
| if (buildCounterBinding < 3) {
|
| - checkUnnamed1140(o.members);
|
| + checkUnnamed1135(o.members);
|
| unittest.expect(o.role, unittest.equals('foo'));
|
| }
|
| buildCounterBinding--;
|
| @@ -186,14 +186,14 @@ checkEmpty(api.Empty o) {
|
| buildCounterEmpty--;
|
| }
|
|
|
| -buildUnnamed1141() {
|
| +buildUnnamed1136() {
|
| var o = new core.List<api.ServiceAccountKey>();
|
| o.add(buildServiceAccountKey());
|
| o.add(buildServiceAccountKey());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1141(core.List<api.ServiceAccountKey> o) {
|
| +checkUnnamed1136(core.List<api.ServiceAccountKey> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkServiceAccountKey(o[0]);
|
| checkServiceAccountKey(o[1]);
|
| @@ -204,7 +204,7 @@ buildListServiceAccountKeysResponse() {
|
| var o = new api.ListServiceAccountKeysResponse();
|
| buildCounterListServiceAccountKeysResponse++;
|
| if (buildCounterListServiceAccountKeysResponse < 3) {
|
| - o.keys = buildUnnamed1141();
|
| + o.keys = buildUnnamed1136();
|
| }
|
| buildCounterListServiceAccountKeysResponse--;
|
| return o;
|
| @@ -213,19 +213,19 @@ buildListServiceAccountKeysResponse() {
|
| checkListServiceAccountKeysResponse(api.ListServiceAccountKeysResponse o) {
|
| buildCounterListServiceAccountKeysResponse++;
|
| if (buildCounterListServiceAccountKeysResponse < 3) {
|
| - checkUnnamed1141(o.keys);
|
| + checkUnnamed1136(o.keys);
|
| }
|
| buildCounterListServiceAccountKeysResponse--;
|
| }
|
|
|
| -buildUnnamed1142() {
|
| +buildUnnamed1137() {
|
| var o = new core.List<api.ServiceAccount>();
|
| o.add(buildServiceAccount());
|
| o.add(buildServiceAccount());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1142(core.List<api.ServiceAccount> o) {
|
| +checkUnnamed1137(core.List<api.ServiceAccount> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkServiceAccount(o[0]);
|
| checkServiceAccount(o[1]);
|
| @@ -236,7 +236,7 @@ buildListServiceAccountsResponse() {
|
| var o = new api.ListServiceAccountsResponse();
|
| buildCounterListServiceAccountsResponse++;
|
| if (buildCounterListServiceAccountsResponse < 3) {
|
| - o.accounts = buildUnnamed1142();
|
| + o.accounts = buildUnnamed1137();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListServiceAccountsResponse--;
|
| @@ -246,20 +246,20 @@ buildListServiceAccountsResponse() {
|
| checkListServiceAccountsResponse(api.ListServiceAccountsResponse o) {
|
| buildCounterListServiceAccountsResponse++;
|
| if (buildCounterListServiceAccountsResponse < 3) {
|
| - checkUnnamed1142(o.accounts);
|
| + checkUnnamed1137(o.accounts);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListServiceAccountsResponse--;
|
| }
|
|
|
| -buildUnnamed1143() {
|
| +buildUnnamed1138() {
|
| var o = new core.List<api.Binding>();
|
| o.add(buildBinding());
|
| o.add(buildBinding());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1143(core.List<api.Binding> o) {
|
| +checkUnnamed1138(core.List<api.Binding> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBinding(o[0]);
|
| checkBinding(o[1]);
|
| @@ -270,7 +270,7 @@ buildPolicy() {
|
| var o = new api.Policy();
|
| buildCounterPolicy++;
|
| if (buildCounterPolicy < 3) {
|
| - o.bindings = buildUnnamed1143();
|
| + o.bindings = buildUnnamed1138();
|
| o.etag = "foo";
|
| o.version = 42;
|
| }
|
| @@ -281,21 +281,21 @@ buildPolicy() {
|
| checkPolicy(api.Policy o) {
|
| buildCounterPolicy++;
|
| if (buildCounterPolicy < 3) {
|
| - checkUnnamed1143(o.bindings);
|
| + checkUnnamed1138(o.bindings);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.version, unittest.equals(42));
|
| }
|
| buildCounterPolicy--;
|
| }
|
|
|
| -buildUnnamed1144() {
|
| +buildUnnamed1139() {
|
| var o = new core.List<api.BindingDelta>();
|
| o.add(buildBindingDelta());
|
| o.add(buildBindingDelta());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1144(core.List<api.BindingDelta> o) {
|
| +checkUnnamed1139(core.List<api.BindingDelta> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBindingDelta(o[0]);
|
| checkBindingDelta(o[1]);
|
| @@ -306,7 +306,7 @@ buildPolicyDelta() {
|
| var o = new api.PolicyDelta();
|
| buildCounterPolicyDelta++;
|
| if (buildCounterPolicyDelta < 3) {
|
| - o.bindingDeltas = buildUnnamed1144();
|
| + o.bindingDeltas = buildUnnamed1139();
|
| }
|
| buildCounterPolicyDelta--;
|
| return o;
|
| @@ -315,7 +315,7 @@ buildPolicyDelta() {
|
| checkPolicyDelta(api.PolicyDelta o) {
|
| buildCounterPolicyDelta++;
|
| if (buildCounterPolicyDelta < 3) {
|
| - checkUnnamed1144(o.bindingDeltas);
|
| + checkUnnamed1139(o.bindingDeltas);
|
| }
|
| buildCounterPolicyDelta--;
|
| }
|
| @@ -326,6 +326,8 @@ buildQueryGrantableRolesRequest() {
|
| buildCounterQueryGrantableRolesRequest++;
|
| if (buildCounterQueryGrantableRolesRequest < 3) {
|
| o.fullResourceName = "foo";
|
| + o.pageSize = 42;
|
| + o.pageToken = "foo";
|
| }
|
| buildCounterQueryGrantableRolesRequest--;
|
| return o;
|
| @@ -335,18 +337,20 @@ checkQueryGrantableRolesRequest(api.QueryGrantableRolesRequest o) {
|
| buildCounterQueryGrantableRolesRequest++;
|
| if (buildCounterQueryGrantableRolesRequest < 3) {
|
| unittest.expect(o.fullResourceName, unittest.equals('foo'));
|
| + unittest.expect(o.pageSize, unittest.equals(42));
|
| + unittest.expect(o.pageToken, unittest.equals('foo'));
|
| }
|
| buildCounterQueryGrantableRolesRequest--;
|
| }
|
|
|
| -buildUnnamed1145() {
|
| +buildUnnamed1140() {
|
| var o = new core.List<api.Role>();
|
| o.add(buildRole());
|
| o.add(buildRole());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1145(core.List<api.Role> o) {
|
| +checkUnnamed1140(core.List<api.Role> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRole(o[0]);
|
| checkRole(o[1]);
|
| @@ -357,7 +361,8 @@ buildQueryGrantableRolesResponse() {
|
| var o = new api.QueryGrantableRolesResponse();
|
| buildCounterQueryGrantableRolesResponse++;
|
| if (buildCounterQueryGrantableRolesResponse < 3) {
|
| - o.roles = buildUnnamed1145();
|
| + o.nextPageToken = "foo";
|
| + o.roles = buildUnnamed1140();
|
| }
|
| buildCounterQueryGrantableRolesResponse--;
|
| return o;
|
| @@ -366,7 +371,8 @@ buildQueryGrantableRolesResponse() {
|
| checkQueryGrantableRolesResponse(api.QueryGrantableRolesResponse o) {
|
| buildCounterQueryGrantableRolesResponse++;
|
| if (buildCounterQueryGrantableRolesResponse < 3) {
|
| - checkUnnamed1145(o.roles);
|
| + unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| + checkUnnamed1140(o.roles);
|
| }
|
| buildCounterQueryGrantableRolesResponse--;
|
| }
|
| @@ -555,14 +561,14 @@ checkSignJwtResponse(api.SignJwtResponse o) {
|
| buildCounterSignJwtResponse--;
|
| }
|
|
|
| -buildUnnamed1146() {
|
| +buildUnnamed1141() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1146(core.List<core.String> o) {
|
| +checkUnnamed1141(core.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 +579,7 @@ buildTestIamPermissionsRequest() {
|
| var o = new api.TestIamPermissionsRequest();
|
| buildCounterTestIamPermissionsRequest++;
|
| if (buildCounterTestIamPermissionsRequest < 3) {
|
| - o.permissions = buildUnnamed1146();
|
| + o.permissions = buildUnnamed1141();
|
| }
|
| buildCounterTestIamPermissionsRequest--;
|
| return o;
|
| @@ -582,19 +588,19 @@ buildTestIamPermissionsRequest() {
|
| checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
|
| buildCounterTestIamPermissionsRequest++;
|
| if (buildCounterTestIamPermissionsRequest < 3) {
|
| - checkUnnamed1146(o.permissions);
|
| + checkUnnamed1141(o.permissions);
|
| }
|
| buildCounterTestIamPermissionsRequest--;
|
| }
|
|
|
| -buildUnnamed1147() {
|
| +buildUnnamed1142() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1147(core.List<core.String> o) {
|
| +checkUnnamed1142(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -605,7 +611,7 @@ buildTestIamPermissionsResponse() {
|
| var o = new api.TestIamPermissionsResponse();
|
| buildCounterTestIamPermissionsResponse++;
|
| if (buildCounterTestIamPermissionsResponse < 3) {
|
| - o.permissions = buildUnnamed1147();
|
| + o.permissions = buildUnnamed1142();
|
| }
|
| buildCounterTestIamPermissionsResponse--;
|
| return o;
|
| @@ -614,19 +620,19 @@ buildTestIamPermissionsResponse() {
|
| checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
|
| buildCounterTestIamPermissionsResponse++;
|
| if (buildCounterTestIamPermissionsResponse < 3) {
|
| - checkUnnamed1147(o.permissions);
|
| + checkUnnamed1142(o.permissions);
|
| }
|
| buildCounterTestIamPermissionsResponse--;
|
| }
|
|
|
| -buildUnnamed1148() {
|
| +buildUnnamed1143() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1148(core.List<core.String> o) {
|
| +checkUnnamed1143(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -1461,7 +1467,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.ProjectsServiceAccountsKeysResourceApi res = new api.IamApi(mock).projects.serviceAccounts.keys;
|
| var arg_name = "foo";
|
| - var arg_keyTypes = buildUnnamed1148();
|
| + var arg_keyTypes = buildUnnamed1143();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
|
|