| 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.spanner.v1; | 3 library googleapis.spanner.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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 * Lists the supported instance configurations for a given project. | 95 * Lists the supported instance configurations for a given project. |
| 96 * | 96 * |
| 97 * Request parameters: | 97 * Request parameters: |
| 98 * | 98 * |
| 99 * [parent] - Required. The name of the project for which a list of supported | 99 * [parent] - Required. The name of the project for which a list of supported |
| 100 * instance | 100 * instance |
| 101 * configurations is requested. Values are of the form | 101 * configurations is requested. Values are of the form |
| 102 * `projects/<project>`. | 102 * `projects/<project>`. |
| 103 * Value must have pattern "^projects/[^/]+$". | 103 * Value must have pattern "^projects/[^/]+$". |
| 104 * | 104 * |
| 105 * [pageSize] - Number of instance configurations to be returned in the |
| 106 * response. If 0 or |
| 107 * less, defaults to the server's maximum allowed page size. |
| 108 * |
| 105 * [pageToken] - If non-empty, `page_token` should contain a | 109 * [pageToken] - If non-empty, `page_token` should contain a |
| 106 * next_page_token | 110 * next_page_token |
| 107 * from a previous ListInstanceConfigsResponse. | 111 * from a previous ListInstanceConfigsResponse. |
| 108 * | 112 * |
| 109 * [pageSize] - Number of instance configurations to be returned in the | |
| 110 * response. If 0 or | |
| 111 * less, defaults to the server's maximum allowed page size. | |
| 112 * | |
| 113 * Completes with a [ListInstanceConfigsResponse]. | 113 * Completes with a [ListInstanceConfigsResponse]. |
| 114 * | 114 * |
| 115 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 115 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 116 * error. | 116 * error. |
| 117 * | 117 * |
| 118 * If the used [http.Client] completes with an error when making a REST call, | 118 * If the used [http.Client] completes with an error when making a REST call, |
| 119 * this method will complete with the same error. | 119 * this method will complete with the same error. |
| 120 */ | 120 */ |
| 121 async.Future<ListInstanceConfigsResponse> list(core.String parent, {core.Strin
g pageToken, core.int pageSize}) { | 121 async.Future<ListInstanceConfigsResponse> list(core.String parent, {core.int p
ageSize, core.String pageToken}) { |
| 122 var _url = null; | 122 var _url = null; |
| 123 var _queryParams = new core.Map(); | 123 var _queryParams = new core.Map(); |
| 124 var _uploadMedia = null; | 124 var _uploadMedia = null; |
| 125 var _uploadOptions = null; | 125 var _uploadOptions = null; |
| 126 var _downloadOptions = commons.DownloadOptions.Metadata; | 126 var _downloadOptions = commons.DownloadOptions.Metadata; |
| 127 var _body = null; | 127 var _body = null; |
| 128 | 128 |
| 129 if (parent == null) { | 129 if (parent == null) { |
| 130 throw new core.ArgumentError("Parameter parent is required."); | 130 throw new core.ArgumentError("Parameter parent is required."); |
| 131 } | 131 } |
| 132 if (pageSize != null) { |
| 133 _queryParams["pageSize"] = ["${pageSize}"]; |
| 134 } |
| 132 if (pageToken != null) { | 135 if (pageToken != null) { |
| 133 _queryParams["pageToken"] = [pageToken]; | 136 _queryParams["pageToken"] = [pageToken]; |
| 134 } | 137 } |
| 135 if (pageSize != null) { | |
| 136 _queryParams["pageSize"] = ["${pageSize}"]; | |
| 137 } | |
| 138 | 138 |
| 139 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/instance
Configs'; | 139 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/instance
Configs'; |
| 140 | 140 |
| 141 var _response = _requester.request(_url, | 141 var _response = _requester.request(_url, |
| 142 "GET", | 142 "GET", |
| 143 body: _body, | 143 body: _body, |
| 144 queryParams: _queryParams, | 144 queryParams: _queryParams, |
| 145 uploadOptions: _uploadOptions, | 145 uploadOptions: _uploadOptions, |
| 146 uploadMedia: _uploadMedia, | 146 uploadMedia: _uploadMedia, |
| 147 downloadOptions: _downloadOptions); | 147 downloadOptions: _downloadOptions); |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 /** | 389 /** |
| 390 * Lists all instances in the given project. | 390 * Lists all instances in the given project. |
| 391 * | 391 * |
| 392 * Request parameters: | 392 * Request parameters: |
| 393 * | 393 * |
| 394 * [parent] - Required. The name of the project for which a list of instances | 394 * [parent] - Required. The name of the project for which a list of instances |
| 395 * is | 395 * is |
| 396 * requested. Values are of the form `projects/<project>`. | 396 * requested. Values are of the form `projects/<project>`. |
| 397 * Value must have pattern "^projects/[^/]+$". | 397 * Value must have pattern "^projects/[^/]+$". |
| 398 * | 398 * |
| 399 * [pageToken] - If non-empty, `page_token` should contain a | |
| 400 * next_page_token from a | |
| 401 * previous ListInstancesResponse. | |
| 402 * | |
| 403 * [pageSize] - Number of instances to be returned in the response. If 0 or | |
| 404 * less, defaults | |
| 405 * to the server's maximum allowed page size. | |
| 406 * | |
| 407 * [filter] - An expression for filtering the results of the request. Filter | 399 * [filter] - An expression for filtering the results of the request. Filter |
| 408 * rules are | 400 * rules are |
| 409 * case insensitive. The fields eligible for filtering are: | 401 * case insensitive. The fields eligible for filtering are: |
| 410 * | 402 * |
| 411 * * name | 403 * * name |
| 412 * * display_name | 404 * * display_name |
| 413 * * labels.key where key is the name of a label | 405 * * labels.key where key is the name of a label |
| 414 * | 406 * |
| 415 * Some examples of using filters are: | 407 * Some examples of using filters are: |
| 416 * | 408 * |
| 417 * * name:* --> The instance has a name. | 409 * * name:* --> The instance has a name. |
| 418 * * name:Howl --> The instance's name contains the string "howl". | 410 * * name:Howl --> The instance's name contains the string "howl". |
| 419 * * name:HOWL --> Equivalent to above. | 411 * * name:HOWL --> Equivalent to above. |
| 420 * * NAME:howl --> Equivalent to above. | 412 * * NAME:howl --> Equivalent to above. |
| 421 * * labels.env:* --> The instance has the label "env". | 413 * * labels.env:* --> The instance has the label "env". |
| 422 * * labels.env:dev --> The instance has the label "env" and the value of | 414 * * labels.env:dev --> The instance has the label "env" and the value of |
| 423 * the label contains the string "dev". | 415 * the label contains the string "dev". |
| 424 * * name:howl labels.env:dev --> The instance's name contains "howl" and | 416 * * name:howl labels.env:dev --> The instance's name contains "howl" and |
| 425 * it has the label "env" with its value | 417 * it has the label "env" with its value |
| 426 * containing "dev". | 418 * containing "dev". |
| 427 * | 419 * |
| 420 * [pageToken] - If non-empty, `page_token` should contain a |
| 421 * next_page_token from a |
| 422 * previous ListInstancesResponse. |
| 423 * |
| 424 * [pageSize] - Number of instances to be returned in the response. If 0 or |
| 425 * less, defaults |
| 426 * to the server's maximum allowed page size. |
| 427 * |
| 428 * Completes with a [ListInstancesResponse]. | 428 * Completes with a [ListInstancesResponse]. |
| 429 * | 429 * |
| 430 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 430 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 431 * error. | 431 * error. |
| 432 * | 432 * |
| 433 * If the used [http.Client] completes with an error when making a REST call, | 433 * If the used [http.Client] completes with an error when making a REST call, |
| 434 * this method will complete with the same error. | 434 * this method will complete with the same error. |
| 435 */ | 435 */ |
| 436 async.Future<ListInstancesResponse> list(core.String parent, {core.String page
Token, core.int pageSize, core.String filter}) { | 436 async.Future<ListInstancesResponse> list(core.String parent, {core.String filt
er, core.String pageToken, core.int pageSize}) { |
| 437 var _url = null; | 437 var _url = null; |
| 438 var _queryParams = new core.Map(); | 438 var _queryParams = new core.Map(); |
| 439 var _uploadMedia = null; | 439 var _uploadMedia = null; |
| 440 var _uploadOptions = null; | 440 var _uploadOptions = null; |
| 441 var _downloadOptions = commons.DownloadOptions.Metadata; | 441 var _downloadOptions = commons.DownloadOptions.Metadata; |
| 442 var _body = null; | 442 var _body = null; |
| 443 | 443 |
| 444 if (parent == null) { | 444 if (parent == null) { |
| 445 throw new core.ArgumentError("Parameter parent is required."); | 445 throw new core.ArgumentError("Parameter parent is required."); |
| 446 } | 446 } |
| 447 if (filter != null) { |
| 448 _queryParams["filter"] = [filter]; |
| 449 } |
| 447 if (pageToken != null) { | 450 if (pageToken != null) { |
| 448 _queryParams["pageToken"] = [pageToken]; | 451 _queryParams["pageToken"] = [pageToken]; |
| 449 } | 452 } |
| 450 if (pageSize != null) { | 453 if (pageSize != null) { |
| 451 _queryParams["pageSize"] = ["${pageSize}"]; | 454 _queryParams["pageSize"] = ["${pageSize}"]; |
| 452 } | 455 } |
| 453 if (filter != null) { | |
| 454 _queryParams["filter"] = [filter]; | |
| 455 } | |
| 456 | 456 |
| 457 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/instance
s'; | 457 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/instance
s'; |
| 458 | 458 |
| 459 var _response = _requester.request(_url, | 459 var _response = _requester.request(_url, |
| 460 "GET", | 460 "GET", |
| 461 body: _body, | 461 body: _body, |
| 462 queryParams: _queryParams, | 462 queryParams: _queryParams, |
| 463 uploadOptions: _uploadOptions, | 463 uploadOptions: _uploadOptions, |
| 464 uploadMedia: _uploadMedia, | 464 uploadMedia: _uploadMedia, |
| 465 downloadOptions: _downloadOptions); | 465 downloadOptions: _downloadOptions); |
| (...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 903 | 903 |
| 904 /** | 904 /** |
| 905 * Lists Cloud Spanner databases. | 905 * Lists Cloud Spanner databases. |
| 906 * | 906 * |
| 907 * Request parameters: | 907 * Request parameters: |
| 908 * | 908 * |
| 909 * [parent] - Required. The instance whose databases should be listed. | 909 * [parent] - Required. The instance whose databases should be listed. |
| 910 * Values are of the form `projects/<project>/instances/<instance>`. | 910 * Values are of the form `projects/<project>/instances/<instance>`. |
| 911 * Value must have pattern "^projects/[^/]+/instances/[^/]+$". | 911 * Value must have pattern "^projects/[^/]+/instances/[^/]+$". |
| 912 * | 912 * |
| 913 * [pageSize] - Number of databases to be returned in the response. If 0 or |
| 914 * less, |
| 915 * defaults to the server's maximum allowed page size. |
| 916 * |
| 913 * [pageToken] - If non-empty, `page_token` should contain a | 917 * [pageToken] - If non-empty, `page_token` should contain a |
| 914 * next_page_token from a | 918 * next_page_token from a |
| 915 * previous ListDatabasesResponse. | 919 * previous ListDatabasesResponse. |
| 916 * | 920 * |
| 917 * [pageSize] - Number of databases to be returned in the response. If 0 or | |
| 918 * less, | |
| 919 * defaults to the server's maximum allowed page size. | |
| 920 * | |
| 921 * Completes with a [ListDatabasesResponse]. | 921 * Completes with a [ListDatabasesResponse]. |
| 922 * | 922 * |
| 923 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 923 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 924 * error. | 924 * error. |
| 925 * | 925 * |
| 926 * If the used [http.Client] completes with an error when making a REST call, | 926 * If the used [http.Client] completes with an error when making a REST call, |
| 927 * this method will complete with the same error. | 927 * this method will complete with the same error. |
| 928 */ | 928 */ |
| 929 async.Future<ListDatabasesResponse> list(core.String parent, {core.String page
Token, core.int pageSize}) { | 929 async.Future<ListDatabasesResponse> list(core.String parent, {core.int pageSiz
e, core.String pageToken}) { |
| 930 var _url = null; | 930 var _url = null; |
| 931 var _queryParams = new core.Map(); | 931 var _queryParams = new core.Map(); |
| 932 var _uploadMedia = null; | 932 var _uploadMedia = null; |
| 933 var _uploadOptions = null; | 933 var _uploadOptions = null; |
| 934 var _downloadOptions = commons.DownloadOptions.Metadata; | 934 var _downloadOptions = commons.DownloadOptions.Metadata; |
| 935 var _body = null; | 935 var _body = null; |
| 936 | 936 |
| 937 if (parent == null) { | 937 if (parent == null) { |
| 938 throw new core.ArgumentError("Parameter parent is required."); | 938 throw new core.ArgumentError("Parameter parent is required."); |
| 939 } | 939 } |
| 940 if (pageSize != null) { |
| 941 _queryParams["pageSize"] = ["${pageSize}"]; |
| 942 } |
| 940 if (pageToken != null) { | 943 if (pageToken != null) { |
| 941 _queryParams["pageToken"] = [pageToken]; | 944 _queryParams["pageToken"] = [pageToken]; |
| 942 } | 945 } |
| 943 if (pageSize != null) { | |
| 944 _queryParams["pageSize"] = ["${pageSize}"]; | |
| 945 } | |
| 946 | 946 |
| 947 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/database
s'; | 947 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/database
s'; |
| 948 | 948 |
| 949 var _response = _requester.request(_url, | 949 var _response = _requester.request(_url, |
| 950 "GET", | 950 "GET", |
| 951 body: _body, | 951 body: _body, |
| 952 queryParams: _queryParams, | 952 queryParams: _queryParams, |
| 953 uploadOptions: _uploadOptions, | 953 uploadOptions: _uploadOptions, |
| 954 uploadMedia: _uploadMedia, | 954 uploadMedia: _uploadMedia, |
| 955 downloadOptions: _downloadOptions); | 955 downloadOptions: _downloadOptions); |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1437 * transactions. | 1437 * transactions. |
| 1438 * | 1438 * |
| 1439 * Sessions can only execute one transaction at a time. To execute | 1439 * Sessions can only execute one transaction at a time. To execute |
| 1440 * multiple concurrent read-write/write-only transactions, create | 1440 * multiple concurrent read-write/write-only transactions, create |
| 1441 * multiple sessions. Note that standalone reads and queries use a | 1441 * multiple sessions. Note that standalone reads and queries use a |
| 1442 * transaction internally, and count toward the one transaction | 1442 * transaction internally, and count toward the one transaction |
| 1443 * limit. | 1443 * limit. |
| 1444 * | 1444 * |
| 1445 * Cloud Spanner limits the number of sessions that can exist at any given | 1445 * Cloud Spanner limits the number of sessions that can exist at any given |
| 1446 * time; thus, it is a good idea to delete idle and/or unneeded sessions. | 1446 * time; thus, it is a good idea to delete idle and/or unneeded sessions. |
| 1447 * Aside from explicit deletes, Cloud Spanner can delete sessions for | 1447 * Aside from explicit deletes, Cloud Spanner can delete sessions for which no |
| 1448 * which no operations are sent for more than an hour, or due to | 1448 * operations are sent for more than an hour. If a session is deleted, |
| 1449 * internal errors. If a session is deleted, requests to it | 1449 * requests to it return `NOT_FOUND`. |
| 1450 * return `NOT_FOUND`. | |
| 1451 * | 1450 * |
| 1452 * Idle sessions can be kept alive by sending a trivial SQL query | 1451 * Idle sessions can be kept alive by sending a trivial SQL query |
| 1453 * periodically, e.g., `"SELECT 1"`. | 1452 * periodically, e.g., `"SELECT 1"`. |
| 1454 * | 1453 * |
| 1455 * Request parameters: | 1454 * Request parameters: |
| 1456 * | 1455 * |
| 1457 * [database] - Required. The database in which the new session is created. | 1456 * [database] - Required. The database in which the new session is created. |
| 1458 * Value must have pattern "^projects/[^/]+/instances/[^/]+/databases/[^/]+$". | 1457 * Value must have pattern "^projects/[^/]+/instances/[^/]+/databases/[^/]+$". |
| 1459 * | 1458 * |
| 1460 * Completes with a [Session]. | 1459 * Completes with a [Session]. |
| (...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1994 * server doesn't support this method, it returns `UNIMPLEMENTED`. | 1993 * server doesn't support this method, it returns `UNIMPLEMENTED`. |
| 1995 * | 1994 * |
| 1996 * NOTE: the `name` binding below allows API services to override the binding | 1995 * NOTE: the `name` binding below allows API services to override the binding |
| 1997 * to use different resource name schemes, such as `users / * /operations`. | 1996 * to use different resource name schemes, such as `users / * /operations`. |
| 1998 * | 1997 * |
| 1999 * Request parameters: | 1998 * Request parameters: |
| 2000 * | 1999 * |
| 2001 * [name] - The name of the operation collection. | 2000 * [name] - The name of the operation collection. |
| 2002 * Value must have pattern "^projects/[^/]+/instances/[^/]+/operations$". | 2001 * Value must have pattern "^projects/[^/]+/instances/[^/]+/operations$". |
| 2003 * | 2002 * |
| 2003 * [filter] - The standard list filter. |
| 2004 * |
| 2004 * [pageToken] - The standard list page token. | 2005 * [pageToken] - The standard list page token. |
| 2005 * | 2006 * |
| 2006 * [pageSize] - The standard list page size. | 2007 * [pageSize] - The standard list page size. |
| 2007 * | 2008 * |
| 2008 * [filter] - The standard list filter. | |
| 2009 * | |
| 2010 * Completes with a [ListOperationsResponse]. | 2009 * Completes with a [ListOperationsResponse]. |
| 2011 * | 2010 * |
| 2012 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 2011 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 2013 * error. | 2012 * error. |
| 2014 * | 2013 * |
| 2015 * If the used [http.Client] completes with an error when making a REST call, | 2014 * If the used [http.Client] completes with an error when making a REST call, |
| 2016 * this method will complete with the same error. | 2015 * this method will complete with the same error. |
| 2017 */ | 2016 */ |
| 2018 async.Future<ListOperationsResponse> list(core.String name, {core.String pageT
oken, core.int pageSize, core.String filter}) { | 2017 async.Future<ListOperationsResponse> list(core.String name, {core.String filte
r, core.String pageToken, core.int pageSize}) { |
| 2019 var _url = null; | 2018 var _url = null; |
| 2020 var _queryParams = new core.Map(); | 2019 var _queryParams = new core.Map(); |
| 2021 var _uploadMedia = null; | 2020 var _uploadMedia = null; |
| 2022 var _uploadOptions = null; | 2021 var _uploadOptions = null; |
| 2023 var _downloadOptions = commons.DownloadOptions.Metadata; | 2022 var _downloadOptions = commons.DownloadOptions.Metadata; |
| 2024 var _body = null; | 2023 var _body = null; |
| 2025 | 2024 |
| 2026 if (name == null) { | 2025 if (name == null) { |
| 2027 throw new core.ArgumentError("Parameter name is required."); | 2026 throw new core.ArgumentError("Parameter name is required."); |
| 2028 } | 2027 } |
| 2028 if (filter != null) { |
| 2029 _queryParams["filter"] = [filter]; |
| 2030 } |
| 2029 if (pageToken != null) { | 2031 if (pageToken != null) { |
| 2030 _queryParams["pageToken"] = [pageToken]; | 2032 _queryParams["pageToken"] = [pageToken]; |
| 2031 } | 2033 } |
| 2032 if (pageSize != null) { | 2034 if (pageSize != null) { |
| 2033 _queryParams["pageSize"] = ["${pageSize}"]; | 2035 _queryParams["pageSize"] = ["${pageSize}"]; |
| 2034 } | 2036 } |
| 2035 if (filter != null) { | |
| 2036 _queryParams["filter"] = [filter]; | |
| 2037 } | |
| 2038 | 2037 |
| 2039 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name'); | 2038 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name'); |
| 2040 | 2039 |
| 2041 var _response = _requester.request(_url, | 2040 var _response = _requester.request(_url, |
| 2042 "GET", | 2041 "GET", |
| 2043 body: _body, | 2042 body: _body, |
| 2044 queryParams: _queryParams, | 2043 queryParams: _queryParams, |
| 2045 uploadOptions: _uploadOptions, | 2044 uploadOptions: _uploadOptions, |
| 2046 uploadMedia: _uploadMedia, | 2045 uploadMedia: _uploadMedia, |
| 2047 downloadOptions: _downloadOptions); | 2046 downloadOptions: _downloadOptions); |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2406 * - "ATTRIBUTION" : The principal (even if an authority selector is present), | 2405 * - "ATTRIBUTION" : The principal (even if an authority selector is present), |
| 2407 * which | 2406 * which |
| 2408 * must only be used for attribution, not authorization. | 2407 * must only be used for attribution, not authorization. |
| 2409 * - "SECURITY_REALM" : Any of the security realms in the IAMContext | 2408 * - "SECURITY_REALM" : Any of the security realms in the IAMContext |
| 2410 * (go/security-realms). | 2409 * (go/security-realms). |
| 2411 * When used with IN, the condition indicates "any of the request's realms | 2410 * When used with IN, the condition indicates "any of the request's realms |
| 2412 * match one of the given values; with NOT_IN, "none of the realms match | 2411 * match one of the given values; with NOT_IN, "none of the realms match |
| 2413 * any of the given values". It is not permitted to grant access based on | 2412 * any of the given values". It is not permitted to grant access based on |
| 2414 * the *absence* of a realm, so realm conditions can only be used in | 2413 * the *absence* of a realm, so realm conditions can only be used in |
| 2415 * a "positive" context (e.g., ALLOW/IN or DENY/NOT_IN). | 2414 * a "positive" context (e.g., ALLOW/IN or DENY/NOT_IN). |
| 2415 * - "APPROVER" : An approver (distinct from the requester) that has |
| 2416 * authorized this |
| 2417 * request. |
| 2418 * When used with IN, the condition indicates that one of the approvers |
| 2419 * associated with the request matches the specified principal, or is a |
| 2420 * member of the specified group. Approvers can only grant additional |
| 2421 * access, and are thus only used in a strictly positive context |
| 2422 * (e.g. ALLOW/IN or DENY/NOT_IN). |
| 2423 * See: go/rpc-security-policy-dynamicauth. |
| 2416 */ | 2424 */ |
| 2417 core.String iam; | 2425 core.String iam; |
| 2418 /** | 2426 /** |
| 2419 * An operator to apply the subject with. | 2427 * An operator to apply the subject with. |
| 2420 * Possible string values are: | 2428 * Possible string values are: |
| 2421 * - "NO_OP" : Default no-op. | 2429 * - "NO_OP" : Default no-op. |
| 2422 * - "EQUALS" : DEPRECATED. Use IN instead. | 2430 * - "EQUALS" : DEPRECATED. Use IN instead. |
| 2423 * - "NOT_EQUALS" : DEPRECATED. Use NOT_IN instead. | 2431 * - "NOT_EQUALS" : DEPRECATED. Use NOT_IN instead. |
| 2424 * - "IN" : Set-inclusion check. | 2432 * - "IN" : Set-inclusion check. |
| 2425 * - "NOT_IN" : Set-exclusion check. | 2433 * - "NOT_IN" : Set-exclusion check. |
| (...skipping 3194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5620 } | 5628 } |
| 5621 if (table != null) { | 5629 if (table != null) { |
| 5622 _json["table"] = table; | 5630 _json["table"] = table; |
| 5623 } | 5631 } |
| 5624 if (values != null) { | 5632 if (values != null) { |
| 5625 _json["values"] = values; | 5633 _json["values"] = values; |
| 5626 } | 5634 } |
| 5627 return _json; | 5635 return _json; |
| 5628 } | 5636 } |
| 5629 } | 5637 } |
| OLD | NEW |