Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::DocumentOutputConfig::GcsOutputConfig.
The configuration used when outputting documents.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#field_mask
def field_mask() -> ::Google::Protobuf::FieldMask
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}
orpages.{page_field_name}
.
#field_mask=
def field_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
-
value (::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}
orpages.{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}
orpages.{page_field_name}
.
#gcs_uri
def gcs_uri() -> ::String
Returns
- (::String) — The Cloud Storage uri (a directory) of the output.
#gcs_uri=
def gcs_uri=(value) -> ::String
Parameter
- value (::String) — The Cloud Storage uri (a directory) of the output.
Returns
- (::String) — The Cloud Storage uri (a directory) of the output.
#sharding_config
def sharding_config() -> ::Google::Cloud::DocumentAI::V1::DocumentOutputConfig::GcsOutputConfig::ShardingConfig
Returns
- (::Google::Cloud::DocumentAI::V1::DocumentOutputConfig::GcsOutputConfig::ShardingConfig) — Specifies the sharding config for the output document.
#sharding_config=
def sharding_config=(value) -> ::Google::Cloud::DocumentAI::V1::DocumentOutputConfig::GcsOutputConfig::ShardingConfig
Parameter
- value (::Google::Cloud::DocumentAI::V1::DocumentOutputConfig::GcsOutputConfig::ShardingConfig) — Specifies the sharding config for the output document.
Returns
- (::Google::Cloud::DocumentAI::V1::DocumentOutputConfig::GcsOutputConfig::ShardingConfig) — Specifies the sharding config for the output document.