From d5f09ef30392532bcfdd82901148bdd3ac6eec01 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 13 Jul 2021 07:06:47 +0000 Subject: [PATCH] feat(dataflow): update the api #### dataflow:v1b3 The following keys were added: - schemas.FlexTemplateRuntimeEnvironment.properties.diskSizeGb (Total Keys: 2) - schemas.FlexTemplateRuntimeEnvironment.properties.maxNumWorkers (Total Keys: 2) --- ...taflow_v1b3.projects.locations.flexTemplates.html | 4 ++++ .../discovery_cache/documents/dataflow.v1b3.json | 12 +++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/dyn/dataflow_v1b3.projects.locations.flexTemplates.html b/docs/dyn/dataflow_v1b3.projects.locations.flexTemplates.html index c4eb64f95ea..eb6293c945e 100644 --- a/docs/dyn/dataflow_v1b3.projects.locations.flexTemplates.html +++ b/docs/dyn/dataflow_v1b3.projects.locations.flexTemplates.html @@ -106,11 +106,13 @@

Method Details

"additionalUserLabels": { # Additional user labels to be specified for the job. Keys and values must follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1kg", "count": "3" }. "a_key": "A String", }, + "diskSizeGb": 42, # Worker disk size, in gigabytes. "enableStreamingEngine": True or False, # Whether to enable Streaming Engine for the job. "flexrsGoal": "A String", # Set FlexRS goal for the job. https://cloud.google.com/dataflow/docs/guides/flexrs "ipConfiguration": "A String", # Configuration for VM IPs. "kmsKeyName": "A String", # Name for the Cloud KMS key for the job. Key format is: projects//locations//keyRings//cryptoKeys/ "machineType": "A String", # The machine type to use for the job. Defaults to the value from the template if not specified. + "maxNumWorkers": 42, # The maximum number of workers to cap scaling at. "maxWorkers": 42, # The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000. "network": "A String", # Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default". "numWorkers": 42, # The initial number of Google Compute Engine instances for the job. @@ -156,11 +158,13 @@

Method Details

"additionalUserLabels": { # Additional user labels to be specified for the job. Keys and values must follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1kg", "count": "3" }. "a_key": "A String", }, + "diskSizeGb": 42, # Worker disk size, in gigabytes. "enableStreamingEngine": True or False, # Whether to enable Streaming Engine for the job. "flexrsGoal": "A String", # Set FlexRS goal for the job. https://cloud.google.com/dataflow/docs/guides/flexrs "ipConfiguration": "A String", # Configuration for VM IPs. "kmsKeyName": "A String", # Name for the Cloud KMS key for the job. Key format is: projects//locations//keyRings//cryptoKeys/ "machineType": "A String", # The machine type to use for the job. Defaults to the value from the template if not specified. + "maxNumWorkers": 42, # The maximum number of workers to cap scaling at. "maxWorkers": 42, # The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000. "network": "A String", # Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default". "numWorkers": 42, # The initial number of Google Compute Engine instances for the job. diff --git a/googleapiclient/discovery_cache/documents/dataflow.v1b3.json b/googleapiclient/discovery_cache/documents/dataflow.v1b3.json index 3e2cabfcfe9..5fbc81d5cec 100644 --- a/googleapiclient/discovery_cache/documents/dataflow.v1b3.json +++ b/googleapiclient/discovery_cache/documents/dataflow.v1b3.json @@ -2225,7 +2225,7 @@ } } }, - "revision": "20210618", + "revision": "20210703", "rootUrl": "https://dataflow.googleapis.com/", "schemas": { "ApproximateProgress": { @@ -3314,6 +3314,11 @@ "description": "Additional user labels to be specified for the job. Keys and values must follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of \"key\": value pairs. Example: { \"name\": \"wrench\", \"mass\": \"1kg\", \"count\": \"3\" }.", "type": "object" }, + "diskSizeGb": { + "description": "Worker disk size, in gigabytes.", + "format": "int32", + "type": "integer" + }, "enableStreamingEngine": { "description": "Whether to enable Streaming Engine for the job.", "type": "boolean" @@ -3354,6 +3359,11 @@ "description": "The machine type to use for the job. Defaults to the value from the template if not specified.", "type": "string" }, + "maxNumWorkers": { + "description": "The maximum number of workers to cap scaling at.", + "format": "int32", + "type": "integer" + }, "maxWorkers": { "description": "The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000.", "format": "int32",