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.iam.v1; | 3 library googleapis.iam.v1; |
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 940 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
951 _json["role"] = role; | 951 _json["role"] = role; |
952 } | 952 } |
953 return _json; | 953 return _json; |
954 } | 954 } |
955 } | 955 } |
956 | 956 |
957 /** The service account key create request. */ | 957 /** The service account key create request. */ |
958 class CreateServiceAccountKeyRequest { | 958 class CreateServiceAccountKeyRequest { |
959 /** | 959 /** |
960 * Which type of key and algorithm to use for the key. | 960 * Which type of key and algorithm to use for the key. |
961 * The default is currently a 4K RSA key. However this may change in the | 961 * The default is currently a 2K RSA key. However this may change in the |
962 * future. | 962 * future. |
963 * Possible string values are: | 963 * Possible string values are: |
964 * - "KEY_ALG_UNSPECIFIED" : An unspecified key algorithm. | 964 * - "KEY_ALG_UNSPECIFIED" : An unspecified key algorithm. |
965 * - "KEY_ALG_RSA_1024" : 1k RSA Key. | 965 * - "KEY_ALG_RSA_1024" : 1k RSA Key. |
966 * - "KEY_ALG_RSA_2048" : 2k RSA Key. | 966 * - "KEY_ALG_RSA_2048" : 2k RSA Key. |
967 */ | 967 */ |
968 core.String keyAlgorithm; | 968 core.String keyAlgorithm; |
969 /** | 969 /** |
970 * The output format of the private key. `GOOGLE_CREDENTIALS_FILE` is the | 970 * The output format of the private key. `GOOGLE_CREDENTIALS_FILE` is the |
971 * default output format. | 971 * default output format. |
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1764 } | 1764 } |
1765 | 1765 |
1766 core.Map toJson() { | 1766 core.Map toJson() { |
1767 var _json = new core.Map(); | 1767 var _json = new core.Map(); |
1768 if (permissions != null) { | 1768 if (permissions != null) { |
1769 _json["permissions"] = permissions; | 1769 _json["permissions"] = permissions; |
1770 } | 1770 } |
1771 return _json; | 1771 return _json; |
1772 } | 1772 } |
1773 } | 1773 } |
OLD | NEW |