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

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

Issue 770773002: Api roll 7: 2014-12-01 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years 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 library googleapis.compute.v1; 1 library googleapis.compute.v1;
2 2
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "dart:collection" as collection; 4 import "dart:collection" as collection;
5 import "dart:async" as async; 5 import "dart:async" as async;
6 import "dart:convert" as convert; 6 import "dart:convert" as convert;
7 7
8 import "package:crypto/crypto.dart" as crypto; 8 import "package:crypto/crypto.dart" as crypto;
9 import 'package:http/http.dart' as http; 9 import 'package:http/http.dart' as http;
10 import '../src/common_internal.dart' as common_internal; 10 import '../src/common_internal.dart' as common_internal;
(...skipping 4448 matching lines...) Expand 10 before | Expand all | Expand 10 after
4459 final common_internal.ApiRequester _requester; 4459 final common_internal.ApiRequester _requester;
4460 4460
4461 MachineTypesResourceApi(common_internal.ApiRequester client) : 4461 MachineTypesResourceApi(common_internal.ApiRequester client) :
4462 _requester = client; 4462 _requester = client;
4463 4463
4464 /** 4464 /**
4465 * Retrieves the list of machine type resources grouped by scope. 4465 * Retrieves the list of machine type resources grouped by scope.
4466 * 4466 *
4467 * Request parameters: 4467 * Request parameters:
4468 * 4468 *
4469 * [project] - Name of the project scoping this request. 4469 * [project] - Project ID for this request.
4470 * Value must have pattern 4470 * Value must have pattern
4471 * "(?:(?:[-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])?))". 4471 * "(?:(?:[-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])?))".
4472 * 4472 *
4473 * [filter] - Optional. Filter expression for filtering listed resources. 4473 * [filter] - Optional. Filter expression for filtering listed resources.
4474 * 4474 *
4475 * [maxResults] - Optional. Maximum count of results to be returned. Maximum 4475 * [maxResults] - Optional. Maximum count of results to be returned. Maximum
4476 * value is 500 and default value is 500. 4476 * value is 500 and default value is 500.
4477 * Value must be between "0" and "500". 4477 * Value must be between "0" and "500".
4478 * 4478 *
4479 * [pageToken] - Optional. Tag returned by a previous list request truncated 4479 * [pageToken] - Optional. Tag returned by a previous list request truncated
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
4519 uploadMedia: _uploadMedia, 4519 uploadMedia: _uploadMedia,
4520 downloadOptions: _downloadOptions); 4520 downloadOptions: _downloadOptions);
4521 return _response.then((data) => new MachineTypeAggregatedList.fromJson(data) ); 4521 return _response.then((data) => new MachineTypeAggregatedList.fromJson(data) );
4522 } 4522 }
4523 4523
4524 /** 4524 /**
4525 * Returns the specified machine type resource. 4525 * Returns the specified machine type resource.
4526 * 4526 *
4527 * Request parameters: 4527 * Request parameters:
4528 * 4528 *
4529 * [project] - Name of the project scoping this request. 4529 * [project] - Project ID for this request.
4530 * Value must have pattern 4530 * Value must have pattern
4531 * "(?:(?:[-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])?))". 4531 * "(?:(?:[-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])?))".
4532 * 4532 *
4533 * [zone] - Name of the zone scoping this request. 4533 * [zone] - Name of the zone scoping this request.
4534 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 4534 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
4535 * 4535 *
4536 * [machineType] - Name of the machine type resource to return. 4536 * [machineType] - Name of the machine type resource to return.
4537 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 4537 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
4538 * 4538 *
4539 * Completes with a [MachineType]. 4539 * Completes with a [MachineType].
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
4574 downloadOptions: _downloadOptions); 4574 downloadOptions: _downloadOptions);
4575 return _response.then((data) => new MachineType.fromJson(data)); 4575 return _response.then((data) => new MachineType.fromJson(data));
4576 } 4576 }
4577 4577
4578 /** 4578 /**
4579 * Retrieves the list of machine type resources available to the specified 4579 * Retrieves the list of machine type resources available to the specified
4580 * project. 4580 * project.
4581 * 4581 *
4582 * Request parameters: 4582 * Request parameters:
4583 * 4583 *
4584 * [project] - Name of the project scoping this request. 4584 * [project] - Project ID for this request.
4585 * Value must have pattern 4585 * Value must have pattern
4586 * "(?:(?:[-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])?))". 4586 * "(?:(?:[-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])?))".
4587 * 4587 *
4588 * [zone] - Name of the zone scoping this request. 4588 * [zone] - Name of the zone scoping this request.
4589 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 4589 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
4590 * 4590 *
4591 * [filter] - Optional. Filter expression for filtering listed resources. 4591 * [filter] - Optional. Filter expression for filtering listed resources.
4592 * 4592 *
4593 * [maxResults] - Optional. Maximum count of results to be returned. Maximum 4593 * [maxResults] - Optional. Maximum count of results to be returned. Maximum
4594 * value is 500 and default value is 500. 4594 * value is 500 and default value is 500.
(...skipping 7066 matching lines...) Expand 10 before | Expand all | Expand 10 after
11661 if (diskGb != null) { 11661 if (diskGb != null) {
11662 _json["diskGb"] = diskGb; 11662 _json["diskGb"] = diskGb;
11663 } 11663 }
11664 return _json; 11664 return _json;
11665 } 11665 }
11666 } 11666 }
11667 11667
11668 11668
11669 /** A machine type resource. */ 11669 /** A machine type resource. */
11670 class MachineType { 11670 class MachineType {
11671 /** Creation timestamp in RFC3339 text format (output only). */ 11671 /** [Output Only] Creation timestamp in RFC3339 text format. */
11672 core.String creationTimestamp; 11672 core.String creationTimestamp;
11673 11673
11674 /** The deprecation status associated with this machine type. */ 11674 /** The deprecation status associated with this machine type. */
11675 DeprecationStatus deprecated; 11675 DeprecationStatus deprecated;
11676 11676
11677 /** An optional textual description of the resource. */ 11677 /** An optional textual description of the resource. */
11678 core.String description; 11678 core.String description;
11679 11679
11680 /** Count of CPUs exposed to the instance. */ 11680 /** Count of CPUs exposed to the instance. */
11681 core.int guestCpus; 11681 core.int guestCpus;
11682 11682
11683 /** 11683 /**
11684 * Unique identifier for the resource; defined by the server (output only). 11684 * [Output Only] Unique identifier for the resource; defined by the server.
11685 */ 11685 */
11686 core.String id; 11686 core.String id;
11687 11687
11688 /** Space allotted for the image, defined in GB. */ 11688 /** Space allotted for the image, defined in GB. */
11689 core.int imageSpaceGb; 11689 core.int imageSpaceGb;
11690 11690
11691 /** Type of the resource. */ 11691 /** Type of the resource. */
11692 core.String kind; 11692 core.String kind;
11693 11693
11694 /** Maximum persistent disks allowed. */ 11694 /** Maximum persistent disks allowed. */
11695 core.int maximumPersistentDisks; 11695 core.int maximumPersistentDisks;
11696 11696
11697 /** Maximum total persistent disks size (GB) allowed. */ 11697 /** Maximum total persistent disks size (GB) allowed. */
11698 core.String maximumPersistentDisksSizeGb; 11698 core.String maximumPersistentDisksSizeGb;
11699 11699
11700 /** Physical memory assigned to the instance, defined in MB. */ 11700 /** Physical memory assigned to the instance, defined in MB. */
11701 core.int memoryMb; 11701 core.int memoryMb;
11702 11702
11703 /** Name of the resource. */ 11703 /** Name of the resource. */
11704 core.String name; 11704 core.String name;
11705 11705
11706 /** List of extended scratch disks assigned to the instance. */ 11706 /** List of extended scratch disks assigned to the instance. */
11707 core.List<MachineTypeScratchDisks> scratchDisks; 11707 core.List<MachineTypeScratchDisks> scratchDisks;
11708 11708
11709 /** Server defined URL for the resource (output only). */ 11709 /** [Output Only] Server defined URL for the resource. */
11710 core.String selfLink; 11710 core.String selfLink;
11711 11711
11712 /** Url of the zone where the machine type resides (output only). */ 11712 /**
11713 * [Output Only] The name of the zone where the machine type resides, such as
11714 * us-central1-a.
11715 */
11713 core.String zone; 11716 core.String zone;
11714 11717
11715 11718
11716 MachineType(); 11719 MachineType();
11717 11720
11718 MachineType.fromJson(core.Map _json) { 11721 MachineType.fromJson(core.Map _json) {
11719 if (_json.containsKey("creationTimestamp")) { 11722 if (_json.containsKey("creationTimestamp")) {
11720 creationTimestamp = _json["creationTimestamp"]; 11723 creationTimestamp = _json["creationTimestamp"];
11721 } 11724 }
11722 if (_json.containsKey("deprecated")) { 11725 if (_json.containsKey("deprecated")) {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
11805 _json["zone"] = zone; 11808 _json["zone"] = zone;
11806 } 11809 }
11807 return _json; 11810 return _json;
11808 } 11811 }
11809 } 11812 }
11810 11813
11811 11814
11812 /** Not documented yet. */ 11815 /** Not documented yet. */
11813 class MachineTypeAggregatedList { 11816 class MachineTypeAggregatedList {
11814 /** 11817 /**
11815 * Unique identifier for the resource; defined by the server (output only). 11818 * [Output Only] Unique identifier for the resource; defined by the server.
11816 */ 11819 */
11817 core.String id; 11820 core.String id;
11818 11821
11819 /** A map of scoped machine type lists. */ 11822 /** A map of scoped machine type lists. */
11820 core.Map<core.String, MachineTypesScopedList> items; 11823 core.Map<core.String, MachineTypesScopedList> items;
11821 11824
11822 /** Type of resource. */ 11825 /** Type of resource. */
11823 core.String kind; 11826 core.String kind;
11824 11827
11825 /** A token used to continue a truncated list request (output only). */ 11828 /** [Output Only] A token used to continue a truncated list request. */
11826 core.String nextPageToken; 11829 core.String nextPageToken;
11827 11830
11828 /** Server defined URL for this resource (output only). */ 11831 /** Server defined URL for this resource (output only). */
11829 core.String selfLink; 11832 core.String selfLink;
11830 11833
11831 11834
11832 MachineTypeAggregatedList(); 11835 MachineTypeAggregatedList();
11833 11836
11834 MachineTypeAggregatedList.fromJson(core.Map _json) { 11837 MachineTypeAggregatedList.fromJson(core.Map _json) {
11835 if (_json.containsKey("id")) { 11838 if (_json.containsKey("id")) {
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
11960 } 11963 }
11961 if (value != null) { 11964 if (value != null) {
11962 _json["value"] = value; 11965 _json["value"] = value;
11963 } 11966 }
11964 return _json; 11967 return _json;
11965 } 11968 }
11966 } 11969 }
11967 11970
11968 11971
11969 /** 11972 /**
11970 * Informational warning which replaces the list of machine types when the list 11973 * An informational warning that appears when the machine types list is empty.
11971 * is empty.
11972 */ 11974 */
11973 class MachineTypesScopedListWarning { 11975 class MachineTypesScopedListWarning {
11974 /** 11976 /**
11975 * The warning type identifier for this warning. 11977 * The warning type identifier for this warning.
11976 * Possible string values are: 11978 * Possible string values are:
11977 * - "DEPRECATED_RESOURCE_USED" 11979 * - "DEPRECATED_RESOURCE_USED"
11978 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" 11980 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
11979 * - "INJECTED_KERNELS_DEPRECATED" 11981 * - "INJECTED_KERNELS_DEPRECATED"
11980 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED" 11982 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
11981 * - "NEXT_HOP_CANNOT_IP_FORWARD" 11983 * - "NEXT_HOP_CANNOT_IP_FORWARD"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
12025 } 12027 }
12026 } 12028 }
12027 12029
12028 12030
12029 /** Not documented yet. */ 12031 /** Not documented yet. */
12030 class MachineTypesScopedList { 12032 class MachineTypesScopedList {
12031 /** List of machine types contained in this scope. */ 12033 /** List of machine types contained in this scope. */
12032 core.List<MachineType> machineTypes; 12034 core.List<MachineType> machineTypes;
12033 12035
12034 /** 12036 /**
12035 * Informational warning which replaces the list of machine types when the 12037 * An informational warning that appears when the machine types list is empty.
12036 * list is empty.
12037 */ 12038 */
12038 MachineTypesScopedListWarning warning; 12039 MachineTypesScopedListWarning warning;
12039 12040
12040 12041
12041 MachineTypesScopedList(); 12042 MachineTypesScopedList();
12042 12043
12043 MachineTypesScopedList.fromJson(core.Map _json) { 12044 MachineTypesScopedList.fromJson(core.Map _json) {
12044 if (_json.containsKey("machineTypes")) { 12045 if (_json.containsKey("machineTypes")) {
12045 machineTypes = _json["machineTypes"].map((value) => new MachineType.fromJs on(value)).toList(); 12046 machineTypes = _json["machineTypes"].map((value) => new MachineType.fromJs on(value)).toList();
12046 } 12047 }
(...skipping 4027 matching lines...) Expand 10 before | Expand all | Expand 10 after
16074 _json["nextPageToken"] = nextPageToken; 16075 _json["nextPageToken"] = nextPageToken;
16075 } 16076 }
16076 if (selfLink != null) { 16077 if (selfLink != null) {
16077 _json["selfLink"] = selfLink; 16078 _json["selfLink"] = selfLink;
16078 } 16079 }
16079 return _json; 16080 return _json;
16080 } 16081 }
16081 } 16082 }
16082 16083
16083 16084
OLDNEW
« no previous file with comments | « generated/googleapis/lib/calendar/v3.dart ('k') | generated/googleapis/lib/doubleclicksearch/v2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698