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.pubsub.v1; | 3 library googleapis.pubsub.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 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1254 * * `user:{emailid}`: An email address that represents a specific Google | 1254 * * `user:{emailid}`: An email address that represents a specific Google |
1255 * account. For example, `alice@gmail.com` or `joe@example.com`. | 1255 * account. For example, `alice@gmail.com` or `joe@example.com`. |
1256 * | 1256 * |
1257 * | 1257 * |
1258 * * `serviceAccount:{emailid}`: An email address that represents a service | 1258 * * `serviceAccount:{emailid}`: An email address that represents a service |
1259 * account. For example, `my-other-app@appspot.gserviceaccount.com`. | 1259 * account. For example, `my-other-app@appspot.gserviceaccount.com`. |
1260 * | 1260 * |
1261 * * `group:{emailid}`: An email address that represents a Google group. | 1261 * * `group:{emailid}`: An email address that represents a Google group. |
1262 * For example, `admins@example.com`. | 1262 * For example, `admins@example.com`. |
1263 * | 1263 * |
| 1264 * |
1264 * * `domain:{domain}`: A Google Apps domain name that represents all the | 1265 * * `domain:{domain}`: A Google Apps domain name that represents all the |
1265 * users of that domain. For example, `google.com` or `example.com`. | 1266 * users of that domain. For example, `google.com` or `example.com`. |
1266 */ | 1267 */ |
1267 core.List<core.String> members; | 1268 core.List<core.String> members; |
1268 /** | 1269 /** |
1269 * Role that is assigned to `members`. | 1270 * Role that is assigned to `members`. |
1270 * For example, `roles/viewer`, `roles/editor`, or `roles/owner`. | 1271 * For example, `roles/viewer`, `roles/editor`, or `roles/owner`. |
1271 * Required | 1272 * Required |
1272 */ | 1273 */ |
1273 core.String role; | 1274 core.String role; |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1516 * } | 1517 * } |
1517 * ] | 1518 * ] |
1518 * } | 1519 * } |
1519 * | 1520 * |
1520 * For a description of IAM and its features, see the | 1521 * For a description of IAM and its features, see the |
1521 * [IAM developer's guide](https://cloud.google.com/iam). | 1522 * [IAM developer's guide](https://cloud.google.com/iam). |
1522 */ | 1523 */ |
1523 class Policy { | 1524 class Policy { |
1524 /** | 1525 /** |
1525 * Associates a list of `members` to a `role`. | 1526 * Associates a list of `members` to a `role`. |
1526 * Multiple `bindings` must not be specified for the same `role`. | |
1527 * `bindings` with no members will result in an error. | 1527 * `bindings` with no members will result in an error. |
1528 */ | 1528 */ |
1529 core.List<Binding> bindings; | 1529 core.List<Binding> bindings; |
1530 /** | 1530 /** |
1531 * `etag` is used for optimistic concurrency control as a way to help | 1531 * `etag` is used for optimistic concurrency control as a way to help |
1532 * prevent simultaneous updates of a policy from overwriting each other. | 1532 * prevent simultaneous updates of a policy from overwriting each other. |
1533 * It is strongly suggested that systems make use of the `etag` in the | 1533 * It is strongly suggested that systems make use of the `etag` in the |
1534 * read-modify-write cycle to perform policy updates in order to avoid race | 1534 * read-modify-write cycle to perform policy updates in order to avoid race |
1535 * conditions: An `etag` is returned in the response to `getIamPolicy`, and | 1535 * conditions: An `etag` is returned in the response to `getIamPolicy`, and |
1536 * systems are expected to put that etag in the request to `setIamPolicy` to | 1536 * systems are expected to put that etag in the request to `setIamPolicy` to |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2026 } | 2026 } |
2027 | 2027 |
2028 core.Map<core.String, core.Object> toJson() { | 2028 core.Map<core.String, core.Object> toJson() { |
2029 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2029 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2030 if (name != null) { | 2030 if (name != null) { |
2031 _json["name"] = name; | 2031 _json["name"] = name; |
2032 } | 2032 } |
2033 return _json; | 2033 return _json; |
2034 } | 2034 } |
2035 } | 2035 } |
OLD | NEW |