OLD | NEW |
1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
2 | 2 |
3 library googleapis_beta.cloudresourcemanager.v1beta1; | 3 library googleapis_beta.cloudresourcemanager.v1beta1; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
8 | 8 |
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 * Gets the access control policy for an Organization resource. May be empty | 93 * Gets the access control policy for an Organization resource. May be empty |
94 * if no such policy or resource exists. The `resource` field should be the | 94 * if no such policy or resource exists. The `resource` field should be the |
95 * organization's resource name, e.g. "organizations/123". | 95 * organization's resource name, e.g. "organizations/123". |
96 * | 96 * |
97 * [request] - The metadata request object. | 97 * [request] - The metadata request object. |
98 * | 98 * |
99 * Request parameters: | 99 * Request parameters: |
100 * | 100 * |
101 * [resource] - REQUIRED: The resource for which the policy is being | 101 * [resource] - REQUIRED: The resource for which the policy is being |
102 * requested. | 102 * requested. |
103 * `resource` is usually specified as a path. For example, a Project | 103 * See the operation documentation for the appropriate value for this field. |
104 * resource is specified as `projects/{project}`. | |
105 * Value must have pattern "^organizations/[^/]+$". | 104 * Value must have pattern "^organizations/[^/]+$". |
106 * | 105 * |
107 * Completes with a [Policy]. | 106 * Completes with a [Policy]. |
108 * | 107 * |
109 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 108 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
110 * error. | 109 * error. |
111 * | 110 * |
112 * If the used [http.Client] completes with an error when making a REST call, | 111 * If the used [http.Client] completes with an error when making a REST call, |
113 * this method will complete with the same error. | 112 * this method will complete with the same error. |
114 */ | 113 */ |
(...skipping 24 matching lines...) Expand all Loading... |
139 return _response.then((data) => new Policy.fromJson(data)); | 138 return _response.then((data) => new Policy.fromJson(data)); |
140 } | 139 } |
141 | 140 |
142 /** | 141 /** |
143 * Lists Organization resources that are visible to the user and satisfy | 142 * Lists Organization resources that are visible to the user and satisfy |
144 * the specified filter. This method returns Organizations in an unspecified | 143 * the specified filter. This method returns Organizations in an unspecified |
145 * order. New Organizations do not necessarily appear at the end of the list. | 144 * order. New Organizations do not necessarily appear at the end of the list. |
146 * | 145 * |
147 * Request parameters: | 146 * Request parameters: |
148 * | 147 * |
| 148 * [pageSize] - The maximum number of Organizations to return in the response. |
| 149 * This field is optional. |
| 150 * |
149 * [filter] - An optional query string used to filter the Organizations to | 151 * [filter] - An optional query string used to filter the Organizations to |
150 * return in | 152 * return in |
151 * the response. Filter rules are case-insensitive. | 153 * the response. Filter rules are case-insensitive. |
152 * | 154 * |
153 * | 155 * |
154 * Organizations may be filtered by `owner.directoryCustomerId` or by | 156 * Organizations may be filtered by `owner.directoryCustomerId` or by |
155 * `domain`, where the domain is a Google for Work domain, for example: | 157 * `domain`, where the domain is a Google for Work domain, for example: |
156 * | 158 * |
157 * |Filter|Description| | 159 * |Filter|Description| |
158 * |------|-----------| | 160 * |------|-----------| |
159 * |owner.directorycustomerid:123456789|Organizations with | 161 * |owner.directorycustomerid:123456789|Organizations with |
160 * `owner.directory_customer_id` equal to `123456789`.| | 162 * `owner.directory_customer_id` equal to `123456789`.| |
161 * |domain:google.com|Organizations corresponding to the domain `google.com`.| | 163 * |domain:google.com|Organizations corresponding to the domain `google.com`.| |
162 * | 164 * |
163 * This field is optional. | 165 * This field is optional. |
164 * | 166 * |
165 * [pageToken] - A pagination token returned from a previous call to | 167 * [pageToken] - A pagination token returned from a previous call to |
166 * `ListOrganizations` | 168 * `ListOrganizations` |
167 * that indicates from where listing should continue. | 169 * that indicates from where listing should continue. |
168 * This field is optional. | 170 * This field is optional. |
169 * | 171 * |
170 * [pageSize] - The maximum number of Organizations to return in the response. | |
171 * This field is optional. | |
172 * | |
173 * Completes with a [ListOrganizationsResponse]. | 172 * Completes with a [ListOrganizationsResponse]. |
174 * | 173 * |
175 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 174 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
176 * error. | 175 * error. |
177 * | 176 * |
178 * If the used [http.Client] completes with an error when making a REST call, | 177 * If the used [http.Client] completes with an error when making a REST call, |
179 * this method will complete with the same error. | 178 * this method will complete with the same error. |
180 */ | 179 */ |
181 async.Future<ListOrganizationsResponse> list({core.String filter, core.String
pageToken, core.int pageSize}) { | 180 async.Future<ListOrganizationsResponse> list({core.int pageSize, core.String f
ilter, core.String pageToken}) { |
182 var _url = null; | 181 var _url = null; |
183 var _queryParams = new core.Map(); | 182 var _queryParams = new core.Map(); |
184 var _uploadMedia = null; | 183 var _uploadMedia = null; |
185 var _uploadOptions = null; | 184 var _uploadOptions = null; |
186 var _downloadOptions = commons.DownloadOptions.Metadata; | 185 var _downloadOptions = commons.DownloadOptions.Metadata; |
187 var _body = null; | 186 var _body = null; |
188 | 187 |
| 188 if (pageSize != null) { |
| 189 _queryParams["pageSize"] = ["${pageSize}"]; |
| 190 } |
189 if (filter != null) { | 191 if (filter != null) { |
190 _queryParams["filter"] = [filter]; | 192 _queryParams["filter"] = [filter]; |
191 } | 193 } |
192 if (pageToken != null) { | 194 if (pageToken != null) { |
193 _queryParams["pageToken"] = [pageToken]; | 195 _queryParams["pageToken"] = [pageToken]; |
194 } | 196 } |
195 if (pageSize != null) { | |
196 _queryParams["pageSize"] = ["${pageSize}"]; | |
197 } | |
198 | 197 |
199 _url = 'v1beta1/organizations'; | 198 _url = 'v1beta1/organizations'; |
200 | 199 |
201 var _response = _requester.request(_url, | 200 var _response = _requester.request(_url, |
202 "GET", | 201 "GET", |
203 body: _body, | 202 body: _body, |
204 queryParams: _queryParams, | 203 queryParams: _queryParams, |
205 uploadOptions: _uploadOptions, | 204 uploadOptions: _uploadOptions, |
206 uploadMedia: _uploadMedia, | 205 uploadMedia: _uploadMedia, |
207 downloadOptions: _downloadOptions); | 206 downloadOptions: _downloadOptions); |
208 return _response.then((data) => new ListOrganizationsResponse.fromJson(data)
); | 207 return _response.then((data) => new ListOrganizationsResponse.fromJson(data)
); |
209 } | 208 } |
210 | 209 |
211 /** | 210 /** |
212 * Sets the access control policy on an Organization resource. Replaces any | 211 * Sets the access control policy on an Organization resource. Replaces any |
213 * existing policy. The `resource` field should be the organization's resource | 212 * existing policy. The `resource` field should be the organization's resource |
214 * name, e.g. "organizations/123". | 213 * name, e.g. "organizations/123". |
215 * | 214 * |
216 * [request] - The metadata request object. | 215 * [request] - The metadata request object. |
217 * | 216 * |
218 * Request parameters: | 217 * Request parameters: |
219 * | 218 * |
220 * [resource] - REQUIRED: The resource for which the policy is being | 219 * [resource] - REQUIRED: The resource for which the policy is being |
221 * specified. | 220 * specified. |
222 * `resource` is usually specified as a path. For example, a Project | 221 * See the operation documentation for the appropriate value for this field. |
223 * resource is specified as `projects/{project}`. | |
224 * Value must have pattern "^organizations/[^/]+$". | 222 * Value must have pattern "^organizations/[^/]+$". |
225 * | 223 * |
226 * Completes with a [Policy]. | 224 * Completes with a [Policy]. |
227 * | 225 * |
228 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 226 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
229 * error. | 227 * error. |
230 * | 228 * |
231 * If the used [http.Client] completes with an error when making a REST call, | 229 * If the used [http.Client] completes with an error when making a REST call, |
232 * this method will complete with the same error. | 230 * this method will complete with the same error. |
233 */ | 231 */ |
(...skipping 28 matching lines...) Expand all Loading... |
262 * Returns permissions that a caller has on the specified Organization. | 260 * Returns permissions that a caller has on the specified Organization. |
263 * The `resource` field should be the organization's resource name, | 261 * The `resource` field should be the organization's resource name, |
264 * e.g. "organizations/123". | 262 * e.g. "organizations/123". |
265 * | 263 * |
266 * [request] - The metadata request object. | 264 * [request] - The metadata request object. |
267 * | 265 * |
268 * Request parameters: | 266 * Request parameters: |
269 * | 267 * |
270 * [resource] - REQUIRED: The resource for which the policy detail is being | 268 * [resource] - REQUIRED: The resource for which the policy detail is being |
271 * requested. | 269 * requested. |
272 * `resource` is usually specified as a path. For example, a Project | 270 * See the operation documentation for the appropriate value for this field. |
273 * resource is specified as `projects/{project}`. | |
274 * Value must have pattern "^organizations/[^/]+$". | 271 * Value must have pattern "^organizations/[^/]+$". |
275 * | 272 * |
276 * Completes with a [TestIamPermissionsResponse]. | 273 * Completes with a [TestIamPermissionsResponse]. |
277 * | 274 * |
278 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 275 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
279 * error. | 276 * error. |
280 * | 277 * |
281 * If the used [http.Client] completes with an error when making a REST call, | 278 * If the used [http.Client] completes with an error when making a REST call, |
282 * this method will complete with the same error. | 279 * this method will complete with the same error. |
283 */ | 280 */ |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 /** | 573 /** |
577 * Returns the IAM access control policy for the specified Project. | 574 * Returns the IAM access control policy for the specified Project. |
578 * Permission is denied if the policy or the resource does not exist. | 575 * Permission is denied if the policy or the resource does not exist. |
579 * | 576 * |
580 * [request] - The metadata request object. | 577 * [request] - The metadata request object. |
581 * | 578 * |
582 * Request parameters: | 579 * Request parameters: |
583 * | 580 * |
584 * [resource] - REQUIRED: The resource for which the policy is being | 581 * [resource] - REQUIRED: The resource for which the policy is being |
585 * requested. | 582 * requested. |
586 * `resource` is usually specified as a path. For example, a Project | 583 * See the operation documentation for the appropriate value for this field. |
587 * resource is specified as `projects/{project}`. | |
588 * | 584 * |
589 * Completes with a [Policy]. | 585 * Completes with a [Policy]. |
590 * | 586 * |
591 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 587 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
592 * error. | 588 * error. |
593 * | 589 * |
594 * If the used [http.Client] completes with an error when making a REST call, | 590 * If the used [http.Client] completes with an error when making a REST call, |
595 * this method will complete with the same error. | 591 * this method will complete with the same error. |
596 */ | 592 */ |
597 async.Future<Policy> getIamPolicy(GetIamPolicyRequest request, core.String res
ource) { | 593 async.Future<Policy> getIamPolicy(GetIamPolicyRequest request, core.String res
ource) { |
(...skipping 23 matching lines...) Expand all Loading... |
621 return _response.then((data) => new Policy.fromJson(data)); | 617 return _response.then((data) => new Policy.fromJson(data)); |
622 } | 618 } |
623 | 619 |
624 /** | 620 /** |
625 * Lists Projects that are visible to the user and satisfy the | 621 * Lists Projects that are visible to the user and satisfy the |
626 * specified filter. This method returns Projects in an unspecified order. | 622 * specified filter. This method returns Projects in an unspecified order. |
627 * New Projects do not necessarily appear at the end of the list. | 623 * New Projects do not necessarily appear at the end of the list. |
628 * | 624 * |
629 * Request parameters: | 625 * Request parameters: |
630 * | 626 * |
631 * [pageToken] - A pagination token returned from a previous call to | |
632 * ListProjects | |
633 * that indicates from where listing should continue. | |
634 * | |
635 * Optional. | |
636 * | |
637 * [pageSize] - The maximum number of Projects to return in the response. | 627 * [pageSize] - The maximum number of Projects to return in the response. |
638 * The server can return fewer Projects than requested. | 628 * The server can return fewer Projects than requested. |
639 * If unspecified, server picks an appropriate default. | 629 * If unspecified, server picks an appropriate default. |
640 * | 630 * |
641 * Optional. | 631 * Optional. |
642 * | 632 * |
643 * [filter] - An expression for filtering the results of the request. Filter | 633 * [filter] - An expression for filtering the results of the request. Filter |
644 * rules are | 634 * rules are |
645 * case insensitive. The fields eligible for filtering are: | 635 * case insensitive. The fields eligible for filtering are: |
646 * | 636 * |
647 * + `name` | 637 * + `name` |
648 * + `id` | 638 * + `id` |
649 * + <code>labels.<em>key</em></code> where *key* is the name of a label | 639 * + <code>labels.<em>key</em></code> where *key* is the name of a label |
650 * | 640 * |
651 * Some examples of using labels as filters: | 641 * Some examples of using labels as filters: |
652 * | 642 * |
653 * |Filter|Description| | 643 * |Filter|Description| |
654 * |------|-----------| | 644 * |------|-----------| |
655 * |name:*|The project has a name.| | 645 * |name:*|The project has a name.| |
656 * |name:Howl|The project's name is `Howl` or `howl`.| | 646 * |name:Howl|The project's name is `Howl` or `howl`.| |
657 * |name:HOWL|Equivalent to above.| | 647 * |name:HOWL|Equivalent to above.| |
658 * |NAME:howl|Equivalent to above.| | 648 * |NAME:howl|Equivalent to above.| |
659 * |labels.color:*|The project has the label `color`.| | 649 * |labels.color:*|The project has the label `color`.| |
660 * |labels.color:red|The project's label `color` has the value `red`.| | 650 * |labels.color:red|The project's label `color` has the value `red`.| |
661 * |labels.color:red label.size:big|The project's label `color` has the | 651 * |labels.color:red label.size:big|The project's label `color` has the |
662 * value `red` and its label `size` has the value `big`. | 652 * value `red` and its label `size` has the value `big`. |
663 * | 653 * |
664 * Optional. | 654 * Optional. |
665 * | 655 * |
| 656 * [pageToken] - A pagination token returned from a previous call to |
| 657 * ListProjects |
| 658 * that indicates from where listing should continue. |
| 659 * |
| 660 * Optional. |
| 661 * |
666 * Completes with a [ListProjectsResponse]. | 662 * Completes with a [ListProjectsResponse]. |
667 * | 663 * |
668 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 664 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
669 * error. | 665 * error. |
670 * | 666 * |
671 * If the used [http.Client] completes with an error when making a REST call, | 667 * If the used [http.Client] completes with an error when making a REST call, |
672 * this method will complete with the same error. | 668 * this method will complete with the same error. |
673 */ | 669 */ |
674 async.Future<ListProjectsResponse> list({core.String pageToken, core.int pageS
ize, core.String filter}) { | 670 async.Future<ListProjectsResponse> list({core.int pageSize, core.String filter
, core.String pageToken}) { |
675 var _url = null; | 671 var _url = null; |
676 var _queryParams = new core.Map(); | 672 var _queryParams = new core.Map(); |
677 var _uploadMedia = null; | 673 var _uploadMedia = null; |
678 var _uploadOptions = null; | 674 var _uploadOptions = null; |
679 var _downloadOptions = commons.DownloadOptions.Metadata; | 675 var _downloadOptions = commons.DownloadOptions.Metadata; |
680 var _body = null; | 676 var _body = null; |
681 | 677 |
682 if (pageToken != null) { | |
683 _queryParams["pageToken"] = [pageToken]; | |
684 } | |
685 if (pageSize != null) { | 678 if (pageSize != null) { |
686 _queryParams["pageSize"] = ["${pageSize}"]; | 679 _queryParams["pageSize"] = ["${pageSize}"]; |
687 } | 680 } |
688 if (filter != null) { | 681 if (filter != null) { |
689 _queryParams["filter"] = [filter]; | 682 _queryParams["filter"] = [filter]; |
690 } | 683 } |
| 684 if (pageToken != null) { |
| 685 _queryParams["pageToken"] = [pageToken]; |
| 686 } |
691 | 687 |
692 _url = 'v1beta1/projects'; | 688 _url = 'v1beta1/projects'; |
693 | 689 |
694 var _response = _requester.request(_url, | 690 var _response = _requester.request(_url, |
695 "GET", | 691 "GET", |
696 body: _body, | 692 body: _body, |
697 queryParams: _queryParams, | 693 queryParams: _queryParams, |
698 uploadOptions: _uploadOptions, | 694 uploadOptions: _uploadOptions, |
699 uploadMedia: _uploadMedia, | 695 uploadMedia: _uploadMedia, |
700 downloadOptions: _downloadOptions); | 696 downloadOptions: _downloadOptions); |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 * can render services completely inoperable. It is important to understand | 736 * can render services completely inoperable. It is important to understand |
741 * how the service account is being used before removing or updating its | 737 * how the service account is being used before removing or updating its |
742 * roles. | 738 * roles. |
743 * | 739 * |
744 * [request] - The metadata request object. | 740 * [request] - The metadata request object. |
745 * | 741 * |
746 * Request parameters: | 742 * Request parameters: |
747 * | 743 * |
748 * [resource] - REQUIRED: The resource for which the policy is being | 744 * [resource] - REQUIRED: The resource for which the policy is being |
749 * specified. | 745 * specified. |
750 * `resource` is usually specified as a path. For example, a Project | 746 * See the operation documentation for the appropriate value for this field. |
751 * resource is specified as `projects/{project}`. | |
752 * | 747 * |
753 * Completes with a [Policy]. | 748 * Completes with a [Policy]. |
754 * | 749 * |
755 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 750 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
756 * error. | 751 * error. |
757 * | 752 * |
758 * If the used [http.Client] completes with an error when making a REST call, | 753 * If the used [http.Client] completes with an error when making a REST call, |
759 * this method will complete with the same error. | 754 * this method will complete with the same error. |
760 */ | 755 */ |
761 async.Future<Policy> setIamPolicy(SetIamPolicyRequest request, core.String res
ource) { | 756 async.Future<Policy> setIamPolicy(SetIamPolicyRequest request, core.String res
ource) { |
(...skipping 25 matching lines...) Expand all Loading... |
787 | 782 |
788 /** | 783 /** |
789 * Returns permissions that a caller has on the specified Project. | 784 * Returns permissions that a caller has on the specified Project. |
790 * | 785 * |
791 * [request] - The metadata request object. | 786 * [request] - The metadata request object. |
792 * | 787 * |
793 * Request parameters: | 788 * Request parameters: |
794 * | 789 * |
795 * [resource] - REQUIRED: The resource for which the policy detail is being | 790 * [resource] - REQUIRED: The resource for which the policy detail is being |
796 * requested. | 791 * requested. |
797 * `resource` is usually specified as a path. For example, a Project | 792 * See the operation documentation for the appropriate value for this field. |
798 * resource is specified as `projects/{project}`. | |
799 * | 793 * |
800 * Completes with a [TestIamPermissionsResponse]. | 794 * Completes with a [TestIamPermissionsResponse]. |
801 * | 795 * |
802 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 796 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
803 * error. | 797 * error. |
804 * | 798 * |
805 * If the used [http.Client] completes with an error when making a REST call, | 799 * If the used [http.Client] completes with an error when making a REST call, |
806 * this method will complete with the same error. | 800 * this method will complete with the same error. |
807 */ | 801 */ |
808 async.Future<TestIamPermissionsResponse> testIamPermissions(TestIamPermissions
Request request, core.String resource) { | 802 async.Future<TestIamPermissionsResponse> testIamPermissions(TestIamPermissions
Request request, core.String resource) { |
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1294 * (e.g., company) resources belong. | 1288 * (e.g., company) resources belong. |
1295 */ | 1289 */ |
1296 class Organization { | 1290 class Organization { |
1297 /** | 1291 /** |
1298 * Timestamp when the Organization was created. Assigned by the server. | 1292 * Timestamp when the Organization was created. Assigned by the server. |
1299 * @OutputOnly | 1293 * @OutputOnly |
1300 */ | 1294 */ |
1301 core.String creationTime; | 1295 core.String creationTime; |
1302 /** | 1296 /** |
1303 * A friendly string to be used to refer to the Organization in the UI. | 1297 * A friendly string to be used to refer to the Organization in the UI. |
1304 * Assigned by the server, set to the firm name of the Google For Work | 1298 * Assigned by the server, set to the primary domain of the G Suite |
1305 * customer that owns this organization. | 1299 * customer that owns the organization. |
1306 * @OutputOnly | 1300 * @OutputOnly |
1307 */ | 1301 */ |
1308 core.String displayName; | 1302 core.String displayName; |
1309 /** | 1303 /** |
1310 * The organization's current lifecycle state. Assigned by the server. | 1304 * The organization's current lifecycle state. Assigned by the server. |
1311 * @OutputOnly | 1305 * @OutputOnly |
1312 * Possible string values are: | 1306 * Possible string values are: |
1313 * - "LIFECYCLE_STATE_UNSPECIFIED" : Unspecified state. This is only useful | 1307 * - "LIFECYCLE_STATE_UNSPECIFIED" : Unspecified state. This is only useful |
1314 * for distinguishing unset values. | 1308 * for distinguishing unset values. |
1315 * - "ACTIVE" : The normal and active state. | 1309 * - "ACTIVE" : The normal and active state. |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1498 } | 1492 } |
1499 if (version != null) { | 1493 if (version != null) { |
1500 _json["version"] = version; | 1494 _json["version"] = version; |
1501 } | 1495 } |
1502 return _json; | 1496 return _json; |
1503 } | 1497 } |
1504 } | 1498 } |
1505 | 1499 |
1506 /** | 1500 /** |
1507 * A Project is a high-level Google Cloud Platform entity. It is a | 1501 * A Project is a high-level Google Cloud Platform entity. It is a |
1508 * container for ACLs, APIs, AppEngine Apps, VMs, and other | 1502 * container for ACLs, APIs, App Engine Apps, VMs, and other |
1509 * Google Cloud Platform resources. | 1503 * Google Cloud Platform resources. |
1510 */ | 1504 */ |
1511 class Project { | 1505 class Project { |
1512 /** | 1506 /** |
1513 * Creation time. | 1507 * Creation time. |
1514 * | 1508 * |
1515 * Read-only. | 1509 * Read-only. |
1516 */ | 1510 */ |
1517 core.String createTime; | 1511 core.String createTime; |
1518 /** | 1512 /** |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1684 if (ready != null) { | 1678 if (ready != null) { |
1685 _json["ready"] = ready; | 1679 _json["ready"] = ready; |
1686 } | 1680 } |
1687 return _json; | 1681 return _json; |
1688 } | 1682 } |
1689 } | 1683 } |
1690 | 1684 |
1691 /** | 1685 /** |
1692 * A container to reference an id for any resource type. A `resource` in Google | 1686 * A container to reference an id for any resource type. A `resource` in Google |
1693 * Cloud Platform is a generic term for something you (a developer) may want to | 1687 * Cloud Platform is a generic term for something you (a developer) may want to |
1694 * interact with through one of our API's. Some examples are an AppEngine app, | 1688 * interact with through one of our API's. Some examples are an App Engine app, |
1695 * a Compute Engine instance, a Cloud SQL database, and so on. | 1689 * a Compute Engine instance, a Cloud SQL database, and so on. |
1696 */ | 1690 */ |
1697 class ResourceId { | 1691 class ResourceId { |
1698 /** | 1692 /** |
1699 * Required field for the type-specific id. This should correspond to the id | 1693 * Required field for the type-specific id. This should correspond to the id |
1700 * used in the type-specific API's. | 1694 * used in the type-specific API's. |
1701 */ | 1695 */ |
1702 core.String id; | 1696 core.String id; |
1703 /** | 1697 /** |
1704 * Required field representing the resource type this id is for. | 1698 * Required field representing the resource type this id is for. |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1817 UndeleteProjectRequest(); | 1811 UndeleteProjectRequest(); |
1818 | 1812 |
1819 UndeleteProjectRequest.fromJson(core.Map _json) { | 1813 UndeleteProjectRequest.fromJson(core.Map _json) { |
1820 } | 1814 } |
1821 | 1815 |
1822 core.Map toJson() { | 1816 core.Map toJson() { |
1823 var _json = new core.Map(); | 1817 var _json = new core.Map(); |
1824 return _json; | 1818 return _json; |
1825 } | 1819 } |
1826 } | 1820 } |
OLD | NEW |