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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 * | 61 * |
62 * [request] - The metadata request object. | 62 * [request] - The metadata request object. |
63 * | 63 * |
64 * Request parameters: | 64 * Request parameters: |
65 * | 65 * |
66 * [parent] - The [project | 66 * [parent] - The [project |
67 * ID](https://support.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848
) | 67 * ID](https://support.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848
) |
68 * for this request, in the format `projects/[PROJECT_ID]`. | 68 * for this request, in the format `projects/[PROJECT_ID]`. |
69 * Value must have pattern "^projects/[^/]+$". | 69 * Value must have pattern "^projects/[^/]+$". |
70 * | 70 * |
71 * [requestId] - An optional but recommended unique <code>request_id</code>. | 71 * [requestId] - An optional but recommended unique `request_id`. If the |
72 * If the server | 72 * server |
73 * receives two <code>create()</code> requests with the same | 73 * receives two `create()` requests with the same |
74 * <code>request_id</code>, then the second request will be ignored and the | 74 * `request_id`, then the second request will be ignored and the |
75 * first resource created and stored in the backend is returned. | 75 * first resource created and stored in the backend is returned. |
76 * Empty <code>request_id</code> fields are ignored. | 76 * Empty `request_id` fields are ignored. |
77 * | 77 * |
78 * It is responsibility of the client to ensure uniqueness of the | 78 * It is responsibility of the client to ensure uniqueness of the |
79 * <code>request_id</code> strings. | 79 * `request_id` strings. |
80 * | 80 * |
81 * <code>request_id</code> strings are limited to 64 characters. | 81 * `request_id` strings are limited to 64 characters. |
82 * | 82 * |
83 * Completes with a [RuntimeConfig]. | 83 * Completes with a [RuntimeConfig]. |
84 * | 84 * |
85 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 85 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
86 * error. | 86 * error. |
87 * | 87 * |
88 * If the used [http.Client] completes with an error when making a REST call, | 88 * If the used [http.Client] completes with an error when making a REST call, |
89 * this method will complete with the same error. | 89 * this method will complete with the same error. |
90 */ | 90 */ |
91 async.Future<RuntimeConfig> create(RuntimeConfig request, core.String parent,
{core.String requestId}) { | 91 async.Future<RuntimeConfig> create(RuntimeConfig request, core.String parent,
{core.String requestId}) { |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 | 204 |
205 /** | 205 /** |
206 * Gets the access control policy for a resource. | 206 * Gets the access control policy for a resource. |
207 * Returns an empty policy if the resource exists and does not have a policy | 207 * Returns an empty policy if the resource exists and does not have a policy |
208 * set. | 208 * set. |
209 * | 209 * |
210 * Request parameters: | 210 * Request parameters: |
211 * | 211 * |
212 * [resource] - REQUIRED: The resource for which the policy is being | 212 * [resource] - REQUIRED: The resource for which the policy is being |
213 * requested. | 213 * requested. |
214 * `resource` is usually specified as a path. For example, a Project | 214 * See the operation documentation for the appropriate value for this field. |
215 * resource is specified as `projects/{project}`. | |
216 * Value must have pattern "^projects/[^/]+/configs/[^/]+$". | 215 * Value must have pattern "^projects/[^/]+/configs/[^/]+$". |
217 * | 216 * |
218 * Completes with a [Policy]. | 217 * Completes with a [Policy]. |
219 * | 218 * |
220 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 219 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
221 * error. | 220 * error. |
222 * | 221 * |
223 * If the used [http.Client] completes with an error when making a REST call, | 222 * If the used [http.Client] completes with an error when making a REST call, |
224 * this method will complete with the same error. | 223 * this method will complete with the same error. |
225 */ | 224 */ |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 /** | 305 /** |
307 * Sets the access control policy on the specified resource. Replaces any | 306 * Sets the access control policy on the specified resource. Replaces any |
308 * existing policy. | 307 * existing policy. |
309 * | 308 * |
310 * [request] - The metadata request object. | 309 * [request] - The metadata request object. |
311 * | 310 * |
312 * Request parameters: | 311 * Request parameters: |
313 * | 312 * |
314 * [resource] - REQUIRED: The resource for which the policy is being | 313 * [resource] - REQUIRED: The resource for which the policy is being |
315 * specified. | 314 * specified. |
316 * `resource` is usually specified as a path. For example, a Project | 315 * See the operation documentation for the appropriate value for this field. |
317 * resource is specified as `projects/{project}`. | |
318 * Value must have pattern "^projects/[^/]+/configs/[^/]+$". | 316 * Value must have pattern "^projects/[^/]+/configs/[^/]+$". |
319 * | 317 * |
320 * Completes with a [Policy]. | 318 * Completes with a [Policy]. |
321 * | 319 * |
322 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 320 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
323 * error. | 321 * error. |
324 * | 322 * |
325 * If the used [http.Client] completes with an error when making a REST call, | 323 * If the used [http.Client] completes with an error when making a REST call, |
326 * this method will complete with the same error. | 324 * this method will complete with the same error. |
327 */ | 325 */ |
(...skipping 22 matching lines...) Expand all Loading... |
350 uploadMedia: _uploadMedia, | 348 uploadMedia: _uploadMedia, |
351 downloadOptions: _downloadOptions); | 349 downloadOptions: _downloadOptions); |
352 return _response.then((data) => new Policy.fromJson(data)); | 350 return _response.then((data) => new Policy.fromJson(data)); |
353 } | 351 } |
354 | 352 |
355 /** | 353 /** |
356 * Returns permissions that a caller has on the specified resource. | 354 * Returns permissions that a caller has on the specified resource. |
357 * If the resource does not exist, this will return an empty set of | 355 * If the resource does not exist, this will return an empty set of |
358 * permissions, not a NOT_FOUND error. | 356 * permissions, not a NOT_FOUND error. |
359 * | 357 * |
| 358 * Note: This operation is designed to be used for building permission-aware |
| 359 * UIs and command-line tools, not for authorization checking. This operation |
| 360 * may "fail open" without warning. |
| 361 * |
360 * [request] - The metadata request object. | 362 * [request] - The metadata request object. |
361 * | 363 * |
362 * Request parameters: | 364 * Request parameters: |
363 * | 365 * |
364 * [resource] - REQUIRED: The resource for which the policy detail is being | 366 * [resource] - REQUIRED: The resource for which the policy detail is being |
365 * requested. | 367 * requested. |
366 * `resource` is usually specified as a path. For example, a Project | 368 * See the operation documentation for the appropriate value for this field. |
367 * resource is specified as `projects/{project}`. | |
368 * Value must have pattern "^projects/[^/]+/configs/[^/]+$". | 369 * Value must have pattern "^projects/[^/]+/configs/[^/]+$". |
369 * | 370 * |
370 * Completes with a [TestIamPermissionsResponse]. | 371 * Completes with a [TestIamPermissionsResponse]. |
371 * | 372 * |
372 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 373 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
373 * error. | 374 * error. |
374 * | 375 * |
375 * If the used [http.Client] completes with an error when making a REST call, | 376 * If the used [http.Client] completes with an error when making a REST call, |
376 * this method will complete with the same error. | 377 * this method will complete with the same error. |
377 */ | 378 */ |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 uploadMedia: _uploadMedia, | 499 uploadMedia: _uploadMedia, |
499 downloadOptions: _downloadOptions); | 500 downloadOptions: _downloadOptions); |
500 return _response.then((data) => new Operation.fromJson(data)); | 501 return _response.then((data) => new Operation.fromJson(data)); |
501 } | 502 } |
502 | 503 |
503 /** | 504 /** |
504 * Returns permissions that a caller has on the specified resource. | 505 * Returns permissions that a caller has on the specified resource. |
505 * 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 |
506 * permissions, not a NOT_FOUND error. | 507 * permissions, not a NOT_FOUND error. |
507 * | 508 * |
| 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 |
| 511 * may "fail open" without warning. |
| 512 * |
508 * Request parameters: | 513 * Request parameters: |
509 * | 514 * |
510 * [resource] - REQUIRED: The resource for which the policy detail is being | 515 * [resource] - REQUIRED: The resource for which the policy detail is being |
511 * requested. | 516 * requested. |
512 * `resource` is usually specified as a path. For example, a Project | 517 * See the operation documentation for the appropriate value for this field. |
513 * resource is specified as `projects/{project}`. | |
514 * Value must have pattern "^projects/[^/]+/configs/[^/]+/operations/.+$". | 518 * Value must have pattern "^projects/[^/]+/configs/[^/]+/operations/.+$". |
515 * | 519 * |
516 * [permissions] - The set of permissions to check for the `resource`. | 520 * [permissions] - The set of permissions to check for the `resource`. |
517 * Permissions with | 521 * Permissions with |
518 * wildcards (such as '*' or 'storage.*') are not allowed. For more | 522 * wildcards (such as '*' or 'storage.*') are not allowed. For more |
519 * information see | 523 * information see |
520 * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). | 524 * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). |
521 * | 525 * |
522 * Completes with a [TestIamPermissionsResponse]. | 526 * Completes with a [TestIamPermissionsResponse]. |
523 * | 527 * |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 * | 581 * |
578 * Request parameters: | 582 * Request parameters: |
579 * | 583 * |
580 * [parent] - The path to the RutimeConfig resource that this variable should | 584 * [parent] - The path to the RutimeConfig resource that this variable should |
581 * belong to. | 585 * belong to. |
582 * The configuration must exist beforehand; the path must by in the format: | 586 * The configuration must exist beforehand; the path must by in the format: |
583 * | 587 * |
584 * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` | 588 * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` |
585 * Value must have pattern "^projects/[^/]+/configs/[^/]+$". | 589 * Value must have pattern "^projects/[^/]+/configs/[^/]+$". |
586 * | 590 * |
587 * [requestId] - An optional but recommended unique <code>request_id</code>. | 591 * [requestId] - An optional but recommended unique `request_id`. If the |
588 * If the server | 592 * server |
589 * receives two <code>create()</code> requests with the same | 593 * receives two `create()` requests with the same |
590 * <code>request_id</code>, then the second request will be ignored and the | 594 * `request_id`, then the second request will be ignored and the |
591 * first resource created and stored in the backend is returned. | 595 * first resource created and stored in the backend is returned. |
592 * Empty <code>request_id</code> fields are ignored. | 596 * Empty `request_id` fields are ignored. |
593 * | 597 * |
594 * It is responsibility of the client to ensure uniqueness of the | 598 * It is responsibility of the client to ensure uniqueness of the |
595 * <code>request_id</code> strings. | 599 * `request_id` strings. |
596 * | 600 * |
597 * <code>request_id</code> strings are limited to 64 characters. | 601 * `request_id` strings are limited to 64 characters. |
598 * | 602 * |
599 * Completes with a [Variable]. | 603 * Completes with a [Variable]. |
600 * | 604 * |
601 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 605 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
602 * error. | 606 * error. |
603 * | 607 * |
604 * If the used [http.Client] completes with an error when making a REST call, | 608 * If the used [http.Client] completes with an error when making a REST call, |
605 * this method will complete with the same error. | 609 * this method will complete with the same error. |
606 */ | 610 */ |
607 async.Future<Variable> create(Variable request, core.String parent, {core.Stri
ng requestId}) { | 611 async.Future<Variable> create(Variable request, core.String parent, {core.Stri
ng requestId}) { |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 queryParams: _queryParams, | 730 queryParams: _queryParams, |
727 uploadOptions: _uploadOptions, | 731 uploadOptions: _uploadOptions, |
728 uploadMedia: _uploadMedia, | 732 uploadMedia: _uploadMedia, |
729 downloadOptions: _downloadOptions); | 733 downloadOptions: _downloadOptions); |
730 return _response.then((data) => new Variable.fromJson(data)); | 734 return _response.then((data) => new Variable.fromJson(data)); |
731 } | 735 } |
732 | 736 |
733 /** | 737 /** |
734 * Lists variables within given a configuration, matching any provided | 738 * Lists variables within given a configuration, matching any provided |
735 * filters. | 739 * filters. |
736 * This only lists variable names, not the values. | 740 * This only lists variable names, not the values, unless `return_values` is |
| 741 * true, in which case only variables that user has IAM permission to |
| 742 * GetVariable |
| 743 * will be returned. |
737 * | 744 * |
738 * Request parameters: | 745 * Request parameters: |
739 * | 746 * |
740 * [parent] - The path to the RuntimeConfig resource for which you want to | 747 * [parent] - The path to the RuntimeConfig resource for which you want to |
741 * list variables. | 748 * list variables. |
742 * The configuration must exist beforehand; the path must by in the format: | 749 * The configuration must exist beforehand; the path must by in the format: |
743 * | 750 * |
744 * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` | 751 * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` |
745 * Value must have pattern "^projects/[^/]+/configs/[^/]+$". | 752 * Value must have pattern "^projects/[^/]+/configs/[^/]+$". |
746 * | 753 * |
747 * [pageToken] - Specifies a page token to use. Set `pageToken` to a | |
748 * `nextPageToken` | |
749 * returned by a previous list request to get the next page of results. | |
750 * | |
751 * [pageSize] - Specifies the number of results to return per page. If there | 754 * [pageSize] - Specifies the number of results to return per page. If there |
752 * are fewer | 755 * are fewer |
753 * elements than the specified number, returns all elements. | 756 * elements than the specified number, returns all elements. |
754 * | 757 * |
755 * [filter] - Filters variables by matching the specified filter. For example: | 758 * [filter] - Filters variables by matching the specified filter. For example: |
756 * | 759 * |
757 * `projects/example-project/config/[CONFIG_NAME]/variables/example-variable`. | 760 * `projects/example-project/config/[CONFIG_NAME]/variables/example-variable`. |
758 * | 761 * |
| 762 * [pageToken] - Specifies a page token to use. Set `pageToken` to a |
| 763 * `nextPageToken` |
| 764 * returned by a previous list request to get the next page of results. |
| 765 * |
| 766 * [returnValues] - The flag indicates whether the user wants to return values |
| 767 * of variables. |
| 768 * If true, then only those variables that user has IAM GetVariable permission |
| 769 * will be returned along with their values. |
| 770 * |
759 * Completes with a [ListVariablesResponse]. | 771 * Completes with a [ListVariablesResponse]. |
760 * | 772 * |
761 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 773 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
762 * error. | 774 * error. |
763 * | 775 * |
764 * If the used [http.Client] completes with an error when making a REST call, | 776 * If the used [http.Client] completes with an error when making a REST call, |
765 * this method will complete with the same error. | 777 * this method will complete with the same error. |
766 */ | 778 */ |
767 async.Future<ListVariablesResponse> list(core.String parent, {core.String page
Token, core.int pageSize, core.String filter}) { | 779 async.Future<ListVariablesResponse> list(core.String parent, {core.int pageSiz
e, core.String filter, core.String pageToken, core.bool returnValues}) { |
768 var _url = null; | 780 var _url = null; |
769 var _queryParams = new core.Map(); | 781 var _queryParams = new core.Map(); |
770 var _uploadMedia = null; | 782 var _uploadMedia = null; |
771 var _uploadOptions = null; | 783 var _uploadOptions = null; |
772 var _downloadOptions = commons.DownloadOptions.Metadata; | 784 var _downloadOptions = commons.DownloadOptions.Metadata; |
773 var _body = null; | 785 var _body = null; |
774 | 786 |
775 if (parent == null) { | 787 if (parent == null) { |
776 throw new core.ArgumentError("Parameter parent is required."); | 788 throw new core.ArgumentError("Parameter parent is required."); |
777 } | 789 } |
778 if (pageToken != null) { | |
779 _queryParams["pageToken"] = [pageToken]; | |
780 } | |
781 if (pageSize != null) { | 790 if (pageSize != null) { |
782 _queryParams["pageSize"] = ["${pageSize}"]; | 791 _queryParams["pageSize"] = ["${pageSize}"]; |
783 } | 792 } |
784 if (filter != null) { | 793 if (filter != null) { |
785 _queryParams["filter"] = [filter]; | 794 _queryParams["filter"] = [filter]; |
786 } | 795 } |
| 796 if (pageToken != null) { |
| 797 _queryParams["pageToken"] = [pageToken]; |
| 798 } |
| 799 if (returnValues != null) { |
| 800 _queryParams["returnValues"] = ["${returnValues}"]; |
| 801 } |
787 | 802 |
788 _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/var
iables'; | 803 _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/var
iables'; |
789 | 804 |
790 var _response = _requester.request(_url, | 805 var _response = _requester.request(_url, |
791 "GET", | 806 "GET", |
792 body: _body, | 807 body: _body, |
793 queryParams: _queryParams, | 808 queryParams: _queryParams, |
794 uploadOptions: _uploadOptions, | 809 uploadOptions: _uploadOptions, |
795 uploadMedia: _uploadMedia, | 810 uploadMedia: _uploadMedia, |
796 downloadOptions: _downloadOptions); | 811 downloadOptions: _downloadOptions); |
797 return _response.then((data) => new ListVariablesResponse.fromJson(data)); | 812 return _response.then((data) => new ListVariablesResponse.fromJson(data)); |
798 } | 813 } |
799 | 814 |
800 /** | 815 /** |
801 * Returns permissions that a caller has on the specified resource. | 816 * Returns permissions that a caller has on the specified resource. |
802 * If the resource does not exist, this will return an empty set of | 817 * If the resource does not exist, this will return an empty set of |
803 * permissions, not a NOT_FOUND error. | 818 * permissions, not a NOT_FOUND error. |
804 * | 819 * |
| 820 * Note: This operation is designed to be used for building permission-aware |
| 821 * UIs and command-line tools, not for authorization checking. This operation |
| 822 * may "fail open" without warning. |
| 823 * |
805 * Request parameters: | 824 * Request parameters: |
806 * | 825 * |
807 * [resource] - REQUIRED: The resource for which the policy detail is being | 826 * [resource] - REQUIRED: The resource for which the policy detail is being |
808 * requested. | 827 * requested. |
809 * `resource` is usually specified as a path. For example, a Project | 828 * See the operation documentation for the appropriate value for this field. |
810 * resource is specified as `projects/{project}`. | |
811 * Value must have pattern "^projects/[^/]+/configs/[^/]+/variables/.+$". | 829 * Value must have pattern "^projects/[^/]+/configs/[^/]+/variables/.+$". |
812 * | 830 * |
813 * [permissions] - The set of permissions to check for the `resource`. | 831 * [permissions] - The set of permissions to check for the `resource`. |
814 * Permissions with | 832 * Permissions with |
815 * wildcards (such as '*' or 'storage.*') are not allowed. For more | 833 * wildcards (such as '*' or 'storage.*') are not allowed. For more |
816 * information see | 834 * information see |
817 * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). | 835 * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). |
818 * | 836 * |
819 * Completes with a [TestIamPermissionsResponse]. | 837 * Completes with a [TestIamPermissionsResponse]. |
820 * | 838 * |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
979 * [request] - The metadata request object. | 997 * [request] - The metadata request object. |
980 * | 998 * |
981 * Request parameters: | 999 * Request parameters: |
982 * | 1000 * |
983 * [parent] - The path to the configuration that will own the waiter. | 1001 * [parent] - The path to the configuration that will own the waiter. |
984 * The configuration must exist beforehand; the path must by in the format: | 1002 * The configuration must exist beforehand; the path must by in the format: |
985 * | 1003 * |
986 * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`. | 1004 * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`. |
987 * Value must have pattern "^projects/[^/]+/configs/[^/]+$". | 1005 * Value must have pattern "^projects/[^/]+/configs/[^/]+$". |
988 * | 1006 * |
989 * [requestId] - An optional but recommended unique <code>request_id</code>. | 1007 * [requestId] - An optional but recommended unique `request_id`. If the |
990 * If the server | 1008 * server |
991 * receives two <code>create()</code> requests with the same | 1009 * receives two `create()` requests with the same |
992 * <code>request_id</code>, then the second request will be ignored and the | 1010 * `request_id`, then the second request will be ignored and the |
993 * first resource created and stored in the backend is returned. | 1011 * first resource created and stored in the backend is returned. |
994 * Empty <code>request_id</code> fields are ignored. | 1012 * Empty `request_id` fields are ignored. |
995 * | 1013 * |
996 * It is responsibility of the client to ensure uniqueness of the | 1014 * It is responsibility of the client to ensure uniqueness of the |
997 * <code>request_id</code> strings. | 1015 * `request_id` strings. |
998 * | 1016 * |
999 * <code>request_id</code> strings are limited to 64 characters. | 1017 * `request_id` strings are limited to 64 characters. |
1000 * | 1018 * |
1001 * Completes with a [Operation]. | 1019 * Completes with a [Operation]. |
1002 * | 1020 * |
1003 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1021 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
1004 * error. | 1022 * error. |
1005 * | 1023 * |
1006 * If the used [http.Client] completes with an error when making a REST call, | 1024 * If the used [http.Client] completes with an error when making a REST call, |
1007 * this method will complete with the same error. | 1025 * this method will complete with the same error. |
1008 */ | 1026 */ |
1009 async.Future<Operation> create(Waiter request, core.String parent, {core.Strin
g requestId}) { | 1027 async.Future<Operation> create(Waiter request, core.String parent, {core.Strin
g requestId}) { |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1178 uploadMedia: _uploadMedia, | 1196 uploadMedia: _uploadMedia, |
1179 downloadOptions: _downloadOptions); | 1197 downloadOptions: _downloadOptions); |
1180 return _response.then((data) => new ListWaitersResponse.fromJson(data)); | 1198 return _response.then((data) => new ListWaitersResponse.fromJson(data)); |
1181 } | 1199 } |
1182 | 1200 |
1183 /** | 1201 /** |
1184 * Returns permissions that a caller has on the specified resource. | 1202 * Returns permissions that a caller has on the specified resource. |
1185 * If the resource does not exist, this will return an empty set of | 1203 * If the resource does not exist, this will return an empty set of |
1186 * permissions, not a NOT_FOUND error. | 1204 * permissions, not a NOT_FOUND error. |
1187 * | 1205 * |
| 1206 * Note: This operation is designed to be used for building permission-aware |
| 1207 * UIs and command-line tools, not for authorization checking. This operation |
| 1208 * may "fail open" without warning. |
| 1209 * |
1188 * Request parameters: | 1210 * Request parameters: |
1189 * | 1211 * |
1190 * [resource] - REQUIRED: The resource for which the policy detail is being | 1212 * [resource] - REQUIRED: The resource for which the policy detail is being |
1191 * requested. | 1213 * requested. |
1192 * `resource` is usually specified as a path. For example, a Project | 1214 * See the operation documentation for the appropriate value for this field. |
1193 * resource is specified as `projects/{project}`. | |
1194 * Value must have pattern "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$". | 1215 * Value must have pattern "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$". |
1195 * | 1216 * |
1196 * [permissions] - The set of permissions to check for the `resource`. | 1217 * [permissions] - The set of permissions to check for the `resource`. |
1197 * Permissions with | 1218 * Permissions with |
1198 * wildcards (such as '*' or 'storage.*') are not allowed. For more | 1219 * wildcards (such as '*' or 'storage.*') are not allowed. For more |
1199 * information see | 1220 * information see |
1200 * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). | 1221 * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). |
1201 * | 1222 * |
1202 * Completes with a [TestIamPermissionsResponse]. | 1223 * Completes with a [TestIamPermissionsResponse]. |
1203 * | 1224 * |
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1949 * - "VARIABLE_STATE_UNSPECIFIED" : Default variable state. | 1970 * - "VARIABLE_STATE_UNSPECIFIED" : Default variable state. |
1950 * - "UPDATED" : The variable was updated, while `variables().watch` was | 1971 * - "UPDATED" : The variable was updated, while `variables().watch` was |
1951 * executing. | 1972 * executing. |
1952 * - "DELETED" : The variable was deleted, while `variables().watch` was | 1973 * - "DELETED" : The variable was deleted, while `variables().watch` was |
1953 * executing. | 1974 * executing. |
1954 */ | 1975 */ |
1955 core.String state; | 1976 core.String state; |
1956 /** | 1977 /** |
1957 * The string value of the variable. The length of the value must be less | 1978 * The string value of the variable. The length of the value must be less |
1958 * than 4096 bytes. Empty values are also accepted. For example, | 1979 * than 4096 bytes. Empty values are also accepted. For example, |
1959 * <code>text: "my text value"</code>. | 1980 * `text: "my text value"`. The string must be valid UTF-8. |
1960 */ | 1981 */ |
1961 core.String text; | 1982 core.String text; |
1962 /** [Output Only] The time of the last variable update. */ | 1983 /** [Output Only] The time of the last variable update. */ |
1963 core.String updateTime; | 1984 core.String updateTime; |
1964 /** | 1985 /** |
1965 * The binary value of the variable. The length of the value must be less | 1986 * The binary value of the variable. The length of the value must be less |
1966 * than 4096 bytes. Empty values are also accepted. The value must be | 1987 * than 4096 bytes. Empty values are also accepted. The value must be |
1967 * base64 encoded. Only one of `value` or `text` can be set. | 1988 * base64 encoded. Only one of `value` or `text` can be set. |
1968 */ | 1989 */ |
1969 core.String value; | 1990 core.String value; |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2166 } | 2187 } |
2167 | 2188 |
2168 core.Map toJson() { | 2189 core.Map toJson() { |
2169 var _json = new core.Map(); | 2190 var _json = new core.Map(); |
2170 if (newerThan != null) { | 2191 if (newerThan != null) { |
2171 _json["newerThan"] = newerThan; | 2192 _json["newerThan"] = newerThan; |
2172 } | 2193 } |
2173 return _json; | 2194 return _json; |
2174 } | 2195 } |
2175 } | 2196 } |
OLD | NEW |