Skip to content

Commit

Permalink
Regenerate dataproc client (#3343)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Aug 10, 2023
1 parent 9ef7822 commit 104c928
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Dataproc.php
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'location' => 'query',
'type' => 'string',
],
'gracefulTerminationTimeout' => [
'location' => 'query',
'type' => 'string',
],
'requestId' => [
'location' => 'query',
'type' => 'string',
Expand Down
18 changes: 18 additions & 0 deletions src/Dataproc/InstanceGroupConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ class InstanceGroupConfig extends \Google\Collection
* @var string
*/
public $minCpuPlatform;
/**
* @var int
*/
public $minNumInstances;
/**
* @var int
*/
Expand Down Expand Up @@ -183,6 +187,20 @@ public function getMinCpuPlatform()
{
return $this->minCpuPlatform;
}
/**
* @param int
*/
public function setMinNumInstances($minNumInstances)
{
$this->minNumInstances = $minNumInstances;
}
/**
* @return int
*/
public function getMinNumInstances()
{
return $this->minNumInstances;
}
/**
* @param int
*/
Expand Down
8 changes: 8 additions & 0 deletions src/Dataproc/Resource/ProjectsRegionsClusters.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@ public function create($projectId, $region, Cluster $postBody, $optParams = [])
* @opt_param string clusterUuid Optional. Specifying the cluster_uuid means the
* RPC should fail (with error NOT_FOUND) if cluster with specified UUID does
* not exist.
* @opt_param string gracefulTerminationTimeout Optional. The graceful
* termination timeout for the deletion of the cluster. Indicate the time the
* request will wait to complete the running jobs on the cluster before its
* forceful deletion. Default value is 0 indicating that the user has not
* enabled the graceful termination. Value can be between 60 second and 6 Hours,
* in case the graceful termination is enabled. (There is no separate flag to
* check the enabling or disabling of graceful termination, it can be checked by
* the values in the field).
* @opt_param string requestId Optional. A unique ID used to identify the
* request. If the server receives two DeleteClusterRequest (https://cloud.googl
* e.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.datap
Expand Down

0 comments on commit 104c928

Please sign in to comment.