Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of documentai v1beta3 client #8768

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130231,6 +130231,7 @@
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta1DocumentEntity/id": id
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta1DocumentEntity/mentionId": mention_id
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta1DocumentEntity/mentionText": mention_text
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta1DocumentEntity/nonPresent": non_present
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta1DocumentEntity/normalizedValue": normalized_value
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta1DocumentEntity/pageAnchor": page_anchor
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta1DocumentEntity/properties": properties
Expand Down Expand Up @@ -130485,6 +130486,7 @@
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta2DocumentEntity/id": id
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta2DocumentEntity/mentionId": mention_id
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta2DocumentEntity/mentionText": mention_text
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta2DocumentEntity/nonPresent": non_present
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta2DocumentEntity/normalizedValue": normalized_value
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta2DocumentEntity/pageAnchor": page_anchor
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta2DocumentEntity/properties": properties
Expand Down Expand Up @@ -130786,6 +130788,7 @@
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3DocumentEntity/id": id
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3DocumentEntity/mentionId": mention_id
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3DocumentEntity/mentionText": mention_text
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3DocumentEntity/nonPresent": non_present
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3DocumentEntity/normalizedValue": normalized_value
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3DocumentEntity/pageAnchor": page_anchor
"/documentai:v1beta3/GoogleCloudDocumentaiV1beta3DocumentEntity/properties": properties
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-documentai_v1beta3/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-documentai_v1beta3

### v0.39.0 (2022-03-23)

* Regenerated from discovery document revision 20220321

### v0.38.0 (2022-03-15)

* Regenerated from discovery document revision 20220311
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1409,10 +1409,10 @@ def update!(**args)
end
end

# Document represents the canonical document resource in Document Understanding
# AI. It is an interchange format that provides insights into documents and
# allows for collaboration between users and Document Understanding AI to
# iterate and optimize for quality.
# Document represents the canonical document resource in Document AI. It is an
# interchange format that provides insights into documents and allows for
# collaboration between users and Document AI to iterate and optimize for
# quality.
class GoogleCloudDocumentaiV1beta1Document
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -1542,6 +1542,15 @@ class GoogleCloudDocumentaiV1beta1DocumentEntity
# @return [String]
attr_accessor :mention_text

# Optional. This attribute indicates that the processing didn't actually
# identify this entity, but a confidence score was assigned that represent the
# potential that this could be a false negative. A non-present entity should
# have an empty mention_text and text_anchor.
# Corresponds to the JSON property `nonPresent`
# @return [Boolean]
attr_accessor :non_present
alias_method :non_present?, :non_present

# Parsed and normalized entity value.
# Corresponds to the JSON property `normalizedValue`
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue]
Expand Down Expand Up @@ -1592,6 +1601,7 @@ def update!(**args)
@id = args[:id] if args.key?(:id)
@mention_id = args[:mention_id] if args.key?(:mention_id)
@mention_text = args[:mention_text] if args.key?(:mention_text)
@non_present = args[:non_present] if args.key?(:non_present)
@normalized_value = args[:normalized_value] if args.key?(:normalized_value)
@page_anchor = args[:page_anchor] if args.key?(:page_anchor)
@properties = args[:properties] if args.key?(:properties)
Expand Down Expand Up @@ -3161,10 +3171,10 @@ def update!(**args)
end
end

# Document represents the canonical document resource in Document Understanding
# AI. It is an interchange format that provides insights into documents and
# allows for collaboration between users and Document Understanding AI to
# iterate and optimize for quality.
# Document represents the canonical document resource in Document AI. It is an
# interchange format that provides insights into documents and allows for
# collaboration between users and Document AI to iterate and optimize for
# quality.
class GoogleCloudDocumentaiV1beta2Document
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -3300,6 +3310,15 @@ class GoogleCloudDocumentaiV1beta2DocumentEntity
# @return [String]
attr_accessor :mention_text

# Optional. This attribute indicates that the processing didn't actually
# identify this entity, but a confidence score was assigned that represent the
# potential that this could be a false negative. A non-present entity should
# have an empty mention_text and text_anchor.
# Corresponds to the JSON property `nonPresent`
# @return [Boolean]
attr_accessor :non_present
alias_method :non_present?, :non_present

# Parsed and normalized entity value.
# Corresponds to the JSON property `normalizedValue`
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue]
Expand Down Expand Up @@ -3350,6 +3369,7 @@ def update!(**args)
@id = args[:id] if args.key?(:id)
@mention_id = args[:mention_id] if args.key?(:mention_id)
@mention_text = args[:mention_text] if args.key?(:mention_text)
@non_present = args[:non_present] if args.key?(:non_present)
@normalized_value = args[:normalized_value] if args.key?(:normalized_value)
@page_anchor = args[:page_anchor] if args.key?(:page_anchor)
@properties = args[:properties] if args.key?(:properties)
Expand Down Expand Up @@ -5347,10 +5367,10 @@ def update!(**args)
end
end

# Document represents the canonical document resource in Document Understanding
# AI. It is an interchange format that provides insights into documents and
# allows for collaboration between users and Document Understanding AI to
# iterate and optimize for quality.
# Document represents the canonical document resource in Document AI. It is an
# interchange format that provides insights into documents and allows for
# collaboration between users and Document AI to iterate and optimize for
# quality.
class GoogleCloudDocumentaiV1beta3Document
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -5480,6 +5500,15 @@ class GoogleCloudDocumentaiV1beta3DocumentEntity
# @return [String]
attr_accessor :mention_text

# Optional. This attribute indicates that the processing didn't actually
# identify this entity, but a confidence score was assigned that represent the
# potential that this could be a false negative. A non-present entity should
# have an empty mention_text and text_anchor.
# Corresponds to the JSON property `nonPresent`
# @return [Boolean]
attr_accessor :non_present
alias_method :non_present?, :non_present

# Parsed and normalized entity value.
# Corresponds to the JSON property `normalizedValue`
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue]
Expand Down Expand Up @@ -5530,6 +5559,7 @@ def update!(**args)
@id = args[:id] if args.key?(:id)
@mention_id = args[:mention_id] if args.key?(:mention_id)
@mention_text = args[:mention_text] if args.key?(:mention_text)
@non_present = args[:non_present] if args.key?(:non_present)
@normalized_value = args[:normalized_value] if args.key?(:normalized_value)
@page_anchor = args[:page_anchor] if args.key?(:page_anchor)
@properties = args[:properties] if args.key?(:properties)
Expand Down Expand Up @@ -7122,18 +7152,18 @@ def update!(**args)
class GoogleCloudDocumentaiV1beta3ProcessRequest
include Google::Apis::Core::Hashable

# Document represents the canonical document resource in Document Understanding
# AI. It is an interchange format that provides insights into documents and
# allows for collaboration between users and Document Understanding AI to
# iterate and optimize for quality.
# Document represents the canonical document resource in Document AI. It is an
# interchange format that provides insights into documents and allows for
# collaboration between users and Document AI to iterate and optimize for
# quality.
# Corresponds to the JSON property `document`
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
attr_accessor :document

# Document represents the canonical document resource in Document Understanding
# AI. It is an interchange format that provides insights into documents and
# allows for collaboration between users and Document Understanding AI to
# iterate and optimize for quality.
# Document represents the canonical document resource in Document AI. It is an
# interchange format that provides insights into documents and allows for
# collaboration between users and Document AI to iterate and optimize for
# quality.
# Corresponds to the JSON property `inlineDocument`
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
attr_accessor :inline_document
Expand Down Expand Up @@ -7167,10 +7197,10 @@ def update!(**args)
class GoogleCloudDocumentaiV1beta3ProcessResponse
include Google::Apis::Core::Hashable

# Document represents the canonical document resource in Document Understanding
# AI. It is an interchange format that provides insights into documents and
# allows for collaboration between users and Document Understanding AI to
# iterate and optimize for quality.
# Document represents the canonical document resource in Document AI. It is an
# interchange format that provides insights into documents and allows for
# collaboration between users and Document AI to iterate and optimize for
# quality.
# Corresponds to the JSON property `document`
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
attr_accessor :document
Expand Down Expand Up @@ -7473,10 +7503,10 @@ def update!(**args)
class GoogleCloudDocumentaiV1beta3ReviewDocumentRequest
include Google::Apis::Core::Hashable

# Document represents the canonical document resource in Document Understanding
# AI. It is an interchange format that provides insights into documents and
# allows for collaboration between users and Document Understanding AI to
# iterate and optimize for quality.
# Document represents the canonical document resource in Document AI. It is an
# interchange format that provides insights into documents and allows for
# collaboration between users and Document AI to iterate and optimize for
# quality.
# Corresponds to the JSON property `document`
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
attr_accessor :document
Expand All @@ -7487,10 +7517,10 @@ class GoogleCloudDocumentaiV1beta3ReviewDocumentRequest
attr_accessor :enable_schema_validation
alias_method :enable_schema_validation?, :enable_schema_validation

# Document represents the canonical document resource in Document Understanding
# AI. It is an interchange format that provides insights into documents and
# allows for collaboration between users and Document Understanding AI to
# iterate and optimize for quality.
# Document represents the canonical document resource in Document AI. It is an
# interchange format that provides insights into documents and allows for
# collaboration between users and Document AI to iterate and optimize for
# quality.
# Corresponds to the JSON property `inlineDocument`
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
attr_accessor :inline_document
Expand Down Expand Up @@ -7816,8 +7846,7 @@ def update!(**args)
# A generic empty message that you can re-use to avoid defining duplicated empty
# messages in your APIs. A typical example is to use it as the request or the
# response type of an API method. For instance: service Foo ` rpc Bar(google.
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
# `Empty` is empty JSON object ````.
# protobuf.Empty) returns (google.protobuf.Empty); `
class GoogleProtobufEmpty
include Google::Apis::Core::Hashable

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module DocumentaiV1beta3
# Version of the google-apis-documentai_v1beta3 gem
GEM_VERSION = "0.38.0"
GEM_VERSION = "0.39.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.4.1"

# Revision of the discovery document this client was generated from
REVISION = "20220311"
REVISION = "20220321"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -1997,6 +1997,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :mention_id, as: 'mentionId'
property :mention_text, as: 'mentionText'
property :non_present, as: 'nonPresent'
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue::Representation

property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageAnchor::Representation
Expand Down Expand Up @@ -2499,6 +2500,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :mention_id, as: 'mentionId'
property :mention_text, as: 'mentionText'
property :non_present, as: 'nonPresent'
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue::Representation

property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageAnchor::Representation
Expand Down Expand Up @@ -3139,6 +3141,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :mention_id, as: 'mentionId'
property :mention_text, as: 'mentionText'
property :non_present, as: 'nonPresent'
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue::Representation

property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageAnchor::Representation
Expand Down