on develop help sign in
Regenerating gogol-firebase-rules from latest service definition
commiteaec028e2d43c7eab732b58a2a1d21b3114a4b2c authorBrendan Hay <brendan.g.hay@gmail.com> dateTue 25 Oct 2016, 11:37 (10 years ago) parent9c4c3eb
13 files changed+84−36
gen/model/firebaserules/v1/firebaserules-api.json+36−15 gogol-firebase-rules/gen/Network/Google/FirebaseRules.hs+3−1 gogol-firebase-rules/gen/Network/Google/FirebaseRules/Types.hs+10 gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Releases/Create.hs+3−2 gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Releases/Delete.hs+3−2 gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Releases/Get.hs+4−2 gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Releases/List.hs+4−2 gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Releases/Update.hs+3−2 gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Rulesets/Create.hs+3−2 gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Rulesets/Delete.hs+3−2 gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Rulesets/Get.hs+4−2 gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Rulesets/List.hs+4−2 gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Test.hs+4−2
gen/model/firebaserules/v1/firebaserules-api.json+36−15
@@ -5,6 +5,12 @@
55 "scopes": {
66 "https://www.googleapis.com/auth/cloud-platform": {
77 "description": "View and manage your data across Google Cloud Platform services"
8+ },
9+ "https://www.googleapis.com/auth/firebase": {
10+ "description": "View and administer all your Firebase data and settings"
11+ },
12+ "https://www.googleapis.com/auth/firebase.readonly": {
13+ "description": "View all your Firebase data and settings"
814 }
915 }
1016 }
@@ -42,7 +48,8 @@
4248 },
4349 "path": "v1/{+name}/rulesets",
4450 "scopes": [
45− "https://www.googleapis.com/auth/cloud-platform"
51+ "https://www.googleapis.com/auth/cloud-platform",
52+ "https://www.googleapis.com/auth/firebase"
4653 ]
4754 },
4855 "get": {
@@ -67,7 +74,9 @@
6774 },
6875 "path": "v1/{+name}",
6976 "scopes": [
70− "https://www.googleapis.com/auth/cloud-platform"
77+ "https://www.googleapis.com/auth/cloud-platform",
78+ "https://www.googleapis.com/auth/firebase",
79+ "https://www.googleapis.com/auth/firebase.readonly"
7180 ]
7281 },
7382 "list": {
@@ -103,7 +112,9 @@
103112 },
104113 "path": "v1/{+name}/rulesets",
105114 "scopes": [
106− "https://www.googleapis.com/auth/cloud-platform"
115+ "https://www.googleapis.com/auth/cloud-platform",
116+ "https://www.googleapis.com/auth/firebase",
117+ "https://www.googleapis.com/auth/firebase.readonly"
107118 ]
108119 },
109120 "delete": {
@@ -128,7 +139,8 @@
128139 },
129140 "path": "v1/{+name}",
130141 "scopes": [
131− "https://www.googleapis.com/auth/cloud-platform"
142+ "https://www.googleapis.com/auth/cloud-platform",
143+ "https://www.googleapis.com/auth/firebase"
132144 ]
133145 }
134146 }
@@ -151,7 +163,7 @@
151163 "httpMethod": "PUT",
152164 "parameters": {
153165 "name": {
154− "description": "Resource name for the `Release`.\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 the style that best 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 table below, for the project name `projects/foo`, the following\nrelative release paths show how flat and structured names might be chosen\nto match a desired development / deployment strategy.\n\nUse Case | Flat Name | Structured Name\n-------------|---------------------|----------------\nEnvironments | 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\nand 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}`\n",
166+ "description": "Resource name for the `Release`.\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 the style that best 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 table below, for the project name `projects/foo`, the following\nrelative release paths show how flat and structured names might be chosen\nto match a desired development / deployment strategy.\n\nUse Case | Flat Name | Structured Name\n-------------|---------------------|----------------\nEnvironments | 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\nand 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}`",
155167 "required": true,
156168 "pattern": "^projects/[^/]*/releases/.*$",
157169 "location": "path",
@@ -160,7 +172,8 @@
160172 },
161173 "path": "v1/{+name}",
162174 "scopes": [
163− "https://www.googleapis.com/auth/cloud-platform"
175+ "https://www.googleapis.com/auth/cloud-platform",
176+ "https://www.googleapis.com/auth/firebase"
164177 ]
165178 },
166179 "create": {
@@ -188,7 +201,8 @@
188201 },
189202 "path": "v1/{+name}/releases",
190203 "scopes": [
191− "https://www.googleapis.com/auth/cloud-platform"
204+ "https://www.googleapis.com/auth/cloud-platform",
205+ "https://www.googleapis.com/auth/firebase"
192206 ]
193207 },
194208 "get": {
@@ -199,7 +213,7 @@
199213 "parameterOrder": [
200214 "name"
201215 ],
202− "description": "Get a `Release` by name.\n",
216+ "description": "Get a `Release` by name.",
203217 "flatPath": "v1/projects/{projectsId}/releases/{releasesId}",
204218 "httpMethod": "GET",
205219 "parameters": {
@@ -213,7 +227,9 @@
213227 },
214228 "path": "v1/{+name}",
215229 "scopes": [
216− "https://www.googleapis.com/auth/cloud-platform"
230+ "https://www.googleapis.com/auth/cloud-platform",
231+ "https://www.googleapis.com/auth/firebase",
232+ "https://www.googleapis.com/auth/firebase.readonly"
217233 ]
218234 },
219235 "list": {
@@ -254,7 +270,9 @@
254270 },
255271 "path": "v1/{+name}/releases",
256272 "scopes": [
257− "https://www.googleapis.com/auth/cloud-platform"
273+ "https://www.googleapis.com/auth/cloud-platform",
274+ "https://www.googleapis.com/auth/firebase",
275+ "https://www.googleapis.com/auth/firebase.readonly"
258276 ]
259277 },
260278 "delete": {
@@ -279,7 +297,8 @@
279297 },
280298 "path": "v1/{+name}",
281299 "scopes": [
282− "https://www.googleapis.com/auth/cloud-platform"
300+ "https://www.googleapis.com/auth/cloud-platform",
301+ "https://www.googleapis.com/auth/firebase"
283302 ]
284303 }
285304 }
@@ -311,7 +330,9 @@
311330 },
312331 "path": "v1/{+name}:test",
313332 "scopes": [
314− "https://www.googleapis.com/auth/cloud-platform"
333+ "https://www.googleapis.com/auth/cloud-platform",
334+ "https://www.googleapis.com/auth/firebase",
335+ "https://www.googleapis.com/auth/firebase.readonly"
315336 ]
316337 }
317338 }
@@ -333,7 +354,7 @@
333354 "format": "google-datetime"
334355 },
335356 "name": {
336− "description": "Resource name for the `Release`.\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 the style that best 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 table below, for the project name `projects/foo`, the following\nrelative release paths show how flat and structured names might be chosen\nto match a desired development / deployment strategy.\n\nUse Case | Flat Name | Structured Name\n-------------|---------------------|----------------\nEnvironments | 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\nand 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}`\n",
357+ "description": "Resource name for the `Release`.\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 the style that best 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 table below, for the project name `projects/foo`, the following\nrelative release paths show how flat and structured names might be chosen\nto match a desired development / deployment strategy.\n\nUse Case | Flat Name | Structured Name\n-------------|---------------------|----------------\nEnvironments | 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\nand 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}`",
337358 "type": "string"
338359 },
339360 "rulesetName": {
@@ -517,7 +538,7 @@
517538 "id": "Issue"
518539 }
519540 },
520− "revision": "20160513",
541+ "revision": "20160930",
521542 "basePath": "",
522543 "icons": {
523544 "x32": "http://www.google.com/images/icons/product/search-32.gif",
@@ -616,7 +637,7 @@
616637 "location": "query"
617638 }
618639 },
619− "documentationLink": "https://firebase.google.com/docs/storage/security/start",
640+ "documentationLink": "https://firebase.google.com/docs/storage/security",
620641 "ownerDomain": "google.com",
621642 "batchPath": "batch",
622643 "servicePath": "",
gogol-firebase-rules/gen/Network/Google/FirebaseRules.hs+3−1
@@ -16,14 +16,16 @@
1616-- Creates and manages rules that determine when a Firebase Rules-enabled
1717-- service should permit a request.
1818--
19−-- /See:/ <https://firebase.google.com/docs/storage/security/start Firebase Rules API Reference>
19+-- /See:/ <https://firebase.google.com/docs/storage/security Firebase Rules API Reference>
2020module Network.Google.FirebaseRules
2121 (
2222 -- * Service Configuration
2323 firebaseRulesService
2424
2525 -- * OAuth Scopes
26+ , firebaseScope
2627 , cloudPlatformScope
28+ , firebaseReadOnlyScope
2729
2830 -- * API Declaration
2931 , FirebaseRulesAPI
gogol-firebase-rules/gen/Network/Google/FirebaseRules/Types.hs+10
@@ -20,7 +20,9 @@ module Network.Google.FirebaseRules.Types
2020 firebaseRulesService
2121
2222 -- * OAuth Scopes
23+ , firebaseScope
2324 , cloudPlatformScope
25+ , firebaseReadOnlyScope
2426
2527 -- * SourcePosition
2628 , SourcePosition
@@ -106,6 +108,14 @@ firebaseRulesService
106108 = defaultService (ServiceId "firebaserules:v1")
107109 "firebaserules.googleapis.com"
108110
111+-- | View and administer all your Firebase data and settings
112+firebaseScope :: Proxy '["https://www.googleapis.com/auth/firebase"]
113+firebaseScope = Proxy;
114+
109115-- | View and manage your data across Google Cloud Platform services
110116cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
111117cloudPlatformScope = Proxy;
118+
119+-- | View all your Firebase data and settings
120+firebaseReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/firebase.readonly"]
121+firebaseReadOnlyScope = Proxy;
gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Releases/Create.hs+3−2
@@ -39,7 +39,7 @@
3939-- custom \`Release\` name may be referenced by specifying the
4040-- \`X-Firebase-Rules-Release-Name\` header.
4141--
42−-- /See:/ <https://firebase.google.com/docs/storage/security/start Firebase Rules API Reference> for @firebaserules.projects.releases.create@.
42+-- /See:/ <https://firebase.google.com/docs/storage/security Firebase Rules API Reference> for @firebaserules.projects.releases.create@.
4343module Network.Google.Resource.FirebaseRules.Projects.Releases.Create
4444 (
4545 -- * REST Resource
@@ -201,7 +201,8 @@ prcrCallback
201201instance GoogleRequest ProjectsReleasesCreate where
202202 type Rs ProjectsReleasesCreate = Release
203203 type Scopes ProjectsReleasesCreate =
204− '["https://www.googleapis.com/auth/cloud-platform"]
204+ '["https://www.googleapis.com/auth/cloud-platform",
205+ "https://www.googleapis.com/auth/firebase"]
205206 requestClient ProjectsReleasesCreate'{..}
206207 = go _prcrName _prcrXgafv _prcrUploadProtocol
207208 (Just _prcrPp)
gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Releases/Delete.hs+3−2
@@ -22,7 +22,7 @@
2222--
2323-- Delete a \`Release\` by resource name.
2424--
25−-- /See:/ <https://firebase.google.com/docs/storage/security/start Firebase Rules API Reference> for @firebaserules.projects.releases.delete@.
25+-- /See:/ <https://firebase.google.com/docs/storage/security Firebase Rules API Reference> for @firebaserules.projects.releases.delete@.
2626module Network.Google.Resource.FirebaseRules.Projects.Releases.Delete
2727 (
2828 -- * REST Resource
@@ -153,7 +153,8 @@ prdCallback
153153instance GoogleRequest ProjectsReleasesDelete where
154154 type Rs ProjectsReleasesDelete = Empty
155155 type Scopes ProjectsReleasesDelete =
156− '["https://www.googleapis.com/auth/cloud-platform"]
156+ '["https://www.googleapis.com/auth/cloud-platform",
157+ "https://www.googleapis.com/auth/firebase"]
157158 requestClient ProjectsReleasesDelete'{..}
158159 = go _prdName _prdXgafv _prdUploadProtocol
159160 (Just _prdPp)
gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Releases/Get.hs+4−2
@@ -22,7 +22,7 @@
2222--
2323-- Get a \`Release\` by name.
2424--
25−-- /See:/ <https://firebase.google.com/docs/storage/security/start Firebase Rules API Reference> for @firebaserules.projects.releases.get@.
25+-- /See:/ <https://firebase.google.com/docs/storage/security Firebase Rules API Reference> for @firebaserules.projects.releases.get@.
2626module Network.Google.Resource.FirebaseRules.Projects.Releases.Get
2727 (
2828 -- * REST Resource
@@ -150,7 +150,9 @@ pCallback
150150instance GoogleRequest ProjectsReleasesGet where
151151 type Rs ProjectsReleasesGet = Release
152152 type Scopes ProjectsReleasesGet =
153− '["https://www.googleapis.com/auth/cloud-platform"]
153+ '["https://www.googleapis.com/auth/cloud-platform",
154+ "https://www.googleapis.com/auth/firebase",
155+ "https://www.googleapis.com/auth/firebase.readonly"]
154156 requestClient ProjectsReleasesGet'{..}
155157 = go _pName _pXgafv _pUploadProtocol (Just _pPp)
156158 _pAccessToken
gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Releases/List.hs+4−2
@@ -23,7 +23,7 @@
2323-- List the \`Release\` values for a project. This list may optionally be
2424-- filtered by \`Release\` name or \`Ruleset\` id or both.
2525--
26−-- /See:/ <https://firebase.google.com/docs/storage/security/start Firebase Rules API Reference> for @firebaserules.projects.releases.list@.
26+-- /See:/ <https://firebase.google.com/docs/storage/security Firebase Rules API Reference> for @firebaserules.projects.releases.list@.
2727module Network.Google.Resource.FirebaseRules.Projects.Releases.List
2828 (
2929 -- * REST Resource
@@ -213,7 +213,9 @@ prlrCallback
213213instance GoogleRequest ProjectsReleasesList where
214214 type Rs ProjectsReleasesList = ListReleasesResponse
215215 type Scopes ProjectsReleasesList =
216− '["https://www.googleapis.com/auth/cloud-platform"]
216+ '["https://www.googleapis.com/auth/cloud-platform",
217+ "https://www.googleapis.com/auth/firebase",
218+ "https://www.googleapis.com/auth/firebase.readonly"]
217219 requestClient ProjectsReleasesList'{..}
218220 = go _prlrName _prlrXgafv _prlrUploadProtocol
219221 (Just _prlrPp)
gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Releases/Update.hs+3−2
@@ -24,7 +24,7 @@
2424-- honored. \`Release\` rename is not supported. To create a \`Release\`
2525-- use the CreateRelease method instead.
2626--
27−-- /See:/ <https://firebase.google.com/docs/storage/security/start Firebase Rules API Reference> for @firebaserules.projects.releases.update@.
27+-- /See:/ <https://firebase.google.com/docs/storage/security Firebase Rules API Reference> for @firebaserules.projects.releases.update@.
2828module Network.Google.Resource.FirebaseRules.Projects.Releases.Update
2929 (
3030 -- * REST Resource
@@ -184,7 +184,8 @@ pruCallback
184184instance GoogleRequest ProjectsReleasesUpdate where
185185 type Rs ProjectsReleasesUpdate = Release
186186 type Scopes ProjectsReleasesUpdate =
187− '["https://www.googleapis.com/auth/cloud-platform"]
187+ '["https://www.googleapis.com/auth/cloud-platform",
188+ "https://www.googleapis.com/auth/firebase"]
188189 requestClient ProjectsReleasesUpdate'{..}
189190 = go _pruName _pruXgafv _pruUploadProtocol
190191 (Just _pruPp)
gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Rulesets/Create.hs+3−2
@@ -26,7 +26,7 @@
2626-- indicating the first error encountered. For a detailed view of
2727-- \`Source\` issues, use TestRuleset.
2828--
29−-- /See:/ <https://firebase.google.com/docs/storage/security/start Firebase Rules API Reference> for @firebaserules.projects.rulesets.create@.
29+-- /See:/ <https://firebase.google.com/docs/storage/security Firebase Rules API Reference> for @firebaserules.projects.rulesets.create@.
3030module Network.Google.Resource.FirebaseRules.Projects.Rulesets.Create
3131 (
3232 -- * REST Resource
@@ -174,7 +174,8 @@ prcCallback
174174instance GoogleRequest ProjectsRulesetsCreate where
175175 type Rs ProjectsRulesetsCreate = Ruleset
176176 type Scopes ProjectsRulesetsCreate =
177− '["https://www.googleapis.com/auth/cloud-platform"]
177+ '["https://www.googleapis.com/auth/cloud-platform",
178+ "https://www.googleapis.com/auth/firebase"]
178179 requestClient ProjectsRulesetsCreate'{..}
179180 = go _prcName _prcXgafv _prcUploadProtocol
180181 (Just _prcPp)
gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Rulesets/Delete.hs+3−2
@@ -23,7 +23,7 @@
2323-- Delete a \`Ruleset\` by resource name. If the \`Ruleset\` is referenced
2424-- by a \`Release\` the operation will fail.
2525--
26−-- /See:/ <https://firebase.google.com/docs/storage/security/start Firebase Rules API Reference> for @firebaserules.projects.rulesets.delete@.
26+-- /See:/ <https://firebase.google.com/docs/storage/security Firebase Rules API Reference> for @firebaserules.projects.rulesets.delete@.
2727module Network.Google.Resource.FirebaseRules.Projects.Rulesets.Delete
2828 (
2929 -- * REST Resource
@@ -155,7 +155,8 @@ proCallback
155155instance GoogleRequest ProjectsRulesetsDelete where
156156 type Rs ProjectsRulesetsDelete = Empty
157157 type Scopes ProjectsRulesetsDelete =
158− '["https://www.googleapis.com/auth/cloud-platform"]
158+ '["https://www.googleapis.com/auth/cloud-platform",
159+ "https://www.googleapis.com/auth/firebase"]
159160 requestClient ProjectsRulesetsDelete'{..}
160161 = go _proName _proXgafv _proUploadProtocol
161162 (Just _proPp)
gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Rulesets/Get.hs+4−2
@@ -22,7 +22,7 @@
2222--
2323-- Get a \`Ruleset\` by name including the full \`Source\` contents.
2424--
25−-- /See:/ <https://firebase.google.com/docs/storage/security/start Firebase Rules API Reference> for @firebaserules.projects.rulesets.get@.
25+-- /See:/ <https://firebase.google.com/docs/storage/security Firebase Rules API Reference> for @firebaserules.projects.rulesets.get@.
2626module Network.Google.Resource.FirebaseRules.Projects.Rulesets.Get
2727 (
2828 -- * REST Resource
@@ -153,7 +153,9 @@ prgCallback
153153instance GoogleRequest ProjectsRulesetsGet where
154154 type Rs ProjectsRulesetsGet = Ruleset
155155 type Scopes ProjectsRulesetsGet =
156− '["https://www.googleapis.com/auth/cloud-platform"]
156+ '["https://www.googleapis.com/auth/cloud-platform",
157+ "https://www.googleapis.com/auth/firebase",
158+ "https://www.googleapis.com/auth/firebase.readonly"]
157159 requestClient ProjectsRulesetsGet'{..}
158160 = go _prgName _prgXgafv _prgUploadProtocol
159161 (Just _prgPp)
gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Rulesets/List.hs+4−2
@@ -24,7 +24,7 @@
2424-- Ruleset name. The full \`Source\` contents of a \`Ruleset\` may be
2525-- retrieved with GetRuleset.
2626--
27−-- /See:/ <https://firebase.google.com/docs/storage/security/start Firebase Rules API Reference> for @firebaserules.projects.rulesets.list@.
27+-- /See:/ <https://firebase.google.com/docs/storage/security Firebase Rules API Reference> for @firebaserules.projects.rulesets.list@.
2828module Network.Google.Resource.FirebaseRules.Projects.Rulesets.List
2929 (
3030 -- * REST Resource
@@ -184,7 +184,9 @@ prlCallback
184184instance GoogleRequest ProjectsRulesetsList where
185185 type Rs ProjectsRulesetsList = ListRulesetsResponse
186186 type Scopes ProjectsRulesetsList =
187− '["https://www.googleapis.com/auth/cloud-platform"]
187+ '["https://www.googleapis.com/auth/cloud-platform",
188+ "https://www.googleapis.com/auth/firebase",
189+ "https://www.googleapis.com/auth/firebase.readonly"]
188190 requestClient ProjectsRulesetsList'{..}
189191 = go _prlName _prlXgafv _prlUploadProtocol
190192 (Just _prlPp)
gogol-firebase-rules/gen/Network/Google/Resource/FirebaseRules/Projects/Test.hs+4−2
@@ -35,7 +35,7 @@
3535-- imageName.endsWith(\'.jpg\')) &&
3636-- resource.mimeType.startsWith(\'image\/\') } }
3737--
38−-- /See:/ <https://firebase.google.com/docs/storage/security/start Firebase Rules API Reference> for @firebaserules.projects.test@.
38+-- /See:/ <https://firebase.google.com/docs/storage/security Firebase Rules API Reference> for @firebaserules.projects.test@.
3939module Network.Google.Resource.FirebaseRules.Projects.Test
4040 (
4141 -- * REST Resource
@@ -190,7 +190,9 @@ ptCallback
190190instance GoogleRequest ProjectsTest where
191191 type Rs ProjectsTest = TestRulesetResponse
192192 type Scopes ProjectsTest =
193− '["https://www.googleapis.com/auth/cloud-platform"]
193+ '["https://www.googleapis.com/auth/cloud-platform",
194+ "https://www.googleapis.com/auth/firebase",
195+ "https://www.googleapis.com/auth/firebase.readonly"]
194196 requestClient ProjectsTest'{..}
195197 = go _ptName _ptXgafv _ptUploadProtocol (Just _ptPp)
196198 _ptAccessToken