| 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 } | 189 } |
| 190 | 190 |
| 191 /** | 191 /** |
| 192 * Returns the IAM access control policy for a | 192 * Returns the IAM access control policy for a |
| 193 * ServiceAccount. | 193 * ServiceAccount. |
| 194 * | 194 * |
| 195 * Request parameters: | 195 * Request parameters: |
| 196 * | 196 * |
| 197 * [resource] - REQUIRED: The resource for which the policy is being | 197 * [resource] - REQUIRED: The resource for which the policy is being |
| 198 * requested. | 198 * requested. |
| 199 * `resource` is usually specified as a path. For example, a Project | 199 * See the operation documentation for the appropriate value for this field. |
| 200 * resource is specified as `projects/{project}`. | |
| 201 * Value must have pattern "^projects/[^/]+/serviceAccounts/[^/]+$". | 200 * Value must have pattern "^projects/[^/]+/serviceAccounts/[^/]+$". |
| 202 * | 201 * |
| 203 * Completes with a [Policy]. | 202 * Completes with a [Policy]. |
| 204 * | 203 * |
| 205 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 204 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 206 * error. | 205 * error. |
| 207 * | 206 * |
| 208 * If the used [http.Client] completes with an error when making a REST call, | 207 * If the used [http.Client] completes with an error when making a REST call, |
| 209 * this method will complete with the same error. | 208 * this method will complete with the same error. |
| 210 */ | 209 */ |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 /** | 291 /** |
| 293 * Sets the IAM access control policy for a | 292 * Sets the IAM access control policy for a |
| 294 * ServiceAccount. | 293 * ServiceAccount. |
| 295 * | 294 * |
| 296 * [request] - The metadata request object. | 295 * [request] - The metadata request object. |
| 297 * | 296 * |
| 298 * Request parameters: | 297 * Request parameters: |
| 299 * | 298 * |
| 300 * [resource] - REQUIRED: The resource for which the policy is being | 299 * [resource] - REQUIRED: The resource for which the policy is being |
| 301 * specified. | 300 * specified. |
| 302 * `resource` is usually specified as a path. For example, a Project | 301 * See the operation documentation for the appropriate value for this field. |
| 303 * resource is specified as `projects/{project}`. | |
| 304 * Value must have pattern "^projects/[^/]+/serviceAccounts/[^/]+$". | 302 * Value must have pattern "^projects/[^/]+/serviceAccounts/[^/]+$". |
| 305 * | 303 * |
| 306 * Completes with a [Policy]. | 304 * Completes with a [Policy]. |
| 307 * | 305 * |
| 308 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 306 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 309 * error. | 307 * error. |
| 310 * | 308 * |
| 311 * If the used [http.Client] completes with an error when making a REST call, | 309 * If the used [http.Client] completes with an error when making a REST call, |
| 312 * this method will complete with the same error. | 310 * this method will complete with the same error. |
| 313 */ | 311 */ |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 /** | 441 /** |
| 444 * Tests the specified permissions against the IAM access control policy | 442 * Tests the specified permissions against the IAM access control policy |
| 445 * for a ServiceAccount. | 443 * for a ServiceAccount. |
| 446 * | 444 * |
| 447 * [request] - The metadata request object. | 445 * [request] - The metadata request object. |
| 448 * | 446 * |
| 449 * Request parameters: | 447 * Request parameters: |
| 450 * | 448 * |
| 451 * [resource] - REQUIRED: The resource for which the policy detail is being | 449 * [resource] - REQUIRED: The resource for which the policy detail is being |
| 452 * requested. | 450 * requested. |
| 453 * `resource` is usually specified as a path. For example, a Project | 451 * See the operation documentation for the appropriate value for this field. |
| 454 * resource is specified as `projects/{project}`. | |
| 455 * Value must have pattern "^projects/[^/]+/serviceAccounts/[^/]+$". | 452 * Value must have pattern "^projects/[^/]+/serviceAccounts/[^/]+$". |
| 456 * | 453 * |
| 457 * Completes with a [TestIamPermissionsResponse]. | 454 * Completes with a [TestIamPermissionsResponse]. |
| 458 * | 455 * |
| 459 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 456 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 460 * error. | 457 * error. |
| 461 * | 458 * |
| 462 * If the used [http.Client] completes with an error when making a REST call, | 459 * If the used [http.Client] completes with an error when making a REST call, |
| 463 * this method will complete with the same error. | 460 * this method will complete with the same error. |
| 464 */ | 461 */ |
| (...skipping 1299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1764 } | 1761 } |
| 1765 | 1762 |
| 1766 core.Map toJson() { | 1763 core.Map toJson() { |
| 1767 var _json = new core.Map(); | 1764 var _json = new core.Map(); |
| 1768 if (permissions != null) { | 1765 if (permissions != null) { |
| 1769 _json["permissions"] = permissions; | 1766 _json["permissions"] = permissions; |
| 1770 } | 1767 } |
| 1771 return _json; | 1768 return _json; |
| 1772 } | 1769 } |
| 1773 } | 1770 } |
| OLD | NEW |