* $sasportalService = new Google\Service\Sasportal(...); * $deployments = $sasportalService->deployments; * */ class CustomersNodesDeployments extends \Google\Service\Resource { /** * Creates a new deployment. (deployments.create) * * @param string $parent Required. The parent resource name where the deployment * is to be created. * @param SasPortalDeployment $postBody * @param array $optParams Optional parameters. * @return SasPortalDeployment */ public function create($parent, SasPortalDeployment $postBody, $optParams = []) { $params = ['parent' => $parent, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('create', [$params], SasPortalDeployment::class); } /** * Lists deployments. (deployments.listCustomersNodesDeployments) * * @param string $parent Required. The parent resource name, for example, * "nodes/1", customer/1/nodes/2. * @param array $optParams Optional parameters. * * @opt_param string filter The filter expression. The filter should have the * following format: "DIRECT_CHILDREN" or format: "direct_children". The filter * is case insensitive. If empty, then no deployments are filtered. * @opt_param int pageSize The maximum number of deployments to return in the * response. * @opt_param string pageToken A pagination token returned from a previous call * to ListDeployments that indicates where this listing should continue from. * @return SasPortalListDeploymentsResponse */ public function listCustomersNodesDeployments($parent, $optParams = []) { $params = ['parent' => $parent]; $params = array_merge($params, $optParams); return $this->call('list', [$params], SasPortalListDeploymentsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CustomersNodesDeployments::class, 'Google_Service_Sasportal_Resource_CustomersNodesDeployments');