class Projects extends Resource (View source)

The "projects" collection of methods.

Typical usage is:

 $discoveryengineService = new Google\Service\DiscoveryEngine(...);
 $projects = $discoveryengineService->projects;

Methods

provision(string $name, GoogleCloudDiscoveryengineV1ProvisionProjectRequest $postBody, array $optParams = [])

Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the Terms for data use, and optionally specify in request to provide consent to that service terms. (projects.provision)

Details

GoogleLongrunningOperation provision(string $name, GoogleCloudDiscoveryengineV1ProvisionProjectRequest $postBody, array $optParams = [])

Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the Terms for data use, and optionally specify in request to provide consent to that service terms. (projects.provision)

Parameters

string $name

Required. Full resource name of a Project, such as projects/{project_id_or_number}.

GoogleCloudDiscoveryengineV1ProvisionProjectRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception