Class InstanceSplit
Holds a single instance split entry for the Worker. Allocations can be done to a specific Revision name, or pointing to the latest Ready Revision.
Implements
Inherited Members
Namespace: Google.Apis.CloudRun.v1.Data
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class InstanceSplit : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
LatestRevision
Uses the "status.latestReadyRevisionName" to determine the traffic target. When it changes, traffic will automatically migrate from the prior "latest ready" revision to the new one.
Declaration
[JsonProperty("latestRevision")]
public virtual bool? LatestRevision { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Percent
Specifies percent of the instance split to this Revision. This defaults to zero if unspecified.
Declaration
[JsonProperty("percent")]
public virtual int? Percent { get; set; }
Property Value
Type | Description |
---|---|
int? |
RevisionName
Revision to which to assign this portion of instances.
Declaration
[JsonProperty("revisionName")]
public virtual string RevisionName { get; set; }
Property Value
Type | Description |
---|---|
string |