Method: projects.services.resourcePolicies.create

Creates the specified ResourcePolicy configuration.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The relative resource name of the parent Service in which the specified ResourcePolicy will be created, 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:

  • oauth2.googleapis.com (Google Identity for iOS)

Request body

The request body contains an instance of ResourcePolicy.

Response body

If successful, the response body contains a newly created instance of ResourcePolicy.

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.