| 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.dataproc.v1; | 3 library googleapis.dataproc.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 1656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1667 core.String subnetworkUri; | 1667 core.String subnetworkUri; |
| 1668 /** | 1668 /** |
| 1669 * The Google Compute Engine tags to add to all instances (see Tagging | 1669 * The Google Compute Engine tags to add to all instances (see Tagging |
| 1670 * instances). | 1670 * instances). |
| 1671 */ | 1671 */ |
| 1672 core.List<core.String> tags; | 1672 core.List<core.String> tags; |
| 1673 /** | 1673 /** |
| 1674 * Optional. The zone where the Google Compute Engine cluster will be located. | 1674 * Optional. The zone where the Google Compute Engine cluster will be located. |
| 1675 * On a create request, it is required in the "global" region. If omitted in a | 1675 * On a create request, it is required in the "global" region. If omitted in a |
| 1676 * non-global Cloud Dataproc region, the service will pick a zone in the | 1676 * non-global Cloud Dataproc region, the service will pick a zone in the |
| 1677 * corresponding GCE region. On a get request, zone will always be present.A | 1677 * corresponding Compute Engine region. On a get request, zone will always be |
| 1678 * full URL, partial URI, or short name are valid. Examples: | 1678 * present.A full URL, partial URI, or short name are valid. Examples: |
| 1679 * https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone] | 1679 * https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone] |
| 1680 * projects/[project_id]/zones/[zone] | 1680 * projects/[project_id]/zones/[zone] |
| 1681 * us-central1-f | 1681 * us-central1-f |
| 1682 */ | 1682 */ |
| 1683 core.String zoneUri; | 1683 core.String zoneUri; |
| 1684 | 1684 |
| 1685 GceClusterConfig(); | 1685 GceClusterConfig(); |
| 1686 | 1686 |
| 1687 GceClusterConfig.fromJson(core.Map _json) { | 1687 GceClusterConfig.fromJson(core.Map _json) { |
| 1688 if (_json.containsKey("internalIpOnly")) { | 1688 if (_json.containsKey("internalIpOnly")) { |
| (...skipping 1458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3147 * Asynchronous operations. If an API call embeds asynchronous operation results | 3147 * Asynchronous operations. If an API call embeds asynchronous operation results |
| 3148 * in its response, the status of those operations should be represented | 3148 * in its response, the status of those operations should be represented |
| 3149 * directly using the Status message. | 3149 * directly using the Status message. |
| 3150 * Logging. If some API errors are stored in logs, the message Status could be | 3150 * Logging. If some API errors are stored in logs, the message Status could be |
| 3151 * used directly after any stripping needed for security/privacy reasons. | 3151 * used directly after any stripping needed for security/privacy reasons. |
| 3152 */ | 3152 */ |
| 3153 class Status { | 3153 class Status { |
| 3154 /** The status code, which should be an enum value of google.rpc.Code. */ | 3154 /** The status code, which should be an enum value of google.rpc.Code. */ |
| 3155 core.int code; | 3155 core.int code; |
| 3156 /** | 3156 /** |
| 3157 * A list of messages that carry the error details. There will be a common set | 3157 * A list of messages that carry the error details. There is a common set of |
| 3158 * of message types for APIs to use. | 3158 * message types for APIs to use. |
| 3159 * | 3159 * |
| 3160 * The values for Object must be JSON objects. It can consist of `num`, | 3160 * The values for Object must be JSON objects. It can consist of `num`, |
| 3161 * `String`, `bool` and `null` as well as `Map` and `List` values. | 3161 * `String`, `bool` and `null` as well as `Map` and `List` values. |
| 3162 */ | 3162 */ |
| 3163 core.List<core.Map<core.String, core.Object>> details; | 3163 core.List<core.Map<core.String, core.Object>> details; |
| 3164 /** | 3164 /** |
| 3165 * A developer-facing error message, which should be in English. Any | 3165 * A developer-facing error message, which should be in English. Any |
| 3166 * user-facing error message should be localized and sent in the | 3166 * user-facing error message should be localized and sent in the |
| 3167 * google.rpc.Status.details field, or localized by the client. | 3167 * google.rpc.Status.details field, or localized by the client. |
| 3168 */ | 3168 */ |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3279 } | 3279 } |
| 3280 if (state != null) { | 3280 if (state != null) { |
| 3281 _json["state"] = state; | 3281 _json["state"] = state; |
| 3282 } | 3282 } |
| 3283 if (trackingUrl != null) { | 3283 if (trackingUrl != null) { |
| 3284 _json["trackingUrl"] = trackingUrl; | 3284 _json["trackingUrl"] = trackingUrl; |
| 3285 } | 3285 } |
| 3286 return _json; | 3286 return _json; |
| 3287 } | 3287 } |
| 3288 } | 3288 } |
| OLD | NEW |