Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaMutabilityMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaMutabilityMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1/classes.rb,
lib/google/apis/documentai_v1/representations.rb,
lib/google/apis/documentai_v1/representations.rb
Overview
Metadata that specifies whether a label is editable and reasons why. These fields are read-only. Changing these fields has no impact on the backend.
Instance Attribute Summary collapse
-
#editable ⇒ Boolean
(also: #editable?)
Explicit flag that controls whether the label is editable.
-
#processor_versions ⇒ Array<String>
Full resource name of processor versions that contain this label.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1SchemaMutabilityMetadata
constructor
A new instance of GoogleCloudDocumentaiV1SchemaMutabilityMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1SchemaMutabilityMetadata
Returns a new instance of GoogleCloudDocumentaiV1SchemaMutabilityMetadata.
4208 4209 4210 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 4208 def initialize(**args) update!(**args) end |
Instance Attribute Details
#editable ⇒ Boolean Also known as: editable?
Explicit flag that controls whether the label is editable.
Corresponds to the JSON property editable
4198 4199 4200 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 4198 def editable @editable end |
#processor_versions ⇒ Array<String>
Full resource name of processor versions that contain this label. e.g.
projects/
project/locations/
location/processors/
processor/
processorVersions/
processorVersion`
Corresponds to the JSON property
processorVersions`
4206 4207 4208 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 4206 def processor_versions @processor_versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4213 4214 4215 4216 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 4213 def update!(**args) @editable = args[:editable] if args.key?(:editable) @processor_versions = args[:processor_versions] if args.key?(:processor_versions) end |