ProjectsLocationsDocumentsReferenceId
class ProjectsLocationsDocumentsReferenceId extends Resource (View source)
The "referenceId" collection of methods.
Typical usage is:
$contentwarehouseService = new Google\Service\Contentwarehouse(...);
$referenceId = $contentwarehouseService->projects_locations_documents_referenceId;
Methods
Deletes a document. Returns NOT_FOUND if the document does not exist.
Gets a document. Returns NOT_FOUND if the document does not exist.
Updates a document. Returns INVALID_ARGUMENT if the name of the document is non-empty and does not equal the existing name. (referenceId.patch)
Details
GoogleProtobufEmpty
delete(string $name, GoogleCloudContentwarehouseV1DeleteDocumentRequest $postBody, array $optParams = [])
Deletes a document. Returns NOT_FOUND if the document does not exist.
(referenceId.delete)
GoogleCloudContentwarehouseV1Document
get(string $name, GoogleCloudContentwarehouseV1GetDocumentRequest $postBody, array $optParams = [])
Gets a document. Returns NOT_FOUND if the document does not exist.
(referenceId.get)
GoogleCloudContentwarehouseV1UpdateDocumentResponse
patch(string $name, GoogleCloudContentwarehouseV1UpdateDocumentRequest $postBody, array $optParams = [])
Updates a document. Returns INVALID_ARGUMENT if the name of the document is non-empty and does not equal the existing name. (referenceId.patch)