Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1NextSchema
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1NextSchema
- 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
NextSchema is a collection of SchemaVersions.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Required.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Identifier.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1NextSchema
constructor
A new instance of GoogleCloudDocumentaiV1NextSchema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1NextSchema
Returns a new instance of GoogleCloudDocumentaiV1NextSchema.
6810 6811 6812 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6810 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time when the Schema was created.
Corresponds to the JSON property createTime
6787 6788 6789 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6787 def create_time @create_time end |
#display_name ⇒ String
Required. The user-defined name of the Schema.
Corresponds to the JSON property displayName
6792 6793 6794 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6792 def display_name @display_name end |
#labels ⇒ Hash<String,String>
Optional. The gcp_name_short labels for the Schema.
Corresponds to the JSON property labels
6797 6798 6799 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6797 def labels @labels end |
#name ⇒ String
Identifier. The resource name of the Schema. Format: projects/project/
locations/location/schemas/schema`
Corresponds to the JSON propertyname`
6803 6804 6805 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6803 def name @name end |
#update_time ⇒ String
Output only. The time when the Schema was last updated.
Corresponds to the JSON property updateTime
6808 6809 6810 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6808 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6815 6816 6817 6818 6819 6820 6821 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6815 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |