Class: Google::Cloud::DocumentAI::V1beta3::ProcessorType

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

Overview

A processor type is responsible for performing a certain document understanding task on a certain type of document.

Defined Under Namespace

Classes: LocationInfo

Instance Attribute Summary collapse

Instance Attribute Details

#allow_creation::Boolean

Returns Whether the processor type allows creation. If yes, user can create a processor of this processor type. Otherwise, user needs to require for whitelisting.

Returns:

  • (::Boolean)

    Whether the processor type allows creation. If yes, user can create a processor of this processor type. Otherwise, user needs to require for whitelisting.



43
44
45
46
47
48
49
50
51
52
53
54
55
# File 'proto_docs/google/cloud/documentai/v1beta3/processor_type.rb', line 43

class ProcessorType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The location information about where the processor is available.
  # @!attribute [rw] location_id
  #   @return [::String]
  #     The location id.
  class LocationInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#available_locations::Array<::Google::Cloud::DocumentAI::V1beta3::ProcessorType::LocationInfo>

Returns The locations in which this processor is available.

Returns:



43
44
45
46
47
48
49
50
51
52
53
54
55
# File 'proto_docs/google/cloud/documentai/v1beta3/processor_type.rb', line 43

class ProcessorType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The location information about where the processor is available.
  # @!attribute [rw] location_id
  #   @return [::String]
  #     The location id.
  class LocationInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#category::String

Returns The processor category.

Returns:

  • (::String)

    The processor category.



43
44
45
46
47
48
49
50
51
52
53
54
55
# File 'proto_docs/google/cloud/documentai/v1beta3/processor_type.rb', line 43

class ProcessorType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The location information about where the processor is available.
  # @!attribute [rw] location_id
  #   @return [::String]
  #     The location id.
  class LocationInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#name::String

Returns The resource name of the processor type.

Returns:

  • (::String)

    The resource name of the processor type.



43
44
45
46
47
48
49
50
51
52
53
54
55
# File 'proto_docs/google/cloud/documentai/v1beta3/processor_type.rb', line 43

class ProcessorType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The location information about where the processor is available.
  # @!attribute [rw] location_id
  #   @return [::String]
  #     The location id.
  class LocationInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#type::String

Returns The type of the processor.

Returns:

  • (::String)

    The type of the processor.



43
44
45
46
47
48
49
50
51
52
53
54
55
# File 'proto_docs/google/cloud/documentai/v1beta3/processor_type.rb', line 43

class ProcessorType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The location information about where the processor is available.
  # @!attribute [rw] location_id
  #   @return [::String]
  #     The location id.
  class LocationInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end