Resource: Ruleset
Ruleset is an immutable copy of Source with a globally unique identifier and a creation time.
| JSON representation | |
|---|---|
| { "name": string, "source": { object ( | |
| Fields | |
|---|---|
| name | 
 Output only. Name of the  | 
| source | 
 
 | 
| createTime | 
 Output only. Time the  A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:  | 
| metadata | 
 Output only. The metadata for this ruleset. | 
| attachment_point | 
 Intended resource to which this Ruleset should be released.  May be left blank
                    to signify the resource associated with the default release. Expected format:
                     | 
Source
Source is one or more File messages comprising a logical set of rules.
| JSON representation | |
|---|---|
| {
  "files": [
    {
      object ( | |
| Fields | |
|---|---|
| files[] | 
 
 | 
File
File containing source content.
| JSON representation | |
|---|---|
| { "content": string, "name": string, "fingerprint": string } | |
| Fields | |
|---|---|
| content | 
 Rules language statements. Use  | 
| name | 
 File name. | 
| fingerprint | 
 Fingerprint (e.g. github sha) associated with the  A base64-encoded string. | 
Metadata
Metadata for a Ruleset.
| JSON representation | |
|---|---|
| { "services": [ string ] } | |
| Fields | |
|---|---|
| services[] | 
 Services that this ruleset has declarations for (e.g., "cloud.firestore"). There may be 0+ of these. | 
| Methods | |
|---|---|
| 
 | Create a RulesetfromSource. | 
| 
 | Delete a Rulesetby resource name. | 
| 
 | Get a Rulesetby name including the fullSourcecontents. | 
| 
 | List Rulesetmetadata only and optionally filter the results byRulesetname. |