Skip to content

Commit

Permalink
Regenerate workstations client (#2680)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Apr 19, 2023
1 parent 42fa332 commit bf6dd49
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ class ProjectsLocationsWorkstationClustersWorkstationConfigs extends \Google\Ser
*
* @opt_param bool validateOnly If set, validate the request and preview the
* review, but do not actually apply it.
* @opt_param string workstationConfigId Required. ID to use for the config.
* @opt_param string workstationConfigId Required. ID to use for the workstation
* configuration.
* @return Operation
*/
public function create($parent, WorkstationConfig $postBody, $optParams = [])
Expand All @@ -57,14 +58,15 @@ public function create($parent, WorkstationConfig $postBody, $optParams = [])
/**
* Deletes the specified workstation configuration. (workstationConfigs.delete)
*
* @param string $name Required. Name of the config to delete.
* @param string $name Required. Name of the workstation configuration to
* delete.
* @param array $optParams Optional parameters.
*
* @opt_param string etag If set, the request will be rejected if the latest
* version of the config on the server does not have this etag.
* @opt_param bool force If set, any Workstations in the config will also be
* deleted. Otherwise, the request will work only if the config has no
* workstations.
* @opt_param string etag If set, the request is rejected if the latest version
* of the workstation configuration on the server does not have this etag.
* @opt_param bool force If set, any workstations in the workstation
* configuration are also deleted. Otherwise, the request works only if the
* workstation configuration has no workstations.
* @opt_param bool validateOnly If set, validate the request and preview the
* review, but do not actually apply it.
* @return Operation
Expand Down Expand Up @@ -163,10 +165,11 @@ public function listUsable($parent, $optParams = [])
* @param WorkstationConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool allowMissing If set, and the config is not found, a new
* config will be created. In this situation, update_mask is ignored.
* @opt_param bool allowMissing If set and the workstation configuration is not
* found, a new workstation configuration will be created. In this situation,
* update_mask is ignored.
* @opt_param string updateMask Required. Mask specifying which fields in the
* config should be updated.
* workstation configuration should be updated.
* @opt_param bool validateOnly If set, validate the request and preview the
* review, but do not actually apply it.
* @return Operation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,9 @@ public function getIamPolicy($resource, $optParams = [])
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Returns all Workstations using the specified config. (workstations.listProjec
* tsLocationsWorkstationClustersWorkstationConfigsWorkstations)
* Returns all Workstations using the specified workstation configuration. (work
* stations.listProjectsLocationsWorkstationClustersWorkstationConfigsWorkstatio
* ns)
*
* @param string $parent Required. Parent resource name.
* @param array $optParams Optional parameters.
Expand All @@ -154,8 +155,9 @@ public function listProjectsLocationsWorkstationClustersWorkstationConfigsWorkst
return $this->call('list', [$params], ListWorkstationsResponse::class);
}
/**
* Returns all Workstations using the specified config on which the caller has
* the "workstations.workstations.use" permission. (workstations.listUsable)
* Returns all workstations using the specified workstation configuration on
* which the caller has the "workstations.workstations.use" permission.
* (workstations.listUsable)
*
* @param string $parent Required. Parent resource name.
* @param array $optParams Optional parameters.
Expand All @@ -178,10 +180,11 @@ public function listUsable($parent, $optParams = [])
* @param Workstation $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool allowMissing If set, and the config is not found, a new
* config will be created. In this situation, update_mask is ignored.
* @opt_param bool allowMissing If set and the workstation configuration is not
* found, a new workstation configuration is created. In this situation,
* update_mask is ignored.
* @opt_param string updateMask Required. Mask specifying which fields in the
* config should be updated.
* workstation configuration should be updated.
* @opt_param bool validateOnly If set, validate the request and preview the
* review, but do not actually apply it.
* @return Operation
Expand Down

0 comments on commit bf6dd49

Please sign in to comment.