Class: Google::Cloud::DocumentAI::V1beta3::DocumentOutputConfig::GcsOutputConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/documentai/v1beta3/document_io.rb

Overview

The configuration used when outputting documents.

Defined Under Namespace

Classes: ShardingConfig

Instance Attribute Summary collapse

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}.

Returns:

  • (::Google::Protobuf::FieldMask)

    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/v1beta3/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.

Returns:

  • (::String)

    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/v1beta3/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::V1beta3::DocumentOutputConfig::GcsOutputConfig::ShardingConfig

Returns Specifies the sharding config for the output document.

Returns:



107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# File 'proto_docs/google/cloud/documentai/v1beta3/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