Method: projects.services.resourcePolicies.batchUpdate
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
POST https://firebaseappcheck.googleapis.com/v1beta/{parent=projects/*/services/*}/resourcePolicies:batchUpdate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The parent service name, in the format
projects/{project_number}/services/{service_id}
The parent collection in the name 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:
Fields |
updateMask |
string (FieldMask format)
Optional. A comma-separated list of names of fields in the ResourcePolicy objects to update. Example: enforcementMode . If this field is present, the updateMask field in the UpdateResourcePolicyRequest messages must all match this field, or the entire batch fails and no updates will be committed.
|
requests[] |
object (UpdateResourcePolicyRequest )
Required. The request messages specifying the ResourcePolicy objects to update. A maximum of 100 objects can be updated in a batch.
|
Response body
Response message for the resourcePolicies.batchUpdate
method.
If successful, the response body contains data with the following structure:
JSON representation |
{
"resourcePolicies": [
{
object (ResourcePolicy )
}
]
} |
Fields |
resourcePolicies[] |
object (ResourcePolicy )
ResourcePolicy 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 the Authentication Overview.
UpdateResourcePolicyRequest
JSON representation |
{
"resourcePolicy": {
object (ResourcePolicy )
},
"updateMask": string
} |
Fields |
resourcePolicy |
object (ResourcePolicy )
Required. The ResourcePolicy to update. The ResourcePolicy 's name field is used to identify the ResourcePolicy to be updated, in the format:
projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}
Note that the service_id element must be a supported service ID. Currently, the following service IDs are supported:
oauth2.googleapis.com (Google Identity for iOS)
|
updateMask |
string (FieldMask format)
Required. A comma-separated list of names of fields in the ResourcePolicy to update. Example: enforcementMode .
|
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,["Atomically updates the specified [ResourcePolicy](/docs/reference/appcheck/rest/v1beta/projects.services.resourcePolicies#ResourcePolicy) configurations.\n\nHTTP request\n\n`POST https://firebaseappcheck.googleapis.com/v1beta/{parent=projects/*/services/*}/resourcePolicies:batchUpdate`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\nRequest body\n\nThe request body contains data with the following structure:\n\nResponse body Response message for the [resourcePolicies.batchUpdate](/docs/reference/appcheck/rest/v1beta/projects.services.resourcePolicies/batchUpdate#google.firebase.appcheck.v1beta.ConfigService.BatchUpdateResourcePolicies) method.\n\nIf successful, the response body contains data with the following structure:\n\nAuthorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `https://www.googleapis.com/auth/firebase`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).\n\nUpdateResourcePolicyRequest Request message for the [resourcePolicies.patch](/docs/reference/appcheck/rest/v1beta/projects.services.resourcePolicies/patch#google.firebase.appcheck.v1beta.ConfigService.UpdateResourcePolicy) method as well as an individual update message for the [resourcePolicies.batchUpdate](/docs/reference/appcheck/rest/v1beta/projects.services.resourcePolicies/batchUpdate#google.firebase.appcheck.v1beta.ConfigService.BatchUpdateResourcePolicies) method."]]