Class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource
- Inherits:
-
Object
- Object
- Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/contentwarehouse_v1/classes.rb,
lib/google/apis/contentwarehouse_v1/representations.rb,
lib/google/apis/contentwarehouse_v1/representations.rb
Overview
The schema source information.
Instance Attribute Summary collapse
-
#name ⇒ String
The schema name in the source.
-
#processor_type ⇒ String
The Doc AI processor type name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource
constructor
A new instance of GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource
Returns a new instance of GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource.
2840 2841 2842 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2840 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The schema name in the source.
Corresponds to the JSON property name
2833 2834 2835 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2833 def name @name end |
#processor_type ⇒ String
The Doc AI processor type name.
Corresponds to the JSON property processorType
2838 2839 2840 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2838 def processor_type @processor_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2845 2846 2847 2848 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2845 def update!(**args) @name = args[:name] if args.key?(:name) @processor_type = args[:processor_type] if args.key?(:processor_type) end |