Method: projects.services.batchUpdate

Atomically updates the specifiedService configurations.

HTTP request

POST https://firebaseappcheck.googleapis.com/v1/{parent=projects/*}/services:batchUpdate

The URL usesgRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent project name shared by allService configurations being updated, in the format

projects/{project_number}

The parent collection in thename field of any resource being updated must match this field, or the entire batch fails.

Request body

The request body contains data with the following structure:

JSON representation
{"updateMask":string,"requests":[{object (UpdateServiceRequest)}]}
Fields
updateMask

string (FieldMask format)

Optional. A comma-separated list of names of fields in theServices to update. Example:displayName.

If theupdateMask field is set in both this request and any of theUpdateServiceRequest messages, they must match or the entire batch fails and no updates will be committed.

requests[]

object (UpdateServiceRequest)

Required. The request messages specifying theServices to update.

A maximum of 100 objects can be updated in a batch.

Response body

Response message for theservices.batchUpdate method.

If successful, the response body contains data with the following structure:

JSON representation
{"services":[{object (Service)}]}
Fields
services[]

object (Service)

Service objects after the updates have been applied.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/firebase

For more information, see theOAuth 2.0 Overview.

UpdateServiceRequest

Request message for theservices.patch method as well as an individual update message for theservices.batchUpdate method.

JSON representation
{"service":{object (Service)},"updateMask":string}
Fields
service

object (Service)

Required. TheService to update.

TheService'sname field is used to identify theService to be updated, in the format:

projects/{project_number}/services/{service_id}

Note that theservice_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)
  • oauth2.googleapis.com (Google Identity for iOS)
updateMask

string (FieldMask format)

Required. A comma-separated list of names of fields in theService to update. Example:enforcementMode.

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 2025-09-25 UTC.