Class: Google::Cloud::DocumentAI::V1::DocumentOutputConfig::GcsOutputConfig
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1::DocumentOutputConfig::GcsOutputConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/documentai/v1/document_io.rb
Overview
The configuration used when outputting documents.
Defined Under Namespace
Classes: ShardingConfig
Instance Attribute Summary collapse
-
#field_mask ⇒ ::Google::Protobuf::FieldMask
Specifies which fields to include in the output documents.
-
#gcs_uri ⇒ ::String
The Cloud Storage uri (a directory) of the output.
-
#sharding_config ⇒ ::Google::Cloud::DocumentAI::V1::DocumentOutputConfig::GcsOutputConfig::ShardingConfig
Specifies the sharding config for the output document.
Instance Attribute Details
#field_mask ⇒ ::Google::Protobuf::FieldMask
Returns Specifies which fields to include in the output documents.
Only supports top level document and pages field so it must be in the
form of {document_field_name}
or pages.{page_field_name}
.
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
# File 'proto_docs/google/cloud/documentai/v1/document_io.rb', line 107 class GcsOutputConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The sharding config for the output document. # @!attribute [rw] pages_per_shard # @return [::Integer] # The number of pages per shard. # @!attribute [rw] pages_overlap # @return [::Integer] # The number of overlapping pages between consecutive shards. class ShardingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#gcs_uri ⇒ ::String
Returns The Cloud Storage uri (a directory) of the output.
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
# File 'proto_docs/google/cloud/documentai/v1/document_io.rb', line 107 class GcsOutputConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The sharding config for the output document. # @!attribute [rw] pages_per_shard # @return [::Integer] # The number of pages per shard. # @!attribute [rw] pages_overlap # @return [::Integer] # The number of overlapping pages between consecutive shards. class ShardingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#sharding_config ⇒ ::Google::Cloud::DocumentAI::V1::DocumentOutputConfig::GcsOutputConfig::ShardingConfig
Returns Specifies the sharding config for the output document.
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
# File 'proto_docs/google/cloud/documentai/v1/document_io.rb', line 107 class GcsOutputConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The sharding config for the output document. # @!attribute [rw] pages_per_shard # @return [::Integer] # The number of pages per shard. # @!attribute [rw] pages_overlap # @return [::Integer] # The number of overlapping pages between consecutive shards. class ShardingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |