Index: generated/googleapis/lib/dataproc/v1.dart |
diff --git a/generated/googleapis/lib/dataproc/v1.dart b/generated/googleapis/lib/dataproc/v1.dart |
index b50343cb6e5ebbf87135c867546060bf23c8a009..61fcb737d18f34ddb9a87ca60d45898885bd3f03 100644 |
--- a/generated/googleapis/lib/dataproc/v1.dart |
+++ b/generated/googleapis/lib/dataproc/v1.dart |
@@ -278,10 +278,6 @@ class ProjectsRegionsClustersResourceApi { |
* [region] - Required The Cloud Dataproc region in which to handle the |
* request. |
* |
- * [pageToken] - Optional The standard List page token. |
- * |
- * [pageSize] - Optional The standard List page size. |
- * |
* [filter] - Optional A filter constraining the clusters to list. Filters are |
* case-sensitive and have the following syntax:field = value AND field = |
* value ...where field is one of status.state, clusterName, or labels.[KEY], |
@@ -294,6 +290,10 @@ class ProjectsRegionsClustersResourceApi { |
* implicit AND operator.Example filter:status.state = ACTIVE AND clusterName |
* = mycluster AND labels.env = staging AND labels.starred = * |
* |
+ * [pageToken] - Optional The standard List page token. |
+ * |
+ * [pageSize] - Optional The standard List page size. |
+ * |
* Completes with a [ListClustersResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -302,7 +302,7 @@ class ProjectsRegionsClustersResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListClustersResponse> list(core.String projectId, core.String region, {core.String pageToken, core.int pageSize, core.String filter}) { |
+ async.Future<ListClustersResponse> list(core.String projectId, core.String region, {core.String filter, core.String pageToken, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -316,15 +316,15 @@ class ProjectsRegionsClustersResourceApi { |
if (region == null) { |
throw new core.ArgumentError("Parameter region is required."); |
} |
+ if (filter != null) { |
+ _queryParams["filter"] = [filter]; |
+ } |
if (pageToken != null) { |
_queryParams["pageToken"] = [pageToken]; |
} |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
- if (filter != null) { |
- _queryParams["filter"] = [filter]; |
- } |
_url = 'v1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/clusters'; |
@@ -1000,6 +1000,45 @@ class ProjectsRegionsOperationsResourceApi { |
+/** |
+ * Specifies the type and number of accelerator cards attached to the instances |
+ * of an instance group (see GPUs on Compute Engine). |
+ */ |
+class AcceleratorConfig { |
+ /** |
+ * The number of the accelerator cards of this type exposed to this instance. |
+ */ |
+ core.int acceleratorCount; |
+ /** |
+ * Full or partial URI of the accelerator type resource to expose to this |
+ * instance. See Google Compute Engine AcceleratorTypes( |
+ * /compute/docs/reference/beta/acceleratorTypes) |
+ */ |
+ core.String acceleratorTypeUri; |
+ |
+ AcceleratorConfig(); |
+ |
+ AcceleratorConfig.fromJson(core.Map _json) { |
+ if (_json.containsKey("acceleratorCount")) { |
+ acceleratorCount = _json["acceleratorCount"]; |
+ } |
+ if (_json.containsKey("acceleratorTypeUri")) { |
+ acceleratorTypeUri = _json["acceleratorTypeUri"]; |
+ } |
+ } |
+ |
+ core.Map toJson() { |
+ var _json = new core.Map(); |
+ if (acceleratorCount != null) { |
+ _json["acceleratorCount"] = acceleratorCount; |
+ } |
+ if (acceleratorTypeUri != null) { |
+ _json["acceleratorTypeUri"] = acceleratorTypeUri; |
+ } |
+ return _json; |
+ } |
+} |
+ |
/** A request to cancel a job. */ |
class CancelJobRequest { |
@@ -1882,6 +1921,12 @@ class HiveJob { |
* instance group, such as a master or worker group. |
*/ |
class InstanceGroupConfig { |
+ /** |
+ * Optional The Google Compute Engine accelerator configuration for these |
+ * instances.Beta Feature: This feature is still under development. It may be |
+ * changed before final release. |
+ */ |
+ core.List<AcceleratorConfig> accelerators; |
/** Optional Disk option config settings. */ |
DiskConfig diskConfig; |
/** |
@@ -1919,6 +1964,9 @@ class InstanceGroupConfig { |
InstanceGroupConfig(); |
InstanceGroupConfig.fromJson(core.Map _json) { |
+ if (_json.containsKey("accelerators")) { |
+ accelerators = _json["accelerators"].map((value) => new AcceleratorConfig.fromJson(value)).toList(); |
+ } |
if (_json.containsKey("diskConfig")) { |
diskConfig = new DiskConfig.fromJson(_json["diskConfig"]); |
} |
@@ -1944,6 +1992,9 @@ class InstanceGroupConfig { |
core.Map toJson() { |
var _json = new core.Map(); |
+ if (accelerators != null) { |
+ _json["accelerators"] = accelerators.map((value) => (value).toJson()).toList(); |
+ } |
if (diskConfig != null) { |
_json["diskConfig"] = (diskConfig).toJson(); |
} |
@@ -2172,7 +2223,7 @@ class JobReference { |
* generated by the server upon job submission or provided by the user as a |
* means to perform retries without creating duplicate jobs. The ID must |
* contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens |
- * (-). The maximum length is 512 characters. |
+ * (-). The maximum length is 100 characters. |
*/ |
core.String jobId; |
/** |