Returns the channels Resource.
Returns the domains Resource.
Returns the releases Resource.
Returns the versions Resource.
getConfig(name, x__xgafv=None)
Gets the Hosting metadata for a specific site.
updateConfig(name, body=None, updateMask=None, x__xgafv=None)
Sets the Hosting metadata for a specific site.
getConfig(name, x__xgafv=None)
Gets the Hosting metadata for a specific site.
Args:
name: string, Required. The site for which to get the SiteConfig, in the format:
<code>sites/<var>site-name</var>/config</code> (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A `SiteConfig` contains metadata associated with a specific site that
# controls Firebase Hosting serving behavior
"maxVersions": "A String", # The number of FINALIZED versions that will be held for a site before
# automatic deletion. When a new version is deployed, content for versions
# in storage in excess of this number will be deleted, and will no longer be
# billed for storage usage. Oldest versions will be deleted first; sites are
# created with an unlimited number of max_versions by default.
"cloudLoggingEnabled": True or False, # Whether or not web requests made by site visitors are logged via Cloud
# Logging.
}
updateConfig(name, body=None, updateMask=None, x__xgafv=None)
Sets the Hosting metadata for a specific site.
Args:
name: string, Required. The site for which to update the SiteConfig, in the format:
<code>sites/<var>site-name</var>/config</code> (required)
body: object, The request body.
The object takes the form of:
{ # A `SiteConfig` contains metadata associated with a specific site that
# controls Firebase Hosting serving behavior
"maxVersions": "A String", # The number of FINALIZED versions that will be held for a site before
# automatic deletion. When a new version is deployed, content for versions
# in storage in excess of this number will be deleted, and will no longer be
# billed for storage usage. Oldest versions will be deleted first; sites are
# created with an unlimited number of max_versions by default.
"cloudLoggingEnabled": True or False, # Whether or not web requests made by site visitors are logged via Cloud
# Logging.
}
updateMask: string, A set of field names from your [site configuration](../sites.SiteConfig)
that you want to update.
<br>A field will be overwritten if, and only if, it's in the mask.
<br>If a mask is not provided then a default mask of only
[`max_versions`](../sites.SiteConfig.max_versions) will be used.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A `SiteConfig` contains metadata associated with a specific site that
# controls Firebase Hosting serving behavior
"maxVersions": "A String", # The number of FINALIZED versions that will be held for a site before
# automatic deletion. When a new version is deployed, content for versions
# in storage in excess of this number will be deleted, and will no longer be
# billed for storage usage. Oldest versions will be deleted first; sites are
# created with an unlimited number of max_versions by default.
"cloudLoggingEnabled": True or False, # Whether or not web requests made by site visitors are logged via Cloud
# Logging.
}