Resource: Site
A Site
represents a Firebase Hosting site.
JSON representation |
---|
{
"name": string,
"defaultUrl": string,
"appId": string,
"labels": {
string: string,
...
},
"type": enum ( |
Fields | |
---|---|
name |
Output only. The fully-qualified resource name of the Hosting site, in the format:
PROJECT_IDENTIFIER: the Firebase project's |
defaultUrl |
Output only. The default URL for the Hosting site. |
appId |
Optional. The ID of a Web App associated with the Hosting site. |
labels |
Optional. User-specified labels for the Hosting site. An object containing a list of |
type |
Output only. The type of Hosting site. Every Firebase project has a |
Type
The possible types of a site.
Enums | |
---|---|
TYPE_UNSPECIFIED |
Unknown state, likely the result of an error on the backend. |
DEFAULT_SITE |
The default Hosting site that is provisioned when a Firebase project is created. |
USER_SITE |
A Hosting site that the user created. |
Methods |
|
---|---|
|
Creates a new Hosting Site in the specified parent Firebase project. |
|
Deletes the specified Hosting Site from the specified parent Firebase project. |
|
Gets the specified Hosting Site . |
|
Lists each Hosting Site associated with the specified parent Firebase project. |
|
Updates attributes of the specified Hosting Site . |