Field

google.firestore.admin.v1. Field

Represents a Field.

Constructor

new Field(propertiesopt)

Constructs a new Field.

Parameters:
Name Type Attributes Description
properties google.firestore.admin.v1.IField <optional>

Properties to set

Implements:
  • IField

Classes

IndexConfig

Members

indexConfig :google.firestore.admin.v1.Field.IIndexConfig|null|undefined

Field indexConfig.

name :string

Field name.

Methods

(static) fromObject(object) → {google.firestore.admin.v1.Field}

Creates a Field message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a Field message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.firestore.admin.v1.Field

Field

options $protobuf.IConversionOptions <optional>

Conversion options

toJSON() → {Object.<string, *>}

Converts this Field to JSON.