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

Side by Side Diff: generated/googleapis/lib/cloudresourcemanager/v1.dart

Issue 2734843002: Api-roll 46: 2017-03-06 (Closed)
Patch Set: Created 3 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.cloudresourcemanager.v1; 3 library googleapis.cloudresourcemanager.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 10 matching lines...) Expand all
21 class CloudresourcemanagerApi { 21 class CloudresourcemanagerApi {
22 /** View and manage your data across Google Cloud Platform services */ 22 /** View and manage your data across Google Cloud Platform services */
23 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf orm"; 23 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf orm";
24 24
25 /** View your data across Google Cloud Platform services */ 25 /** View your data across Google Cloud Platform services */
26 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";
27 27
28 28
29 final commons.ApiRequester _requester; 29 final commons.ApiRequester _requester;
30 30
31 LiensResourceApi get liens => new LiensResourceApi(_requester);
31 OperationsResourceApi get operations => new OperationsResourceApi(_requester); 32 OperationsResourceApi get operations => new OperationsResourceApi(_requester);
32 OrganizationsResourceApi get organizations => new OrganizationsResourceApi(_re quester); 33 OrganizationsResourceApi get organizations => new OrganizationsResourceApi(_re quester);
33 ProjectsResourceApi get projects => new ProjectsResourceApi(_requester); 34 ProjectsResourceApi get projects => new ProjectsResourceApi(_requester);
34 35
35 CloudresourcemanagerApi(http.Client client, {core.String rootUrl: "https://clo udresourcemanager.googleapis.com/", core.String servicePath: ""}) : 36 CloudresourcemanagerApi(http.Client client, {core.String rootUrl: "https://clo udresourcemanager.googleapis.com/", core.String servicePath: ""}) :
36 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A GENT); 37 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A GENT);
37 } 38 }
38 39
39 40
41 class LiensResourceApi {
42 final commons.ApiRequester _requester;
43
44 LiensResourceApi(commons.ApiRequester client) :
45 _requester = client;
46
47 /**
48 * Create a Lien which applies to the resource denoted by the `parent` field.
49 *
50 * Callers of this method will require permission on the `parent` resource.
51 * For example, applying to `projects/1234` requires permission
52 * `resourcemanager.projects.updateLiens`.
53 *
54 * NOTE: Some resources may limit the number of Liens which may be applied.
55 *
56 * [request] - The metadata request object.
57 *
58 * Request parameters:
59 *
60 * Completes with a [Lien].
61 *
62 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
63 * error.
64 *
65 * If the used [http.Client] completes with an error when making a REST call,
66 * this method will complete with the same error.
67 */
68 async.Future<Lien> create(Lien request) {
69 var _url = null;
70 var _queryParams = new core.Map();
71 var _uploadMedia = null;
72 var _uploadOptions = null;
73 var _downloadOptions = commons.DownloadOptions.Metadata;
74 var _body = null;
75
76 if (request != null) {
77 _body = convert.JSON.encode((request).toJson());
78 }
79
80 _url = 'v1/liens';
81
82 var _response = _requester.request(_url,
83 "POST",
84 body: _body,
85 queryParams: _queryParams,
86 uploadOptions: _uploadOptions,
87 uploadMedia: _uploadMedia,
88 downloadOptions: _downloadOptions);
89 return _response.then((data) => new Lien.fromJson(data));
90 }
91
92 /**
93 * Delete a Lien by `name`.
94 *
95 * Callers of this method will require permission on the `parent` resource.
96 * For example, a Lien with a `parent` of `projects/1234` requires permission
97 * `resourcemanager.projects.updateLiens`.
98 *
99 * Request parameters:
100 *
101 * [name] - The name/identifier of the Lien to delete.
102 * Value must have pattern "^liens/.+$".
103 *
104 * Completes with a [Empty].
105 *
106 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
107 * error.
108 *
109 * If the used [http.Client] completes with an error when making a REST call,
110 * this method will complete with the same error.
111 */
112 async.Future<Empty> delete(core.String name) {
113 var _url = null;
114 var _queryParams = new core.Map();
115 var _uploadMedia = null;
116 var _uploadOptions = null;
117 var _downloadOptions = commons.DownloadOptions.Metadata;
118 var _body = null;
119
120 if (name == null) {
121 throw new core.ArgumentError("Parameter name is required.");
122 }
123
124 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
125
126 var _response = _requester.request(_url,
127 "DELETE",
128 body: _body,
129 queryParams: _queryParams,
130 uploadOptions: _uploadOptions,
131 uploadMedia: _uploadMedia,
132 downloadOptions: _downloadOptions);
133 return _response.then((data) => new Empty.fromJson(data));
134 }
135
136 /**
137 * List all Liens applied to the `parent` resource.
138 *
139 * Callers of this method will require permission on the `parent` resource.
140 * For example, a Lien with a `parent` of `projects/1234` requires permission
141 * `resourcemanager.projects.get`.
142 *
143 * Request parameters:
144 *
145 * [parent] - The name of the resource to list all attached Liens.
146 * For example, `projects/1234`.
147 *
148 * [pageToken] - The `next_page_token` value returned from a previous List
149 * request, if any.
150 *
151 * [pageSize] - The maximum number of items to return. This is a suggestion
152 * for the server.
153 *
154 * Completes with a [ListLiensResponse].
155 *
156 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
157 * error.
158 *
159 * If the used [http.Client] completes with an error when making a REST call,
160 * this method will complete with the same error.
161 */
162 async.Future<ListLiensResponse> list({core.String parent, core.String pageToke n, core.int pageSize}) {
163 var _url = null;
164 var _queryParams = new core.Map();
165 var _uploadMedia = null;
166 var _uploadOptions = null;
167 var _downloadOptions = commons.DownloadOptions.Metadata;
168 var _body = null;
169
170 if (parent != null) {
171 _queryParams["parent"] = [parent];
172 }
173 if (pageToken != null) {
174 _queryParams["pageToken"] = [pageToken];
175 }
176 if (pageSize != null) {
177 _queryParams["pageSize"] = ["${pageSize}"];
178 }
179
180 _url = 'v1/liens';
181
182 var _response = _requester.request(_url,
183 "GET",
184 body: _body,
185 queryParams: _queryParams,
186 uploadOptions: _uploadOptions,
187 uploadMedia: _uploadMedia,
188 downloadOptions: _downloadOptions);
189 return _response.then((data) => new ListLiensResponse.fromJson(data));
190 }
191
192 }
193
194
40 class OperationsResourceApi { 195 class OperationsResourceApi {
41 final commons.ApiRequester _requester; 196 final commons.ApiRequester _requester;
42 197
43 OperationsResourceApi(commons.ApiRequester client) : 198 OperationsResourceApi(commons.ApiRequester client) :
44 _requester = client; 199 _requester = client;
45 200
46 /** 201 /**
47 * Gets the latest state of a long-running operation. Clients can use this 202 * Gets the latest state of a long-running operation. Clients can use this
48 * method to poll the operation result at intervals as recommended by the API 203 * method to poll the operation result at intervals as recommended by the API
49 * service. 204 * service.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 * Gets the access control policy for an Organization resource. May be empty 294 * Gets the access control policy for an Organization resource. May be empty
140 * if no such policy or resource exists. The `resource` field should be the 295 * if no such policy or resource exists. The `resource` field should be the
141 * organization's resource name, e.g. "organizations/123". 296 * organization's resource name, e.g. "organizations/123".
142 * 297 *
143 * [request] - The metadata request object. 298 * [request] - The metadata request object.
144 * 299 *
145 * Request parameters: 300 * Request parameters:
146 * 301 *
147 * [resource] - REQUIRED: The resource for which the policy is being 302 * [resource] - REQUIRED: The resource for which the policy is being
148 * requested. 303 * requested.
149 * `resource` is usually specified as a path. For example, a Project 304 * See the operation documentation for the appropriate value for this field.
150 * resource is specified as `projects/{project}`.
151 * Value must have pattern "^organizations/[^/]+$". 305 * Value must have pattern "^organizations/[^/]+$".
152 * 306 *
153 * Completes with a [Policy]. 307 * Completes with a [Policy].
154 * 308 *
155 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 309 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
156 * error. 310 * error.
157 * 311 *
158 * If the used [http.Client] completes with an error when making a REST call, 312 * If the used [http.Client] completes with an error when making a REST call,
159 * this method will complete with the same error. 313 * this method will complete with the same error.
160 */ 314 */
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 * Sets the access control policy on an Organization resource. Replaces any 385 * Sets the access control policy on an Organization resource. Replaces any
232 * existing policy. The `resource` field should be the organization's resource 386 * existing policy. The `resource` field should be the organization's resource
233 * name, e.g. "organizations/123". 387 * name, e.g. "organizations/123".
234 * 388 *
235 * [request] - The metadata request object. 389 * [request] - The metadata request object.
236 * 390 *
237 * Request parameters: 391 * Request parameters:
238 * 392 *
239 * [resource] - REQUIRED: The resource for which the policy is being 393 * [resource] - REQUIRED: The resource for which the policy is being
240 * specified. 394 * specified.
241 * `resource` is usually specified as a path. For example, a Project 395 * See the operation documentation for the appropriate value for this field.
242 * resource is specified as `projects/{project}`.
243 * Value must have pattern "^organizations/[^/]+$". 396 * Value must have pattern "^organizations/[^/]+$".
244 * 397 *
245 * Completes with a [Policy]. 398 * Completes with a [Policy].
246 * 399 *
247 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 400 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
248 * error. 401 * error.
249 * 402 *
250 * If the used [http.Client] completes with an error when making a REST call, 403 * If the used [http.Client] completes with an error when making a REST call,
251 * this method will complete with the same error. 404 * this method will complete with the same error.
252 */ 405 */
(...skipping 28 matching lines...) Expand all
281 * Returns permissions that a caller has on the specified Organization. 434 * Returns permissions that a caller has on the specified Organization.
282 * The `resource` field should be the organization's resource name, 435 * The `resource` field should be the organization's resource name,
283 * e.g. "organizations/123". 436 * e.g. "organizations/123".
284 * 437 *
285 * [request] - The metadata request object. 438 * [request] - The metadata request object.
286 * 439 *
287 * Request parameters: 440 * Request parameters:
288 * 441 *
289 * [resource] - REQUIRED: The resource for which the policy detail is being 442 * [resource] - REQUIRED: The resource for which the policy detail is being
290 * requested. 443 * requested.
291 * `resource` is usually specified as a path. For example, a Project 444 * See the operation documentation for the appropriate value for this field.
292 * resource is specified as `projects/{project}`.
293 * Value must have pattern "^organizations/[^/]+$". 445 * Value must have pattern "^organizations/[^/]+$".
294 * 446 *
295 * Completes with a [TestIamPermissionsResponse]. 447 * Completes with a [TestIamPermissionsResponse].
296 * 448 *
297 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 449 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
298 * error. 450 * error.
299 * 451 *
300 * If the used [http.Client] completes with an error when making a REST call, 452 * If the used [http.Client] completes with an error when making a REST call,
301 * this method will complete with the same error. 453 * this method will complete with the same error.
302 */ 454 */
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 /** 694 /**
543 * Returns the IAM access control policy for the specified Project. 695 * Returns the IAM access control policy for the specified Project.
544 * Permission is denied if the policy or the resource does not exist. 696 * Permission is denied if the policy or the resource does not exist.
545 * 697 *
546 * [request] - The metadata request object. 698 * [request] - The metadata request object.
547 * 699 *
548 * Request parameters: 700 * Request parameters:
549 * 701 *
550 * [resource] - REQUIRED: The resource for which the policy is being 702 * [resource] - REQUIRED: The resource for which the policy is being
551 * requested. 703 * requested.
552 * `resource` is usually specified as a path. For example, a Project 704 * See the operation documentation for the appropriate value for this field.
553 * resource is specified as `projects/{project}`.
554 * 705 *
555 * Completes with a [Policy]. 706 * Completes with a [Policy].
556 * 707 *
557 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 708 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
558 * error. 709 * error.
559 * 710 *
560 * If the used [http.Client] completes with an error when making a REST call, 711 * If the used [http.Client] completes with an error when making a REST call,
561 * this method will complete with the same error. 712 * this method will complete with the same error.
562 */ 713 */
563 async.Future<Policy> getIamPolicy(GetIamPolicyRequest request, core.String res ource) { 714 async.Future<Policy> getIamPolicy(GetIamPolicyRequest request, core.String res ource) {
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 * can render services completely inoperable. It is important to understand 857 * can render services completely inoperable. It is important to understand
707 * how the service account is being used before removing or updating its 858 * how the service account is being used before removing or updating its
708 * roles. 859 * roles.
709 * 860 *
710 * [request] - The metadata request object. 861 * [request] - The metadata request object.
711 * 862 *
712 * Request parameters: 863 * Request parameters:
713 * 864 *
714 * [resource] - REQUIRED: The resource for which the policy is being 865 * [resource] - REQUIRED: The resource for which the policy is being
715 * specified. 866 * specified.
716 * `resource` is usually specified as a path. For example, a Project 867 * See the operation documentation for the appropriate value for this field.
717 * resource is specified as `projects/{project}`.
718 * 868 *
719 * Completes with a [Policy]. 869 * Completes with a [Policy].
720 * 870 *
721 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 871 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
722 * error. 872 * error.
723 * 873 *
724 * If the used [http.Client] completes with an error when making a REST call, 874 * If the used [http.Client] completes with an error when making a REST call,
725 * this method will complete with the same error. 875 * this method will complete with the same error.
726 */ 876 */
727 async.Future<Policy> setIamPolicy(SetIamPolicyRequest request, core.String res ource) { 877 async.Future<Policy> setIamPolicy(SetIamPolicyRequest request, core.String res ource) {
(...skipping 25 matching lines...) Expand all
753 903
754 /** 904 /**
755 * Returns permissions that a caller has on the specified Project. 905 * Returns permissions that a caller has on the specified Project.
756 * 906 *
757 * [request] - The metadata request object. 907 * [request] - The metadata request object.
758 * 908 *
759 * Request parameters: 909 * Request parameters:
760 * 910 *
761 * [resource] - REQUIRED: The resource for which the policy detail is being 911 * [resource] - REQUIRED: The resource for which the policy detail is being
762 * requested. 912 * requested.
763 * `resource` is usually specified as a path. For example, a Project 913 * See the operation documentation for the appropriate value for this field.
764 * resource is specified as `projects/{project}`.
765 * 914 *
766 * Completes with a [TestIamPermissionsResponse]. 915 * Completes with a [TestIamPermissionsResponse].
767 * 916 *
768 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 917 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
769 * error. 918 * error.
770 * 919 *
771 * If the used [http.Client] completes with an error when making a REST call, 920 * If the used [http.Client] completes with an error when making a REST call,
772 * this method will complete with the same error. 921 * this method will complete with the same error.
773 */ 922 */
774 async.Future<TestIamPermissionsResponse> testIamPermissions(TestIamPermissions Request request, core.String resource) { 923 async.Future<TestIamPermissionsResponse> testIamPermissions(TestIamPermissions Request request, core.String resource) {
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
1158 GetIamPolicyRequest.fromJson(core.Map _json) { 1307 GetIamPolicyRequest.fromJson(core.Map _json) {
1159 } 1308 }
1160 1309
1161 core.Map toJson() { 1310 core.Map toJson() {
1162 var _json = new core.Map(); 1311 var _json = new core.Map();
1163 return _json; 1312 return _json;
1164 } 1313 }
1165 } 1314 }
1166 1315
1167 /** 1316 /**
1317 * A Lien represents an encumbrance on the actions that can be performed on a
1318 * resource.
1319 */
1320 class Lien {
1321 /** The creation time of this Lien. */
1322 core.String createTime;
1323 /**
1324 * A system-generated unique identifier for this Lien.
1325 *
1326 * Example: `liens/1234abcd`
1327 */
1328 core.String name;
1329 /**
1330 * A stable, user-visible/meaningful string identifying the origin of the
1331 * Lien, intended to be inspected programmatically. Maximum length of 200
1332 * characters.
1333 *
1334 * Example: 'compute.googleapis.com'
1335 */
1336 core.String origin;
1337 /**
1338 * A reference to the resource this Lien is attached to. The server will
1339 * validate the parent against those for which Liens are supported.
1340 *
1341 * Example: `projects/1234`
1342 */
1343 core.String parent;
1344 /**
1345 * Concise user-visible strings indicating why an action cannot be performed
1346 * on a resource. Maximum lenth of 200 characters.
1347 *
1348 * Example: 'Holds production API key'
1349 */
1350 core.String reason;
1351 /**
1352 * The types of operations which should be blocked as a result of this Lien.
1353 * Each value should correspond to an IAM permission. The server will
1354 * validate the permissions against those for which Liens are supported.
1355 *
1356 * An empty list is meaningless and will be rejected.
1357 *
1358 * Example: ['resourcemanager.projects.delete']
1359 */
1360 core.List<core.String> restrictions;
1361
1362 Lien();
1363
1364 Lien.fromJson(core.Map _json) {
1365 if (_json.containsKey("createTime")) {
1366 createTime = _json["createTime"];
1367 }
1368 if (_json.containsKey("name")) {
1369 name = _json["name"];
1370 }
1371 if (_json.containsKey("origin")) {
1372 origin = _json["origin"];
1373 }
1374 if (_json.containsKey("parent")) {
1375 parent = _json["parent"];
1376 }
1377 if (_json.containsKey("reason")) {
1378 reason = _json["reason"];
1379 }
1380 if (_json.containsKey("restrictions")) {
1381 restrictions = _json["restrictions"];
1382 }
1383 }
1384
1385 core.Map toJson() {
1386 var _json = new core.Map();
1387 if (createTime != null) {
1388 _json["createTime"] = createTime;
1389 }
1390 if (name != null) {
1391 _json["name"] = name;
1392 }
1393 if (origin != null) {
1394 _json["origin"] = origin;
1395 }
1396 if (parent != null) {
1397 _json["parent"] = parent;
1398 }
1399 if (reason != null) {
1400 _json["reason"] = reason;
1401 }
1402 if (restrictions != null) {
1403 _json["restrictions"] = restrictions;
1404 }
1405 return _json;
1406 }
1407 }
1408
1409 /** The response message for Liens.ListLiens. */
1410 class ListLiensResponse {
1411 /** A list of Liens. */
1412 core.List<Lien> liens;
1413 /**
1414 * Token to retrieve the next page of results, or empty if there are no more
1415 * results in the list.
1416 */
1417 core.String nextPageToken;
1418
1419 ListLiensResponse();
1420
1421 ListLiensResponse.fromJson(core.Map _json) {
1422 if (_json.containsKey("liens")) {
1423 liens = _json["liens"].map((value) => new Lien.fromJson(value)).toList();
1424 }
1425 if (_json.containsKey("nextPageToken")) {
1426 nextPageToken = _json["nextPageToken"];
1427 }
1428 }
1429
1430 core.Map toJson() {
1431 var _json = new core.Map();
1432 if (liens != null) {
1433 _json["liens"] = liens.map((value) => (value).toJson()).toList();
1434 }
1435 if (nextPageToken != null) {
1436 _json["nextPageToken"] = nextPageToken;
1437 }
1438 return _json;
1439 }
1440 }
1441
1442 /**
1168 * A page of the response received from the 1443 * A page of the response received from the
1169 * ListProjects 1444 * ListProjects
1170 * method. 1445 * method.
1171 * 1446 *
1172 * A paginated response where more pages are available has 1447 * A paginated response where more pages are available has
1173 * `next_page_token` set. This token can be used in a subsequent request to 1448 * `next_page_token` set. This token can be used in a subsequent request to
1174 * retrieve the next request page. 1449 * retrieve the next request page.
1175 */ 1450 */
1176 class ListProjectsResponse { 1451 class ListProjectsResponse {
1177 /** 1452 /**
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
1307 * (e.g., company) resources belong. 1582 * (e.g., company) resources belong.
1308 */ 1583 */
1309 class Organization { 1584 class Organization {
1310 /** 1585 /**
1311 * Timestamp when the Organization was created. Assigned by the server. 1586 * Timestamp when the Organization was created. Assigned by the server.
1312 * @OutputOnly 1587 * @OutputOnly
1313 */ 1588 */
1314 core.String creationTime; 1589 core.String creationTime;
1315 /** 1590 /**
1316 * A friendly string to be used to refer to the Organization in the UI. 1591 * A friendly string to be used to refer to the Organization in the UI.
1317 * Assigned by the server, set to the firm name of the Google For Work 1592 * Assigned by the server, set to the primary domain of the G Suite
1318 * customer that owns this organization. 1593 * customer that owns the organization.
1319 * @OutputOnly 1594 * @OutputOnly
1320 */ 1595 */
1321 core.String displayName; 1596 core.String displayName;
1322 /** 1597 /**
1323 * The organization's current lifecycle state. Assigned by the server. 1598 * The organization's current lifecycle state. Assigned by the server.
1324 * @OutputOnly 1599 * @OutputOnly
1325 * Possible string values are: 1600 * Possible string values are:
1326 * - "LIFECYCLE_STATE_UNSPECIFIED" : Unspecified state. This is only useful 1601 * - "LIFECYCLE_STATE_UNSPECIFIED" : Unspecified state. This is only useful
1327 * for distinguishing unset values. 1602 * for distinguishing unset values.
1328 * - "ACTIVE" : The normal and active state. 1603 * - "ACTIVE" : The normal and active state.
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
1498 } 1773 }
1499 if (version != null) { 1774 if (version != null) {
1500 _json["version"] = version; 1775 _json["version"] = version;
1501 } 1776 }
1502 return _json; 1777 return _json;
1503 } 1778 }
1504 } 1779 }
1505 1780
1506 /** 1781 /**
1507 * A Project is a high-level Google Cloud Platform entity. It is a 1782 * A Project is a high-level Google Cloud Platform entity. It is a
1508 * container for ACLs, APIs, AppEngine Apps, VMs, and other 1783 * container for ACLs, APIs, App Engine Apps, VMs, and other
1509 * Google Cloud Platform resources. 1784 * Google Cloud Platform resources.
1510 */ 1785 */
1511 class Project { 1786 class Project {
1512 /** 1787 /**
1513 * Creation time. 1788 * Creation time.
1514 * 1789 *
1515 * Read-only. 1790 * Read-only.
1516 */ 1791 */
1517 core.String createTime; 1792 core.String createTime;
1518 /** 1793 /**
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
1685 if (ready != null) { 1960 if (ready != null) {
1686 _json["ready"] = ready; 1961 _json["ready"] = ready;
1687 } 1962 }
1688 return _json; 1963 return _json;
1689 } 1964 }
1690 } 1965 }
1691 1966
1692 /** 1967 /**
1693 * A container to reference an id for any resource type. A `resource` in Google 1968 * A container to reference an id for any resource type. A `resource` in Google
1694 * Cloud Platform is a generic term for something you (a developer) may want to 1969 * Cloud Platform is a generic term for something you (a developer) may want to
1695 * interact with through one of our API's. Some examples are an AppEngine app, 1970 * interact with through one of our API's. Some examples are an App Engine app,
1696 * a Compute Engine instance, a Cloud SQL database, and so on. 1971 * a Compute Engine instance, a Cloud SQL database, and so on.
1697 */ 1972 */
1698 class ResourceId { 1973 class ResourceId {
1699 /** 1974 /**
1700 * Required field for the type-specific id. This should correspond to the id 1975 * Required field for the type-specific id. This should correspond to the id
1701 * used in the type-specific API's. 1976 * used in the type-specific API's.
1702 */ 1977 */
1703 core.String id; 1978 core.String id;
1704 /** 1979 /**
1705 * Required field representing the resource type this id is for. 1980 * Required field representing the resource type this id is for.
1706 * At present, the only valid type is "organization". 1981 * At present, the valid types are: "organization"
1707 */ 1982 */
1708 core.String type; 1983 core.String type;
1709 1984
1710 ResourceId(); 1985 ResourceId();
1711 1986
1712 ResourceId.fromJson(core.Map _json) { 1987 ResourceId.fromJson(core.Map _json) {
1713 if (_json.containsKey("id")) { 1988 if (_json.containsKey("id")) {
1714 id = _json["id"]; 1989 id = _json["id"];
1715 } 1990 }
1716 if (_json.containsKey("type")) { 1991 if (_json.containsKey("type")) {
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
2020 UndeleteProjectRequest(); 2295 UndeleteProjectRequest();
2021 2296
2022 UndeleteProjectRequest.fromJson(core.Map _json) { 2297 UndeleteProjectRequest.fromJson(core.Map _json) {
2023 } 2298 }
2024 2299
2025 core.Map toJson() { 2300 core.Map toJson() {
2026 var _json = new core.Map(); 2301 var _json = new core.Map();
2027 return _json; 2302 return _json;
2028 } 2303 }
2029 } 2304 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/cloudbuild/v1.dart ('k') | generated/googleapis/lib/cloudtrace/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698