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".
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/<project number>/databases/<uuid>
Source
Source is one or more File messages comprising a logical set of rules.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-23 UTC."],[],[],null,["# REST Resource: projects.rulesets\n\n- [Resource: Ruleset](#Ruleset)\n - [JSON representation](#Ruleset.SCHEMA_REPRESENTATION)\n- [Source](#Source)\n - [JSON representation](#Source.SCHEMA_REPRESENTATION)\n- [File](#File)\n - [JSON representation](#File.SCHEMA_REPRESENTATION)\n- [Metadata](#Metadata)\n - [JSON representation](#Metadata.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Ruleset\n-----------------\n\n`Ruleset` is an immutable copy of `Source` with a globally unique identifier and a creation time.\n\n| JSON representation ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"name\": string, \"source\": { object (/docs/reference/rules/rest/v1/projects.rulesets#Source) }, \"createTime\": string, \"metadata\": { object (/docs/reference/rules/rest/v1/projects.rulesets#Metadata) }, \"attachment_point\": string } ``` |\n\n| Fields ||\n|--------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Name of the `Ruleset`. The ruleset_id is auto generated by the service. Format: `projects/{project_id}/rulesets/{ruleset_id}` |\n| `source` | `object (`[Source](/docs/reference/rules/rest/v1/projects.rulesets#Source)`)` `Source` for the `Ruleset`. |\n| `createTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` Output only. Time the `Ruleset` was created. 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| `metadata` | `object (`[Metadata](/docs/reference/rules/rest/v1/projects.rulesets#Metadata)`)` Output only. The metadata for this ruleset. |\n| `attachment_point` | `string` 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/\u003cproject number\u003e/databases/\u003cuuid\u003e ` ` ` |\n\nSource\n------\n\n`Source` is one or more `File` messages comprising a logical set of rules.\n\n| JSON representation ||\n|--------------------------------------------------------------------------------------------|---|\n| ``` { \"files\": [ { object (/docs/reference/rules/rest/v1/projects.rulesets#File) } ] } ``` |\n\n| Fields ||\n|-----------|------------------------------------------------------------------------------------------------------------------------|\n| `files[]` | `object (`[File](/docs/reference/rules/rest/v1/projects.rulesets#File)`)` `File` set constituting the `Source` bundle. |\n\nFile\n----\n\n`File` containing source content.\n\n| JSON representation ||\n|----------------------------------------------------------------------|---|\n| ``` { \"content\": string, \"name\": string, \"fingerprint\": string } ``` |\n\n| Fields ||\n|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `content` | `string` Rules language statements. Use `\\n` for line breaks. |\n| `name` | `string` File name. |\n| `fingerprint` | `string (`[bytes](https://developers.google.com/discovery/v1/type-format)` format)` Fingerprint (e.g. github sha) associated with the `File`. A base64-encoded string. |\n\nMetadata\n--------\n\nMetadata for a Ruleset.\n\n| JSON representation ||\n|------------------------------------|---|\n| ``` { \"services\": [ string ] } ``` |\n\n| Fields ||\n|--------------|---------------------------------------------------------------------------------------------------------------|\n| `services[]` | `string` Services that this ruleset has declarations for (e.g., \"cloud.firestore\"). There may be 0+ of these. |\n\n| Methods ------- ||\n|----------------------------------------------------------------------|-----------------------------------------------------------------------------------|\n| ### [create](/docs/reference/rules/rest/v1/projects.rulesets/create) | Create a `Ruleset` from `Source`. |\n| ### [delete](/docs/reference/rules/rest/v1/projects.rulesets/delete) | Delete a `Ruleset` by resource name. |\n| ### [get](/docs/reference/rules/rest/v1/projects.rulesets/get) | Get a `Ruleset` by name including the full `Source` contents. |\n| ### [list](/docs/reference/rules/rest/v1/projects.rulesets/list) | List `Ruleset` metadata only and optionally filter the results by `Ruleset` name. |"]]