REST Resource: projects.services
Stay organized with collections
Save and categorize content based on your preferences.
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)
oauth2.googleapis.com (Google Identity for iOS)
|
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 |
|
Atomically updates the specified Service configurations. |
|
Gets the Service configuration for the specified service name. |
|
Lists all Service configurations for the specified project. |
|
Updates the specified Service configuration. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-26 UTC.
[null,null,["Last updated 2024-09-26 UTC."],[],[],null,["# REST Resource: projects.services\n\nResource: Service\n-----------------\n\nThe enforcement configuration for a Firebase service supported by App Check.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"enforcementMode\": enum (/docs/reference/appcheck/rest/v1beta/EnforcementMode), \"updateTime\": string, \"etag\": string } ``` |\n\n| Fields ||\n|-------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `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) - `oauth2.googleapis.com` (Google Identity for iOS) |\n| `enforcementMode` | `enum (`[EnforcementMode](/docs/reference/appcheck/rest/v1beta/EnforcementMode)`)` Required. The App Check enforcement mode for this service. |\n| `updateTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#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\"`. |\n| `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. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|\n| ### [batchUpdate](/docs/reference/appcheck/rest/v1beta/projects.services/batchUpdate) | Atomically updates the specified [Service](/docs/reference/appcheck/rest/v1beta/projects.services#Service) configurations. |\n| ### [get](/docs/reference/appcheck/rest/v1beta/projects.services/get) | Gets the [Service](/docs/reference/appcheck/rest/v1beta/projects.services#Service) configuration for the specified service name. |\n| ### [list](/docs/reference/appcheck/rest/v1beta/projects.services/list) | Lists all [Service](/docs/reference/appcheck/rest/v1beta/projects.services#Service) configurations for the specified project. |\n| ### [patch](/docs/reference/appcheck/rest/v1beta/projects.services/patch) | Updates the specified [Service](/docs/reference/appcheck/rest/v1beta/projects.services#Service) configuration. |"]]