Skip to content

Commit 65337c6

Browse files
Google APIscopybara-github
authored andcommitted
docs: Update the comment to add a note about documentai.processors.create permission
PiperOrigin-RevId: 643086644
1 parent 1b4bd4d commit 65337c6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

google/cloud/documentai/v1/document_processor_service.proto

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,11 @@ service DocumentProcessorService {
212212

213213
// Creates a processor from the
214214
// [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The
215-
// processor will be at `ENABLED` state by default after its creation.
215+
// processor will be at `ENABLED` state by default after its creation. Note
216+
// that this method requires the `documentai.processors.create` permission on
217+
// the project, which is highly privileged. A user or service account with
218+
// this permission can create new processors that can interact with any gcs
219+
// bucket in your project.
216220
rpc CreateProcessor(CreateProcessorRequest) returns (Processor) {
217221
option (google.api.http) = {
218222
post: "/v1/{parent=projects/*/locations/*}/processors"

0 commit comments

Comments
 (0)