Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues
- 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
Defines the a list of enum values.
Instance Attribute Summary collapse
-
#values ⇒ Array<String>
The individual values that this enum values type can include.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues
constructor
A new instance of GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues
Returns a new instance of GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues.
3012 3013 3014 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 3012 def initialize(**args) update!(**args) end |
Instance Attribute Details
#values ⇒ Array<String>
The individual values that this enum values type can include.
Corresponds to the JSON property values
3010 3011 3012 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 3010 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3017 3018 3019 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 3017 def update!(**args) @values = args[:values] if args.key?(:values) end |