Class RolloutPolicy
The policy for how automatic builds and rollouts are triggered and rolled out.
Implements
Inherited Members
Namespace: Google.Apis.FirebaseAppHosting.v1.Data
Assembly: Google.Apis.FirebaseAppHosting.v1.dll
Syntax
public class RolloutPolicy : IDirectResponseSchema
Properties
CodebaseBranch
If set, specifies a branch that triggers a new build to be started with this policy. Otherwise, no automatic rollouts will happen.
Declaration
[JsonProperty("codebaseBranch")]
public virtual string CodebaseBranch { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Disabled
Optional. A flag that, if true, prevents automatic rollouts from being created via this RolloutPolicy.
Declaration
[JsonProperty("disabled")]
public virtual bool? Disabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
DisabledTime
object representation of DisabledTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use DisabledTimeDateTimeOffset instead.")]
public virtual object DisabledTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
DisabledTimeDateTimeOffset
DateTimeOffset representation of DisabledTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? DisabledTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
DisabledTimeRaw
Output only. If disabled is set, the time at which the automatic rollouts were disabled.
Declaration
[JsonProperty("disabledTime")]
public virtual string DisabledTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IgnoredPaths
Optional. A list of file paths patterns to exclude from triggering a rollout. Patterns in this list take precedence over required_paths. Note: All paths must be in the ignored_paths in order for the rollout to be skipped. Limited to 100 paths. Example: ignored_paths: { pattern: "foo/bar/excluded/*” type: GLOB }
Declaration
[JsonProperty("ignoredPaths")]
public virtual IList<Path> IgnoredPaths { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<Path> |
RequiredPaths
Optional. A list of file paths patterns that trigger a build and rollout if at least one of the changed files in the commit are present in this list. This field is optional; the rollout policy will default to triggering on all paths if not populated. Limited to 100 paths. Example: “required_paths: { pattern: "foo/bar/*” type: GLOB }
Declaration
[JsonProperty("requiredPaths")]
public virtual IList<Path> RequiredPaths { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<Path> |