Instantiates a new Entities client with the optionally provided context.
Optional
ctx: anyInvocationContext The invocation context to use for this client. If not passed, the default invocation client detected from the AuthConfig is used.
The version to use for calls by this client. If not passed, the default version is used. Version can be overriden separately on each function as well.
Private
apiThe version to use for calls by this client. If not passed, the default version is used. Version can be overriden separately on each function as well.
Private
Optional
ctxInvocationContext The invocation context to use for this client. If not passed, the default invocation client detected from the AuthConfig is used.
Batch create will often return an array of created objects and an array of errors, if any were encountered. This is not guaranteed as the implementation depends on the entity being created.
Deletes the entities with the given ids in the options.
Batch update will often return an array of updated objects and an array of errors, if any were encountered. This is not guaranteed as the implementation depends on the entity being updated.
Creates and returns the entity from the object passed in the options.
Deletes and returns the passed entity object or id(s) in the options.
Fetches a single entity or a list of entities based on the options passed.
If id
is passed in the options, returns a single entity (object). If ids
is passed, returns a list of entities.
Take collection of entity references and fetches them from the API returning a map keyed by reference
Generated using TypeDoc
The client used to fetch, create, update, and delete entities. Example usage: