OLD | NEW |
1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
2 | 2 |
3 library googleapis_beta.runtimeconfig.v1beta1; | 3 library googleapis_beta.runtimeconfig.v1beta1; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
8 | 8 |
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 | 503 |
504 /** | 504 /** |
505 * Returns permissions that a caller has on the specified resource. | 505 * Returns permissions that a caller has on the specified resource. |
506 * If the resource does not exist, this will return an empty set of | 506 * If the resource does not exist, this will return an empty set of |
507 * permissions, not a NOT_FOUND error. | 507 * permissions, not a NOT_FOUND error. |
508 * | 508 * |
509 * Note: This operation is designed to be used for building permission-aware | 509 * Note: This operation is designed to be used for building permission-aware |
510 * UIs and command-line tools, not for authorization checking. This operation | 510 * UIs and command-line tools, not for authorization checking. This operation |
511 * may "fail open" without warning. | 511 * may "fail open" without warning. |
512 * | 512 * |
| 513 * [request] - The metadata request object. |
| 514 * |
513 * Request parameters: | 515 * Request parameters: |
514 * | 516 * |
515 * [resource] - REQUIRED: The resource for which the policy detail is being | 517 * [resource] - REQUIRED: The resource for which the policy detail is being |
516 * requested. | 518 * requested. |
517 * See the operation documentation for the appropriate value for this field. | 519 * See the operation documentation for the appropriate value for this field. |
518 * Value must have pattern "^projects/[^/]+/configs/[^/]+/operations/.+$". | 520 * Value must have pattern "^projects/[^/]+/configs/[^/]+/operations/.+$". |
519 * | 521 * |
520 * [permissions] - The set of permissions to check for the `resource`. | |
521 * Permissions with | |
522 * wildcards (such as '*' or 'storage.*') are not allowed. For more | |
523 * information see | |
524 * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). | |
525 * | |
526 * Completes with a [TestIamPermissionsResponse]. | 522 * Completes with a [TestIamPermissionsResponse]. |
527 * | 523 * |
528 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 524 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
529 * error. | 525 * error. |
530 * | 526 * |
531 * If the used [http.Client] completes with an error when making a REST call, | 527 * If the used [http.Client] completes with an error when making a REST call, |
532 * this method will complete with the same error. | 528 * this method will complete with the same error. |
533 */ | 529 */ |
534 async.Future<TestIamPermissionsResponse> testIamPermissions(core.String resour
ce, {core.List<core.String> permissions}) { | 530 async.Future<TestIamPermissionsResponse> testIamPermissions(TestIamPermissions
Request request, core.String resource) { |
535 var _url = null; | 531 var _url = null; |
536 var _queryParams = new core.Map(); | 532 var _queryParams = new core.Map(); |
537 var _uploadMedia = null; | 533 var _uploadMedia = null; |
538 var _uploadOptions = null; | 534 var _uploadOptions = null; |
539 var _downloadOptions = commons.DownloadOptions.Metadata; | 535 var _downloadOptions = commons.DownloadOptions.Metadata; |
540 var _body = null; | 536 var _body = null; |
541 | 537 |
| 538 if (request != null) { |
| 539 _body = convert.JSON.encode((request).toJson()); |
| 540 } |
542 if (resource == null) { | 541 if (resource == null) { |
543 throw new core.ArgumentError("Parameter resource is required."); | 542 throw new core.ArgumentError("Parameter resource is required."); |
544 } | 543 } |
545 if (permissions != null) { | |
546 _queryParams["permissions"] = permissions; | |
547 } | |
548 | 544 |
549 _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':t
estIamPermissions'; | 545 _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':t
estIamPermissions'; |
550 | 546 |
551 var _response = _requester.request(_url, | 547 var _response = _requester.request(_url, |
552 "GET", | 548 "POST", |
553 body: _body, | 549 body: _body, |
554 queryParams: _queryParams, | 550 queryParams: _queryParams, |
555 uploadOptions: _uploadOptions, | 551 uploadOptions: _uploadOptions, |
556 uploadMedia: _uploadMedia, | 552 uploadMedia: _uploadMedia, |
557 downloadOptions: _downloadOptions); | 553 downloadOptions: _downloadOptions); |
558 return _response.then((data) => new TestIamPermissionsResponse.fromJson(data
)); | 554 return _response.then((data) => new TestIamPermissionsResponse.fromJson(data
)); |
559 } | 555 } |
560 | 556 |
561 } | 557 } |
562 | 558 |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 * | 740 * |
745 * Request parameters: | 741 * Request parameters: |
746 * | 742 * |
747 * [parent] - The path to the RuntimeConfig resource for which you want to | 743 * [parent] - The path to the RuntimeConfig resource for which you want to |
748 * list variables. | 744 * list variables. |
749 * The configuration must exist beforehand; the path must by in the format: | 745 * The configuration must exist beforehand; the path must by in the format: |
750 * | 746 * |
751 * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` | 747 * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` |
752 * Value must have pattern "^projects/[^/]+/configs/[^/]+$". | 748 * Value must have pattern "^projects/[^/]+/configs/[^/]+$". |
753 * | 749 * |
754 * [filter] - Filters variables by matching the specified filter. For example: | |
755 * | |
756 * `projects/example-project/config/[CONFIG_NAME]/variables/example-variable`. | |
757 * | |
758 * [pageToken] - Specifies a page token to use. Set `pageToken` to a | 750 * [pageToken] - Specifies a page token to use. Set `pageToken` to a |
759 * `nextPageToken` | 751 * `nextPageToken` |
760 * returned by a previous list request to get the next page of results. | 752 * returned by a previous list request to get the next page of results. |
761 * | 753 * |
762 * [returnValues] - The flag indicates whether the user wants to return values | 754 * [returnValues] - The flag indicates whether the user wants to return values |
763 * of variables. | 755 * of variables. |
764 * If true, then only those variables that user has IAM GetVariable permission | 756 * If true, then only those variables that user has IAM GetVariable permission |
765 * will be returned along with their values. | 757 * will be returned along with their values. |
766 * | 758 * |
767 * [pageSize] - Specifies the number of results to return per page. If there | 759 * [pageSize] - Specifies the number of results to return per page. If there |
768 * are fewer | 760 * are fewer |
769 * elements than the specified number, returns all elements. | 761 * elements than the specified number, returns all elements. |
770 * | 762 * |
| 763 * [filter] - Filters variables by matching the specified filter. For example: |
| 764 * |
| 765 * `projects/example-project/config/[CONFIG_NAME]/variables/example-variable`. |
| 766 * |
771 * Completes with a [ListVariablesResponse]. | 767 * Completes with a [ListVariablesResponse]. |
772 * | 768 * |
773 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 769 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
774 * error. | 770 * error. |
775 * | 771 * |
776 * If the used [http.Client] completes with an error when making a REST call, | 772 * If the used [http.Client] completes with an error when making a REST call, |
777 * this method will complete with the same error. | 773 * this method will complete with the same error. |
778 */ | 774 */ |
779 async.Future<ListVariablesResponse> list(core.String parent, {core.String filt
er, core.String pageToken, core.bool returnValues, core.int pageSize}) { | 775 async.Future<ListVariablesResponse> list(core.String parent, {core.String page
Token, core.bool returnValues, core.int pageSize, core.String filter}) { |
780 var _url = null; | 776 var _url = null; |
781 var _queryParams = new core.Map(); | 777 var _queryParams = new core.Map(); |
782 var _uploadMedia = null; | 778 var _uploadMedia = null; |
783 var _uploadOptions = null; | 779 var _uploadOptions = null; |
784 var _downloadOptions = commons.DownloadOptions.Metadata; | 780 var _downloadOptions = commons.DownloadOptions.Metadata; |
785 var _body = null; | 781 var _body = null; |
786 | 782 |
787 if (parent == null) { | 783 if (parent == null) { |
788 throw new core.ArgumentError("Parameter parent is required."); | 784 throw new core.ArgumentError("Parameter parent is required."); |
789 } | 785 } |
790 if (filter != null) { | |
791 _queryParams["filter"] = [filter]; | |
792 } | |
793 if (pageToken != null) { | 786 if (pageToken != null) { |
794 _queryParams["pageToken"] = [pageToken]; | 787 _queryParams["pageToken"] = [pageToken]; |
795 } | 788 } |
796 if (returnValues != null) { | 789 if (returnValues != null) { |
797 _queryParams["returnValues"] = ["${returnValues}"]; | 790 _queryParams["returnValues"] = ["${returnValues}"]; |
798 } | 791 } |
799 if (pageSize != null) { | 792 if (pageSize != null) { |
800 _queryParams["pageSize"] = ["${pageSize}"]; | 793 _queryParams["pageSize"] = ["${pageSize}"]; |
801 } | 794 } |
| 795 if (filter != null) { |
| 796 _queryParams["filter"] = [filter]; |
| 797 } |
802 | 798 |
803 _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/var
iables'; | 799 _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/var
iables'; |
804 | 800 |
805 var _response = _requester.request(_url, | 801 var _response = _requester.request(_url, |
806 "GET", | 802 "GET", |
807 body: _body, | 803 body: _body, |
808 queryParams: _queryParams, | 804 queryParams: _queryParams, |
809 uploadOptions: _uploadOptions, | 805 uploadOptions: _uploadOptions, |
810 uploadMedia: _uploadMedia, | 806 uploadMedia: _uploadMedia, |
811 downloadOptions: _downloadOptions); | 807 downloadOptions: _downloadOptions); |
812 return _response.then((data) => new ListVariablesResponse.fromJson(data)); | 808 return _response.then((data) => new ListVariablesResponse.fromJson(data)); |
813 } | 809 } |
814 | 810 |
815 /** | 811 /** |
816 * Returns permissions that a caller has on the specified resource. | 812 * Returns permissions that a caller has on the specified resource. |
817 * If the resource does not exist, this will return an empty set of | 813 * If the resource does not exist, this will return an empty set of |
818 * permissions, not a NOT_FOUND error. | 814 * permissions, not a NOT_FOUND error. |
819 * | 815 * |
820 * Note: This operation is designed to be used for building permission-aware | 816 * Note: This operation is designed to be used for building permission-aware |
821 * UIs and command-line tools, not for authorization checking. This operation | 817 * UIs and command-line tools, not for authorization checking. This operation |
822 * may "fail open" without warning. | 818 * may "fail open" without warning. |
823 * | 819 * |
| 820 * [request] - The metadata request object. |
| 821 * |
824 * Request parameters: | 822 * Request parameters: |
825 * | 823 * |
826 * [resource] - REQUIRED: The resource for which the policy detail is being | 824 * [resource] - REQUIRED: The resource for which the policy detail is being |
827 * requested. | 825 * requested. |
828 * See the operation documentation for the appropriate value for this field. | 826 * See the operation documentation for the appropriate value for this field. |
829 * Value must have pattern "^projects/[^/]+/configs/[^/]+/variables/.+$". | 827 * Value must have pattern "^projects/[^/]+/configs/[^/]+/variables/.+$". |
830 * | 828 * |
831 * [permissions] - The set of permissions to check for the `resource`. | |
832 * Permissions with | |
833 * wildcards (such as '*' or 'storage.*') are not allowed. For more | |
834 * information see | |
835 * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). | |
836 * | |
837 * Completes with a [TestIamPermissionsResponse]. | 829 * Completes with a [TestIamPermissionsResponse]. |
838 * | 830 * |
839 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 831 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
840 * error. | 832 * error. |
841 * | 833 * |
842 * If the used [http.Client] completes with an error when making a REST call, | 834 * If the used [http.Client] completes with an error when making a REST call, |
843 * this method will complete with the same error. | 835 * this method will complete with the same error. |
844 */ | 836 */ |
845 async.Future<TestIamPermissionsResponse> testIamPermissions(core.String resour
ce, {core.List<core.String> permissions}) { | 837 async.Future<TestIamPermissionsResponse> testIamPermissions(TestIamPermissions
Request request, core.String resource) { |
846 var _url = null; | 838 var _url = null; |
847 var _queryParams = new core.Map(); | 839 var _queryParams = new core.Map(); |
848 var _uploadMedia = null; | 840 var _uploadMedia = null; |
849 var _uploadOptions = null; | 841 var _uploadOptions = null; |
850 var _downloadOptions = commons.DownloadOptions.Metadata; | 842 var _downloadOptions = commons.DownloadOptions.Metadata; |
851 var _body = null; | 843 var _body = null; |
852 | 844 |
| 845 if (request != null) { |
| 846 _body = convert.JSON.encode((request).toJson()); |
| 847 } |
853 if (resource == null) { | 848 if (resource == null) { |
854 throw new core.ArgumentError("Parameter resource is required."); | 849 throw new core.ArgumentError("Parameter resource is required."); |
855 } | 850 } |
856 if (permissions != null) { | |
857 _queryParams["permissions"] = permissions; | |
858 } | |
859 | 851 |
860 _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':t
estIamPermissions'; | 852 _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':t
estIamPermissions'; |
861 | 853 |
862 var _response = _requester.request(_url, | 854 var _response = _requester.request(_url, |
863 "GET", | 855 "POST", |
864 body: _body, | 856 body: _body, |
865 queryParams: _queryParams, | 857 queryParams: _queryParams, |
866 uploadOptions: _uploadOptions, | 858 uploadOptions: _uploadOptions, |
867 uploadMedia: _uploadMedia, | 859 uploadMedia: _uploadMedia, |
868 downloadOptions: _downloadOptions); | 860 downloadOptions: _downloadOptions); |
869 return _response.then((data) => new TestIamPermissionsResponse.fromJson(data
)); | 861 return _response.then((data) => new TestIamPermissionsResponse.fromJson(data
)); |
870 } | 862 } |
871 | 863 |
872 /** | 864 /** |
873 * Updates an existing variable with a new value. | 865 * Updates an existing variable with a new value. |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1145 * | 1137 * |
1146 * Request parameters: | 1138 * Request parameters: |
1147 * | 1139 * |
1148 * [parent] - The path to the configuration for which you want to get a list | 1140 * [parent] - The path to the configuration for which you want to get a list |
1149 * of waiters. | 1141 * of waiters. |
1150 * The configuration must exist beforehand; the path must by in the format: | 1142 * The configuration must exist beforehand; the path must by in the format: |
1151 * | 1143 * |
1152 * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` | 1144 * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` |
1153 * Value must have pattern "^projects/[^/]+/configs/[^/]+$". | 1145 * Value must have pattern "^projects/[^/]+/configs/[^/]+$". |
1154 * | 1146 * |
| 1147 * [pageToken] - Specifies a page token to use. Set `pageToken` to a |
| 1148 * `nextPageToken` |
| 1149 * returned by a previous list request to get the next page of results. |
| 1150 * |
1155 * [pageSize] - Specifies the number of results to return per page. If there | 1151 * [pageSize] - Specifies the number of results to return per page. If there |
1156 * are fewer | 1152 * are fewer |
1157 * elements than the specified number, returns all elements. | 1153 * elements than the specified number, returns all elements. |
1158 * | 1154 * |
1159 * [pageToken] - Specifies a page token to use. Set `pageToken` to a | |
1160 * `nextPageToken` | |
1161 * returned by a previous list request to get the next page of results. | |
1162 * | |
1163 * Completes with a [ListWaitersResponse]. | 1155 * Completes with a [ListWaitersResponse]. |
1164 * | 1156 * |
1165 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1157 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
1166 * error. | 1158 * error. |
1167 * | 1159 * |
1168 * If the used [http.Client] completes with an error when making a REST call, | 1160 * If the used [http.Client] completes with an error when making a REST call, |
1169 * this method will complete with the same error. | 1161 * this method will complete with the same error. |
1170 */ | 1162 */ |
1171 async.Future<ListWaitersResponse> list(core.String parent, {core.int pageSize,
core.String pageToken}) { | 1163 async.Future<ListWaitersResponse> list(core.String parent, {core.String pageTo
ken, core.int pageSize}) { |
1172 var _url = null; | 1164 var _url = null; |
1173 var _queryParams = new core.Map(); | 1165 var _queryParams = new core.Map(); |
1174 var _uploadMedia = null; | 1166 var _uploadMedia = null; |
1175 var _uploadOptions = null; | 1167 var _uploadOptions = null; |
1176 var _downloadOptions = commons.DownloadOptions.Metadata; | 1168 var _downloadOptions = commons.DownloadOptions.Metadata; |
1177 var _body = null; | 1169 var _body = null; |
1178 | 1170 |
1179 if (parent == null) { | 1171 if (parent == null) { |
1180 throw new core.ArgumentError("Parameter parent is required."); | 1172 throw new core.ArgumentError("Parameter parent is required."); |
1181 } | 1173 } |
| 1174 if (pageToken != null) { |
| 1175 _queryParams["pageToken"] = [pageToken]; |
| 1176 } |
1182 if (pageSize != null) { | 1177 if (pageSize != null) { |
1183 _queryParams["pageSize"] = ["${pageSize}"]; | 1178 _queryParams["pageSize"] = ["${pageSize}"]; |
1184 } | 1179 } |
1185 if (pageToken != null) { | |
1186 _queryParams["pageToken"] = [pageToken]; | |
1187 } | |
1188 | 1180 |
1189 _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/wai
ters'; | 1181 _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/wai
ters'; |
1190 | 1182 |
1191 var _response = _requester.request(_url, | 1183 var _response = _requester.request(_url, |
1192 "GET", | 1184 "GET", |
1193 body: _body, | 1185 body: _body, |
1194 queryParams: _queryParams, | 1186 queryParams: _queryParams, |
1195 uploadOptions: _uploadOptions, | 1187 uploadOptions: _uploadOptions, |
1196 uploadMedia: _uploadMedia, | 1188 uploadMedia: _uploadMedia, |
1197 downloadOptions: _downloadOptions); | 1189 downloadOptions: _downloadOptions); |
1198 return _response.then((data) => new ListWaitersResponse.fromJson(data)); | 1190 return _response.then((data) => new ListWaitersResponse.fromJson(data)); |
1199 } | 1191 } |
1200 | 1192 |
1201 /** | 1193 /** |
1202 * Returns permissions that a caller has on the specified resource. | 1194 * Returns permissions that a caller has on the specified resource. |
1203 * If the resource does not exist, this will return an empty set of | 1195 * If the resource does not exist, this will return an empty set of |
1204 * permissions, not a NOT_FOUND error. | 1196 * permissions, not a NOT_FOUND error. |
1205 * | 1197 * |
1206 * Note: This operation is designed to be used for building permission-aware | 1198 * Note: This operation is designed to be used for building permission-aware |
1207 * UIs and command-line tools, not for authorization checking. This operation | 1199 * UIs and command-line tools, not for authorization checking. This operation |
1208 * may "fail open" without warning. | 1200 * may "fail open" without warning. |
1209 * | 1201 * |
| 1202 * [request] - The metadata request object. |
| 1203 * |
1210 * Request parameters: | 1204 * Request parameters: |
1211 * | 1205 * |
1212 * [resource] - REQUIRED: The resource for which the policy detail is being | 1206 * [resource] - REQUIRED: The resource for which the policy detail is being |
1213 * requested. | 1207 * requested. |
1214 * See the operation documentation for the appropriate value for this field. | 1208 * See the operation documentation for the appropriate value for this field. |
1215 * Value must have pattern "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$". | 1209 * Value must have pattern "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$". |
1216 * | 1210 * |
1217 * [permissions] - The set of permissions to check for the `resource`. | |
1218 * Permissions with | |
1219 * wildcards (such as '*' or 'storage.*') are not allowed. For more | |
1220 * information see | |
1221 * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). | |
1222 * | |
1223 * Completes with a [TestIamPermissionsResponse]. | 1211 * Completes with a [TestIamPermissionsResponse]. |
1224 * | 1212 * |
1225 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1213 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
1226 * error. | 1214 * error. |
1227 * | 1215 * |
1228 * If the used [http.Client] completes with an error when making a REST call, | 1216 * If the used [http.Client] completes with an error when making a REST call, |
1229 * this method will complete with the same error. | 1217 * this method will complete with the same error. |
1230 */ | 1218 */ |
1231 async.Future<TestIamPermissionsResponse> testIamPermissions(core.String resour
ce, {core.List<core.String> permissions}) { | 1219 async.Future<TestIamPermissionsResponse> testIamPermissions(TestIamPermissions
Request request, core.String resource) { |
1232 var _url = null; | 1220 var _url = null; |
1233 var _queryParams = new core.Map(); | 1221 var _queryParams = new core.Map(); |
1234 var _uploadMedia = null; | 1222 var _uploadMedia = null; |
1235 var _uploadOptions = null; | 1223 var _uploadOptions = null; |
1236 var _downloadOptions = commons.DownloadOptions.Metadata; | 1224 var _downloadOptions = commons.DownloadOptions.Metadata; |
1237 var _body = null; | 1225 var _body = null; |
1238 | 1226 |
| 1227 if (request != null) { |
| 1228 _body = convert.JSON.encode((request).toJson()); |
| 1229 } |
1239 if (resource == null) { | 1230 if (resource == null) { |
1240 throw new core.ArgumentError("Parameter resource is required."); | 1231 throw new core.ArgumentError("Parameter resource is required."); |
1241 } | 1232 } |
1242 if (permissions != null) { | |
1243 _queryParams["permissions"] = permissions; | |
1244 } | |
1245 | 1233 |
1246 _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':t
estIamPermissions'; | 1234 _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$resource') + ':t
estIamPermissions'; |
1247 | 1235 |
1248 var _response = _requester.request(_url, | 1236 var _response = _requester.request(_url, |
1249 "GET", | 1237 "POST", |
1250 body: _body, | 1238 body: _body, |
1251 queryParams: _queryParams, | 1239 queryParams: _queryParams, |
1252 uploadOptions: _uploadOptions, | 1240 uploadOptions: _uploadOptions, |
1253 uploadMedia: _uploadMedia, | 1241 uploadMedia: _uploadMedia, |
1254 downloadOptions: _downloadOptions); | 1242 downloadOptions: _downloadOptions); |
1255 return _response.then((data) => new TestIamPermissionsResponse.fromJson(data
)); | 1243 return _response.then((data) => new TestIamPermissionsResponse.fromJson(data
)); |
1256 } | 1244 } |
1257 | 1245 |
1258 } | 1246 } |
1259 | 1247 |
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2187 } | 2175 } |
2188 | 2176 |
2189 core.Map toJson() { | 2177 core.Map toJson() { |
2190 var _json = new core.Map(); | 2178 var _json = new core.Map(); |
2191 if (newerThan != null) { | 2179 if (newerThan != null) { |
2192 _json["newerThan"] = newerThan; | 2180 _json["newerThan"] = newerThan; |
2193 } | 2181 } |
2194 return _json; | 2182 return _json; |
2195 } | 2183 } |
2196 } | 2184 } |
OLD | NEW |