Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Side by Side Diff: generated/googleapis_beta/lib/clouduseraccounts/beta.dart

Issue 1797933002: Api-roll 33: 2016-03-14 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Added resources/*/CHANGELOG.md, addresssed comments Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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.clouduseraccounts.beta; 3 library googleapis_beta.clouduseraccounts.beta;
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;
11 11
12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
13 ApiRequestError, DetailedApiRequestError; 13 ApiRequestError, DetailedApiRequestError;
14 14
15 const core.String USER_AGENT = 'dart-api-client clouduseraccounts/beta'; 15 const core.String USER_AGENT = 'dart-api-client clouduseraccounts/beta';
16 16
17 /** API for the Google Cloud User Accounts service. */ 17 /**
18 * Creates and manages users and groups for accessing Google Compute Engine
19 * virtual machines.
20 */
18 class ClouduseraccountsApi { 21 class ClouduseraccountsApi {
19 /** View and manage your data across Google Cloud Platform services */ 22 /** View and manage your data across Google Cloud Platform services */
20 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf orm"; 23 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf orm";
21 24
22 /** View your data across Google Cloud Platform services */ 25 /** View your data across Google Cloud Platform services */
23 static const CloudPlatformReadOnlyScope = "https://www.googleapis.com/auth/clo ud-platform.read-only"; 26 static const CloudPlatformReadOnlyScope = "https://www.googleapis.com/auth/clo ud-platform.read-only";
24 27
25 /** Manage your Google Cloud User Accounts */ 28 /** Manage your Google Cloud User Accounts */
26 static const CloudUseraccountsScope = "https://www.googleapis.com/auth/cloud.u seraccounts"; 29 static const CloudUseraccountsScope = "https://www.googleapis.com/auth/cloud.u seraccounts";
27 30
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 * project. 149 * project.
147 * 150 *
148 * Request parameters: 151 * Request parameters:
149 * 152 *
150 * [project] - Project ID for this request. 153 * [project] - Project ID for this request.
151 * Value must have pattern 154 * Value must have pattern
152 * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{ 1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))". 155 * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{ 1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))".
153 * 156 *
154 * [filter] - Sets a filter expression for filtering listed resources, in the 157 * [filter] - Sets a filter expression for filtering listed resources, in the
155 * form filter={expression}. Your {expression} must be in the format: 158 * form filter={expression}. Your {expression} must be in the format:
156 * FIELD_NAME COMPARISON_STRING LITERAL_STRING. 159 * field_name comparison_string literal_string.
157 * 160 *
158 * The FIELD_NAME is the name of the field you want to compare. Only atomic 161 * The field_name is the name of the field you want to compare. Only atomic
159 * field types are supported (string, number, boolean). The COMPARISON_STRING 162 * field types are supported (string, number, boolean). The comparison_string
160 * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the 163 * must be either eq (equals) or ne (not equals). The literal_string is the
161 * string value to filter to. The literal value must be valid for the type of 164 * string value to filter to. The literal value must be valid for the type of
162 * field (string, number, boolean). For string fields, the literal value is 165 * field you are filtering by (string, number, boolean). For string fields,
163 * interpreted as a regular expression using RE2 syntax. The literal value 166 * the literal value is interpreted as a regular expression using RE2 syntax.
164 * must match the entire field. 167 * The literal value must match the entire field.
165 * 168 *
166 * For example, filter=name ne example-instance. 169 * For example, to filter for instances that do not have a name of
170 * example-instance, you would use filter=name ne example-instance.
167 * 171 *
168 * [maxResults] - Maximum count of results to be returned. 172 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
173 * also filter on nested fields. For example, you could filter on instances
174 * that have set the scheduling.automaticRestart field to true. In particular,
175 * use filtering on nested fields to take advantage of instance labels to
176 * organize and filter results based on label values.
177 *
178 * The Beta API also supports filtering on multiple expressions by providing
179 * each separate expression within parentheses. For example,
180 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
181 * expressions are treated as AND expressions, meaning that resources must
182 * match all expressions to pass the filters.
183 *
184 * [maxResults] - The maximum number of results per page that should be
185 * returned. If the number of available results is larger than maxResults,
186 * Compute Engine returns a nextPageToken that can be used to get the next
187 * page of results in subsequent list requests.
169 * Value must be between "0" and "500". 188 * Value must be between "0" and "500".
170 * 189 *
171 * [orderBy] - Sorts list results by a certain order. By default, results are 190 * [orderBy] - Sorts list results by a certain order. By default, results are
172 * returned in alphanumerical order based on the resource name. 191 * returned in alphanumerical order based on the resource name.
173 * 192 *
174 * You can also sort results in descending order based on the creation 193 * You can also sort results in descending order based on the creation
175 * timestamp using orderBy="creationTimestamp desc". This sorts results based 194 * timestamp using orderBy="creationTimestamp desc". This sorts results based
176 * on the creationTimestamp field in reverse chronological order (newest 195 * on the creationTimestamp field in reverse chronological order (newest
177 * result first). Use this to sort resources like operations so that the 196 * result first). Use this to sort resources like operations so that the
178 * newest operation is returned first. 197 * newest operation is returned first.
179 * 198 *
180 * Currently, only sorting by name or creationTimestamp desc is supported. 199 * Currently, only sorting by name or creationTimestamp desc is supported.
181 * 200 *
182 * [pageToken] - Specifies a page token to use. Use this parameter if you want 201 * [pageToken] - Specifies a page token to use. Set pageToken to the
183 * to list the next page of results. Set pageToken to the nextPageToken 202 * nextPageToken returned by a previous list request to get the next page of
184 * returned by a previous list request. 203 * results.
185 * 204 *
186 * Completes with a [OperationList]. 205 * Completes with a [OperationList].
187 * 206 *
188 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 207 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
189 * error. 208 * error.
190 * 209 *
191 * If the used [http.Client] completes with an error when making a REST call, 210 * If the used [http.Client] completes with an error when making a REST call,
192 * this method will complete with the same error. 211 * this method will complete with the same error.
193 */ 212 */
194 async.Future<OperationList> list(core.String project, {core.String filter, cor e.int maxResults, core.String orderBy, core.String pageToken}) { 213 async.Future<OperationList> list(core.String project, {core.String filter, cor e.int maxResults, core.String orderBy, core.String pageToken}) {
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 * Retrieves the list of groups contained within the specified project. 452 * Retrieves the list of groups contained within the specified project.
434 * 453 *
435 * Request parameters: 454 * Request parameters:
436 * 455 *
437 * [project] - Project ID for this request. 456 * [project] - Project ID for this request.
438 * Value must have pattern 457 * Value must have pattern
439 * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{ 1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))". 458 * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{ 1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))".
440 * 459 *
441 * [filter] - Sets a filter expression for filtering listed resources, in the 460 * [filter] - Sets a filter expression for filtering listed resources, in the
442 * form filter={expression}. Your {expression} must be in the format: 461 * form filter={expression}. Your {expression} must be in the format:
443 * FIELD_NAME COMPARISON_STRING LITERAL_STRING. 462 * field_name comparison_string literal_string.
444 * 463 *
445 * The FIELD_NAME is the name of the field you want to compare. Only atomic 464 * The field_name is the name of the field you want to compare. Only atomic
446 * field types are supported (string, number, boolean). The COMPARISON_STRING 465 * field types are supported (string, number, boolean). The comparison_string
447 * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the 466 * must be either eq (equals) or ne (not equals). The literal_string is the
448 * string value to filter to. The literal value must be valid for the type of 467 * string value to filter to. The literal value must be valid for the type of
449 * field (string, number, boolean). For string fields, the literal value is 468 * field you are filtering by (string, number, boolean). For string fields,
450 * interpreted as a regular expression using RE2 syntax. The literal value 469 * the literal value is interpreted as a regular expression using RE2 syntax.
451 * must match the entire field. 470 * The literal value must match the entire field.
452 * 471 *
453 * For example, filter=name ne example-instance. 472 * For example, to filter for instances that do not have a name of
473 * example-instance, you would use filter=name ne example-instance.
454 * 474 *
455 * [maxResults] - Maximum count of results to be returned. 475 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
476 * also filter on nested fields. For example, you could filter on instances
477 * that have set the scheduling.automaticRestart field to true. In particular,
478 * use filtering on nested fields to take advantage of instance labels to
479 * organize and filter results based on label values.
480 *
481 * The Beta API also supports filtering on multiple expressions by providing
482 * each separate expression within parentheses. For example,
483 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
484 * expressions are treated as AND expressions, meaning that resources must
485 * match all expressions to pass the filters.
486 *
487 * [maxResults] - The maximum number of results per page that should be
488 * returned. If the number of available results is larger than maxResults,
489 * Compute Engine returns a nextPageToken that can be used to get the next
490 * page of results in subsequent list requests.
456 * Value must be between "0" and "500". 491 * Value must be between "0" and "500".
457 * 492 *
458 * [orderBy] - Sorts list results by a certain order. By default, results are 493 * [orderBy] - Sorts list results by a certain order. By default, results are
459 * returned in alphanumerical order based on the resource name. 494 * returned in alphanumerical order based on the resource name.
460 * 495 *
461 * You can also sort results in descending order based on the creation 496 * You can also sort results in descending order based on the creation
462 * timestamp using orderBy="creationTimestamp desc". This sorts results based 497 * timestamp using orderBy="creationTimestamp desc". This sorts results based
463 * on the creationTimestamp field in reverse chronological order (newest 498 * on the creationTimestamp field in reverse chronological order (newest
464 * result first). Use this to sort resources like operations so that the 499 * result first). Use this to sort resources like operations so that the
465 * newest operation is returned first. 500 * newest operation is returned first.
466 * 501 *
467 * Currently, only sorting by name or creationTimestamp desc is supported. 502 * Currently, only sorting by name or creationTimestamp desc is supported.
468 * 503 *
469 * [pageToken] - Specifies a page token to use. Use this parameter if you want 504 * [pageToken] - Specifies a page token to use. Set pageToken to the
470 * to list the next page of results. Set pageToken to the nextPageToken 505 * nextPageToken returned by a previous list request to get the next page of
471 * returned by a previous list request. 506 * results.
472 * 507 *
473 * Completes with a [GroupList]. 508 * Completes with a [GroupList].
474 * 509 *
475 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 510 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
476 * error. 511 * error.
477 * 512 *
478 * If the used [http.Client] completes with an error when making a REST call, 513 * If the used [http.Client] completes with an error when making a REST call,
479 * this method will complete with the same error. 514 * this method will complete with the same error.
480 */ 515 */
481 async.Future<GroupList> list(core.String project, {core.String filter, core.in t maxResults, core.String orderBy, core.String pageToken}) { 516 async.Future<GroupList> list(core.String project, {core.String filter, core.in t maxResults, core.String orderBy, core.String pageToken}) {
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{ 1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))". 687 * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{ 1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))".
653 * 688 *
654 * [zone] - Name of the zone for this request. 689 * [zone] - Name of the zone for this request.
655 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 690 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
656 * 691 *
657 * [instance] - The fully-qualified URL of the virtual machine requesting the 692 * [instance] - The fully-qualified URL of the virtual machine requesting the
658 * views. 693 * views.
659 * 694 *
660 * [filter] - Sets a filter expression for filtering listed resources, in the 695 * [filter] - Sets a filter expression for filtering listed resources, in the
661 * form filter={expression}. Your {expression} must be in the format: 696 * form filter={expression}. Your {expression} must be in the format:
662 * FIELD_NAME COMPARISON_STRING LITERAL_STRING. 697 * field_name comparison_string literal_string.
663 * 698 *
664 * The FIELD_NAME is the name of the field you want to compare. Only atomic 699 * The field_name is the name of the field you want to compare. Only atomic
665 * field types are supported (string, number, boolean). The COMPARISON_STRING 700 * field types are supported (string, number, boolean). The comparison_string
666 * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the 701 * must be either eq (equals) or ne (not equals). The literal_string is the
667 * string value to filter to. The literal value must be valid for the type of 702 * string value to filter to. The literal value must be valid for the type of
668 * field (string, number, boolean). For string fields, the literal value is 703 * field you are filtering by (string, number, boolean). For string fields,
669 * interpreted as a regular expression using RE2 syntax. The literal value 704 * the literal value is interpreted as a regular expression using RE2 syntax.
670 * must match the entire field. 705 * The literal value must match the entire field.
671 * 706 *
672 * For example, filter=name ne example-instance. 707 * For example, to filter for instances that do not have a name of
708 * example-instance, you would use filter=name ne example-instance.
673 * 709 *
674 * [maxResults] - Maximum count of results to be returned. 710 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
711 * also filter on nested fields. For example, you could filter on instances
712 * that have set the scheduling.automaticRestart field to true. In particular,
713 * use filtering on nested fields to take advantage of instance labels to
714 * organize and filter results based on label values.
715 *
716 * The Beta API also supports filtering on multiple expressions by providing
717 * each separate expression within parentheses. For example,
718 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
719 * expressions are treated as AND expressions, meaning that resources must
720 * match all expressions to pass the filters.
721 *
722 * [maxResults] - The maximum number of results per page that should be
723 * returned. If the number of available results is larger than maxResults,
724 * Compute Engine returns a nextPageToken that can be used to get the next
725 * page of results in subsequent list requests.
675 * Value must be between "0" and "500". 726 * Value must be between "0" and "500".
676 * 727 *
677 * [orderBy] - Sorts list results by a certain order. By default, results are 728 * [orderBy] - Sorts list results by a certain order. By default, results are
678 * returned in alphanumerical order based on the resource name. 729 * returned in alphanumerical order based on the resource name.
679 * 730 *
680 * You can also sort results in descending order based on the creation 731 * You can also sort results in descending order based on the creation
681 * timestamp using orderBy="creationTimestamp desc". This sorts results based 732 * timestamp using orderBy="creationTimestamp desc". This sorts results based
682 * on the creationTimestamp field in reverse chronological order (newest 733 * on the creationTimestamp field in reverse chronological order (newest
683 * result first). Use this to sort resources like operations so that the 734 * result first). Use this to sort resources like operations so that the
684 * newest operation is returned first. 735 * newest operation is returned first.
685 * 736 *
686 * Currently, only sorting by name or creationTimestamp desc is supported. 737 * Currently, only sorting by name or creationTimestamp desc is supported.
687 * 738 *
688 * [pageToken] - Specifies a page token to use. Use this parameter if you want 739 * [pageToken] - Specifies a page token to use. Set pageToken to the
689 * to list the next page of results. Set pageToken to the nextPageToken 740 * nextPageToken returned by a previous list request to get the next page of
690 * returned by a previous list request. 741 * results.
691 * 742 *
692 * Completes with a [LinuxGetLinuxAccountViewsResponse]. 743 * Completes with a [LinuxGetLinuxAccountViewsResponse].
693 * 744 *
694 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 745 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
695 * error. 746 * error.
696 * 747 *
697 * If the used [http.Client] completes with an error when making a REST call, 748 * If the used [http.Client] completes with an error when making a REST call,
698 * this method will complete with the same error. 749 * this method will complete with the same error.
699 */ 750 */
700 async.Future<LinuxGetLinuxAccountViewsResponse> getLinuxAccountViews(core.Stri ng project, core.String zone, core.String instance, {core.String filter, core.in t maxResults, core.String orderBy, core.String pageToken}) { 751 async.Future<LinuxGetLinuxAccountViewsResponse> getLinuxAccountViews(core.Stri ng project, core.String zone, core.String instance, {core.String filter, core.in t maxResults, core.String orderBy, core.String pageToken}) {
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 * Retrieves a list of users contained within the specified project. 998 * Retrieves a list of users contained within the specified project.
948 * 999 *
949 * Request parameters: 1000 * Request parameters:
950 * 1001 *
951 * [project] - Project ID for this request. 1002 * [project] - Project ID for this request.
952 * Value must have pattern 1003 * Value must have pattern
953 * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{ 1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))". 1004 * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{ 1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))".
954 * 1005 *
955 * [filter] - Sets a filter expression for filtering listed resources, in the 1006 * [filter] - Sets a filter expression for filtering listed resources, in the
956 * form filter={expression}. Your {expression} must be in the format: 1007 * form filter={expression}. Your {expression} must be in the format:
957 * FIELD_NAME COMPARISON_STRING LITERAL_STRING. 1008 * field_name comparison_string literal_string.
958 * 1009 *
959 * The FIELD_NAME is the name of the field you want to compare. Only atomic 1010 * The field_name is the name of the field you want to compare. Only atomic
960 * field types are supported (string, number, boolean). The COMPARISON_STRING 1011 * field types are supported (string, number, boolean). The comparison_string
961 * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the 1012 * must be either eq (equals) or ne (not equals). The literal_string is the
962 * string value to filter to. The literal value must be valid for the type of 1013 * string value to filter to. The literal value must be valid for the type of
963 * field (string, number, boolean). For string fields, the literal value is 1014 * field you are filtering by (string, number, boolean). For string fields,
964 * interpreted as a regular expression using RE2 syntax. The literal value 1015 * the literal value is interpreted as a regular expression using RE2 syntax.
965 * must match the entire field. 1016 * The literal value must match the entire field.
966 * 1017 *
967 * For example, filter=name ne example-instance. 1018 * For example, to filter for instances that do not have a name of
1019 * example-instance, you would use filter=name ne example-instance.
968 * 1020 *
969 * [maxResults] - Maximum count of results to be returned. 1021 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
1022 * also filter on nested fields. For example, you could filter on instances
1023 * that have set the scheduling.automaticRestart field to true. In particular,
1024 * use filtering on nested fields to take advantage of instance labels to
1025 * organize and filter results based on label values.
1026 *
1027 * The Beta API also supports filtering on multiple expressions by providing
1028 * each separate expression within parentheses. For example,
1029 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
1030 * expressions are treated as AND expressions, meaning that resources must
1031 * match all expressions to pass the filters.
1032 *
1033 * [maxResults] - The maximum number of results per page that should be
1034 * returned. If the number of available results is larger than maxResults,
1035 * Compute Engine returns a nextPageToken that can be used to get the next
1036 * page of results in subsequent list requests.
970 * Value must be between "0" and "500". 1037 * Value must be between "0" and "500".
971 * 1038 *
972 * [orderBy] - Sorts list results by a certain order. By default, results are 1039 * [orderBy] - Sorts list results by a certain order. By default, results are
973 * returned in alphanumerical order based on the resource name. 1040 * returned in alphanumerical order based on the resource name.
974 * 1041 *
975 * You can also sort results in descending order based on the creation 1042 * You can also sort results in descending order based on the creation
976 * timestamp using orderBy="creationTimestamp desc". This sorts results based 1043 * timestamp using orderBy="creationTimestamp desc". This sorts results based
977 * on the creationTimestamp field in reverse chronological order (newest 1044 * on the creationTimestamp field in reverse chronological order (newest
978 * result first). Use this to sort resources like operations so that the 1045 * result first). Use this to sort resources like operations so that the
979 * newest operation is returned first. 1046 * newest operation is returned first.
980 * 1047 *
981 * Currently, only sorting by name or creationTimestamp desc is supported. 1048 * Currently, only sorting by name or creationTimestamp desc is supported.
982 * 1049 *
983 * [pageToken] - Specifies a page token to use. Use this parameter if you want 1050 * [pageToken] - Specifies a page token to use. Set pageToken to the
984 * to list the next page of results. Set pageToken to the nextPageToken 1051 * nextPageToken returned by a previous list request to get the next page of
985 * returned by a previous list request. 1052 * results.
986 * 1053 *
987 * Completes with a [UserList]. 1054 * Completes with a [UserList].
988 * 1055 *
989 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1056 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
990 * error. 1057 * error.
991 * 1058 *
992 * If the used [http.Client] completes with an error when making a REST call, 1059 * If the used [http.Client] completes with an error when making a REST call,
993 * this method will complete with the same error. 1060 * this method will complete with the same error.
994 */ 1061 */
995 async.Future<UserList> list(core.String project, {core.String filter, core.int maxResults, core.String orderBy, core.String pageToken}) { 1062 async.Future<UserList> list(core.String project, {core.String filter, core.int maxResults, core.String orderBy, core.String pageToken}) {
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
1489 _json["username"] = username; 1556 _json["username"] = username;
1490 } 1557 }
1491 return _json; 1558 return _json;
1492 } 1559 }
1493 } 1560 }
1494 1561
1495 class OperationErrorErrors { 1562 class OperationErrorErrors {
1496 /** [Output Only] The error type identifier for this error. */ 1563 /** [Output Only] The error type identifier for this error. */
1497 core.String code; 1564 core.String code;
1498 /** 1565 /**
1499 * [Output Only] Indicates the field in the request which caused the error. 1566 * [Output Only] Indicates the field in the request that caused the error.
1500 * This property is optional. 1567 * This property is optional.
1501 */ 1568 */
1502 core.String location; 1569 core.String location;
1503 /** [Output Only] An optional, human-readable error message. */ 1570 /** [Output Only] An optional, human-readable error message. */
1504 core.String message; 1571 core.String message;
1505 1572
1506 OperationErrorErrors(); 1573 OperationErrorErrors();
1507 1574
1508 OperationErrorErrors.fromJson(core.Map _json) { 1575 OperationErrorErrors.fromJson(core.Map _json) {
1509 if (_json.containsKey("code")) { 1576 if (_json.containsKey("code")) {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
1554 core.Map toJson() { 1621 core.Map toJson() {
1555 var _json = new core.Map(); 1622 var _json = new core.Map();
1556 if (errors != null) { 1623 if (errors != null) {
1557 _json["errors"] = errors.map((value) => (value).toJson()).toList(); 1624 _json["errors"] = errors.map((value) => (value).toJson()).toList();
1558 } 1625 }
1559 return _json; 1626 return _json;
1560 } 1627 }
1561 } 1628 }
1562 1629
1563 class OperationWarningsData { 1630 class OperationWarningsData {
1564 /** [Output Only] A key for the warning data. */ 1631 /**
1632 * [Output Only] A key that provides more detail on the warning being
1633 * returned. For example, for warnings where there are no results in a list
1634 * request for a particular zone, this key might be scope and the key value
1635 * might be the zone name. Other examples might be a key indicating a
1636 * deprecated resource and a suggested replacement, or a warning about invalid
1637 * network settings (for example, if an instance attempts to perform IP
1638 * forwarding but is not enabled for IP forwarding).
1639 */
1565 core.String key; 1640 core.String key;
1566 /** [Output Only] A warning data value corresponding to the key. */ 1641 /** [Output Only] A warning data value corresponding to the key. */
1567 core.String value; 1642 core.String value;
1568 1643
1569 OperationWarningsData(); 1644 OperationWarningsData();
1570 1645
1571 OperationWarningsData.fromJson(core.Map _json) { 1646 OperationWarningsData.fromJson(core.Map _json) {
1572 if (_json.containsKey("key")) { 1647 if (_json.containsKey("key")) {
1573 key = _json["key"]; 1648 key = _json["key"];
1574 } 1649 }
1575 if (_json.containsKey("value")) { 1650 if (_json.containsKey("value")) {
1576 value = _json["value"]; 1651 value = _json["value"];
1577 } 1652 }
1578 } 1653 }
1579 1654
1580 core.Map toJson() { 1655 core.Map toJson() {
1581 var _json = new core.Map(); 1656 var _json = new core.Map();
1582 if (key != null) { 1657 if (key != null) {
1583 _json["key"] = key; 1658 _json["key"] = key;
1584 } 1659 }
1585 if (value != null) { 1660 if (value != null) {
1586 _json["value"] = value; 1661 _json["value"] = value;
1587 } 1662 }
1588 return _json; 1663 return _json;
1589 } 1664 }
1590 } 1665 }
1591 1666
1592 class OperationWarnings { 1667 class OperationWarnings {
1593 /** 1668 /**
1594 * [Output Only] The warning type identifier for this warning. 1669 * [Output Only] A warning code, if applicable. For example, Compute Engine
1670 * returns NO_RESULTS_ON_PAGE if there are no results in the response.
1595 * Possible string values are: 1671 * Possible string values are:
1672 * - "CLEANUP_FAILED"
1596 * - "DEPRECATED_RESOURCE_USED" 1673 * - "DEPRECATED_RESOURCE_USED"
1597 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" 1674 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
1598 * - "INJECTED_KERNELS_DEPRECATED" 1675 * - "INJECTED_KERNELS_DEPRECATED"
1599 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED" 1676 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
1600 * - "NEXT_HOP_CANNOT_IP_FORWARD" 1677 * - "NEXT_HOP_CANNOT_IP_FORWARD"
1601 * - "NEXT_HOP_INSTANCE_NOT_FOUND" 1678 * - "NEXT_HOP_INSTANCE_NOT_FOUND"
1602 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" 1679 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
1603 * - "NEXT_HOP_NOT_RUNNING" 1680 * - "NEXT_HOP_NOT_RUNNING"
1604 * - "NOT_CRITICAL_ERROR" 1681 * - "NOT_CRITICAL_ERROR"
1605 * - "NO_RESULTS_ON_PAGE" 1682 * - "NO_RESULTS_ON_PAGE"
1606 * - "REQUIRED_TOS_AGREEMENT" 1683 * - "REQUIRED_TOS_AGREEMENT"
1607 * - "RESOURCE_NOT_DELETED" 1684 * - "RESOURCE_NOT_DELETED"
1608 * - "SINGLE_INSTANCE_PROPERTY_TEMPLATE" 1685 * - "SINGLE_INSTANCE_PROPERTY_TEMPLATE"
1609 * - "UNREACHABLE" 1686 * - "UNREACHABLE"
1610 */ 1687 */
1611 core.String code; 1688 core.String code;
1612 /** [Output Only] Metadata for this warning in key: value format. */ 1689 /**
1690 * [Output Only] Metadata about this warning in key: value format. For
1691 * example:
1692 * "data": [ { "key": "scope", "value": "zones/us-east1-d" }
1693 */
1613 core.List<OperationWarningsData> data; 1694 core.List<OperationWarningsData> data;
1614 /** [Output Only] Optional human-readable details for this warning. */ 1695 /** [Output Only] A human-readable description of the warning code. */
1615 core.String message; 1696 core.String message;
1616 1697
1617 OperationWarnings(); 1698 OperationWarnings();
1618 1699
1619 OperationWarnings.fromJson(core.Map _json) { 1700 OperationWarnings.fromJson(core.Map _json) {
1620 if (_json.containsKey("code")) { 1701 if (_json.containsKey("code")) {
1621 code = _json["code"]; 1702 code = _json["code"];
1622 } 1703 }
1623 if (_json.containsKey("data")) { 1704 if (_json.containsKey("data")) {
1624 data = _json["data"].map((value) => new OperationWarningsData.fromJson(val ue)).toList(); 1705 data = _json["data"].map((value) => new OperationWarningsData.fromJson(val ue)).toList();
(...skipping 13 matching lines...) Expand all
1638 } 1719 }
1639 if (message != null) { 1720 if (message != null) {
1640 _json["message"] = message; 1721 _json["message"] = message;
1641 } 1722 }
1642 return _json; 1723 return _json;
1643 } 1724 }
1644 } 1725 }
1645 1726
1646 /** An Operation resource, used to manage asynchronous API requests. */ 1727 /** An Operation resource, used to manage asynchronous API requests. */
1647 class Operation { 1728 class Operation {
1648 /** 1729 /** [Output Only] Reserved for future use. */
1649 * [Output Only] An optional identifier specified by the client when the
1650 * mutation was initiated. Must be unique for all Operation resources in the
1651 * project.
1652 */
1653 core.String clientOperationId; 1730 core.String clientOperationId;
1654 /** [Output Only] Creation timestamp in RFC3339 text format. */ 1731 /** [Output Only] Creation timestamp in RFC3339 text format. */
1655 core.String creationTimestamp; 1732 core.String creationTimestamp;
1656 /** 1733 /**
1657 * [Output Only] The time that this operation was completed. This is in 1734 * [Output Only] A textual description of the operation, which is set when the
1735 * operation is created.
1736 */
1737 core.String description;
1738 /**
1739 * [Output Only] The time that this operation was completed. This value is in
1658 * RFC3339 text format. 1740 * RFC3339 text format.
1659 */ 1741 */
1660 core.String endTime; 1742 core.String endTime;
1661 /** 1743 /**
1662 * [Output Only] If errors are generated during processing of the operation, 1744 * [Output Only] If errors are generated during processing of the operation,
1663 * this field will be populated. 1745 * this field will be populated.
1664 */ 1746 */
1665 OperationError error; 1747 OperationError error;
1666 /** 1748 /**
1667 * [Output Only] If the operation fails, this field contains the HTTP error 1749 * [Output Only] If the operation fails, this field contains the HTTP error
1668 * message that was returned, such as NOT FOUND. 1750 * message that was returned, such as NOT FOUND.
1669 */ 1751 */
1670 core.String httpErrorMessage; 1752 core.String httpErrorMessage;
1671 /** 1753 /**
1672 * [Output Only] If the operation fails, this field contains the HTTP error 1754 * [Output Only] If the operation fails, this field contains the HTTP error
1673 * message that was returned, such as 404. 1755 * status code that was returned. For example, a 404 means the resource was
1756 * not found.
1674 */ 1757 */
1675 core.int httpErrorStatusCode; 1758 core.int httpErrorStatusCode;
1676 /** 1759 /**
1677 * [Output Only] Unique identifier for the resource; defined by the server. 1760 * [Output Only] The unique identifier for the resource. This identifier is
1761 * defined by the server.
1678 */ 1762 */
1679 core.String id; 1763 core.String id;
1680 /** 1764 /**
1681 * [Output Only] The time that this operation was requested. This is in 1765 * [Output Only] The time that this operation was requested. This value is in
1682 * RFC3339 text format. 1766 * RFC3339 text format.
1683 */ 1767 */
1684 core.String insertTime; 1768 core.String insertTime;
1685 /** 1769 /**
1686 * [Output Only] Type of the resource. Always compute#operation for Operation 1770 * [Output Only] Type of the resource. Always compute#operation for operation
1687 * resources. 1771 * resources.
1688 */ 1772 */
1689 core.String kind; 1773 core.String kind;
1690 /** [Output Only] Name of the resource. */ 1774 /** [Output Only] Name of the resource. */
1691 core.String name; 1775 core.String name;
1692 /** 1776 /**
1693 * [Output Only] Type of the operation, such as insert, 1777 * [Output Only] The type of operation, such as insert, update, or delete, and
1694 * compute.instanceGroups.update, or compute.instanceGroups.delete. 1778 * so on.
1695 */ 1779 */
1696 core.String operationType; 1780 core.String operationType;
1697 /** 1781 /**
1698 * [Output Only] An optional progress indicator that ranges from 0 to 100. 1782 * [Output Only] An optional progress indicator that ranges from 0 to 100.
1699 * There is no requirement that this be linear or support any granularity of 1783 * There is no requirement that this be linear or support any granularity of
1700 * operations. This should not be used to guess at when the operation will be 1784 * operations. This should not be used to guess when the operation will be
1701 * complete. This number should monotonically increase as the operation 1785 * complete. This number should monotonically increase as the operation
1702 * progresses. 1786 * progresses.
1703 */ 1787 */
1704 core.int progress; 1788 core.int progress;
1705 /** 1789 /**
1706 * [Output Only] URL of the region where the operation resides. Only 1790 * [Output Only] The URL of the region where the operation resides. Only
1707 * applicable for regional resources. 1791 * available when performing regional operations.
1708 */ 1792 */
1709 core.String region; 1793 core.String region;
1710 /** [Output Only] Server-defined URL for the resource. */ 1794 /** [Output Only] Server-defined URL for the resource. */
1711 core.String selfLink; 1795 core.String selfLink;
1712 /** 1796 /**
1713 * [Output Only] The time that this operation was started by the server. This 1797 * [Output Only] The time that this operation was started by the server. This
1714 * is in RFC3339 text format. 1798 * value is in RFC3339 text format.
1715 */ 1799 */
1716 core.String startTime; 1800 core.String startTime;
1717 /** 1801 /**
1718 * [Output Only] Status of the operation. Can be one of the following: 1802 * [Output Only] The status of the operation, which can be one of the
1719 * PENDING, RUNNING, or DONE. 1803 * following: PENDING, RUNNING, or DONE.
1720 * Possible string values are: 1804 * Possible string values are:
1721 * - "DONE" 1805 * - "DONE"
1722 * - "PENDING" 1806 * - "PENDING"
1723 * - "RUNNING" 1807 * - "RUNNING"
1724 */ 1808 */
1725 core.String status; 1809 core.String status;
1726 /** 1810 /**
1727 * [Output Only] An optional textual description of the current status of the 1811 * [Output Only] An optional textual description of the current status of the
1728 * operation. 1812 * operation.
1729 */ 1813 */
1730 core.String statusMessage; 1814 core.String statusMessage;
1731 /** 1815 /**
1732 * [Output Only] Unique target ID which identifies a particular incarnation of 1816 * [Output Only] The unique target ID, which identifies a specific incarnation
1733 * the target. 1817 * of the target resource.
1734 */ 1818 */
1735 core.String targetId; 1819 core.String targetId;
1736 /** [Output Only] URL of the resource the operation is mutating. */ 1820 /** [Output Only] The URL of the resource that the operation modifies. */
1737 core.String targetLink; 1821 core.String targetLink;
1738 /** 1822 /**
1739 * [Output Only] User who requested the operation, for example: 1823 * [Output Only] User who requested the operation, for example:
1740 * user@example.com. 1824 * user@example.com.
1741 */ 1825 */
1742 core.String user; 1826 core.String user;
1743 /** 1827 /**
1744 * [Output Only] If warning messages are generated during processing of the 1828 * [Output Only] If warning messages are generated during processing of the
1745 * operation, this field will be populated. 1829 * operation, this field will be populated.
1746 */ 1830 */
1747 core.List<OperationWarnings> warnings; 1831 core.List<OperationWarnings> warnings;
1748 /** [Output Only] URL of the zone where the operation resides. */ 1832 /**
1833 * [Output Only] The URL of the zone where the operation resides. Only
1834 * available when performing per-zone operations.
1835 */
1749 core.String zone; 1836 core.String zone;
1750 1837
1751 Operation(); 1838 Operation();
1752 1839
1753 Operation.fromJson(core.Map _json) { 1840 Operation.fromJson(core.Map _json) {
1754 if (_json.containsKey("clientOperationId")) { 1841 if (_json.containsKey("clientOperationId")) {
1755 clientOperationId = _json["clientOperationId"]; 1842 clientOperationId = _json["clientOperationId"];
1756 } 1843 }
1757 if (_json.containsKey("creationTimestamp")) { 1844 if (_json.containsKey("creationTimestamp")) {
1758 creationTimestamp = _json["creationTimestamp"]; 1845 creationTimestamp = _json["creationTimestamp"];
1759 } 1846 }
1847 if (_json.containsKey("description")) {
1848 description = _json["description"];
1849 }
1760 if (_json.containsKey("endTime")) { 1850 if (_json.containsKey("endTime")) {
1761 endTime = _json["endTime"]; 1851 endTime = _json["endTime"];
1762 } 1852 }
1763 if (_json.containsKey("error")) { 1853 if (_json.containsKey("error")) {
1764 error = new OperationError.fromJson(_json["error"]); 1854 error = new OperationError.fromJson(_json["error"]);
1765 } 1855 }
1766 if (_json.containsKey("httpErrorMessage")) { 1856 if (_json.containsKey("httpErrorMessage")) {
1767 httpErrorMessage = _json["httpErrorMessage"]; 1857 httpErrorMessage = _json["httpErrorMessage"];
1768 } 1858 }
1769 if (_json.containsKey("httpErrorStatusCode")) { 1859 if (_json.containsKey("httpErrorStatusCode")) {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
1820 } 1910 }
1821 1911
1822 core.Map toJson() { 1912 core.Map toJson() {
1823 var _json = new core.Map(); 1913 var _json = new core.Map();
1824 if (clientOperationId != null) { 1914 if (clientOperationId != null) {
1825 _json["clientOperationId"] = clientOperationId; 1915 _json["clientOperationId"] = clientOperationId;
1826 } 1916 }
1827 if (creationTimestamp != null) { 1917 if (creationTimestamp != null) {
1828 _json["creationTimestamp"] = creationTimestamp; 1918 _json["creationTimestamp"] = creationTimestamp;
1829 } 1919 }
1920 if (description != null) {
1921 _json["description"] = description;
1922 }
1830 if (endTime != null) { 1923 if (endTime != null) {
1831 _json["endTime"] = endTime; 1924 _json["endTime"] = endTime;
1832 } 1925 }
1833 if (error != null) { 1926 if (error != null) {
1834 _json["error"] = (error).toJson(); 1927 _json["error"] = (error).toJson();
1835 } 1928 }
1836 if (httpErrorMessage != null) { 1929 if (httpErrorMessage != null) {
1837 _json["httpErrorMessage"] = httpErrorMessage; 1930 _json["httpErrorMessage"] = httpErrorMessage;
1838 } 1931 }
1839 if (httpErrorStatusCode != null) { 1932 if (httpErrorStatusCode != null) {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
1887 if (zone != null) { 1980 if (zone != null) {
1888 _json["zone"] = zone; 1981 _json["zone"] = zone;
1889 } 1982 }
1890 return _json; 1983 return _json;
1891 } 1984 }
1892 } 1985 }
1893 1986
1894 /** Contains a list of Operation resources. */ 1987 /** Contains a list of Operation resources. */
1895 class OperationList { 1988 class OperationList {
1896 /** 1989 /**
1897 * [Output Only] Unique identifier for the resource; defined by the server. 1990 * [Output Only] The unique identifier for the resource. This identifier is
1991 * defined by the server.
1898 */ 1992 */
1899 core.String id; 1993 core.String id;
1900 /** [Output Only] The Operation resources. */ 1994 /** [Output Only] A list of Operation resources. */
1901 core.List<Operation> items; 1995 core.List<Operation> items;
1902 /** 1996 /**
1903 * [Output Only] Type of resource. Always compute#operations for Operations 1997 * [Output Only] Type of resource. Always compute#operations for Operations
1904 * resource. 1998 * resource.
1905 */ 1999 */
1906 core.String kind; 2000 core.String kind;
1907 /** [Output Only] A token used to continue a truncate. */ 2001 /**
2002 * [Output Only] This token allows you to get the next page of results for
2003 * list requests. If the number of results is larger than maxResults, use the
2004 * nextPageToken as a value for the query parameter pageToken in the next list
2005 * request. Subsequent list requests will have their own nextPageToken to
2006 * continue paging through the results.
2007 */
1908 core.String nextPageToken; 2008 core.String nextPageToken;
1909 /** [Output Only] Server-defined URL for this resource. */ 2009 /** [Output Only] Server-defined URL for this resource. */
1910 core.String selfLink; 2010 core.String selfLink;
1911 2011
1912 OperationList(); 2012 OperationList();
1913 2013
1914 OperationList.fromJson(core.Map _json) { 2014 OperationList.fromJson(core.Map _json) {
1915 if (_json.containsKey("id")) { 2015 if (_json.containsKey("id")) {
1916 id = _json["id"]; 2016 id = _json["id"];
1917 } 2017 }
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
2166 } 2266 }
2167 if (nextPageToken != null) { 2267 if (nextPageToken != null) {
2168 _json["nextPageToken"] = nextPageToken; 2268 _json["nextPageToken"] = nextPageToken;
2169 } 2269 }
2170 if (selfLink != null) { 2270 if (selfLink != null) {
2171 _json["selfLink"] = selfLink; 2271 _json["selfLink"] = selfLink;
2172 } 2272 }
2173 return _json; 2273 return _json;
2174 } 2274 }
2175 } 2275 }
OLDNEW
« no previous file with comments | « generated/googleapis_beta/lib/cloudresourcemanager/v1beta1.dart ('k') | generated/googleapis_beta/lib/dataflow/v1b3.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698