Class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1IndexedProperty
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1::GoogleDatastoreAdminV1IndexedProperty
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datastore_v1/classes.rb,
generated/google/apis/datastore_v1/representations.rb,
generated/google/apis/datastore_v1/representations.rb
Overview
Next tag: 3
Instance Attribute Summary collapse
-
#direction ⇒ String
The indexed property's direction.
-
#name ⇒ String
The property name to index.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDatastoreAdminV1IndexedProperty
constructor
A new instance of GoogleDatastoreAdminV1IndexedProperty.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleDatastoreAdminV1IndexedProperty
Returns a new instance of GoogleDatastoreAdminV1IndexedProperty
794 795 796 |
# File 'generated/google/apis/datastore_v1/classes.rb', line 794 def initialize(**args) update!(**args) end |
Instance Attribute Details
#direction ⇒ String
The indexed property's direction. Must not be DIRECTION_UNSPECIFIED.
Required.
Corresponds to the JSON property direction
786 787 788 |
# File 'generated/google/apis/datastore_v1/classes.rb', line 786 def direction @direction end |
#name ⇒ String
The property name to index.
Required.
Corresponds to the JSON property name
792 793 794 |
# File 'generated/google/apis/datastore_v1/classes.rb', line 792 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
799 800 801 802 |
# File 'generated/google/apis/datastore_v1/classes.rb', line 799 def update!(**args) @direction = args[:direction] if args.key?(:direction) @name = args[:name] if args.key?(:name) end |