Skip to content

Commit 26adeba

Browse files
feat: exposed GetProcessorType to v1 (#3857)
* feat: new transaction options for datastoreV1 PiperOrigin-RevId: 501960571 Source-Link: googleapis/googleapis@d4599ad Source-Link: googleapis/googleapis-gen@02ff42c Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRlbnR3YXJlaG91c2UvLk93bEJvdC55YW1sIiwiaCI6IjAyZmY0MmNmMDMwOTY1YjkwMDYyNDNjNjk3ZTc2MWZkY2FiYjhjYTEifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: exposed GetProcessorType to v1 PiperOrigin-RevId: 502624243 Source-Link: googleapis/googleapis@bd5f934 Source-Link: googleapis/googleapis-gen@7ae8a3a Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRlbnR3YXJlaG91c2UvLk93bEJvdC55YW1sIiwiaCI6IjdhZThhM2E5NzU1ZjY2MWNlODk4OWU5ZGNiMTQ1ZDJkZmY3N2Q4NjQifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: sofisl <[email protected]>
1 parent 1195e83 commit 26adeba

File tree

47 files changed

+66
-47
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+66
-47
lines changed

packages/google-cloud-contentwarehouse/.jsdoc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -40,7 +40,7 @@ module.exports = {
4040
includePattern: '\\.js$'
4141
},
4242
templates: {
43-
copyright: 'Copyright 2022 Google LLC',
43+
copyright: 'Copyright 2023 Google LLC',
4444
includeDate: false,
4545
sourceFiles: false,
4646
systemName: '@google-cloud/contentwarehouse',

packages/google-cloud-contentwarehouse/.mocharc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

packages/google-cloud-contentwarehouse/.prettierrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

packages/google-cloud-contentwarehouse/protos/google/cloud/documentai/v1/document_processor_service.proto

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,14 @@ service DocumentProcessorService {
107107
option (google.api.method_signature) = "parent";
108108
}
109109

110+
// Gets a processor type detail.
111+
rpc GetProcessorType(GetProcessorTypeRequest) returns (ProcessorType) {
112+
option (google.api.http) = {
113+
get: "/v1/{name=projects/*/locations/*/processorTypes/*}"
114+
};
115+
option (google.api.method_signature) = "name";
116+
}
117+
110118
// Lists all processors which belong to this project.
111119
rpc ListProcessors(ListProcessorsRequest) returns (ListProcessorsResponse) {
112120
option (google.api.http) = {
@@ -516,6 +524,17 @@ message ListProcessorsResponse {
516524
string next_page_token = 2;
517525
}
518526

527+
// Request message for get processor.
528+
message GetProcessorTypeRequest {
529+
// Required. The processor type resource name.
530+
string name = 1 [
531+
(google.api.field_behavior) = REQUIRED,
532+
(google.api.resource_reference) = {
533+
type: "documentai.googleapis.com/ProcessorType"
534+
}
535+
];
536+
}
537+
519538
// Request message for get processor.
520539
message GetProcessorRequest {
521540
// Required. The processor resource name.

packages/google-cloud-contentwarehouse/protos/protos.d.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-contentwarehouse/protos/protos.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-contentwarehouse/samples/generated/v1/document_link_service.create_document_link.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

packages/google-cloud-contentwarehouse/samples/generated/v1/document_link_service.delete_document_link.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

packages/google-cloud-contentwarehouse/samples/generated/v1/document_link_service.list_linked_sources.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

packages/google-cloud-contentwarehouse/samples/generated/v1/document_link_service.list_linked_targets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)