class ProjectsLocations extends Resource (View source)

The "locations" collection of methods.

Typical usage is:

 $documentaiService = new Google\Service\Document(...);
 $locations = $documentaiService->projects_locations;

Methods

fetchProcessorTypes(string $parent, array $optParams = [])

Fetches processor types. Note that we don't use ListProcessorTypes here, because it isn't paginated. (locations.fetchProcessorTypes)

get(string $name, array $optParams = [])

Gets information about a location. (locations.get)

listProjectsLocations(string $name, array $optParams = [])

Lists information about the supported locations for this service.

Details

GoogleCloudDocumentaiV1FetchProcessorTypesResponse fetchProcessorTypes(string $parent, array $optParams = [])

Fetches processor types. Note that we don't use ListProcessorTypes here, because it isn't paginated. (locations.fetchProcessorTypes)

Parameters

string $parent

Required. The location of processor types to list. Format: projects/{project}/locations/{location}.

array $optParams

Optional parameters.

Return Value

GoogleCloudDocumentaiV1FetchProcessorTypesResponse

Exceptions

Exception

GoogleCloudLocationLocation get(string $name, array $optParams = [])

Gets information about a location. (locations.get)

Parameters

string $name

Resource name for the location.

array $optParams

Optional parameters.

Return Value

GoogleCloudLocationLocation

Exceptions

Exception

GoogleCloudLocationListLocationsResponse listProjectsLocations(string $name, array $optParams = [])

Lists information about the supported locations for this service.

(locations.listProjectsLocations)

Parameters

string $name

The resource that owns the locations collection, if applicable.

array $optParams

Optional parameters.

Return Value

GoogleCloudLocationListLocationsResponse

Exceptions

Exception