google-cloud-document_ai 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1cc1f9f01b9221eaff1cbca75402ea00a84286fa8edc5821dd2852953e6c305
4
- data.tar.gz: 5ccfdea6a56e73b998e6e444e18ab73bcfbfd8af77504f71bde6539d9bbeecad
3
+ metadata.gz: 046e5ea6c9d583d2c0422e6709a37844a1e22f8694560377814eb4c530a31b15
4
+ data.tar.gz: 8f32364d1a65a2d367d7f3c7ccb9fad0dee9599d31e6d790e0ff5ab65a33874b
5
5
  SHA512:
6
- metadata.gz: c153e325447b48d6bc048818f0e7afd5ec85f3c2d59b0e984b3f926f668ecbb8d322d71f90e80b9fe334b3d3faccbe7962fdb0eb8e2404bdbe740cb2cd8b3067
7
- data.tar.gz: 9bb0c887f1eafe7b39454fefc87a2e46e33f9cd8f58b8b1797e3670362216307e06e9fd47141183b689efa360dd3b9620a2e367d89ba69a545ed43640fb58c2a
6
+ metadata.gz: da19538fa6de25b6aa29877b90f7e6e1430e3f39b50953da7a02e687ff32d648ba17d76424fde1c441add51cbc6e48d097ae74bceb9f8cb67f696c832468fdd2
7
+ data.tar.gz: ae2fa2bb1cf821c78979ed8efc2e1b104a95ecc3b8cd087d7ae3bd96c0e7fedba4cd04bccd17d9a597e5409dc9199dbb19f978ec9fda9b0d250456fa6a75f5ac
data/README.md CHANGED
@@ -34,6 +34,14 @@ In order to use this library, you first need to go through the following steps:
34
34
  1. [Enable the API.](https://console.cloud.google.com/apis/library/documentai.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/document_ai"
39
+
40
+ client = Google::Cloud::DocumentAI.document_processor_service
41
+ request = ::Google::Cloud::DocumentAI::V1::ProcessRequest.new # (request fields as keyword arguments...)
42
+ response = client.process_document request
43
+ ```
44
+
37
45
  ## Debug Logging
38
46
 
39
47
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module DocumentAI
23
- VERSION = "2.0.1"
23
+ VERSION = "2.0.2"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-document_ai
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
70
  - !ruby/object:Gem::Version
71
71
  version: '0'
72
72
  requirements: []
73
- rubygems_version: 3.6.8
73
+ rubygems_version: 3.6.9
74
74
  specification_version: 4
75
75
  summary: API Client library for the Document AI API
76
76
  test_files: []