Class Build
A single build for a backend, at a specific point codebase reference tag and point in time. Encapsulates several resources, including an Artifact Registry container image, a Cloud Build invocation that built the image, and the Cloud Run revision that uses that image.
Implements
Inherited Members
Namespace: Google.Apis.FirebaseAppHosting.v1beta.Data
Assembly: Google.Apis.FirebaseAppHosting.v1beta.dll
Syntax
public class Build : 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> |
BuildLogsUri
Output only. The location of the Cloud Build logs for the build process.
Declaration
[JsonProperty("buildLogsUri")]
public virtual string BuildLogsUri { get; set; }
Property Value
Type | Description |
---|---|
string |
Config
Optional. Additional configuration of the service.
Declaration
[JsonProperty("config")]
public virtual Config Config { get; set; }
Property Value
Type | Description |
---|---|
Config |
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 build 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 build 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
Output only. The environment name of the backend when this build was created.
Declaration
[JsonProperty("environment")]
public virtual string Environment { get; set; }
Property Value
Type | Description |
---|---|
string |
Error
Output only. A status and (human readable) error message for the build, if in a FAILED
state. Deprecated.
Use errors
instead.
Declaration
[JsonProperty("error")]
public virtual Status Error { get; set; }
Property Value
Type | Description |
---|---|
Status |
ErrorSource
Output only. The source of the error for the build, if in a FAILED
state. Deprecated. Use errors
instead.
Declaration
[JsonProperty("errorSource")]
public virtual string ErrorSource { get; set; }
Property Value
Type | Description |
---|---|
string |
Errors
Output only. A list of all errors that occurred during an App Hosting build.
Declaration
[JsonProperty("errors")]
public virtual IList<Error> Errors { get; set; }
Property Value
Type | Description |
---|---|
IList<Error> |
Image
Output only. The Artifact Registry container
image
URI, used by the Cloud Run
revision
for
this build.
Declaration
[JsonProperty("image")]
public virtual string Image { 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> |
Name
Identifier. The resource name of the build. Format:
projects/{project}/locations/{locationId}/backends/{backendId}/builds/{buildId}
.
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 build has an ongoing LRO.
Declaration
[JsonProperty("reconciling")]
public virtual bool? Reconciling { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Source
Required. Immutable. The source for the build.
Declaration
[JsonProperty("source")]
public virtual BuildSource Source { get; set; }
Property Value
Type | Description |
---|---|
BuildSource |
State
Output only. The state of the build.
Declaration
[JsonProperty("state")]
public virtual string State { 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 build was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |