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.ProductMetadata.description
- schemas.ProductMetadata.id
- schemas.ProductMetadata.properties.warningMessages.description
- schemas.ProductMetadata.properties.warningMessages.items.type
- schemas.ProductMetadata.properties.warningMessages.type
- schemas.ProductMetadata.type

The following keys were changed:
- schemas.AndroidApp.properties.state.enumDescriptions
- schemas.FirebaseAppInfo.properties.state.enumDescriptions
- schemas.IosApp.properties.state.enumDescriptions
- schemas.RemoveAndroidAppRequest.properties.immediate.description
- schemas.RemoveIosAppRequest.properties.immediate.description
- schemas.RemoveWebAppRequest.properties.immediate.description
- schemas.WebApp.properties.state.enumDescriptions
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 2, 2023
1 parent 3b7046b commit e1a3797
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 11 deletions.
30 changes: 22 additions & 8 deletions discovery/firebase-v1beta1.json
Expand Up @@ -1320,7 +1320,7 @@
}
}
},
"revision": "20221220",
"revision": "20230131",
"rootUrl": "https://firebase.googleapis.com/",
"schemas": {
"AddFirebaseRequest": {
Expand Down Expand Up @@ -1465,7 +1465,7 @@
"enumDescriptions": [
"Unspecified state.",
"The App is active.",
"The App has been soft-deleted. Firebase permanantely deletes an App after it has been in the `DELETED` state for more than 30 days. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))."
"The App has been soft-deleted. After an App has been in the `DELETED` state for more than 30 days, it is considered expired and will be permanently deleted. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))."
],
"readOnly": true,
"type": "string"
Expand Down Expand Up @@ -1584,7 +1584,7 @@
"enumDescriptions": [
"Unspecified state.",
"The App is active.",
"The App has been soft-deleted. Firebase permanantely deletes an App after it has been in the `DELETED` state for more than 30 days. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))."
"The App has been soft-deleted. After an App has been in the `DELETED` state for more than 30 days, it is considered expired and will be permanently deleted. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))."
],
"readOnly": true,
"type": "string"
Expand Down Expand Up @@ -1697,7 +1697,7 @@
"enumDescriptions": [
"Unspecified state.",
"The App is active.",
"The App has been soft-deleted. Firebase permanantely deletes an App after it has been in the `DELETED` state for more than 30 days. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))."
"The App has been soft-deleted. After an App has been in the `DELETED` state for more than 30 days, it is considered expired and will be permanently deleted. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))."
],
"readOnly": true,
"type": "string"
Expand Down Expand Up @@ -1925,6 +1925,20 @@
},
"type": "object"
},
"ProductMetadata": {
"description": "Metadata about a long-running Product operation.",
"id": "ProductMetadata",
"properties": {
"warningMessages": {
"description": "List of warnings related to the associated operation.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ProjectInfo": {
"description": "A reference to a Google Cloud Platform (GCP) `Project`.",
"id": "ProjectInfo",
Expand Down Expand Up @@ -1966,7 +1980,7 @@
"type": "string"
},
"immediate": {
"description": "Determines whether to _immediately_ delete the App. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means that the App may be restored to the Project within 30 days using UndeleteAndroidApp.",
"description": "Determines whether to _immediately_ delete the AndroidApp. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means the App will be set to expire in 30 days. Within the 30 days, the App may be restored to the Project using UndeleteAndroidApp.",
"type": "boolean"
},
"validateOnly": {
Expand All @@ -1988,7 +2002,7 @@
"type": "string"
},
"immediate": {
"description": "Determines whether to _immediately_ delete the App. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means that the App may be restored to the Project within 30 days using UndeleteIosApp",
"description": "Determines whether to _immediately_ delete the IosApp. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means the App will be set to expire in 30 days. Within the 30 days, the App may be restored to the Project using UndeleteIosApp",
"type": "boolean"
},
"validateOnly": {
Expand All @@ -2010,7 +2024,7 @@
"type": "string"
},
"immediate": {
"description": "Determines whether to _immediately_ delete the App. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means that the App may be restored to the Project within 30 days using UndeleteWebApp",
"description": "Determines whether to _immediately_ delete the WebApp. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means the App will be set to expire in 30 days. Within the 30 days, the App may be restored to the Project using UndeleteWebApp",
"type": "boolean"
},
"validateOnly": {
Expand Down Expand Up @@ -2231,7 +2245,7 @@
"enumDescriptions": [
"Unspecified state.",
"The App is active.",
"The App has been soft-deleted. Firebase permanantely deletes an App after it has been in the `DELETED` state for more than 30 days. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))."
"The App has been soft-deleted. After an App has been in the `DELETED` state for more than 30 days, it is considered expired and will be permanently deleted. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))."
],
"readOnly": true,
"type": "string"
Expand Down
15 changes: 12 additions & 3 deletions src/apis/firebase/v1beta1.ts
Expand Up @@ -521,6 +521,15 @@ export namespace firebase_v1beta1 {
*/
response?: {[key: string]: any} | null;
}
/**
* Metadata about a long-running Product operation.
*/
export interface Schema$ProductMetadata {
/**
* List of warnings related to the associated operation.
*/
warningMessages?: string[] | null;
}
/**
* A reference to a Google Cloud Platform (GCP) `Project`.
*/
Expand Down Expand Up @@ -554,7 +563,7 @@ export namespace firebase_v1beta1 {
*/
etag?: string | null;
/**
* Determines whether to _immediately_ delete the App. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means that the App may be restored to the Project within 30 days using UndeleteAndroidApp.
* Determines whether to _immediately_ delete the AndroidApp. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means the App will be set to expire in 30 days. Within the 30 days, the App may be restored to the Project using UndeleteAndroidApp.
*/
immediate?: boolean | null;
/**
Expand All @@ -572,7 +581,7 @@ export namespace firebase_v1beta1 {
*/
etag?: string | null;
/**
* Determines whether to _immediately_ delete the App. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means that the App may be restored to the Project within 30 days using UndeleteIosApp
* Determines whether to _immediately_ delete the IosApp. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means the App will be set to expire in 30 days. Within the 30 days, the App may be restored to the Project using UndeleteIosApp
*/
immediate?: boolean | null;
/**
Expand All @@ -590,7 +599,7 @@ export namespace firebase_v1beta1 {
*/
etag?: string | null;
/**
* Determines whether to _immediately_ delete the App. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means that the App may be restored to the Project within 30 days using UndeleteWebApp
* Determines whether to _immediately_ delete the WebApp. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means the App will be set to expire in 30 days. Within the 30 days, the App may be restored to the Project using UndeleteWebApp
*/
immediate?: boolean | null;
/**
Expand Down

0 comments on commit e1a3797

Please sign in to comment.