google-api-ruby-client/generated/google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/representations.rb

2337 lines
113 KiB
Ruby
Raw Normal View History

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module DocumentaiV1beta2
class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3ProcessorVersion
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3Schema
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3SchemaEntityType
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1BatchProcessMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1BatchProcessResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1CommonOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
feat: Automated regeneration of documentai v1beta2 client (#2420) This PR was generated using Autosynth. :rainbow: <details><summary>Log from Synthtool</summary> ``` 2021-01-19 02:18:39,076 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py. On branch autosynth-documentai-v1beta2 nothing to commit, working tree clean 2021-01-19 02:18:39,147 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth documentai v1beta2 DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth documentai v1beta2 git clean -df bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Fetching rake 11.3.0 Installing rake 11.3.0 Fetching public_suffix 4.0.6 Fetching zeitwerk 2.4.2 Fetching concurrent-ruby 1.1.7 Fetching minitest 5.14.3 Installing zeitwerk 2.4.2 Installing minitest 5.14.3 Installing public_suffix 4.0.6 Installing concurrent-ruby 1.1.7 Fetching ast 2.4.1 Installing ast 2.4.1 Using bundler 2.2.5 Fetching byebug 11.1.3 Fetching coderay 1.1.3 Installing byebug 11.1.3 with native extensions Installing coderay 1.1.3 Fetching json 2.5.1 Installing json 2.5.1 with native extensions Fetching docile 1.3.5 Installing docile 1.3.5 Fetching simplecov-html 0.10.2 Installing simplecov-html 0.10.2 Using sync 0.5.0 Fetching thor 0.20.3 Installing thor 0.20.3 Fetching rexml 3.2.4 Installing rexml 3.2.4 Fetching declarative 0.0.20 Installing declarative 0.0.20 Fetching declarative-option 0.1.0 Installing declarative-option 0.1.0 Fetching diff-lcs 1.4.4 Fetching dotenv 2.7.6 Installing diff-lcs 1.4.4 Installing dotenv 2.7.6 Fetching fakefs 0.20.1 Installing fakefs 0.20.1 Fetching faraday-net_http 1.0.1 Installing faraday-net_http 1.0.1 Fetching multipart-post 2.1.1 Fetching ruby2_keywords 0.0.2 Installing multipart-post 2.1.1 Installing ruby2_keywords 0.0.2 Fetching gems 1.2.0 Fetching github-markup 1.7.0 Installing gems 1.2.0 Installing github-markup 1.7.0 Fetching jwt 2.2.2 Installing jwt 2.2.2 Fetching memoist 0.16.2 Installing memoist 0.16.2 Fetching multi_json 1.15.0 Fetching os 0.9.6 Installing multi_json 1.15.0 Installing os 0.9.6 Fetching httpclient 2.8.3 Fetching mini_mime 1.0.2 Installing httpclient 2.8.3 Installing mini_mime 1.0.2 Fetching uber 0.1.0 Installing uber 0.1.0 Fetching retriable 3.1.2 Installing retriable 3.1.2 Fetching hashdiff 1.0.1 Installing hashdiff 1.0.1 Fetching mime-types-data 3.2020.1104 Fetching multi_xml 0.6.0 Fetching rspec-support 3.10.1 Installing multi_xml 0.6.0 Installing mime-types-data 3.2020.1104 Installing rspec-support 3.10.1 Fetching little-plugger 1.1.4 Installing little-plugger 1.1.4 Fetching method_source 1.0.0 Installing method_source 1.0.0 Fetching opencensus 0.5.0 Fetching parallel 1.20.1 Installing opencensus 0.5.0 Installing parallel 1.20.1 Fetching powerpack 0.1.3 Installing powerpack 0.1.3 Fetching yard 0.9.26 Installing yard 0.9.26 Fetching rainbow 2.2.2 Installing rainbow 2.2.2 with native extensions Fetching redcarpet 3.5.1 Installing redcarpet 3.5.1 with native extensions Fetching redis 3.3.5 Installing redis 3.3.5 Fetching rmail 1.1.4 Fetching ruby-progressbar 1.11.0 Installing ruby-progressbar 1.11.0 Installing rmail 1.1.4 Fetching unicode-display_width 1.7.0 Installing unicode-display_width 1.7.0 Fetching parser 2.7.2.0 Fetching addressable 2.7.0 Installing parser 2.7.2.0 Installing addressable 2.7.0 Fetching i18n 1.8.7 Installing i18n 1.8.7 Fetching tzinfo 2.0.4 Fetching tins 1.28.0 Installing tzinfo 2.0.4 Fetching crack 0.4.5 Installing tins 1.28.0 Installing crack 0.4.5 Fetching faraday 1.3.0 Installing faraday 1.3.0 Fetching google-id-token 1.4.2 Installing google-id-token 1.4.2 Fetching representable 3.0.4 Installing representable 3.0.4 Fetching logging 2.3.0 Installing logging 2.3.0 Fetching mime-types 3.3.1 Installing mime-types 3.3.1 Fetching rspec-core 3.10.1 Installing rspec-core 3.10.1 Fetching rspec-expectations 3.10.1 Fetching rspec-mocks 3.10.1 Installing rspec-expectations 3.10.1 Installing rspec-mocks 3.10.1 Fetching pry 0.13.1 Fetching simplecov 0.16.1 Installing simplecov 0.16.1 Fetching launchy 2.5.0 Installing pry 0.13.1 Installing launchy 2.5.0 Fetching rubocop 0.49.1 Fetching webmock 2.3.2 Installing rubocop 0.49.1 Installing webmock 2.3.2 Fetching activesupport 6.1.1 Installing activesupport 6.1.1 Fetching signet 0.14.0 Installing signet 0.14.0 Fetching term-ansicolor 1.7.1 Fetching httparty 0.18.1 Installing httparty 0.18.1 Installing term-ansicolor 1.7.1 Fetching rspec 3.10.0 Installing rspec 3.10.0 Fetching pry-byebug 3.9.0 Installing pry-byebug 3.9.0 Fetching pry-doc 0.13.5 Fetching googleauth 0.14.0 Installing googleauth 0.14.0 Fetching coveralls 0.8.23 Installing coveralls 0.8.23 Fetching json_spec 1.1.5 Installing json_spec 1.1.5 Fetching google-apis-core 0.2.0 Installing google-apis-core 0.2.0 Installing pry-doc 0.13.5 Fetching google-apis-discovery_v1 0.1.0 Installing google-apis-discovery_v1 0.1.0 Using google-apis-generator 0.1.1 from source at `.` Bundle complete! 25 Gemfile dependencies, 81 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. Post-install message from i18n: HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. But that may break your application. If you are upgrading your Rails application from an older version of Rails: Please check your Rails app for 'config.i18n.fallbacks = true'. If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be 'config.i18n.fallbacks = [I18n.default_locale]'. If not, fallbacks will be broken in your app by I18n 1.1.x. If you are starting a NEW Rails application, you can ignore this notice. For more info see: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 Post-install message from httparty: When you HTTParty, you must party hard! echo a | bundle exec bin/generate-api gen /workspace/generated --api=documentai.v1beta2 --names=/workspace/api_names.yaml --names-out=/workspace/api_names_out.yaml --spot-check Loading documentai, version v1beta2 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/documentai.v1beta2.json W, [2021-01-19T10:18:57.809680 #224] WARN -- : Found reserved property 'object_id' W, [2021-01-19T10:18:57.809751 #224] WARN -- : Changed to 'object_id_prop' W, [2021-01-19T10:18:57.814380 #224] WARN -- : Found reserved property 'object_id' W, [2021-01-19T10:18:57.814418 #224] WARN -- : Changed to 'object_id_prop' conflict google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/classes.rb <v1beta2/classes.rb? (enter "h" for help) [Ynaqdhm] a force google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/classes.rb conflict google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/representations.rb force google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/representations.rb conflict google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/gem_version.rb force google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/gem_version.rb conflict google-apis-documentai_v1beta2/CHANGELOG.md force google-apis-documentai_v1beta2/CHANGELOG.md Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Using rake 13.0.3 Using public_suffix 4.0.6 Using bundler 2.2.5 Using declarative 0.0.20 Using declarative-option 0.1.0 Using diff-lcs 1.4.4 Using faraday-net_http 1.0.1 Using multipart-post 2.1.1 Using ruby2_keywords 0.0.2 Using jwt 2.2.2 Using memoist 0.16.2 Using multi_json 1.15.0 Fetching os 1.1.1 Using httpclient 2.8.3 Using mini_mime 1.0.2 Using uber 0.1.0 Using retriable 3.1.2 Using rexml 3.2.4 Using opencensus 0.5.0 Using redcarpet 3.5.1 Using rspec-support 3.10.1 Using yard 0.9.26 Using addressable 2.7.0 Using faraday 1.3.0 Using representable 3.0.4 Using rspec-core 3.10.1 Using rspec-expectations 3.10.1 Using rspec-mocks 3.10.1 Using signet 0.14.0 Using rspec 3.10.0 Installing os 1.1.1 Using googleauth 0.14.0 Using google-apis-core 0.2.0 Using google-apis-documentai_v1beta2 0.2.0 from source at `.` Bundle complete! 8 Gemfile dependencies, 33 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. /root/.rbenv/versions/2.6.6/bin/ruby -I/root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-core-3.10.1/lib:/root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-support-3.10.1/lib /root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-core-3.10.1/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb Google::Apis::DocumentaiV1beta2 should load Finished in 0.33058 seconds (files took 0.0962 seconds to load) 1 example, 0 failures Files: 4 Modules: 3 ( 1 undocumented) Classes: 140 ( 0 undocumented) Constants: 5 ( 0 undocumented) Attributes: 171 ( 0 undocumented) Methods: 285 ( 0 undocumented) 99.83% documented google-apis-documentai_v1beta2 0.2.0 built to pkg/google-apis-documentai_v1beta2-0.2.0.gem. conflict /workspace/api_names_out.yaml force /workspace/api_names_out.yaml 2021-01-19 02:19:12,594 synthtool [DEBUG] > Wrote metadata to generated/google-apis-documentai_v1beta2/synth.metadata. DEBUG:synthtool:Wrote metadata to generated/google-apis-documentai_v1beta2/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/6d4b4a6c-3cc6-4afa-91ad-7feb2f717138/targets - [ ] To automatically regenerate this PR, check this box.
2021-01-19 11:30:02 +00:00
class GoogleCloudDocumentaiV1HumanReviewStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1ReviewDocumentResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1BoundingPoly
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1Document
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentEntity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentEntityRelation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentPage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentPageAnchor
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentPageBlock
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentPageDimension
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentPageFormField
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentPageImage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentPageLayout
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentPageLine
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentPageMatrix
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentPageParagraph
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentPageTable
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentPageToken
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentPageVisualElement
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentProvenance
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentProvenanceParent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentRevision
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentShardInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentStyle
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentStyleFontSize
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentTextAnchor
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentTextChange
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1DocumentTranslation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1GcsDestination
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1GcsSource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1InputConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1NormalizedVertex
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1OperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1OutputConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1ProcessDocumentResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta1Vertex
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2AutoMlParams
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2BoundingPoly
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2Document
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentEntity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentEntityRelation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentLabel
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentPage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentPageAnchor
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentPageBlock
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentPageDimension
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentPageFormField
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentPageImage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentPageLayout
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentPageLine
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentPageMatrix
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentPageParagraph
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentPageTable
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentPageToken
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentPageVisualElement
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentProvenance
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentProvenanceParent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentRevision
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentShardInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentStyle
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentStyleFontSize
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentTextAnchor
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentTextChange
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2DocumentTranslation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2EntityExtractionParams
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2FormExtractionParams
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2GcsDestination
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2GcsSource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2InputConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2KeyValuePairHint
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2NormalizedVertex
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2OcrParams
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2OperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2OutputConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2ProcessDocumentRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2ProcessDocumentResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2TableBoundHint
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2TableExtractionParams
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta2Vertex
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta3BatchProcessMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta3BatchProcessResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta3CommonOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
feat: Automated regeneration of documentai v1beta2 client (#2420) This PR was generated using Autosynth. :rainbow: <details><summary>Log from Synthtool</summary> ``` 2021-01-19 02:18:39,076 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py. On branch autosynth-documentai-v1beta2 nothing to commit, working tree clean 2021-01-19 02:18:39,147 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth documentai v1beta2 DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth documentai v1beta2 git clean -df bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Fetching rake 11.3.0 Installing rake 11.3.0 Fetching public_suffix 4.0.6 Fetching zeitwerk 2.4.2 Fetching concurrent-ruby 1.1.7 Fetching minitest 5.14.3 Installing zeitwerk 2.4.2 Installing minitest 5.14.3 Installing public_suffix 4.0.6 Installing concurrent-ruby 1.1.7 Fetching ast 2.4.1 Installing ast 2.4.1 Using bundler 2.2.5 Fetching byebug 11.1.3 Fetching coderay 1.1.3 Installing byebug 11.1.3 with native extensions Installing coderay 1.1.3 Fetching json 2.5.1 Installing json 2.5.1 with native extensions Fetching docile 1.3.5 Installing docile 1.3.5 Fetching simplecov-html 0.10.2 Installing simplecov-html 0.10.2 Using sync 0.5.0 Fetching thor 0.20.3 Installing thor 0.20.3 Fetching rexml 3.2.4 Installing rexml 3.2.4 Fetching declarative 0.0.20 Installing declarative 0.0.20 Fetching declarative-option 0.1.0 Installing declarative-option 0.1.0 Fetching diff-lcs 1.4.4 Fetching dotenv 2.7.6 Installing diff-lcs 1.4.4 Installing dotenv 2.7.6 Fetching fakefs 0.20.1 Installing fakefs 0.20.1 Fetching faraday-net_http 1.0.1 Installing faraday-net_http 1.0.1 Fetching multipart-post 2.1.1 Fetching ruby2_keywords 0.0.2 Installing multipart-post 2.1.1 Installing ruby2_keywords 0.0.2 Fetching gems 1.2.0 Fetching github-markup 1.7.0 Installing gems 1.2.0 Installing github-markup 1.7.0 Fetching jwt 2.2.2 Installing jwt 2.2.2 Fetching memoist 0.16.2 Installing memoist 0.16.2 Fetching multi_json 1.15.0 Fetching os 0.9.6 Installing multi_json 1.15.0 Installing os 0.9.6 Fetching httpclient 2.8.3 Fetching mini_mime 1.0.2 Installing httpclient 2.8.3 Installing mini_mime 1.0.2 Fetching uber 0.1.0 Installing uber 0.1.0 Fetching retriable 3.1.2 Installing retriable 3.1.2 Fetching hashdiff 1.0.1 Installing hashdiff 1.0.1 Fetching mime-types-data 3.2020.1104 Fetching multi_xml 0.6.0 Fetching rspec-support 3.10.1 Installing multi_xml 0.6.0 Installing mime-types-data 3.2020.1104 Installing rspec-support 3.10.1 Fetching little-plugger 1.1.4 Installing little-plugger 1.1.4 Fetching method_source 1.0.0 Installing method_source 1.0.0 Fetching opencensus 0.5.0 Fetching parallel 1.20.1 Installing opencensus 0.5.0 Installing parallel 1.20.1 Fetching powerpack 0.1.3 Installing powerpack 0.1.3 Fetching yard 0.9.26 Installing yard 0.9.26 Fetching rainbow 2.2.2 Installing rainbow 2.2.2 with native extensions Fetching redcarpet 3.5.1 Installing redcarpet 3.5.1 with native extensions Fetching redis 3.3.5 Installing redis 3.3.5 Fetching rmail 1.1.4 Fetching ruby-progressbar 1.11.0 Installing ruby-progressbar 1.11.0 Installing rmail 1.1.4 Fetching unicode-display_width 1.7.0 Installing unicode-display_width 1.7.0 Fetching parser 2.7.2.0 Fetching addressable 2.7.0 Installing parser 2.7.2.0 Installing addressable 2.7.0 Fetching i18n 1.8.7 Installing i18n 1.8.7 Fetching tzinfo 2.0.4 Fetching tins 1.28.0 Installing tzinfo 2.0.4 Fetching crack 0.4.5 Installing tins 1.28.0 Installing crack 0.4.5 Fetching faraday 1.3.0 Installing faraday 1.3.0 Fetching google-id-token 1.4.2 Installing google-id-token 1.4.2 Fetching representable 3.0.4 Installing representable 3.0.4 Fetching logging 2.3.0 Installing logging 2.3.0 Fetching mime-types 3.3.1 Installing mime-types 3.3.1 Fetching rspec-core 3.10.1 Installing rspec-core 3.10.1 Fetching rspec-expectations 3.10.1 Fetching rspec-mocks 3.10.1 Installing rspec-expectations 3.10.1 Installing rspec-mocks 3.10.1 Fetching pry 0.13.1 Fetching simplecov 0.16.1 Installing simplecov 0.16.1 Fetching launchy 2.5.0 Installing pry 0.13.1 Installing launchy 2.5.0 Fetching rubocop 0.49.1 Fetching webmock 2.3.2 Installing rubocop 0.49.1 Installing webmock 2.3.2 Fetching activesupport 6.1.1 Installing activesupport 6.1.1 Fetching signet 0.14.0 Installing signet 0.14.0 Fetching term-ansicolor 1.7.1 Fetching httparty 0.18.1 Installing httparty 0.18.1 Installing term-ansicolor 1.7.1 Fetching rspec 3.10.0 Installing rspec 3.10.0 Fetching pry-byebug 3.9.0 Installing pry-byebug 3.9.0 Fetching pry-doc 0.13.5 Fetching googleauth 0.14.0 Installing googleauth 0.14.0 Fetching coveralls 0.8.23 Installing coveralls 0.8.23 Fetching json_spec 1.1.5 Installing json_spec 1.1.5 Fetching google-apis-core 0.2.0 Installing google-apis-core 0.2.0 Installing pry-doc 0.13.5 Fetching google-apis-discovery_v1 0.1.0 Installing google-apis-discovery_v1 0.1.0 Using google-apis-generator 0.1.1 from source at `.` Bundle complete! 25 Gemfile dependencies, 81 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. Post-install message from i18n: HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. But that may break your application. If you are upgrading your Rails application from an older version of Rails: Please check your Rails app for 'config.i18n.fallbacks = true'. If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be 'config.i18n.fallbacks = [I18n.default_locale]'. If not, fallbacks will be broken in your app by I18n 1.1.x. If you are starting a NEW Rails application, you can ignore this notice. For more info see: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 Post-install message from httparty: When you HTTParty, you must party hard! echo a | bundle exec bin/generate-api gen /workspace/generated --api=documentai.v1beta2 --names=/workspace/api_names.yaml --names-out=/workspace/api_names_out.yaml --spot-check Loading documentai, version v1beta2 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/documentai.v1beta2.json W, [2021-01-19T10:18:57.809680 #224] WARN -- : Found reserved property 'object_id' W, [2021-01-19T10:18:57.809751 #224] WARN -- : Changed to 'object_id_prop' W, [2021-01-19T10:18:57.814380 #224] WARN -- : Found reserved property 'object_id' W, [2021-01-19T10:18:57.814418 #224] WARN -- : Changed to 'object_id_prop' conflict google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/classes.rb <v1beta2/classes.rb? (enter "h" for help) [Ynaqdhm] a force google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/classes.rb conflict google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/representations.rb force google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/representations.rb conflict google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/gem_version.rb force google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/gem_version.rb conflict google-apis-documentai_v1beta2/CHANGELOG.md force google-apis-documentai_v1beta2/CHANGELOG.md Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Using rake 13.0.3 Using public_suffix 4.0.6 Using bundler 2.2.5 Using declarative 0.0.20 Using declarative-option 0.1.0 Using diff-lcs 1.4.4 Using faraday-net_http 1.0.1 Using multipart-post 2.1.1 Using ruby2_keywords 0.0.2 Using jwt 2.2.2 Using memoist 0.16.2 Using multi_json 1.15.0 Fetching os 1.1.1 Using httpclient 2.8.3 Using mini_mime 1.0.2 Using uber 0.1.0 Using retriable 3.1.2 Using rexml 3.2.4 Using opencensus 0.5.0 Using redcarpet 3.5.1 Using rspec-support 3.10.1 Using yard 0.9.26 Using addressable 2.7.0 Using faraday 1.3.0 Using representable 3.0.4 Using rspec-core 3.10.1 Using rspec-expectations 3.10.1 Using rspec-mocks 3.10.1 Using signet 0.14.0 Using rspec 3.10.0 Installing os 1.1.1 Using googleauth 0.14.0 Using google-apis-core 0.2.0 Using google-apis-documentai_v1beta2 0.2.0 from source at `.` Bundle complete! 8 Gemfile dependencies, 33 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. /root/.rbenv/versions/2.6.6/bin/ruby -I/root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-core-3.10.1/lib:/root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-support-3.10.1/lib /root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-core-3.10.1/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb Google::Apis::DocumentaiV1beta2 should load Finished in 0.33058 seconds (files took 0.0962 seconds to load) 1 example, 0 failures Files: 4 Modules: 3 ( 1 undocumented) Classes: 140 ( 0 undocumented) Constants: 5 ( 0 undocumented) Attributes: 171 ( 0 undocumented) Methods: 285 ( 0 undocumented) 99.83% documented google-apis-documentai_v1beta2 0.2.0 built to pkg/google-apis-documentai_v1beta2-0.2.0.gem. conflict /workspace/api_names_out.yaml force /workspace/api_names_out.yaml 2021-01-19 02:19:12,594 synthtool [DEBUG] > Wrote metadata to generated/google-apis-documentai_v1beta2/synth.metadata. DEBUG:synthtool:Wrote metadata to generated/google-apis-documentai_v1beta2/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/6d4b4a6c-3cc6-4afa-91ad-7feb2f717138/targets - [ ] To automatically regenerate this PR, check this box.
2021-01-19 11:30:02 +00:00
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiV1beta3ReviewDocumentResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleLongrunningOperation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleProtobufEmpty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleRpcStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleTypeColor
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleTypeDate
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleTypeDateTime
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleTypeMoney
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleTypePostalAddress
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleTypeTimeZone
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :state, as: 'state'
property :state_message, as: 'stateMessage'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
end
end
class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
end
end
class GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
end
end
class GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
end
end
class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
end
end
class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
end
end
class GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
end
end
class GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDocumentaiUiv1beta3ProcessorVersion
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :display_name, as: 'displayName'
property :name, as: 'name'
property :schema, as: 'schema', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3Schema, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3Schema::Representation
property :state, as: 'state'
end
end
class GoogleCloudDocumentaiUiv1beta3Schema
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :display_name, as: 'displayName'
collection :entity_types, as: 'entityTypes', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3SchemaEntityType, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3SchemaEntityType::Representation
end
end
class GoogleCloudDocumentaiUiv1beta3SchemaEntityType
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :base_type, as: 'baseType'
property :description, as: 'description'
property :occurrence_type, as: 'occurrenceType'
collection :properties, as: 'properties', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3SchemaEntityType, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3SchemaEntityType::Representation
property :source, as: 'source'
property :type, as: 'type'
end
end
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
end
end
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :processor_version, as: 'processorVersion', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ProcessorVersion, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ProcessorVersion::Representation
end
end
class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
end
end
class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
end
end
class GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
end
end
class GoogleCloudDocumentaiV1BatchProcessMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
collection :individual_process_statuses, as: 'individualProcessStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus::Representation
property :state, as: 'state'
property :state_message, as: 'stateMessage'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
feat: Automated regeneration of documentai v1beta2 client (#2420) This PR was generated using Autosynth. :rainbow: <details><summary>Log from Synthtool</summary> ``` 2021-01-19 02:18:39,076 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py. On branch autosynth-documentai-v1beta2 nothing to commit, working tree clean 2021-01-19 02:18:39,147 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth documentai v1beta2 DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth documentai v1beta2 git clean -df bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Fetching rake 11.3.0 Installing rake 11.3.0 Fetching public_suffix 4.0.6 Fetching zeitwerk 2.4.2 Fetching concurrent-ruby 1.1.7 Fetching minitest 5.14.3 Installing zeitwerk 2.4.2 Installing minitest 5.14.3 Installing public_suffix 4.0.6 Installing concurrent-ruby 1.1.7 Fetching ast 2.4.1 Installing ast 2.4.1 Using bundler 2.2.5 Fetching byebug 11.1.3 Fetching coderay 1.1.3 Installing byebug 11.1.3 with native extensions Installing coderay 1.1.3 Fetching json 2.5.1 Installing json 2.5.1 with native extensions Fetching docile 1.3.5 Installing docile 1.3.5 Fetching simplecov-html 0.10.2 Installing simplecov-html 0.10.2 Using sync 0.5.0 Fetching thor 0.20.3 Installing thor 0.20.3 Fetching rexml 3.2.4 Installing rexml 3.2.4 Fetching declarative 0.0.20 Installing declarative 0.0.20 Fetching declarative-option 0.1.0 Installing declarative-option 0.1.0 Fetching diff-lcs 1.4.4 Fetching dotenv 2.7.6 Installing diff-lcs 1.4.4 Installing dotenv 2.7.6 Fetching fakefs 0.20.1 Installing fakefs 0.20.1 Fetching faraday-net_http 1.0.1 Installing faraday-net_http 1.0.1 Fetching multipart-post 2.1.1 Fetching ruby2_keywords 0.0.2 Installing multipart-post 2.1.1 Installing ruby2_keywords 0.0.2 Fetching gems 1.2.0 Fetching github-markup 1.7.0 Installing gems 1.2.0 Installing github-markup 1.7.0 Fetching jwt 2.2.2 Installing jwt 2.2.2 Fetching memoist 0.16.2 Installing memoist 0.16.2 Fetching multi_json 1.15.0 Fetching os 0.9.6 Installing multi_json 1.15.0 Installing os 0.9.6 Fetching httpclient 2.8.3 Fetching mini_mime 1.0.2 Installing httpclient 2.8.3 Installing mini_mime 1.0.2 Fetching uber 0.1.0 Installing uber 0.1.0 Fetching retriable 3.1.2 Installing retriable 3.1.2 Fetching hashdiff 1.0.1 Installing hashdiff 1.0.1 Fetching mime-types-data 3.2020.1104 Fetching multi_xml 0.6.0 Fetching rspec-support 3.10.1 Installing multi_xml 0.6.0 Installing mime-types-data 3.2020.1104 Installing rspec-support 3.10.1 Fetching little-plugger 1.1.4 Installing little-plugger 1.1.4 Fetching method_source 1.0.0 Installing method_source 1.0.0 Fetching opencensus 0.5.0 Fetching parallel 1.20.1 Installing opencensus 0.5.0 Installing parallel 1.20.1 Fetching powerpack 0.1.3 Installing powerpack 0.1.3 Fetching yard 0.9.26 Installing yard 0.9.26 Fetching rainbow 2.2.2 Installing rainbow 2.2.2 with native extensions Fetching redcarpet 3.5.1 Installing redcarpet 3.5.1 with native extensions Fetching redis 3.3.5 Installing redis 3.3.5 Fetching rmail 1.1.4 Fetching ruby-progressbar 1.11.0 Installing ruby-progressbar 1.11.0 Installing rmail 1.1.4 Fetching unicode-display_width 1.7.0 Installing unicode-display_width 1.7.0 Fetching parser 2.7.2.0 Fetching addressable 2.7.0 Installing parser 2.7.2.0 Installing addressable 2.7.0 Fetching i18n 1.8.7 Installing i18n 1.8.7 Fetching tzinfo 2.0.4 Fetching tins 1.28.0 Installing tzinfo 2.0.4 Fetching crack 0.4.5 Installing tins 1.28.0 Installing crack 0.4.5 Fetching faraday 1.3.0 Installing faraday 1.3.0 Fetching google-id-token 1.4.2 Installing google-id-token 1.4.2 Fetching representable 3.0.4 Installing representable 3.0.4 Fetching logging 2.3.0 Installing logging 2.3.0 Fetching mime-types 3.3.1 Installing mime-types 3.3.1 Fetching rspec-core 3.10.1 Installing rspec-core 3.10.1 Fetching rspec-expectations 3.10.1 Fetching rspec-mocks 3.10.1 Installing rspec-expectations 3.10.1 Installing rspec-mocks 3.10.1 Fetching pry 0.13.1 Fetching simplecov 0.16.1 Installing simplecov 0.16.1 Fetching launchy 2.5.0 Installing pry 0.13.1 Installing launchy 2.5.0 Fetching rubocop 0.49.1 Fetching webmock 2.3.2 Installing rubocop 0.49.1 Installing webmock 2.3.2 Fetching activesupport 6.1.1 Installing activesupport 6.1.1 Fetching signet 0.14.0 Installing signet 0.14.0 Fetching term-ansicolor 1.7.1 Fetching httparty 0.18.1 Installing httparty 0.18.1 Installing term-ansicolor 1.7.1 Fetching rspec 3.10.0 Installing rspec 3.10.0 Fetching pry-byebug 3.9.0 Installing pry-byebug 3.9.0 Fetching pry-doc 0.13.5 Fetching googleauth 0.14.0 Installing googleauth 0.14.0 Fetching coveralls 0.8.23 Installing coveralls 0.8.23 Fetching json_spec 1.1.5 Installing json_spec 1.1.5 Fetching google-apis-core 0.2.0 Installing google-apis-core 0.2.0 Installing pry-doc 0.13.5 Fetching google-apis-discovery_v1 0.1.0 Installing google-apis-discovery_v1 0.1.0 Using google-apis-generator 0.1.1 from source at `.` Bundle complete! 25 Gemfile dependencies, 81 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. Post-install message from i18n: HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. But that may break your application. If you are upgrading your Rails application from an older version of Rails: Please check your Rails app for 'config.i18n.fallbacks = true'. If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be 'config.i18n.fallbacks = [I18n.default_locale]'. If not, fallbacks will be broken in your app by I18n 1.1.x. If you are starting a NEW Rails application, you can ignore this notice. For more info see: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 Post-install message from httparty: When you HTTParty, you must party hard! echo a | bundle exec bin/generate-api gen /workspace/generated --api=documentai.v1beta2 --names=/workspace/api_names.yaml --names-out=/workspace/api_names_out.yaml --spot-check Loading documentai, version v1beta2 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/documentai.v1beta2.json W, [2021-01-19T10:18:57.809680 #224] WARN -- : Found reserved property 'object_id' W, [2021-01-19T10:18:57.809751 #224] WARN -- : Changed to 'object_id_prop' W, [2021-01-19T10:18:57.814380 #224] WARN -- : Found reserved property 'object_id' W, [2021-01-19T10:18:57.814418 #224] WARN -- : Changed to 'object_id_prop' conflict google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/classes.rb <v1beta2/classes.rb? (enter "h" for help) [Ynaqdhm] a force google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/classes.rb conflict google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/representations.rb force google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/representations.rb conflict google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/gem_version.rb force google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/gem_version.rb conflict google-apis-documentai_v1beta2/CHANGELOG.md force google-apis-documentai_v1beta2/CHANGELOG.md Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Using rake 13.0.3 Using public_suffix 4.0.6 Using bundler 2.2.5 Using declarative 0.0.20 Using declarative-option 0.1.0 Using diff-lcs 1.4.4 Using faraday-net_http 1.0.1 Using multipart-post 2.1.1 Using ruby2_keywords 0.0.2 Using jwt 2.2.2 Using memoist 0.16.2 Using multi_json 1.15.0 Fetching os 1.1.1 Using httpclient 2.8.3 Using mini_mime 1.0.2 Using uber 0.1.0 Using retriable 3.1.2 Using rexml 3.2.4 Using opencensus 0.5.0 Using redcarpet 3.5.1 Using rspec-support 3.10.1 Using yard 0.9.26 Using addressable 2.7.0 Using faraday 1.3.0 Using representable 3.0.4 Using rspec-core 3.10.1 Using rspec-expectations 3.10.1 Using rspec-mocks 3.10.1 Using signet 0.14.0 Using rspec 3.10.0 Installing os 1.1.1 Using googleauth 0.14.0 Using google-apis-core 0.2.0 Using google-apis-documentai_v1beta2 0.2.0 from source at `.` Bundle complete! 8 Gemfile dependencies, 33 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. /root/.rbenv/versions/2.6.6/bin/ruby -I/root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-core-3.10.1/lib:/root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-support-3.10.1/lib /root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-core-3.10.1/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb Google::Apis::DocumentaiV1beta2 should load Finished in 0.33058 seconds (files took 0.0962 seconds to load) 1 example, 0 failures Files: 4 Modules: 3 ( 1 undocumented) Classes: 140 ( 0 undocumented) Constants: 5 ( 0 undocumented) Attributes: 171 ( 0 undocumented) Methods: 285 ( 0 undocumented) 99.83% documented google-apis-documentai_v1beta2 0.2.0 built to pkg/google-apis-documentai_v1beta2-0.2.0.gem. conflict /workspace/api_names_out.yaml force /workspace/api_names_out.yaml 2021-01-19 02:19:12,594 synthtool [DEBUG] > Wrote metadata to generated/google-apis-documentai_v1beta2/synth.metadata. DEBUG:synthtool:Wrote metadata to generated/google-apis-documentai_v1beta2/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/6d4b4a6c-3cc6-4afa-91ad-7feb2f717138/targets - [ ] To automatically regenerate this PR, check this box.
2021-01-19 11:30:02 +00:00
property :human_review_status, as: 'humanReviewStatus', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1HumanReviewStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1HumanReviewStatus::Representation
property :input_gcs_source, as: 'inputGcsSource'
property :output_gcs_destination, as: 'outputGcsDestination'
property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
end
end
class GoogleCloudDocumentaiV1BatchProcessResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDocumentaiV1CommonOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :state, as: 'state'
property :state_message, as: 'stateMessage'
property :update_time, as: 'updateTime'
end
end
feat: Automated regeneration of documentai v1beta2 client (#2420) This PR was generated using Autosynth. :rainbow: <details><summary>Log from Synthtool</summary> ``` 2021-01-19 02:18:39,076 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py. On branch autosynth-documentai-v1beta2 nothing to commit, working tree clean 2021-01-19 02:18:39,147 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth documentai v1beta2 DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth documentai v1beta2 git clean -df bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Fetching rake 11.3.0 Installing rake 11.3.0 Fetching public_suffix 4.0.6 Fetching zeitwerk 2.4.2 Fetching concurrent-ruby 1.1.7 Fetching minitest 5.14.3 Installing zeitwerk 2.4.2 Installing minitest 5.14.3 Installing public_suffix 4.0.6 Installing concurrent-ruby 1.1.7 Fetching ast 2.4.1 Installing ast 2.4.1 Using bundler 2.2.5 Fetching byebug 11.1.3 Fetching coderay 1.1.3 Installing byebug 11.1.3 with native extensions Installing coderay 1.1.3 Fetching json 2.5.1 Installing json 2.5.1 with native extensions Fetching docile 1.3.5 Installing docile 1.3.5 Fetching simplecov-html 0.10.2 Installing simplecov-html 0.10.2 Using sync 0.5.0 Fetching thor 0.20.3 Installing thor 0.20.3 Fetching rexml 3.2.4 Installing rexml 3.2.4 Fetching declarative 0.0.20 Installing declarative 0.0.20 Fetching declarative-option 0.1.0 Installing declarative-option 0.1.0 Fetching diff-lcs 1.4.4 Fetching dotenv 2.7.6 Installing diff-lcs 1.4.4 Installing dotenv 2.7.6 Fetching fakefs 0.20.1 Installing fakefs 0.20.1 Fetching faraday-net_http 1.0.1 Installing faraday-net_http 1.0.1 Fetching multipart-post 2.1.1 Fetching ruby2_keywords 0.0.2 Installing multipart-post 2.1.1 Installing ruby2_keywords 0.0.2 Fetching gems 1.2.0 Fetching github-markup 1.7.0 Installing gems 1.2.0 Installing github-markup 1.7.0 Fetching jwt 2.2.2 Installing jwt 2.2.2 Fetching memoist 0.16.2 Installing memoist 0.16.2 Fetching multi_json 1.15.0 Fetching os 0.9.6 Installing multi_json 1.15.0 Installing os 0.9.6 Fetching httpclient 2.8.3 Fetching mini_mime 1.0.2 Installing httpclient 2.8.3 Installing mini_mime 1.0.2 Fetching uber 0.1.0 Installing uber 0.1.0 Fetching retriable 3.1.2 Installing retriable 3.1.2 Fetching hashdiff 1.0.1 Installing hashdiff 1.0.1 Fetching mime-types-data 3.2020.1104 Fetching multi_xml 0.6.0 Fetching rspec-support 3.10.1 Installing multi_xml 0.6.0 Installing mime-types-data 3.2020.1104 Installing rspec-support 3.10.1 Fetching little-plugger 1.1.4 Installing little-plugger 1.1.4 Fetching method_source 1.0.0 Installing method_source 1.0.0 Fetching opencensus 0.5.0 Fetching parallel 1.20.1 Installing opencensus 0.5.0 Installing parallel 1.20.1 Fetching powerpack 0.1.3 Installing powerpack 0.1.3 Fetching yard 0.9.26 Installing yard 0.9.26 Fetching rainbow 2.2.2 Installing rainbow 2.2.2 with native extensions Fetching redcarpet 3.5.1 Installing redcarpet 3.5.1 with native extensions Fetching redis 3.3.5 Installing redis 3.3.5 Fetching rmail 1.1.4 Fetching ruby-progressbar 1.11.0 Installing ruby-progressbar 1.11.0 Installing rmail 1.1.4 Fetching unicode-display_width 1.7.0 Installing unicode-display_width 1.7.0 Fetching parser 2.7.2.0 Fetching addressable 2.7.0 Installing parser 2.7.2.0 Installing addressable 2.7.0 Fetching i18n 1.8.7 Installing i18n 1.8.7 Fetching tzinfo 2.0.4 Fetching tins 1.28.0 Installing tzinfo 2.0.4 Fetching crack 0.4.5 Installing tins 1.28.0 Installing crack 0.4.5 Fetching faraday 1.3.0 Installing faraday 1.3.0 Fetching google-id-token 1.4.2 Installing google-id-token 1.4.2 Fetching representable 3.0.4 Installing representable 3.0.4 Fetching logging 2.3.0 Installing logging 2.3.0 Fetching mime-types 3.3.1 Installing mime-types 3.3.1 Fetching rspec-core 3.10.1 Installing rspec-core 3.10.1 Fetching rspec-expectations 3.10.1 Fetching rspec-mocks 3.10.1 Installing rspec-expectations 3.10.1 Installing rspec-mocks 3.10.1 Fetching pry 0.13.1 Fetching simplecov 0.16.1 Installing simplecov 0.16.1 Fetching launchy 2.5.0 Installing pry 0.13.1 Installing launchy 2.5.0 Fetching rubocop 0.49.1 Fetching webmock 2.3.2 Installing rubocop 0.49.1 Installing webmock 2.3.2 Fetching activesupport 6.1.1 Installing activesupport 6.1.1 Fetching signet 0.14.0 Installing signet 0.14.0 Fetching term-ansicolor 1.7.1 Fetching httparty 0.18.1 Installing httparty 0.18.1 Installing term-ansicolor 1.7.1 Fetching rspec 3.10.0 Installing rspec 3.10.0 Fetching pry-byebug 3.9.0 Installing pry-byebug 3.9.0 Fetching pry-doc 0.13.5 Fetching googleauth 0.14.0 Installing googleauth 0.14.0 Fetching coveralls 0.8.23 Installing coveralls 0.8.23 Fetching json_spec 1.1.5 Installing json_spec 1.1.5 Fetching google-apis-core 0.2.0 Installing google-apis-core 0.2.0 Installing pry-doc 0.13.5 Fetching google-apis-discovery_v1 0.1.0 Installing google-apis-discovery_v1 0.1.0 Using google-apis-generator 0.1.1 from source at `.` Bundle complete! 25 Gemfile dependencies, 81 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. Post-install message from i18n: HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. But that may break your application. If you are upgrading your Rails application from an older version of Rails: Please check your Rails app for 'config.i18n.fallbacks = true'. If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be 'config.i18n.fallbacks = [I18n.default_locale]'. If not, fallbacks will be broken in your app by I18n 1.1.x. If you are starting a NEW Rails application, you can ignore this notice. For more info see: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 Post-install message from httparty: When you HTTParty, you must party hard! echo a | bundle exec bin/generate-api gen /workspace/generated --api=documentai.v1beta2 --names=/workspace/api_names.yaml --names-out=/workspace/api_names_out.yaml --spot-check Loading documentai, version v1beta2 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/documentai.v1beta2.json W, [2021-01-19T10:18:57.809680 #224] WARN -- : Found reserved property 'object_id' W, [2021-01-19T10:18:57.809751 #224] WARN -- : Changed to 'object_id_prop' W, [2021-01-19T10:18:57.814380 #224] WARN -- : Found reserved property 'object_id' W, [2021-01-19T10:18:57.814418 #224] WARN -- : Changed to 'object_id_prop' conflict google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/classes.rb <v1beta2/classes.rb? (enter "h" for help) [Ynaqdhm] a force google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/classes.rb conflict google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/representations.rb force google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/representations.rb conflict google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/gem_version.rb force google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/gem_version.rb conflict google-apis-documentai_v1beta2/CHANGELOG.md force google-apis-documentai_v1beta2/CHANGELOG.md Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Using rake 13.0.3 Using public_suffix 4.0.6 Using bundler 2.2.5 Using declarative 0.0.20 Using declarative-option 0.1.0 Using diff-lcs 1.4.4 Using faraday-net_http 1.0.1 Using multipart-post 2.1.1 Using ruby2_keywords 0.0.2 Using jwt 2.2.2 Using memoist 0.16.2 Using multi_json 1.15.0 Fetching os 1.1.1 Using httpclient 2.8.3 Using mini_mime 1.0.2 Using uber 0.1.0 Using retriable 3.1.2 Using rexml 3.2.4 Using opencensus 0.5.0 Using redcarpet 3.5.1 Using rspec-support 3.10.1 Using yard 0.9.26 Using addressable 2.7.0 Using faraday 1.3.0 Using representable 3.0.4 Using rspec-core 3.10.1 Using rspec-expectations 3.10.1 Using rspec-mocks 3.10.1 Using signet 0.14.0 Using rspec 3.10.0 Installing os 1.1.1 Using googleauth 0.14.0 Using google-apis-core 0.2.0 Using google-apis-documentai_v1beta2 0.2.0 from source at `.` Bundle complete! 8 Gemfile dependencies, 33 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. /root/.rbenv/versions/2.6.6/bin/ruby -I/root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-core-3.10.1/lib:/root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-support-3.10.1/lib /root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-core-3.10.1/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb Google::Apis::DocumentaiV1beta2 should load Finished in 0.33058 seconds (files took 0.0962 seconds to load) 1 example, 0 failures Files: 4 Modules: 3 ( 1 undocumented) Classes: 140 ( 0 undocumented) Constants: 5 ( 0 undocumented) Attributes: 171 ( 0 undocumented) Methods: 285 ( 0 undocumented) 99.83% documented google-apis-documentai_v1beta2 0.2.0 built to pkg/google-apis-documentai_v1beta2-0.2.0.gem. conflict /workspace/api_names_out.yaml force /workspace/api_names_out.yaml 2021-01-19 02:19:12,594 synthtool [DEBUG] > Wrote metadata to generated/google-apis-documentai_v1beta2/synth.metadata. DEBUG:synthtool:Wrote metadata to generated/google-apis-documentai_v1beta2/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/6d4b4a6c-3cc6-4afa-91ad-7feb2f717138/targets - [ ] To automatically regenerate this PR, check this box.
2021-01-19 11:30:02 +00:00
class GoogleCloudDocumentaiV1HumanReviewStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :human_review_operation, as: 'humanReviewOperation'
property :state, as: 'state'
property :state_message, as: 'stateMessage'
end
end
class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
end
end
class GoogleCloudDocumentaiV1ReviewDocumentResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gcs_destination, as: 'gcsDestination'
end
end
class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :responses, as: 'responses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1ProcessDocumentResponse, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1ProcessDocumentResponse::Representation
end
end
class GoogleCloudDocumentaiV1beta1BoundingPoly
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :normalized_vertices, as: 'normalizedVertices', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1NormalizedVertex, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1NormalizedVertex::Representation
collection :vertices, as: 'vertices', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1Vertex, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1Vertex::Representation
end
end
class GoogleCloudDocumentaiV1beta1Document
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :content, :base64 => true, as: 'content'
collection :entities, as: 'entities', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntity, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntity::Representation
collection :entity_relations, as: 'entityRelations', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityRelation, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityRelation::Representation
property :error, as: 'error', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
property :mime_type, as: 'mimeType'
collection :pages, as: 'pages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPage::Representation
collection :revisions, as: 'revisions', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentRevision, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentRevision::Representation
property :shard_info, as: 'shardInfo', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentShardInfo, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentShardInfo::Representation
property :text, as: 'text'
collection :text_changes, as: 'textChanges', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTextChange, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTextChange::Representation
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentStyle, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentStyle::Representation
collection :translations, as: 'translations', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTranslation, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTranslation::Representation
property :uri, as: 'uri'
end
end
class GoogleCloudDocumentaiV1beta1DocumentEntity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :confidence, as: 'confidence'
property :id, as: 'id'
property :mention_id, as: 'mentionId'
property :mention_text, as: 'mentionText'
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue::Representation
property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageAnchor::Representation
collection :properties, as: 'properties', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntity, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntity::Representation
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
property :redacted, as: 'redacted'
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTextAnchor::Representation
property :type, as: 'type'
end
end
class GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :address_value, as: 'addressValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypePostalAddress, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypePostalAddress::Representation
property :date_value, as: 'dateValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypeDate, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeDate::Representation
property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime::Representation
property :money_value, as: 'moneyValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypeMoney, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeMoney::Representation
property :text, as: 'text'
end
end
class GoogleCloudDocumentaiV1beta1DocumentEntityRelation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :object_id_prop, as: 'objectId'
property :relation, as: 'relation'
property :subject_id, as: 'subjectId'
end
end
class GoogleCloudDocumentaiV1beta1DocumentPage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageBlock, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageBlock::Representation
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
property :dimension, as: 'dimension', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDimension, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDimension::Representation
collection :form_fields, as: 'formFields', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageFormField, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageFormField::Representation
property :image, as: 'image', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageImage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageImage::Representation
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
collection :lines, as: 'lines', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLine, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLine::Representation
property :page_number, as: 'pageNumber'
collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageParagraph::Representation
collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTable::Representation
collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageToken::Representation
collection :transforms, as: 'transforms', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageMatrix, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageMatrix::Representation
collection :visual_elements, as: 'visualElements', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageVisualElement, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageVisualElement::Representation
end
end
class GoogleCloudDocumentaiV1beta1DocumentPageAnchor
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :page_refs, as: 'pageRefs', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef::Representation
end
end
class GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1BoundingPoly, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1BoundingPoly::Representation
property :layout_id, as: 'layoutId'
property :layout_type, as: 'layoutType'
property :page, :numeric_string => true, as: 'page'
end
end
class GoogleCloudDocumentaiV1beta1DocumentPageBlock
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
end
end
class GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :confidence, as: 'confidence'
property :language_code, as: 'languageCode'
end
end
class GoogleCloudDocumentaiV1beta1DocumentPageDimension
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :height, as: 'height'
property :unit, as: 'unit'
property :width, as: 'width'
end
end
class GoogleCloudDocumentaiV1beta1DocumentPageFormField
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
property :value_type, as: 'valueType'
end
end
class GoogleCloudDocumentaiV1beta1DocumentPageImage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :content, :base64 => true, as: 'content'
property :height, as: 'height'
property :mime_type, as: 'mimeType'
property :width, as: 'width'
end
end
class GoogleCloudDocumentaiV1beta1DocumentPageLayout
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1BoundingPoly, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1BoundingPoly::Representation
property :confidence, as: 'confidence'
property :orientation, as: 'orientation'
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTextAnchor::Representation
end
end
class GoogleCloudDocumentaiV1beta1DocumentPageLine
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
end
end
class GoogleCloudDocumentaiV1beta1DocumentPageMatrix
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cols, as: 'cols'
property :data, :base64 => true, as: 'data'
property :rows, as: 'rows'
property :type, as: 'type'
end
end
class GoogleCloudDocumentaiV1beta1DocumentPageParagraph
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
end
end
class GoogleCloudDocumentaiV1beta1DocumentPageTable
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :body_rows, as: 'bodyRows', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow::Representation
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
collection :header_rows, as: 'headerRows', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow::Representation
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
end
end
class GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :col_span, as: 'colSpan'
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
property :row_span, as: 'rowSpan'
end
end
class GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :cells, as: 'cells', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell::Representation
end
end
class GoogleCloudDocumentaiV1beta1DocumentPageToken
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :detected_break, as: 'detectedBreak', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak::Representation
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
end
end
class GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :type, as: 'type'
end
end
class GoogleCloudDocumentaiV1beta1DocumentPageVisualElement
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
property :type, as: 'type'
end
end
class GoogleCloudDocumentaiV1beta1DocumentProvenance
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :parents, as: 'parents', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenanceParent, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenanceParent::Representation
property :revision, as: 'revision'
property :type, as: 'type'
end
end
class GoogleCloudDocumentaiV1beta1DocumentProvenanceParent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :revision, as: 'revision'
end
end
class GoogleCloudDocumentaiV1beta1DocumentRevision
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :agent, as: 'agent'
property :create_time, as: 'createTime'
property :human_review, as: 'humanReview', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview::Representation
property :id, as: 'id'
collection :parent, as: 'parent'
property :processor, as: 'processor'
end
end
class GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :state, as: 'state'
property :state_message, as: 'stateMessage'
end
end
class GoogleCloudDocumentaiV1beta1DocumentShardInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :shard_count, :numeric_string => true, as: 'shardCount'
property :shard_index, :numeric_string => true, as: 'shardIndex'
property :text_offset, :numeric_string => true, as: 'textOffset'
end
end
class GoogleCloudDocumentaiV1beta1DocumentStyle
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :background_color, as: 'backgroundColor', class: Google::Apis::DocumentaiV1beta2::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeColor::Representation
property :color, as: 'color', class: Google::Apis::DocumentaiV1beta2::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeColor::Representation
property :font_size, as: 'fontSize', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize::Representation
property :font_weight, as: 'fontWeight'
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTextAnchor::Representation
property :text_decoration, as: 'textDecoration'
property :text_style, as: 'textStyle'
end
end
class GoogleCloudDocumentaiV1beta1DocumentStyleFontSize
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :size, as: 'size'
property :unit, as: 'unit'
end
end
class GoogleCloudDocumentaiV1beta1DocumentTextAnchor
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :content, as: 'content'
collection :text_segments, as: 'textSegments', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment::Representation
end
end
class GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_index, :numeric_string => true, as: 'endIndex'
property :start_index, :numeric_string => true, as: 'startIndex'
end
end
class GoogleCloudDocumentaiV1beta1DocumentTextChange
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :changed_text, as: 'changedText'
collection :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTextAnchor::Representation
end
end
class GoogleCloudDocumentaiV1beta1DocumentTranslation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :language_code, as: 'languageCode'
collection :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTextAnchor::Representation
property :translated_text, as: 'translatedText'
end
end
class GoogleCloudDocumentaiV1beta1GcsDestination
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :uri, as: 'uri'
end
end
class GoogleCloudDocumentaiV1beta1GcsSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :uri, as: 'uri'
end
end
class GoogleCloudDocumentaiV1beta1InputConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gcs_source, as: 'gcsSource', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1GcsSource, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1GcsSource::Representation
property :mime_type, as: 'mimeType'
end
end
class GoogleCloudDocumentaiV1beta1NormalizedVertex
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :x, as: 'x'
property :y, as: 'y'
end
end
class GoogleCloudDocumentaiV1beta1OperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :state, as: 'state'
property :state_message, as: 'stateMessage'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudDocumentaiV1beta1OutputConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1GcsDestination, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1GcsDestination::Representation
property :pages_per_shard, as: 'pagesPerShard'
end
end
class GoogleCloudDocumentaiV1beta1ProcessDocumentResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :input_config, as: 'inputConfig', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1InputConfig, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1InputConfig::Representation
property :output_config, as: 'outputConfig', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1OutputConfig, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1OutputConfig::Representation
end
end
class GoogleCloudDocumentaiV1beta1Vertex
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :x, as: 'x'
property :y, as: 'y'
end
end
class GoogleCloudDocumentaiV1beta2AutoMlParams
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :model, as: 'model'
end
end
class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :requests, as: 'requests', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2ProcessDocumentRequest, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2ProcessDocumentRequest::Representation
end
end
class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :responses, as: 'responses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2ProcessDocumentResponse, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2ProcessDocumentResponse::Representation
end
end
class GoogleCloudDocumentaiV1beta2BoundingPoly
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :normalized_vertices, as: 'normalizedVertices', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2NormalizedVertex, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2NormalizedVertex::Representation
collection :vertices, as: 'vertices', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2Vertex, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2Vertex::Representation
end
end
class GoogleCloudDocumentaiV1beta2Document
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :content, :base64 => true, as: 'content'
collection :entities, as: 'entities', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntity, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntity::Representation
collection :entity_relations, as: 'entityRelations', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityRelation, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityRelation::Representation
property :error, as: 'error', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
collection :labels, as: 'labels', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentLabel, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentLabel::Representation
property :mime_type, as: 'mimeType'
collection :pages, as: 'pages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPage::Representation
collection :revisions, as: 'revisions', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentRevision, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentRevision::Representation
property :shard_info, as: 'shardInfo', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentShardInfo, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentShardInfo::Representation
property :text, as: 'text'
collection :text_changes, as: 'textChanges', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextChange, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextChange::Representation
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentStyle, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentStyle::Representation
collection :translations, as: 'translations', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTranslation, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTranslation::Representation
property :uri, as: 'uri'
end
end
class GoogleCloudDocumentaiV1beta2DocumentEntity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :confidence, as: 'confidence'
property :id, as: 'id'
property :mention_id, as: 'mentionId'
property :mention_text, as: 'mentionText'
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue::Representation
property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageAnchor::Representation
collection :properties, as: 'properties', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntity, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntity::Representation
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
property :redacted, as: 'redacted'
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextAnchor::Representation
property :type, as: 'type'
end
end
class GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :address_value, as: 'addressValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypePostalAddress, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypePostalAddress::Representation
property :date_value, as: 'dateValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypeDate, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeDate::Representation
property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime::Representation
property :money_value, as: 'moneyValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypeMoney, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeMoney::Representation
property :text, as: 'text'
end
end
class GoogleCloudDocumentaiV1beta2DocumentEntityRelation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :object_id_prop, as: 'objectId'
property :relation, as: 'relation'
property :subject_id, as: 'subjectId'
end
end
class GoogleCloudDocumentaiV1beta2DocumentLabel
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :automl_model, as: 'automlModel'
property :confidence, as: 'confidence'
property :name, as: 'name'
end
end
class GoogleCloudDocumentaiV1beta2DocumentPage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageBlock, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageBlock::Representation
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
property :dimension, as: 'dimension', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDimension, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDimension::Representation
collection :form_fields, as: 'formFields', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageFormField, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageFormField::Representation
property :image, as: 'image', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageImage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageImage::Representation
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
collection :lines, as: 'lines', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLine, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLine::Representation
property :page_number, as: 'pageNumber'
collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageParagraph::Representation
collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTable::Representation
collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageToken::Representation
collection :transforms, as: 'transforms', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageMatrix, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageMatrix::Representation
collection :visual_elements, as: 'visualElements', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageVisualElement, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageVisualElement::Representation
end
end
class GoogleCloudDocumentaiV1beta2DocumentPageAnchor
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :page_refs, as: 'pageRefs', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef::Representation
end
end
class GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BoundingPoly, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BoundingPoly::Representation
property :layout_id, as: 'layoutId'
property :layout_type, as: 'layoutType'
property :page, :numeric_string => true, as: 'page'
end
end
class GoogleCloudDocumentaiV1beta2DocumentPageBlock
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
end
end
class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :confidence, as: 'confidence'
property :language_code, as: 'languageCode'
end
end
class GoogleCloudDocumentaiV1beta2DocumentPageDimension
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :height, as: 'height'
property :unit, as: 'unit'
property :width, as: 'width'
end
end
class GoogleCloudDocumentaiV1beta2DocumentPageFormField
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
property :value_type, as: 'valueType'
end
end
class GoogleCloudDocumentaiV1beta2DocumentPageImage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :content, :base64 => true, as: 'content'
property :height, as: 'height'
property :mime_type, as: 'mimeType'
property :width, as: 'width'
end
end
class GoogleCloudDocumentaiV1beta2DocumentPageLayout
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BoundingPoly, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BoundingPoly::Representation
property :confidence, as: 'confidence'
property :orientation, as: 'orientation'
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextAnchor::Representation
end
end
class GoogleCloudDocumentaiV1beta2DocumentPageLine
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
end
end
class GoogleCloudDocumentaiV1beta2DocumentPageMatrix
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cols, as: 'cols'
property :data, :base64 => true, as: 'data'
property :rows, as: 'rows'
property :type, as: 'type'
end
end
class GoogleCloudDocumentaiV1beta2DocumentPageParagraph
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
end
end
class GoogleCloudDocumentaiV1beta2DocumentPageTable
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :body_rows, as: 'bodyRows', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow::Representation
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
collection :header_rows, as: 'headerRows', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow::Representation
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
end
end
class GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :col_span, as: 'colSpan'
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
property :row_span, as: 'rowSpan'
end
end
class GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :cells, as: 'cells', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell::Representation
end
end
class GoogleCloudDocumentaiV1beta2DocumentPageToken
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :detected_break, as: 'detectedBreak', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak::Representation
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
end
end
class GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :type, as: 'type'
end
end
class GoogleCloudDocumentaiV1beta2DocumentPageVisualElement
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
property :type, as: 'type'
end
end
class GoogleCloudDocumentaiV1beta2DocumentProvenance
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :parents, as: 'parents', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenanceParent, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenanceParent::Representation
property :revision, as: 'revision'
property :type, as: 'type'
end
end
class GoogleCloudDocumentaiV1beta2DocumentProvenanceParent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :revision, as: 'revision'
end
end
class GoogleCloudDocumentaiV1beta2DocumentRevision
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :agent, as: 'agent'
property :create_time, as: 'createTime'
property :human_review, as: 'humanReview', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview::Representation
property :id, as: 'id'
collection :parent, as: 'parent'
property :processor, as: 'processor'
end
end
class GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :state, as: 'state'
property :state_message, as: 'stateMessage'
end
end
class GoogleCloudDocumentaiV1beta2DocumentShardInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :shard_count, :numeric_string => true, as: 'shardCount'
property :shard_index, :numeric_string => true, as: 'shardIndex'
property :text_offset, :numeric_string => true, as: 'textOffset'
end
end
class GoogleCloudDocumentaiV1beta2DocumentStyle
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :background_color, as: 'backgroundColor', class: Google::Apis::DocumentaiV1beta2::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeColor::Representation
property :color, as: 'color', class: Google::Apis::DocumentaiV1beta2::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeColor::Representation
property :font_size, as: 'fontSize', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize::Representation
property :font_weight, as: 'fontWeight'
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextAnchor::Representation
property :text_decoration, as: 'textDecoration'
property :text_style, as: 'textStyle'
end
end
class GoogleCloudDocumentaiV1beta2DocumentStyleFontSize
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :size, as: 'size'
property :unit, as: 'unit'
end
end
class GoogleCloudDocumentaiV1beta2DocumentTextAnchor
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :content, as: 'content'
collection :text_segments, as: 'textSegments', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment::Representation
end
end
class GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_index, :numeric_string => true, as: 'endIndex'
property :start_index, :numeric_string => true, as: 'startIndex'
end
end
class GoogleCloudDocumentaiV1beta2DocumentTextChange
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :changed_text, as: 'changedText'
collection :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextAnchor::Representation
end
end
class GoogleCloudDocumentaiV1beta2DocumentTranslation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :language_code, as: 'languageCode'
collection :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextAnchor::Representation
property :translated_text, as: 'translatedText'
end
end
class GoogleCloudDocumentaiV1beta2EntityExtractionParams
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
property :model_version, as: 'modelVersion'
end
end
class GoogleCloudDocumentaiV1beta2FormExtractionParams
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
collection :key_value_pair_hints, as: 'keyValuePairHints', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2KeyValuePairHint, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2KeyValuePairHint::Representation
property :model_version, as: 'modelVersion'
end
end
class GoogleCloudDocumentaiV1beta2GcsDestination
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :uri, as: 'uri'
end
end
class GoogleCloudDocumentaiV1beta2GcsSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :uri, as: 'uri'
end
end
class GoogleCloudDocumentaiV1beta2InputConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :contents, :base64 => true, as: 'contents'
property :gcs_source, as: 'gcsSource', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2GcsSource, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2GcsSource::Representation
property :mime_type, as: 'mimeType'
end
end
class GoogleCloudDocumentaiV1beta2KeyValuePairHint
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
collection :value_types, as: 'valueTypes'
end
end
class GoogleCloudDocumentaiV1beta2NormalizedVertex
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :x, as: 'x'
property :y, as: 'y'
end
end
class GoogleCloudDocumentaiV1beta2OcrParams
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :language_hints, as: 'languageHints'
end
end
class GoogleCloudDocumentaiV1beta2OperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :state, as: 'state'
property :state_message, as: 'stateMessage'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudDocumentaiV1beta2OutputConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2GcsDestination, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2GcsDestination::Representation
property :pages_per_shard, as: 'pagesPerShard'
end
end
class GoogleCloudDocumentaiV1beta2ProcessDocumentRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :automl_params, as: 'automlParams', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2AutoMlParams, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2AutoMlParams::Representation
property :document_type, as: 'documentType'
property :entity_extraction_params, as: 'entityExtractionParams', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2EntityExtractionParams, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2EntityExtractionParams::Representation
property :form_extraction_params, as: 'formExtractionParams', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2FormExtractionParams, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2FormExtractionParams::Representation
property :input_config, as: 'inputConfig', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2InputConfig, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2InputConfig::Representation
property :ocr_params, as: 'ocrParams', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2OcrParams, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2OcrParams::Representation
property :output_config, as: 'outputConfig', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2OutputConfig, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2OutputConfig::Representation
property :parent, as: 'parent'
property :table_extraction_params, as: 'tableExtractionParams', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2TableExtractionParams, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2TableExtractionParams::Representation
end
end
class GoogleCloudDocumentaiV1beta2ProcessDocumentResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :input_config, as: 'inputConfig', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2InputConfig, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2InputConfig::Representation
property :output_config, as: 'outputConfig', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2OutputConfig, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2OutputConfig::Representation
end
end
class GoogleCloudDocumentaiV1beta2TableBoundHint
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_box, as: 'boundingBox', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BoundingPoly, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BoundingPoly::Representation
property :page_number, as: 'pageNumber'
end
end
class GoogleCloudDocumentaiV1beta2TableExtractionParams
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
collection :header_hints, as: 'headerHints'
property :model_version, as: 'modelVersion'
collection :table_bound_hints, as: 'tableBoundHints', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2TableBoundHint, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2TableBoundHint::Representation
end
end
class GoogleCloudDocumentaiV1beta2Vertex
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :x, as: 'x'
property :y, as: 'y'
end
end
class GoogleCloudDocumentaiV1beta3BatchProcessMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
collection :individual_process_statuses, as: 'individualProcessStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus::Representation
property :state, as: 'state'
property :state_message, as: 'stateMessage'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :human_review_operation, as: 'humanReviewOperation'
feat: Automated regeneration of documentai v1beta2 client (#2420) This PR was generated using Autosynth. :rainbow: <details><summary>Log from Synthtool</summary> ``` 2021-01-19 02:18:39,076 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py. On branch autosynth-documentai-v1beta2 nothing to commit, working tree clean 2021-01-19 02:18:39,147 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth documentai v1beta2 DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth documentai v1beta2 git clean -df bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Fetching rake 11.3.0 Installing rake 11.3.0 Fetching public_suffix 4.0.6 Fetching zeitwerk 2.4.2 Fetching concurrent-ruby 1.1.7 Fetching minitest 5.14.3 Installing zeitwerk 2.4.2 Installing minitest 5.14.3 Installing public_suffix 4.0.6 Installing concurrent-ruby 1.1.7 Fetching ast 2.4.1 Installing ast 2.4.1 Using bundler 2.2.5 Fetching byebug 11.1.3 Fetching coderay 1.1.3 Installing byebug 11.1.3 with native extensions Installing coderay 1.1.3 Fetching json 2.5.1 Installing json 2.5.1 with native extensions Fetching docile 1.3.5 Installing docile 1.3.5 Fetching simplecov-html 0.10.2 Installing simplecov-html 0.10.2 Using sync 0.5.0 Fetching thor 0.20.3 Installing thor 0.20.3 Fetching rexml 3.2.4 Installing rexml 3.2.4 Fetching declarative 0.0.20 Installing declarative 0.0.20 Fetching declarative-option 0.1.0 Installing declarative-option 0.1.0 Fetching diff-lcs 1.4.4 Fetching dotenv 2.7.6 Installing diff-lcs 1.4.4 Installing dotenv 2.7.6 Fetching fakefs 0.20.1 Installing fakefs 0.20.1 Fetching faraday-net_http 1.0.1 Installing faraday-net_http 1.0.1 Fetching multipart-post 2.1.1 Fetching ruby2_keywords 0.0.2 Installing multipart-post 2.1.1 Installing ruby2_keywords 0.0.2 Fetching gems 1.2.0 Fetching github-markup 1.7.0 Installing gems 1.2.0 Installing github-markup 1.7.0 Fetching jwt 2.2.2 Installing jwt 2.2.2 Fetching memoist 0.16.2 Installing memoist 0.16.2 Fetching multi_json 1.15.0 Fetching os 0.9.6 Installing multi_json 1.15.0 Installing os 0.9.6 Fetching httpclient 2.8.3 Fetching mini_mime 1.0.2 Installing httpclient 2.8.3 Installing mini_mime 1.0.2 Fetching uber 0.1.0 Installing uber 0.1.0 Fetching retriable 3.1.2 Installing retriable 3.1.2 Fetching hashdiff 1.0.1 Installing hashdiff 1.0.1 Fetching mime-types-data 3.2020.1104 Fetching multi_xml 0.6.0 Fetching rspec-support 3.10.1 Installing multi_xml 0.6.0 Installing mime-types-data 3.2020.1104 Installing rspec-support 3.10.1 Fetching little-plugger 1.1.4 Installing little-plugger 1.1.4 Fetching method_source 1.0.0 Installing method_source 1.0.0 Fetching opencensus 0.5.0 Fetching parallel 1.20.1 Installing opencensus 0.5.0 Installing parallel 1.20.1 Fetching powerpack 0.1.3 Installing powerpack 0.1.3 Fetching yard 0.9.26 Installing yard 0.9.26 Fetching rainbow 2.2.2 Installing rainbow 2.2.2 with native extensions Fetching redcarpet 3.5.1 Installing redcarpet 3.5.1 with native extensions Fetching redis 3.3.5 Installing redis 3.3.5 Fetching rmail 1.1.4 Fetching ruby-progressbar 1.11.0 Installing ruby-progressbar 1.11.0 Installing rmail 1.1.4 Fetching unicode-display_width 1.7.0 Installing unicode-display_width 1.7.0 Fetching parser 2.7.2.0 Fetching addressable 2.7.0 Installing parser 2.7.2.0 Installing addressable 2.7.0 Fetching i18n 1.8.7 Installing i18n 1.8.7 Fetching tzinfo 2.0.4 Fetching tins 1.28.0 Installing tzinfo 2.0.4 Fetching crack 0.4.5 Installing tins 1.28.0 Installing crack 0.4.5 Fetching faraday 1.3.0 Installing faraday 1.3.0 Fetching google-id-token 1.4.2 Installing google-id-token 1.4.2 Fetching representable 3.0.4 Installing representable 3.0.4 Fetching logging 2.3.0 Installing logging 2.3.0 Fetching mime-types 3.3.1 Installing mime-types 3.3.1 Fetching rspec-core 3.10.1 Installing rspec-core 3.10.1 Fetching rspec-expectations 3.10.1 Fetching rspec-mocks 3.10.1 Installing rspec-expectations 3.10.1 Installing rspec-mocks 3.10.1 Fetching pry 0.13.1 Fetching simplecov 0.16.1 Installing simplecov 0.16.1 Fetching launchy 2.5.0 Installing pry 0.13.1 Installing launchy 2.5.0 Fetching rubocop 0.49.1 Fetching webmock 2.3.2 Installing rubocop 0.49.1 Installing webmock 2.3.2 Fetching activesupport 6.1.1 Installing activesupport 6.1.1 Fetching signet 0.14.0 Installing signet 0.14.0 Fetching term-ansicolor 1.7.1 Fetching httparty 0.18.1 Installing httparty 0.18.1 Installing term-ansicolor 1.7.1 Fetching rspec 3.10.0 Installing rspec 3.10.0 Fetching pry-byebug 3.9.0 Installing pry-byebug 3.9.0 Fetching pry-doc 0.13.5 Fetching googleauth 0.14.0 Installing googleauth 0.14.0 Fetching coveralls 0.8.23 Installing coveralls 0.8.23 Fetching json_spec 1.1.5 Installing json_spec 1.1.5 Fetching google-apis-core 0.2.0 Installing google-apis-core 0.2.0 Installing pry-doc 0.13.5 Fetching google-apis-discovery_v1 0.1.0 Installing google-apis-discovery_v1 0.1.0 Using google-apis-generator 0.1.1 from source at `.` Bundle complete! 25 Gemfile dependencies, 81 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. Post-install message from i18n: HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. But that may break your application. If you are upgrading your Rails application from an older version of Rails: Please check your Rails app for 'config.i18n.fallbacks = true'. If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be 'config.i18n.fallbacks = [I18n.default_locale]'. If not, fallbacks will be broken in your app by I18n 1.1.x. If you are starting a NEW Rails application, you can ignore this notice. For more info see: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 Post-install message from httparty: When you HTTParty, you must party hard! echo a | bundle exec bin/generate-api gen /workspace/generated --api=documentai.v1beta2 --names=/workspace/api_names.yaml --names-out=/workspace/api_names_out.yaml --spot-check Loading documentai, version v1beta2 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/documentai.v1beta2.json W, [2021-01-19T10:18:57.809680 #224] WARN -- : Found reserved property 'object_id' W, [2021-01-19T10:18:57.809751 #224] WARN -- : Changed to 'object_id_prop' W, [2021-01-19T10:18:57.814380 #224] WARN -- : Found reserved property 'object_id' W, [2021-01-19T10:18:57.814418 #224] WARN -- : Changed to 'object_id_prop' conflict google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/classes.rb <v1beta2/classes.rb? (enter "h" for help) [Ynaqdhm] a force google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/classes.rb conflict google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/representations.rb force google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/representations.rb conflict google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/gem_version.rb force google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/gem_version.rb conflict google-apis-documentai_v1beta2/CHANGELOG.md force google-apis-documentai_v1beta2/CHANGELOG.md Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Using rake 13.0.3 Using public_suffix 4.0.6 Using bundler 2.2.5 Using declarative 0.0.20 Using declarative-option 0.1.0 Using diff-lcs 1.4.4 Using faraday-net_http 1.0.1 Using multipart-post 2.1.1 Using ruby2_keywords 0.0.2 Using jwt 2.2.2 Using memoist 0.16.2 Using multi_json 1.15.0 Fetching os 1.1.1 Using httpclient 2.8.3 Using mini_mime 1.0.2 Using uber 0.1.0 Using retriable 3.1.2 Using rexml 3.2.4 Using opencensus 0.5.0 Using redcarpet 3.5.1 Using rspec-support 3.10.1 Using yard 0.9.26 Using addressable 2.7.0 Using faraday 1.3.0 Using representable 3.0.4 Using rspec-core 3.10.1 Using rspec-expectations 3.10.1 Using rspec-mocks 3.10.1 Using signet 0.14.0 Using rspec 3.10.0 Installing os 1.1.1 Using googleauth 0.14.0 Using google-apis-core 0.2.0 Using google-apis-documentai_v1beta2 0.2.0 from source at `.` Bundle complete! 8 Gemfile dependencies, 33 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. /root/.rbenv/versions/2.6.6/bin/ruby -I/root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-core-3.10.1/lib:/root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-support-3.10.1/lib /root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-core-3.10.1/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb Google::Apis::DocumentaiV1beta2 should load Finished in 0.33058 seconds (files took 0.0962 seconds to load) 1 example, 0 failures Files: 4 Modules: 3 ( 1 undocumented) Classes: 140 ( 0 undocumented) Constants: 5 ( 0 undocumented) Attributes: 171 ( 0 undocumented) Methods: 285 ( 0 undocumented) 99.83% documented google-apis-documentai_v1beta2 0.2.0 built to pkg/google-apis-documentai_v1beta2-0.2.0.gem. conflict /workspace/api_names_out.yaml force /workspace/api_names_out.yaml 2021-01-19 02:19:12,594 synthtool [DEBUG] > Wrote metadata to generated/google-apis-documentai_v1beta2/synth.metadata. DEBUG:synthtool:Wrote metadata to generated/google-apis-documentai_v1beta2/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/6d4b4a6c-3cc6-4afa-91ad-7feb2f717138/targets - [ ] To automatically regenerate this PR, check this box.
2021-01-19 11:30:02 +00:00
property :human_review_status, as: 'humanReviewStatus', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3HumanReviewStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3HumanReviewStatus::Representation
property :input_gcs_source, as: 'inputGcsSource'
property :output_gcs_destination, as: 'outputGcsDestination'
property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
end
end
class GoogleCloudDocumentaiV1beta3BatchProcessResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDocumentaiV1beta3CommonOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :state, as: 'state'
property :state_message, as: 'stateMessage'
property :update_time, as: 'updateTime'
end
end
feat: Automated regeneration of documentai v1beta2 client (#2420) This PR was generated using Autosynth. :rainbow: <details><summary>Log from Synthtool</summary> ``` 2021-01-19 02:18:39,076 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py. On branch autosynth-documentai-v1beta2 nothing to commit, working tree clean 2021-01-19 02:18:39,147 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth documentai v1beta2 DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth documentai v1beta2 git clean -df bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Fetching rake 11.3.0 Installing rake 11.3.0 Fetching public_suffix 4.0.6 Fetching zeitwerk 2.4.2 Fetching concurrent-ruby 1.1.7 Fetching minitest 5.14.3 Installing zeitwerk 2.4.2 Installing minitest 5.14.3 Installing public_suffix 4.0.6 Installing concurrent-ruby 1.1.7 Fetching ast 2.4.1 Installing ast 2.4.1 Using bundler 2.2.5 Fetching byebug 11.1.3 Fetching coderay 1.1.3 Installing byebug 11.1.3 with native extensions Installing coderay 1.1.3 Fetching json 2.5.1 Installing json 2.5.1 with native extensions Fetching docile 1.3.5 Installing docile 1.3.5 Fetching simplecov-html 0.10.2 Installing simplecov-html 0.10.2 Using sync 0.5.0 Fetching thor 0.20.3 Installing thor 0.20.3 Fetching rexml 3.2.4 Installing rexml 3.2.4 Fetching declarative 0.0.20 Installing declarative 0.0.20 Fetching declarative-option 0.1.0 Installing declarative-option 0.1.0 Fetching diff-lcs 1.4.4 Fetching dotenv 2.7.6 Installing diff-lcs 1.4.4 Installing dotenv 2.7.6 Fetching fakefs 0.20.1 Installing fakefs 0.20.1 Fetching faraday-net_http 1.0.1 Installing faraday-net_http 1.0.1 Fetching multipart-post 2.1.1 Fetching ruby2_keywords 0.0.2 Installing multipart-post 2.1.1 Installing ruby2_keywords 0.0.2 Fetching gems 1.2.0 Fetching github-markup 1.7.0 Installing gems 1.2.0 Installing github-markup 1.7.0 Fetching jwt 2.2.2 Installing jwt 2.2.2 Fetching memoist 0.16.2 Installing memoist 0.16.2 Fetching multi_json 1.15.0 Fetching os 0.9.6 Installing multi_json 1.15.0 Installing os 0.9.6 Fetching httpclient 2.8.3 Fetching mini_mime 1.0.2 Installing httpclient 2.8.3 Installing mini_mime 1.0.2 Fetching uber 0.1.0 Installing uber 0.1.0 Fetching retriable 3.1.2 Installing retriable 3.1.2 Fetching hashdiff 1.0.1 Installing hashdiff 1.0.1 Fetching mime-types-data 3.2020.1104 Fetching multi_xml 0.6.0 Fetching rspec-support 3.10.1 Installing multi_xml 0.6.0 Installing mime-types-data 3.2020.1104 Installing rspec-support 3.10.1 Fetching little-plugger 1.1.4 Installing little-plugger 1.1.4 Fetching method_source 1.0.0 Installing method_source 1.0.0 Fetching opencensus 0.5.0 Fetching parallel 1.20.1 Installing opencensus 0.5.0 Installing parallel 1.20.1 Fetching powerpack 0.1.3 Installing powerpack 0.1.3 Fetching yard 0.9.26 Installing yard 0.9.26 Fetching rainbow 2.2.2 Installing rainbow 2.2.2 with native extensions Fetching redcarpet 3.5.1 Installing redcarpet 3.5.1 with native extensions Fetching redis 3.3.5 Installing redis 3.3.5 Fetching rmail 1.1.4 Fetching ruby-progressbar 1.11.0 Installing ruby-progressbar 1.11.0 Installing rmail 1.1.4 Fetching unicode-display_width 1.7.0 Installing unicode-display_width 1.7.0 Fetching parser 2.7.2.0 Fetching addressable 2.7.0 Installing parser 2.7.2.0 Installing addressable 2.7.0 Fetching i18n 1.8.7 Installing i18n 1.8.7 Fetching tzinfo 2.0.4 Fetching tins 1.28.0 Installing tzinfo 2.0.4 Fetching crack 0.4.5 Installing tins 1.28.0 Installing crack 0.4.5 Fetching faraday 1.3.0 Installing faraday 1.3.0 Fetching google-id-token 1.4.2 Installing google-id-token 1.4.2 Fetching representable 3.0.4 Installing representable 3.0.4 Fetching logging 2.3.0 Installing logging 2.3.0 Fetching mime-types 3.3.1 Installing mime-types 3.3.1 Fetching rspec-core 3.10.1 Installing rspec-core 3.10.1 Fetching rspec-expectations 3.10.1 Fetching rspec-mocks 3.10.1 Installing rspec-expectations 3.10.1 Installing rspec-mocks 3.10.1 Fetching pry 0.13.1 Fetching simplecov 0.16.1 Installing simplecov 0.16.1 Fetching launchy 2.5.0 Installing pry 0.13.1 Installing launchy 2.5.0 Fetching rubocop 0.49.1 Fetching webmock 2.3.2 Installing rubocop 0.49.1 Installing webmock 2.3.2 Fetching activesupport 6.1.1 Installing activesupport 6.1.1 Fetching signet 0.14.0 Installing signet 0.14.0 Fetching term-ansicolor 1.7.1 Fetching httparty 0.18.1 Installing httparty 0.18.1 Installing term-ansicolor 1.7.1 Fetching rspec 3.10.0 Installing rspec 3.10.0 Fetching pry-byebug 3.9.0 Installing pry-byebug 3.9.0 Fetching pry-doc 0.13.5 Fetching googleauth 0.14.0 Installing googleauth 0.14.0 Fetching coveralls 0.8.23 Installing coveralls 0.8.23 Fetching json_spec 1.1.5 Installing json_spec 1.1.5 Fetching google-apis-core 0.2.0 Installing google-apis-core 0.2.0 Installing pry-doc 0.13.5 Fetching google-apis-discovery_v1 0.1.0 Installing google-apis-discovery_v1 0.1.0 Using google-apis-generator 0.1.1 from source at `.` Bundle complete! 25 Gemfile dependencies, 81 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. Post-install message from i18n: HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. But that may break your application. If you are upgrading your Rails application from an older version of Rails: Please check your Rails app for 'config.i18n.fallbacks = true'. If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be 'config.i18n.fallbacks = [I18n.default_locale]'. If not, fallbacks will be broken in your app by I18n 1.1.x. If you are starting a NEW Rails application, you can ignore this notice. For more info see: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 Post-install message from httparty: When you HTTParty, you must party hard! echo a | bundle exec bin/generate-api gen /workspace/generated --api=documentai.v1beta2 --names=/workspace/api_names.yaml --names-out=/workspace/api_names_out.yaml --spot-check Loading documentai, version v1beta2 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/documentai.v1beta2.json W, [2021-01-19T10:18:57.809680 #224] WARN -- : Found reserved property 'object_id' W, [2021-01-19T10:18:57.809751 #224] WARN -- : Changed to 'object_id_prop' W, [2021-01-19T10:18:57.814380 #224] WARN -- : Found reserved property 'object_id' W, [2021-01-19T10:18:57.814418 #224] WARN -- : Changed to 'object_id_prop' conflict google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/classes.rb <v1beta2/classes.rb? (enter "h" for help) [Ynaqdhm] a force google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/classes.rb conflict google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/representations.rb force google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/representations.rb conflict google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/gem_version.rb force google-apis-documentai_v1beta2/lib/google/apis/documentai_v1beta2/gem_version.rb conflict google-apis-documentai_v1beta2/CHANGELOG.md force google-apis-documentai_v1beta2/CHANGELOG.md Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Using rake 13.0.3 Using public_suffix 4.0.6 Using bundler 2.2.5 Using declarative 0.0.20 Using declarative-option 0.1.0 Using diff-lcs 1.4.4 Using faraday-net_http 1.0.1 Using multipart-post 2.1.1 Using ruby2_keywords 0.0.2 Using jwt 2.2.2 Using memoist 0.16.2 Using multi_json 1.15.0 Fetching os 1.1.1 Using httpclient 2.8.3 Using mini_mime 1.0.2 Using uber 0.1.0 Using retriable 3.1.2 Using rexml 3.2.4 Using opencensus 0.5.0 Using redcarpet 3.5.1 Using rspec-support 3.10.1 Using yard 0.9.26 Using addressable 2.7.0 Using faraday 1.3.0 Using representable 3.0.4 Using rspec-core 3.10.1 Using rspec-expectations 3.10.1 Using rspec-mocks 3.10.1 Using signet 0.14.0 Using rspec 3.10.0 Installing os 1.1.1 Using googleauth 0.14.0 Using google-apis-core 0.2.0 Using google-apis-documentai_v1beta2 0.2.0 from source at `.` Bundle complete! 8 Gemfile dependencies, 33 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. /root/.rbenv/versions/2.6.6/bin/ruby -I/root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-core-3.10.1/lib:/root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-support-3.10.1/lib /root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-core-3.10.1/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb Google::Apis::DocumentaiV1beta2 should load Finished in 0.33058 seconds (files took 0.0962 seconds to load) 1 example, 0 failures Files: 4 Modules: 3 ( 1 undocumented) Classes: 140 ( 0 undocumented) Constants: 5 ( 0 undocumented) Attributes: 171 ( 0 undocumented) Methods: 285 ( 0 undocumented) 99.83% documented google-apis-documentai_v1beta2 0.2.0 built to pkg/google-apis-documentai_v1beta2-0.2.0.gem. conflict /workspace/api_names_out.yaml force /workspace/api_names_out.yaml 2021-01-19 02:19:12,594 synthtool [DEBUG] > Wrote metadata to generated/google-apis-documentai_v1beta2/synth.metadata. DEBUG:synthtool:Wrote metadata to generated/google-apis-documentai_v1beta2/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/6d4b4a6c-3cc6-4afa-91ad-7feb2f717138/targets - [ ] To automatically regenerate this PR, check this box.
2021-01-19 11:30:02 +00:00
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :human_review_operation, as: 'humanReviewOperation'
property :state, as: 'state'
property :state_message, as: 'stateMessage'
end
end
class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
property :create_time, as: 'createTime'
property :state, as: 'state'
property :state_message, as: 'stateMessage'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudDocumentaiV1beta3ReviewDocumentResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gcs_destination, as: 'gcsDestination'
end
end
class GoogleLongrunningOperation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :done, as: 'done'
property :error, as: 'error', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
hash :metadata, as: 'metadata'
property :name, as: 'name'
hash :response, as: 'response'
end
end
class GoogleProtobufEmpty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleRpcStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :details, as: 'details'
property :message, as: 'message'
end
end
class GoogleTypeColor
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :alpha, as: 'alpha'
property :blue, as: 'blue'
property :green, as: 'green'
property :red, as: 'red'
end
end
class GoogleTypeDate
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :day, as: 'day'
property :month, as: 'month'
property :year, as: 'year'
end
end
class GoogleTypeDateTime
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :day, as: 'day'
property :hours, as: 'hours'
property :minutes, as: 'minutes'
property :month, as: 'month'
property :nanos, as: 'nanos'
property :seconds, as: 'seconds'
property :time_zone, as: 'timeZone', class: Google::Apis::DocumentaiV1beta2::GoogleTypeTimeZone, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeTimeZone::Representation
property :utc_offset, as: 'utcOffset'
property :year, as: 'year'
end
end
class GoogleTypeMoney
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :currency_code, as: 'currencyCode'
property :nanos, as: 'nanos'
property :units, :numeric_string => true, as: 'units'
end
end
class GoogleTypePostalAddress
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :address_lines, as: 'addressLines'
property :administrative_area, as: 'administrativeArea'
property :language_code, as: 'languageCode'
property :locality, as: 'locality'
property :organization, as: 'organization'
property :postal_code, as: 'postalCode'
collection :recipients, as: 'recipients'
property :region_code, as: 'regionCode'
property :revision, as: 'revision'
property :sorting_code, as: 'sortingCode'
property :sublocality, as: 'sublocality'
end
end
class GoogleTypeTimeZone
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :version, as: 'version'
end
end
end
end
end