Class Backend
A backend is the primary resource of App Hosting.
Implements
Inherited Members
Namespace: Google.Apis.FirebaseAppHosting.v1beta.Data
Assembly: Google.Apis.FirebaseAppHosting.v1beta.dll
Syntax
public class Backend : IDirectResponseSchema
Properties
Annotations
Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Declaration
[JsonProperty("annotations")]
public virtual IDictionary<string, string> Annotations { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
AppId
Optional. The ID of a Web App associated with the backend.
Declaration
[JsonProperty("appId")]
public virtual string AppId { get; set; }
Property Value
Type | Description |
---|---|
string |
Codebase
Optional. If specified, the connection to an external source repository to watch for event-driven updates to the backend.
Declaration
[JsonProperty("codebase")]
public virtual Codebase Codebase { get; set; }
Property Value
Type | Description |
---|---|
Codebase |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. Time at which the backend was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
DeleteTime
object representation of DeleteTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use DeleteTimeDateTimeOffset instead.")]
public virtual object DeleteTime { get; set; }
Property Value
Type | Description |
---|---|
object |
DeleteTimeDateTimeOffset
DateTimeOffset representation of DeleteTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? DeleteTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
DeleteTimeRaw
Output only. Time at which the backend was deleted.
Declaration
[JsonProperty("deleteTime")]
public virtual string DeleteTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
Optional. Human-readable name. 63 character limit.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Environment
Optional. The environment name of the backend, used to load environment variables from environment specific configuration.
Declaration
[JsonProperty("environment")]
public virtual string Environment { get; set; }
Property Value
Type | Description |
---|---|
string |
Labels
Optional. Unstructured key value map that can be used to organize and categorize objects.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
ManagedResources
Output only. A list of the resources managed by this backend.
Declaration
[JsonProperty("managedResources")]
public virtual IList<ManagedResource> ManagedResources { get; set; }
Property Value
Type | Description |
---|---|
IList<ManagedResource> |
Mode
Optional. Deprecated: Use environment
instead.
Declaration
[JsonProperty("mode")]
public virtual string Mode { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Identifier. The resource name of the backend. Format:
projects/{project}/locations/{locationId}/backends/{backendId}
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Reconciling
Output only. A field that, if true, indicates that the system is working to make adjustments to the backend during a LRO.
Declaration
[JsonProperty("reconciling")]
public virtual bool? Reconciling { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ServiceAccount
Required. The name of the service account used for Cloud Build and Cloud Run. Should have the role roles/firebaseapphosting.computeRunner or equivalent permissions.
Declaration
[JsonProperty("serviceAccount")]
public virtual string ServiceAccount { get; set; }
Property Value
Type | Description |
---|---|
string |
ServingLocality
Required. Immutable. Specifies how App Hosting will serve the content for this backend. It will either be contained to a single region (REGIONAL_STRICT) or allowed to use App Hosting's global-replicated serving infrastructure (GLOBAL_ACCESS).
Declaration
[JsonProperty("servingLocality")]
public virtual string ServingLocality { get; set; }
Property Value
Type | Description |
---|---|
string |
Uid
Output only. System-assigned, unique identifier.
Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
Type | Description |
---|---|
string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. Time at which the backend was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Uri
Output only. The primary URI to communicate with the backend.
Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
Type | Description |
---|---|
string |