Class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexConfigDelta
- Inherits:
-
Object
- Object
- Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexConfigDelta
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firestore_v1/classes.rb,
generated/google/apis/firestore_v1/representations.rb,
generated/google/apis/firestore_v1/representations.rb
Overview
Information about an index configuration change.
Instance Attribute Summary collapse
-
#change_type ⇒ String
Specifies how the index is changing.
-
#index ⇒ Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index
Cloud Firestore indexes enable simple and complex queries against documents in a database.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirestoreAdminV1IndexConfigDelta
constructor
A new instance of GoogleFirestoreAdminV1IndexConfigDelta.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleFirestoreAdminV1IndexConfigDelta
Returns a new instance of GoogleFirestoreAdminV1IndexConfigDelta.
1185 1186 1187 |
# File 'generated/google/apis/firestore_v1/classes.rb', line 1185 def initialize(**args) update!(**args) end |
Instance Attribute Details
#change_type ⇒ String
Specifies how the index is changing.
Corresponds to the JSON property changeType
1177 1178 1179 |
# File 'generated/google/apis/firestore_v1/classes.rb', line 1177 def change_type @change_type end |
#index ⇒ Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index
Cloud Firestore indexes enable simple and complex queries against
documents in a database.
Corresponds to the JSON property index
1183 1184 1185 |
# File 'generated/google/apis/firestore_v1/classes.rb', line 1183 def index @index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1190 1191 1192 1193 |
# File 'generated/google/apis/firestore_v1/classes.rb', line 1190 def update!(**args) @change_type = args[:change_type] if args.key?(:change_type) @index = args[:index] if args.key?(:index) end |