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.
6751 6752 6753 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6751 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
6728 6729 6730 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6728 def create_time @create_time end |
#display_name ⇒ String
Required. The user-defined name of the Schema.
Corresponds to the JSON property displayName
6733 6734 6735 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6733 def display_name @display_name end |
#labels ⇒ Hash<String,String>
Optional. The GCP labels for the Schema.
Corresponds to the JSON property labels
6738 6739 6740 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6738 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`
6744 6745 6746 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6744 def name @name end |
#update_time ⇒ String
Output only. The time when the Schema was last updated.
Corresponds to the JSON property updateTime
6749 6750 6751 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6749 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6756 6757 6758 6759 6760 6761 6762 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6756 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 |