Class: Google::Apis::CloudsearchV1::Schema
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::Schema
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb
Overview
The schema definition for a data source.
Instance Attribute Summary collapse
-
#object_definitions ⇒ Array<Google::Apis::CloudsearchV1::ObjectDefinition>
The list of top-level objects for the data source.
-
#operation_ids ⇒ Array<String>
IDs of the Long Running Operations (LROs) currently running for this schema.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Schema
constructor
A new instance of Schema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Schema
Returns a new instance of Schema
3917 3918 3919 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3917 def initialize(**args) update!(**args) end |
Instance Attribute Details
#object_definitions ⇒ Array<Google::Apis::CloudsearchV1::ObjectDefinition>
The list of top-level objects for the data source.
The maximum number of elements is 10.
Corresponds to the JSON property objectDefinitions
3908 3909 3910 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3908 def object_definitions @object_definitions end |
#operation_ids ⇒ Array<String>
IDs of the Long Running Operations (LROs) currently running for this
schema. After modifying the schema, wait for operations to complete
before indexing additional content.
Corresponds to the JSON property operationIds
3915 3916 3917 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3915 def operation_ids @operation_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3922 3923 3924 3925 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3922 def update!(**args) @object_definitions = args[:object_definitions] if args.key?(:object_definitions) @operation_ids = args[:operation_ids] if args.key?(:operation_ids) end |