class Google::Apis::DatastoreV1beta3::PathElement
A (kind, ID/name) pair used to construct a key path. If either name or ID is set, the element is complete. If neither is set, the element is incomplete.
Attributes
The auto-allocated ID of the entity. Never equal to zero. Values less than zero are discouraged and may not be supported in the future. Corresponds to the JSON property `id` @return [Fixnum]
The kind of the entity. A kind matching regex `__.*__` is reserved/read-only. A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be `“”` . Corresponds to the JSON property `kind` @return [String]
The name of the entity. A name matching regex `__.*__` is reserved/read-only. A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be `“”`. Corresponds to the JSON property `name` @return [String]
Public Class Methods
# File lib/google/apis/datastore_v1beta3/classes.rb, line 1186 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/datastore_v1beta3/classes.rb, line 1191 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) end