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.AnalyticsProperty.properties.analyticsAccountId.description
- schemas.AnalyticsProperty.properties.analyticsAccountId.readOnly
- schemas.AnalyticsProperty.properties.analyticsAccountId.type
- schemas.IosApp.properties.teamId.description
- schemas.IosApp.properties.teamId.type

The following keys were changed:
- schemas.StreamMapping.properties.measurementId.description
- schemas.WebAppConfig.properties.measurementId.description
  • Loading branch information
yoshi-automation authored and bcoe committed Oct 18, 2021
1 parent ba89daa commit 9629195
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 9 deletions.
15 changes: 12 additions & 3 deletions discovery/firebase-v1beta1.json
Expand Up @@ -1121,7 +1121,7 @@
}
}
},
"revision": "20210827",
"revision": "20211013",
"rootUrl": "https://firebase.googleapis.com/",
"schemas": {
"AddFirebaseRequest": {
Expand Down Expand Up @@ -1192,6 +1192,11 @@
"description": "Details of a Google Analytics property",
"id": "AnalyticsProperty",
"properties": {
"analyticsAccountId": {
"description": "Output only. The ID of the [Google Analytics account](https://www.google.com/analytics/) for the Google Analytics property associated with the specified FirebaseProject.",
"readOnly": true,
"type": "string"
},
"displayName": {
"description": "The display name of the Google Analytics property associated with the specified `FirebaseProject`.",
"type": "string"
Expand Down Expand Up @@ -1396,6 +1401,10 @@
"projectId": {
"description": "Immutable. A user-assigned unique identifier of the parent FirebaseProject for the `IosApp`.",
"type": "string"
},
"teamId": {
"description": "The Apple Developer Team ID associated with the App in the App Store.",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -1756,7 +1765,7 @@
"type": "string"
},
"measurementId": {
"description": "Applicable for Firebase Web Apps only. The unique Google-assigned identifier of the Google Analytics web stream associated with the Firebase Web App. Firebase SDKs use this ID to interact with Google Analytics APIs. Learn more about this ID and Google Analytics web streams in the [Analytics documentation](https://support.google.com/analytics/topic/9303475).",
"description": "Applicable for Firebase Web Apps only. The unique Google-assigned identifier of the Google Analytics web stream associated with the Firebase Web App. Firebase SDKs use this ID to interact with Google Analytics APIs. Learn more about this ID and Google Analytics web streams in the [Analytics documentation](https://support.google.com/analytics/answer/9304153).",
"type": "string"
},
"streamId": {
Expand Down Expand Up @@ -1827,7 +1836,7 @@
"type": "string"
},
"measurementId": {
"description": "The unique Google-assigned identifier of the Google Analytics web stream associated with the `WebApp`. Firebase SDKs use this ID to interact with Google Analytics APIs. This field is only present if the `WebApp` is linked to a web stream in a Google Analytics App + Web property. Learn more about this ID and Google Analytics web streams in the [Analytics documentation](https://support.google.com/analytics/topic/9303475). To generate a `measurementId` and link the `WebApp` with a Google Analytics web stream, call [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics). For apps using the Firebase JavaScript SDK v7.20.0 and later, Firebase dynamically fetches the `measurementId` when your app initializes Analytics. Having this ID in your config object is optional, but it does serve as a fallback in the rare case that the dynamic fetch fails.",
"description": "The unique Google-assigned identifier of the Google Analytics web stream associated with the `WebApp`. Firebase SDKs use this ID to interact with Google Analytics APIs. This field is only present if the `WebApp` is linked to a web stream in a Google Analytics App + Web property. Learn more about this ID and Google Analytics web streams in the [Analytics documentation](https://support.google.com/analytics/answer/9304153). To generate a `measurementId` and link the `WebApp` with a Google Analytics web stream, call [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics). For apps using the Firebase JavaScript SDK v7.20.0 and later, Firebase dynamically fetches the `measurementId` when your app initializes Analytics. Having this ID in your config object is optional, but it does serve as a fallback in the rare case that the dynamic fetch fails.",
"type": "string"
},
"messagingSenderId": {
Expand Down
24 changes: 18 additions & 6 deletions src/apis/firebase/v1beta1.ts
Expand Up @@ -180,6 +180,10 @@ export namespace firebase_v1beta1 {
* Details of a Google Analytics property
*/
export interface Schema$AnalyticsProperty {
/**
* Output only. The ID of the [Google Analytics account](https://www.google.com/analytics/) for the Google Analytics property associated with the specified FirebaseProject.
*/
analyticsAccountId?: string | null;
/**
* The display name of the Google Analytics property associated with the specified `FirebaseProject`.
*/
Expand Down Expand Up @@ -340,6 +344,10 @@ export namespace firebase_v1beta1 {
* Immutable. A user-assigned unique identifier of the parent FirebaseProject for the `IosApp`.
*/
projectId?: string | null;
/**
* The Apple Developer Team ID associated with the App in the App Store.
*/
teamId?: string | null;
}
/**
* Configuration metadata of a single Firebase App for iOS.
Expand Down Expand Up @@ -567,7 +575,7 @@ export namespace firebase_v1beta1 {
*/
app?: string | null;
/**
* Applicable for Firebase Web Apps only. The unique Google-assigned identifier of the Google Analytics web stream associated with the Firebase Web App. Firebase SDKs use this ID to interact with Google Analytics APIs. Learn more about this ID and Google Analytics web streams in the [Analytics documentation](https://support.google.com/analytics/topic/9303475).
* Applicable for Firebase Web Apps only. The unique Google-assigned identifier of the Google Analytics web stream associated with the Firebase Web App. Firebase SDKs use this ID to interact with Google Analytics APIs. Learn more about this ID and Google Analytics web streams in the [Analytics documentation](https://support.google.com/analytics/answer/9304153).
*/
measurementId?: string | null;
/**
Expand Down Expand Up @@ -629,7 +637,7 @@ export namespace firebase_v1beta1 {
*/
locationId?: string | null;
/**
* The unique Google-assigned identifier of the Google Analytics web stream associated with the `WebApp`. Firebase SDKs use this ID to interact with Google Analytics APIs. This field is only present if the `WebApp` is linked to a web stream in a Google Analytics App + Web property. Learn more about this ID and Google Analytics web streams in the [Analytics documentation](https://support.google.com/analytics/topic/9303475). To generate a `measurementId` and link the `WebApp` with a Google Analytics web stream, call [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics). For apps using the Firebase JavaScript SDK v7.20.0 and later, Firebase dynamically fetches the `measurementId` when your app initializes Analytics. Having this ID in your config object is optional, but it does serve as a fallback in the rare case that the dynamic fetch fails.
* The unique Google-assigned identifier of the Google Analytics web stream associated with the `WebApp`. Firebase SDKs use this ID to interact with Google Analytics APIs. This field is only present if the `WebApp` is linked to a web stream in a Google Analytics App + Web property. Learn more about this ID and Google Analytics web streams in the [Analytics documentation](https://support.google.com/analytics/answer/9304153). To generate a `measurementId` and link the `WebApp` with a Google Analytics web stream, call [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics). For apps using the Firebase JavaScript SDK v7.20.0 and later, Firebase dynamically fetches the `measurementId` when your app initializes Analytics. Having this ID in your config object is optional, but it does serve as a fallback in the rare case that the dynamic fetch fails.
*/
measurementId?: string | null;
/**
Expand Down Expand Up @@ -3952,7 +3960,8 @@ export namespace firebase_v1beta1 {
* // "bundleId": "my_bundleId",
* // "displayName": "my_displayName",
* // "name": "my_name",
* // "projectId": "my_projectId"
* // "projectId": "my_projectId",
* // "teamId": "my_teamId"
* // }
* },
* });
Expand Down Expand Up @@ -4103,7 +4112,8 @@ export namespace firebase_v1beta1 {
* // "bundleId": "my_bundleId",
* // "displayName": "my_displayName",
* // "name": "my_name",
* // "projectId": "my_projectId"
* // "projectId": "my_projectId",
* // "teamId": "my_teamId"
* // }
* }
*
Expand Down Expand Up @@ -4513,7 +4523,8 @@ export namespace firebase_v1beta1 {
* // "bundleId": "my_bundleId",
* // "displayName": "my_displayName",
* // "name": "my_name",
* // "projectId": "my_projectId"
* // "projectId": "my_projectId",
* // "teamId": "my_teamId"
* // }
* },
* });
Expand All @@ -4526,7 +4537,8 @@ export namespace firebase_v1beta1 {
* // "bundleId": "my_bundleId",
* // "displayName": "my_displayName",
* // "name": "my_name",
* // "projectId": "my_projectId"
* // "projectId": "my_projectId",
* // "teamId": "my_teamId"
* // }
* }
*
Expand Down

0 comments on commit 9629195

Please sign in to comment.