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 )
} |
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)
oauth2.googleapis.com (Google Identity for iOS)
|
enforcementMode |
enum (EnforcementMode )
Required. The App Check enforcement mode for this service.
|
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/v1/EnforcementMode) } ``` |\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) - `oauth2.googleapis.com` (Google Identity for iOS) |\n| `enforcementMode` | `enum (`[EnforcementMode](/docs/reference/appcheck/rest/v1/EnforcementMode)`)` Required. The App Check enforcement mode for this service. |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|\n| ### [batchUpdate](/docs/reference/appcheck/rest/v1/projects.services/batchUpdate) | Atomically updates the specified [Service](/docs/reference/appcheck/rest/v1/projects.services#Service) configurations. |\n| ### [get](/docs/reference/appcheck/rest/v1/projects.services/get) | Gets the [Service](/docs/reference/appcheck/rest/v1/projects.services#Service) configuration for the specified service name. |\n| ### [list](/docs/reference/appcheck/rest/v1/projects.services/list) | Lists all [Service](/docs/reference/appcheck/rest/v1/projects.services#Service) configurations for the specified project. |\n| ### [patch](/docs/reference/appcheck/rest/v1/projects.services/patch) | Updates the specified [Service](/docs/reference/appcheck/rest/v1/projects.services#Service) configuration. |"]]