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.pubsub.v1beta2; | 3 library googleapis_beta.pubsub.v1beta2; |
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 1072 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1083 * * `user:{emailid}`: An email address that represents a specific Google | 1083 * * `user:{emailid}`: An email address that represents a specific Google |
1084 * account. For example, `alice@gmail.com` or `joe@example.com`. | 1084 * account. For example, `alice@gmail.com` or `joe@example.com`. |
1085 * | 1085 * |
1086 * | 1086 * |
1087 * * `serviceAccount:{emailid}`: An email address that represents a service | 1087 * * `serviceAccount:{emailid}`: An email address that represents a service |
1088 * account. For example, `my-other-app@appspot.gserviceaccount.com`. | 1088 * account. For example, `my-other-app@appspot.gserviceaccount.com`. |
1089 * | 1089 * |
1090 * * `group:{emailid}`: An email address that represents a Google group. | 1090 * * `group:{emailid}`: An email address that represents a Google group. |
1091 * For example, `admins@example.com`. | 1091 * For example, `admins@example.com`. |
1092 * | 1092 * |
| 1093 * |
1093 * * `domain:{domain}`: A Google Apps domain name that represents all the | 1094 * * `domain:{domain}`: A Google Apps domain name that represents all the |
1094 * users of that domain. For example, `google.com` or `example.com`. | 1095 * users of that domain. For example, `google.com` or `example.com`. |
1095 */ | 1096 */ |
1096 core.List<core.String> members; | 1097 core.List<core.String> members; |
1097 /** | 1098 /** |
1098 * Role that is assigned to `members`. | 1099 * Role that is assigned to `members`. |
1099 * For example, `roles/viewer`, `roles/editor`, or `roles/owner`. | 1100 * For example, `roles/viewer`, `roles/editor`, or `roles/owner`. |
1100 * Required | 1101 * Required |
1101 */ | 1102 */ |
1102 core.String role; | 1103 core.String role; |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1354 * } | 1355 * } |
1355 * ] | 1356 * ] |
1356 * } | 1357 * } |
1357 * | 1358 * |
1358 * For a description of IAM and its features, see the | 1359 * For a description of IAM and its features, see the |
1359 * [IAM developer's guide](https://cloud.google.com/iam). | 1360 * [IAM developer's guide](https://cloud.google.com/iam). |
1360 */ | 1361 */ |
1361 class Policy { | 1362 class Policy { |
1362 /** | 1363 /** |
1363 * Associates a list of `members` to a `role`. | 1364 * Associates a list of `members` to a `role`. |
1364 * Multiple `bindings` must not be specified for the same `role`. | |
1365 * `bindings` with no members will result in an error. | 1365 * `bindings` with no members will result in an error. |
1366 */ | 1366 */ |
1367 core.List<Binding> bindings; | 1367 core.List<Binding> bindings; |
1368 /** | 1368 /** |
1369 * `etag` is used for optimistic concurrency control as a way to help | 1369 * `etag` is used for optimistic concurrency control as a way to help |
1370 * prevent simultaneous updates of a policy from overwriting each other. | 1370 * prevent simultaneous updates of a policy from overwriting each other. |
1371 * It is strongly suggested that systems make use of the `etag` in the | 1371 * It is strongly suggested that systems make use of the `etag` in the |
1372 * read-modify-write cycle to perform policy updates in order to avoid race | 1372 * read-modify-write cycle to perform policy updates in order to avoid race |
1373 * conditions: An `etag` is returned in the response to `getIamPolicy`, and | 1373 * conditions: An `etag` is returned in the response to `getIamPolicy`, and |
1374 * systems are expected to put that etag in the request to `setIamPolicy` to | 1374 * systems are expected to put that etag in the request to `setIamPolicy` to |
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1865 } | 1865 } |
1866 | 1866 |
1867 core.Map<core.String, core.Object> toJson() { | 1867 core.Map<core.String, core.Object> toJson() { |
1868 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1868 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1869 if (name != null) { | 1869 if (name != null) { |
1870 _json["name"] = name; | 1870 _json["name"] = name; |
1871 } | 1871 } |
1872 return _json; | 1872 return _json; |
1873 } | 1873 } |
1874 } | 1874 } |
OLD | NEW |