v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1392432.3 KB
projects

Create a Ruleset from Source. The Ruleset is given a unique generated name which is returned to the caller. Source containing syntactic or semantics errors will result in an error response indicating the first error encountered. For a detailed view of Source issues, use TestRuleset.

post/v1/{+name}/rulesets

Path parameters

namestring required

Required. Resource name for Project which owns this Ruleset. Format: projects/{project_id}

Request body

namestring

Output only. Name of the Ruleset. The ruleset_id is auto generated by the service. Format: projects/{project_id}/rulesets/{ruleset_id}

attachmentPointstring

Immutable. Intended resource to which this Ruleset should be released. May be left blank to signify the resource associated with the default release. Expected format: firestore.googleapis.com/projects//databases/

createTimestring google-datetime

Output only. Time the Ruleset was created.

Response

Successful response