Class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1UpdateDocumentSchemaRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1UpdateDocumentSchemaRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/contentwarehouse_v1/classes.rb,
lib/google/apis/contentwarehouse_v1/representations.rb,
lib/google/apis/contentwarehouse_v1/representations.rb
Overview
Request message for DocumentSchemaService.UpdateDocumentSchema.
Instance Attribute Summary collapse
-
#document_schema ⇒ Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1DocumentSchema
A document schema used to define document structure.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContentwarehouseV1UpdateDocumentSchemaRequest
constructor
A new instance of GoogleCloudContentwarehouseV1UpdateDocumentSchemaRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContentwarehouseV1UpdateDocumentSchemaRequest
Returns a new instance of GoogleCloudContentwarehouseV1UpdateDocumentSchemaRequest.
4027 4028 4029 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 4027 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document_schema ⇒ Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1DocumentSchema
A document schema used to define document structure.
Corresponds to the JSON property documentSchema
4025 4026 4027 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 4025 def document_schema @document_schema end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4032 4033 4034 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 4032 def update!(**args) @document_schema = args[:document_schema] if args.key?(:document_schema) end |