Firestore in Datastore mode API - Class Google::Cloud::Datastore::Properties (v2.7.1)

Reference documentation and code samples for the Firestore in Datastore mode API class Google::Cloud::Datastore::Properties.

Properties

Hash-like data structure for Datastore properties.

See Entity#properties

Inherits

  • Object

Methods

.from_grpc

def self.from_grpc(grpc_map)

#[]

def [](key)
Aliases

#[]=

def []=(key, value)
Aliases

#delete

def delete(key, &block)

#each

def each(&block)

#exist?

def exist?(key) -> Boolean
Returns
  • (Boolean)

#fetch

def fetch(key, &_block)

#initialize

def initialize(properties = {}) -> Properties
Returns

#read

def read(key)
Alias Of: #[]

#to_grpc

def to_grpc()

#to_h

def to_h()
Aliases

#to_hash

def to_hash()
Alias Of: #to_h

#write

def write(key, value)
Alias Of: #[]=