Skip to content

Commit

Permalink
feat(firebase): update the API
Browse files Browse the repository at this point in the history
#### firebase:v1beta1
The following keys were added:
- schemas.FirebaseProject.properties.state.description
- schemas.FirebaseProject.properties.state.enum
- schemas.FirebaseProject.properties.state.enumDescriptions
- schemas.FirebaseProject.properties.state.type
  • Loading branch information
yoshi-automation authored and sofisl committed Jul 30, 2020
1 parent 6a6a912 commit c33cfcd
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
16 changes: 15 additions & 1 deletion discovery/firebase-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@
}
}
},
"revision": "20200724",
"revision": "20200727",
"rootUrl": "https://firebase.googleapis.com/",
"schemas": {
"AddFirebaseRequest": {
Expand Down Expand Up @@ -1347,6 +1347,20 @@
"resources": {
"$ref": "DefaultResources",
"description": "The default Firebase resources associated with the Project."
},
"state": {
"description": "Output only. The lifecycle state of the Project.\nUpdates to the state must be performed via\ncom.google.cloudresourcemanager.v1.Projects.DeleteProject and\ncom.google.cloudresourcemanager.v1.Projects.UndeleteProject",
"enum": [
"STATE_UNSPECIFIED",
"ACTIVE",
"DELETED"
],
"enumDescriptions": [
"Unspecified state.",
"The normal and active state.",
"The Project has been marked for deletion by the user."
],
"type": "string"
}
},
"type": "object"
Expand Down
13 changes: 10 additions & 3 deletions src/apis/firebase/v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,10 @@ export namespace firebase_v1beta1 {
* The default Firebase resources associated with the Project.
*/
resources?: Schema$DefaultResources;
/**
* Output only. The lifecycle state of the Project. Updates to the state must be performed via com.google.cloudresourcemanager.v1.Projects.DeleteProject and com.google.cloudresourcemanager.v1.Projects.UndeleteProject
*/
state?: string | null;
}
/**
* Details of a Firebase App for iOS.
Expand Down Expand Up @@ -1367,7 +1371,8 @@ export namespace firebase_v1beta1 {
* // "name": "my_name",
* // "projectId": "my_projectId",
* // "projectNumber": "my_projectNumber",
* // "resources": {}
* // "resources": {},
* // "state": "my_state"
* // }
* }
*
Expand Down Expand Up @@ -1951,7 +1956,8 @@ export namespace firebase_v1beta1 {
* // "name": "my_name",
* // "projectId": "my_projectId",
* // "projectNumber": "my_projectNumber",
* // "resources": {}
* // "resources": {},
* // "state": "my_state"
* // }
* },
* });
Expand All @@ -1963,7 +1969,8 @@ export namespace firebase_v1beta1 {
* // "name": "my_name",
* // "projectId": "my_projectId",
* // "projectNumber": "my_projectNumber",
* // "resources": {}
* // "resources": {},
* // "state": "my_state"
* // }
* }
*
Expand Down

0 comments on commit c33cfcd

Please sign in to comment.