REST Resource: projects.services

Resource: Service

The enforcement configuration for a Firebase service supported by App Check.

JSON representation
{
  "name": string,
  "enforcementMode": enum (EnforcementMode),
  "updateTime": string,
  "etag": string
}
Fields
name

string

Required. The relative resource name of the service configuration object, in the format:

projects/{project_number}/services/{service_id}

Note that the service_id element must be a supported service ID. Currently, the following service IDs are supported:

  • firebasestorage.googleapis.com (Cloud Storage for Firebase)
  • firebasedatabase.googleapis.com (Firebase Realtime Database)
  • firestore.googleapis.com (Cloud Firestore)
  • identitytoolkit.googleapis.com (Firebase Authentication with Identity Platform)
enforcementMode

enum (EnforcementMode)

Required. The App Check enforcement mode for this service.

updateTime

string (Timestamp format)

Output only. Timestamp when this service configuration object was most recently updated.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

etag

string

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

This etag is strongly validated as defined by RFC 7232.

Methods

batchUpdate

Atomically updates the specified Service configurations.

get

Gets the Service configuration for the specified service name.

list

Lists all Service configurations for the specified project.

patch

Updates the specified Service configuration.