{
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/firebase": {
"description": "View and administer all your Firebase data and settings"
},
"https://www.googleapis.com/auth/firebase.readonly": {
"description": "View all your Firebase data and settings"
}
}
}
},
"basePath": "",
"baseUrl": "https://firebase.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Firebase Management",
"description": "The Firebase Management API enables programmatic setup and management of Firebase projects, including a project's Firebase resources and Firebase apps.",
"discoveryVersion": "v1",
"documentationLink": "https://firebase.google.com",
"fullyEncodeReservedExpansion": true,
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "firebase:v1beta1",
"kind": "discovery#restDescription",
"name": "firebase",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
"$.xgafv": {
"description": "V1 error format.",
"enum": [
"1",
"2"
],
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"type": "string"
},
"access_token": {
"description": "OAuth access token.",
"location": "query",
"type": "string"
},
"alt": {
"default": "json",
"description": "Data format for response.",
"enum": [
"json",
"media",
"proto"
],
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query",
"type": "string"
},
"callback": {
"description": "JSONP",
"location": "query",
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
"key": {
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query",
"type": "string"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
"location": "query",
"type": "boolean"
},
"quotaUser": {
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
"location": "query",
"type": "string"
},
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
},
"protocol": "rest",
"resources": {
"availableProjects": {
"methods": {
"list": {
"description": "Returns a list of [Google Cloud Platform (GCP) `Projects`]\n(https://cloud.google.com/resource-manager/reference/rest/v1/projects)\nthat are available to have Firebase resources added to them.\n
\n
A GCP `Project` will only be returned if:\n
The caller has sufficient\n [Google IAM](https://cloud.google.com/iam) permissions to call\n AddFirebase.
The GCP `Project` is not already a FirebaseProject.
The GCP `Project` is not in an Organization which has policies\n that prevent Firebase resources from being added.
projects/projectId\nAfter calling `AddFirebase`, the\n[`projectId`](https://cloud.google.com/resource-manager/reference/rest/v1/projects#Project.FIELDS.project_id)\nof the GCP `Project` is also the `projectId` of the FirebaseProject.",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+project}:addFirebase",
"request": {
"$ref": "AddFirebaseRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/firebase"
]
},
"get": {
"description": "Gets the FirebaseProject identified by the specified resource name.",
"flatPath": "v1beta1/projects/{projectsId}",
"httpMethod": "GET",
"id": "firebase.projects.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The fully qualified resource name of the Project, in the format:\nprojects/projectId",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "FirebaseProject"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/firebase",
"https://www.googleapis.com/auth/firebase.readonly"
]
},
"getAdminSdkConfig": {
"description": "Gets the configuration artifact used by servers to simplify initialization.\nprojects/projectId/adminSdkConfig",
"location": "path",
"pattern": "^projects/[^/]+/adminSdkConfig$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "AdminSdkConfig"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/firebase",
"https://www.googleapis.com/auth/firebase.readonly"
]
},
"list": {
"description": "Lists each FirebaseProject accessible to the caller.\nprojects/projectId",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Specifies which fields to update.\nprojects/projectId",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}:searchApps",
"response": {
"$ref": "SearchFirebaseAppsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/firebase",
"https://www.googleapis.com/auth/firebase.readonly"
]
}
},
"resources": {
"androidApps": {
"methods": {
"create": {
"description": "Requests that a new AndroidApp be created.\nprojects/projectId",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}/androidApps",
"request": {
"$ref": "AndroidApp"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/firebase"
]
},
"get": {
"description": "Gets the AndroidApp identified by the specified resource name.",
"flatPath": "v1beta1/projects/{projectsId}/androidApps/{androidAppsId}",
"httpMethod": "GET",
"id": "firebase.projects.androidApps.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The fully qualified resource name of the App, in the format:\nprojects/projectId/androidApps/appId\nprojects/-/androidApps/appId",
"location": "path",
"pattern": "^projects/[^/]+/androidApps/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "AndroidApp"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/firebase",
"https://www.googleapis.com/auth/firebase.readonly"
]
},
"getConfig": {
"description": "Gets the configuration artifact associated with the specified\nAndroidApp.",
"flatPath": "v1beta1/projects/{projectsId}/androidApps/{androidAppsId}/config",
"httpMethod": "GET",
"id": "firebase.projects.androidApps.getConfig",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The resource name of the App configuration to download, in the format:\nprojects/projectId/androidApps/appId/config\nprojects/-/androidApps/appId",
"location": "path",
"pattern": "^projects/[^/]+/androidApps/[^/]+/config$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "AndroidAppConfig"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists each AndroidApp associated with the specified parent Project.\nprojects/projectId",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}/androidApps",
"response": {
"$ref": "ListAndroidAppsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/firebase",
"https://www.googleapis.com/auth/firebase.readonly"
]
},
"patch": {
"description": "Updates the attributes of the AndroidApp identified by the specified\nresource name.",
"flatPath": "v1beta1/projects/{projectsId}/androidApps/{androidAppsId}",
"httpMethod": "PATCH",
"id": "firebase.projects.androidApps.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The fully qualified resource name of the App, in the format:\nprojects/projectId/androidApps/appId",
"location": "path",
"pattern": "^projects/[^/]+/androidApps/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Specifies which fields to update.\nprojects/projectId/androidApps/appId\nprojects/-/androidApps/appId",
"location": "path",
"pattern": "^projects/[^/]+/androidApps/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}/sha",
"request": {
"$ref": "ShaCertificate"
},
"response": {
"$ref": "ShaCertificate"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/firebase"
]
},
"delete": {
"description": "Removes a SHA certificate from the specified AndroidApp.",
"flatPath": "v1beta1/projects/{projectsId}/androidApps/{androidAppsId}/sha/{shaId}",
"httpMethod": "DELETE",
"id": "firebase.projects.androidApps.sha.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The fully qualified resource name of the `sha-key`, in the format:\nprojects/projectId/androidApps/appId/sha/shaId\nprojects/projectId/androidApps/appId\nprojects/-/androidApps/appId",
"location": "path",
"pattern": "^projects/[^/]+/androidApps/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}/sha",
"response": {
"$ref": "ListShaCertificatesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/firebase",
"https://www.googleapis.com/auth/firebase.readonly"
]
}
}
}
}
},
"availableLocations": {
"methods": {
"list": {
"description": "Returns a list of valid Google Cloud Platform (GCP) resource locations for\nthe specified Project (including a FirebaseProject).\nprojects/projectId\nprojects/projectId",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}/defaultLocation:finalize",
"request": {
"$ref": "FinalizeDefaultLocationRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"iosApps": {
"methods": {
"create": {
"description": "Requests that a new IosApp be created.\nprojects/projectId",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}/iosApps",
"request": {
"$ref": "IosApp"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/firebase"
]
},
"get": {
"description": "Gets the IosApp identified by the specified resource name.",
"flatPath": "v1beta1/projects/{projectsId}/iosApps/{iosAppsId}",
"httpMethod": "GET",
"id": "firebase.projects.iosApps.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The fully qualified resource name of the App, in the format:\nprojects/projectId/iosApps/appId\nprojects/-/iosApps/appId",
"location": "path",
"pattern": "^projects/[^/]+/iosApps/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "IosApp"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/firebase",
"https://www.googleapis.com/auth/firebase.readonly"
]
},
"getConfig": {
"description": "Gets the configuration artifact associated with the specified IosApp.",
"flatPath": "v1beta1/projects/{projectsId}/iosApps/{iosAppsId}/config",
"httpMethod": "GET",
"id": "firebase.projects.iosApps.getConfig",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The resource name of the App configuration to download, in the format:\nprojects/projectId/iosApps/appId/config\nprojects/-/iosApps/appId",
"location": "path",
"pattern": "^projects/[^/]+/iosApps/[^/]+/config$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "IosAppConfig"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists each IosApp associated with the specified parent Project.\nprojects/projectId",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}/iosApps",
"response": {
"$ref": "ListIosAppsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/firebase",
"https://www.googleapis.com/auth/firebase.readonly"
]
},
"patch": {
"description": "Updates the attributes of the IosApp identified by the specified\nresource name.",
"flatPath": "v1beta1/projects/{projectsId}/iosApps/{iosAppsId}",
"httpMethod": "PATCH",
"id": "firebase.projects.iosApps.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The fully qualified resource name of the App, in the format:\nprojects/projectId/iosApps/appId",
"location": "path",
"pattern": "^projects/[^/]+/iosApps/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Specifies which fields to update.\nprojects/projectId",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}/webApps",
"request": {
"$ref": "WebApp"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/firebase"
]
},
"get": {
"description": "Gets the WebApp identified by the specified resource name.",
"flatPath": "v1beta1/projects/{projectsId}/webApps/{webAppsId}",
"httpMethod": "GET",
"id": "firebase.projects.webApps.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The fully qualified resource name of the App, in the format:\nprojects/projectId/webApps/appId\nprojects/-/webApps/appId",
"location": "path",
"pattern": "^projects/[^/]+/webApps/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "WebApp"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/firebase",
"https://www.googleapis.com/auth/firebase.readonly"
]
},
"getConfig": {
"description": "Gets the configuration artifact associated with the specified WebApp.",
"flatPath": "v1beta1/projects/{projectsId}/webApps/{webAppsId}/config",
"httpMethod": "GET",
"id": "firebase.projects.webApps.getConfig",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The resource name of the App configuration to download, in the format:\nprojects/projectId/webApps/appId/config\nprojects/-/webApps/appId",
"location": "path",
"pattern": "^projects/[^/]+/webApps/[^/]+/config$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "WebAppConfig"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists each WebApp associated with the specified parent Project.\nprojects/projectId",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}/webApps",
"response": {
"$ref": "ListWebAppsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/firebase",
"https://www.googleapis.com/auth/firebase.readonly"
]
},
"patch": {
"description": "Updates the attributes of the WebApp identified by the specified\nresource name.",
"flatPath": "v1beta1/projects/{projectsId}/webApps/{webAppsId}",
"httpMethod": "PATCH",
"id": "firebase.projects.webApps.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The fully qualified resource name of the App, for example:\nprojects/projectId/webApps/appId",
"location": "path",
"pattern": "^projects/[^/]+/webApps/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Specifies which fields to update.\nprojects/projectId/androidApps/appId",
"type": "string"
},
"packageName": {
"description": "The canonical package name of the Android App as would appear in the\nGoogle Play Developer Console.",
"type": "string"
},
"projectId": {
"description": "The globally unique, user-assigned ID of the parent Project for the App.",
"type": "string"
}
},
"type": "object"
},
"AndroidAppConfig": {
"description": "Configuration metadata of a single Firebase App for Android.",
"id": "AndroidAppConfig",
"properties": {
"configFileContents": {
"description": "The contents of the JSON configuration file.",
"format": "byte",
"type": "string"
},
"configFilename": {
"description": "The filename that the configuration artifact is typically saved as.\nprojectId\nmyproject123-a5c16",
"type": "string"
},
"locationId": {
"description": "The ID of the project's default GCP resource location. The location is one\nof the available\n[GCP resource\nlocations](https://firebase.google.com/docs/projects/locations). projectId\nmyproject123-a5c16",
"type": "string"
},
"storageBucket": {
"description": "The default Cloud Storage for Firebase storage bucket, in the format:\nprojectId.appspot.com",
"type": "string"
}
},
"type": "object"
},
"Empty": {
"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 it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
"id": "Empty",
"properties": {},
"type": "object"
},
"FinalizeDefaultLocationRequest": {
"id": "FinalizeDefaultLocationRequest",
"properties": {
"locationId": {
"description": "The ID of the default GCP resource location for the Project. The location\nmust be one of the available\n[GCP resource\nlocations](https://firebase.google.com/docs/projects/locations).",
"type": "string"
}
},
"type": "object"
},
"FirebaseAppInfo": {
"description": "A high-level summary of an App.",
"id": "FirebaseAppInfo",
"properties": {
"appId": {
"description": "Immutable. The globally unique, Firebase-assigned identifier of the App.\nprojects/projectId/iosApps/appId\nor projects/projectId/androidApps/appId\n",
"type": "string"
},
"platform": {
"description": "The platform of the Firebase App.",
"enum": [
"PLATFORM_UNSPECIFIED",
"IOS",
"ANDROID",
"WEB"
],
"enumDescriptions": [
"Unknown state. This is only used for distinguishing unset values.",
"The Firebase App is associated with iOS.",
"The Firebase App is associated with Android.",
"The Firebase App is associated with web."
],
"type": "string"
}
},
"type": "object"
},
"FirebaseProject": {
"description": "A `FirebaseProject` is the top-level Firebase entity. It is the container for\nFirebase Apps, Firebase Hosting sites, storage systems (Firebase Realtime\nDatabase, Cloud Firestore, Cloud Storage buckets) and other Firebase and\nGoogle Cloud Platform (GCP) resources.\nprojects/projectId",
"type": "string"
},
"projectId": {
"description": "Immutable. The globally unique, user-assigned ID of the Project.",
"type": "string"
},
"projectNumber": {
"description": "The globally unique, Google-assigned identifier of the Project.",
"format": "int64",
"type": "string"
},
"resources": {
"$ref": "DefaultResources",
"description": "The default Firebase resources associated with the Project."
}
},
"type": "object"
},
"IosApp": {
"description": "Details of a Firebase App for iOS.",
"id": "IosApp",
"properties": {
"appId": {
"description": "Immutable. The globally unique, Firebase-assigned identifier of the App.\nprojects/projectId/iosApps/appId",
"type": "string"
},
"projectId": {
"description": "The globally unique, user-assigned ID of the parent Project for the App.",
"type": "string"
}
},
"type": "object"
},
"IosAppConfig": {
"description": "Configuration metadata of a single Firebase App for iOS.",
"id": "IosAppConfig",
"properties": {
"configFileContents": {
"description": "The content of the XML configuration file.",
"format": "byte",
"type": "string"
},
"configFilename": {
"description": "The filename that the configuration artifact is typically saved as.\nMy App",
"type": "string"
},
"locationId": {
"description": "The ID of the project's default GCP resource location. The location is one\nof the available\n[GCP resource\nlocations](https://firebase.google.com/docs/projects/locations). projects/projectId",
"type": "string"
}
},
"type": "object"
},
"SearchFirebaseAppsResponse": {
"id": "SearchFirebaseAppsResponse",
"properties": {
"apps": {
"description": "One page of results from a call to `SearchFirebaseApps`.",
"items": {
"$ref": "FirebaseAppInfo"
},
"type": "array"
},
"nextPageToken": {
"description": "If the result list is too large to fit in a single response, then a token\nis returned.\nprojects/projectId/androidApps/appId/sha/shaId",
"type": "string"
},
"shaHash": {
"description": "The certificate hash for the App.",
"type": "string"
}
},
"type": "object"
},
"Status": {
"description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).",
"id": "Status",
"properties": {
"code": {
"description": "The status code, which should be an enum value of google.rpc.Code.",
"format": "int32",
"type": "integer"
},
"details": {
"description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
"items": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"type": "object"
},
"type": "array"
},
"message": {
"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
"type": "string"
}
},
"type": "object"
},
"StatusProto": {
"description": "Wire-format for a Status object",
"id": "StatusProto",
"properties": {
"canonicalCode": {
"description": "The canonical error code (see codes.proto) that most closely\ncorresponds to this status. May be missing.",
"format": "int32",
"type": "integer"
},
"code": {
"description": "Numeric code drawn from the space specified below. Often, this is the\ncanonical error space, and code is drawn from google3/util/task/codes.proto",
"format": "int32",
"type": "integer"
},
"message": {
"description": "Detail message",
"type": "string"
},
"messageSet": {
"$ref": "MessageSet",
"description": "message_set associates an arbitrary proto message with the status."
},
"payload": {
"$ref": "TypedMessage",
"description": "DEPRECATED.\n\nThis field was deprecated in 2011 with cl/20297133. Java support\nfor the field was moved to a proto1 backward compatibility class\nin April 2017 with cl/142615857 and cl/154123203. There was\nnever support for this field in Go; if set Go will ignore it.\nC++ stopped setting StatusProto::payload in October 2015 with cl/106347055,\nand stopped reading the field in October 2017 with cl/173324114.\n\nIn general, newly written code should use only \"message_set\". If you need\nto maintain backward compatibility with code written before 3/25/2011, do\nthe following:\n\n- During the transition period, either (1) set both \"payload\" and\n \"message_set\", or (2) write the consumer of StatusProto so that it can\n forge a MessageSet object from \"payload\" if \"message_set\" is missing.\n The C++ util::Status implementation does (2).\n\n- Once all the consumers are converted to accept \"message_set\", then\n remove the use of \"payload\" on the producer side."
},
"space": {
"description": "The following are usually only present when code != 0\nSpace to which this status belongs",
"type": "string"
}
},
"type": "object"
},
"TypedMessage": {
"description": "Message that groups a protocol type_id (as defined by MessageSet),\nwith an encoded message of that type. Its use is similar to\nMessageSet, except it represents a single (type, encoded message)\ninstead of a set.\n\nTo fill for known protocol type:\n MyProtocolMsg proto;\n TypedMessage typed_msg;\n typed_msg.set_type_id(MyProtocolMsg::MESSAGE_TYPE_ID);\n proto.AppendToCord(typed_msg.mutable_message());\n\nTo fill for unknown protocol type:\n ProtocolMessage proto;\n TypedMessage typed_msg;\n typed_msg.set_type_id(proto.GetMapper()->type_id());\n proto.AppendToCord(typed_msg.mutable_message());",
"id": "TypedMessage",
"properties": {
"message": {
"description": "Message bytes.",
"format": "byte",
"type": "string"
},
"typeId": {
"description": "Identifier for the type.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"WebApp": {
"description": "Details of a Firebase App for the web.",
"id": "WebApp",
"properties": {
"appId": {
"description": "Immutable. The globally unique, Firebase-assigned identifier of the App.\nprojects/projectId/webApps/appId",
"type": "string"
},
"projectId": {
"description": "The globally unique, user-assigned ID of the parent Project for the App.",
"type": "string"
}
},
"type": "object"
},
"WebAppConfig": {
"description": "Configuration metadata of a single Firebase App for the web.",
"id": "WebAppConfig",
"properties": {
"apiKey": {
"description": "The API key associated with the web App.",
"type": "string"
},
"appId": {
"description": "Immutable. The globally unique, Firebase-assigned identifier of the App.",
"type": "string"
},
"authDomain": {
"description": "The domain Firebase Auth configures for OAuth redirects, in the format:\nprojectId.firebaseapp.com",
"type": "string"
},
"databaseURL": {
"description": "The default Firebase Realtime Database URL.",
"type": "string"
},
"locationId": {
"description": "The ID of the project's default GCP resource location. The location is one\nof the available\n[GCP resource\nlocations](https://firebase.google.com/docs/projects/locations).