class ProjectsLocations extends Resource (View source)

The "locations" collection of methods.

Typical usage is:

 $contentwarehouseService = new Google\Service\Contentwarehouse(...);
 $locations = $contentwarehouseService->projects_locations;

Methods

getStatus(string $location, array $optParams = [])

Get the project status. (locations.getStatus)

initialize(string $location, GoogleCloudContentwarehouseV1InitializeProjectRequest $postBody, array $optParams = [])

Provisions resources for given tenant project. Returns a long running operation. (locations.initialize)

runPipeline(string $name, GoogleCloudContentwarehouseV1RunPipelineRequest $postBody, array $optParams = [])

Run a predefined pipeline. (locations.runPipeline)

Details

GoogleCloudContentwarehouseV1ProjectStatus getStatus(string $location, array $optParams = [])

Get the project status. (locations.getStatus)

Parameters

string $location

Required. The location to be queried Format: projects/{project_number}/locations/{location}.

array $optParams

Optional parameters.

Return Value

GoogleCloudContentwarehouseV1ProjectStatus

Exceptions

Exception

GoogleLongrunningOperation initialize(string $location, GoogleCloudContentwarehouseV1InitializeProjectRequest $postBody, array $optParams = [])

Provisions resources for given tenant project. Returns a long running operation. (locations.initialize)

Parameters

string $location

Required. The location to be initialized Format: projects/{project_number}/locations/{location}.

GoogleCloudContentwarehouseV1InitializeProjectRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleLongrunningOperation runPipeline(string $name, GoogleCloudContentwarehouseV1RunPipelineRequest $postBody, array $optParams = [])

Run a predefined pipeline. (locations.runPipeline)

Parameters

string $name

Required. The resource name which owns the resources of the pipeline. Format: projects/{project_number}/locations/{location}.

GoogleCloudContentwarehouseV1RunPipelineRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception