OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/firebase": { | 8 "https://www.googleapis.com/auth/firebase": { |
9 "description": "View and administer all your Firebase data a
nd settings" | 9 "description": "View and administer all your Firebase data a
nd settings" |
10 }, | 10 }, |
(...skipping 13 matching lines...) Expand all Loading... |
24 "icons": { | 24 "icons": { |
25 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 25 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
26 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 26 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
27 }, | 27 }, |
28 "id": "firebaserules:v1", | 28 "id": "firebaserules:v1", |
29 "kind": "discovery#restDescription", | 29 "kind": "discovery#restDescription", |
30 "name": "firebaserules", | 30 "name": "firebaserules", |
31 "ownerDomain": "google.com", | 31 "ownerDomain": "google.com", |
32 "ownerName": "Google", | 32 "ownerName": "Google", |
33 "parameters": { | 33 "parameters": { |
34 "access_token": { | |
35 "description": "OAuth access token.", | |
36 "location": "query", | |
37 "type": "string" | |
38 }, | |
39 "prettyPrint": { | |
40 "default": "true", | |
41 "description": "Returns response with indentations and line breaks."
, | |
42 "location": "query", | |
43 "type": "boolean" | |
44 }, | |
45 "key": { | |
46 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | |
47 "location": "query", | |
48 "type": "string" | |
49 }, | |
50 "quotaUser": { | 34 "quotaUser": { |
51 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | 35 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
52 "location": "query", | 36 "location": "query", |
53 "type": "string" | 37 "type": "string" |
54 }, | 38 }, |
55 "pp": { | 39 "pp": { |
56 "default": "true", | 40 "default": "true", |
57 "description": "Pretty-print response.", | 41 "description": "Pretty-print response.", |
58 "location": "query", | 42 "location": "query", |
59 "type": "boolean" | 43 "type": "boolean" |
60 }, | 44 }, |
| 45 "bearer_token": { |
| 46 "description": "OAuth bearer token.", |
| 47 "location": "query", |
| 48 "type": "string" |
| 49 }, |
| 50 "oauth_token": { |
| 51 "description": "OAuth 2.0 token for the current user.", |
| 52 "location": "query", |
| 53 "type": "string" |
| 54 }, |
| 55 "upload_protocol": { |
| 56 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 57 "location": "query", |
| 58 "type": "string" |
| 59 }, |
| 60 "prettyPrint": { |
| 61 "default": "true", |
| 62 "description": "Returns response with indentations and line breaks."
, |
| 63 "location": "query", |
| 64 "type": "boolean" |
| 65 }, |
61 "fields": { | 66 "fields": { |
62 "description": "Selector specifying which fields to include in a par
tial response.", | 67 "description": "Selector specifying which fields to include in a par
tial response.", |
63 "location": "query", | 68 "location": "query", |
64 "type": "string" | 69 "type": "string" |
65 }, | 70 }, |
66 "alt": { | 71 "uploadType": { |
67 "default": "json", | 72 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
68 "description": "Data format for response.", | |
69 "enum": [ | |
70 "json", | |
71 "media", | |
72 "proto" | |
73 ], | |
74 "enumDescriptions": [ | |
75 "Responses with Content-Type of application/json", | |
76 "Media download with context-dependent Content-Type", | |
77 "Responses with Content-Type of application/x-protobuf" | |
78 ], | |
79 "location": "query", | 73 "location": "query", |
80 "type": "string" | 74 "type": "string" |
81 }, | 75 }, |
| 76 "callback": { |
| 77 "description": "JSONP", |
| 78 "location": "query", |
| 79 "type": "string" |
| 80 }, |
82 "$.xgafv": { | 81 "$.xgafv": { |
83 "description": "V1 error format.", | 82 "description": "V1 error format.", |
84 "enum": [ | 83 "enum": [ |
85 "1", | 84 "1", |
86 "2" | 85 "2" |
87 ], | 86 ], |
88 "enumDescriptions": [ | 87 "enumDescriptions": [ |
89 "v1 error format", | 88 "v1 error format", |
90 "v2 error format" | 89 "v2 error format" |
91 ], | 90 ], |
92 "location": "query", | 91 "location": "query", |
93 "type": "string" | 92 "type": "string" |
94 }, | 93 }, |
95 "callback": { | 94 "alt": { |
96 "description": "JSONP", | 95 "default": "json", |
| 96 "description": "Data format for response.", |
| 97 "enum": [ |
| 98 "json", |
| 99 "media", |
| 100 "proto" |
| 101 ], |
| 102 "enumDescriptions": [ |
| 103 "Responses with Content-Type of application/json", |
| 104 "Media download with context-dependent Content-Type", |
| 105 "Responses with Content-Type of application/x-protobuf" |
| 106 ], |
97 "location": "query", | 107 "location": "query", |
98 "type": "string" | 108 "type": "string" |
99 }, | 109 }, |
100 "oauth_token": { | 110 "access_token": { |
101 "description": "OAuth 2.0 token for the current user.", | 111 "description": "OAuth access token.", |
102 "location": "query", | 112 "location": "query", |
103 "type": "string" | 113 "type": "string" |
104 }, | 114 }, |
105 "uploadType": { | 115 "key": { |
106 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 116 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
107 "location": "query", | |
108 "type": "string" | |
109 }, | |
110 "bearer_token": { | |
111 "description": "OAuth bearer token.", | |
112 "location": "query", | |
113 "type": "string" | |
114 }, | |
115 "upload_protocol": { | |
116 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | |
117 "location": "query", | 117 "location": "query", |
118 "type": "string" | 118 "type": "string" |
119 } | 119 } |
120 }, | 120 }, |
121 "protocol": "rest", | 121 "protocol": "rest", |
122 "resources": { | 122 "resources": { |
123 "projects": { | 123 "projects": { |
124 "methods": { | 124 "methods": { |
125 "test": { | 125 "test": { |
126 "description": "Test `Source` for syntactic and semantic cor
rectness. Issues present in the\nrules, if any, will be returned to the caller w
ith a description, severity,\nand source location.\n\nThe test method will typic
ally be executed with a developer provided\n`Source`, but if regression testing
is desired, this method may be\nexecuted against a `Ruleset` resource name and t
he `Source` will be\nretrieved from the persisted `Ruleset`.\n\nThe following is
an example of `Source` that permits users to upload images\nto a bucket bearing
their user id and matching the correct metadata:\n\n_*Example*_\n\n // Users
are allowed to subscribe and unsubscribe to the blog.\n service firebase.sto
rage {\n match /users/{userId}/images/{imageName} {\n allow write:
if userId == request.userId\n && (imageName.endsWith('.png') || im
ageName.endsWith('.jpg'))\n && resource.mimeType.startsWith('image/
')\n }\n }", | 126 "description": "Test `Source` for syntactic and semantic cor
rectness. Issues present in the\nrules, if any, will be returned to the caller w
ith a description, severity,\nand source location.\n\nThe test method will typic
ally be executed with a developer provided\n`Source`, but if regression testing
is desired, this method may be\nexecuted against a `Ruleset` resource name and t
he `Source` will be\nretrieved from the persisted `Ruleset`.\n\nThe following is
an example of `Source` that permits users to upload images\nto a bucket bearing
their user id and matching the correct metadata:\n\n_*Example*_\n\n // Users
are allowed to subscribe and unsubscribe to the blog.\n service firebase.sto
rage {\n match /users/{userId}/images/{imageName} {\n allow write:
if userId == request.userId\n && (imageName.endsWith('.png') || im
ageName.endsWith('.jpg'))\n && resource.mimeType.startsWith('image/
')\n }\n }", |
(...skipping 21 matching lines...) Expand all Loading... |
148 "scopes": [ | 148 "scopes": [ |
149 "https://www.googleapis.com/auth/cloud-platform", | 149 "https://www.googleapis.com/auth/cloud-platform", |
150 "https://www.googleapis.com/auth/firebase", | 150 "https://www.googleapis.com/auth/firebase", |
151 "https://www.googleapis.com/auth/firebase.readonly" | 151 "https://www.googleapis.com/auth/firebase.readonly" |
152 ] | 152 ] |
153 } | 153 } |
154 }, | 154 }, |
155 "resources": { | 155 "resources": { |
156 "rulesets": { | 156 "rulesets": { |
157 "methods": { | 157 "methods": { |
158 "create": { | 158 "delete": { |
159 "description": "Create a `Ruleset` from `Source`.\n\
nThe `Ruleset` is given a unique generated name which is returned to the\ncaller
. `Source` containing syntactic or semantics errors will result in an\nerror res
ponse indicating the first error encountered. For a detailed view\nof `Source` i
ssues, use TestRuleset.", | 159 "description": "Delete a `Ruleset` by resource name.
\n\nIf the `Ruleset` is referenced by a `Release` the operation will fail.", |
160 "httpMethod": "POST", | 160 "httpMethod": "DELETE", |
161 "id": "firebaserules.projects.rulesets.create", | 161 "id": "firebaserules.projects.rulesets.delete", |
162 "parameterOrder": [ | 162 "parameterOrder": [ |
163 "name" | 163 "name" |
164 ], | 164 ], |
165 "parameters": { | 165 "parameters": { |
166 "name": { | 166 "name": { |
167 "description": "Resource name for Project wh
ich owns this `Ruleset`.\n\nFormat: `projects/{project_id}`", | 167 "description": "Resource name for the rulese
t to delete.\n\nFormat: `projects/{project_id}/rulesets/{ruleset_id}`", |
168 "location": "path", | 168 "location": "path", |
169 "pattern": "^projects/[^/]+$", | 169 "pattern": "^projects/[^/]+/rulesets/[^/]+$"
, |
170 "required": true, | 170 "required": true, |
171 "type": "string" | 171 "type": "string" |
172 } | 172 } |
173 }, | 173 }, |
174 "path": "v1/{+name}/rulesets", | 174 "path": "v1/{+name}", |
175 "request": { | |
176 "$ref": "Ruleset" | |
177 }, | |
178 "response": { | 175 "response": { |
179 "$ref": "Ruleset" | 176 "$ref": "Empty" |
180 }, | 177 }, |
181 "scopes": [ | 178 "scopes": [ |
182 "https://www.googleapis.com/auth/cloud-platform"
, | 179 "https://www.googleapis.com/auth/cloud-platform"
, |
183 "https://www.googleapis.com/auth/firebase" | 180 "https://www.googleapis.com/auth/firebase" |
184 ] | 181 ] |
185 }, | 182 }, |
186 "get": { | 183 "get": { |
187 "description": "Get a `Ruleset` by name including th
e full `Source` contents.", | 184 "description": "Get a `Ruleset` by name including th
e full `Source` contents.", |
188 "httpMethod": "GET", | 185 "httpMethod": "GET", |
189 "id": "firebaserules.projects.rulesets.get", | 186 "id": "firebaserules.projects.rulesets.get", |
(...skipping 20 matching lines...) Expand all Loading... |
210 ] | 207 ] |
211 }, | 208 }, |
212 "list": { | 209 "list": { |
213 "description": "List `Ruleset` metadata only and opt
ionally filter the results by Ruleset\nname.\n\nThe full `Source` contents of a
`Ruleset` may be retrieved with\nGetRuleset.", | 210 "description": "List `Ruleset` metadata only and opt
ionally filter the results by Ruleset\nname.\n\nThe full `Source` contents of a
`Ruleset` may be retrieved with\nGetRuleset.", |
214 "httpMethod": "GET", | 211 "httpMethod": "GET", |
215 "id": "firebaserules.projects.rulesets.list", | 212 "id": "firebaserules.projects.rulesets.list", |
216 "parameterOrder": [ | 213 "parameterOrder": [ |
217 "name" | 214 "name" |
218 ], | 215 ], |
219 "parameters": { | 216 "parameters": { |
220 "pageSize": { | |
221 "description": "Page size to load. Maximum o
f 100. Defaults to 10.\nNote: `page_size` is just a hint and the service may cho
ose to load less\nthan `page_size` due to the size of the output. To traverse al
l of the\nreleases, caller should iterate until the `page_token` is empty.", | |
222 "format": "int32", | |
223 "location": "query", | |
224 "type": "integer" | |
225 }, | |
226 "name": { | 217 "name": { |
227 "description": "Resource name for the projec
t.\n\nFormat: `projects/{project_id}`", | 218 "description": "Resource name for the projec
t.\n\nFormat: `projects/{project_id}`", |
228 "location": "path", | 219 "location": "path", |
229 "pattern": "^projects/[^/]+$", | 220 "pattern": "^projects/[^/]+$", |
230 "required": true, | 221 "required": true, |
231 "type": "string" | 222 "type": "string" |
232 }, | 223 }, |
233 "pageToken": { | 224 "pageToken": { |
234 "description": "Next page token for loading
the next batch of `Ruleset` instances.", | 225 "description": "Next page token for loading
the next batch of `Ruleset` instances.", |
235 "location": "query", | 226 "location": "query", |
236 "type": "string" | 227 "type": "string" |
| 228 }, |
| 229 "pageSize": { |
| 230 "description": "Page size to load. Maximum o
f 100. Defaults to 10.\nNote: `page_size` is just a hint and the service may cho
ose to load less\nthan `page_size` due to the size of the output. To traverse al
l of the\nreleases, caller should iterate until the `page_token` is empty.", |
| 231 "format": "int32", |
| 232 "location": "query", |
| 233 "type": "integer" |
237 } | 234 } |
238 }, | 235 }, |
239 "path": "v1/{+name}/rulesets", | 236 "path": "v1/{+name}/rulesets", |
240 "response": { | 237 "response": { |
241 "$ref": "ListRulesetsResponse" | 238 "$ref": "ListRulesetsResponse" |
242 }, | 239 }, |
243 "scopes": [ | 240 "scopes": [ |
244 "https://www.googleapis.com/auth/cloud-platform"
, | 241 "https://www.googleapis.com/auth/cloud-platform"
, |
245 "https://www.googleapis.com/auth/firebase", | 242 "https://www.googleapis.com/auth/firebase", |
246 "https://www.googleapis.com/auth/firebase.readon
ly" | 243 "https://www.googleapis.com/auth/firebase.readon
ly" |
247 ] | 244 ] |
248 }, | 245 }, |
249 "delete": { | 246 "create": { |
250 "description": "Delete a `Ruleset` by resource name.
\n\nIf the `Ruleset` is referenced by a `Release` the operation will fail.", | 247 "description": "Create a `Ruleset` from `Source`.\n\
nThe `Ruleset` is given a unique generated name which is returned to the\ncaller
. `Source` containing syntactic or semantics errors will result in an\nerror res
ponse indicating the first error encountered. For a detailed view\nof `Source` i
ssues, use TestRuleset.", |
251 "httpMethod": "DELETE", | 248 "httpMethod": "POST", |
252 "id": "firebaserules.projects.rulesets.delete", | 249 "id": "firebaserules.projects.rulesets.create", |
253 "parameterOrder": [ | 250 "parameterOrder": [ |
254 "name" | 251 "name" |
255 ], | 252 ], |
256 "parameters": { | 253 "parameters": { |
257 "name": { | 254 "name": { |
258 "description": "Resource name for the rulese
t to delete.\n\nFormat: `projects/{project_id}/rulesets/{ruleset_id}`", | 255 "description": "Resource name for Project wh
ich owns this `Ruleset`.\n\nFormat: `projects/{project_id}`", |
259 "location": "path", | 256 "location": "path", |
260 "pattern": "^projects/[^/]+/rulesets/[^/]+$"
, | 257 "pattern": "^projects/[^/]+$", |
261 "required": true, | 258 "required": true, |
262 "type": "string" | 259 "type": "string" |
263 } | 260 } |
264 }, | 261 }, |
265 "path": "v1/{+name}", | 262 "path": "v1/{+name}/rulesets", |
| 263 "request": { |
| 264 "$ref": "Ruleset" |
| 265 }, |
266 "response": { | 266 "response": { |
267 "$ref": "Empty" | 267 "$ref": "Ruleset" |
268 }, | 268 }, |
269 "scopes": [ | 269 "scopes": [ |
270 "https://www.googleapis.com/auth/cloud-platform"
, | 270 "https://www.googleapis.com/auth/cloud-platform"
, |
271 "https://www.googleapis.com/auth/firebase" | 271 "https://www.googleapis.com/auth/firebase" |
272 ] | 272 ] |
273 } | 273 } |
274 } | 274 } |
275 }, | 275 }, |
276 "releases": { | 276 "releases": { |
277 "methods": { | 277 "methods": { |
278 "update": { | 278 "get": { |
279 "description": "Update a `Release`.\n\nOnly updates
to the `ruleset_name` field will be honored. `Release` rename\nis not supported.
To create a `Release` use the CreateRelease method\ninstead.", | 279 "description": "Get a `Release` by name.", |
280 "httpMethod": "PUT", | 280 "httpMethod": "GET", |
281 "id": "firebaserules.projects.releases.update", | 281 "id": "firebaserules.projects.releases.get", |
282 "parameterOrder": [ | 282 "parameterOrder": [ |
283 "name" | 283 "name" |
284 ], | 284 ], |
285 "parameters": { | 285 "parameters": { |
286 "name": { | 286 "name": { |
287 "description": "Resource name for the `Relea
se`.\n\n`Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2`\
nwhich affords developers a great deal of flexibility in mapping the name\nto th
e style that best fits their existing development practices. For\nexample, a nam
e could refer to an environment, an app, a version, or some\ncombination of thre
e.\n\nIn the table below, for the project name `projects/foo`, the following\nre
lative release paths show how flat and structured names might be chosen\nto matc
h a desired development / deployment strategy.\n\nUse Case | Flat Name
| Structured Name\n-------------|---------------------|----------------\nEn
vironments | releases/qa | releases/qa\nApps | releases/app1_qa
| releases/app1/qa\nVersions | releases/app1_v2_qa | releases/app1/v2/qa\
n\nThe delimiter between the release name path elements can be almost anything\n
and it should work equally well with the release name list filter, but in\nmany
ways the structured paths provide a clearer picture of the\nrelationship between
`Release` instances.\n\nFormat: `projects/{project_id}/releases/{release_id}`", | 287 "description": "Resource name of the `Releas
e`.\n\n\nFormat: `projects/{project_id}/releases/{release_id}`", |
288 "location": "path", | 288 "location": "path", |
289 "pattern": "^projects/[^/]+/releases/.+$", | 289 "pattern": "^projects/[^/]+/releases/.+$", |
290 "required": true, | 290 "required": true, |
291 "type": "string" | 291 "type": "string" |
292 } | 292 } |
293 }, | 293 }, |
294 "path": "v1/{+name}", | 294 "path": "v1/{+name}", |
295 "request": { | |
296 "$ref": "Release" | |
297 }, | |
298 "response": { | 295 "response": { |
299 "$ref": "Release" | 296 "$ref": "Release" |
300 }, | 297 }, |
301 "scopes": [ | 298 "scopes": [ |
302 "https://www.googleapis.com/auth/cloud-platform"
, | 299 "https://www.googleapis.com/auth/cloud-platform"
, |
303 "https://www.googleapis.com/auth/firebase" | 300 "https://www.googleapis.com/auth/firebase", |
| 301 "https://www.googleapis.com/auth/firebase.readon
ly" |
304 ] | 302 ] |
305 }, | 303 }, |
306 "create": { | 304 "list": { |
307 "description": "Create a `Release`.\n\nRelease names
should reflect the developer's deployment practices. For\nexample, the release
name may include the environment name, application\nname, application version, o
r any other name meaningful to the developer.\nOnce a `Release` refers to a `Rul
eset`, the rules can be enforced by\nFirebase Rules-enabled services.\n\nMore th
an one `Release` may be 'live' concurrently. Consider the following\nthree `Rele
ase` names for `projects/foo` and the `Ruleset` to which they\nrefer.\n\nRelease
Name | Ruleset Name\n--------------------------------|------
-------\nprojects/foo/releases/prod | projects/foo/rulesets/uuid123\nprojec
ts/foo/releases/prod/beta | projects/foo/rulesets/uuid123\nprojects/foo/releases
/prod/v23 | projects/foo/rulesets/uuid456\n\nThe table reflects the `Ruleset` r
ollout in progress. The `prod` and\n`prod/beta` releases refer to the same `Rule
set`. However, `prod/v23`\nrefers to a new `Ruleset`. The `Ruleset` reference fo
r a `Release` may be\nupdated using the UpdateRelease method, and the custom `Re
lease` name\nmay be referenced by specifying the `X-Firebase-Rules-Release-Name`
header.", | 305 "description": "List the `Release` values for a proj
ect. This list may optionally be\nfiltered by `Release` name or `Ruleset` id or
both.", |
308 "httpMethod": "POST", | 306 "httpMethod": "GET", |
309 "id": "firebaserules.projects.releases.create", | 307 "id": "firebaserules.projects.releases.list", |
310 "parameterOrder": [ | 308 "parameterOrder": [ |
311 "name" | 309 "name" |
312 ], | 310 ], |
313 "parameters": { | 311 "parameters": { |
314 "name": { | 312 "name": { |
315 "description": "Resource name for the projec
t which owns this `Release`.\n\nFormat: `projects/{project_id}`", | 313 "description": "Resource name for the projec
t.\n\nFormat: `projects/{project_id}`", |
316 "location": "path", | 314 "location": "path", |
317 "pattern": "^projects/[^/]+$", | 315 "pattern": "^projects/[^/]+$", |
318 "required": true, | 316 "required": true, |
319 "type": "string" | 317 "type": "string" |
| 318 }, |
| 319 "pageToken": { |
| 320 "description": "Next page token for the next
batch of `Release` instances.", |
| 321 "location": "query", |
| 322 "type": "string" |
| 323 }, |
| 324 "pageSize": { |
| 325 "description": "Page size to load. Maximum o
f 100. Defaults to 10.\nNote: `page_size` is just a hint and the service may cho
ose to load less\nthan `page_size` due to the size of the output. To traverse al
l of the\nreleases, caller should iterate until the `page_token` is empty.", |
| 326 "format": "int32", |
| 327 "location": "query", |
| 328 "type": "integer" |
| 329 }, |
| 330 "filter": { |
| 331 "description": "`Release` filter. The list m
ethod supports filters with restrictions on the\n`Release` `name` and also on th
e `Ruleset` `ruleset_name`.\n\nExample 1) A filter of 'name=prod*' might return
`Release`s with names\nwithin 'projects/foo' prefixed with 'prod':\n\nName
| Ruleset Name\n------------------------------|-------------
\nprojects/foo/releases/prod | projects/foo/rulesets/uuid1234\nprojects/foo/r
eleases/prod/v1 | projects/foo/rulesets/uuid1234\nprojects/foo/releases/prod/v2
| projects/foo/rulesets/uuid8888\n\nExample 2) A filter of `name=prod* ruleset_n
ame=uuid1234` would return only\n`Release` instances for 'projects/foo' with nam
es prefixed with 'prod'\nreferring to the same `Ruleset` name of 'uuid1234':\n\n
Name | Ruleset Name\n------------------------------|---
----------\nprojects/foo/releases/prod | projects/foo/rulesets/1234\nprojects
/foo/releases/prod/v1 | projects/foo/rulesets/1234\n\nIn the examples, the filte
r parameters refer to the search filters for\nrelease and ruleset names are rela
tive to the project releases and rulesets\ncollections. Fully qualified prefixed
may also be used. e.g.\n`name=projects/foo/releases/prod* ruleset_name=projects
/foo/rulesets/uuid1`", |
| 332 "location": "query", |
| 333 "type": "string" |
320 } | 334 } |
321 }, | 335 }, |
322 "path": "v1/{+name}/releases", | 336 "path": "v1/{+name}/releases", |
323 "request": { | |
324 "$ref": "Release" | |
325 }, | |
326 "response": { | 337 "response": { |
327 "$ref": "Release" | 338 "$ref": "ListReleasesResponse" |
328 }, | 339 }, |
329 "scopes": [ | 340 "scopes": [ |
330 "https://www.googleapis.com/auth/cloud-platform"
, | 341 "https://www.googleapis.com/auth/cloud-platform"
, |
331 "https://www.googleapis.com/auth/firebase" | 342 "https://www.googleapis.com/auth/firebase", |
| 343 "https://www.googleapis.com/auth/firebase.readon
ly" |
332 ] | 344 ] |
333 }, | 345 }, |
334 "get": { | 346 "update": { |
335 "description": "Get a `Release` by name.", | 347 "description": "Update a `Release`.\n\nOnly updates
to the `ruleset_name` field will be honored. `Release` rename\nis not supported.
To create a `Release` use the CreateRelease method\ninstead.", |
336 "httpMethod": "GET", | 348 "httpMethod": "PUT", |
337 "id": "firebaserules.projects.releases.get", | 349 "id": "firebaserules.projects.releases.update", |
338 "parameterOrder": [ | 350 "parameterOrder": [ |
339 "name" | 351 "name" |
340 ], | 352 ], |
341 "parameters": { | 353 "parameters": { |
342 "name": { | 354 "name": { |
343 "description": "Resource name of the `Releas
e`.\n\n\nFormat: `projects/{project_id}/releases/{release_id}`", | 355 "description": "Resource name for the `Relea
se`.\n\n`Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2`\
nwhich affords developers a great deal of flexibility in mapping the name\nto th
e style that best fits their existing development practices. For\nexample, a nam
e could refer to an environment, an app, a version, or some\ncombination of thre
e.\n\nIn the table below, for the project name `projects/foo`, the following\nre
lative release paths show how flat and structured names might be chosen\nto matc
h a desired development / deployment strategy.\n\nUse Case | Flat Name
| Structured Name\n-------------|---------------------|----------------\nEn
vironments | releases/qa | releases/qa\nApps | releases/app1_qa
| releases/app1/qa\nVersions | releases/app1_v2_qa | releases/app1/v2/qa\
n\nThe delimiter between the release name path elements can be almost anything\n
and it should work equally well with the release name list filter, but in\nmany
ways the structured paths provide a clearer picture of the\nrelationship between
`Release` instances.\n\nFormat: `projects/{project_id}/releases/{release_id}`", |
344 "location": "path", | 356 "location": "path", |
345 "pattern": "^projects/[^/]+/releases/.+$", | 357 "pattern": "^projects/[^/]+/releases/.+$", |
346 "required": true, | 358 "required": true, |
347 "type": "string" | 359 "type": "string" |
348 } | 360 } |
349 }, | 361 }, |
350 "path": "v1/{+name}", | 362 "path": "v1/{+name}", |
| 363 "request": { |
| 364 "$ref": "Release" |
| 365 }, |
351 "response": { | 366 "response": { |
352 "$ref": "Release" | 367 "$ref": "Release" |
353 }, | 368 }, |
354 "scopes": [ | 369 "scopes": [ |
355 "https://www.googleapis.com/auth/cloud-platform"
, | 370 "https://www.googleapis.com/auth/cloud-platform"
, |
356 "https://www.googleapis.com/auth/firebase", | 371 "https://www.googleapis.com/auth/firebase" |
357 "https://www.googleapis.com/auth/firebase.readon
ly" | |
358 ] | 372 ] |
359 }, | 373 }, |
360 "list": { | 374 "create": { |
361 "description": "List the `Release` values for a proj
ect. This list may optionally be\nfiltered by `Release` name or `Ruleset` id or
both.", | 375 "description": "Create a `Release`.\n\nRelease names
should reflect the developer's deployment practices. For\nexample, the release
name may include the environment name, application\nname, application version, o
r any other name meaningful to the developer.\nOnce a `Release` refers to a `Rul
eset`, the rules can be enforced by\nFirebase Rules-enabled services.\n\nMore th
an one `Release` may be 'live' concurrently. Consider the following\nthree `Rele
ase` names for `projects/foo` and the `Ruleset` to which they\nrefer.\n\nRelease
Name | Ruleset Name\n--------------------------------|------
-------\nprojects/foo/releases/prod | projects/foo/rulesets/uuid123\nprojec
ts/foo/releases/prod/beta | projects/foo/rulesets/uuid123\nprojects/foo/releases
/prod/v23 | projects/foo/rulesets/uuid456\n\nThe table reflects the `Ruleset` r
ollout in progress. The `prod` and\n`prod/beta` releases refer to the same `Rule
set`. However, `prod/v23`\nrefers to a new `Ruleset`. The `Ruleset` reference fo
r a `Release` may be\nupdated using the UpdateRelease method, and the custom `Re
lease` name\nmay be referenced by specifying the `X-Firebase-Rules-Release-Name`
header.", |
362 "httpMethod": "GET", | 376 "httpMethod": "POST", |
363 "id": "firebaserules.projects.releases.list", | 377 "id": "firebaserules.projects.releases.create", |
364 "parameterOrder": [ | 378 "parameterOrder": [ |
365 "name" | 379 "name" |
366 ], | 380 ], |
367 "parameters": { | 381 "parameters": { |
368 "pageSize": { | |
369 "description": "Page size to load. Maximum o
f 100. Defaults to 10.\nNote: `page_size` is just a hint and the service may cho
ose to load less\nthan `page_size` due to the size of the output. To traverse al
l of the\nreleases, caller should iterate until the `page_token` is empty.", | |
370 "format": "int32", | |
371 "location": "query", | |
372 "type": "integer" | |
373 }, | |
374 "filter": { | |
375 "description": "`Release` filter. The list m
ethod supports filters with restrictions on the\n`Release` `name` and also on th
e `Ruleset` `ruleset_name`.\n\nExample 1) A filter of 'name=prod*' might return
`Release`s with names\nwithin 'projects/foo' prefixed with 'prod':\n\nName
| Ruleset Name\n------------------------------|-------------
\nprojects/foo/releases/prod | projects/foo/rulesets/uuid1234\nprojects/foo/r
eleases/prod/v1 | projects/foo/rulesets/uuid1234\nprojects/foo/releases/prod/v2
| projects/foo/rulesets/uuid8888\n\nExample 2) A filter of `name=prod* ruleset_n
ame=uuid1234` would return only\n`Release` instances for 'projects/foo' with nam
es prefixed with 'prod'\nreferring to the same `Ruleset` name of 'uuid1234':\n\n
Name | Ruleset Name\n------------------------------|---
----------\nprojects/foo/releases/prod | projects/foo/rulesets/1234\nprojects
/foo/releases/prod/v1 | projects/foo/rulesets/1234\n\nIn the examples, the filte
r parameters refer to the search filters for\nrelease and ruleset names are rela
tive to the project releases and rulesets\ncollections. Fully qualified prefixed
may also be used. e.g.\n`name=projects/foo/releases/prod* ruleset_name=projects
/foo/rulesets/uuid1`", | |
376 "location": "query", | |
377 "type": "string" | |
378 }, | |
379 "name": { | 382 "name": { |
380 "description": "Resource name for the projec
t.\n\nFormat: `projects/{project_id}`", | 383 "description": "Resource name for the projec
t which owns this `Release`.\n\nFormat: `projects/{project_id}`", |
381 "location": "path", | 384 "location": "path", |
382 "pattern": "^projects/[^/]+$", | 385 "pattern": "^projects/[^/]+$", |
383 "required": true, | 386 "required": true, |
384 "type": "string" | 387 "type": "string" |
385 }, | |
386 "pageToken": { | |
387 "description": "Next page token for the next
batch of `Release` instances.", | |
388 "location": "query", | |
389 "type": "string" | |
390 } | 388 } |
391 }, | 389 }, |
392 "path": "v1/{+name}/releases", | 390 "path": "v1/{+name}/releases", |
| 391 "request": { |
| 392 "$ref": "Release" |
| 393 }, |
393 "response": { | 394 "response": { |
394 "$ref": "ListReleasesResponse" | 395 "$ref": "Release" |
395 }, | 396 }, |
396 "scopes": [ | 397 "scopes": [ |
397 "https://www.googleapis.com/auth/cloud-platform"
, | 398 "https://www.googleapis.com/auth/cloud-platform"
, |
398 "https://www.googleapis.com/auth/firebase", | 399 "https://www.googleapis.com/auth/firebase" |
399 "https://www.googleapis.com/auth/firebase.readon
ly" | |
400 ] | 400 ] |
401 }, | 401 }, |
402 "delete": { | 402 "delete": { |
403 "description": "Delete a `Release` by resource name.
", | 403 "description": "Delete a `Release` by resource name.
", |
404 "httpMethod": "DELETE", | 404 "httpMethod": "DELETE", |
405 "id": "firebaserules.projects.releases.delete", | 405 "id": "firebaserules.projects.releases.delete", |
406 "parameterOrder": [ | 406 "parameterOrder": [ |
407 "name" | 407 "name" |
408 ], | 408 ], |
409 "parameters": { | 409 "parameters": { |
(...skipping 12 matching lines...) Expand all Loading... |
422 "scopes": [ | 422 "scopes": [ |
423 "https://www.googleapis.com/auth/cloud-platform"
, | 423 "https://www.googleapis.com/auth/cloud-platform"
, |
424 "https://www.googleapis.com/auth/firebase" | 424 "https://www.googleapis.com/auth/firebase" |
425 ] | 425 ] |
426 } | 426 } |
427 } | 427 } |
428 } | 428 } |
429 } | 429 } |
430 } | 430 } |
431 }, | 431 }, |
432 "revision": "20161205", | 432 "revision": "20170127", |
433 "rootUrl": "https://firebaserules.googleapis.com/", | 433 "rootUrl": "https://firebaserules.googleapis.com/", |
434 "schemas": { | 434 "schemas": { |
435 "Release": { | 435 "ListRulesetsResponse": { |
436 "description": "`Release` is a named reference to a `Ruleset`. Once
a `Release` refers to a\n`Ruleset`, rules-enabled services will be able to enfor
ce the `Ruleset`.", | 436 "description": "The response for FirebaseRulesService.ListRulesets", |
437 "id": "Release", | 437 "id": "ListRulesetsResponse", |
438 "properties": { | 438 "properties": { |
439 "updateTime": { | 439 "rulesets": { |
440 "description": "Time the release was updated.\n@OutputOnly", | 440 "description": "List of `Ruleset` instances.", |
441 "format": "google-datetime", | 441 "items": { |
442 "type": "string" | 442 "$ref": "Ruleset" |
| 443 }, |
| 444 "type": "array" |
443 }, | 445 }, |
444 "createTime": { | 446 "nextPageToken": { |
445 "description": "Time the release was created.\n@OutputOnly", | 447 "description": "The pagination token to retrieve the next pa
ge of results. If the value is\nempty, no further results remain.", |
446 "format": "google-datetime", | |
447 "type": "string" | |
448 }, | |
449 "name": { | |
450 "description": "Resource name for the `Release`.\n\n`Release
` names may be structured `app1/prod/v2` or flat `app1_prod_v2`\nwhich affords d
evelopers a great deal of flexibility in mapping the name\nto the style that bes
t fits their existing development practices. For\nexample, a name could refer to
an environment, an app, a version, or some\ncombination of three.\n\nIn the tab
le below, for the project name `projects/foo`, the following\nrelative release p
aths show how flat and structured names might be chosen\nto match a desired deve
lopment / deployment strategy.\n\nUse Case | Flat Name | Structure
d Name\n-------------|---------------------|----------------\nEnvironments | rel
eases/qa | releases/qa\nApps | releases/app1_qa | releases/ap
p1/qa\nVersions | releases/app1_v2_qa | releases/app1/v2/qa\n\nThe delimiter
between the release name path elements can be almost anything\nand it should wo
rk equally well with the release name list filter, but in\nmany ways the structu
red paths provide a clearer picture of the\nrelationship between `Release` insta
nces.\n\nFormat: `projects/{project_id}/releases/{release_id}`", | |
451 "type": "string" | |
452 }, | |
453 "rulesetName": { | |
454 "description": "Name of the `Ruleset` referred to by this `R
elease`. The `Ruleset` must\nexist the `Release` to be created.", | |
455 "type": "string" | 448 "type": "string" |
456 } | 449 } |
457 }, | 450 }, |
458 "type": "object" | 451 "type": "object" |
459 }, | 452 }, |
460 "Source": { | 453 "Source": { |
461 "description": "`Source` is one or more `File` messages comprising a
logical set of rules.", | 454 "description": "`Source` is one or more `File` messages comprising a
logical set of rules.", |
462 "id": "Source", | 455 "id": "Source", |
463 "properties": { | 456 "properties": { |
464 "files": { | 457 "files": { |
465 "description": "`File` set constituting the `Source` bundle.
", | 458 "description": "`File` set constituting the `Source` bundle.
", |
466 "items": { | 459 "items": { |
467 "$ref": "File" | 460 "$ref": "File" |
468 }, | 461 }, |
469 "type": "array" | 462 "type": "array" |
470 } | 463 } |
471 }, | 464 }, |
472 "type": "object" | 465 "type": "object" |
473 }, | 466 }, |
474 "SourcePosition": { | 467 "SourcePosition": { |
475 "description": "Position in the `Source` content including its line,
column number, and an\nindex of the `File` in the `Source` message. Used for de
bug purposes.", | 468 "description": "Position in the `Source` content including its line,
column number, and an\nindex of the `File` in the `Source` message. Used for de
bug purposes.", |
476 "id": "SourcePosition", | 469 "id": "SourcePosition", |
477 "properties": { | 470 "properties": { |
478 "fileName": { | |
479 "description": "Name of the `File`.", | |
480 "type": "string" | |
481 }, | |
482 "column": { | 471 "column": { |
483 "description": "First column on the source line associated w
ith the source fragment.", | 472 "description": "First column on the source line associated w
ith the source fragment.", |
484 "format": "int32", | 473 "format": "int32", |
485 "type": "integer" | 474 "type": "integer" |
486 }, | 475 }, |
| 476 "fileName": { |
| 477 "description": "Name of the `File`.", |
| 478 "type": "string" |
| 479 }, |
487 "line": { | 480 "line": { |
488 "description": "Line number of the source fragment. 1-based.
", | 481 "description": "Line number of the source fragment. 1-based.
", |
489 "format": "int32", | 482 "format": "int32", |
490 "type": "integer" | 483 "type": "integer" |
491 } | 484 } |
492 }, | 485 }, |
493 "type": "object" | 486 "type": "object" |
494 }, | 487 }, |
495 "TestRulesetResponse": { | 488 "Issue": { |
496 "description": "The response for FirebaseRulesService.TestRuleset.", | 489 "description": "Issues include warnings, errors, and deprecation not
ices.", |
497 "id": "TestRulesetResponse", | 490 "id": "Issue", |
498 "properties": { | 491 "properties": { |
499 "issues": { | 492 "description": { |
500 "description": "Syntactic and semantic `Source` issues of va
rying severity. Issues of\n`ERROR` severity will prevent tests from executing.", | 493 "description": "Short error description.", |
501 "items": { | 494 "type": "string" |
502 "$ref": "Issue" | 495 }, |
503 }, | 496 "sourcePosition": { |
504 "type": "array" | 497 "$ref": "SourcePosition", |
| 498 "description": "Position of the issue in the `Source`." |
| 499 }, |
| 500 "severity": { |
| 501 "description": "The severity of the issue.", |
| 502 "enum": [ |
| 503 "SEVERITY_UNSPECIFIED", |
| 504 "DEPRECATION", |
| 505 "WARNING", |
| 506 "ERROR" |
| 507 ], |
| 508 "enumDescriptions": [ |
| 509 "An unspecified severity.", |
| 510 "Deprecation issue for statements and method that may no
longer be\nsupported or maintained.", |
| 511 "Warnings such as: unused variables.", |
| 512 "Errors such as: unmatched curly braces or variable rede
finition." |
| 513 ], |
| 514 "type": "string" |
505 } | 515 } |
506 }, | 516 }, |
507 "type": "object" | 517 "type": "object" |
| 518 }, |
| 519 "TestRulesetRequest": { |
| 520 "description": "The request for FirebaseRulesService.TestRuleset.", |
| 521 "id": "TestRulesetRequest", |
| 522 "properties": { |
| 523 "source": { |
| 524 "$ref": "Source", |
| 525 "description": "`Source` to be checked for correctness." |
| 526 } |
| 527 }, |
| 528 "type": "object" |
508 }, | 529 }, |
509 "Ruleset": { | 530 "Ruleset": { |
510 "description": "`Ruleset` is an immutable copy of `Source` with a gl
obally unique identifier\nand a creation time.", | 531 "description": "`Ruleset` is an immutable copy of `Source` with a gl
obally unique identifier\nand a creation time.", |
511 "id": "Ruleset", | 532 "id": "Ruleset", |
512 "properties": { | 533 "properties": { |
513 "source": { | |
514 "$ref": "Source", | |
515 "description": "`Source` for the `Ruleset`." | |
516 }, | |
517 "createTime": { | 534 "createTime": { |
518 "description": "Time the `Ruleset` was created.\n@OutputOnly
", | 535 "description": "Time the `Ruleset` was created.\n@OutputOnly
", |
519 "format": "google-datetime", | 536 "format": "google-datetime", |
520 "type": "string" | 537 "type": "string" |
521 }, | 538 }, |
522 "name": { | 539 "name": { |
523 "description": "Name of the `Ruleset`. The ruleset_id is aut
o generated by the service.\nFormat: `projects/{project_id}/rulesets/{ruleset_id
}`\n@OutputOnly", | 540 "description": "Name of the `Ruleset`. The ruleset_id is aut
o generated by the service.\nFormat: `projects/{project_id}/rulesets/{ruleset_id
}`\n@OutputOnly", |
524 "type": "string" | 541 "type": "string" |
| 542 }, |
| 543 "source": { |
| 544 "$ref": "Source", |
| 545 "description": "`Source` for the `Ruleset`." |
525 } | 546 } |
526 }, | 547 }, |
527 "type": "object" | 548 "type": "object" |
528 }, | |
529 "ListReleasesResponse": { | |
530 "description": "The response for FirebaseRulesService.ListReleases."
, | |
531 "id": "ListReleasesResponse", | |
532 "properties": { | |
533 "nextPageToken": { | |
534 "description": "The pagination token to retrieve the next pa
ge of results. If the value is\nempty, no further results remain.", | |
535 "type": "string" | |
536 }, | |
537 "releases": { | |
538 "description": "List of `Release` instances.", | |
539 "items": { | |
540 "$ref": "Release" | |
541 }, | |
542 "type": "array" | |
543 } | |
544 }, | |
545 "type": "object" | |
546 }, | |
547 "ListRulesetsResponse": { | |
548 "description": "The response for FirebaseRulesService.ListRulesets", | |
549 "id": "ListRulesetsResponse", | |
550 "properties": { | |
551 "rulesets": { | |
552 "description": "List of `Ruleset` instances.", | |
553 "items": { | |
554 "$ref": "Ruleset" | |
555 }, | |
556 "type": "array" | |
557 }, | |
558 "nextPageToken": { | |
559 "description": "The pagination token to retrieve the next pa
ge of results. If the value is\nempty, no further results remain.", | |
560 "type": "string" | |
561 } | |
562 }, | |
563 "type": "object" | |
564 }, | 549 }, |
565 "Empty": { | 550 "Empty": { |
566 "description": "A generic empty message that you can re-use to avoid
defining duplicated\nempty messages in your APIs. A typical example is to use i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", | 551 "description": "A generic empty message that you can re-use to avoid
defining duplicated\nempty messages in your APIs. A typical example is to use i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
567 "id": "Empty", | 552 "id": "Empty", |
568 "properties": {}, | 553 "properties": {}, |
569 "type": "object" | 554 "type": "object" |
570 }, | 555 }, |
571 "File": { | 556 "File": { |
572 "description": "`File` containing source content.", | 557 "description": "`File` containing source content.", |
573 "id": "File", | 558 "id": "File", |
574 "properties": { | 559 "properties": { |
| 560 "name": { |
| 561 "description": "File name.", |
| 562 "type": "string" |
| 563 }, |
575 "content": { | 564 "content": { |
576 "description": "Textual Content.", | 565 "description": "Textual Content.", |
577 "type": "string" | 566 "type": "string" |
578 }, | 567 }, |
579 "name": { | |
580 "description": "File name.", | |
581 "type": "string" | |
582 }, | |
583 "fingerprint": { | 568 "fingerprint": { |
584 "description": "Fingerprint (e.g. github sha) associated wit
h the `File`.", | 569 "description": "Fingerprint (e.g. github sha) associated wit
h the `File`.", |
585 "format": "byte", | 570 "format": "byte", |
586 "type": "string" | 571 "type": "string" |
587 } | 572 } |
588 }, | 573 }, |
589 "type": "object" | 574 "type": "object" |
590 }, | 575 }, |
591 "TestRulesetRequest": { | 576 "ListReleasesResponse": { |
592 "description": "The request for FirebaseRulesService.TestRuleset.", | 577 "description": "The response for FirebaseRulesService.ListReleases."
, |
593 "id": "TestRulesetRequest", | 578 "id": "ListReleasesResponse", |
594 "properties": { | 579 "properties": { |
595 "source": { | 580 "releases": { |
596 "$ref": "Source", | 581 "description": "List of `Release` instances.", |
597 "description": "`Source` to be checked for correctness." | 582 "items": { |
| 583 "$ref": "Release" |
| 584 }, |
| 585 "type": "array" |
| 586 }, |
| 587 "nextPageToken": { |
| 588 "description": "The pagination token to retrieve the next pa
ge of results. If the value is\nempty, no further results remain.", |
| 589 "type": "string" |
598 } | 590 } |
599 }, | 591 }, |
600 "type": "object" | 592 "type": "object" |
601 }, | 593 }, |
602 "Issue": { | 594 "Release": { |
603 "description": "Issues include warnings, errors, and deprecation not
ices.", | 595 "description": "`Release` is a named reference to a `Ruleset`. Once
a `Release` refers to a\n`Ruleset`, rules-enabled services will be able to enfor
ce the `Ruleset`.", |
604 "id": "Issue", | 596 "id": "Release", |
605 "properties": { | 597 "properties": { |
606 "description": { | 598 "createTime": { |
607 "description": "Short error description.", | 599 "description": "Time the release was created.\n@OutputOnly", |
| 600 "format": "google-datetime", |
608 "type": "string" | 601 "type": "string" |
609 }, | 602 }, |
610 "severity": { | 603 "updateTime": { |
611 "description": "The severity of the issue.", | 604 "description": "Time the release was updated.\n@OutputOnly", |
612 "enum": [ | 605 "format": "google-datetime", |
613 "SEVERITY_UNSPECIFIED", | |
614 "DEPRECATION", | |
615 "WARNING", | |
616 "ERROR" | |
617 ], | |
618 "enumDescriptions": [ | |
619 "An unspecified severity.", | |
620 "Deprecation issue for statements and method that may no
longer be\nsupported or maintained.", | |
621 "Warnings such as: unused variables.", | |
622 "Errors such as: unmatched curly braces or variable rede
finition." | |
623 ], | |
624 "type": "string" | 606 "type": "string" |
625 }, | 607 }, |
626 "sourcePosition": { | 608 "name": { |
627 "$ref": "SourcePosition", | 609 "description": "Resource name for the `Release`.\n\n`Release
` names may be structured `app1/prod/v2` or flat `app1_prod_v2`\nwhich affords d
evelopers a great deal of flexibility in mapping the name\nto the style that bes
t fits their existing development practices. For\nexample, a name could refer to
an environment, an app, a version, or some\ncombination of three.\n\nIn the tab
le below, for the project name `projects/foo`, the following\nrelative release p
aths show how flat and structured names might be chosen\nto match a desired deve
lopment / deployment strategy.\n\nUse Case | Flat Name | Structure
d Name\n-------------|---------------------|----------------\nEnvironments | rel
eases/qa | releases/qa\nApps | releases/app1_qa | releases/ap
p1/qa\nVersions | releases/app1_v2_qa | releases/app1/v2/qa\n\nThe delimiter
between the release name path elements can be almost anything\nand it should wo
rk equally well with the release name list filter, but in\nmany ways the structu
red paths provide a clearer picture of the\nrelationship between `Release` insta
nces.\n\nFormat: `projects/{project_id}/releases/{release_id}`", |
628 "description": "Position of the issue in the `Source`." | 610 "type": "string" |
| 611 }, |
| 612 "rulesetName": { |
| 613 "description": "Name of the `Ruleset` referred to by this `R
elease`. The `Ruleset` must\nexist the `Release` to be created.", |
| 614 "type": "string" |
629 } | 615 } |
630 }, | 616 }, |
631 "type": "object" | 617 "type": "object" |
| 618 }, |
| 619 "TestRulesetResponse": { |
| 620 "description": "The response for FirebaseRulesService.TestRuleset.", |
| 621 "id": "TestRulesetResponse", |
| 622 "properties": { |
| 623 "issues": { |
| 624 "description": "Syntactic and semantic `Source` issues of va
rying severity. Issues of\n`ERROR` severity will prevent tests from executing.", |
| 625 "items": { |
| 626 "$ref": "Issue" |
| 627 }, |
| 628 "type": "array" |
| 629 } |
| 630 }, |
| 631 "type": "object" |
632 } | 632 } |
633 }, | 633 }, |
634 "servicePath": "", | 634 "servicePath": "", |
635 "title": "Firebase Rules API", | 635 "title": "Firebase Rules API", |
636 "version": "v1" | 636 "version": "v1" |
637 } | 637 } |
OLD | NEW |