Class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1WeightedSchemaProperty
- Inherits:
-
Object
- Object
- Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1WeightedSchemaProperty
- 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
Specifies the schema property name.
Instance Attribute Summary collapse
-
#document_schema_name ⇒ String
The document schema name.
-
#property_names ⇒ Array<String>
The property definition names in the schema.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContentwarehouseV1WeightedSchemaProperty
constructor
A new instance of GoogleCloudContentwarehouseV1WeightedSchemaProperty.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContentwarehouseV1WeightedSchemaProperty
Returns a new instance of GoogleCloudContentwarehouseV1WeightedSchemaProperty.
4203 4204 4205 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 4203 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document_schema_name ⇒ String
The document schema name.
Corresponds to the JSON property documentSchemaName
4196 4197 4198 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 4196 def document_schema_name @document_schema_name end |
#property_names ⇒ Array<String>
The property definition names in the schema.
Corresponds to the JSON property propertyNames
4201 4202 4203 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 4201 def property_names @property_names end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4208 4209 4210 4211 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 4208 def update!(**args) @document_schema_name = args[:document_schema_name] if args.key?(:document_schema_name) @property_names = args[:property_names] if args.key?(:property_names) end |