Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

Interface: EventContextOptions

test.EventContextOptions

interface   static

Fields of the event context that can be overridden/customized.

Properties

auth

nullable Object

This option is only available for Realtime Database functions. Authentication information for the user that triggered the function. This object containsuid andtoken properties for authenticated users. For more detail including token keys, see thesecurity rules reference.

Defaults to null.

authType

(string or undefined)

This option is only available for Realtime Database functions. The level of permissions for a user. Valid values are:

  • ADMIN Developer user or user authenticated via a service account.
  • USER Known user.
  • UNAUTHENTICATED Unauthenticated action

If omitted, defaults to 'UNAUTHENTICATED'.

eventId

(string or undefined)

The event’s unique identifier. If omitted, a random ID will be generated.

params

(non-null Object or undefined)

The values for the wildcards in the reference path that a database or Firestore function is listening to. If omitted, random values are generated.

timestamp

(string or undefined)

Timestamp for the event as anRFC 3339 string. If omitted, the current time is used.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2019-12-03 UTC.


[8]ページ先頭

©2009-2025 Movatter.jp