Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3NextSchema
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3NextSchema
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/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) ⇒ GoogleCloudDocumentaiV1beta3NextSchema
constructor
A new instance of GoogleCloudDocumentaiV1beta3NextSchema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3NextSchema
Returns a new instance of GoogleCloudDocumentaiV1beta3NextSchema.
8531 8532 8533 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8531 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
8508 8509 8510 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8508 def create_time @create_time end |
#display_name ⇒ String
Required. The user-defined name of the Schema.
Corresponds to the JSON property displayName
8513 8514 8515 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8513 def display_name @display_name end |
#labels ⇒ Hash<String,String>
Optional. The GCP labels for the Schema.
Corresponds to the JSON property labels
8518 8519 8520 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8518 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`
8524 8525 8526 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8524 def name @name end |
#update_time ⇒ String
Output only. The time when the Schema was last updated.
Corresponds to the JSON property updateTime
8529 8530 8531 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8529 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8536 8537 8538 8539 8540 8541 8542 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8536 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 |