Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues

Returns a new instance of GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues.



3916
3917
3918
# File 'lib/google/apis/documentai_v1/classes.rb', line 3916

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#valuesArray<String>

The individual values that this enum values type can include. Corresponds to the JSON property values

Returns:

  • (Array<String>)


3914
3915
3916
# File 'lib/google/apis/documentai_v1/classes.rb', line 3914

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3921
3922
3923
# File 'lib/google/apis/documentai_v1/classes.rb', line 3921

def update!(**args)
  @values = args[:values] if args.key?(:values)
end